@tokemak/constants 0.0.4 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +36 -1
- package/dist/index.js +112 -1794
- package/dist/index.mjs +98 -1817
- package/package.json +16 -4
package/dist/index.mjs
CHANGED
|
@@ -1,1758 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __commonJS = (cb, mod) => function __require() {
|
|
8
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
19
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
20
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
21
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
22
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
23
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
24
|
-
mod
|
|
25
|
-
));
|
|
26
|
-
|
|
27
|
-
// ../../node_modules/react/cjs/react-jsx-runtime.production.js
|
|
28
|
-
var require_react_jsx_runtime_production = __commonJS({
|
|
29
|
-
"../../node_modules/react/cjs/react-jsx-runtime.production.js"(exports) {
|
|
30
|
-
"use strict";
|
|
31
|
-
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
|
|
32
|
-
var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
33
|
-
function jsxProd(type, config, maybeKey) {
|
|
34
|
-
var key = null;
|
|
35
|
-
void 0 !== maybeKey && (key = "" + maybeKey);
|
|
36
|
-
void 0 !== config.key && (key = "" + config.key);
|
|
37
|
-
if ("key" in config) {
|
|
38
|
-
maybeKey = {};
|
|
39
|
-
for (var propName in config)
|
|
40
|
-
"key" !== propName && (maybeKey[propName] = config[propName]);
|
|
41
|
-
} else
|
|
42
|
-
maybeKey = config;
|
|
43
|
-
config = maybeKey.ref;
|
|
44
|
-
return {
|
|
45
|
-
$$typeof: REACT_ELEMENT_TYPE,
|
|
46
|
-
type,
|
|
47
|
-
key,
|
|
48
|
-
ref: void 0 !== config ? config : null,
|
|
49
|
-
props: maybeKey
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
53
|
-
exports.jsx = jsxProd;
|
|
54
|
-
exports.jsxs = jsxProd;
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
// ../../node_modules/react/cjs/react.production.js
|
|
59
|
-
var require_react_production = __commonJS({
|
|
60
|
-
"../../node_modules/react/cjs/react.production.js"(exports) {
|
|
61
|
-
"use strict";
|
|
62
|
-
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
|
|
63
|
-
var REACT_PORTAL_TYPE = Symbol.for("react.portal");
|
|
64
|
-
var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
65
|
-
var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
|
|
66
|
-
var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
67
|
-
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer");
|
|
68
|
-
var REACT_CONTEXT_TYPE = Symbol.for("react.context");
|
|
69
|
-
var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
|
|
70
|
-
var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
|
|
71
|
-
var REACT_MEMO_TYPE = Symbol.for("react.memo");
|
|
72
|
-
var REACT_LAZY_TYPE = Symbol.for("react.lazy");
|
|
73
|
-
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
74
|
-
function getIteratorFn(maybeIterable) {
|
|
75
|
-
if (null === maybeIterable || "object" !== typeof maybeIterable)
|
|
76
|
-
return null;
|
|
77
|
-
maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
|
|
78
|
-
return "function" === typeof maybeIterable ? maybeIterable : null;
|
|
79
|
-
}
|
|
80
|
-
var ReactNoopUpdateQueue = {
|
|
81
|
-
isMounted: function() {
|
|
82
|
-
return false;
|
|
83
|
-
},
|
|
84
|
-
enqueueForceUpdate: function() {
|
|
85
|
-
},
|
|
86
|
-
enqueueReplaceState: function() {
|
|
87
|
-
},
|
|
88
|
-
enqueueSetState: function() {
|
|
89
|
-
}
|
|
90
|
-
};
|
|
91
|
-
var assign = Object.assign;
|
|
92
|
-
var emptyObject = {};
|
|
93
|
-
function Component(props, context, updater) {
|
|
94
|
-
this.props = props;
|
|
95
|
-
this.context = context;
|
|
96
|
-
this.refs = emptyObject;
|
|
97
|
-
this.updater = updater || ReactNoopUpdateQueue;
|
|
98
|
-
}
|
|
99
|
-
Component.prototype.isReactComponent = {};
|
|
100
|
-
Component.prototype.setState = function(partialState, callback) {
|
|
101
|
-
if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState)
|
|
102
|
-
throw Error(
|
|
103
|
-
"takes an object of state variables to update or a function which returns an object of state variables."
|
|
104
|
-
);
|
|
105
|
-
this.updater.enqueueSetState(this, partialState, callback, "setState");
|
|
106
|
-
};
|
|
107
|
-
Component.prototype.forceUpdate = function(callback) {
|
|
108
|
-
this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
|
|
109
|
-
};
|
|
110
|
-
function ComponentDummy() {
|
|
111
|
-
}
|
|
112
|
-
ComponentDummy.prototype = Component.prototype;
|
|
113
|
-
function PureComponent(props, context, updater) {
|
|
114
|
-
this.props = props;
|
|
115
|
-
this.context = context;
|
|
116
|
-
this.refs = emptyObject;
|
|
117
|
-
this.updater = updater || ReactNoopUpdateQueue;
|
|
118
|
-
}
|
|
119
|
-
var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
|
|
120
|
-
pureComponentPrototype.constructor = PureComponent;
|
|
121
|
-
assign(pureComponentPrototype, Component.prototype);
|
|
122
|
-
pureComponentPrototype.isPureReactComponent = true;
|
|
123
|
-
var isArrayImpl = Array.isArray;
|
|
124
|
-
var ReactSharedInternals = { H: null, A: null, T: null, S: null, V: null };
|
|
125
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
126
|
-
function ReactElement(type, key, self, source, owner, props) {
|
|
127
|
-
self = props.ref;
|
|
128
|
-
return {
|
|
129
|
-
$$typeof: REACT_ELEMENT_TYPE,
|
|
130
|
-
type,
|
|
131
|
-
key,
|
|
132
|
-
ref: void 0 !== self ? self : null,
|
|
133
|
-
props
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
function cloneAndReplaceKey(oldElement, newKey) {
|
|
137
|
-
return ReactElement(
|
|
138
|
-
oldElement.type,
|
|
139
|
-
newKey,
|
|
140
|
-
void 0,
|
|
141
|
-
void 0,
|
|
142
|
-
void 0,
|
|
143
|
-
oldElement.props
|
|
144
|
-
);
|
|
145
|
-
}
|
|
146
|
-
function isValidElement(object) {
|
|
147
|
-
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
148
|
-
}
|
|
149
|
-
function escape(key) {
|
|
150
|
-
var escaperLookup = { "=": "=0", ":": "=2" };
|
|
151
|
-
return "$" + key.replace(/[=:]/g, function(match) {
|
|
152
|
-
return escaperLookup[match];
|
|
153
|
-
});
|
|
154
|
-
}
|
|
155
|
-
var userProvidedKeyEscapeRegex = /\/+/g;
|
|
156
|
-
function getElementKey(element, index) {
|
|
157
|
-
return "object" === typeof element && null !== element && null != element.key ? escape("" + element.key) : index.toString(36);
|
|
158
|
-
}
|
|
159
|
-
function noop$1() {
|
|
160
|
-
}
|
|
161
|
-
function resolveThenable(thenable) {
|
|
162
|
-
switch (thenable.status) {
|
|
163
|
-
case "fulfilled":
|
|
164
|
-
return thenable.value;
|
|
165
|
-
case "rejected":
|
|
166
|
-
throw thenable.reason;
|
|
167
|
-
default:
|
|
168
|
-
switch ("string" === typeof thenable.status ? thenable.then(noop$1, noop$1) : (thenable.status = "pending", thenable.then(
|
|
169
|
-
function(fulfilledValue) {
|
|
170
|
-
"pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
|
|
171
|
-
},
|
|
172
|
-
function(error) {
|
|
173
|
-
"pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
|
|
174
|
-
}
|
|
175
|
-
)), thenable.status) {
|
|
176
|
-
case "fulfilled":
|
|
177
|
-
return thenable.value;
|
|
178
|
-
case "rejected":
|
|
179
|
-
throw thenable.reason;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
throw thenable;
|
|
183
|
-
}
|
|
184
|
-
function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
|
|
185
|
-
var type = typeof children;
|
|
186
|
-
if ("undefined" === type || "boolean" === type)
|
|
187
|
-
children = null;
|
|
188
|
-
var invokeCallback = false;
|
|
189
|
-
if (null === children)
|
|
190
|
-
invokeCallback = true;
|
|
191
|
-
else
|
|
192
|
-
switch (type) {
|
|
193
|
-
case "bigint":
|
|
194
|
-
case "string":
|
|
195
|
-
case "number":
|
|
196
|
-
invokeCallback = true;
|
|
197
|
-
break;
|
|
198
|
-
case "object":
|
|
199
|
-
switch (children.$$typeof) {
|
|
200
|
-
case REACT_ELEMENT_TYPE:
|
|
201
|
-
case REACT_PORTAL_TYPE:
|
|
202
|
-
invokeCallback = true;
|
|
203
|
-
break;
|
|
204
|
-
case REACT_LAZY_TYPE:
|
|
205
|
-
return invokeCallback = children._init, mapIntoArray(
|
|
206
|
-
invokeCallback(children._payload),
|
|
207
|
-
array,
|
|
208
|
-
escapedPrefix,
|
|
209
|
-
nameSoFar,
|
|
210
|
-
callback
|
|
211
|
-
);
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
if (invokeCallback)
|
|
215
|
-
return callback = callback(children), invokeCallback = "" === nameSoFar ? "." + getElementKey(children, 0) : nameSoFar, isArrayImpl(callback) ? (escapedPrefix = "", null != invokeCallback && (escapedPrefix = invokeCallback.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function(c) {
|
|
216
|
-
return c;
|
|
217
|
-
})) : null != callback && (isValidElement(callback) && (callback = cloneAndReplaceKey(
|
|
218
|
-
callback,
|
|
219
|
-
escapedPrefix + (null == callback.key || children && children.key === callback.key ? "" : ("" + callback.key).replace(
|
|
220
|
-
userProvidedKeyEscapeRegex,
|
|
221
|
-
"$&/"
|
|
222
|
-
) + "/") + invokeCallback
|
|
223
|
-
)), array.push(callback)), 1;
|
|
224
|
-
invokeCallback = 0;
|
|
225
|
-
var nextNamePrefix = "" === nameSoFar ? "." : nameSoFar + ":";
|
|
226
|
-
if (isArrayImpl(children))
|
|
227
|
-
for (var i = 0; i < children.length; i++)
|
|
228
|
-
nameSoFar = children[i], type = nextNamePrefix + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(
|
|
229
|
-
nameSoFar,
|
|
230
|
-
array,
|
|
231
|
-
escapedPrefix,
|
|
232
|
-
type,
|
|
233
|
-
callback
|
|
234
|
-
);
|
|
235
|
-
else if (i = getIteratorFn(children), "function" === typeof i)
|
|
236
|
-
for (children = i.call(children), i = 0; !(nameSoFar = children.next()).done; )
|
|
237
|
-
nameSoFar = nameSoFar.value, type = nextNamePrefix + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(
|
|
238
|
-
nameSoFar,
|
|
239
|
-
array,
|
|
240
|
-
escapedPrefix,
|
|
241
|
-
type,
|
|
242
|
-
callback
|
|
243
|
-
);
|
|
244
|
-
else if ("object" === type) {
|
|
245
|
-
if ("function" === typeof children.then)
|
|
246
|
-
return mapIntoArray(
|
|
247
|
-
resolveThenable(children),
|
|
248
|
-
array,
|
|
249
|
-
escapedPrefix,
|
|
250
|
-
nameSoFar,
|
|
251
|
-
callback
|
|
252
|
-
);
|
|
253
|
-
array = String(children);
|
|
254
|
-
throw Error(
|
|
255
|
-
"Objects are not valid as a React child (found: " + ("[object Object]" === array ? "object with keys {" + Object.keys(children).join(", ") + "}" : array) + "). If you meant to render a collection of children, use an array instead."
|
|
256
|
-
);
|
|
257
|
-
}
|
|
258
|
-
return invokeCallback;
|
|
259
|
-
}
|
|
260
|
-
function mapChildren(children, func, context) {
|
|
261
|
-
if (null == children)
|
|
262
|
-
return children;
|
|
263
|
-
var result = [], count = 0;
|
|
264
|
-
mapIntoArray(children, result, "", "", function(child) {
|
|
265
|
-
return func.call(context, child, count++);
|
|
266
|
-
});
|
|
267
|
-
return result;
|
|
268
|
-
}
|
|
269
|
-
function lazyInitializer(payload) {
|
|
270
|
-
if (-1 === payload._status) {
|
|
271
|
-
var ctor = payload._result;
|
|
272
|
-
ctor = ctor();
|
|
273
|
-
ctor.then(
|
|
274
|
-
function(moduleObject) {
|
|
275
|
-
if (0 === payload._status || -1 === payload._status)
|
|
276
|
-
payload._status = 1, payload._result = moduleObject;
|
|
277
|
-
},
|
|
278
|
-
function(error) {
|
|
279
|
-
if (0 === payload._status || -1 === payload._status)
|
|
280
|
-
payload._status = 2, payload._result = error;
|
|
281
|
-
}
|
|
282
|
-
);
|
|
283
|
-
-1 === payload._status && (payload._status = 0, payload._result = ctor);
|
|
284
|
-
}
|
|
285
|
-
if (1 === payload._status)
|
|
286
|
-
return payload._result.default;
|
|
287
|
-
throw payload._result;
|
|
288
|
-
}
|
|
289
|
-
var reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
|
|
290
|
-
if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
|
|
291
|
-
var event = new window.ErrorEvent("error", {
|
|
292
|
-
bubbles: true,
|
|
293
|
-
cancelable: true,
|
|
294
|
-
message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
|
|
295
|
-
error
|
|
296
|
-
});
|
|
297
|
-
if (!window.dispatchEvent(event))
|
|
298
|
-
return;
|
|
299
|
-
} else if ("object" === typeof process && "function" === typeof process.emit) {
|
|
300
|
-
process.emit("uncaughtException", error);
|
|
301
|
-
return;
|
|
302
|
-
}
|
|
303
|
-
console.error(error);
|
|
304
|
-
};
|
|
305
|
-
function noop() {
|
|
306
|
-
}
|
|
307
|
-
exports.Children = {
|
|
308
|
-
map: mapChildren,
|
|
309
|
-
forEach: function(children, forEachFunc, forEachContext) {
|
|
310
|
-
mapChildren(
|
|
311
|
-
children,
|
|
312
|
-
function() {
|
|
313
|
-
forEachFunc.apply(this, arguments);
|
|
314
|
-
},
|
|
315
|
-
forEachContext
|
|
316
|
-
);
|
|
317
|
-
},
|
|
318
|
-
count: function(children) {
|
|
319
|
-
var n = 0;
|
|
320
|
-
mapChildren(children, function() {
|
|
321
|
-
n++;
|
|
322
|
-
});
|
|
323
|
-
return n;
|
|
324
|
-
},
|
|
325
|
-
toArray: function(children) {
|
|
326
|
-
return mapChildren(children, function(child) {
|
|
327
|
-
return child;
|
|
328
|
-
}) || [];
|
|
329
|
-
},
|
|
330
|
-
only: function(children) {
|
|
331
|
-
if (!isValidElement(children))
|
|
332
|
-
throw Error(
|
|
333
|
-
"React.Children.only expected to receive a single React element child."
|
|
334
|
-
);
|
|
335
|
-
return children;
|
|
336
|
-
}
|
|
337
|
-
};
|
|
338
|
-
exports.Component = Component;
|
|
339
|
-
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
340
|
-
exports.Profiler = REACT_PROFILER_TYPE;
|
|
341
|
-
exports.PureComponent = PureComponent;
|
|
342
|
-
exports.StrictMode = REACT_STRICT_MODE_TYPE;
|
|
343
|
-
exports.Suspense = REACT_SUSPENSE_TYPE;
|
|
344
|
-
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
|
|
345
|
-
exports.__COMPILER_RUNTIME = {
|
|
346
|
-
__proto__: null,
|
|
347
|
-
c: function(size) {
|
|
348
|
-
return ReactSharedInternals.H.useMemoCache(size);
|
|
349
|
-
}
|
|
350
|
-
};
|
|
351
|
-
exports.cache = function(fn) {
|
|
352
|
-
return function() {
|
|
353
|
-
return fn.apply(null, arguments);
|
|
354
|
-
};
|
|
355
|
-
};
|
|
356
|
-
exports.cloneElement = function(element, config, children) {
|
|
357
|
-
if (null === element || void 0 === element)
|
|
358
|
-
throw Error(
|
|
359
|
-
"The argument must be a React element, but you passed " + element + "."
|
|
360
|
-
);
|
|
361
|
-
var props = assign({}, element.props), key = element.key, owner = void 0;
|
|
362
|
-
if (null != config)
|
|
363
|
-
for (propName in void 0 !== config.ref && (owner = void 0), void 0 !== config.key && (key = "" + config.key), config)
|
|
364
|
-
!hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
|
|
365
|
-
var propName = arguments.length - 2;
|
|
366
|
-
if (1 === propName)
|
|
367
|
-
props.children = children;
|
|
368
|
-
else if (1 < propName) {
|
|
369
|
-
for (var childArray = Array(propName), i = 0; i < propName; i++)
|
|
370
|
-
childArray[i] = arguments[i + 2];
|
|
371
|
-
props.children = childArray;
|
|
372
|
-
}
|
|
373
|
-
return ReactElement(element.type, key, void 0, void 0, owner, props);
|
|
374
|
-
};
|
|
375
|
-
exports.createContext = function(defaultValue) {
|
|
376
|
-
defaultValue = {
|
|
377
|
-
$$typeof: REACT_CONTEXT_TYPE,
|
|
378
|
-
_currentValue: defaultValue,
|
|
379
|
-
_currentValue2: defaultValue,
|
|
380
|
-
_threadCount: 0,
|
|
381
|
-
Provider: null,
|
|
382
|
-
Consumer: null
|
|
383
|
-
};
|
|
384
|
-
defaultValue.Provider = defaultValue;
|
|
385
|
-
defaultValue.Consumer = {
|
|
386
|
-
$$typeof: REACT_CONSUMER_TYPE,
|
|
387
|
-
_context: defaultValue
|
|
388
|
-
};
|
|
389
|
-
return defaultValue;
|
|
390
|
-
};
|
|
391
|
-
exports.createElement = function(type, config, children) {
|
|
392
|
-
var propName, props = {}, key = null;
|
|
393
|
-
if (null != config)
|
|
394
|
-
for (propName in void 0 !== config.key && (key = "" + config.key), config)
|
|
395
|
-
hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (props[propName] = config[propName]);
|
|
396
|
-
var childrenLength = arguments.length - 2;
|
|
397
|
-
if (1 === childrenLength)
|
|
398
|
-
props.children = children;
|
|
399
|
-
else if (1 < childrenLength) {
|
|
400
|
-
for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++)
|
|
401
|
-
childArray[i] = arguments[i + 2];
|
|
402
|
-
props.children = childArray;
|
|
403
|
-
}
|
|
404
|
-
if (type && type.defaultProps)
|
|
405
|
-
for (propName in childrenLength = type.defaultProps, childrenLength)
|
|
406
|
-
void 0 === props[propName] && (props[propName] = childrenLength[propName]);
|
|
407
|
-
return ReactElement(type, key, void 0, void 0, null, props);
|
|
408
|
-
};
|
|
409
|
-
exports.createRef = function() {
|
|
410
|
-
return { current: null };
|
|
411
|
-
};
|
|
412
|
-
exports.forwardRef = function(render) {
|
|
413
|
-
return { $$typeof: REACT_FORWARD_REF_TYPE, render };
|
|
414
|
-
};
|
|
415
|
-
exports.isValidElement = isValidElement;
|
|
416
|
-
exports.lazy = function(ctor) {
|
|
417
|
-
return {
|
|
418
|
-
$$typeof: REACT_LAZY_TYPE,
|
|
419
|
-
_payload: { _status: -1, _result: ctor },
|
|
420
|
-
_init: lazyInitializer
|
|
421
|
-
};
|
|
422
|
-
};
|
|
423
|
-
exports.memo = function(type, compare) {
|
|
424
|
-
return {
|
|
425
|
-
$$typeof: REACT_MEMO_TYPE,
|
|
426
|
-
type,
|
|
427
|
-
compare: void 0 === compare ? null : compare
|
|
428
|
-
};
|
|
429
|
-
};
|
|
430
|
-
exports.startTransition = function(scope) {
|
|
431
|
-
var prevTransition = ReactSharedInternals.T, currentTransition = {};
|
|
432
|
-
ReactSharedInternals.T = currentTransition;
|
|
433
|
-
try {
|
|
434
|
-
var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
|
|
435
|
-
null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
|
|
436
|
-
"object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);
|
|
437
|
-
} catch (error) {
|
|
438
|
-
reportGlobalError(error);
|
|
439
|
-
} finally {
|
|
440
|
-
ReactSharedInternals.T = prevTransition;
|
|
441
|
-
}
|
|
442
|
-
};
|
|
443
|
-
exports.unstable_useCacheRefresh = function() {
|
|
444
|
-
return ReactSharedInternals.H.useCacheRefresh();
|
|
445
|
-
};
|
|
446
|
-
exports.use = function(usable) {
|
|
447
|
-
return ReactSharedInternals.H.use(usable);
|
|
448
|
-
};
|
|
449
|
-
exports.useActionState = function(action, initialState, permalink) {
|
|
450
|
-
return ReactSharedInternals.H.useActionState(action, initialState, permalink);
|
|
451
|
-
};
|
|
452
|
-
exports.useCallback = function(callback, deps) {
|
|
453
|
-
return ReactSharedInternals.H.useCallback(callback, deps);
|
|
454
|
-
};
|
|
455
|
-
exports.useContext = function(Context) {
|
|
456
|
-
return ReactSharedInternals.H.useContext(Context);
|
|
457
|
-
};
|
|
458
|
-
exports.useDebugValue = function() {
|
|
459
|
-
};
|
|
460
|
-
exports.useDeferredValue = function(value, initialValue) {
|
|
461
|
-
return ReactSharedInternals.H.useDeferredValue(value, initialValue);
|
|
462
|
-
};
|
|
463
|
-
exports.useEffect = function(create, createDeps, update) {
|
|
464
|
-
var dispatcher = ReactSharedInternals.H;
|
|
465
|
-
if ("function" === typeof update)
|
|
466
|
-
throw Error(
|
|
467
|
-
"useEffect CRUD overload is not enabled in this build of React."
|
|
468
|
-
);
|
|
469
|
-
return dispatcher.useEffect(create, createDeps);
|
|
470
|
-
};
|
|
471
|
-
exports.useId = function() {
|
|
472
|
-
return ReactSharedInternals.H.useId();
|
|
473
|
-
};
|
|
474
|
-
exports.useImperativeHandle = function(ref, create, deps) {
|
|
475
|
-
return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);
|
|
476
|
-
};
|
|
477
|
-
exports.useInsertionEffect = function(create, deps) {
|
|
478
|
-
return ReactSharedInternals.H.useInsertionEffect(create, deps);
|
|
479
|
-
};
|
|
480
|
-
exports.useLayoutEffect = function(create, deps) {
|
|
481
|
-
return ReactSharedInternals.H.useLayoutEffect(create, deps);
|
|
482
|
-
};
|
|
483
|
-
exports.useMemo = function(create, deps) {
|
|
484
|
-
return ReactSharedInternals.H.useMemo(create, deps);
|
|
485
|
-
};
|
|
486
|
-
exports.useOptimistic = function(passthrough, reducer) {
|
|
487
|
-
return ReactSharedInternals.H.useOptimistic(passthrough, reducer);
|
|
488
|
-
};
|
|
489
|
-
exports.useReducer = function(reducer, initialArg, init) {
|
|
490
|
-
return ReactSharedInternals.H.useReducer(reducer, initialArg, init);
|
|
491
|
-
};
|
|
492
|
-
exports.useRef = function(initialValue) {
|
|
493
|
-
return ReactSharedInternals.H.useRef(initialValue);
|
|
494
|
-
};
|
|
495
|
-
exports.useState = function(initialState) {
|
|
496
|
-
return ReactSharedInternals.H.useState(initialState);
|
|
497
|
-
};
|
|
498
|
-
exports.useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) {
|
|
499
|
-
return ReactSharedInternals.H.useSyncExternalStore(
|
|
500
|
-
subscribe,
|
|
501
|
-
getSnapshot,
|
|
502
|
-
getServerSnapshot
|
|
503
|
-
);
|
|
504
|
-
};
|
|
505
|
-
exports.useTransition = function() {
|
|
506
|
-
return ReactSharedInternals.H.useTransition();
|
|
507
|
-
};
|
|
508
|
-
exports.version = "19.1.0";
|
|
509
|
-
}
|
|
510
|
-
});
|
|
511
|
-
|
|
512
|
-
// ../../node_modules/react/cjs/react.development.js
|
|
513
|
-
var require_react_development = __commonJS({
|
|
514
|
-
"../../node_modules/react/cjs/react.development.js"(exports, module) {
|
|
515
|
-
"use strict";
|
|
516
|
-
"production" !== process.env.NODE_ENV && function() {
|
|
517
|
-
function defineDeprecationWarning(methodName, info) {
|
|
518
|
-
Object.defineProperty(Component.prototype, methodName, {
|
|
519
|
-
get: function() {
|
|
520
|
-
console.warn(
|
|
521
|
-
"%s(...) is deprecated in plain JavaScript React classes. %s",
|
|
522
|
-
info[0],
|
|
523
|
-
info[1]
|
|
524
|
-
);
|
|
525
|
-
}
|
|
526
|
-
});
|
|
527
|
-
}
|
|
528
|
-
function getIteratorFn(maybeIterable) {
|
|
529
|
-
if (null === maybeIterable || "object" !== typeof maybeIterable)
|
|
530
|
-
return null;
|
|
531
|
-
maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
|
|
532
|
-
return "function" === typeof maybeIterable ? maybeIterable : null;
|
|
533
|
-
}
|
|
534
|
-
function warnNoop(publicInstance, callerName) {
|
|
535
|
-
publicInstance = (publicInstance = publicInstance.constructor) && (publicInstance.displayName || publicInstance.name) || "ReactClass";
|
|
536
|
-
var warningKey = publicInstance + "." + callerName;
|
|
537
|
-
didWarnStateUpdateForUnmountedComponent[warningKey] || (console.error(
|
|
538
|
-
"Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",
|
|
539
|
-
callerName,
|
|
540
|
-
publicInstance
|
|
541
|
-
), didWarnStateUpdateForUnmountedComponent[warningKey] = true);
|
|
542
|
-
}
|
|
543
|
-
function Component(props, context, updater) {
|
|
544
|
-
this.props = props;
|
|
545
|
-
this.context = context;
|
|
546
|
-
this.refs = emptyObject;
|
|
547
|
-
this.updater = updater || ReactNoopUpdateQueue;
|
|
548
|
-
}
|
|
549
|
-
function ComponentDummy() {
|
|
550
|
-
}
|
|
551
|
-
function PureComponent(props, context, updater) {
|
|
552
|
-
this.props = props;
|
|
553
|
-
this.context = context;
|
|
554
|
-
this.refs = emptyObject;
|
|
555
|
-
this.updater = updater || ReactNoopUpdateQueue;
|
|
556
|
-
}
|
|
557
|
-
function testStringCoercion(value) {
|
|
558
|
-
return "" + value;
|
|
559
|
-
}
|
|
560
|
-
function checkKeyStringCoercion(value) {
|
|
561
|
-
try {
|
|
562
|
-
testStringCoercion(value);
|
|
563
|
-
var JSCompiler_inline_result = false;
|
|
564
|
-
} catch (e) {
|
|
565
|
-
JSCompiler_inline_result = true;
|
|
566
|
-
}
|
|
567
|
-
if (JSCompiler_inline_result) {
|
|
568
|
-
JSCompiler_inline_result = console;
|
|
569
|
-
var JSCompiler_temp_const = JSCompiler_inline_result.error;
|
|
570
|
-
var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
|
|
571
|
-
JSCompiler_temp_const.call(
|
|
572
|
-
JSCompiler_inline_result,
|
|
573
|
-
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
574
|
-
JSCompiler_inline_result$jscomp$0
|
|
575
|
-
);
|
|
576
|
-
return testStringCoercion(value);
|
|
577
|
-
}
|
|
578
|
-
}
|
|
579
|
-
function getComponentNameFromType(type) {
|
|
580
|
-
if (null == type)
|
|
581
|
-
return null;
|
|
582
|
-
if ("function" === typeof type)
|
|
583
|
-
return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
|
|
584
|
-
if ("string" === typeof type)
|
|
585
|
-
return type;
|
|
586
|
-
switch (type) {
|
|
587
|
-
case REACT_FRAGMENT_TYPE:
|
|
588
|
-
return "Fragment";
|
|
589
|
-
case REACT_PROFILER_TYPE:
|
|
590
|
-
return "Profiler";
|
|
591
|
-
case REACT_STRICT_MODE_TYPE:
|
|
592
|
-
return "StrictMode";
|
|
593
|
-
case REACT_SUSPENSE_TYPE:
|
|
594
|
-
return "Suspense";
|
|
595
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
|
596
|
-
return "SuspenseList";
|
|
597
|
-
case REACT_ACTIVITY_TYPE:
|
|
598
|
-
return "Activity";
|
|
599
|
-
}
|
|
600
|
-
if ("object" === typeof type)
|
|
601
|
-
switch ("number" === typeof type.tag && console.error(
|
|
602
|
-
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
603
|
-
), type.$$typeof) {
|
|
604
|
-
case REACT_PORTAL_TYPE:
|
|
605
|
-
return "Portal";
|
|
606
|
-
case REACT_CONTEXT_TYPE:
|
|
607
|
-
return (type.displayName || "Context") + ".Provider";
|
|
608
|
-
case REACT_CONSUMER_TYPE:
|
|
609
|
-
return (type._context.displayName || "Context") + ".Consumer";
|
|
610
|
-
case REACT_FORWARD_REF_TYPE:
|
|
611
|
-
var innerType = type.render;
|
|
612
|
-
type = type.displayName;
|
|
613
|
-
type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
|
|
614
|
-
return type;
|
|
615
|
-
case REACT_MEMO_TYPE:
|
|
616
|
-
return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
|
|
617
|
-
case REACT_LAZY_TYPE:
|
|
618
|
-
innerType = type._payload;
|
|
619
|
-
type = type._init;
|
|
620
|
-
try {
|
|
621
|
-
return getComponentNameFromType(type(innerType));
|
|
622
|
-
} catch (x) {
|
|
623
|
-
}
|
|
624
|
-
}
|
|
625
|
-
return null;
|
|
626
|
-
}
|
|
627
|
-
function getTaskName(type) {
|
|
628
|
-
if (type === REACT_FRAGMENT_TYPE)
|
|
629
|
-
return "<>";
|
|
630
|
-
if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE)
|
|
631
|
-
return "<...>";
|
|
632
|
-
try {
|
|
633
|
-
var name = getComponentNameFromType(type);
|
|
634
|
-
return name ? "<" + name + ">" : "<...>";
|
|
635
|
-
} catch (x) {
|
|
636
|
-
return "<...>";
|
|
637
|
-
}
|
|
638
|
-
}
|
|
639
|
-
function getOwner() {
|
|
640
|
-
var dispatcher = ReactSharedInternals.A;
|
|
641
|
-
return null === dispatcher ? null : dispatcher.getOwner();
|
|
642
|
-
}
|
|
643
|
-
function UnknownOwner() {
|
|
644
|
-
return Error("react-stack-top-frame");
|
|
645
|
-
}
|
|
646
|
-
function hasValidKey(config) {
|
|
647
|
-
if (hasOwnProperty.call(config, "key")) {
|
|
648
|
-
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
|
649
|
-
if (getter && getter.isReactWarning)
|
|
650
|
-
return false;
|
|
651
|
-
}
|
|
652
|
-
return void 0 !== config.key;
|
|
653
|
-
}
|
|
654
|
-
function defineKeyPropWarningGetter(props, displayName) {
|
|
655
|
-
function warnAboutAccessingKey() {
|
|
656
|
-
specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error(
|
|
657
|
-
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
658
|
-
displayName
|
|
659
|
-
));
|
|
660
|
-
}
|
|
661
|
-
warnAboutAccessingKey.isReactWarning = true;
|
|
662
|
-
Object.defineProperty(props, "key", {
|
|
663
|
-
get: warnAboutAccessingKey,
|
|
664
|
-
configurable: true
|
|
665
|
-
});
|
|
666
|
-
}
|
|
667
|
-
function elementRefGetterWithDeprecationWarning() {
|
|
668
|
-
var componentName = getComponentNameFromType(this.type);
|
|
669
|
-
didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error(
|
|
670
|
-
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
671
|
-
));
|
|
672
|
-
componentName = this.props.ref;
|
|
673
|
-
return void 0 !== componentName ? componentName : null;
|
|
674
|
-
}
|
|
675
|
-
function ReactElement(type, key, self, source, owner, props, debugStack, debugTask) {
|
|
676
|
-
self = props.ref;
|
|
677
|
-
type = {
|
|
678
|
-
$$typeof: REACT_ELEMENT_TYPE,
|
|
679
|
-
type,
|
|
680
|
-
key,
|
|
681
|
-
props,
|
|
682
|
-
_owner: owner
|
|
683
|
-
};
|
|
684
|
-
null !== (void 0 !== self ? self : null) ? Object.defineProperty(type, "ref", {
|
|
685
|
-
enumerable: false,
|
|
686
|
-
get: elementRefGetterWithDeprecationWarning
|
|
687
|
-
}) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
|
|
688
|
-
type._store = {};
|
|
689
|
-
Object.defineProperty(type._store, "validated", {
|
|
690
|
-
configurable: false,
|
|
691
|
-
enumerable: false,
|
|
692
|
-
writable: true,
|
|
693
|
-
value: 0
|
|
694
|
-
});
|
|
695
|
-
Object.defineProperty(type, "_debugInfo", {
|
|
696
|
-
configurable: false,
|
|
697
|
-
enumerable: false,
|
|
698
|
-
writable: true,
|
|
699
|
-
value: null
|
|
700
|
-
});
|
|
701
|
-
Object.defineProperty(type, "_debugStack", {
|
|
702
|
-
configurable: false,
|
|
703
|
-
enumerable: false,
|
|
704
|
-
writable: true,
|
|
705
|
-
value: debugStack
|
|
706
|
-
});
|
|
707
|
-
Object.defineProperty(type, "_debugTask", {
|
|
708
|
-
configurable: false,
|
|
709
|
-
enumerable: false,
|
|
710
|
-
writable: true,
|
|
711
|
-
value: debugTask
|
|
712
|
-
});
|
|
713
|
-
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
|
714
|
-
return type;
|
|
715
|
-
}
|
|
716
|
-
function cloneAndReplaceKey(oldElement, newKey) {
|
|
717
|
-
newKey = ReactElement(
|
|
718
|
-
oldElement.type,
|
|
719
|
-
newKey,
|
|
720
|
-
void 0,
|
|
721
|
-
void 0,
|
|
722
|
-
oldElement._owner,
|
|
723
|
-
oldElement.props,
|
|
724
|
-
oldElement._debugStack,
|
|
725
|
-
oldElement._debugTask
|
|
726
|
-
);
|
|
727
|
-
oldElement._store && (newKey._store.validated = oldElement._store.validated);
|
|
728
|
-
return newKey;
|
|
729
|
-
}
|
|
730
|
-
function isValidElement(object) {
|
|
731
|
-
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
732
|
-
}
|
|
733
|
-
function escape(key) {
|
|
734
|
-
var escaperLookup = { "=": "=0", ":": "=2" };
|
|
735
|
-
return "$" + key.replace(/[=:]/g, function(match) {
|
|
736
|
-
return escaperLookup[match];
|
|
737
|
-
});
|
|
738
|
-
}
|
|
739
|
-
function getElementKey(element, index) {
|
|
740
|
-
return "object" === typeof element && null !== element && null != element.key ? (checkKeyStringCoercion(element.key), escape("" + element.key)) : index.toString(36);
|
|
741
|
-
}
|
|
742
|
-
function noop$1() {
|
|
743
|
-
}
|
|
744
|
-
function resolveThenable(thenable) {
|
|
745
|
-
switch (thenable.status) {
|
|
746
|
-
case "fulfilled":
|
|
747
|
-
return thenable.value;
|
|
748
|
-
case "rejected":
|
|
749
|
-
throw thenable.reason;
|
|
750
|
-
default:
|
|
751
|
-
switch ("string" === typeof thenable.status ? thenable.then(noop$1, noop$1) : (thenable.status = "pending", thenable.then(
|
|
752
|
-
function(fulfilledValue) {
|
|
753
|
-
"pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
|
|
754
|
-
},
|
|
755
|
-
function(error) {
|
|
756
|
-
"pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
|
|
757
|
-
}
|
|
758
|
-
)), thenable.status) {
|
|
759
|
-
case "fulfilled":
|
|
760
|
-
return thenable.value;
|
|
761
|
-
case "rejected":
|
|
762
|
-
throw thenable.reason;
|
|
763
|
-
}
|
|
764
|
-
}
|
|
765
|
-
throw thenable;
|
|
766
|
-
}
|
|
767
|
-
function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
|
|
768
|
-
var type = typeof children;
|
|
769
|
-
if ("undefined" === type || "boolean" === type)
|
|
770
|
-
children = null;
|
|
771
|
-
var invokeCallback = false;
|
|
772
|
-
if (null === children)
|
|
773
|
-
invokeCallback = true;
|
|
774
|
-
else
|
|
775
|
-
switch (type) {
|
|
776
|
-
case "bigint":
|
|
777
|
-
case "string":
|
|
778
|
-
case "number":
|
|
779
|
-
invokeCallback = true;
|
|
780
|
-
break;
|
|
781
|
-
case "object":
|
|
782
|
-
switch (children.$$typeof) {
|
|
783
|
-
case REACT_ELEMENT_TYPE:
|
|
784
|
-
case REACT_PORTAL_TYPE:
|
|
785
|
-
invokeCallback = true;
|
|
786
|
-
break;
|
|
787
|
-
case REACT_LAZY_TYPE:
|
|
788
|
-
return invokeCallback = children._init, mapIntoArray(
|
|
789
|
-
invokeCallback(children._payload),
|
|
790
|
-
array,
|
|
791
|
-
escapedPrefix,
|
|
792
|
-
nameSoFar,
|
|
793
|
-
callback
|
|
794
|
-
);
|
|
795
|
-
}
|
|
796
|
-
}
|
|
797
|
-
if (invokeCallback) {
|
|
798
|
-
invokeCallback = children;
|
|
799
|
-
callback = callback(invokeCallback);
|
|
800
|
-
var childKey = "" === nameSoFar ? "." + getElementKey(invokeCallback, 0) : nameSoFar;
|
|
801
|
-
isArrayImpl(callback) ? (escapedPrefix = "", null != childKey && (escapedPrefix = childKey.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function(c) {
|
|
802
|
-
return c;
|
|
803
|
-
})) : null != callback && (isValidElement(callback) && (null != callback.key && (invokeCallback && invokeCallback.key === callback.key || checkKeyStringCoercion(callback.key)), escapedPrefix = cloneAndReplaceKey(
|
|
804
|
-
callback,
|
|
805
|
-
escapedPrefix + (null == callback.key || invokeCallback && invokeCallback.key === callback.key ? "" : ("" + callback.key).replace(
|
|
806
|
-
userProvidedKeyEscapeRegex,
|
|
807
|
-
"$&/"
|
|
808
|
-
) + "/") + childKey
|
|
809
|
-
), "" !== nameSoFar && null != invokeCallback && isValidElement(invokeCallback) && null == invokeCallback.key && invokeCallback._store && !invokeCallback._store.validated && (escapedPrefix._store.validated = 2), callback = escapedPrefix), array.push(callback));
|
|
810
|
-
return 1;
|
|
811
|
-
}
|
|
812
|
-
invokeCallback = 0;
|
|
813
|
-
childKey = "" === nameSoFar ? "." : nameSoFar + ":";
|
|
814
|
-
if (isArrayImpl(children))
|
|
815
|
-
for (var i = 0; i < children.length; i++)
|
|
816
|
-
nameSoFar = children[i], type = childKey + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(
|
|
817
|
-
nameSoFar,
|
|
818
|
-
array,
|
|
819
|
-
escapedPrefix,
|
|
820
|
-
type,
|
|
821
|
-
callback
|
|
822
|
-
);
|
|
823
|
-
else if (i = getIteratorFn(children), "function" === typeof i)
|
|
824
|
-
for (i === children.entries && (didWarnAboutMaps || console.warn(
|
|
825
|
-
"Using Maps as children is not supported. Use an array of keyed ReactElements instead."
|
|
826
|
-
), didWarnAboutMaps = true), children = i.call(children), i = 0; !(nameSoFar = children.next()).done; )
|
|
827
|
-
nameSoFar = nameSoFar.value, type = childKey + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(
|
|
828
|
-
nameSoFar,
|
|
829
|
-
array,
|
|
830
|
-
escapedPrefix,
|
|
831
|
-
type,
|
|
832
|
-
callback
|
|
833
|
-
);
|
|
834
|
-
else if ("object" === type) {
|
|
835
|
-
if ("function" === typeof children.then)
|
|
836
|
-
return mapIntoArray(
|
|
837
|
-
resolveThenable(children),
|
|
838
|
-
array,
|
|
839
|
-
escapedPrefix,
|
|
840
|
-
nameSoFar,
|
|
841
|
-
callback
|
|
842
|
-
);
|
|
843
|
-
array = String(children);
|
|
844
|
-
throw Error(
|
|
845
|
-
"Objects are not valid as a React child (found: " + ("[object Object]" === array ? "object with keys {" + Object.keys(children).join(", ") + "}" : array) + "). If you meant to render a collection of children, use an array instead."
|
|
846
|
-
);
|
|
847
|
-
}
|
|
848
|
-
return invokeCallback;
|
|
849
|
-
}
|
|
850
|
-
function mapChildren(children, func, context) {
|
|
851
|
-
if (null == children)
|
|
852
|
-
return children;
|
|
853
|
-
var result = [], count = 0;
|
|
854
|
-
mapIntoArray(children, result, "", "", function(child) {
|
|
855
|
-
return func.call(context, child, count++);
|
|
856
|
-
});
|
|
857
|
-
return result;
|
|
858
|
-
}
|
|
859
|
-
function lazyInitializer(payload) {
|
|
860
|
-
if (-1 === payload._status) {
|
|
861
|
-
var ctor = payload._result;
|
|
862
|
-
ctor = ctor();
|
|
863
|
-
ctor.then(
|
|
864
|
-
function(moduleObject) {
|
|
865
|
-
if (0 === payload._status || -1 === payload._status)
|
|
866
|
-
payload._status = 1, payload._result = moduleObject;
|
|
867
|
-
},
|
|
868
|
-
function(error) {
|
|
869
|
-
if (0 === payload._status || -1 === payload._status)
|
|
870
|
-
payload._status = 2, payload._result = error;
|
|
871
|
-
}
|
|
872
|
-
);
|
|
873
|
-
-1 === payload._status && (payload._status = 0, payload._result = ctor);
|
|
874
|
-
}
|
|
875
|
-
if (1 === payload._status)
|
|
876
|
-
return ctor = payload._result, void 0 === ctor && console.error(
|
|
877
|
-
"lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",
|
|
878
|
-
ctor
|
|
879
|
-
), "default" in ctor || console.error(
|
|
880
|
-
"lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",
|
|
881
|
-
ctor
|
|
882
|
-
), ctor.default;
|
|
883
|
-
throw payload._result;
|
|
884
|
-
}
|
|
885
|
-
function resolveDispatcher() {
|
|
886
|
-
var dispatcher = ReactSharedInternals.H;
|
|
887
|
-
null === dispatcher && console.error(
|
|
888
|
-
"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
|
|
889
|
-
);
|
|
890
|
-
return dispatcher;
|
|
891
|
-
}
|
|
892
|
-
function noop() {
|
|
893
|
-
}
|
|
894
|
-
function enqueueTask(task) {
|
|
895
|
-
if (null === enqueueTaskImpl)
|
|
896
|
-
try {
|
|
897
|
-
var requireString = ("require" + Math.random()).slice(0, 7);
|
|
898
|
-
enqueueTaskImpl = (module && module[requireString]).call(
|
|
899
|
-
module,
|
|
900
|
-
"timers"
|
|
901
|
-
).setImmediate;
|
|
902
|
-
} catch (_err) {
|
|
903
|
-
enqueueTaskImpl = function(callback) {
|
|
904
|
-
false === didWarnAboutMessageChannel && (didWarnAboutMessageChannel = true, "undefined" === typeof MessageChannel && console.error(
|
|
905
|
-
"This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."
|
|
906
|
-
));
|
|
907
|
-
var channel = new MessageChannel();
|
|
908
|
-
channel.port1.onmessage = callback;
|
|
909
|
-
channel.port2.postMessage(void 0);
|
|
910
|
-
};
|
|
911
|
-
}
|
|
912
|
-
return enqueueTaskImpl(task);
|
|
913
|
-
}
|
|
914
|
-
function aggregateErrors(errors) {
|
|
915
|
-
return 1 < errors.length && "function" === typeof AggregateError ? new AggregateError(errors) : errors[0];
|
|
916
|
-
}
|
|
917
|
-
function popActScope(prevActQueue, prevActScopeDepth) {
|
|
918
|
-
prevActScopeDepth !== actScopeDepth - 1 && console.error(
|
|
919
|
-
"You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "
|
|
920
|
-
);
|
|
921
|
-
actScopeDepth = prevActScopeDepth;
|
|
922
|
-
}
|
|
923
|
-
function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
|
|
924
|
-
var queue = ReactSharedInternals.actQueue;
|
|
925
|
-
if (null !== queue)
|
|
926
|
-
if (0 !== queue.length)
|
|
927
|
-
try {
|
|
928
|
-
flushActQueue(queue);
|
|
929
|
-
enqueueTask(function() {
|
|
930
|
-
return recursivelyFlushAsyncActWork(returnValue, resolve, reject);
|
|
931
|
-
});
|
|
932
|
-
return;
|
|
933
|
-
} catch (error) {
|
|
934
|
-
ReactSharedInternals.thrownErrors.push(error);
|
|
935
|
-
}
|
|
936
|
-
else
|
|
937
|
-
ReactSharedInternals.actQueue = null;
|
|
938
|
-
0 < ReactSharedInternals.thrownErrors.length ? (queue = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, reject(queue)) : resolve(returnValue);
|
|
939
|
-
}
|
|
940
|
-
function flushActQueue(queue) {
|
|
941
|
-
if (!isFlushing) {
|
|
942
|
-
isFlushing = true;
|
|
943
|
-
var i = 0;
|
|
944
|
-
try {
|
|
945
|
-
for (; i < queue.length; i++) {
|
|
946
|
-
var callback = queue[i];
|
|
947
|
-
do {
|
|
948
|
-
ReactSharedInternals.didUsePromise = false;
|
|
949
|
-
var continuation = callback(false);
|
|
950
|
-
if (null !== continuation) {
|
|
951
|
-
if (ReactSharedInternals.didUsePromise) {
|
|
952
|
-
queue[i] = callback;
|
|
953
|
-
queue.splice(0, i);
|
|
954
|
-
return;
|
|
955
|
-
}
|
|
956
|
-
callback = continuation;
|
|
957
|
-
} else
|
|
958
|
-
break;
|
|
959
|
-
} while (1);
|
|
960
|
-
}
|
|
961
|
-
queue.length = 0;
|
|
962
|
-
} catch (error) {
|
|
963
|
-
queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);
|
|
964
|
-
} finally {
|
|
965
|
-
isFlushing = false;
|
|
966
|
-
}
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
970
|
-
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
971
|
-
Symbol.for("react.provider");
|
|
972
|
-
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = {
|
|
973
|
-
isMounted: function() {
|
|
974
|
-
return false;
|
|
975
|
-
},
|
|
976
|
-
enqueueForceUpdate: function(publicInstance) {
|
|
977
|
-
warnNoop(publicInstance, "forceUpdate");
|
|
978
|
-
},
|
|
979
|
-
enqueueReplaceState: function(publicInstance) {
|
|
980
|
-
warnNoop(publicInstance, "replaceState");
|
|
981
|
-
},
|
|
982
|
-
enqueueSetState: function(publicInstance) {
|
|
983
|
-
warnNoop(publicInstance, "setState");
|
|
984
|
-
}
|
|
985
|
-
}, assign = Object.assign, emptyObject = {};
|
|
986
|
-
Object.freeze(emptyObject);
|
|
987
|
-
Component.prototype.isReactComponent = {};
|
|
988
|
-
Component.prototype.setState = function(partialState, callback) {
|
|
989
|
-
if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState)
|
|
990
|
-
throw Error(
|
|
991
|
-
"takes an object of state variables to update or a function which returns an object of state variables."
|
|
992
|
-
);
|
|
993
|
-
this.updater.enqueueSetState(this, partialState, callback, "setState");
|
|
994
|
-
};
|
|
995
|
-
Component.prototype.forceUpdate = function(callback) {
|
|
996
|
-
this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
|
|
997
|
-
};
|
|
998
|
-
var deprecatedAPIs = {
|
|
999
|
-
isMounted: [
|
|
1000
|
-
"isMounted",
|
|
1001
|
-
"Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."
|
|
1002
|
-
],
|
|
1003
|
-
replaceState: [
|
|
1004
|
-
"replaceState",
|
|
1005
|
-
"Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
|
|
1006
|
-
]
|
|
1007
|
-
}, fnName;
|
|
1008
|
-
for (fnName in deprecatedAPIs)
|
|
1009
|
-
deprecatedAPIs.hasOwnProperty(fnName) && defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
|
|
1010
|
-
ComponentDummy.prototype = Component.prototype;
|
|
1011
|
-
deprecatedAPIs = PureComponent.prototype = new ComponentDummy();
|
|
1012
|
-
deprecatedAPIs.constructor = PureComponent;
|
|
1013
|
-
assign(deprecatedAPIs, Component.prototype);
|
|
1014
|
-
deprecatedAPIs.isPureReactComponent = true;
|
|
1015
|
-
var isArrayImpl = Array.isArray, REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = {
|
|
1016
|
-
H: null,
|
|
1017
|
-
A: null,
|
|
1018
|
-
T: null,
|
|
1019
|
-
S: null,
|
|
1020
|
-
V: null,
|
|
1021
|
-
actQueue: null,
|
|
1022
|
-
isBatchingLegacy: false,
|
|
1023
|
-
didScheduleLegacyUpdate: false,
|
|
1024
|
-
didUsePromise: false,
|
|
1025
|
-
thrownErrors: [],
|
|
1026
|
-
getCurrentStack: null,
|
|
1027
|
-
recentlyCreatedOwnerStacks: 0
|
|
1028
|
-
}, hasOwnProperty = Object.prototype.hasOwnProperty, createTask = console.createTask ? console.createTask : function() {
|
|
1029
|
-
return null;
|
|
1030
|
-
};
|
|
1031
|
-
deprecatedAPIs = {
|
|
1032
|
-
"react-stack-bottom-frame": function(callStackForError) {
|
|
1033
|
-
return callStackForError();
|
|
1034
|
-
}
|
|
1035
|
-
};
|
|
1036
|
-
var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;
|
|
1037
|
-
var didWarnAboutElementRef = {};
|
|
1038
|
-
var unknownOwnerDebugStack = deprecatedAPIs["react-stack-bottom-frame"].bind(deprecatedAPIs, UnknownOwner)();
|
|
1039
|
-
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
|
1040
|
-
var didWarnAboutMaps = false, userProvidedKeyEscapeRegex = /\/+/g, reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
|
|
1041
|
-
if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
|
|
1042
|
-
var event = new window.ErrorEvent("error", {
|
|
1043
|
-
bubbles: true,
|
|
1044
|
-
cancelable: true,
|
|
1045
|
-
message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
|
|
1046
|
-
error
|
|
1047
|
-
});
|
|
1048
|
-
if (!window.dispatchEvent(event))
|
|
1049
|
-
return;
|
|
1050
|
-
} else if ("object" === typeof process && "function" === typeof process.emit) {
|
|
1051
|
-
process.emit("uncaughtException", error);
|
|
1052
|
-
return;
|
|
1053
|
-
}
|
|
1054
|
-
console.error(error);
|
|
1055
|
-
}, didWarnAboutMessageChannel = false, enqueueTaskImpl = null, actScopeDepth = 0, didWarnNoAwaitAct = false, isFlushing = false, queueSeveralMicrotasks = "function" === typeof queueMicrotask ? function(callback) {
|
|
1056
|
-
queueMicrotask(function() {
|
|
1057
|
-
return queueMicrotask(callback);
|
|
1058
|
-
});
|
|
1059
|
-
} : enqueueTask;
|
|
1060
|
-
deprecatedAPIs = Object.freeze({
|
|
1061
|
-
__proto__: null,
|
|
1062
|
-
c: function(size) {
|
|
1063
|
-
return resolveDispatcher().useMemoCache(size);
|
|
1064
|
-
}
|
|
1065
|
-
});
|
|
1066
|
-
exports.Children = {
|
|
1067
|
-
map: mapChildren,
|
|
1068
|
-
forEach: function(children, forEachFunc, forEachContext) {
|
|
1069
|
-
mapChildren(
|
|
1070
|
-
children,
|
|
1071
|
-
function() {
|
|
1072
|
-
forEachFunc.apply(this, arguments);
|
|
1073
|
-
},
|
|
1074
|
-
forEachContext
|
|
1075
|
-
);
|
|
1076
|
-
},
|
|
1077
|
-
count: function(children) {
|
|
1078
|
-
var n = 0;
|
|
1079
|
-
mapChildren(children, function() {
|
|
1080
|
-
n++;
|
|
1081
|
-
});
|
|
1082
|
-
return n;
|
|
1083
|
-
},
|
|
1084
|
-
toArray: function(children) {
|
|
1085
|
-
return mapChildren(children, function(child) {
|
|
1086
|
-
return child;
|
|
1087
|
-
}) || [];
|
|
1088
|
-
},
|
|
1089
|
-
only: function(children) {
|
|
1090
|
-
if (!isValidElement(children))
|
|
1091
|
-
throw Error(
|
|
1092
|
-
"React.Children.only expected to receive a single React element child."
|
|
1093
|
-
);
|
|
1094
|
-
return children;
|
|
1095
|
-
}
|
|
1096
|
-
};
|
|
1097
|
-
exports.Component = Component;
|
|
1098
|
-
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
1099
|
-
exports.Profiler = REACT_PROFILER_TYPE;
|
|
1100
|
-
exports.PureComponent = PureComponent;
|
|
1101
|
-
exports.StrictMode = REACT_STRICT_MODE_TYPE;
|
|
1102
|
-
exports.Suspense = REACT_SUSPENSE_TYPE;
|
|
1103
|
-
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
|
|
1104
|
-
exports.__COMPILER_RUNTIME = deprecatedAPIs;
|
|
1105
|
-
exports.act = function(callback) {
|
|
1106
|
-
var prevActQueue = ReactSharedInternals.actQueue, prevActScopeDepth = actScopeDepth;
|
|
1107
|
-
actScopeDepth++;
|
|
1108
|
-
var queue = ReactSharedInternals.actQueue = null !== prevActQueue ? prevActQueue : [], didAwaitActCall = false;
|
|
1109
|
-
try {
|
|
1110
|
-
var result = callback();
|
|
1111
|
-
} catch (error) {
|
|
1112
|
-
ReactSharedInternals.thrownErrors.push(error);
|
|
1113
|
-
}
|
|
1114
|
-
if (0 < ReactSharedInternals.thrownErrors.length)
|
|
1115
|
-
throw popActScope(prevActQueue, prevActScopeDepth), callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
|
|
1116
|
-
if (null !== result && "object" === typeof result && "function" === typeof result.then) {
|
|
1117
|
-
var thenable = result;
|
|
1118
|
-
queueSeveralMicrotasks(function() {
|
|
1119
|
-
didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = true, console.error(
|
|
1120
|
-
"You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"
|
|
1121
|
-
));
|
|
1122
|
-
});
|
|
1123
|
-
return {
|
|
1124
|
-
then: function(resolve, reject) {
|
|
1125
|
-
didAwaitActCall = true;
|
|
1126
|
-
thenable.then(
|
|
1127
|
-
function(returnValue) {
|
|
1128
|
-
popActScope(prevActQueue, prevActScopeDepth);
|
|
1129
|
-
if (0 === prevActScopeDepth) {
|
|
1130
|
-
try {
|
|
1131
|
-
flushActQueue(queue), enqueueTask(function() {
|
|
1132
|
-
return recursivelyFlushAsyncActWork(
|
|
1133
|
-
returnValue,
|
|
1134
|
-
resolve,
|
|
1135
|
-
reject
|
|
1136
|
-
);
|
|
1137
|
-
});
|
|
1138
|
-
} catch (error$0) {
|
|
1139
|
-
ReactSharedInternals.thrownErrors.push(error$0);
|
|
1140
|
-
}
|
|
1141
|
-
if (0 < ReactSharedInternals.thrownErrors.length) {
|
|
1142
|
-
var _thrownError = aggregateErrors(
|
|
1143
|
-
ReactSharedInternals.thrownErrors
|
|
1144
|
-
);
|
|
1145
|
-
ReactSharedInternals.thrownErrors.length = 0;
|
|
1146
|
-
reject(_thrownError);
|
|
1147
|
-
}
|
|
1148
|
-
} else
|
|
1149
|
-
resolve(returnValue);
|
|
1150
|
-
},
|
|
1151
|
-
function(error) {
|
|
1152
|
-
popActScope(prevActQueue, prevActScopeDepth);
|
|
1153
|
-
0 < ReactSharedInternals.thrownErrors.length ? (error = aggregateErrors(
|
|
1154
|
-
ReactSharedInternals.thrownErrors
|
|
1155
|
-
), ReactSharedInternals.thrownErrors.length = 0, reject(error)) : reject(error);
|
|
1156
|
-
}
|
|
1157
|
-
);
|
|
1158
|
-
}
|
|
1159
|
-
};
|
|
1160
|
-
}
|
|
1161
|
-
var returnValue$jscomp$0 = result;
|
|
1162
|
-
popActScope(prevActQueue, prevActScopeDepth);
|
|
1163
|
-
0 === prevActScopeDepth && (flushActQueue(queue), 0 !== queue.length && queueSeveralMicrotasks(function() {
|
|
1164
|
-
didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = true, console.error(
|
|
1165
|
-
"A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"
|
|
1166
|
-
));
|
|
1167
|
-
}), ReactSharedInternals.actQueue = null);
|
|
1168
|
-
if (0 < ReactSharedInternals.thrownErrors.length)
|
|
1169
|
-
throw callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
|
|
1170
|
-
return {
|
|
1171
|
-
then: function(resolve, reject) {
|
|
1172
|
-
didAwaitActCall = true;
|
|
1173
|
-
0 === prevActScopeDepth ? (ReactSharedInternals.actQueue = queue, enqueueTask(function() {
|
|
1174
|
-
return recursivelyFlushAsyncActWork(
|
|
1175
|
-
returnValue$jscomp$0,
|
|
1176
|
-
resolve,
|
|
1177
|
-
reject
|
|
1178
|
-
);
|
|
1179
|
-
})) : resolve(returnValue$jscomp$0);
|
|
1180
|
-
}
|
|
1181
|
-
};
|
|
1182
|
-
};
|
|
1183
|
-
exports.cache = function(fn) {
|
|
1184
|
-
return function() {
|
|
1185
|
-
return fn.apply(null, arguments);
|
|
1186
|
-
};
|
|
1187
|
-
};
|
|
1188
|
-
exports.captureOwnerStack = function() {
|
|
1189
|
-
var getCurrentStack = ReactSharedInternals.getCurrentStack;
|
|
1190
|
-
return null === getCurrentStack ? null : getCurrentStack();
|
|
1191
|
-
};
|
|
1192
|
-
exports.cloneElement = function(element, config, children) {
|
|
1193
|
-
if (null === element || void 0 === element)
|
|
1194
|
-
throw Error(
|
|
1195
|
-
"The argument must be a React element, but you passed " + element + "."
|
|
1196
|
-
);
|
|
1197
|
-
var props = assign({}, element.props), key = element.key, owner = element._owner;
|
|
1198
|
-
if (null != config) {
|
|
1199
|
-
var JSCompiler_inline_result;
|
|
1200
|
-
a: {
|
|
1201
|
-
if (hasOwnProperty.call(config, "ref") && (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(
|
|
1202
|
-
config,
|
|
1203
|
-
"ref"
|
|
1204
|
-
).get) && JSCompiler_inline_result.isReactWarning) {
|
|
1205
|
-
JSCompiler_inline_result = false;
|
|
1206
|
-
break a;
|
|
1207
|
-
}
|
|
1208
|
-
JSCompiler_inline_result = void 0 !== config.ref;
|
|
1209
|
-
}
|
|
1210
|
-
JSCompiler_inline_result && (owner = getOwner());
|
|
1211
|
-
hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key);
|
|
1212
|
-
for (propName in config)
|
|
1213
|
-
!hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
|
|
1214
|
-
}
|
|
1215
|
-
var propName = arguments.length - 2;
|
|
1216
|
-
if (1 === propName)
|
|
1217
|
-
props.children = children;
|
|
1218
|
-
else if (1 < propName) {
|
|
1219
|
-
JSCompiler_inline_result = Array(propName);
|
|
1220
|
-
for (var i = 0; i < propName; i++)
|
|
1221
|
-
JSCompiler_inline_result[i] = arguments[i + 2];
|
|
1222
|
-
props.children = JSCompiler_inline_result;
|
|
1223
|
-
}
|
|
1224
|
-
props = ReactElement(
|
|
1225
|
-
element.type,
|
|
1226
|
-
key,
|
|
1227
|
-
void 0,
|
|
1228
|
-
void 0,
|
|
1229
|
-
owner,
|
|
1230
|
-
props,
|
|
1231
|
-
element._debugStack,
|
|
1232
|
-
element._debugTask
|
|
1233
|
-
);
|
|
1234
|
-
for (key = 2; key < arguments.length; key++)
|
|
1235
|
-
owner = arguments[key], isValidElement(owner) && owner._store && (owner._store.validated = 1);
|
|
1236
|
-
return props;
|
|
1237
|
-
};
|
|
1238
|
-
exports.createContext = function(defaultValue) {
|
|
1239
|
-
defaultValue = {
|
|
1240
|
-
$$typeof: REACT_CONTEXT_TYPE,
|
|
1241
|
-
_currentValue: defaultValue,
|
|
1242
|
-
_currentValue2: defaultValue,
|
|
1243
|
-
_threadCount: 0,
|
|
1244
|
-
Provider: null,
|
|
1245
|
-
Consumer: null
|
|
1246
|
-
};
|
|
1247
|
-
defaultValue.Provider = defaultValue;
|
|
1248
|
-
defaultValue.Consumer = {
|
|
1249
|
-
$$typeof: REACT_CONSUMER_TYPE,
|
|
1250
|
-
_context: defaultValue
|
|
1251
|
-
};
|
|
1252
|
-
defaultValue._currentRenderer = null;
|
|
1253
|
-
defaultValue._currentRenderer2 = null;
|
|
1254
|
-
return defaultValue;
|
|
1255
|
-
};
|
|
1256
|
-
exports.createElement = function(type, config, children) {
|
|
1257
|
-
for (var i = 2; i < arguments.length; i++) {
|
|
1258
|
-
var node = arguments[i];
|
|
1259
|
-
isValidElement(node) && node._store && (node._store.validated = 1);
|
|
1260
|
-
}
|
|
1261
|
-
i = {};
|
|
1262
|
-
node = null;
|
|
1263
|
-
if (null != config)
|
|
1264
|
-
for (propName in didWarnAboutOldJSXRuntime || !("__self" in config) || "key" in config || (didWarnAboutOldJSXRuntime = true, console.warn(
|
|
1265
|
-
"Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
|
|
1266
|
-
)), hasValidKey(config) && (checkKeyStringCoercion(config.key), node = "" + config.key), config)
|
|
1267
|
-
hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (i[propName] = config[propName]);
|
|
1268
|
-
var childrenLength = arguments.length - 2;
|
|
1269
|
-
if (1 === childrenLength)
|
|
1270
|
-
i.children = children;
|
|
1271
|
-
else if (1 < childrenLength) {
|
|
1272
|
-
for (var childArray = Array(childrenLength), _i = 0; _i < childrenLength; _i++)
|
|
1273
|
-
childArray[_i] = arguments[_i + 2];
|
|
1274
|
-
Object.freeze && Object.freeze(childArray);
|
|
1275
|
-
i.children = childArray;
|
|
1276
|
-
}
|
|
1277
|
-
if (type && type.defaultProps)
|
|
1278
|
-
for (propName in childrenLength = type.defaultProps, childrenLength)
|
|
1279
|
-
void 0 === i[propName] && (i[propName] = childrenLength[propName]);
|
|
1280
|
-
node && defineKeyPropWarningGetter(
|
|
1281
|
-
i,
|
|
1282
|
-
"function" === typeof type ? type.displayName || type.name || "Unknown" : type
|
|
1283
|
-
);
|
|
1284
|
-
var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
1285
|
-
return ReactElement(
|
|
1286
|
-
type,
|
|
1287
|
-
node,
|
|
1288
|
-
void 0,
|
|
1289
|
-
void 0,
|
|
1290
|
-
getOwner(),
|
|
1291
|
-
i,
|
|
1292
|
-
propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
|
|
1293
|
-
propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
|
1294
|
-
);
|
|
1295
|
-
};
|
|
1296
|
-
exports.createRef = function() {
|
|
1297
|
-
var refObject = { current: null };
|
|
1298
|
-
Object.seal(refObject);
|
|
1299
|
-
return refObject;
|
|
1300
|
-
};
|
|
1301
|
-
exports.forwardRef = function(render) {
|
|
1302
|
-
null != render && render.$$typeof === REACT_MEMO_TYPE ? console.error(
|
|
1303
|
-
"forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
|
|
1304
|
-
) : "function" !== typeof render ? console.error(
|
|
1305
|
-
"forwardRef requires a render function but was given %s.",
|
|
1306
|
-
null === render ? "null" : typeof render
|
|
1307
|
-
) : 0 !== render.length && 2 !== render.length && console.error(
|
|
1308
|
-
"forwardRef render functions accept exactly two parameters: props and ref. %s",
|
|
1309
|
-
1 === render.length ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."
|
|
1310
|
-
);
|
|
1311
|
-
null != render && null != render.defaultProps && console.error(
|
|
1312
|
-
"forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"
|
|
1313
|
-
);
|
|
1314
|
-
var elementType = { $$typeof: REACT_FORWARD_REF_TYPE, render }, ownName;
|
|
1315
|
-
Object.defineProperty(elementType, "displayName", {
|
|
1316
|
-
enumerable: false,
|
|
1317
|
-
configurable: true,
|
|
1318
|
-
get: function() {
|
|
1319
|
-
return ownName;
|
|
1320
|
-
},
|
|
1321
|
-
set: function(name) {
|
|
1322
|
-
ownName = name;
|
|
1323
|
-
render.name || render.displayName || (Object.defineProperty(render, "name", { value: name }), render.displayName = name);
|
|
1324
|
-
}
|
|
1325
|
-
});
|
|
1326
|
-
return elementType;
|
|
1327
|
-
};
|
|
1328
|
-
exports.isValidElement = isValidElement;
|
|
1329
|
-
exports.lazy = function(ctor) {
|
|
1330
|
-
return {
|
|
1331
|
-
$$typeof: REACT_LAZY_TYPE,
|
|
1332
|
-
_payload: { _status: -1, _result: ctor },
|
|
1333
|
-
_init: lazyInitializer
|
|
1334
|
-
};
|
|
1335
|
-
};
|
|
1336
|
-
exports.memo = function(type, compare) {
|
|
1337
|
-
null == type && console.error(
|
|
1338
|
-
"memo: The first argument must be a component. Instead received: %s",
|
|
1339
|
-
null === type ? "null" : typeof type
|
|
1340
|
-
);
|
|
1341
|
-
compare = {
|
|
1342
|
-
$$typeof: REACT_MEMO_TYPE,
|
|
1343
|
-
type,
|
|
1344
|
-
compare: void 0 === compare ? null : compare
|
|
1345
|
-
};
|
|
1346
|
-
var ownName;
|
|
1347
|
-
Object.defineProperty(compare, "displayName", {
|
|
1348
|
-
enumerable: false,
|
|
1349
|
-
configurable: true,
|
|
1350
|
-
get: function() {
|
|
1351
|
-
return ownName;
|
|
1352
|
-
},
|
|
1353
|
-
set: function(name) {
|
|
1354
|
-
ownName = name;
|
|
1355
|
-
type.name || type.displayName || (Object.defineProperty(type, "name", { value: name }), type.displayName = name);
|
|
1356
|
-
}
|
|
1357
|
-
});
|
|
1358
|
-
return compare;
|
|
1359
|
-
};
|
|
1360
|
-
exports.startTransition = function(scope) {
|
|
1361
|
-
var prevTransition = ReactSharedInternals.T, currentTransition = {};
|
|
1362
|
-
ReactSharedInternals.T = currentTransition;
|
|
1363
|
-
currentTransition._updatedFibers = /* @__PURE__ */ new Set();
|
|
1364
|
-
try {
|
|
1365
|
-
var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
|
|
1366
|
-
null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
|
|
1367
|
-
"object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);
|
|
1368
|
-
} catch (error) {
|
|
1369
|
-
reportGlobalError(error);
|
|
1370
|
-
} finally {
|
|
1371
|
-
null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn(
|
|
1372
|
-
"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
|
|
1373
|
-
)), ReactSharedInternals.T = prevTransition;
|
|
1374
|
-
}
|
|
1375
|
-
};
|
|
1376
|
-
exports.unstable_useCacheRefresh = function() {
|
|
1377
|
-
return resolveDispatcher().useCacheRefresh();
|
|
1378
|
-
};
|
|
1379
|
-
exports.use = function(usable) {
|
|
1380
|
-
return resolveDispatcher().use(usable);
|
|
1381
|
-
};
|
|
1382
|
-
exports.useActionState = function(action, initialState, permalink) {
|
|
1383
|
-
return resolveDispatcher().useActionState(
|
|
1384
|
-
action,
|
|
1385
|
-
initialState,
|
|
1386
|
-
permalink
|
|
1387
|
-
);
|
|
1388
|
-
};
|
|
1389
|
-
exports.useCallback = function(callback, deps) {
|
|
1390
|
-
return resolveDispatcher().useCallback(callback, deps);
|
|
1391
|
-
};
|
|
1392
|
-
exports.useContext = function(Context) {
|
|
1393
|
-
var dispatcher = resolveDispatcher();
|
|
1394
|
-
Context.$$typeof === REACT_CONSUMER_TYPE && console.error(
|
|
1395
|
-
"Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"
|
|
1396
|
-
);
|
|
1397
|
-
return dispatcher.useContext(Context);
|
|
1398
|
-
};
|
|
1399
|
-
exports.useDebugValue = function(value, formatterFn) {
|
|
1400
|
-
return resolveDispatcher().useDebugValue(value, formatterFn);
|
|
1401
|
-
};
|
|
1402
|
-
exports.useDeferredValue = function(value, initialValue) {
|
|
1403
|
-
return resolveDispatcher().useDeferredValue(value, initialValue);
|
|
1404
|
-
};
|
|
1405
|
-
exports.useEffect = function(create, createDeps, update) {
|
|
1406
|
-
null == create && console.warn(
|
|
1407
|
-
"React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
|
|
1408
|
-
);
|
|
1409
|
-
var dispatcher = resolveDispatcher();
|
|
1410
|
-
if ("function" === typeof update)
|
|
1411
|
-
throw Error(
|
|
1412
|
-
"useEffect CRUD overload is not enabled in this build of React."
|
|
1413
|
-
);
|
|
1414
|
-
return dispatcher.useEffect(create, createDeps);
|
|
1415
|
-
};
|
|
1416
|
-
exports.useId = function() {
|
|
1417
|
-
return resolveDispatcher().useId();
|
|
1418
|
-
};
|
|
1419
|
-
exports.useImperativeHandle = function(ref, create, deps) {
|
|
1420
|
-
return resolveDispatcher().useImperativeHandle(ref, create, deps);
|
|
1421
|
-
};
|
|
1422
|
-
exports.useInsertionEffect = function(create, deps) {
|
|
1423
|
-
null == create && console.warn(
|
|
1424
|
-
"React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"
|
|
1425
|
-
);
|
|
1426
|
-
return resolveDispatcher().useInsertionEffect(create, deps);
|
|
1427
|
-
};
|
|
1428
|
-
exports.useLayoutEffect = function(create, deps) {
|
|
1429
|
-
null == create && console.warn(
|
|
1430
|
-
"React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"
|
|
1431
|
-
);
|
|
1432
|
-
return resolveDispatcher().useLayoutEffect(create, deps);
|
|
1433
|
-
};
|
|
1434
|
-
exports.useMemo = function(create, deps) {
|
|
1435
|
-
return resolveDispatcher().useMemo(create, deps);
|
|
1436
|
-
};
|
|
1437
|
-
exports.useOptimistic = function(passthrough, reducer) {
|
|
1438
|
-
return resolveDispatcher().useOptimistic(passthrough, reducer);
|
|
1439
|
-
};
|
|
1440
|
-
exports.useReducer = function(reducer, initialArg, init) {
|
|
1441
|
-
return resolveDispatcher().useReducer(reducer, initialArg, init);
|
|
1442
|
-
};
|
|
1443
|
-
exports.useRef = function(initialValue) {
|
|
1444
|
-
return resolveDispatcher().useRef(initialValue);
|
|
1445
|
-
};
|
|
1446
|
-
exports.useState = function(initialState) {
|
|
1447
|
-
return resolveDispatcher().useState(initialState);
|
|
1448
|
-
};
|
|
1449
|
-
exports.useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) {
|
|
1450
|
-
return resolveDispatcher().useSyncExternalStore(
|
|
1451
|
-
subscribe,
|
|
1452
|
-
getSnapshot,
|
|
1453
|
-
getServerSnapshot
|
|
1454
|
-
);
|
|
1455
|
-
};
|
|
1456
|
-
exports.useTransition = function() {
|
|
1457
|
-
return resolveDispatcher().useTransition();
|
|
1458
|
-
};
|
|
1459
|
-
exports.version = "19.1.0";
|
|
1460
|
-
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
1461
|
-
}();
|
|
1462
|
-
}
|
|
1463
|
-
});
|
|
1464
|
-
|
|
1465
|
-
// ../../node_modules/react/index.js
|
|
1466
|
-
var require_react = __commonJS({
|
|
1467
|
-
"../../node_modules/react/index.js"(exports, module) {
|
|
1468
|
-
"use strict";
|
|
1469
|
-
if (process.env.NODE_ENV === "production") {
|
|
1470
|
-
module.exports = require_react_production();
|
|
1471
|
-
} else {
|
|
1472
|
-
module.exports = require_react_development();
|
|
1473
|
-
}
|
|
1474
|
-
}
|
|
1475
|
-
});
|
|
1476
|
-
|
|
1477
|
-
// ../../node_modules/react/cjs/react-jsx-runtime.development.js
|
|
1478
|
-
var require_react_jsx_runtime_development = __commonJS({
|
|
1479
|
-
"../../node_modules/react/cjs/react-jsx-runtime.development.js"(exports) {
|
|
1480
|
-
"use strict";
|
|
1481
|
-
"production" !== process.env.NODE_ENV && function() {
|
|
1482
|
-
function getComponentNameFromType(type) {
|
|
1483
|
-
if (null == type)
|
|
1484
|
-
return null;
|
|
1485
|
-
if ("function" === typeof type)
|
|
1486
|
-
return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
|
|
1487
|
-
if ("string" === typeof type)
|
|
1488
|
-
return type;
|
|
1489
|
-
switch (type) {
|
|
1490
|
-
case REACT_FRAGMENT_TYPE:
|
|
1491
|
-
return "Fragment";
|
|
1492
|
-
case REACT_PROFILER_TYPE:
|
|
1493
|
-
return "Profiler";
|
|
1494
|
-
case REACT_STRICT_MODE_TYPE:
|
|
1495
|
-
return "StrictMode";
|
|
1496
|
-
case REACT_SUSPENSE_TYPE:
|
|
1497
|
-
return "Suspense";
|
|
1498
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
|
1499
|
-
return "SuspenseList";
|
|
1500
|
-
case REACT_ACTIVITY_TYPE:
|
|
1501
|
-
return "Activity";
|
|
1502
|
-
}
|
|
1503
|
-
if ("object" === typeof type)
|
|
1504
|
-
switch ("number" === typeof type.tag && console.error(
|
|
1505
|
-
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
1506
|
-
), type.$$typeof) {
|
|
1507
|
-
case REACT_PORTAL_TYPE:
|
|
1508
|
-
return "Portal";
|
|
1509
|
-
case REACT_CONTEXT_TYPE:
|
|
1510
|
-
return (type.displayName || "Context") + ".Provider";
|
|
1511
|
-
case REACT_CONSUMER_TYPE:
|
|
1512
|
-
return (type._context.displayName || "Context") + ".Consumer";
|
|
1513
|
-
case REACT_FORWARD_REF_TYPE:
|
|
1514
|
-
var innerType = type.render;
|
|
1515
|
-
type = type.displayName;
|
|
1516
|
-
type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
|
|
1517
|
-
return type;
|
|
1518
|
-
case REACT_MEMO_TYPE:
|
|
1519
|
-
return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
|
|
1520
|
-
case REACT_LAZY_TYPE:
|
|
1521
|
-
innerType = type._payload;
|
|
1522
|
-
type = type._init;
|
|
1523
|
-
try {
|
|
1524
|
-
return getComponentNameFromType(type(innerType));
|
|
1525
|
-
} catch (x) {
|
|
1526
|
-
}
|
|
1527
|
-
}
|
|
1528
|
-
return null;
|
|
1529
|
-
}
|
|
1530
|
-
function testStringCoercion(value) {
|
|
1531
|
-
return "" + value;
|
|
1532
|
-
}
|
|
1533
|
-
function checkKeyStringCoercion(value) {
|
|
1534
|
-
try {
|
|
1535
|
-
testStringCoercion(value);
|
|
1536
|
-
var JSCompiler_inline_result = false;
|
|
1537
|
-
} catch (e) {
|
|
1538
|
-
JSCompiler_inline_result = true;
|
|
1539
|
-
}
|
|
1540
|
-
if (JSCompiler_inline_result) {
|
|
1541
|
-
JSCompiler_inline_result = console;
|
|
1542
|
-
var JSCompiler_temp_const = JSCompiler_inline_result.error;
|
|
1543
|
-
var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
|
|
1544
|
-
JSCompiler_temp_const.call(
|
|
1545
|
-
JSCompiler_inline_result,
|
|
1546
|
-
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
1547
|
-
JSCompiler_inline_result$jscomp$0
|
|
1548
|
-
);
|
|
1549
|
-
return testStringCoercion(value);
|
|
1550
|
-
}
|
|
1551
|
-
}
|
|
1552
|
-
function getTaskName(type) {
|
|
1553
|
-
if (type === REACT_FRAGMENT_TYPE)
|
|
1554
|
-
return "<>";
|
|
1555
|
-
if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE)
|
|
1556
|
-
return "<...>";
|
|
1557
|
-
try {
|
|
1558
|
-
var name = getComponentNameFromType(type);
|
|
1559
|
-
return name ? "<" + name + ">" : "<...>";
|
|
1560
|
-
} catch (x) {
|
|
1561
|
-
return "<...>";
|
|
1562
|
-
}
|
|
1563
|
-
}
|
|
1564
|
-
function getOwner() {
|
|
1565
|
-
var dispatcher = ReactSharedInternals.A;
|
|
1566
|
-
return null === dispatcher ? null : dispatcher.getOwner();
|
|
1567
|
-
}
|
|
1568
|
-
function UnknownOwner() {
|
|
1569
|
-
return Error("react-stack-top-frame");
|
|
1570
|
-
}
|
|
1571
|
-
function hasValidKey(config) {
|
|
1572
|
-
if (hasOwnProperty.call(config, "key")) {
|
|
1573
|
-
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
|
1574
|
-
if (getter && getter.isReactWarning)
|
|
1575
|
-
return false;
|
|
1576
|
-
}
|
|
1577
|
-
return void 0 !== config.key;
|
|
1578
|
-
}
|
|
1579
|
-
function defineKeyPropWarningGetter(props, displayName) {
|
|
1580
|
-
function warnAboutAccessingKey() {
|
|
1581
|
-
specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error(
|
|
1582
|
-
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
1583
|
-
displayName
|
|
1584
|
-
));
|
|
1585
|
-
}
|
|
1586
|
-
warnAboutAccessingKey.isReactWarning = true;
|
|
1587
|
-
Object.defineProperty(props, "key", {
|
|
1588
|
-
get: warnAboutAccessingKey,
|
|
1589
|
-
configurable: true
|
|
1590
|
-
});
|
|
1591
|
-
}
|
|
1592
|
-
function elementRefGetterWithDeprecationWarning() {
|
|
1593
|
-
var componentName = getComponentNameFromType(this.type);
|
|
1594
|
-
didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error(
|
|
1595
|
-
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
1596
|
-
));
|
|
1597
|
-
componentName = this.props.ref;
|
|
1598
|
-
return void 0 !== componentName ? componentName : null;
|
|
1599
|
-
}
|
|
1600
|
-
function ReactElement(type, key, self, source, owner, props, debugStack, debugTask) {
|
|
1601
|
-
self = props.ref;
|
|
1602
|
-
type = {
|
|
1603
|
-
$$typeof: REACT_ELEMENT_TYPE,
|
|
1604
|
-
type,
|
|
1605
|
-
key,
|
|
1606
|
-
props,
|
|
1607
|
-
_owner: owner
|
|
1608
|
-
};
|
|
1609
|
-
null !== (void 0 !== self ? self : null) ? Object.defineProperty(type, "ref", {
|
|
1610
|
-
enumerable: false,
|
|
1611
|
-
get: elementRefGetterWithDeprecationWarning
|
|
1612
|
-
}) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
|
|
1613
|
-
type._store = {};
|
|
1614
|
-
Object.defineProperty(type._store, "validated", {
|
|
1615
|
-
configurable: false,
|
|
1616
|
-
enumerable: false,
|
|
1617
|
-
writable: true,
|
|
1618
|
-
value: 0
|
|
1619
|
-
});
|
|
1620
|
-
Object.defineProperty(type, "_debugInfo", {
|
|
1621
|
-
configurable: false,
|
|
1622
|
-
enumerable: false,
|
|
1623
|
-
writable: true,
|
|
1624
|
-
value: null
|
|
1625
|
-
});
|
|
1626
|
-
Object.defineProperty(type, "_debugStack", {
|
|
1627
|
-
configurable: false,
|
|
1628
|
-
enumerable: false,
|
|
1629
|
-
writable: true,
|
|
1630
|
-
value: debugStack
|
|
1631
|
-
});
|
|
1632
|
-
Object.defineProperty(type, "_debugTask", {
|
|
1633
|
-
configurable: false,
|
|
1634
|
-
enumerable: false,
|
|
1635
|
-
writable: true,
|
|
1636
|
-
value: debugTask
|
|
1637
|
-
});
|
|
1638
|
-
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
|
1639
|
-
return type;
|
|
1640
|
-
}
|
|
1641
|
-
function jsxDEVImpl(type, config, maybeKey, isStaticChildren, source, self, debugStack, debugTask) {
|
|
1642
|
-
var children = config.children;
|
|
1643
|
-
if (void 0 !== children)
|
|
1644
|
-
if (isStaticChildren)
|
|
1645
|
-
if (isArrayImpl(children)) {
|
|
1646
|
-
for (isStaticChildren = 0; isStaticChildren < children.length; isStaticChildren++)
|
|
1647
|
-
validateChildKeys(children[isStaticChildren]);
|
|
1648
|
-
Object.freeze && Object.freeze(children);
|
|
1649
|
-
} else
|
|
1650
|
-
console.error(
|
|
1651
|
-
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
1652
|
-
);
|
|
1653
|
-
else
|
|
1654
|
-
validateChildKeys(children);
|
|
1655
|
-
if (hasOwnProperty.call(config, "key")) {
|
|
1656
|
-
children = getComponentNameFromType(type);
|
|
1657
|
-
var keys = Object.keys(config).filter(function(k) {
|
|
1658
|
-
return "key" !== k;
|
|
1659
|
-
});
|
|
1660
|
-
isStaticChildren = 0 < keys.length ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1661
|
-
didWarnAboutKeySpread[children + isStaticChildren] || (keys = 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
1662
|
-
'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',
|
|
1663
|
-
isStaticChildren,
|
|
1664
|
-
children,
|
|
1665
|
-
keys,
|
|
1666
|
-
children
|
|
1667
|
-
), didWarnAboutKeySpread[children + isStaticChildren] = true);
|
|
1668
|
-
}
|
|
1669
|
-
children = null;
|
|
1670
|
-
void 0 !== maybeKey && (checkKeyStringCoercion(maybeKey), children = "" + maybeKey);
|
|
1671
|
-
hasValidKey(config) && (checkKeyStringCoercion(config.key), children = "" + config.key);
|
|
1672
|
-
if ("key" in config) {
|
|
1673
|
-
maybeKey = {};
|
|
1674
|
-
for (var propName in config)
|
|
1675
|
-
"key" !== propName && (maybeKey[propName] = config[propName]);
|
|
1676
|
-
} else
|
|
1677
|
-
maybeKey = config;
|
|
1678
|
-
children && defineKeyPropWarningGetter(
|
|
1679
|
-
maybeKey,
|
|
1680
|
-
"function" === typeof type ? type.displayName || type.name || "Unknown" : type
|
|
1681
|
-
);
|
|
1682
|
-
return ReactElement(
|
|
1683
|
-
type,
|
|
1684
|
-
children,
|
|
1685
|
-
self,
|
|
1686
|
-
source,
|
|
1687
|
-
getOwner(),
|
|
1688
|
-
maybeKey,
|
|
1689
|
-
debugStack,
|
|
1690
|
-
debugTask
|
|
1691
|
-
);
|
|
1692
|
-
}
|
|
1693
|
-
function validateChildKeys(node) {
|
|
1694
|
-
"object" === typeof node && null !== node && node.$$typeof === REACT_ELEMENT_TYPE && node._store && (node._store.validated = 1);
|
|
1695
|
-
}
|
|
1696
|
-
var React = require_react(), REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
1697
|
-
Symbol.for("react.provider");
|
|
1698
|
-
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
|
|
1699
|
-
return null;
|
|
1700
|
-
};
|
|
1701
|
-
React = {
|
|
1702
|
-
"react-stack-bottom-frame": function(callStackForError) {
|
|
1703
|
-
return callStackForError();
|
|
1704
|
-
}
|
|
1705
|
-
};
|
|
1706
|
-
var specialPropKeyWarningShown;
|
|
1707
|
-
var didWarnAboutElementRef = {};
|
|
1708
|
-
var unknownOwnerDebugStack = React["react-stack-bottom-frame"].bind(
|
|
1709
|
-
React,
|
|
1710
|
-
UnknownOwner
|
|
1711
|
-
)();
|
|
1712
|
-
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
|
1713
|
-
var didWarnAboutKeySpread = {};
|
|
1714
|
-
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
1715
|
-
exports.jsx = function(type, config, maybeKey, source, self) {
|
|
1716
|
-
var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
1717
|
-
return jsxDEVImpl(
|
|
1718
|
-
type,
|
|
1719
|
-
config,
|
|
1720
|
-
maybeKey,
|
|
1721
|
-
false,
|
|
1722
|
-
source,
|
|
1723
|
-
self,
|
|
1724
|
-
trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
|
|
1725
|
-
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
|
1726
|
-
);
|
|
1727
|
-
};
|
|
1728
|
-
exports.jsxs = function(type, config, maybeKey, source, self) {
|
|
1729
|
-
var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
1730
|
-
return jsxDEVImpl(
|
|
1731
|
-
type,
|
|
1732
|
-
config,
|
|
1733
|
-
maybeKey,
|
|
1734
|
-
true,
|
|
1735
|
-
source,
|
|
1736
|
-
self,
|
|
1737
|
-
trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
|
|
1738
|
-
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
|
1739
|
-
);
|
|
1740
|
-
};
|
|
1741
|
-
}();
|
|
1742
|
-
}
|
|
1743
|
-
});
|
|
1744
|
-
|
|
1745
|
-
// ../../node_modules/react/jsx-runtime.js
|
|
1746
|
-
var require_jsx_runtime = __commonJS({
|
|
1747
|
-
"../../node_modules/react/jsx-runtime.js"(exports, module) {
|
|
1748
|
-
"use strict";
|
|
1749
|
-
if (process.env.NODE_ENV === "production") {
|
|
1750
|
-
module.exports = require_react_jsx_runtime_production();
|
|
1751
|
-
} else {
|
|
1752
|
-
module.exports = require_react_jsx_runtime_development();
|
|
1753
|
-
}
|
|
1754
|
-
}
|
|
1755
|
-
});
|
|
1
|
+
// src/autopools.ts
|
|
2
|
+
var NEW_AUTOPOOL_THRESHOLD_DAYS = 45;
|
|
3
|
+
var DAYS_PER_YEAR = 365;
|
|
4
|
+
var DEAD_ADDRESS = "0x000000000000000000000000000000000000dead";
|
|
5
|
+
var ZERO_ADDRESS = "0x0000000000000000000000000000000000000000";
|
|
1756
6
|
|
|
1757
7
|
// src/baseGasCosts.ts
|
|
1758
8
|
var BASE_GAS_COSTS_FALLBACK = {
|
|
@@ -1812,6 +62,7 @@ var TLDR_DASHBOARD_LINK = "https://docs.tokemak.xyz/autopilot/autopilot-tl-dr/da
|
|
|
1812
62
|
var SPLASH_WEBSITE_LINK = "https://www.tokemak.xyz/";
|
|
1813
63
|
var V1_SPLASH_LINK = "https://v1.tokemak.xyz/";
|
|
1814
64
|
var V1_APP_LINK = "https://v1.tokemak.xyz/";
|
|
65
|
+
var LEGACY_APP_LINK = "https://legacy.auto.finance";
|
|
1815
66
|
var V2_APP_LINK = "https://app.auto.finance/";
|
|
1816
67
|
var V2_MARKETPLACE_LINK = "https://marketplace.tokemak.xyz/";
|
|
1817
68
|
var BLOG_WEBSITE_LINK = "https://blog.tokemak.xyz/";
|
|
@@ -1819,6 +70,7 @@ var TERMS_OF_SERVICE_LINK = "https://app.auto.finance/terms";
|
|
|
1819
70
|
var TALLY_LINK = "tally.so";
|
|
1820
71
|
var V2_ANNOUNCEMENT_ARTICLE_LINK = `${BLOG_WEBSITE_LINK}post/autopilot-guarded-launch-announcement`;
|
|
1821
72
|
var ACCTOKE_DOCS_LINK = "https://docs.tokemak.xyz/toke/acctoke";
|
|
73
|
+
var SAUTO_ANNOUNCEMENT_LINK = `${BLOG_WEBSITE_LINK}post/toke-to-auto-migration-is-now-live`;
|
|
1822
74
|
var V2_TOUR_LINK = "https://www.figma.com/proto/XXveJKkpeZSBpKwCY1yKWD/Diagrams-and-Explainers?page-id=308%3A144&type=design&node-id=310-3938&viewport=895%2C546%2C0.04&scaling=min-zoom&starting-point-node-id=310%3A2153";
|
|
1823
75
|
var HALBORN_LINK = "https://www.halborn.com/";
|
|
1824
76
|
var IMMUNEFI_LINK = "https://immunefi.com/";
|
|
@@ -1837,6 +89,7 @@ var CURVE_LP_LINK = "https://curve.finance/#/ethereum/pools/factory-crypto-55/de
|
|
|
1837
89
|
var CONVEX_STAKE_LINK = "https://curve.convexfinance.com/stake/ethereum/99";
|
|
1838
90
|
var CONVEX_CLAIM_LINK = "https://curve.convexfinance.com/claim";
|
|
1839
91
|
var ANNOUNCEMENT_LINK = "https://blog.tokemak.xyz/post/auto-finance";
|
|
92
|
+
var TOKENS_BASE_LINK = "https://auto.finance/tokens";
|
|
1840
93
|
|
|
1841
94
|
// src/tokemak.ts
|
|
1842
95
|
var TOKEMAK_PROD_REWARDS_URL = "https://auto-rewards-prod-bucket-pool-stats-api-tokemakxyz.s3.amazonaws.com/current.json";
|
|
@@ -1848,51 +101,52 @@ var TOKEMAK_PRICES_STAGING_URL = "https://swaps-pricing.tokemaklabs.com/prices";
|
|
|
1848
101
|
var TOKEMAK_SWAP_QUOTE_URL = "https://swaps-pricing.tokemaklabs.com/swap-quote-v2";
|
|
1849
102
|
var TOKEMAK_GENSTRAT_APRS_API_URL = "https://genstrat-aprs.tokemaklabs.com/api/aprs";
|
|
1850
103
|
var TOKEMAK_DYNAMIC_SWAP_ROUTES_URL = "https://dynamic-swap-routes.tokemaklabs.com";
|
|
104
|
+
var AUTOPOOLS_APR_URL = "https://autopools-api.tokemaklabs.com/api";
|
|
1851
105
|
|
|
1852
106
|
// src/faqs.tsx
|
|
1853
|
-
|
|
107
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
1854
108
|
var LOCK_FAQS = [
|
|
1855
109
|
{
|
|
1856
110
|
question: "What is autoETH?",
|
|
1857
|
-
answer: /* @__PURE__ */
|
|
1858
|
-
/* @__PURE__ */
|
|
111
|
+
answer: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
112
|
+
/* @__PURE__ */ jsx("b", { children: "autoETH is the receipt token for ETH deposited into an autoPool. " }),
|
|
1859
113
|
"As a share of the pool autoETH represents a share of the underlying deployed assets and is reward-bearing.",
|
|
1860
|
-
/* @__PURE__ */
|
|
1861
|
-
/* @__PURE__ */
|
|
114
|
+
/* @__PURE__ */ jsx("br", {}),
|
|
115
|
+
/* @__PURE__ */ jsx("br", {}),
|
|
1862
116
|
"The rewards are 50% of protocol owned assets (POA) revenue plus rewards accrued during the guarded launch."
|
|
1863
117
|
] })
|
|
1864
118
|
},
|
|
1865
119
|
{
|
|
1866
120
|
question: "I have accTOKE, what do I need to do?",
|
|
1867
|
-
answer: /* @__PURE__ */
|
|
1868
|
-
/* @__PURE__ */
|
|
121
|
+
answer: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
122
|
+
/* @__PURE__ */ jsx("b", { children: "No actions are necessary if you currently have accTOKE and want to partake in Tokemak\u2019s guarded launch of Autopilot." }),
|
|
1869
123
|
" ",
|
|
1870
124
|
"You will automatically start accruing rewards in the form of autoETH as the guarded launch goes live."
|
|
1871
125
|
] })
|
|
1872
126
|
},
|
|
1873
127
|
{
|
|
1874
128
|
question: "I have staked TOKE (LD), what do I need to do?",
|
|
1875
|
-
answer: /* @__PURE__ */
|
|
1876
|
-
/* @__PURE__ */
|
|
1877
|
-
/* @__PURE__ */
|
|
129
|
+
answer: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
130
|
+
/* @__PURE__ */ jsx("b", { children: "Migrate your TOKE to earn autoETH rewards." }),
|
|
131
|
+
/* @__PURE__ */ jsx("br", {}),
|
|
1878
132
|
"The mechanics follow the same logic you are accustomed to from LDing in v1, user has to be staked for a full week before they begin earning rewards."
|
|
1879
133
|
] })
|
|
1880
134
|
},
|
|
1881
135
|
{
|
|
1882
136
|
question: "How can I claim my accrued rewards?",
|
|
1883
|
-
answer: /* @__PURE__ */
|
|
137
|
+
answer: /* @__PURE__ */ jsx(Fragment, { children: "Users will be able to withdraw their rewards after the guarded phase has been completed." })
|
|
1884
138
|
},
|
|
1885
139
|
{
|
|
1886
140
|
question: "I do not see rewards accruing?",
|
|
1887
|
-
answer: /* @__PURE__ */
|
|
141
|
+
answer: /* @__PURE__ */ jsx(Fragment, { children: "Once TOKE is locked it begins earning autoETH rewards, which will begin to accrue to your reward balance the following Wednesday." })
|
|
1888
142
|
},
|
|
1889
143
|
{
|
|
1890
144
|
question: "What is the difference between accTOKE and locked TOKE?",
|
|
1891
|
-
answer: /* @__PURE__ */
|
|
145
|
+
answer: /* @__PURE__ */ jsx(Fragment, { children: "accTOKE is the non-transferable accounting token for locked TOKE." })
|
|
1892
146
|
},
|
|
1893
147
|
{
|
|
1894
148
|
question: "What happened to Tokemak cycles?",
|
|
1895
|
-
answer: /* @__PURE__ */
|
|
149
|
+
answer: /* @__PURE__ */ jsx(Fragment, { children: 'In the context of the Tokemak protocol updates, "cycles" have been replaced with a weekly timeframe for simplicity. This change streamlines the process for managing and understanding reward distributions, locking periods, and other protocol operations that previously operated on a cycle basis.' })
|
|
1896
150
|
}
|
|
1897
151
|
];
|
|
1898
152
|
|
|
@@ -1936,7 +190,8 @@ import {
|
|
|
1936
190
|
ETHEREUM_NETWORK,
|
|
1937
191
|
SONIC_NETWORK,
|
|
1938
192
|
ARBITRUM_NETWORK,
|
|
1939
|
-
PLASMA_NETWORK
|
|
193
|
+
PLASMA_NETWORK,
|
|
194
|
+
LINEA_NETWORK
|
|
1940
195
|
} from "@tokemak/tokenlist";
|
|
1941
196
|
var layerzeroScan = "https://layerzeroscan.com/";
|
|
1942
197
|
var SUPPORTED_TOKE_CHAINS = [
|
|
@@ -1944,7 +199,8 @@ var SUPPORTED_TOKE_CHAINS = [
|
|
|
1944
199
|
BASE_NETWORK,
|
|
1945
200
|
SONIC_NETWORK,
|
|
1946
201
|
ARBITRUM_NETWORK,
|
|
1947
|
-
PLASMA_NETWORK
|
|
202
|
+
PLASMA_NETWORK,
|
|
203
|
+
LINEA_NETWORK
|
|
1948
204
|
];
|
|
1949
205
|
|
|
1950
206
|
// src/stoke.ts
|
|
@@ -1982,10 +238,58 @@ var SUPPORTED_DEV_CHAINS = SUPPORTED_DEV_NETWORKS_IDS.map(
|
|
|
1982
238
|
var SUPPORTED_CHAINS = Array.from(
|
|
1983
239
|
/* @__PURE__ */ new Set([...SUPPORTED_PROD_CHAINS, ...SUPPORTED_DEV_CHAINS])
|
|
1984
240
|
);
|
|
241
|
+
|
|
242
|
+
// src/uniswap.ts
|
|
243
|
+
var UNI_V4_POOL_ID = "0xc41ab7da3d68aee076df71ef0f7a4665abdb8d5a9bc72c17ac86b61fadb89846";
|
|
244
|
+
var MERKL_CREATOR_ADDRESS = "0x123cC4AFA59160C6328C0152cf333343F510e5A3";
|
|
245
|
+
var AUTO_UNI_V4_POOL_URL = "https://app.uniswap.org/explore/pools/ethereum/0xc41ab7da3d68aee076df71ef0f7a4665abdb8d5a9bc72c17ac86b61fadb89846";
|
|
246
|
+
var ETH_AUTO_FEE_TIER = 3e3;
|
|
247
|
+
var MERKL_OPPORTUNITY_ID = "2837890339901340771";
|
|
248
|
+
var UNISWAP_V4_POOL_MANAGER = {
|
|
249
|
+
1: "0x000000000004444c5dc75cB358380D2e3dE08A90",
|
|
250
|
+
// Mainnet
|
|
251
|
+
8453: "0x000000000004444c5dc75cB358380D2e3dE08A90",
|
|
252
|
+
// Base
|
|
253
|
+
42161: "0x000000000004444c5dc75cB358380D2e3dE08A90"
|
|
254
|
+
// Arbitrum
|
|
255
|
+
};
|
|
256
|
+
var UNISWAP_V4_STATE_VIEW = {
|
|
257
|
+
1: "0x7ffe42c4a5deea5b0fec41c94c136cf115597227",
|
|
258
|
+
// Mainnet
|
|
259
|
+
8453: "0x7ffe42c4a5deea5b0fec41c94c136cf115597227",
|
|
260
|
+
// Base (verify this)
|
|
261
|
+
42161: "0x7ffe42c4a5deea5b0fec41c94c136cf115597227"
|
|
262
|
+
// Arbitrum (verify this)
|
|
263
|
+
};
|
|
264
|
+
var UNISWAP_V4_POSITION_MANAGER = {
|
|
265
|
+
1: "0xbD216513d74C8cf14cf4747E6AaA6420FF64ee9e",
|
|
266
|
+
// Mainnet
|
|
267
|
+
8453: "0xbD216513d74C8cf14cf4747E6AaA6420FF64ee9e",
|
|
268
|
+
// Base
|
|
269
|
+
42161: "0xbD216513d74C8cf14cf4747E6AaA6420FF64ee9e"
|
|
270
|
+
// Arbitrum
|
|
271
|
+
};
|
|
272
|
+
var ETH_AUTO_V4_POOL_ID = "0xc41ab7da3d68aee076df71ef0f7a4665abdb8d5a9bc72c17ac86b61fadb89846";
|
|
273
|
+
var DEFILLAMA_YIELDS_API = "https://yields.llama.fi/pools";
|
|
274
|
+
var GRAPH_API_KEY = "fb6d69844db4795507676c9b6d495b14";
|
|
275
|
+
|
|
276
|
+
// src/sauto.ts
|
|
277
|
+
var SAUTO_PINNED_LOCK_CYCLE = 4241;
|
|
278
|
+
var SAUTO_PINNED_LOCK_CYCLE_DATE = Date.parse(
|
|
279
|
+
"3 Feb 2026 20:30:00 GMT"
|
|
280
|
+
);
|
|
281
|
+
var SAUTO_LOCK_CYCLE_RENEWAL = "Tuesdays at 20:30:00 GMT";
|
|
282
|
+
|
|
283
|
+
// src/swaps.ts
|
|
284
|
+
var LIQUIDATION_PROBE_AMOUNT = 100n;
|
|
285
|
+
var DYNAMIC_SWAP_DEFAULT_SLIPPAGE_BPS = 2e3;
|
|
286
|
+
var SIMULATION_PLACEHOLDER_ADDRESS = "0x8b4334d4812c530574bd4f2763fcd22de94a969b";
|
|
1985
287
|
export {
|
|
1986
288
|
ACCTOKE_DOCS_LINK,
|
|
1987
289
|
ANNOUNCEMENT_LINK,
|
|
1988
290
|
AUDITS_LINK,
|
|
291
|
+
AUTOPOOLS_APR_URL,
|
|
292
|
+
AUTO_UNI_V4_POOL_URL,
|
|
1989
293
|
BASESCAN_LINK,
|
|
1990
294
|
BASE_GAS_COSTS_FALLBACK,
|
|
1991
295
|
BLOG_WEBSITE_LINK,
|
|
@@ -1999,23 +303,40 @@ export {
|
|
|
1999
303
|
CURVE_API_URL,
|
|
2000
304
|
CURVE_LP_LINK,
|
|
2001
305
|
CURVE_POOL_LINK,
|
|
306
|
+
DAYS_PER_YEAR,
|
|
307
|
+
DEAD_ADDRESS,
|
|
308
|
+
DEFILLAMA_YIELDS_API,
|
|
2002
309
|
DISCORD_LINK,
|
|
310
|
+
DYNAMIC_SWAP_DEFAULT_SLIPPAGE_BPS,
|
|
2003
311
|
ETHERSCAN_LINK,
|
|
312
|
+
ETH_AUTO_FEE_TIER,
|
|
313
|
+
ETH_AUTO_V4_POOL_ID,
|
|
2004
314
|
GITBOOK_LINK_V1,
|
|
2005
315
|
GITBOOK_LINK_V2,
|
|
2006
316
|
GITHUB_LINK,
|
|
2007
317
|
GOVERNANCE_LINK,
|
|
318
|
+
GRAPH_API_KEY,
|
|
2008
319
|
HALBORN_LINK,
|
|
2009
320
|
HEXENS_LINK,
|
|
2010
321
|
IMMUNEFI_LINK,
|
|
2011
322
|
INCH_SWAP_LINK,
|
|
323
|
+
LEGACY_APP_LINK,
|
|
324
|
+
LIQUIDATION_PROBE_AMOUNT,
|
|
2012
325
|
LLAMASWAP_LINK,
|
|
2013
326
|
LOCK_FAQS,
|
|
2014
327
|
MAX_STOKE_MONTHS,
|
|
2015
328
|
MEDIUM_LINK,
|
|
329
|
+
MERKL_CREATOR_ADDRESS,
|
|
330
|
+
MERKL_OPPORTUNITY_ID,
|
|
2016
331
|
MIN_STOKE_MONTHS,
|
|
332
|
+
NEW_AUTOPOOL_THRESHOLD_DAYS,
|
|
2017
333
|
RADIO_LINK,
|
|
334
|
+
SAUTO_ANNOUNCEMENT_LINK,
|
|
335
|
+
SAUTO_LOCK_CYCLE_RENEWAL,
|
|
336
|
+
SAUTO_PINNED_LOCK_CYCLE,
|
|
337
|
+
SAUTO_PINNED_LOCK_CYCLE_DATE,
|
|
2018
338
|
SHERLOCK_LINK,
|
|
339
|
+
SIMULATION_PLACEHOLDER_ADDRESS,
|
|
2019
340
|
SPLASH_WEBSITE_LINK,
|
|
2020
341
|
SUPPORTED_CHAINS,
|
|
2021
342
|
SUPPORTED_DEV_CHAINS,
|
|
@@ -2044,60 +365,20 @@ export {
|
|
|
2044
365
|
TOKEMAK_SWAP_PRICING_URL,
|
|
2045
366
|
TOKEMAK_SWAP_QUOTE_URL,
|
|
2046
367
|
TOKEMERCH_LINK,
|
|
368
|
+
TOKENS_BASE_LINK,
|
|
2047
369
|
TOKE_CURVE_POOL_ID,
|
|
2048
370
|
TOOLTIPS,
|
|
2049
371
|
TWITTER_LINK,
|
|
372
|
+
UNISWAP_V4_POOL_MANAGER,
|
|
373
|
+
UNISWAP_V4_POSITION_MANAGER,
|
|
374
|
+
UNISWAP_V4_STATE_VIEW,
|
|
375
|
+
UNI_V4_POOL_ID,
|
|
2050
376
|
V1_APP_LINK,
|
|
2051
377
|
V1_SPLASH_LINK,
|
|
2052
378
|
V2_ANNOUNCEMENT_ARTICLE_LINK,
|
|
2053
379
|
V2_APP_LINK,
|
|
2054
380
|
V2_MARKETPLACE_LINK,
|
|
2055
381
|
V2_TOUR_LINK,
|
|
382
|
+
ZERO_ADDRESS,
|
|
2056
383
|
layerzeroScan
|
|
2057
384
|
};
|
|
2058
|
-
/*! Bundled license information:
|
|
2059
|
-
|
|
2060
|
-
react/cjs/react-jsx-runtime.production.js:
|
|
2061
|
-
(**
|
|
2062
|
-
* @license React
|
|
2063
|
-
* react-jsx-runtime.production.js
|
|
2064
|
-
*
|
|
2065
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
2066
|
-
*
|
|
2067
|
-
* This source code is licensed under the MIT license found in the
|
|
2068
|
-
* LICENSE file in the root directory of this source tree.
|
|
2069
|
-
*)
|
|
2070
|
-
|
|
2071
|
-
react/cjs/react.production.js:
|
|
2072
|
-
(**
|
|
2073
|
-
* @license React
|
|
2074
|
-
* react.production.js
|
|
2075
|
-
*
|
|
2076
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
2077
|
-
*
|
|
2078
|
-
* This source code is licensed under the MIT license found in the
|
|
2079
|
-
* LICENSE file in the root directory of this source tree.
|
|
2080
|
-
*)
|
|
2081
|
-
|
|
2082
|
-
react/cjs/react.development.js:
|
|
2083
|
-
(**
|
|
2084
|
-
* @license React
|
|
2085
|
-
* react.development.js
|
|
2086
|
-
*
|
|
2087
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
2088
|
-
*
|
|
2089
|
-
* This source code is licensed under the MIT license found in the
|
|
2090
|
-
* LICENSE file in the root directory of this source tree.
|
|
2091
|
-
*)
|
|
2092
|
-
|
|
2093
|
-
react/cjs/react-jsx-runtime.development.js:
|
|
2094
|
-
(**
|
|
2095
|
-
* @license React
|
|
2096
|
-
* react-jsx-runtime.development.js
|
|
2097
|
-
*
|
|
2098
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
2099
|
-
*
|
|
2100
|
-
* This source code is licensed under the MIT license found in the
|
|
2101
|
-
* LICENSE file in the root directory of this source tree.
|
|
2102
|
-
*)
|
|
2103
|
-
*/
|