@flow97/react-toolkit 0.0.2 → 0.0.3

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/locale/hooks.js CHANGED
@@ -1,19 +1,3949 @@
1
- import { template, has, get } from 'lodash-es';
2
- import { createContext, useMemo, useContext } from 'react';
3
- import { useStore } from 'zustand';
4
- import 'zustand/middleware';
5
- import 'jwt-decode';
6
- import 'react/jsx-runtime';
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
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
+ __defProp(target, "default", { value: mod, enumerable: true }) ,
24
+ mod
25
+ ));
26
+
27
+ // ../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react.production.js
28
+ var require_react_production = __commonJS({
29
+ "../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react.production.js"(exports2) {
30
+ var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element");
31
+ var REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal");
32
+ var REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment");
33
+ var REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode");
34
+ var REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler");
35
+ var REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer");
36
+ var REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context");
37
+ var REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref");
38
+ var REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense");
39
+ var REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo");
40
+ var REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy");
41
+ var REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity");
42
+ var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
43
+ function getIteratorFn(maybeIterable) {
44
+ if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
45
+ maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
46
+ return "function" === typeof maybeIterable ? maybeIterable : null;
47
+ }
48
+ var ReactNoopUpdateQueue = {
49
+ isMounted: function() {
50
+ return false;
51
+ },
52
+ enqueueForceUpdate: function() {
53
+ },
54
+ enqueueReplaceState: function() {
55
+ },
56
+ enqueueSetState: function() {
57
+ }
58
+ };
59
+ var assign = Object.assign;
60
+ var emptyObject = {};
61
+ function Component(props, context, updater) {
62
+ this.props = props;
63
+ this.context = context;
64
+ this.refs = emptyObject;
65
+ this.updater = updater || ReactNoopUpdateQueue;
66
+ }
67
+ Component.prototype.isReactComponent = {};
68
+ Component.prototype.setState = function(partialState, callback) {
69
+ if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState)
70
+ throw Error(
71
+ "takes an object of state variables to update or a function which returns an object of state variables."
72
+ );
73
+ this.updater.enqueueSetState(this, partialState, callback, "setState");
74
+ };
75
+ Component.prototype.forceUpdate = function(callback) {
76
+ this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
77
+ };
78
+ function ComponentDummy() {
79
+ }
80
+ ComponentDummy.prototype = Component.prototype;
81
+ function PureComponent(props, context, updater) {
82
+ this.props = props;
83
+ this.context = context;
84
+ this.refs = emptyObject;
85
+ this.updater = updater || ReactNoopUpdateQueue;
86
+ }
87
+ var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
88
+ pureComponentPrototype.constructor = PureComponent;
89
+ assign(pureComponentPrototype, Component.prototype);
90
+ pureComponentPrototype.isPureReactComponent = true;
91
+ var isArrayImpl = Array.isArray;
92
+ function noop() {
93
+ }
94
+ var ReactSharedInternals = { H: null, A: null, T: null, S: null };
95
+ var hasOwnProperty16 = Object.prototype.hasOwnProperty;
96
+ function ReactElement(type, key, props) {
97
+ var refProp = props.ref;
98
+ return {
99
+ $$typeof: REACT_ELEMENT_TYPE,
100
+ type,
101
+ key,
102
+ ref: void 0 !== refProp ? refProp : null,
103
+ props
104
+ };
105
+ }
106
+ function cloneAndReplaceKey(oldElement, newKey) {
107
+ return ReactElement(oldElement.type, newKey, oldElement.props);
108
+ }
109
+ function isValidElement(object) {
110
+ return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
111
+ }
112
+ function escape2(key) {
113
+ var escaperLookup = { "=": "=0", ":": "=2" };
114
+ return "$" + key.replace(/[=:]/g, function(match) {
115
+ return escaperLookup[match];
116
+ });
117
+ }
118
+ var userProvidedKeyEscapeRegex = /\/+/g;
119
+ function getElementKey(element, index) {
120
+ return "object" === typeof element && null !== element && null != element.key ? escape2("" + element.key) : index.toString(36);
121
+ }
122
+ function resolveThenable(thenable) {
123
+ switch (thenable.status) {
124
+ case "fulfilled":
125
+ return thenable.value;
126
+ case "rejected":
127
+ throw thenable.reason;
128
+ default:
129
+ switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(
130
+ function(fulfilledValue) {
131
+ "pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
132
+ },
133
+ function(error) {
134
+ "pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
135
+ }
136
+ )), thenable.status) {
137
+ case "fulfilled":
138
+ return thenable.value;
139
+ case "rejected":
140
+ throw thenable.reason;
141
+ }
142
+ }
143
+ throw thenable;
144
+ }
145
+ function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
146
+ var type = typeof children;
147
+ if ("undefined" === type || "boolean" === type) children = null;
148
+ var invokeCallback = false;
149
+ if (null === children) invokeCallback = true;
150
+ else
151
+ switch (type) {
152
+ case "bigint":
153
+ case "string":
154
+ case "number":
155
+ invokeCallback = true;
156
+ break;
157
+ case "object":
158
+ switch (children.$$typeof) {
159
+ case REACT_ELEMENT_TYPE:
160
+ case REACT_PORTAL_TYPE:
161
+ invokeCallback = true;
162
+ break;
163
+ case REACT_LAZY_TYPE:
164
+ return invokeCallback = children._init, mapIntoArray(
165
+ invokeCallback(children._payload),
166
+ array,
167
+ escapedPrefix,
168
+ nameSoFar,
169
+ callback
170
+ );
171
+ }
172
+ }
173
+ if (invokeCallback)
174
+ 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) {
175
+ return c;
176
+ })) : null != callback && (isValidElement(callback) && (callback = cloneAndReplaceKey(
177
+ callback,
178
+ escapedPrefix + (null == callback.key || children && children.key === callback.key ? "" : ("" + callback.key).replace(
179
+ userProvidedKeyEscapeRegex,
180
+ "$&/"
181
+ ) + "/") + invokeCallback
182
+ )), array.push(callback)), 1;
183
+ invokeCallback = 0;
184
+ var nextNamePrefix = "" === nameSoFar ? "." : nameSoFar + ":";
185
+ if (isArrayImpl(children))
186
+ for (var i = 0; i < children.length; i++)
187
+ nameSoFar = children[i], type = nextNamePrefix + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(
188
+ nameSoFar,
189
+ array,
190
+ escapedPrefix,
191
+ type,
192
+ callback
193
+ );
194
+ else if (i = getIteratorFn(children), "function" === typeof i)
195
+ for (children = i.call(children), i = 0; !(nameSoFar = children.next()).done; )
196
+ nameSoFar = nameSoFar.value, type = nextNamePrefix + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(
197
+ nameSoFar,
198
+ array,
199
+ escapedPrefix,
200
+ type,
201
+ callback
202
+ );
203
+ else if ("object" === type) {
204
+ if ("function" === typeof children.then)
205
+ return mapIntoArray(
206
+ resolveThenable(children),
207
+ array,
208
+ escapedPrefix,
209
+ nameSoFar,
210
+ callback
211
+ );
212
+ array = String(children);
213
+ throw Error(
214
+ "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."
215
+ );
216
+ }
217
+ return invokeCallback;
218
+ }
219
+ function mapChildren(children, func, context) {
220
+ if (null == children) return children;
221
+ var result = [], count = 0;
222
+ mapIntoArray(children, result, "", "", function(child) {
223
+ return func.call(context, child, count++);
224
+ });
225
+ return result;
226
+ }
227
+ function lazyInitializer(payload) {
228
+ if (-1 === payload._status) {
229
+ var ctor = payload._result;
230
+ ctor = ctor();
231
+ ctor.then(
232
+ function(moduleObject) {
233
+ if (0 === payload._status || -1 === payload._status)
234
+ payload._status = 1, payload._result = moduleObject;
235
+ },
236
+ function(error) {
237
+ if (0 === payload._status || -1 === payload._status)
238
+ payload._status = 2, payload._result = error;
239
+ }
240
+ );
241
+ -1 === payload._status && (payload._status = 0, payload._result = ctor);
242
+ }
243
+ if (1 === payload._status) return payload._result.default;
244
+ throw payload._result;
245
+ }
246
+ var reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
247
+ if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
248
+ var event = new window.ErrorEvent("error", {
249
+ bubbles: true,
250
+ cancelable: true,
251
+ message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
252
+ error
253
+ });
254
+ if (!window.dispatchEvent(event)) return;
255
+ } else if ("object" === typeof process && "function" === typeof process.emit) {
256
+ process.emit("uncaughtException", error);
257
+ return;
258
+ }
259
+ console.error(error);
260
+ };
261
+ var Children = {
262
+ map: mapChildren,
263
+ forEach: function(children, forEachFunc, forEachContext) {
264
+ mapChildren(
265
+ children,
266
+ function() {
267
+ forEachFunc.apply(this, arguments);
268
+ },
269
+ forEachContext
270
+ );
271
+ },
272
+ count: function(children) {
273
+ var n = 0;
274
+ mapChildren(children, function() {
275
+ n++;
276
+ });
277
+ return n;
278
+ },
279
+ toArray: function(children) {
280
+ return mapChildren(children, function(child) {
281
+ return child;
282
+ }) || [];
283
+ },
284
+ only: function(children) {
285
+ if (!isValidElement(children))
286
+ throw Error(
287
+ "React.Children.only expected to receive a single React element child."
288
+ );
289
+ return children;
290
+ }
291
+ };
292
+ exports2.Activity = REACT_ACTIVITY_TYPE;
293
+ exports2.Children = Children;
294
+ exports2.Component = Component;
295
+ exports2.Fragment = REACT_FRAGMENT_TYPE;
296
+ exports2.Profiler = REACT_PROFILER_TYPE;
297
+ exports2.PureComponent = PureComponent;
298
+ exports2.StrictMode = REACT_STRICT_MODE_TYPE;
299
+ exports2.Suspense = REACT_SUSPENSE_TYPE;
300
+ exports2.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
301
+ exports2.__COMPILER_RUNTIME = {
302
+ __proto__: null,
303
+ c: function(size) {
304
+ return ReactSharedInternals.H.useMemoCache(size);
305
+ }
306
+ };
307
+ exports2.cache = function(fn) {
308
+ return function() {
309
+ return fn.apply(null, arguments);
310
+ };
311
+ };
312
+ exports2.cacheSignal = function() {
313
+ return null;
314
+ };
315
+ exports2.cloneElement = function(element, config, children) {
316
+ if (null === element || void 0 === element)
317
+ throw Error(
318
+ "The argument must be a React element, but you passed " + element + "."
319
+ );
320
+ var props = assign({}, element.props), key = element.key;
321
+ if (null != config)
322
+ for (propName in void 0 !== config.key && (key = "" + config.key), config)
323
+ !hasOwnProperty16.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
324
+ var propName = arguments.length - 2;
325
+ if (1 === propName) props.children = children;
326
+ else if (1 < propName) {
327
+ for (var childArray = Array(propName), i = 0; i < propName; i++)
328
+ childArray[i] = arguments[i + 2];
329
+ props.children = childArray;
330
+ }
331
+ return ReactElement(element.type, key, props);
332
+ };
333
+ exports2.createContext = function(defaultValue) {
334
+ defaultValue = {
335
+ $$typeof: REACT_CONTEXT_TYPE,
336
+ _currentValue: defaultValue,
337
+ _currentValue2: defaultValue,
338
+ _threadCount: 0,
339
+ Provider: null,
340
+ Consumer: null
341
+ };
342
+ defaultValue.Provider = defaultValue;
343
+ defaultValue.Consumer = {
344
+ $$typeof: REACT_CONSUMER_TYPE,
345
+ _context: defaultValue
346
+ };
347
+ return defaultValue;
348
+ };
349
+ exports2.createElement = function(type, config, children) {
350
+ var propName, props = {}, key = null;
351
+ if (null != config)
352
+ for (propName in void 0 !== config.key && (key = "" + config.key), config)
353
+ hasOwnProperty16.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (props[propName] = config[propName]);
354
+ var childrenLength = arguments.length - 2;
355
+ if (1 === childrenLength) props.children = children;
356
+ else if (1 < childrenLength) {
357
+ for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++)
358
+ childArray[i] = arguments[i + 2];
359
+ props.children = childArray;
360
+ }
361
+ if (type && type.defaultProps)
362
+ for (propName in childrenLength = type.defaultProps, childrenLength)
363
+ void 0 === props[propName] && (props[propName] = childrenLength[propName]);
364
+ return ReactElement(type, key, props);
365
+ };
366
+ exports2.createRef = function() {
367
+ return { current: null };
368
+ };
369
+ exports2.forwardRef = function(render) {
370
+ return { $$typeof: REACT_FORWARD_REF_TYPE, render };
371
+ };
372
+ exports2.isValidElement = isValidElement;
373
+ exports2.lazy = function(ctor) {
374
+ return {
375
+ $$typeof: REACT_LAZY_TYPE,
376
+ _payload: { _status: -1, _result: ctor },
377
+ _init: lazyInitializer
378
+ };
379
+ };
380
+ exports2.memo = function(type, compare) {
381
+ return {
382
+ $$typeof: REACT_MEMO_TYPE,
383
+ type,
384
+ compare: void 0 === compare ? null : compare
385
+ };
386
+ };
387
+ exports2.startTransition = function(scope) {
388
+ var prevTransition = ReactSharedInternals.T, currentTransition = {};
389
+ ReactSharedInternals.T = currentTransition;
390
+ try {
391
+ var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
392
+ null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
393
+ "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);
394
+ } catch (error) {
395
+ reportGlobalError(error);
396
+ } finally {
397
+ null !== prevTransition && null !== currentTransition.types && (prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
398
+ }
399
+ };
400
+ exports2.unstable_useCacheRefresh = function() {
401
+ return ReactSharedInternals.H.useCacheRefresh();
402
+ };
403
+ exports2.use = function(usable) {
404
+ return ReactSharedInternals.H.use(usable);
405
+ };
406
+ exports2.useActionState = function(action, initialState, permalink) {
407
+ return ReactSharedInternals.H.useActionState(action, initialState, permalink);
408
+ };
409
+ exports2.useCallback = function(callback, deps) {
410
+ return ReactSharedInternals.H.useCallback(callback, deps);
411
+ };
412
+ exports2.useContext = function(Context) {
413
+ return ReactSharedInternals.H.useContext(Context);
414
+ };
415
+ exports2.useDebugValue = function() {
416
+ };
417
+ exports2.useDeferredValue = function(value, initialValue) {
418
+ return ReactSharedInternals.H.useDeferredValue(value, initialValue);
419
+ };
420
+ exports2.useEffect = function(create2, deps) {
421
+ return ReactSharedInternals.H.useEffect(create2, deps);
422
+ };
423
+ exports2.useEffectEvent = function(callback) {
424
+ return ReactSharedInternals.H.useEffectEvent(callback);
425
+ };
426
+ exports2.useId = function() {
427
+ return ReactSharedInternals.H.useId();
428
+ };
429
+ exports2.useImperativeHandle = function(ref, create2, deps) {
430
+ return ReactSharedInternals.H.useImperativeHandle(ref, create2, deps);
431
+ };
432
+ exports2.useInsertionEffect = function(create2, deps) {
433
+ return ReactSharedInternals.H.useInsertionEffect(create2, deps);
434
+ };
435
+ exports2.useLayoutEffect = function(create2, deps) {
436
+ return ReactSharedInternals.H.useLayoutEffect(create2, deps);
437
+ };
438
+ exports2.useMemo = function(create2, deps) {
439
+ return ReactSharedInternals.H.useMemo(create2, deps);
440
+ };
441
+ exports2.useOptimistic = function(passthrough, reducer) {
442
+ return ReactSharedInternals.H.useOptimistic(passthrough, reducer);
443
+ };
444
+ exports2.useReducer = function(reducer, initialArg, init) {
445
+ return ReactSharedInternals.H.useReducer(reducer, initialArg, init);
446
+ };
447
+ exports2.useRef = function(initialValue) {
448
+ return ReactSharedInternals.H.useRef(initialValue);
449
+ };
450
+ exports2.useState = function(initialState) {
451
+ return ReactSharedInternals.H.useState(initialState);
452
+ };
453
+ exports2.useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) {
454
+ return ReactSharedInternals.H.useSyncExternalStore(
455
+ subscribe,
456
+ getSnapshot,
457
+ getServerSnapshot
458
+ );
459
+ };
460
+ exports2.useTransition = function() {
461
+ return ReactSharedInternals.H.useTransition();
462
+ };
463
+ exports2.version = "19.2.3";
464
+ }
465
+ });
466
+
467
+ // ../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react.development.js
468
+ var require_react_development = __commonJS({
469
+ "../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react.development.js"(exports2, module2) {
470
+ "production" !== process.env.NODE_ENV && (function() {
471
+ function defineDeprecationWarning(methodName, info) {
472
+ Object.defineProperty(Component.prototype, methodName, {
473
+ get: function() {
474
+ console.warn(
475
+ "%s(...) is deprecated in plain JavaScript React classes. %s",
476
+ info[0],
477
+ info[1]
478
+ );
479
+ }
480
+ });
481
+ }
482
+ function getIteratorFn(maybeIterable) {
483
+ if (null === maybeIterable || "object" !== typeof maybeIterable)
484
+ return null;
485
+ maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
486
+ return "function" === typeof maybeIterable ? maybeIterable : null;
487
+ }
488
+ function warnNoop(publicInstance, callerName) {
489
+ publicInstance = (publicInstance = publicInstance.constructor) && (publicInstance.displayName || publicInstance.name) || "ReactClass";
490
+ var warningKey = publicInstance + "." + callerName;
491
+ didWarnStateUpdateForUnmountedComponent[warningKey] || (console.error(
492
+ "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.",
493
+ callerName,
494
+ publicInstance
495
+ ), didWarnStateUpdateForUnmountedComponent[warningKey] = true);
496
+ }
497
+ function Component(props, context, updater) {
498
+ this.props = props;
499
+ this.context = context;
500
+ this.refs = emptyObject;
501
+ this.updater = updater || ReactNoopUpdateQueue;
502
+ }
503
+ function ComponentDummy() {
504
+ }
505
+ function PureComponent(props, context, updater) {
506
+ this.props = props;
507
+ this.context = context;
508
+ this.refs = emptyObject;
509
+ this.updater = updater || ReactNoopUpdateQueue;
510
+ }
511
+ function noop() {
512
+ }
513
+ function testStringCoercion(value) {
514
+ return "" + value;
515
+ }
516
+ function checkKeyStringCoercion(value) {
517
+ try {
518
+ testStringCoercion(value);
519
+ var JSCompiler_inline_result = false;
520
+ } catch (e) {
521
+ JSCompiler_inline_result = true;
522
+ }
523
+ if (JSCompiler_inline_result) {
524
+ JSCompiler_inline_result = console;
525
+ var JSCompiler_temp_const = JSCompiler_inline_result.error;
526
+ var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
527
+ JSCompiler_temp_const.call(
528
+ JSCompiler_inline_result,
529
+ "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
530
+ JSCompiler_inline_result$jscomp$0
531
+ );
532
+ return testStringCoercion(value);
533
+ }
534
+ }
535
+ function getComponentNameFromType(type) {
536
+ if (null == type) return null;
537
+ if ("function" === typeof type)
538
+ return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
539
+ if ("string" === typeof type) return type;
540
+ switch (type) {
541
+ case REACT_FRAGMENT_TYPE:
542
+ return "Fragment";
543
+ case REACT_PROFILER_TYPE:
544
+ return "Profiler";
545
+ case REACT_STRICT_MODE_TYPE:
546
+ return "StrictMode";
547
+ case REACT_SUSPENSE_TYPE:
548
+ return "Suspense";
549
+ case REACT_SUSPENSE_LIST_TYPE:
550
+ return "SuspenseList";
551
+ case REACT_ACTIVITY_TYPE:
552
+ return "Activity";
553
+ }
554
+ if ("object" === typeof type)
555
+ switch ("number" === typeof type.tag && console.error(
556
+ "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
557
+ ), type.$$typeof) {
558
+ case REACT_PORTAL_TYPE:
559
+ return "Portal";
560
+ case REACT_CONTEXT_TYPE:
561
+ return type.displayName || "Context";
562
+ case REACT_CONSUMER_TYPE:
563
+ return (type._context.displayName || "Context") + ".Consumer";
564
+ case REACT_FORWARD_REF_TYPE:
565
+ var innerType = type.render;
566
+ type = type.displayName;
567
+ type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
568
+ return type;
569
+ case REACT_MEMO_TYPE:
570
+ return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
571
+ case REACT_LAZY_TYPE:
572
+ innerType = type._payload;
573
+ type = type._init;
574
+ try {
575
+ return getComponentNameFromType(type(innerType));
576
+ } catch (x) {
577
+ }
578
+ }
579
+ return null;
580
+ }
581
+ function getTaskName(type) {
582
+ if (type === REACT_FRAGMENT_TYPE) return "<>";
583
+ if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE)
584
+ return "<...>";
585
+ try {
586
+ var name = getComponentNameFromType(type);
587
+ return name ? "<" + name + ">" : "<...>";
588
+ } catch (x) {
589
+ return "<...>";
590
+ }
591
+ }
592
+ function getOwner() {
593
+ var dispatcher = ReactSharedInternals.A;
594
+ return null === dispatcher ? null : dispatcher.getOwner();
595
+ }
596
+ function UnknownOwner() {
597
+ return Error("react-stack-top-frame");
598
+ }
599
+ function hasValidKey(config) {
600
+ if (hasOwnProperty16.call(config, "key")) {
601
+ var getter = Object.getOwnPropertyDescriptor(config, "key").get;
602
+ if (getter && getter.isReactWarning) return false;
603
+ }
604
+ return void 0 !== config.key;
605
+ }
606
+ function defineKeyPropWarningGetter(props, displayName) {
607
+ function warnAboutAccessingKey() {
608
+ specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error(
609
+ "%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)",
610
+ displayName
611
+ ));
612
+ }
613
+ warnAboutAccessingKey.isReactWarning = true;
614
+ Object.defineProperty(props, "key", {
615
+ get: warnAboutAccessingKey,
616
+ configurable: true
617
+ });
618
+ }
619
+ function elementRefGetterWithDeprecationWarning() {
620
+ var componentName = getComponentNameFromType(this.type);
621
+ didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error(
622
+ "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."
623
+ ));
624
+ componentName = this.props.ref;
625
+ return void 0 !== componentName ? componentName : null;
626
+ }
627
+ function ReactElement(type, key, props, owner, debugStack, debugTask) {
628
+ var refProp = props.ref;
629
+ type = {
630
+ $$typeof: REACT_ELEMENT_TYPE,
631
+ type,
632
+ key,
633
+ props,
634
+ _owner: owner
635
+ };
636
+ null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
637
+ enumerable: false,
638
+ get: elementRefGetterWithDeprecationWarning
639
+ }) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
640
+ type._store = {};
641
+ Object.defineProperty(type._store, "validated", {
642
+ configurable: false,
643
+ enumerable: false,
644
+ writable: true,
645
+ value: 0
646
+ });
647
+ Object.defineProperty(type, "_debugInfo", {
648
+ configurable: false,
649
+ enumerable: false,
650
+ writable: true,
651
+ value: null
652
+ });
653
+ Object.defineProperty(type, "_debugStack", {
654
+ configurable: false,
655
+ enumerable: false,
656
+ writable: true,
657
+ value: debugStack
658
+ });
659
+ Object.defineProperty(type, "_debugTask", {
660
+ configurable: false,
661
+ enumerable: false,
662
+ writable: true,
663
+ value: debugTask
664
+ });
665
+ Object.freeze && (Object.freeze(type.props), Object.freeze(type));
666
+ return type;
667
+ }
668
+ function cloneAndReplaceKey(oldElement, newKey) {
669
+ newKey = ReactElement(
670
+ oldElement.type,
671
+ newKey,
672
+ oldElement.props,
673
+ oldElement._owner,
674
+ oldElement._debugStack,
675
+ oldElement._debugTask
676
+ );
677
+ oldElement._store && (newKey._store.validated = oldElement._store.validated);
678
+ return newKey;
679
+ }
680
+ function validateChildKeys(node) {
681
+ isValidElement(node) ? node._store && (node._store.validated = 1) : "object" === typeof node && null !== node && node.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node._payload.status ? isValidElement(node._payload.value) && node._payload.value._store && (node._payload.value._store.validated = 1) : node._store && (node._store.validated = 1));
682
+ }
683
+ function isValidElement(object) {
684
+ return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
685
+ }
686
+ function escape2(key) {
687
+ var escaperLookup = { "=": "=0", ":": "=2" };
688
+ return "$" + key.replace(/[=:]/g, function(match) {
689
+ return escaperLookup[match];
690
+ });
691
+ }
692
+ function getElementKey(element, index) {
693
+ return "object" === typeof element && null !== element && null != element.key ? (checkKeyStringCoercion(element.key), escape2("" + element.key)) : index.toString(36);
694
+ }
695
+ function resolveThenable(thenable) {
696
+ switch (thenable.status) {
697
+ case "fulfilled":
698
+ return thenable.value;
699
+ case "rejected":
700
+ throw thenable.reason;
701
+ default:
702
+ switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(
703
+ function(fulfilledValue) {
704
+ "pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
705
+ },
706
+ function(error) {
707
+ "pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
708
+ }
709
+ )), thenable.status) {
710
+ case "fulfilled":
711
+ return thenable.value;
712
+ case "rejected":
713
+ throw thenable.reason;
714
+ }
715
+ }
716
+ throw thenable;
717
+ }
718
+ function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
719
+ var type = typeof children;
720
+ if ("undefined" === type || "boolean" === type) children = null;
721
+ var invokeCallback = false;
722
+ if (null === children) invokeCallback = true;
723
+ else
724
+ switch (type) {
725
+ case "bigint":
726
+ case "string":
727
+ case "number":
728
+ invokeCallback = true;
729
+ break;
730
+ case "object":
731
+ switch (children.$$typeof) {
732
+ case REACT_ELEMENT_TYPE:
733
+ case REACT_PORTAL_TYPE:
734
+ invokeCallback = true;
735
+ break;
736
+ case REACT_LAZY_TYPE:
737
+ return invokeCallback = children._init, mapIntoArray(
738
+ invokeCallback(children._payload),
739
+ array,
740
+ escapedPrefix,
741
+ nameSoFar,
742
+ callback
743
+ );
744
+ }
745
+ }
746
+ if (invokeCallback) {
747
+ invokeCallback = children;
748
+ callback = callback(invokeCallback);
749
+ var childKey = "" === nameSoFar ? "." + getElementKey(invokeCallback, 0) : nameSoFar;
750
+ isArrayImpl(callback) ? (escapedPrefix = "", null != childKey && (escapedPrefix = childKey.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function(c) {
751
+ return c;
752
+ })) : null != callback && (isValidElement(callback) && (null != callback.key && (invokeCallback && invokeCallback.key === callback.key || checkKeyStringCoercion(callback.key)), escapedPrefix = cloneAndReplaceKey(
753
+ callback,
754
+ escapedPrefix + (null == callback.key || invokeCallback && invokeCallback.key === callback.key ? "" : ("" + callback.key).replace(
755
+ userProvidedKeyEscapeRegex,
756
+ "$&/"
757
+ ) + "/") + childKey
758
+ ), "" !== nameSoFar && null != invokeCallback && isValidElement(invokeCallback) && null == invokeCallback.key && invokeCallback._store && !invokeCallback._store.validated && (escapedPrefix._store.validated = 2), callback = escapedPrefix), array.push(callback));
759
+ return 1;
760
+ }
761
+ invokeCallback = 0;
762
+ childKey = "" === nameSoFar ? "." : nameSoFar + ":";
763
+ if (isArrayImpl(children))
764
+ for (var i = 0; i < children.length; i++)
765
+ nameSoFar = children[i], type = childKey + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(
766
+ nameSoFar,
767
+ array,
768
+ escapedPrefix,
769
+ type,
770
+ callback
771
+ );
772
+ else if (i = getIteratorFn(children), "function" === typeof i)
773
+ for (i === children.entries && (didWarnAboutMaps || console.warn(
774
+ "Using Maps as children is not supported. Use an array of keyed ReactElements instead."
775
+ ), didWarnAboutMaps = true), children = i.call(children), i = 0; !(nameSoFar = children.next()).done; )
776
+ nameSoFar = nameSoFar.value, type = childKey + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(
777
+ nameSoFar,
778
+ array,
779
+ escapedPrefix,
780
+ type,
781
+ callback
782
+ );
783
+ else if ("object" === type) {
784
+ if ("function" === typeof children.then)
785
+ return mapIntoArray(
786
+ resolveThenable(children),
787
+ array,
788
+ escapedPrefix,
789
+ nameSoFar,
790
+ callback
791
+ );
792
+ array = String(children);
793
+ throw Error(
794
+ "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."
795
+ );
796
+ }
797
+ return invokeCallback;
798
+ }
799
+ function mapChildren(children, func, context) {
800
+ if (null == children) return children;
801
+ var result = [], count = 0;
802
+ mapIntoArray(children, result, "", "", function(child) {
803
+ return func.call(context, child, count++);
804
+ });
805
+ return result;
806
+ }
807
+ function lazyInitializer(payload) {
808
+ if (-1 === payload._status) {
809
+ var ioInfo = payload._ioInfo;
810
+ null != ioInfo && (ioInfo.start = ioInfo.end = performance.now());
811
+ ioInfo = payload._result;
812
+ var thenable = ioInfo();
813
+ thenable.then(
814
+ function(moduleObject) {
815
+ if (0 === payload._status || -1 === payload._status) {
816
+ payload._status = 1;
817
+ payload._result = moduleObject;
818
+ var _ioInfo = payload._ioInfo;
819
+ null != _ioInfo && (_ioInfo.end = performance.now());
820
+ void 0 === thenable.status && (thenable.status = "fulfilled", thenable.value = moduleObject);
821
+ }
822
+ },
823
+ function(error) {
824
+ if (0 === payload._status || -1 === payload._status) {
825
+ payload._status = 2;
826
+ payload._result = error;
827
+ var _ioInfo2 = payload._ioInfo;
828
+ null != _ioInfo2 && (_ioInfo2.end = performance.now());
829
+ void 0 === thenable.status && (thenable.status = "rejected", thenable.reason = error);
830
+ }
831
+ }
832
+ );
833
+ ioInfo = payload._ioInfo;
834
+ if (null != ioInfo) {
835
+ ioInfo.value = thenable;
836
+ var displayName = thenable.displayName;
837
+ "string" === typeof displayName && (ioInfo.name = displayName);
838
+ }
839
+ -1 === payload._status && (payload._status = 0, payload._result = thenable);
840
+ }
841
+ if (1 === payload._status)
842
+ return ioInfo = payload._result, void 0 === ioInfo && console.error(
843
+ "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?",
844
+ ioInfo
845
+ ), "default" in ioInfo || console.error(
846
+ "lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",
847
+ ioInfo
848
+ ), ioInfo.default;
849
+ throw payload._result;
850
+ }
851
+ function resolveDispatcher() {
852
+ var dispatcher = ReactSharedInternals.H;
853
+ null === dispatcher && console.error(
854
+ "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."
855
+ );
856
+ return dispatcher;
857
+ }
858
+ function releaseAsyncTransition() {
859
+ ReactSharedInternals.asyncTransitions--;
860
+ }
861
+ function enqueueTask(task) {
862
+ if (null === enqueueTaskImpl)
863
+ try {
864
+ var requireString = ("require" + Math.random()).slice(0, 7);
865
+ enqueueTaskImpl = (module2 && module2[requireString]).call(
866
+ module2,
867
+ "timers"
868
+ ).setImmediate;
869
+ } catch (_err) {
870
+ enqueueTaskImpl = function(callback) {
871
+ false === didWarnAboutMessageChannel && (didWarnAboutMessageChannel = true, "undefined" === typeof MessageChannel && console.error(
872
+ "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."
873
+ ));
874
+ var channel = new MessageChannel();
875
+ channel.port1.onmessage = callback;
876
+ channel.port2.postMessage(void 0);
877
+ };
878
+ }
879
+ return enqueueTaskImpl(task);
880
+ }
881
+ function aggregateErrors(errors) {
882
+ return 1 < errors.length && "function" === typeof AggregateError ? new AggregateError(errors) : errors[0];
883
+ }
884
+ function popActScope(prevActQueue, prevActScopeDepth) {
885
+ prevActScopeDepth !== actScopeDepth - 1 && console.error(
886
+ "You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "
887
+ );
888
+ actScopeDepth = prevActScopeDepth;
889
+ }
890
+ function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
891
+ var queue = ReactSharedInternals.actQueue;
892
+ if (null !== queue)
893
+ if (0 !== queue.length)
894
+ try {
895
+ flushActQueue(queue);
896
+ enqueueTask(function() {
897
+ return recursivelyFlushAsyncActWork(returnValue, resolve, reject);
898
+ });
899
+ return;
900
+ } catch (error) {
901
+ ReactSharedInternals.thrownErrors.push(error);
902
+ }
903
+ else ReactSharedInternals.actQueue = null;
904
+ 0 < ReactSharedInternals.thrownErrors.length ? (queue = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, reject(queue)) : resolve(returnValue);
905
+ }
906
+ function flushActQueue(queue) {
907
+ if (!isFlushing) {
908
+ isFlushing = true;
909
+ var i = 0;
910
+ try {
911
+ for (; i < queue.length; i++) {
912
+ var callback = queue[i];
913
+ do {
914
+ ReactSharedInternals.didUsePromise = false;
915
+ var continuation = callback(false);
916
+ if (null !== continuation) {
917
+ if (ReactSharedInternals.didUsePromise) {
918
+ queue[i] = callback;
919
+ queue.splice(0, i);
920
+ return;
921
+ }
922
+ callback = continuation;
923
+ } else break;
924
+ } while (1);
925
+ }
926
+ queue.length = 0;
927
+ } catch (error) {
928
+ queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);
929
+ } finally {
930
+ isFlushing = false;
931
+ }
932
+ }
933
+ }
934
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
935
+ var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = {
936
+ isMounted: function() {
937
+ return false;
938
+ },
939
+ enqueueForceUpdate: function(publicInstance) {
940
+ warnNoop(publicInstance, "forceUpdate");
941
+ },
942
+ enqueueReplaceState: function(publicInstance) {
943
+ warnNoop(publicInstance, "replaceState");
944
+ },
945
+ enqueueSetState: function(publicInstance) {
946
+ warnNoop(publicInstance, "setState");
947
+ }
948
+ }, assign = Object.assign, emptyObject = {};
949
+ Object.freeze(emptyObject);
950
+ Component.prototype.isReactComponent = {};
951
+ Component.prototype.setState = function(partialState, callback) {
952
+ if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState)
953
+ throw Error(
954
+ "takes an object of state variables to update or a function which returns an object of state variables."
955
+ );
956
+ this.updater.enqueueSetState(this, partialState, callback, "setState");
957
+ };
958
+ Component.prototype.forceUpdate = function(callback) {
959
+ this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
960
+ };
961
+ var deprecatedAPIs = {
962
+ isMounted: [
963
+ "isMounted",
964
+ "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."
965
+ ],
966
+ replaceState: [
967
+ "replaceState",
968
+ "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
969
+ ]
970
+ };
971
+ for (fnName in deprecatedAPIs)
972
+ deprecatedAPIs.hasOwnProperty(fnName) && defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
973
+ ComponentDummy.prototype = Component.prototype;
974
+ deprecatedAPIs = PureComponent.prototype = new ComponentDummy();
975
+ deprecatedAPIs.constructor = PureComponent;
976
+ assign(deprecatedAPIs, Component.prototype);
977
+ deprecatedAPIs.isPureReactComponent = true;
978
+ var isArrayImpl = Array.isArray, REACT_CLIENT_REFERENCE = /* @__PURE__ */ Symbol.for("react.client.reference"), ReactSharedInternals = {
979
+ H: null,
980
+ A: null,
981
+ T: null,
982
+ S: null,
983
+ actQueue: null,
984
+ asyncTransitions: 0,
985
+ isBatchingLegacy: false,
986
+ didScheduleLegacyUpdate: false,
987
+ didUsePromise: false,
988
+ thrownErrors: [],
989
+ getCurrentStack: null,
990
+ recentlyCreatedOwnerStacks: 0
991
+ }, hasOwnProperty16 = Object.prototype.hasOwnProperty, createTask = console.createTask ? console.createTask : function() {
992
+ return null;
993
+ };
994
+ deprecatedAPIs = {
995
+ react_stack_bottom_frame: function(callStackForError) {
996
+ return callStackForError();
997
+ }
998
+ };
999
+ var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;
1000
+ var didWarnAboutElementRef = {};
1001
+ var unknownOwnerDebugStack = deprecatedAPIs.react_stack_bottom_frame.bind(
1002
+ deprecatedAPIs,
1003
+ UnknownOwner
1004
+ )();
1005
+ var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
1006
+ var didWarnAboutMaps = false, userProvidedKeyEscapeRegex = /\/+/g, reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
1007
+ if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
1008
+ var event = new window.ErrorEvent("error", {
1009
+ bubbles: true,
1010
+ cancelable: true,
1011
+ message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
1012
+ error
1013
+ });
1014
+ if (!window.dispatchEvent(event)) return;
1015
+ } else if ("object" === typeof process && "function" === typeof process.emit) {
1016
+ process.emit("uncaughtException", error);
1017
+ return;
1018
+ }
1019
+ console.error(error);
1020
+ }, didWarnAboutMessageChannel = false, enqueueTaskImpl = null, actScopeDepth = 0, didWarnNoAwaitAct = false, isFlushing = false, queueSeveralMicrotasks = "function" === typeof queueMicrotask ? function(callback) {
1021
+ queueMicrotask(function() {
1022
+ return queueMicrotask(callback);
1023
+ });
1024
+ } : enqueueTask;
1025
+ deprecatedAPIs = Object.freeze({
1026
+ __proto__: null,
1027
+ c: function(size) {
1028
+ return resolveDispatcher().useMemoCache(size);
1029
+ }
1030
+ });
1031
+ var fnName = {
1032
+ map: mapChildren,
1033
+ forEach: function(children, forEachFunc, forEachContext) {
1034
+ mapChildren(
1035
+ children,
1036
+ function() {
1037
+ forEachFunc.apply(this, arguments);
1038
+ },
1039
+ forEachContext
1040
+ );
1041
+ },
1042
+ count: function(children) {
1043
+ var n = 0;
1044
+ mapChildren(children, function() {
1045
+ n++;
1046
+ });
1047
+ return n;
1048
+ },
1049
+ toArray: function(children) {
1050
+ return mapChildren(children, function(child) {
1051
+ return child;
1052
+ }) || [];
1053
+ },
1054
+ only: function(children) {
1055
+ if (!isValidElement(children))
1056
+ throw Error(
1057
+ "React.Children.only expected to receive a single React element child."
1058
+ );
1059
+ return children;
1060
+ }
1061
+ };
1062
+ exports2.Activity = REACT_ACTIVITY_TYPE;
1063
+ exports2.Children = fnName;
1064
+ exports2.Component = Component;
1065
+ exports2.Fragment = REACT_FRAGMENT_TYPE;
1066
+ exports2.Profiler = REACT_PROFILER_TYPE;
1067
+ exports2.PureComponent = PureComponent;
1068
+ exports2.StrictMode = REACT_STRICT_MODE_TYPE;
1069
+ exports2.Suspense = REACT_SUSPENSE_TYPE;
1070
+ exports2.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
1071
+ exports2.__COMPILER_RUNTIME = deprecatedAPIs;
1072
+ exports2.act = function(callback) {
1073
+ var prevActQueue = ReactSharedInternals.actQueue, prevActScopeDepth = actScopeDepth;
1074
+ actScopeDepth++;
1075
+ var queue = ReactSharedInternals.actQueue = null !== prevActQueue ? prevActQueue : [], didAwaitActCall = false;
1076
+ try {
1077
+ var result = callback();
1078
+ } catch (error) {
1079
+ ReactSharedInternals.thrownErrors.push(error);
1080
+ }
1081
+ if (0 < ReactSharedInternals.thrownErrors.length)
1082
+ throw popActScope(prevActQueue, prevActScopeDepth), callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
1083
+ if (null !== result && "object" === typeof result && "function" === typeof result.then) {
1084
+ var thenable = result;
1085
+ queueSeveralMicrotasks(function() {
1086
+ didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = true, console.error(
1087
+ "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 () => ...);"
1088
+ ));
1089
+ });
1090
+ return {
1091
+ then: function(resolve, reject) {
1092
+ didAwaitActCall = true;
1093
+ thenable.then(
1094
+ function(returnValue) {
1095
+ popActScope(prevActQueue, prevActScopeDepth);
1096
+ if (0 === prevActScopeDepth) {
1097
+ try {
1098
+ flushActQueue(queue), enqueueTask(function() {
1099
+ return recursivelyFlushAsyncActWork(
1100
+ returnValue,
1101
+ resolve,
1102
+ reject
1103
+ );
1104
+ });
1105
+ } catch (error$0) {
1106
+ ReactSharedInternals.thrownErrors.push(error$0);
1107
+ }
1108
+ if (0 < ReactSharedInternals.thrownErrors.length) {
1109
+ var _thrownError = aggregateErrors(
1110
+ ReactSharedInternals.thrownErrors
1111
+ );
1112
+ ReactSharedInternals.thrownErrors.length = 0;
1113
+ reject(_thrownError);
1114
+ }
1115
+ } else resolve(returnValue);
1116
+ },
1117
+ function(error) {
1118
+ popActScope(prevActQueue, prevActScopeDepth);
1119
+ 0 < ReactSharedInternals.thrownErrors.length ? (error = aggregateErrors(
1120
+ ReactSharedInternals.thrownErrors
1121
+ ), ReactSharedInternals.thrownErrors.length = 0, reject(error)) : reject(error);
1122
+ }
1123
+ );
1124
+ }
1125
+ };
1126
+ }
1127
+ var returnValue$jscomp$0 = result;
1128
+ popActScope(prevActQueue, prevActScopeDepth);
1129
+ 0 === prevActScopeDepth && (flushActQueue(queue), 0 !== queue.length && queueSeveralMicrotasks(function() {
1130
+ didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = true, console.error(
1131
+ "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(() => ...)"
1132
+ ));
1133
+ }), ReactSharedInternals.actQueue = null);
1134
+ if (0 < ReactSharedInternals.thrownErrors.length)
1135
+ throw callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
1136
+ return {
1137
+ then: function(resolve, reject) {
1138
+ didAwaitActCall = true;
1139
+ 0 === prevActScopeDepth ? (ReactSharedInternals.actQueue = queue, enqueueTask(function() {
1140
+ return recursivelyFlushAsyncActWork(
1141
+ returnValue$jscomp$0,
1142
+ resolve,
1143
+ reject
1144
+ );
1145
+ })) : resolve(returnValue$jscomp$0);
1146
+ }
1147
+ };
1148
+ };
1149
+ exports2.cache = function(fn) {
1150
+ return function() {
1151
+ return fn.apply(null, arguments);
1152
+ };
1153
+ };
1154
+ exports2.cacheSignal = function() {
1155
+ return null;
1156
+ };
1157
+ exports2.captureOwnerStack = function() {
1158
+ var getCurrentStack = ReactSharedInternals.getCurrentStack;
1159
+ return null === getCurrentStack ? null : getCurrentStack();
1160
+ };
1161
+ exports2.cloneElement = function(element, config, children) {
1162
+ if (null === element || void 0 === element)
1163
+ throw Error(
1164
+ "The argument must be a React element, but you passed " + element + "."
1165
+ );
1166
+ var props = assign({}, element.props), key = element.key, owner = element._owner;
1167
+ if (null != config) {
1168
+ var JSCompiler_inline_result;
1169
+ a: {
1170
+ if (hasOwnProperty16.call(config, "ref") && (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(
1171
+ config,
1172
+ "ref"
1173
+ ).get) && JSCompiler_inline_result.isReactWarning) {
1174
+ JSCompiler_inline_result = false;
1175
+ break a;
1176
+ }
1177
+ JSCompiler_inline_result = void 0 !== config.ref;
1178
+ }
1179
+ JSCompiler_inline_result && (owner = getOwner());
1180
+ hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key);
1181
+ for (propName in config)
1182
+ !hasOwnProperty16.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
1183
+ }
1184
+ var propName = arguments.length - 2;
1185
+ if (1 === propName) props.children = children;
1186
+ else if (1 < propName) {
1187
+ JSCompiler_inline_result = Array(propName);
1188
+ for (var i = 0; i < propName; i++)
1189
+ JSCompiler_inline_result[i] = arguments[i + 2];
1190
+ props.children = JSCompiler_inline_result;
1191
+ }
1192
+ props = ReactElement(
1193
+ element.type,
1194
+ key,
1195
+ props,
1196
+ owner,
1197
+ element._debugStack,
1198
+ element._debugTask
1199
+ );
1200
+ for (key = 2; key < arguments.length; key++)
1201
+ validateChildKeys(arguments[key]);
1202
+ return props;
1203
+ };
1204
+ exports2.createContext = function(defaultValue) {
1205
+ defaultValue = {
1206
+ $$typeof: REACT_CONTEXT_TYPE,
1207
+ _currentValue: defaultValue,
1208
+ _currentValue2: defaultValue,
1209
+ _threadCount: 0,
1210
+ Provider: null,
1211
+ Consumer: null
1212
+ };
1213
+ defaultValue.Provider = defaultValue;
1214
+ defaultValue.Consumer = {
1215
+ $$typeof: REACT_CONSUMER_TYPE,
1216
+ _context: defaultValue
1217
+ };
1218
+ defaultValue._currentRenderer = null;
1219
+ defaultValue._currentRenderer2 = null;
1220
+ return defaultValue;
1221
+ };
1222
+ exports2.createElement = function(type, config, children) {
1223
+ for (var i = 2; i < arguments.length; i++)
1224
+ validateChildKeys(arguments[i]);
1225
+ i = {};
1226
+ var key = null;
1227
+ if (null != config)
1228
+ for (propName in didWarnAboutOldJSXRuntime || !("__self" in config) || "key" in config || (didWarnAboutOldJSXRuntime = true, console.warn(
1229
+ "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"
1230
+ )), hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key), config)
1231
+ hasOwnProperty16.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (i[propName] = config[propName]);
1232
+ var childrenLength = arguments.length - 2;
1233
+ if (1 === childrenLength) i.children = children;
1234
+ else if (1 < childrenLength) {
1235
+ for (var childArray = Array(childrenLength), _i = 0; _i < childrenLength; _i++)
1236
+ childArray[_i] = arguments[_i + 2];
1237
+ Object.freeze && Object.freeze(childArray);
1238
+ i.children = childArray;
1239
+ }
1240
+ if (type && type.defaultProps)
1241
+ for (propName in childrenLength = type.defaultProps, childrenLength)
1242
+ void 0 === i[propName] && (i[propName] = childrenLength[propName]);
1243
+ key && defineKeyPropWarningGetter(
1244
+ i,
1245
+ "function" === typeof type ? type.displayName || type.name || "Unknown" : type
1246
+ );
1247
+ var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
1248
+ return ReactElement(
1249
+ type,
1250
+ key,
1251
+ i,
1252
+ getOwner(),
1253
+ propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
1254
+ propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
1255
+ );
1256
+ };
1257
+ exports2.createRef = function() {
1258
+ var refObject = { current: null };
1259
+ Object.seal(refObject);
1260
+ return refObject;
1261
+ };
1262
+ exports2.forwardRef = function(render) {
1263
+ null != render && render.$$typeof === REACT_MEMO_TYPE ? console.error(
1264
+ "forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
1265
+ ) : "function" !== typeof render ? console.error(
1266
+ "forwardRef requires a render function but was given %s.",
1267
+ null === render ? "null" : typeof render
1268
+ ) : 0 !== render.length && 2 !== render.length && console.error(
1269
+ "forwardRef render functions accept exactly two parameters: props and ref. %s",
1270
+ 1 === render.length ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."
1271
+ );
1272
+ null != render && null != render.defaultProps && console.error(
1273
+ "forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"
1274
+ );
1275
+ var elementType = { $$typeof: REACT_FORWARD_REF_TYPE, render }, ownName;
1276
+ Object.defineProperty(elementType, "displayName", {
1277
+ enumerable: false,
1278
+ configurable: true,
1279
+ get: function() {
1280
+ return ownName;
1281
+ },
1282
+ set: function(name) {
1283
+ ownName = name;
1284
+ render.name || render.displayName || (Object.defineProperty(render, "name", { value: name }), render.displayName = name);
1285
+ }
1286
+ });
1287
+ return elementType;
1288
+ };
1289
+ exports2.isValidElement = isValidElement;
1290
+ exports2.lazy = function(ctor) {
1291
+ ctor = { _status: -1, _result: ctor };
1292
+ var lazyType = {
1293
+ $$typeof: REACT_LAZY_TYPE,
1294
+ _payload: ctor,
1295
+ _init: lazyInitializer
1296
+ }, ioInfo = {
1297
+ name: "lazy",
1298
+ start: -1,
1299
+ end: -1,
1300
+ value: null,
1301
+ owner: null,
1302
+ debugStack: Error("react-stack-top-frame"),
1303
+ debugTask: console.createTask ? console.createTask("lazy()") : null
1304
+ };
1305
+ ctor._ioInfo = ioInfo;
1306
+ lazyType._debugInfo = [{ awaited: ioInfo }];
1307
+ return lazyType;
1308
+ };
1309
+ exports2.memo = function(type, compare) {
1310
+ null == type && console.error(
1311
+ "memo: The first argument must be a component. Instead received: %s",
1312
+ null === type ? "null" : typeof type
1313
+ );
1314
+ compare = {
1315
+ $$typeof: REACT_MEMO_TYPE,
1316
+ type,
1317
+ compare: void 0 === compare ? null : compare
1318
+ };
1319
+ var ownName;
1320
+ Object.defineProperty(compare, "displayName", {
1321
+ enumerable: false,
1322
+ configurable: true,
1323
+ get: function() {
1324
+ return ownName;
1325
+ },
1326
+ set: function(name) {
1327
+ ownName = name;
1328
+ type.name || type.displayName || (Object.defineProperty(type, "name", { value: name }), type.displayName = name);
1329
+ }
1330
+ });
1331
+ return compare;
1332
+ };
1333
+ exports2.startTransition = function(scope) {
1334
+ var prevTransition = ReactSharedInternals.T, currentTransition = {};
1335
+ currentTransition._updatedFibers = /* @__PURE__ */ new Set();
1336
+ ReactSharedInternals.T = currentTransition;
1337
+ try {
1338
+ var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
1339
+ null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
1340
+ "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && (ReactSharedInternals.asyncTransitions++, returnValue.then(releaseAsyncTransition, releaseAsyncTransition), returnValue.then(noop, reportGlobalError));
1341
+ } catch (error) {
1342
+ reportGlobalError(error);
1343
+ } finally {
1344
+ null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn(
1345
+ "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."
1346
+ )), null !== prevTransition && null !== currentTransition.types && (null !== prevTransition.types && prevTransition.types !== currentTransition.types && console.error(
1347
+ "We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."
1348
+ ), prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
1349
+ }
1350
+ };
1351
+ exports2.unstable_useCacheRefresh = function() {
1352
+ return resolveDispatcher().useCacheRefresh();
1353
+ };
1354
+ exports2.use = function(usable) {
1355
+ return resolveDispatcher().use(usable);
1356
+ };
1357
+ exports2.useActionState = function(action, initialState, permalink) {
1358
+ return resolveDispatcher().useActionState(
1359
+ action,
1360
+ initialState,
1361
+ permalink
1362
+ );
1363
+ };
1364
+ exports2.useCallback = function(callback, deps) {
1365
+ return resolveDispatcher().useCallback(callback, deps);
1366
+ };
1367
+ exports2.useContext = function(Context) {
1368
+ var dispatcher = resolveDispatcher();
1369
+ Context.$$typeof === REACT_CONSUMER_TYPE && console.error(
1370
+ "Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"
1371
+ );
1372
+ return dispatcher.useContext(Context);
1373
+ };
1374
+ exports2.useDebugValue = function(value, formatterFn) {
1375
+ return resolveDispatcher().useDebugValue(value, formatterFn);
1376
+ };
1377
+ exports2.useDeferredValue = function(value, initialValue) {
1378
+ return resolveDispatcher().useDeferredValue(value, initialValue);
1379
+ };
1380
+ exports2.useEffect = function(create2, deps) {
1381
+ null == create2 && console.warn(
1382
+ "React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
1383
+ );
1384
+ return resolveDispatcher().useEffect(create2, deps);
1385
+ };
1386
+ exports2.useEffectEvent = function(callback) {
1387
+ return resolveDispatcher().useEffectEvent(callback);
1388
+ };
1389
+ exports2.useId = function() {
1390
+ return resolveDispatcher().useId();
1391
+ };
1392
+ exports2.useImperativeHandle = function(ref, create2, deps) {
1393
+ return resolveDispatcher().useImperativeHandle(ref, create2, deps);
1394
+ };
1395
+ exports2.useInsertionEffect = function(create2, deps) {
1396
+ null == create2 && console.warn(
1397
+ "React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"
1398
+ );
1399
+ return resolveDispatcher().useInsertionEffect(create2, deps);
1400
+ };
1401
+ exports2.useLayoutEffect = function(create2, deps) {
1402
+ null == create2 && console.warn(
1403
+ "React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"
1404
+ );
1405
+ return resolveDispatcher().useLayoutEffect(create2, deps);
1406
+ };
1407
+ exports2.useMemo = function(create2, deps) {
1408
+ return resolveDispatcher().useMemo(create2, deps);
1409
+ };
1410
+ exports2.useOptimistic = function(passthrough, reducer) {
1411
+ return resolveDispatcher().useOptimistic(passthrough, reducer);
1412
+ };
1413
+ exports2.useReducer = function(reducer, initialArg, init) {
1414
+ return resolveDispatcher().useReducer(reducer, initialArg, init);
1415
+ };
1416
+ exports2.useRef = function(initialValue) {
1417
+ return resolveDispatcher().useRef(initialValue);
1418
+ };
1419
+ exports2.useState = function(initialState) {
1420
+ return resolveDispatcher().useState(initialState);
1421
+ };
1422
+ exports2.useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) {
1423
+ return resolveDispatcher().useSyncExternalStore(
1424
+ subscribe,
1425
+ getSnapshot,
1426
+ getServerSnapshot
1427
+ );
1428
+ };
1429
+ exports2.useTransition = function() {
1430
+ return resolveDispatcher().useTransition();
1431
+ };
1432
+ exports2.version = "19.2.3";
1433
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1434
+ })();
1435
+ }
1436
+ });
1437
+
1438
+ // ../../node_modules/.pnpm/react@19.2.3/node_modules/react/index.js
1439
+ var require_react = __commonJS({
1440
+ "../../node_modules/.pnpm/react@19.2.3/node_modules/react/index.js"(exports2, module2) {
1441
+ if (process.env.NODE_ENV === "production") {
1442
+ module2.exports = require_react_production();
1443
+ } else {
1444
+ module2.exports = require_react_development();
1445
+ }
1446
+ }
1447
+ });
1448
+
1449
+ // ../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react-jsx-runtime.production.js
1450
+ var require_react_jsx_runtime_production = __commonJS({
1451
+ "../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react-jsx-runtime.production.js"(exports2) {
1452
+ var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element");
1453
+ var REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment");
1454
+ function jsxProd(type, config, maybeKey) {
1455
+ var key = null;
1456
+ void 0 !== maybeKey && (key = "" + maybeKey);
1457
+ void 0 !== config.key && (key = "" + config.key);
1458
+ if ("key" in config) {
1459
+ maybeKey = {};
1460
+ for (var propName in config)
1461
+ "key" !== propName && (maybeKey[propName] = config[propName]);
1462
+ } else maybeKey = config;
1463
+ config = maybeKey.ref;
1464
+ return {
1465
+ $$typeof: REACT_ELEMENT_TYPE,
1466
+ type,
1467
+ key,
1468
+ ref: void 0 !== config ? config : null,
1469
+ props: maybeKey
1470
+ };
1471
+ }
1472
+ exports2.Fragment = REACT_FRAGMENT_TYPE;
1473
+ exports2.jsx = jsxProd;
1474
+ exports2.jsxs = jsxProd;
1475
+ }
1476
+ });
1477
+
1478
+ // ../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react-jsx-runtime.development.js
1479
+ var require_react_jsx_runtime_development = __commonJS({
1480
+ "../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react-jsx-runtime.development.js"(exports2) {
1481
+ "production" !== process.env.NODE_ENV && (function() {
1482
+ function getComponentNameFromType(type) {
1483
+ if (null == type) return null;
1484
+ if ("function" === typeof type)
1485
+ return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
1486
+ if ("string" === typeof type) return type;
1487
+ switch (type) {
1488
+ case REACT_FRAGMENT_TYPE:
1489
+ return "Fragment";
1490
+ case REACT_PROFILER_TYPE:
1491
+ return "Profiler";
1492
+ case REACT_STRICT_MODE_TYPE:
1493
+ return "StrictMode";
1494
+ case REACT_SUSPENSE_TYPE:
1495
+ return "Suspense";
1496
+ case REACT_SUSPENSE_LIST_TYPE:
1497
+ return "SuspenseList";
1498
+ case REACT_ACTIVITY_TYPE:
1499
+ return "Activity";
1500
+ }
1501
+ if ("object" === typeof type)
1502
+ switch ("number" === typeof type.tag && console.error(
1503
+ "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
1504
+ ), type.$$typeof) {
1505
+ case REACT_PORTAL_TYPE:
1506
+ return "Portal";
1507
+ case REACT_CONTEXT_TYPE:
1508
+ return type.displayName || "Context";
1509
+ case REACT_CONSUMER_TYPE:
1510
+ return (type._context.displayName || "Context") + ".Consumer";
1511
+ case REACT_FORWARD_REF_TYPE:
1512
+ var innerType = type.render;
1513
+ type = type.displayName;
1514
+ type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
1515
+ return type;
1516
+ case REACT_MEMO_TYPE:
1517
+ return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
1518
+ case REACT_LAZY_TYPE:
1519
+ innerType = type._payload;
1520
+ type = type._init;
1521
+ try {
1522
+ return getComponentNameFromType(type(innerType));
1523
+ } catch (x) {
1524
+ }
1525
+ }
1526
+ return null;
1527
+ }
1528
+ function testStringCoercion(value) {
1529
+ return "" + value;
1530
+ }
1531
+ function checkKeyStringCoercion(value) {
1532
+ try {
1533
+ testStringCoercion(value);
1534
+ var JSCompiler_inline_result = false;
1535
+ } catch (e) {
1536
+ JSCompiler_inline_result = true;
1537
+ }
1538
+ if (JSCompiler_inline_result) {
1539
+ JSCompiler_inline_result = console;
1540
+ var JSCompiler_temp_const = JSCompiler_inline_result.error;
1541
+ var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
1542
+ JSCompiler_temp_const.call(
1543
+ JSCompiler_inline_result,
1544
+ "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
1545
+ JSCompiler_inline_result$jscomp$0
1546
+ );
1547
+ return testStringCoercion(value);
1548
+ }
1549
+ }
1550
+ function getTaskName(type) {
1551
+ if (type === REACT_FRAGMENT_TYPE) return "<>";
1552
+ if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE)
1553
+ return "<...>";
1554
+ try {
1555
+ var name = getComponentNameFromType(type);
1556
+ return name ? "<" + name + ">" : "<...>";
1557
+ } catch (x) {
1558
+ return "<...>";
1559
+ }
1560
+ }
1561
+ function getOwner() {
1562
+ var dispatcher = ReactSharedInternals.A;
1563
+ return null === dispatcher ? null : dispatcher.getOwner();
1564
+ }
1565
+ function UnknownOwner() {
1566
+ return Error("react-stack-top-frame");
1567
+ }
1568
+ function hasValidKey(config) {
1569
+ if (hasOwnProperty16.call(config, "key")) {
1570
+ var getter = Object.getOwnPropertyDescriptor(config, "key").get;
1571
+ if (getter && getter.isReactWarning) return false;
1572
+ }
1573
+ return void 0 !== config.key;
1574
+ }
1575
+ function defineKeyPropWarningGetter(props, displayName) {
1576
+ function warnAboutAccessingKey() {
1577
+ specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error(
1578
+ "%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)",
1579
+ displayName
1580
+ ));
1581
+ }
1582
+ warnAboutAccessingKey.isReactWarning = true;
1583
+ Object.defineProperty(props, "key", {
1584
+ get: warnAboutAccessingKey,
1585
+ configurable: true
1586
+ });
1587
+ }
1588
+ function elementRefGetterWithDeprecationWarning() {
1589
+ var componentName = getComponentNameFromType(this.type);
1590
+ didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error(
1591
+ "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."
1592
+ ));
1593
+ componentName = this.props.ref;
1594
+ return void 0 !== componentName ? componentName : null;
1595
+ }
1596
+ function ReactElement(type, key, props, owner, debugStack, debugTask) {
1597
+ var refProp = props.ref;
1598
+ type = {
1599
+ $$typeof: REACT_ELEMENT_TYPE,
1600
+ type,
1601
+ key,
1602
+ props,
1603
+ _owner: owner
1604
+ };
1605
+ null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
1606
+ enumerable: false,
1607
+ get: elementRefGetterWithDeprecationWarning
1608
+ }) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
1609
+ type._store = {};
1610
+ Object.defineProperty(type._store, "validated", {
1611
+ configurable: false,
1612
+ enumerable: false,
1613
+ writable: true,
1614
+ value: 0
1615
+ });
1616
+ Object.defineProperty(type, "_debugInfo", {
1617
+ configurable: false,
1618
+ enumerable: false,
1619
+ writable: true,
1620
+ value: null
1621
+ });
1622
+ Object.defineProperty(type, "_debugStack", {
1623
+ configurable: false,
1624
+ enumerable: false,
1625
+ writable: true,
1626
+ value: debugStack
1627
+ });
1628
+ Object.defineProperty(type, "_debugTask", {
1629
+ configurable: false,
1630
+ enumerable: false,
1631
+ writable: true,
1632
+ value: debugTask
1633
+ });
1634
+ Object.freeze && (Object.freeze(type.props), Object.freeze(type));
1635
+ return type;
1636
+ }
1637
+ function jsxDEVImpl(type, config, maybeKey, isStaticChildren, debugStack, debugTask) {
1638
+ var children = config.children;
1639
+ if (void 0 !== children)
1640
+ if (isStaticChildren)
1641
+ if (isArrayImpl(children)) {
1642
+ for (isStaticChildren = 0; isStaticChildren < children.length; isStaticChildren++)
1643
+ validateChildKeys(children[isStaticChildren]);
1644
+ Object.freeze && Object.freeze(children);
1645
+ } else
1646
+ console.error(
1647
+ "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
1648
+ );
1649
+ else validateChildKeys(children);
1650
+ if (hasOwnProperty16.call(config, "key")) {
1651
+ children = getComponentNameFromType(type);
1652
+ var keys2 = Object.keys(config).filter(function(k) {
1653
+ return "key" !== k;
1654
+ });
1655
+ isStaticChildren = 0 < keys2.length ? "{key: someKey, " + keys2.join(": ..., ") + ": ...}" : "{key: someKey}";
1656
+ didWarnAboutKeySpread[children + isStaticChildren] || (keys2 = 0 < keys2.length ? "{" + keys2.join(": ..., ") + ": ...}" : "{}", console.error(
1657
+ '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} />',
1658
+ isStaticChildren,
1659
+ children,
1660
+ keys2,
1661
+ children
1662
+ ), didWarnAboutKeySpread[children + isStaticChildren] = true);
1663
+ }
1664
+ children = null;
1665
+ void 0 !== maybeKey && (checkKeyStringCoercion(maybeKey), children = "" + maybeKey);
1666
+ hasValidKey(config) && (checkKeyStringCoercion(config.key), children = "" + config.key);
1667
+ if ("key" in config) {
1668
+ maybeKey = {};
1669
+ for (var propName in config)
1670
+ "key" !== propName && (maybeKey[propName] = config[propName]);
1671
+ } else maybeKey = config;
1672
+ children && defineKeyPropWarningGetter(
1673
+ maybeKey,
1674
+ "function" === typeof type ? type.displayName || type.name || "Unknown" : type
1675
+ );
1676
+ return ReactElement(
1677
+ type,
1678
+ children,
1679
+ maybeKey,
1680
+ getOwner(),
1681
+ debugStack,
1682
+ debugTask
1683
+ );
1684
+ }
1685
+ function validateChildKeys(node) {
1686
+ isValidElement(node) ? node._store && (node._store.validated = 1) : "object" === typeof node && null !== node && node.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node._payload.status ? isValidElement(node._payload.value) && node._payload.value._store && (node._payload.value._store.validated = 1) : node._store && (node._store.validated = 1));
1687
+ }
1688
+ function isValidElement(object) {
1689
+ return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
1690
+ }
1691
+ var React2 = require_react(), REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity"), REACT_CLIENT_REFERENCE = /* @__PURE__ */ Symbol.for("react.client.reference"), ReactSharedInternals = React2.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty16 = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
1692
+ return null;
1693
+ };
1694
+ React2 = {
1695
+ react_stack_bottom_frame: function(callStackForError) {
1696
+ return callStackForError();
1697
+ }
1698
+ };
1699
+ var specialPropKeyWarningShown;
1700
+ var didWarnAboutElementRef = {};
1701
+ var unknownOwnerDebugStack = React2.react_stack_bottom_frame.bind(
1702
+ React2,
1703
+ UnknownOwner
1704
+ )();
1705
+ var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
1706
+ var didWarnAboutKeySpread = {};
1707
+ exports2.Fragment = REACT_FRAGMENT_TYPE;
1708
+ exports2.jsx = function(type, config, maybeKey) {
1709
+ var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
1710
+ return jsxDEVImpl(
1711
+ type,
1712
+ config,
1713
+ maybeKey,
1714
+ false,
1715
+ trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
1716
+ trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
1717
+ );
1718
+ };
1719
+ exports2.jsxs = function(type, config, maybeKey) {
1720
+ var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
1721
+ return jsxDEVImpl(
1722
+ type,
1723
+ config,
1724
+ maybeKey,
1725
+ true,
1726
+ trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
1727
+ trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
1728
+ );
1729
+ };
1730
+ })();
1731
+ }
1732
+ });
1733
+
1734
+ // ../../node_modules/.pnpm/react@19.2.3/node_modules/react/jsx-runtime.js
1735
+ var require_jsx_runtime = __commonJS({
1736
+ "../../node_modules/.pnpm/react@19.2.3/node_modules/react/jsx-runtime.js"(exports2, module2) {
1737
+ if (process.env.NODE_ENV === "production") {
1738
+ module2.exports = require_react_jsx_runtime_production();
1739
+ } else {
1740
+ module2.exports = require_react_jsx_runtime_development();
1741
+ }
1742
+ }
1743
+ });
1744
+
1745
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_freeGlobal.js
1746
+ var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
1747
+ var freeGlobal_default = freeGlobal;
1748
+
1749
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_root.js
1750
+ var freeSelf = typeof self == "object" && self && self.Object === Object && self;
1751
+ var root = freeGlobal_default || freeSelf || Function("return this")();
1752
+ var root_default = root;
1753
+
1754
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_Symbol.js
1755
+ var Symbol2 = root_default.Symbol;
1756
+ var Symbol_default = Symbol2;
1757
+
1758
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_getRawTag.js
1759
+ var objectProto = Object.prototype;
1760
+ var hasOwnProperty = objectProto.hasOwnProperty;
1761
+ var nativeObjectToString = objectProto.toString;
1762
+ var symToStringTag = Symbol_default ? Symbol_default.toStringTag : void 0;
1763
+ function getRawTag(value) {
1764
+ var isOwn = hasOwnProperty.call(value, symToStringTag), tag = value[symToStringTag];
1765
+ try {
1766
+ value[symToStringTag] = void 0;
1767
+ var unmasked = true;
1768
+ } catch (e) {
1769
+ }
1770
+ var result = nativeObjectToString.call(value);
1771
+ if (unmasked) {
1772
+ if (isOwn) {
1773
+ value[symToStringTag] = tag;
1774
+ } else {
1775
+ delete value[symToStringTag];
1776
+ }
1777
+ }
1778
+ return result;
1779
+ }
1780
+ var getRawTag_default = getRawTag;
1781
+
1782
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_objectToString.js
1783
+ var objectProto2 = Object.prototype;
1784
+ var nativeObjectToString2 = objectProto2.toString;
1785
+ function objectToString(value) {
1786
+ return nativeObjectToString2.call(value);
1787
+ }
1788
+ var objectToString_default = objectToString;
1789
+
1790
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_baseGetTag.js
1791
+ var nullTag = "[object Null]";
1792
+ var undefinedTag = "[object Undefined]";
1793
+ var symToStringTag2 = Symbol_default ? Symbol_default.toStringTag : void 0;
1794
+ function baseGetTag(value) {
1795
+ if (value == null) {
1796
+ return value === void 0 ? undefinedTag : nullTag;
1797
+ }
1798
+ return symToStringTag2 && symToStringTag2 in Object(value) ? getRawTag_default(value) : objectToString_default(value);
1799
+ }
1800
+ var baseGetTag_default = baseGetTag;
1801
+
1802
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/isObjectLike.js
1803
+ function isObjectLike(value) {
1804
+ return value != null && typeof value == "object";
1805
+ }
1806
+ var isObjectLike_default = isObjectLike;
1807
+
1808
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/isSymbol.js
1809
+ var symbolTag = "[object Symbol]";
1810
+ function isSymbol(value) {
1811
+ return typeof value == "symbol" || isObjectLike_default(value) && baseGetTag_default(value) == symbolTag;
1812
+ }
1813
+ var isSymbol_default = isSymbol;
1814
+
1815
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_arrayMap.js
1816
+ function arrayMap(array, iteratee) {
1817
+ var index = -1, length = array == null ? 0 : array.length, result = Array(length);
1818
+ while (++index < length) {
1819
+ result[index] = iteratee(array[index], index, array);
1820
+ }
1821
+ return result;
1822
+ }
1823
+ var arrayMap_default = arrayMap;
1824
+
1825
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/isArray.js
1826
+ var isArray = Array.isArray;
1827
+ var isArray_default = isArray;
1828
+ var symbolProto = Symbol_default ? Symbol_default.prototype : void 0;
1829
+ var symbolToString = symbolProto ? symbolProto.toString : void 0;
1830
+ function baseToString(value) {
1831
+ if (typeof value == "string") {
1832
+ return value;
1833
+ }
1834
+ if (isArray_default(value)) {
1835
+ return arrayMap_default(value, baseToString) + "";
1836
+ }
1837
+ if (isSymbol_default(value)) {
1838
+ return symbolToString ? symbolToString.call(value) : "";
1839
+ }
1840
+ var result = value + "";
1841
+ return result == "0" && 1 / value == -Infinity ? "-0" : result;
1842
+ }
1843
+ var baseToString_default = baseToString;
1844
+
1845
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/isObject.js
1846
+ function isObject(value) {
1847
+ var type = typeof value;
1848
+ return value != null && (type == "object" || type == "function");
1849
+ }
1850
+ var isObject_default = isObject;
1851
+
1852
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/identity.js
1853
+ function identity(value) {
1854
+ return value;
1855
+ }
1856
+ var identity_default = identity;
1857
+
1858
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/isFunction.js
1859
+ var asyncTag = "[object AsyncFunction]";
1860
+ var funcTag = "[object Function]";
1861
+ var genTag = "[object GeneratorFunction]";
1862
+ var proxyTag = "[object Proxy]";
1863
+ function isFunction(value) {
1864
+ if (!isObject_default(value)) {
1865
+ return false;
1866
+ }
1867
+ var tag = baseGetTag_default(value);
1868
+ return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
1869
+ }
1870
+ var isFunction_default = isFunction;
1871
+
1872
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_coreJsData.js
1873
+ var coreJsData = root_default["__core-js_shared__"];
1874
+ var coreJsData_default = coreJsData;
1875
+
1876
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_isMasked.js
1877
+ var maskSrcKey = (function() {
1878
+ var uid = /[^.]+$/.exec(coreJsData_default && coreJsData_default.keys && coreJsData_default.keys.IE_PROTO || "");
1879
+ return uid ? "Symbol(src)_1." + uid : "";
1880
+ })();
1881
+ function isMasked(func) {
1882
+ return !!maskSrcKey && maskSrcKey in func;
1883
+ }
1884
+ var isMasked_default = isMasked;
1885
+
1886
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_toSource.js
1887
+ var funcProto = Function.prototype;
1888
+ var funcToString = funcProto.toString;
1889
+ function toSource(func) {
1890
+ if (func != null) {
1891
+ try {
1892
+ return funcToString.call(func);
1893
+ } catch (e) {
1894
+ }
1895
+ try {
1896
+ return func + "";
1897
+ } catch (e) {
1898
+ }
1899
+ }
1900
+ return "";
1901
+ }
1902
+ var toSource_default = toSource;
1903
+
1904
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_baseIsNative.js
1905
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
1906
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
1907
+ var funcProto2 = Function.prototype;
1908
+ var objectProto3 = Object.prototype;
1909
+ var funcToString2 = funcProto2.toString;
1910
+ var hasOwnProperty2 = objectProto3.hasOwnProperty;
1911
+ var reIsNative = RegExp(
1912
+ "^" + funcToString2.call(hasOwnProperty2).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1913
+ );
1914
+ function baseIsNative(value) {
1915
+ if (!isObject_default(value) || isMasked_default(value)) {
1916
+ return false;
1917
+ }
1918
+ var pattern = isFunction_default(value) ? reIsNative : reIsHostCtor;
1919
+ return pattern.test(toSource_default(value));
1920
+ }
1921
+ var baseIsNative_default = baseIsNative;
1922
+
1923
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_getValue.js
1924
+ function getValue(object, key) {
1925
+ return object == null ? void 0 : object[key];
1926
+ }
1927
+ var getValue_default = getValue;
1928
+
1929
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_getNative.js
1930
+ function getNative(object, key) {
1931
+ var value = getValue_default(object, key);
1932
+ return baseIsNative_default(value) ? value : void 0;
1933
+ }
1934
+ var getNative_default = getNative;
1935
+
1936
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_WeakMap.js
1937
+ var WeakMap = getNative_default(root_default, "WeakMap");
1938
+ var WeakMap_default = WeakMap;
1939
+
1940
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_apply.js
1941
+ function apply(func, thisArg, args) {
1942
+ switch (args.length) {
1943
+ case 0:
1944
+ return func.call(thisArg);
1945
+ case 1:
1946
+ return func.call(thisArg, args[0]);
1947
+ case 2:
1948
+ return func.call(thisArg, args[0], args[1]);
1949
+ case 3:
1950
+ return func.call(thisArg, args[0], args[1], args[2]);
1951
+ }
1952
+ return func.apply(thisArg, args);
1953
+ }
1954
+ var apply_default = apply;
1955
+
1956
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_shortOut.js
1957
+ var HOT_COUNT = 800;
1958
+ var HOT_SPAN = 16;
1959
+ var nativeNow = Date.now;
1960
+ function shortOut(func) {
1961
+ var count = 0, lastCalled = 0;
1962
+ return function() {
1963
+ var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
1964
+ lastCalled = stamp;
1965
+ if (remaining > 0) {
1966
+ if (++count >= HOT_COUNT) {
1967
+ return arguments[0];
1968
+ }
1969
+ } else {
1970
+ count = 0;
1971
+ }
1972
+ return func.apply(void 0, arguments);
1973
+ };
1974
+ }
1975
+ var shortOut_default = shortOut;
1976
+
1977
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/constant.js
1978
+ function constant(value) {
1979
+ return function() {
1980
+ return value;
1981
+ };
1982
+ }
1983
+ var constant_default = constant;
1984
+
1985
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_defineProperty.js
1986
+ var defineProperty = (function() {
1987
+ try {
1988
+ var func = getNative_default(Object, "defineProperty");
1989
+ func({}, "", {});
1990
+ return func;
1991
+ } catch (e) {
1992
+ }
1993
+ })();
1994
+ var defineProperty_default = defineProperty;
1995
+
1996
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_baseSetToString.js
1997
+ var baseSetToString = !defineProperty_default ? identity_default : function(func, string) {
1998
+ return defineProperty_default(func, "toString", {
1999
+ "configurable": true,
2000
+ "enumerable": false,
2001
+ "value": constant_default(string),
2002
+ "writable": true
2003
+ });
2004
+ };
2005
+ var baseSetToString_default = baseSetToString;
2006
+
2007
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_setToString.js
2008
+ var setToString = shortOut_default(baseSetToString_default);
2009
+ var setToString_default = setToString;
2010
+
2011
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_isIndex.js
2012
+ var MAX_SAFE_INTEGER = 9007199254740991;
2013
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
2014
+ function isIndex(value, length) {
2015
+ var type = typeof value;
2016
+ length = length == null ? MAX_SAFE_INTEGER : length;
2017
+ return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
2018
+ }
2019
+ var isIndex_default = isIndex;
2020
+
2021
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_baseAssignValue.js
2022
+ function baseAssignValue(object, key, value) {
2023
+ if (key == "__proto__" && defineProperty_default) {
2024
+ defineProperty_default(object, key, {
2025
+ "configurable": true,
2026
+ "enumerable": true,
2027
+ "value": value,
2028
+ "writable": true
2029
+ });
2030
+ } else {
2031
+ object[key] = value;
2032
+ }
2033
+ }
2034
+ var baseAssignValue_default = baseAssignValue;
2035
+
2036
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/eq.js
2037
+ function eq(value, other) {
2038
+ return value === other || value !== value && other !== other;
2039
+ }
2040
+ var eq_default = eq;
2041
+
2042
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_assignValue.js
2043
+ var objectProto4 = Object.prototype;
2044
+ var hasOwnProperty3 = objectProto4.hasOwnProperty;
2045
+ function assignValue(object, key, value) {
2046
+ var objValue = object[key];
2047
+ if (!(hasOwnProperty3.call(object, key) && eq_default(objValue, value)) || value === void 0 && !(key in object)) {
2048
+ baseAssignValue_default(object, key, value);
2049
+ }
2050
+ }
2051
+ var assignValue_default = assignValue;
2052
+
2053
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_copyObject.js
2054
+ function copyObject(source, props, object, customizer) {
2055
+ var isNew = !object;
2056
+ object || (object = {});
2057
+ var index = -1, length = props.length;
2058
+ while (++index < length) {
2059
+ var key = props[index];
2060
+ var newValue = customizer ? customizer(object[key], source[key], key, object, source) : void 0;
2061
+ if (newValue === void 0) {
2062
+ newValue = source[key];
2063
+ }
2064
+ if (isNew) {
2065
+ baseAssignValue_default(object, key, newValue);
2066
+ } else {
2067
+ assignValue_default(object, key, newValue);
2068
+ }
2069
+ }
2070
+ return object;
2071
+ }
2072
+ var copyObject_default = copyObject;
2073
+
2074
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_overRest.js
2075
+ var nativeMax = Math.max;
2076
+ function overRest(func, start, transform) {
2077
+ start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
2078
+ return function() {
2079
+ var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array(length);
2080
+ while (++index < length) {
2081
+ array[index] = args[start + index];
2082
+ }
2083
+ index = -1;
2084
+ var otherArgs = Array(start + 1);
2085
+ while (++index < start) {
2086
+ otherArgs[index] = args[index];
2087
+ }
2088
+ otherArgs[start] = transform(array);
2089
+ return apply_default(func, this, otherArgs);
2090
+ };
2091
+ }
2092
+ var overRest_default = overRest;
2093
+
2094
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_baseRest.js
2095
+ function baseRest(func, start) {
2096
+ return setToString_default(overRest_default(func, start, identity_default), func + "");
2097
+ }
2098
+ var baseRest_default = baseRest;
2099
+
2100
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/isLength.js
2101
+ var MAX_SAFE_INTEGER2 = 9007199254740991;
2102
+ function isLength(value) {
2103
+ return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER2;
2104
+ }
2105
+ var isLength_default = isLength;
2106
+
2107
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/isArrayLike.js
2108
+ function isArrayLike(value) {
2109
+ return value != null && isLength_default(value.length) && !isFunction_default(value);
2110
+ }
2111
+ var isArrayLike_default = isArrayLike;
2112
+
2113
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_isIterateeCall.js
2114
+ function isIterateeCall(value, index, object) {
2115
+ if (!isObject_default(object)) {
2116
+ return false;
2117
+ }
2118
+ var type = typeof index;
2119
+ if (type == "number" ? isArrayLike_default(object) && isIndex_default(index, object.length) : type == "string" && index in object) {
2120
+ return eq_default(object[index], value);
2121
+ }
2122
+ return false;
2123
+ }
2124
+ var isIterateeCall_default = isIterateeCall;
2125
+
2126
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_createAssigner.js
2127
+ function createAssigner(assigner) {
2128
+ return baseRest_default(function(object, sources) {
2129
+ var index = -1, length = sources.length, customizer = length > 1 ? sources[length - 1] : void 0, guard = length > 2 ? sources[2] : void 0;
2130
+ customizer = assigner.length > 3 && typeof customizer == "function" ? (length--, customizer) : void 0;
2131
+ if (guard && isIterateeCall_default(sources[0], sources[1], guard)) {
2132
+ customizer = length < 3 ? void 0 : customizer;
2133
+ length = 1;
2134
+ }
2135
+ object = Object(object);
2136
+ while (++index < length) {
2137
+ var source = sources[index];
2138
+ if (source) {
2139
+ assigner(object, source, index, customizer);
2140
+ }
2141
+ }
2142
+ return object;
2143
+ });
2144
+ }
2145
+ var createAssigner_default = createAssigner;
2146
+
2147
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_isPrototype.js
2148
+ var objectProto5 = Object.prototype;
2149
+ function isPrototype(value) {
2150
+ var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto5;
2151
+ return value === proto;
2152
+ }
2153
+ var isPrototype_default = isPrototype;
2154
+
2155
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_baseTimes.js
2156
+ function baseTimes(n, iteratee) {
2157
+ var index = -1, result = Array(n);
2158
+ while (++index < n) {
2159
+ result[index] = iteratee(index);
2160
+ }
2161
+ return result;
2162
+ }
2163
+ var baseTimes_default = baseTimes;
2164
+
2165
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_baseIsArguments.js
2166
+ var argsTag = "[object Arguments]";
2167
+ function baseIsArguments(value) {
2168
+ return isObjectLike_default(value) && baseGetTag_default(value) == argsTag;
2169
+ }
2170
+ var baseIsArguments_default = baseIsArguments;
2171
+
2172
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/isArguments.js
2173
+ var objectProto6 = Object.prototype;
2174
+ var hasOwnProperty4 = objectProto6.hasOwnProperty;
2175
+ var propertyIsEnumerable = objectProto6.propertyIsEnumerable;
2176
+ var isArguments = baseIsArguments_default(/* @__PURE__ */ (function() {
2177
+ return arguments;
2178
+ })()) ? baseIsArguments_default : function(value) {
2179
+ return isObjectLike_default(value) && hasOwnProperty4.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
2180
+ };
2181
+ var isArguments_default = isArguments;
2182
+
2183
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/stubFalse.js
2184
+ function stubFalse() {
2185
+ return false;
2186
+ }
2187
+ var stubFalse_default = stubFalse;
2188
+
2189
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/isBuffer.js
2190
+ var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
2191
+ var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
2192
+ var moduleExports = freeModule && freeModule.exports === freeExports;
2193
+ var Buffer2 = moduleExports ? root_default.Buffer : void 0;
2194
+ var nativeIsBuffer = Buffer2 ? Buffer2.isBuffer : void 0;
2195
+ var isBuffer = nativeIsBuffer || stubFalse_default;
2196
+ var isBuffer_default = isBuffer;
2197
+
2198
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_baseIsTypedArray.js
2199
+ var argsTag2 = "[object Arguments]";
2200
+ var arrayTag = "[object Array]";
2201
+ var boolTag = "[object Boolean]";
2202
+ var dateTag = "[object Date]";
2203
+ var errorTag = "[object Error]";
2204
+ var funcTag2 = "[object Function]";
2205
+ var mapTag = "[object Map]";
2206
+ var numberTag = "[object Number]";
2207
+ var objectTag = "[object Object]";
2208
+ var regexpTag = "[object RegExp]";
2209
+ var setTag = "[object Set]";
2210
+ var stringTag = "[object String]";
2211
+ var weakMapTag = "[object WeakMap]";
2212
+ var arrayBufferTag = "[object ArrayBuffer]";
2213
+ var dataViewTag = "[object DataView]";
2214
+ var float32Tag = "[object Float32Array]";
2215
+ var float64Tag = "[object Float64Array]";
2216
+ var int8Tag = "[object Int8Array]";
2217
+ var int16Tag = "[object Int16Array]";
2218
+ var int32Tag = "[object Int32Array]";
2219
+ var uint8Tag = "[object Uint8Array]";
2220
+ var uint8ClampedTag = "[object Uint8ClampedArray]";
2221
+ var uint16Tag = "[object Uint16Array]";
2222
+ var uint32Tag = "[object Uint32Array]";
2223
+ var typedArrayTags = {};
2224
+ typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
2225
+ typedArrayTags[argsTag2] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag2] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;
2226
+ function baseIsTypedArray(value) {
2227
+ return isObjectLike_default(value) && isLength_default(value.length) && !!typedArrayTags[baseGetTag_default(value)];
2228
+ }
2229
+ var baseIsTypedArray_default = baseIsTypedArray;
2230
+
2231
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_baseUnary.js
2232
+ function baseUnary(func) {
2233
+ return function(value) {
2234
+ return func(value);
2235
+ };
2236
+ }
2237
+ var baseUnary_default = baseUnary;
2238
+
2239
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_nodeUtil.js
2240
+ var freeExports2 = typeof exports == "object" && exports && !exports.nodeType && exports;
2241
+ var freeModule2 = freeExports2 && typeof module == "object" && module && !module.nodeType && module;
2242
+ var moduleExports2 = freeModule2 && freeModule2.exports === freeExports2;
2243
+ var freeProcess = moduleExports2 && freeGlobal_default.process;
2244
+ var nodeUtil = (function() {
2245
+ try {
2246
+ var types = freeModule2 && freeModule2.require && freeModule2.require("util").types;
2247
+ if (types) {
2248
+ return types;
2249
+ }
2250
+ return freeProcess && freeProcess.binding && freeProcess.binding("util");
2251
+ } catch (e) {
2252
+ }
2253
+ })();
2254
+ var nodeUtil_default = nodeUtil;
2255
+
2256
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/isTypedArray.js
2257
+ var nodeIsTypedArray = nodeUtil_default && nodeUtil_default.isTypedArray;
2258
+ var isTypedArray = nodeIsTypedArray ? baseUnary_default(nodeIsTypedArray) : baseIsTypedArray_default;
2259
+ var isTypedArray_default = isTypedArray;
2260
+
2261
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_arrayLikeKeys.js
2262
+ var objectProto7 = Object.prototype;
2263
+ var hasOwnProperty5 = objectProto7.hasOwnProperty;
2264
+ function arrayLikeKeys(value, inherited) {
2265
+ var isArr = isArray_default(value), isArg = !isArr && isArguments_default(value), isBuff = !isArr && !isArg && isBuffer_default(value), isType = !isArr && !isArg && !isBuff && isTypedArray_default(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes_default(value.length, String) : [], length = result.length;
2266
+ for (var key in value) {
2267
+ if ((inherited || hasOwnProperty5.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
2268
+ (key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
2269
+ isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
2270
+ isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
2271
+ isIndex_default(key, length)))) {
2272
+ result.push(key);
2273
+ }
2274
+ }
2275
+ return result;
2276
+ }
2277
+ var arrayLikeKeys_default = arrayLikeKeys;
2278
+
2279
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_overArg.js
2280
+ function overArg(func, transform) {
2281
+ return function(arg) {
2282
+ return func(transform(arg));
2283
+ };
2284
+ }
2285
+ var overArg_default = overArg;
2286
+
2287
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_nativeKeys.js
2288
+ var nativeKeys = overArg_default(Object.keys, Object);
2289
+ var nativeKeys_default = nativeKeys;
2290
+
2291
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_baseKeys.js
2292
+ var objectProto8 = Object.prototype;
2293
+ var hasOwnProperty6 = objectProto8.hasOwnProperty;
2294
+ function baseKeys(object) {
2295
+ if (!isPrototype_default(object)) {
2296
+ return nativeKeys_default(object);
2297
+ }
2298
+ var result = [];
2299
+ for (var key in Object(object)) {
2300
+ if (hasOwnProperty6.call(object, key) && key != "constructor") {
2301
+ result.push(key);
2302
+ }
2303
+ }
2304
+ return result;
2305
+ }
2306
+ var baseKeys_default = baseKeys;
2307
+
2308
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/keys.js
2309
+ function keys(object) {
2310
+ return isArrayLike_default(object) ? arrayLikeKeys_default(object) : baseKeys_default(object);
2311
+ }
2312
+ var keys_default = keys;
2313
+
2314
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_nativeKeysIn.js
2315
+ function nativeKeysIn(object) {
2316
+ var result = [];
2317
+ if (object != null) {
2318
+ for (var key in Object(object)) {
2319
+ result.push(key);
2320
+ }
2321
+ }
2322
+ return result;
2323
+ }
2324
+ var nativeKeysIn_default = nativeKeysIn;
2325
+
2326
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_baseKeysIn.js
2327
+ var objectProto9 = Object.prototype;
2328
+ var hasOwnProperty7 = objectProto9.hasOwnProperty;
2329
+ function baseKeysIn(object) {
2330
+ if (!isObject_default(object)) {
2331
+ return nativeKeysIn_default(object);
2332
+ }
2333
+ var isProto = isPrototype_default(object), result = [];
2334
+ for (var key in object) {
2335
+ if (!(key == "constructor" && (isProto || !hasOwnProperty7.call(object, key)))) {
2336
+ result.push(key);
2337
+ }
2338
+ }
2339
+ return result;
2340
+ }
2341
+ var baseKeysIn_default = baseKeysIn;
2342
+
2343
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/keysIn.js
2344
+ function keysIn(object) {
2345
+ return isArrayLike_default(object) ? arrayLikeKeys_default(object, true) : baseKeysIn_default(object);
2346
+ }
2347
+ var keysIn_default = keysIn;
2348
+
2349
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/assignInWith.js
2350
+ var assignInWith = createAssigner_default(function(object, source, srcIndex, customizer) {
2351
+ copyObject_default(source, keysIn_default(source), object, customizer);
2352
+ });
2353
+ var assignInWith_default = assignInWith;
2354
+
2355
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_isKey.js
2356
+ var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;
2357
+ var reIsPlainProp = /^\w*$/;
2358
+ function isKey(value, object) {
2359
+ if (isArray_default(value)) {
2360
+ return false;
2361
+ }
2362
+ var type = typeof value;
2363
+ if (type == "number" || type == "symbol" || type == "boolean" || value == null || isSymbol_default(value)) {
2364
+ return true;
2365
+ }
2366
+ return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object);
2367
+ }
2368
+ var isKey_default = isKey;
2369
+
2370
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_nativeCreate.js
2371
+ var nativeCreate = getNative_default(Object, "create");
2372
+ var nativeCreate_default = nativeCreate;
2373
+
2374
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_hashClear.js
2375
+ function hashClear() {
2376
+ this.__data__ = nativeCreate_default ? nativeCreate_default(null) : {};
2377
+ this.size = 0;
2378
+ }
2379
+ var hashClear_default = hashClear;
2380
+
2381
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_hashDelete.js
2382
+ function hashDelete(key) {
2383
+ var result = this.has(key) && delete this.__data__[key];
2384
+ this.size -= result ? 1 : 0;
2385
+ return result;
2386
+ }
2387
+ var hashDelete_default = hashDelete;
2388
+
2389
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_hashGet.js
2390
+ var HASH_UNDEFINED = "__lodash_hash_undefined__";
2391
+ var objectProto10 = Object.prototype;
2392
+ var hasOwnProperty8 = objectProto10.hasOwnProperty;
2393
+ function hashGet(key) {
2394
+ var data = this.__data__;
2395
+ if (nativeCreate_default) {
2396
+ var result = data[key];
2397
+ return result === HASH_UNDEFINED ? void 0 : result;
2398
+ }
2399
+ return hasOwnProperty8.call(data, key) ? data[key] : void 0;
2400
+ }
2401
+ var hashGet_default = hashGet;
2402
+
2403
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_hashHas.js
2404
+ var objectProto11 = Object.prototype;
2405
+ var hasOwnProperty9 = objectProto11.hasOwnProperty;
2406
+ function hashHas(key) {
2407
+ var data = this.__data__;
2408
+ return nativeCreate_default ? data[key] !== void 0 : hasOwnProperty9.call(data, key);
2409
+ }
2410
+ var hashHas_default = hashHas;
2411
+
2412
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_hashSet.js
2413
+ var HASH_UNDEFINED2 = "__lodash_hash_undefined__";
2414
+ function hashSet(key, value) {
2415
+ var data = this.__data__;
2416
+ this.size += this.has(key) ? 0 : 1;
2417
+ data[key] = nativeCreate_default && value === void 0 ? HASH_UNDEFINED2 : value;
2418
+ return this;
2419
+ }
2420
+ var hashSet_default = hashSet;
2421
+
2422
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_Hash.js
2423
+ function Hash(entries) {
2424
+ var index = -1, length = entries == null ? 0 : entries.length;
2425
+ this.clear();
2426
+ while (++index < length) {
2427
+ var entry = entries[index];
2428
+ this.set(entry[0], entry[1]);
2429
+ }
2430
+ }
2431
+ Hash.prototype.clear = hashClear_default;
2432
+ Hash.prototype["delete"] = hashDelete_default;
2433
+ Hash.prototype.get = hashGet_default;
2434
+ Hash.prototype.has = hashHas_default;
2435
+ Hash.prototype.set = hashSet_default;
2436
+ var Hash_default = Hash;
2437
+
2438
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_listCacheClear.js
2439
+ function listCacheClear() {
2440
+ this.__data__ = [];
2441
+ this.size = 0;
2442
+ }
2443
+ var listCacheClear_default = listCacheClear;
2444
+
2445
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_assocIndexOf.js
2446
+ function assocIndexOf(array, key) {
2447
+ var length = array.length;
2448
+ while (length--) {
2449
+ if (eq_default(array[length][0], key)) {
2450
+ return length;
2451
+ }
2452
+ }
2453
+ return -1;
2454
+ }
2455
+ var assocIndexOf_default = assocIndexOf;
2456
+
2457
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_listCacheDelete.js
2458
+ var arrayProto = Array.prototype;
2459
+ var splice = arrayProto.splice;
2460
+ function listCacheDelete(key) {
2461
+ var data = this.__data__, index = assocIndexOf_default(data, key);
2462
+ if (index < 0) {
2463
+ return false;
2464
+ }
2465
+ var lastIndex = data.length - 1;
2466
+ if (index == lastIndex) {
2467
+ data.pop();
2468
+ } else {
2469
+ splice.call(data, index, 1);
2470
+ }
2471
+ --this.size;
2472
+ return true;
2473
+ }
2474
+ var listCacheDelete_default = listCacheDelete;
2475
+
2476
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_listCacheGet.js
2477
+ function listCacheGet(key) {
2478
+ var data = this.__data__, index = assocIndexOf_default(data, key);
2479
+ return index < 0 ? void 0 : data[index][1];
2480
+ }
2481
+ var listCacheGet_default = listCacheGet;
2482
+
2483
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_listCacheHas.js
2484
+ function listCacheHas(key) {
2485
+ return assocIndexOf_default(this.__data__, key) > -1;
2486
+ }
2487
+ var listCacheHas_default = listCacheHas;
2488
+
2489
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_listCacheSet.js
2490
+ function listCacheSet(key, value) {
2491
+ var data = this.__data__, index = assocIndexOf_default(data, key);
2492
+ if (index < 0) {
2493
+ ++this.size;
2494
+ data.push([key, value]);
2495
+ } else {
2496
+ data[index][1] = value;
2497
+ }
2498
+ return this;
2499
+ }
2500
+ var listCacheSet_default = listCacheSet;
2501
+
2502
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_ListCache.js
2503
+ function ListCache(entries) {
2504
+ var index = -1, length = entries == null ? 0 : entries.length;
2505
+ this.clear();
2506
+ while (++index < length) {
2507
+ var entry = entries[index];
2508
+ this.set(entry[0], entry[1]);
2509
+ }
2510
+ }
2511
+ ListCache.prototype.clear = listCacheClear_default;
2512
+ ListCache.prototype["delete"] = listCacheDelete_default;
2513
+ ListCache.prototype.get = listCacheGet_default;
2514
+ ListCache.prototype.has = listCacheHas_default;
2515
+ ListCache.prototype.set = listCacheSet_default;
2516
+ var ListCache_default = ListCache;
2517
+
2518
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_Map.js
2519
+ var Map2 = getNative_default(root_default, "Map");
2520
+ var Map_default = Map2;
2521
+
2522
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_mapCacheClear.js
2523
+ function mapCacheClear() {
2524
+ this.size = 0;
2525
+ this.__data__ = {
2526
+ "hash": new Hash_default(),
2527
+ "map": new (Map_default || ListCache_default)(),
2528
+ "string": new Hash_default()
2529
+ };
2530
+ }
2531
+ var mapCacheClear_default = mapCacheClear;
2532
+
2533
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_isKeyable.js
2534
+ function isKeyable(value) {
2535
+ var type = typeof value;
2536
+ return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
2537
+ }
2538
+ var isKeyable_default = isKeyable;
2539
+
2540
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_getMapData.js
2541
+ function getMapData(map, key) {
2542
+ var data = map.__data__;
2543
+ return isKeyable_default(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
2544
+ }
2545
+ var getMapData_default = getMapData;
2546
+
2547
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_mapCacheDelete.js
2548
+ function mapCacheDelete(key) {
2549
+ var result = getMapData_default(this, key)["delete"](key);
2550
+ this.size -= result ? 1 : 0;
2551
+ return result;
2552
+ }
2553
+ var mapCacheDelete_default = mapCacheDelete;
2554
+
2555
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_mapCacheGet.js
2556
+ function mapCacheGet(key) {
2557
+ return getMapData_default(this, key).get(key);
2558
+ }
2559
+ var mapCacheGet_default = mapCacheGet;
2560
+
2561
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_mapCacheHas.js
2562
+ function mapCacheHas(key) {
2563
+ return getMapData_default(this, key).has(key);
2564
+ }
2565
+ var mapCacheHas_default = mapCacheHas;
2566
+
2567
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_mapCacheSet.js
2568
+ function mapCacheSet(key, value) {
2569
+ var data = getMapData_default(this, key), size = data.size;
2570
+ data.set(key, value);
2571
+ this.size += data.size == size ? 0 : 1;
2572
+ return this;
2573
+ }
2574
+ var mapCacheSet_default = mapCacheSet;
2575
+
2576
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_MapCache.js
2577
+ function MapCache(entries) {
2578
+ var index = -1, length = entries == null ? 0 : entries.length;
2579
+ this.clear();
2580
+ while (++index < length) {
2581
+ var entry = entries[index];
2582
+ this.set(entry[0], entry[1]);
2583
+ }
2584
+ }
2585
+ MapCache.prototype.clear = mapCacheClear_default;
2586
+ MapCache.prototype["delete"] = mapCacheDelete_default;
2587
+ MapCache.prototype.get = mapCacheGet_default;
2588
+ MapCache.prototype.has = mapCacheHas_default;
2589
+ MapCache.prototype.set = mapCacheSet_default;
2590
+ var MapCache_default = MapCache;
2591
+
2592
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/memoize.js
2593
+ var FUNC_ERROR_TEXT = "Expected a function";
2594
+ function memoize(func, resolver) {
2595
+ if (typeof func != "function" || resolver != null && typeof resolver != "function") {
2596
+ throw new TypeError(FUNC_ERROR_TEXT);
2597
+ }
2598
+ var memoized = function() {
2599
+ var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache;
2600
+ if (cache.has(key)) {
2601
+ return cache.get(key);
2602
+ }
2603
+ var result = func.apply(this, args);
2604
+ memoized.cache = cache.set(key, result) || cache;
2605
+ return result;
2606
+ };
2607
+ memoized.cache = new (memoize.Cache || MapCache_default)();
2608
+ return memoized;
2609
+ }
2610
+ memoize.Cache = MapCache_default;
2611
+ var memoize_default = memoize;
2612
+
2613
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_memoizeCapped.js
2614
+ var MAX_MEMOIZE_SIZE = 500;
2615
+ function memoizeCapped(func) {
2616
+ var result = memoize_default(func, function(key) {
2617
+ if (cache.size === MAX_MEMOIZE_SIZE) {
2618
+ cache.clear();
2619
+ }
2620
+ return key;
2621
+ });
2622
+ var cache = result.cache;
2623
+ return result;
2624
+ }
2625
+ var memoizeCapped_default = memoizeCapped;
2626
+
2627
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_stringToPath.js
2628
+ var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
2629
+ var reEscapeChar = /\\(\\)?/g;
2630
+ var stringToPath = memoizeCapped_default(function(string) {
2631
+ var result = [];
2632
+ if (string.charCodeAt(0) === 46) {
2633
+ result.push("");
2634
+ }
2635
+ string.replace(rePropName, function(match, number, quote, subString) {
2636
+ result.push(quote ? subString.replace(reEscapeChar, "$1") : number || match);
2637
+ });
2638
+ return result;
2639
+ });
2640
+ var stringToPath_default = stringToPath;
2641
+
2642
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/toString.js
2643
+ function toString(value) {
2644
+ return value == null ? "" : baseToString_default(value);
2645
+ }
2646
+ var toString_default = toString;
2647
+
2648
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_castPath.js
2649
+ function castPath(value, object) {
2650
+ if (isArray_default(value)) {
2651
+ return value;
2652
+ }
2653
+ return isKey_default(value, object) ? [value] : stringToPath_default(toString_default(value));
2654
+ }
2655
+ var castPath_default = castPath;
2656
+ function toKey(value) {
2657
+ if (typeof value == "string" || isSymbol_default(value)) {
2658
+ return value;
2659
+ }
2660
+ var result = value + "";
2661
+ return result == "0" && 1 / value == -Infinity ? "-0" : result;
2662
+ }
2663
+ var toKey_default = toKey;
2664
+
2665
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_baseGet.js
2666
+ function baseGet(object, path) {
2667
+ path = castPath_default(path, object);
2668
+ var index = 0, length = path.length;
2669
+ while (object != null && index < length) {
2670
+ object = object[toKey_default(path[index++])];
2671
+ }
2672
+ return index && index == length ? object : void 0;
2673
+ }
2674
+ var baseGet_default = baseGet;
2675
+
2676
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/get.js
2677
+ function get(object, path, defaultValue) {
2678
+ var result = object == null ? void 0 : baseGet_default(object, path);
2679
+ return result === void 0 ? defaultValue : result;
2680
+ }
2681
+ var get_default = get;
2682
+
2683
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_arrayPush.js
2684
+ function arrayPush(array, values) {
2685
+ var index = -1, length = values.length, offset = array.length;
2686
+ while (++index < length) {
2687
+ array[offset + index] = values[index];
2688
+ }
2689
+ return array;
2690
+ }
2691
+ var arrayPush_default = arrayPush;
2692
+
2693
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_getPrototype.js
2694
+ var getPrototype = overArg_default(Object.getPrototypeOf, Object);
2695
+ var getPrototype_default = getPrototype;
2696
+
2697
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/isPlainObject.js
2698
+ var objectTag2 = "[object Object]";
2699
+ var funcProto3 = Function.prototype;
2700
+ var objectProto12 = Object.prototype;
2701
+ var funcToString3 = funcProto3.toString;
2702
+ var hasOwnProperty10 = objectProto12.hasOwnProperty;
2703
+ var objectCtorString = funcToString3.call(Object);
2704
+ function isPlainObject(value) {
2705
+ if (!isObjectLike_default(value) || baseGetTag_default(value) != objectTag2) {
2706
+ return false;
2707
+ }
2708
+ var proto = getPrototype_default(value);
2709
+ if (proto === null) {
2710
+ return true;
2711
+ }
2712
+ var Ctor = hasOwnProperty10.call(proto, "constructor") && proto.constructor;
2713
+ return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString3.call(Ctor) == objectCtorString;
2714
+ }
2715
+ var isPlainObject_default = isPlainObject;
2716
+
2717
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/isError.js
2718
+ var domExcTag = "[object DOMException]";
2719
+ var errorTag2 = "[object Error]";
2720
+ function isError(value) {
2721
+ if (!isObjectLike_default(value)) {
2722
+ return false;
2723
+ }
2724
+ var tag = baseGetTag_default(value);
2725
+ return tag == errorTag2 || tag == domExcTag || typeof value.message == "string" && typeof value.name == "string" && !isPlainObject_default(value);
2726
+ }
2727
+ var isError_default = isError;
2728
+
2729
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/attempt.js
2730
+ var attempt = baseRest_default(function(func, args) {
2731
+ try {
2732
+ return apply_default(func, void 0, args);
2733
+ } catch (e) {
2734
+ return isError_default(e) ? e : new Error(e);
2735
+ }
2736
+ });
2737
+ var attempt_default = attempt;
2738
+
2739
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_basePropertyOf.js
2740
+ function basePropertyOf(object) {
2741
+ return function(key) {
2742
+ return object == null ? void 0 : object[key];
2743
+ };
2744
+ }
2745
+ var basePropertyOf_default = basePropertyOf;
2746
+
2747
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_stackClear.js
2748
+ function stackClear() {
2749
+ this.__data__ = new ListCache_default();
2750
+ this.size = 0;
2751
+ }
2752
+ var stackClear_default = stackClear;
2753
+
2754
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_stackDelete.js
2755
+ function stackDelete(key) {
2756
+ var data = this.__data__, result = data["delete"](key);
2757
+ this.size = data.size;
2758
+ return result;
2759
+ }
2760
+ var stackDelete_default = stackDelete;
2761
+
2762
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_stackGet.js
2763
+ function stackGet(key) {
2764
+ return this.__data__.get(key);
2765
+ }
2766
+ var stackGet_default = stackGet;
2767
+
2768
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_stackHas.js
2769
+ function stackHas(key) {
2770
+ return this.__data__.has(key);
2771
+ }
2772
+ var stackHas_default = stackHas;
2773
+
2774
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_stackSet.js
2775
+ var LARGE_ARRAY_SIZE = 200;
2776
+ function stackSet(key, value) {
2777
+ var data = this.__data__;
2778
+ if (data instanceof ListCache_default) {
2779
+ var pairs = data.__data__;
2780
+ if (!Map_default || pairs.length < LARGE_ARRAY_SIZE - 1) {
2781
+ pairs.push([key, value]);
2782
+ this.size = ++data.size;
2783
+ return this;
2784
+ }
2785
+ data = this.__data__ = new MapCache_default(pairs);
2786
+ }
2787
+ data.set(key, value);
2788
+ this.size = data.size;
2789
+ return this;
2790
+ }
2791
+ var stackSet_default = stackSet;
2792
+
2793
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_Stack.js
2794
+ function Stack(entries) {
2795
+ var data = this.__data__ = new ListCache_default(entries);
2796
+ this.size = data.size;
2797
+ }
2798
+ Stack.prototype.clear = stackClear_default;
2799
+ Stack.prototype["delete"] = stackDelete_default;
2800
+ Stack.prototype.get = stackGet_default;
2801
+ Stack.prototype.has = stackHas_default;
2802
+ Stack.prototype.set = stackSet_default;
2803
+ var Stack_default = Stack;
2804
+
2805
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_arrayFilter.js
2806
+ function arrayFilter(array, predicate) {
2807
+ var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
2808
+ while (++index < length) {
2809
+ var value = array[index];
2810
+ if (predicate(value, index, array)) {
2811
+ result[resIndex++] = value;
2812
+ }
2813
+ }
2814
+ return result;
2815
+ }
2816
+ var arrayFilter_default = arrayFilter;
2817
+
2818
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/stubArray.js
2819
+ function stubArray() {
2820
+ return [];
2821
+ }
2822
+ var stubArray_default = stubArray;
2823
+
2824
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_getSymbols.js
2825
+ var objectProto13 = Object.prototype;
2826
+ var propertyIsEnumerable2 = objectProto13.propertyIsEnumerable;
2827
+ var nativeGetSymbols = Object.getOwnPropertySymbols;
2828
+ var getSymbols = !nativeGetSymbols ? stubArray_default : function(object) {
2829
+ if (object == null) {
2830
+ return [];
2831
+ }
2832
+ object = Object(object);
2833
+ return arrayFilter_default(nativeGetSymbols(object), function(symbol) {
2834
+ return propertyIsEnumerable2.call(object, symbol);
2835
+ });
2836
+ };
2837
+ var getSymbols_default = getSymbols;
2838
+
2839
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_baseGetAllKeys.js
2840
+ function baseGetAllKeys(object, keysFunc, symbolsFunc) {
2841
+ var result = keysFunc(object);
2842
+ return isArray_default(object) ? result : arrayPush_default(result, symbolsFunc(object));
2843
+ }
2844
+ var baseGetAllKeys_default = baseGetAllKeys;
2845
+
2846
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_getAllKeys.js
2847
+ function getAllKeys(object) {
2848
+ return baseGetAllKeys_default(object, keys_default, getSymbols_default);
2849
+ }
2850
+ var getAllKeys_default = getAllKeys;
2851
+
2852
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_DataView.js
2853
+ var DataView = getNative_default(root_default, "DataView");
2854
+ var DataView_default = DataView;
2855
+
2856
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_Promise.js
2857
+ var Promise2 = getNative_default(root_default, "Promise");
2858
+ var Promise_default = Promise2;
2859
+
2860
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_Set.js
2861
+ var Set2 = getNative_default(root_default, "Set");
2862
+ var Set_default = Set2;
2863
+
2864
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_getTag.js
2865
+ var mapTag2 = "[object Map]";
2866
+ var objectTag3 = "[object Object]";
2867
+ var promiseTag = "[object Promise]";
2868
+ var setTag2 = "[object Set]";
2869
+ var weakMapTag2 = "[object WeakMap]";
2870
+ var dataViewTag2 = "[object DataView]";
2871
+ var dataViewCtorString = toSource_default(DataView_default);
2872
+ var mapCtorString = toSource_default(Map_default);
2873
+ var promiseCtorString = toSource_default(Promise_default);
2874
+ var setCtorString = toSource_default(Set_default);
2875
+ var weakMapCtorString = toSource_default(WeakMap_default);
2876
+ var getTag = baseGetTag_default;
2877
+ if (DataView_default && getTag(new DataView_default(new ArrayBuffer(1))) != dataViewTag2 || Map_default && getTag(new Map_default()) != mapTag2 || Promise_default && getTag(Promise_default.resolve()) != promiseTag || Set_default && getTag(new Set_default()) != setTag2 || WeakMap_default && getTag(new WeakMap_default()) != weakMapTag2) {
2878
+ getTag = function(value) {
2879
+ var result = baseGetTag_default(value), Ctor = result == objectTag3 ? value.constructor : void 0, ctorString = Ctor ? toSource_default(Ctor) : "";
2880
+ if (ctorString) {
2881
+ switch (ctorString) {
2882
+ case dataViewCtorString:
2883
+ return dataViewTag2;
2884
+ case mapCtorString:
2885
+ return mapTag2;
2886
+ case promiseCtorString:
2887
+ return promiseTag;
2888
+ case setCtorString:
2889
+ return setTag2;
2890
+ case weakMapCtorString:
2891
+ return weakMapTag2;
2892
+ }
2893
+ }
2894
+ return result;
2895
+ };
2896
+ }
2897
+ var getTag_default = getTag;
2898
+
2899
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_Uint8Array.js
2900
+ var Uint8Array2 = root_default.Uint8Array;
2901
+ var Uint8Array_default = Uint8Array2;
2902
+
2903
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_setCacheAdd.js
2904
+ var HASH_UNDEFINED3 = "__lodash_hash_undefined__";
2905
+ function setCacheAdd(value) {
2906
+ this.__data__.set(value, HASH_UNDEFINED3);
2907
+ return this;
2908
+ }
2909
+ var setCacheAdd_default = setCacheAdd;
2910
+
2911
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_setCacheHas.js
2912
+ function setCacheHas(value) {
2913
+ return this.__data__.has(value);
2914
+ }
2915
+ var setCacheHas_default = setCacheHas;
2916
+
2917
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_SetCache.js
2918
+ function SetCache(values) {
2919
+ var index = -1, length = values == null ? 0 : values.length;
2920
+ this.__data__ = new MapCache_default();
2921
+ while (++index < length) {
2922
+ this.add(values[index]);
2923
+ }
2924
+ }
2925
+ SetCache.prototype.add = SetCache.prototype.push = setCacheAdd_default;
2926
+ SetCache.prototype.has = setCacheHas_default;
2927
+ var SetCache_default = SetCache;
2928
+
2929
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_arraySome.js
2930
+ function arraySome(array, predicate) {
2931
+ var index = -1, length = array == null ? 0 : array.length;
2932
+ while (++index < length) {
2933
+ if (predicate(array[index], index, array)) {
2934
+ return true;
2935
+ }
2936
+ }
2937
+ return false;
2938
+ }
2939
+ var arraySome_default = arraySome;
2940
+
2941
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_cacheHas.js
2942
+ function cacheHas(cache, key) {
2943
+ return cache.has(key);
2944
+ }
2945
+ var cacheHas_default = cacheHas;
2946
+
2947
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_equalArrays.js
2948
+ var COMPARE_PARTIAL_FLAG = 1;
2949
+ var COMPARE_UNORDERED_FLAG = 2;
2950
+ function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
2951
+ var isPartial = bitmask & COMPARE_PARTIAL_FLAG, arrLength = array.length, othLength = other.length;
2952
+ if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
2953
+ return false;
2954
+ }
2955
+ var arrStacked = stack.get(array);
2956
+ var othStacked = stack.get(other);
2957
+ if (arrStacked && othStacked) {
2958
+ return arrStacked == other && othStacked == array;
2959
+ }
2960
+ var index = -1, result = true, seen = bitmask & COMPARE_UNORDERED_FLAG ? new SetCache_default() : void 0;
2961
+ stack.set(array, other);
2962
+ stack.set(other, array);
2963
+ while (++index < arrLength) {
2964
+ var arrValue = array[index], othValue = other[index];
2965
+ if (customizer) {
2966
+ var compared = isPartial ? customizer(othValue, arrValue, index, other, array, stack) : customizer(arrValue, othValue, index, array, other, stack);
2967
+ }
2968
+ if (compared !== void 0) {
2969
+ if (compared) {
2970
+ continue;
2971
+ }
2972
+ result = false;
2973
+ break;
2974
+ }
2975
+ if (seen) {
2976
+ if (!arraySome_default(other, function(othValue2, othIndex) {
2977
+ if (!cacheHas_default(seen, othIndex) && (arrValue === othValue2 || equalFunc(arrValue, othValue2, bitmask, customizer, stack))) {
2978
+ return seen.push(othIndex);
2979
+ }
2980
+ })) {
2981
+ result = false;
2982
+ break;
2983
+ }
2984
+ } else if (!(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
2985
+ result = false;
2986
+ break;
2987
+ }
2988
+ }
2989
+ stack["delete"](array);
2990
+ stack["delete"](other);
2991
+ return result;
2992
+ }
2993
+ var equalArrays_default = equalArrays;
2994
+
2995
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_mapToArray.js
2996
+ function mapToArray(map) {
2997
+ var index = -1, result = Array(map.size);
2998
+ map.forEach(function(value, key) {
2999
+ result[++index] = [key, value];
3000
+ });
3001
+ return result;
3002
+ }
3003
+ var mapToArray_default = mapToArray;
3004
+
3005
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_setToArray.js
3006
+ function setToArray(set) {
3007
+ var index = -1, result = Array(set.size);
3008
+ set.forEach(function(value) {
3009
+ result[++index] = value;
3010
+ });
3011
+ return result;
3012
+ }
3013
+ var setToArray_default = setToArray;
3014
+
3015
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_equalByTag.js
3016
+ var COMPARE_PARTIAL_FLAG2 = 1;
3017
+ var COMPARE_UNORDERED_FLAG2 = 2;
3018
+ var boolTag2 = "[object Boolean]";
3019
+ var dateTag2 = "[object Date]";
3020
+ var errorTag3 = "[object Error]";
3021
+ var mapTag3 = "[object Map]";
3022
+ var numberTag2 = "[object Number]";
3023
+ var regexpTag2 = "[object RegExp]";
3024
+ var setTag3 = "[object Set]";
3025
+ var stringTag2 = "[object String]";
3026
+ var symbolTag2 = "[object Symbol]";
3027
+ var arrayBufferTag2 = "[object ArrayBuffer]";
3028
+ var dataViewTag3 = "[object DataView]";
3029
+ var symbolProto2 = Symbol_default ? Symbol_default.prototype : void 0;
3030
+ var symbolValueOf = symbolProto2 ? symbolProto2.valueOf : void 0;
3031
+ function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
3032
+ switch (tag) {
3033
+ case dataViewTag3:
3034
+ if (object.byteLength != other.byteLength || object.byteOffset != other.byteOffset) {
3035
+ return false;
3036
+ }
3037
+ object = object.buffer;
3038
+ other = other.buffer;
3039
+ case arrayBufferTag2:
3040
+ if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array_default(object), new Uint8Array_default(other))) {
3041
+ return false;
3042
+ }
3043
+ return true;
3044
+ case boolTag2:
3045
+ case dateTag2:
3046
+ case numberTag2:
3047
+ return eq_default(+object, +other);
3048
+ case errorTag3:
3049
+ return object.name == other.name && object.message == other.message;
3050
+ case regexpTag2:
3051
+ case stringTag2:
3052
+ return object == other + "";
3053
+ case mapTag3:
3054
+ var convert = mapToArray_default;
3055
+ case setTag3:
3056
+ var isPartial = bitmask & COMPARE_PARTIAL_FLAG2;
3057
+ convert || (convert = setToArray_default);
3058
+ if (object.size != other.size && !isPartial) {
3059
+ return false;
3060
+ }
3061
+ var stacked = stack.get(object);
3062
+ if (stacked) {
3063
+ return stacked == other;
3064
+ }
3065
+ bitmask |= COMPARE_UNORDERED_FLAG2;
3066
+ stack.set(object, other);
3067
+ var result = equalArrays_default(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
3068
+ stack["delete"](object);
3069
+ return result;
3070
+ case symbolTag2:
3071
+ if (symbolValueOf) {
3072
+ return symbolValueOf.call(object) == symbolValueOf.call(other);
3073
+ }
3074
+ }
3075
+ return false;
3076
+ }
3077
+ var equalByTag_default = equalByTag;
3078
+
3079
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_equalObjects.js
3080
+ var COMPARE_PARTIAL_FLAG3 = 1;
3081
+ var objectProto14 = Object.prototype;
3082
+ var hasOwnProperty11 = objectProto14.hasOwnProperty;
3083
+ function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
3084
+ var isPartial = bitmask & COMPARE_PARTIAL_FLAG3, objProps = getAllKeys_default(object), objLength = objProps.length, othProps = getAllKeys_default(other), othLength = othProps.length;
3085
+ if (objLength != othLength && !isPartial) {
3086
+ return false;
3087
+ }
3088
+ var index = objLength;
3089
+ while (index--) {
3090
+ var key = objProps[index];
3091
+ if (!(isPartial ? key in other : hasOwnProperty11.call(other, key))) {
3092
+ return false;
3093
+ }
3094
+ }
3095
+ var objStacked = stack.get(object);
3096
+ var othStacked = stack.get(other);
3097
+ if (objStacked && othStacked) {
3098
+ return objStacked == other && othStacked == object;
3099
+ }
3100
+ var result = true;
3101
+ stack.set(object, other);
3102
+ stack.set(other, object);
3103
+ var skipCtor = isPartial;
3104
+ while (++index < objLength) {
3105
+ key = objProps[index];
3106
+ var objValue = object[key], othValue = other[key];
3107
+ if (customizer) {
3108
+ var compared = isPartial ? customizer(othValue, objValue, key, other, object, stack) : customizer(objValue, othValue, key, object, other, stack);
3109
+ }
3110
+ if (!(compared === void 0 ? objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack) : compared)) {
3111
+ result = false;
3112
+ break;
3113
+ }
3114
+ skipCtor || (skipCtor = key == "constructor");
3115
+ }
3116
+ if (result && !skipCtor) {
3117
+ var objCtor = object.constructor, othCtor = other.constructor;
3118
+ if (objCtor != othCtor && ("constructor" in object && "constructor" in other) && !(typeof objCtor == "function" && objCtor instanceof objCtor && typeof othCtor == "function" && othCtor instanceof othCtor)) {
3119
+ result = false;
3120
+ }
3121
+ }
3122
+ stack["delete"](object);
3123
+ stack["delete"](other);
3124
+ return result;
3125
+ }
3126
+ var equalObjects_default = equalObjects;
3127
+
3128
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_baseIsEqualDeep.js
3129
+ var COMPARE_PARTIAL_FLAG4 = 1;
3130
+ var argsTag3 = "[object Arguments]";
3131
+ var arrayTag2 = "[object Array]";
3132
+ var objectTag4 = "[object Object]";
3133
+ var objectProto15 = Object.prototype;
3134
+ var hasOwnProperty12 = objectProto15.hasOwnProperty;
3135
+ function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
3136
+ var objIsArr = isArray_default(object), othIsArr = isArray_default(other), objTag = objIsArr ? arrayTag2 : getTag_default(object), othTag = othIsArr ? arrayTag2 : getTag_default(other);
3137
+ objTag = objTag == argsTag3 ? objectTag4 : objTag;
3138
+ othTag = othTag == argsTag3 ? objectTag4 : othTag;
3139
+ var objIsObj = objTag == objectTag4, othIsObj = othTag == objectTag4, isSameTag = objTag == othTag;
3140
+ if (isSameTag && isBuffer_default(object)) {
3141
+ if (!isBuffer_default(other)) {
3142
+ return false;
3143
+ }
3144
+ objIsArr = true;
3145
+ objIsObj = false;
3146
+ }
3147
+ if (isSameTag && !objIsObj) {
3148
+ stack || (stack = new Stack_default());
3149
+ return objIsArr || isTypedArray_default(object) ? equalArrays_default(object, other, bitmask, customizer, equalFunc, stack) : equalByTag_default(object, other, objTag, bitmask, customizer, equalFunc, stack);
3150
+ }
3151
+ if (!(bitmask & COMPARE_PARTIAL_FLAG4)) {
3152
+ var objIsWrapped = objIsObj && hasOwnProperty12.call(object, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty12.call(other, "__wrapped__");
3153
+ if (objIsWrapped || othIsWrapped) {
3154
+ var objUnwrapped = objIsWrapped ? object.value() : object, othUnwrapped = othIsWrapped ? other.value() : other;
3155
+ stack || (stack = new Stack_default());
3156
+ return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
3157
+ }
3158
+ }
3159
+ if (!isSameTag) {
3160
+ return false;
3161
+ }
3162
+ stack || (stack = new Stack_default());
3163
+ return equalObjects_default(object, other, bitmask, customizer, equalFunc, stack);
3164
+ }
3165
+ var baseIsEqualDeep_default = baseIsEqualDeep;
3166
+
3167
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_baseIsEqual.js
3168
+ function baseIsEqual(value, other, bitmask, customizer, stack) {
3169
+ if (value === other) {
3170
+ return true;
3171
+ }
3172
+ if (value == null || other == null || !isObjectLike_default(value) && !isObjectLike_default(other)) {
3173
+ return value !== value && other !== other;
3174
+ }
3175
+ return baseIsEqualDeep_default(value, other, bitmask, customizer, baseIsEqual, stack);
3176
+ }
3177
+ var baseIsEqual_default = baseIsEqual;
3178
+
3179
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_hasPath.js
3180
+ function hasPath(object, path, hasFunc) {
3181
+ path = castPath_default(path, object);
3182
+ var index = -1, length = path.length, result = false;
3183
+ while (++index < length) {
3184
+ var key = toKey_default(path[index]);
3185
+ if (!(result = object != null && hasFunc(object, key))) {
3186
+ break;
3187
+ }
3188
+ object = object[key];
3189
+ }
3190
+ if (result || ++index != length) {
3191
+ return result;
3192
+ }
3193
+ length = object == null ? 0 : object.length;
3194
+ return !!length && isLength_default(length) && isIndex_default(key, length) && (isArray_default(object) || isArguments_default(object));
3195
+ }
3196
+ var hasPath_default = hasPath;
3197
+
3198
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_escapeHtmlChar.js
3199
+ var htmlEscapes = {
3200
+ "&": "&amp;",
3201
+ "<": "&lt;",
3202
+ ">": "&gt;",
3203
+ '"': "&quot;",
3204
+ "'": "&#39;"
3205
+ };
3206
+ var escapeHtmlChar = basePropertyOf_default(htmlEscapes);
3207
+ var escapeHtmlChar_default = escapeHtmlChar;
3208
+
3209
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/escape.js
3210
+ var reUnescapedHtml = /[&<>"']/g;
3211
+ var reHasUnescapedHtml = RegExp(reUnescapedHtml.source);
3212
+ function escape(string) {
3213
+ string = toString_default(string);
3214
+ return string && reHasUnescapedHtml.test(string) ? string.replace(reUnescapedHtml, escapeHtmlChar_default) : string;
3215
+ }
3216
+ var escape_default = escape;
3217
+
3218
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_baseHas.js
3219
+ var objectProto16 = Object.prototype;
3220
+ var hasOwnProperty13 = objectProto16.hasOwnProperty;
3221
+ function baseHas(object, key) {
3222
+ return object != null && hasOwnProperty13.call(object, key);
3223
+ }
3224
+ var baseHas_default = baseHas;
3225
+
3226
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/has.js
3227
+ function has(object, path) {
3228
+ return object != null && hasPath_default(object, path, baseHas_default);
3229
+ }
3230
+ var has_default = has;
3231
+
3232
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_baseValues.js
3233
+ function baseValues(object, props) {
3234
+ return arrayMap_default(props, function(key) {
3235
+ return object[key];
3236
+ });
3237
+ }
3238
+ var baseValues_default = baseValues;
3239
+
3240
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/isEqual.js
3241
+ function isEqual(value, other) {
3242
+ return baseIsEqual_default(value, other);
3243
+ }
3244
+ var isEqual_default = isEqual;
3245
+
3246
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_customDefaultsAssignIn.js
3247
+ var objectProto17 = Object.prototype;
3248
+ var hasOwnProperty14 = objectProto17.hasOwnProperty;
3249
+ function customDefaultsAssignIn(objValue, srcValue, key, object) {
3250
+ if (objValue === void 0 || eq_default(objValue, objectProto17[key]) && !hasOwnProperty14.call(object, key)) {
3251
+ return srcValue;
3252
+ }
3253
+ return objValue;
3254
+ }
3255
+ var customDefaultsAssignIn_default = customDefaultsAssignIn;
3256
+
3257
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_escapeStringChar.js
3258
+ var stringEscapes = {
3259
+ "\\": "\\",
3260
+ "'": "'",
3261
+ "\n": "n",
3262
+ "\r": "r",
3263
+ "\u2028": "u2028",
3264
+ "\u2029": "u2029"
3265
+ };
3266
+ function escapeStringChar(chr) {
3267
+ return "\\" + stringEscapes[chr];
3268
+ }
3269
+ var escapeStringChar_default = escapeStringChar;
3270
+
3271
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_reInterpolate.js
3272
+ var reInterpolate = /<%=([\s\S]+?)%>/g;
3273
+ var reInterpolate_default = reInterpolate;
3274
+
3275
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_reEscape.js
3276
+ var reEscape = /<%-([\s\S]+?)%>/g;
3277
+ var reEscape_default = reEscape;
3278
+
3279
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/_reEvaluate.js
3280
+ var reEvaluate = /<%([\s\S]+?)%>/g;
3281
+ var reEvaluate_default = reEvaluate;
3282
+
3283
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/templateSettings.js
3284
+ var templateSettings = {
3285
+ /**
3286
+ * Used to detect `data` property values to be HTML-escaped.
3287
+ *
3288
+ * @memberOf _.templateSettings
3289
+ * @type {RegExp}
3290
+ */
3291
+ "escape": reEscape_default,
3292
+ /**
3293
+ * Used to detect code to be evaluated.
3294
+ *
3295
+ * @memberOf _.templateSettings
3296
+ * @type {RegExp}
3297
+ */
3298
+ "evaluate": reEvaluate_default,
3299
+ /**
3300
+ * Used to detect `data` property values to inject.
3301
+ *
3302
+ * @memberOf _.templateSettings
3303
+ * @type {RegExp}
3304
+ */
3305
+ "interpolate": reInterpolate_default,
3306
+ /**
3307
+ * Used to reference the data object in the template text.
3308
+ *
3309
+ * @memberOf _.templateSettings
3310
+ * @type {string}
3311
+ */
3312
+ "variable": "",
3313
+ /**
3314
+ * Used to import variables into the compiled template.
3315
+ *
3316
+ * @memberOf _.templateSettings
3317
+ * @type {Object}
3318
+ */
3319
+ "imports": {
3320
+ /**
3321
+ * A reference to the `lodash` function.
3322
+ *
3323
+ * @memberOf _.templateSettings.imports
3324
+ * @type {Function}
3325
+ */
3326
+ "_": { "escape": escape_default }
3327
+ }
3328
+ };
3329
+ var templateSettings_default = templateSettings;
3330
+
3331
+ // ../../node_modules/.pnpm/lodash-es@4.17.22/node_modules/lodash-es/template.js
3332
+ var INVALID_TEMPL_VAR_ERROR_TEXT = "Invalid `variable` option passed into `_.template`";
3333
+ var reEmptyStringLeading = /\b__p \+= '';/g;
3334
+ var reEmptyStringMiddle = /\b(__p \+=) '' \+/g;
3335
+ var reEmptyStringTrailing = /(__e\(.*?\)|\b__t\)) \+\n'';/g;
3336
+ var reForbiddenIdentifierChars = /[()=,{}\[\]\/\s]/;
3337
+ var reEsTemplate = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;
3338
+ var reNoMatch = /($^)/;
3339
+ var reUnescapedString = /['\n\r\u2028\u2029\\]/g;
3340
+ var objectProto18 = Object.prototype;
3341
+ var hasOwnProperty15 = objectProto18.hasOwnProperty;
3342
+ function template(string, options, guard) {
3343
+ var settings = templateSettings_default.imports._.templateSettings || templateSettings_default;
3344
+ if (guard && isIterateeCall_default(string, options, guard)) {
3345
+ options = void 0;
3346
+ }
3347
+ string = toString_default(string);
3348
+ options = assignInWith_default({}, options, settings, customDefaultsAssignIn_default);
3349
+ var imports = assignInWith_default({}, options.imports, settings.imports, customDefaultsAssignIn_default), importsKeys = keys_default(imports), importsValues = baseValues_default(imports, importsKeys);
3350
+ var isEscaping, isEvaluating, index = 0, interpolate = options.interpolate || reNoMatch, source = "__p += '";
3351
+ var reDelimiters = RegExp(
3352
+ (options.escape || reNoMatch).source + "|" + interpolate.source + "|" + (interpolate === reInterpolate_default ? reEsTemplate : reNoMatch).source + "|" + (options.evaluate || reNoMatch).source + "|$",
3353
+ "g"
3354
+ );
3355
+ var sourceURL = hasOwnProperty15.call(options, "sourceURL") ? "//# sourceURL=" + (options.sourceURL + "").replace(/\s/g, " ") + "\n" : "";
3356
+ string.replace(reDelimiters, function(match, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) {
3357
+ interpolateValue || (interpolateValue = esTemplateValue);
3358
+ source += string.slice(index, offset).replace(reUnescapedString, escapeStringChar_default);
3359
+ if (escapeValue) {
3360
+ isEscaping = true;
3361
+ source += "' +\n__e(" + escapeValue + ") +\n'";
3362
+ }
3363
+ if (evaluateValue) {
3364
+ isEvaluating = true;
3365
+ source += "';\n" + evaluateValue + ";\n__p += '";
3366
+ }
3367
+ if (interpolateValue) {
3368
+ source += "' +\n((__t = (" + interpolateValue + ")) == null ? '' : __t) +\n'";
3369
+ }
3370
+ index = offset + match.length;
3371
+ return match;
3372
+ });
3373
+ source += "';\n";
3374
+ var variable = hasOwnProperty15.call(options, "variable") && options.variable;
3375
+ if (!variable) {
3376
+ source = "with (obj) {\n" + source + "\n}\n";
3377
+ } else if (reForbiddenIdentifierChars.test(variable)) {
3378
+ throw new Error(INVALID_TEMPL_VAR_ERROR_TEXT);
3379
+ }
3380
+ source = (isEvaluating ? source.replace(reEmptyStringLeading, "") : source).replace(reEmptyStringMiddle, "$1").replace(reEmptyStringTrailing, "$1;");
3381
+ source = "function(" + (variable || "obj") + ") {\n" + (variable ? "" : "obj || (obj = {});\n") + "var __t, __p = ''" + (isEscaping ? ", __e = _.escape" : "") + (isEvaluating ? ", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n" : ";\n") + source + "return __p\n}";
3382
+ var result = attempt_default(function() {
3383
+ return Function(importsKeys, sourceURL + "return " + source).apply(void 0, importsValues);
3384
+ });
3385
+ result.source = source;
3386
+ if (isError_default(result)) {
3387
+ throw result;
3388
+ }
3389
+ return result;
3390
+ }
3391
+ var template_default = template;
7
3392
 
8
3393
  // src/locale/hooks.ts
9
- var ToolkitsContext = createContext(null);
10
- function useToolkitsStore(selector) {
11
- const store = useContext(ToolkitsContext);
3394
+ var import_react3 = __toESM(require_react());
3395
+
3396
+ // src/components/toolkitProvider/ToolkitProvider.tsx
3397
+ var import_react2 = __toESM(require_react());
3398
+
3399
+ // ../../node_modules/.pnpm/zustand@5.0.9_@types+react@19.2.7_immer@11.1.0_react@19.2.3/node_modules/zustand/esm/vanilla.mjs
3400
+ var createStoreImpl = (createState) => {
3401
+ let state;
3402
+ const listeners = /* @__PURE__ */ new Set();
3403
+ const setState = (partial, replace) => {
3404
+ const nextState = typeof partial === "function" ? partial(state) : partial;
3405
+ if (!Object.is(nextState, state)) {
3406
+ const previousState = state;
3407
+ state = (replace != null ? replace : typeof nextState !== "object" || nextState === null) ? nextState : Object.assign({}, state, nextState);
3408
+ listeners.forEach((listener) => listener(state, previousState));
3409
+ }
3410
+ };
3411
+ const getState = () => state;
3412
+ const getInitialState = () => initialState;
3413
+ const subscribe = (listener) => {
3414
+ listeners.add(listener);
3415
+ return () => listeners.delete(listener);
3416
+ };
3417
+ const api = { setState, getState, getInitialState, subscribe };
3418
+ const initialState = state = createState(setState, getState, api);
3419
+ return api;
3420
+ };
3421
+ var createStore = ((createState) => createState ? createStoreImpl(createState) : createStoreImpl);
3422
+
3423
+ // ../../node_modules/.pnpm/zustand@5.0.9_@types+react@19.2.7_immer@11.1.0_react@19.2.3/node_modules/zustand/esm/react.mjs
3424
+ var import_react = __toESM(require_react());
3425
+ var identity2 = (arg) => arg;
3426
+ function useStore(api, selector = identity2) {
3427
+ const slice = import_react.default.useSyncExternalStore(
3428
+ api.subscribe,
3429
+ import_react.default.useCallback(() => selector(api.getState()), [api, selector]),
3430
+ import_react.default.useCallback(() => selector(api.getInitialState()), [api, selector])
3431
+ );
3432
+ import_react.default.useDebugValue(slice);
3433
+ return slice;
3434
+ }
3435
+ var createImpl = (createState) => {
3436
+ const api = createStore(createState);
3437
+ const useBoundStore = (selector) => useStore(api, selector);
3438
+ Object.assign(useBoundStore, api);
3439
+ return useBoundStore;
3440
+ };
3441
+ var create = ((createState) => createImpl);
3442
+
3443
+ // ../../node_modules/.pnpm/jwt-decode@4.0.0/node_modules/jwt-decode/build/esm/index.js
3444
+ var InvalidTokenError = class extends Error {
3445
+ };
3446
+ InvalidTokenError.prototype.name = "InvalidTokenError";
3447
+ function b64DecodeUnicode(str) {
3448
+ return decodeURIComponent(atob(str).replace(/(.)/g, (m, p) => {
3449
+ let code = p.charCodeAt(0).toString(16).toUpperCase();
3450
+ if (code.length < 2) {
3451
+ code = "0" + code;
3452
+ }
3453
+ return "%" + code;
3454
+ }));
3455
+ }
3456
+ function base64UrlDecode(str) {
3457
+ let output = str.replace(/-/g, "+").replace(/_/g, "/");
3458
+ switch (output.length % 4) {
3459
+ case 0:
3460
+ break;
3461
+ case 2:
3462
+ output += "==";
3463
+ break;
3464
+ case 3:
3465
+ output += "=";
3466
+ break;
3467
+ default:
3468
+ throw new Error("base64 string is not of the correct length");
3469
+ }
3470
+ try {
3471
+ return b64DecodeUnicode(output);
3472
+ } catch (err) {
3473
+ return atob(output);
3474
+ }
3475
+ }
3476
+ function jwtDecode(token, options) {
3477
+ if (typeof token !== "string") {
3478
+ throw new InvalidTokenError("Invalid token specified: must be a string");
3479
+ }
3480
+ options || (options = {});
3481
+ const pos = options.header === true ? 0 : 1;
3482
+ const part = token.split(".")[pos];
3483
+ if (typeof part !== "string") {
3484
+ throw new InvalidTokenError(`Invalid token specified: missing part #${pos + 1}`);
3485
+ }
3486
+ let decoded;
3487
+ try {
3488
+ decoded = base64UrlDecode(part);
3489
+ } catch (e) {
3490
+ throw new InvalidTokenError(`Invalid token specified: invalid base64 for part #${pos + 1} (${e.message})`);
3491
+ }
3492
+ try {
3493
+ return JSON.parse(decoded);
3494
+ } catch (e) {
3495
+ throw new InvalidTokenError(`Invalid token specified: invalid json for part #${pos + 1} (${e.message})`);
3496
+ }
3497
+ }
3498
+
3499
+ // ../../node_modules/.pnpm/zustand@5.0.9_@types+react@19.2.7_immer@11.1.0_react@19.2.3/node_modules/zustand/esm/middleware.mjs
3500
+ function createJSONStorage(getStorage, options) {
3501
+ let storage;
3502
+ try {
3503
+ storage = getStorage();
3504
+ } catch (e) {
3505
+ return;
3506
+ }
3507
+ const persistStorage = {
3508
+ getItem: (name) => {
3509
+ var _a;
3510
+ const parse = (str2) => {
3511
+ if (str2 === null) {
3512
+ return null;
3513
+ }
3514
+ return JSON.parse(str2, void 0 );
3515
+ };
3516
+ const str = (_a = storage.getItem(name)) != null ? _a : null;
3517
+ if (str instanceof Promise) {
3518
+ return str.then(parse);
3519
+ }
3520
+ return parse(str);
3521
+ },
3522
+ setItem: (name, newValue) => storage.setItem(name, JSON.stringify(newValue, void 0 )),
3523
+ removeItem: (name) => storage.removeItem(name)
3524
+ };
3525
+ return persistStorage;
3526
+ }
3527
+ var toThenable = (fn) => (input) => {
3528
+ try {
3529
+ const result = fn(input);
3530
+ if (result instanceof Promise) {
3531
+ return result;
3532
+ }
3533
+ return {
3534
+ then(onFulfilled) {
3535
+ return toThenable(onFulfilled)(result);
3536
+ },
3537
+ catch(_onRejected) {
3538
+ return this;
3539
+ }
3540
+ };
3541
+ } catch (e) {
3542
+ return {
3543
+ then(_onFulfilled) {
3544
+ return this;
3545
+ },
3546
+ catch(onRejected) {
3547
+ return toThenable(onRejected)(e);
3548
+ }
3549
+ };
3550
+ }
3551
+ };
3552
+ var persistImpl = (config, baseOptions) => (set, get2, api) => {
3553
+ let options = {
3554
+ storage: createJSONStorage(() => localStorage),
3555
+ partialize: (state) => state,
3556
+ version: 0,
3557
+ merge: (persistedState, currentState) => ({
3558
+ ...currentState,
3559
+ ...persistedState
3560
+ }),
3561
+ ...baseOptions
3562
+ };
3563
+ let hasHydrated = false;
3564
+ const hydrationListeners = /* @__PURE__ */ new Set();
3565
+ const finishHydrationListeners = /* @__PURE__ */ new Set();
3566
+ let storage = options.storage;
3567
+ if (!storage) {
3568
+ return config(
3569
+ (...args) => {
3570
+ console.warn(
3571
+ `[zustand persist middleware] Unable to update item '${options.name}', the given storage is currently unavailable.`
3572
+ );
3573
+ set(...args);
3574
+ },
3575
+ get2,
3576
+ api
3577
+ );
3578
+ }
3579
+ const setItem = () => {
3580
+ const state = options.partialize({ ...get2() });
3581
+ return storage.setItem(options.name, {
3582
+ state,
3583
+ version: options.version
3584
+ });
3585
+ };
3586
+ const savedSetState = api.setState;
3587
+ api.setState = (state, replace) => {
3588
+ savedSetState(state, replace);
3589
+ return setItem();
3590
+ };
3591
+ const configResult = config(
3592
+ (...args) => {
3593
+ set(...args);
3594
+ return setItem();
3595
+ },
3596
+ get2,
3597
+ api
3598
+ );
3599
+ api.getInitialState = () => configResult;
3600
+ let stateFromStorage;
3601
+ const hydrate = () => {
3602
+ var _a, _b;
3603
+ if (!storage) return;
3604
+ hasHydrated = false;
3605
+ hydrationListeners.forEach((cb) => {
3606
+ var _a2;
3607
+ return cb((_a2 = get2()) != null ? _a2 : configResult);
3608
+ });
3609
+ const postRehydrationCallback = ((_b = options.onRehydrateStorage) == null ? void 0 : _b.call(options, (_a = get2()) != null ? _a : configResult)) || void 0;
3610
+ return toThenable(storage.getItem.bind(storage))(options.name).then((deserializedStorageValue) => {
3611
+ if (deserializedStorageValue) {
3612
+ if (typeof deserializedStorageValue.version === "number" && deserializedStorageValue.version !== options.version) {
3613
+ if (options.migrate) {
3614
+ const migration = options.migrate(
3615
+ deserializedStorageValue.state,
3616
+ deserializedStorageValue.version
3617
+ );
3618
+ if (migration instanceof Promise) {
3619
+ return migration.then((result) => [true, result]);
3620
+ }
3621
+ return [true, migration];
3622
+ }
3623
+ console.error(
3624
+ `State loaded from storage couldn't be migrated since no migrate function was provided`
3625
+ );
3626
+ } else {
3627
+ return [false, deserializedStorageValue.state];
3628
+ }
3629
+ }
3630
+ return [false, void 0];
3631
+ }).then((migrationResult) => {
3632
+ var _a2;
3633
+ const [migrated, migratedState] = migrationResult;
3634
+ stateFromStorage = options.merge(
3635
+ migratedState,
3636
+ (_a2 = get2()) != null ? _a2 : configResult
3637
+ );
3638
+ set(stateFromStorage, true);
3639
+ if (migrated) {
3640
+ return setItem();
3641
+ }
3642
+ }).then(() => {
3643
+ postRehydrationCallback == null ? void 0 : postRehydrationCallback(stateFromStorage, void 0);
3644
+ stateFromStorage = get2();
3645
+ hasHydrated = true;
3646
+ finishHydrationListeners.forEach((cb) => cb(stateFromStorage));
3647
+ }).catch((e) => {
3648
+ postRehydrationCallback == null ? void 0 : postRehydrationCallback(void 0, e);
3649
+ });
3650
+ };
3651
+ api.persist = {
3652
+ setOptions: (newOptions) => {
3653
+ options = {
3654
+ ...options,
3655
+ ...newOptions
3656
+ };
3657
+ if (newOptions.storage) {
3658
+ storage = newOptions.storage;
3659
+ }
3660
+ },
3661
+ clearStorage: () => {
3662
+ storage == null ? void 0 : storage.removeItem(options.name);
3663
+ },
3664
+ getOptions: () => options,
3665
+ rehydrate: () => hydrate(),
3666
+ hasHydrated: () => hasHydrated,
3667
+ onHydrate: (cb) => {
3668
+ hydrationListeners.add(cb);
3669
+ return () => {
3670
+ hydrationListeners.delete(cb);
3671
+ };
3672
+ },
3673
+ onFinishHydration: (cb) => {
3674
+ finishHydrationListeners.add(cb);
3675
+ return () => {
3676
+ finishHydrationListeners.delete(cb);
3677
+ };
3678
+ }
3679
+ };
3680
+ if (!options.skipHydration) {
3681
+ hydrate();
3682
+ }
3683
+ return stateFromStorage || configResult;
3684
+ };
3685
+ var persist = persistImpl;
3686
+
3687
+ // src/locale/zh_CN.ts
3688
+ var locale = {
3689
+ global: {
3690
+ noEntitlement: "\u65E0\u6743\u9650\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458",
3691
+ name: "\u540D\u79F0",
3692
+ creationTime: "\u521B\u5EFA\u65F6\u95F4",
3693
+ operation: "\u64CD\u4F5C",
3694
+ update: "\u66F4\u65B0",
3695
+ edit: "\u7F16\u8F91",
3696
+ delete: "\u5220\u9664",
3697
+ selectAll: "\u5168\u9009",
3698
+ game: "\u6E38\u620F",
3699
+ user: "\u7528\u6237",
3700
+ role: "\u89D2\u8272",
3701
+ username: "\u7528\u6237\u540D",
3702
+ password: "\u5BC6\u7801",
3703
+ label: "\u6807\u7B7E",
3704
+ method: "\u65B9\u6CD5",
3705
+ route: "\u8DEF\u7531",
3706
+ request: "\u8BF7\u6C42",
3707
+ response: "\u54CD\u5E94",
3708
+ add: "\u6DFB\u52A0",
3709
+ signIn: "\u767B\u5F55",
3710
+ projectGroup: "\u9879\u76EE\u7EC4",
3711
+ view: "\u67E5\u770B",
3712
+ back: "\u8FD4\u56DE"
3713
+ },
3714
+ SignIn: {
3715
+ title: "\u767B\u5F55\u65B9\u5F0F",
3716
+ signInWithIDass: "IDass \u767B\u5F55",
3717
+ unregistered: "\u60A8\u8FD8\u672A\u5728\u5E73\u53F0\u6CE8\u518C\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458",
3718
+ welcome: "\u6B22\u8FCE"
3719
+ },
3720
+ NotFound: {
3721
+ subTitle: "\u8BBF\u95EE\u7684\u9875\u9762\u4E0D\u5B58\u5728",
3722
+ buttonText: "\u8FD4\u56DE\u9996\u9875"
3723
+ },
3724
+ FilterFormWrapper: {
3725
+ confirmText: "\u67E5\u8BE2",
3726
+ resetText: "\u91CD\u7F6E"
3727
+ },
3728
+ FormModal: {
3729
+ confirmText: "\u786E\u8BA4",
3730
+ cancelText: "\u53D6\u6D88"
3731
+ },
3732
+ GameSelect: {
3733
+ label: "\u5F53\u524D\u6E38\u620F",
3734
+ placeholder: "\u8BF7\u9009\u62E9\u6E38\u620F"
3735
+ },
3736
+ RequireGame: {
3737
+ description: "\u8BF7\u9009\u62E9\u6E38\u620F"
3738
+ },
3739
+ UserDropdown: {
3740
+ signOutText: "\u767B\u51FA"
3741
+ },
3742
+ User: {
3743
+ createTitle: "\u521B\u5EFA\u7528\u6237",
3744
+ createSuccessfully: "\u7528\u6237\u521B\u5EFA\u6210\u529F",
3745
+ updateTitle: "\u66F4\u65B0\u7528\u6237",
3746
+ updateSuccessfully: "\u7528\u6237\u66F4\u65B0\u6210\u529F",
3747
+ deleteTitle: "\u5220\u9664\u7528\u6237",
3748
+ deleteContent: "\u786E\u5B9A\u8981\u5220\u9664\u7528\u6237 <%= user %> \u5417\uFF1F",
3749
+ deleteSuccessfully: "\u7528\u6237\u5220\u9664\u6210\u529F"
3750
+ },
3751
+ Role: {
3752
+ createTitle: "\u521B\u5EFA\u89D2\u8272",
3753
+ createSuccessfully: "\u89D2\u8272\u521B\u5EFA\u6210\u529F",
3754
+ updateTitle: "\u66F4\u65B0\u89D2\u8272",
3755
+ updateSuccessfully: "\u89D2\u8272\u66F4\u65B0\u6210\u529F",
3756
+ deleteTitle: "\u5220\u9664\u89D2\u8272",
3757
+ deleteContent: "\u786E\u5B9A\u8981\u5220\u9664\u89D2\u8272 <%= role %> \u5417\uFF1F",
3758
+ deleteSuccessfully: "\u89D2\u8272\u5220\u9664\u6210\u529F"
3759
+ },
3760
+ PermissionList: {
3761
+ failedDescription: "\u83B7\u53D6\u6743\u9650\u5217\u8868\u5931\u8D25",
3762
+ baseSectionTitle: "\u5E73\u53F0\u57FA\u7840\u6743\u9650",
3763
+ gameSectionTitle: "\u6E38\u620F\u6743\u9650",
3764
+ gameSectionDescription: "\u8BF7\u5148\u9009\u62E9\u6E38\u620F",
3765
+ gameSelectPlaceholder: "\u8BF7\u5148\u9009\u62E9\u6E38\u620F",
3766
+ removeText: "\u79FB\u9664",
3767
+ addText: "\u6DFB\u52A0\u6E38\u620F\u6743\u9650"
3768
+ },
3769
+ RoleDetail: {
3770
+ title: "\u89D2\u8272\u8BE6\u60C5"
3771
+ },
3772
+ InfiniteList: {
3773
+ loadingText: "\u52A0\u8F7D\u4E2D",
3774
+ reachEndText: "\u5DF2\u7ECF\u5230\u5E95\u4E86",
3775
+ loadMoreText: "\u52A0\u8F7D\u66F4\u591A"
3776
+ }
3777
+ };
3778
+ var zh_CN_default = locale;
3779
+
3780
+ // src/utils/mixedStorage.ts
3781
+ var mixedStorage = {
3782
+ getItem(name) {
3783
+ return sessionStorage.getItem(name) ?? localStorage.getItem(name);
3784
+ },
3785
+ setItem(name, value) {
3786
+ sessionStorage.setItem(name, value);
3787
+ localStorage.setItem(name, value);
3788
+ },
3789
+ removeItem(name) {
3790
+ sessionStorage.removeItem(name);
3791
+ localStorage.removeItem(name);
3792
+ }
3793
+ };
3794
+
3795
+ // src/stores/index.ts
3796
+ var defaultContextSlice = {
3797
+ useGameApiV2: false,
3798
+ loginPath: "/sign_in",
3799
+ homePath: "/",
3800
+ sidebarWidth: 250,
3801
+ sidebarCollapsible: false,
3802
+ gameScoped: false,
3803
+ locale: zh_CN_default,
3804
+ authMode: "game_scoped" /* GAME_SCOPED */
3805
+ };
3806
+ var decodeToken = (token) => {
3807
+ if (!token) return null;
3808
+ try {
3809
+ return jwtDecode(token);
3810
+ } catch {
3811
+ return null;
3812
+ }
3813
+ };
3814
+ var createStore2 = (initProps) => {
3815
+ return create()(
3816
+ persist(
3817
+ (set, get2, store) => {
3818
+ const context = {
3819
+ ...defaultContextSlice,
3820
+ ...initProps
3821
+ };
3822
+ return {
3823
+ // Context 配置
3824
+ context,
3825
+ // Token 状态
3826
+ token: {
3827
+ token: void 0,
3828
+ user: null,
3829
+ setToken: (token) => {
3830
+ set((state) => ({
3831
+ token: {
3832
+ ...state.token,
3833
+ token,
3834
+ user: decodeToken(token)
3835
+ }
3836
+ }));
3837
+ },
3838
+ clearToken: () => {
3839
+ set((state) => ({
3840
+ token: {
3841
+ ...state.token,
3842
+ token: void 0,
3843
+ user: null
3844
+ }
3845
+ }));
3846
+ }
3847
+ },
3848
+ // Game 状态
3849
+ game: {
3850
+ appId: void 0,
3851
+ setAppId: (id) => {
3852
+ set((state) => ({
3853
+ game: {
3854
+ ...state.game,
3855
+ appId: id
3856
+ }
3857
+ }));
3858
+ }
3859
+ },
3860
+ // Layout 状态
3861
+ layout: {
3862
+ collapsed: false,
3863
+ toggleCollapsed: () => {
3864
+ set((state) => ({
3865
+ layout: {
3866
+ ...state.layout,
3867
+ collapsed: !state.layout.collapsed
3868
+ }
3869
+ }));
3870
+ }
3871
+ },
3872
+ // Nav 状态
3873
+ nav: {
3874
+ openKeys: [],
3875
+ selectedKeys: [],
3876
+ setOpenKeys: (keys2) => {
3877
+ const current = get2();
3878
+ if (!isEqual_default(current.nav.openKeys, keys2)) {
3879
+ set((state) => ({
3880
+ nav: {
3881
+ ...state.nav,
3882
+ openKeys: keys2
3883
+ }
3884
+ }));
3885
+ }
3886
+ },
3887
+ setSelectedKeys: (keys2) => {
3888
+ const current = get2();
3889
+ if (!isEqual_default(current.nav.selectedKeys, keys2)) {
3890
+ set((state) => ({
3891
+ nav: {
3892
+ ...state.nav,
3893
+ selectedKeys: keys2
3894
+ }
3895
+ }));
3896
+ }
3897
+ }
3898
+ },
3899
+ // 清除所有状态
3900
+ clear: () => {
3901
+ get2().token.clearToken();
3902
+ store.persist.clearStorage();
3903
+ }
3904
+ };
3905
+ },
3906
+ {
3907
+ name: "ToolkitStore",
3908
+ storage: createJSONStorage(() => mixedStorage),
3909
+ partialize: (state) => ({
3910
+ token: state.token.token,
3911
+ appId: state.game.appId,
3912
+ user: state.token.user,
3913
+ collapsed: state.layout.collapsed,
3914
+ openKeys: state.nav.openKeys,
3915
+ selectedKeys: state.nav.selectedKeys
3916
+ }),
3917
+ merge: (persistedState, currentState) => {
3918
+ const { token, user, appId, collapsed, openKeys, selectedKeys } = persistedState;
3919
+ return {
3920
+ ...currentState,
3921
+ token: { ...currentState.token, token, user },
3922
+ game: { ...currentState.game, appId },
3923
+ layout: { ...currentState.layout, collapsed: collapsed ?? currentState.layout.collapsed },
3924
+ nav: {
3925
+ ...currentState.nav,
3926
+ openKeys: openKeys ?? currentState.nav.openKeys,
3927
+ selectedKeys: selectedKeys ?? currentState.nav.selectedKeys
3928
+ }
3929
+ };
3930
+ }
3931
+ }
3932
+ )
3933
+ );
3934
+ };
3935
+ createStore2();
3936
+
3937
+ // src/components/toolkitProvider/ToolkitProvider.tsx
3938
+ __toESM(require_jsx_runtime());
3939
+ var ToolkitContext = (0, import_react2.createContext)(null);
3940
+ function useToolkitStore(selector) {
3941
+ const store = (0, import_react2.useContext)(ToolkitContext);
12
3942
  if (!store) {
13
3943
  const componentStack = new Error().stack;
14
3944
  const componentName = componentStack?.split("\n")[2]?.trim() || "Unknown";
15
3945
  throw new Error(
16
- `Missing ToolkitsProvider in the tree. Component "${componentName}" must be wrapped with <ToolkitsProvider>. Please ensure ToolkitsProvider is rendered above this component in the component tree.`
3946
+ `Missing ToolkitProvider in the tree. Component "${componentName}" must be wrapped with <ToolkitProvider>. Please ensure ToolkitProvider is rendered above this component in the component tree.`
17
3947
  );
18
3948
  }
19
3949
  return useStore(store, ((state) => state));
@@ -24,12 +3954,69 @@ if (process.env.NODE_ENV !== "production") ;
24
3954
  function useTranslation() {
25
3955
  const {
26
3956
  context: { locale: locale2 }
27
- } = useToolkitsStore();
28
- const t = useMemo(
29
- () => (key, data) => has(locale2, key) ? template(get(locale2, key))(data) : key,
3957
+ } = useToolkitStore();
3958
+ const t = (0, import_react3.useMemo)(
3959
+ () => (key, data) => has_default(locale2, key) ? template_default(get_default(locale2, key))(data) : key,
30
3960
  [locale2]
31
3961
  );
32
3962
  return { t };
33
3963
  }
3964
+ /*! Bundled license information:
3965
+
3966
+ react/cjs/react.production.js:
3967
+ (**
3968
+ * @license React
3969
+ * react.production.js
3970
+ *
3971
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3972
+ *
3973
+ * This source code is licensed under the MIT license found in the
3974
+ * LICENSE file in the root directory of this source tree.
3975
+ *)
3976
+
3977
+ react/cjs/react.development.js:
3978
+ (**
3979
+ * @license React
3980
+ * react.development.js
3981
+ *
3982
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3983
+ *
3984
+ * This source code is licensed under the MIT license found in the
3985
+ * LICENSE file in the root directory of this source tree.
3986
+ *)
3987
+
3988
+ react/cjs/react-jsx-runtime.production.js:
3989
+ (**
3990
+ * @license React
3991
+ * react-jsx-runtime.production.js
3992
+ *
3993
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3994
+ *
3995
+ * This source code is licensed under the MIT license found in the
3996
+ * LICENSE file in the root directory of this source tree.
3997
+ *)
3998
+
3999
+ react/cjs/react-jsx-runtime.development.js:
4000
+ (**
4001
+ * @license React
4002
+ * react-jsx-runtime.development.js
4003
+ *
4004
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
4005
+ *
4006
+ * This source code is licensed under the MIT license found in the
4007
+ * LICENSE file in the root directory of this source tree.
4008
+ *)
4009
+
4010
+ lodash-es/lodash.js:
4011
+ (**
4012
+ * @license
4013
+ * Lodash (Custom Build) <https://lodash.com/>
4014
+ * Build: `lodash modularize exports="es" -o ./`
4015
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
4016
+ * Released under MIT license <https://lodash.com/license>
4017
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
4018
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
4019
+ *)
4020
+ */
34
4021
 
35
4022
  export { useTranslation };