jrs-react 1.0.7 → 1.0.8

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/build/index.js CHANGED
@@ -1,4 +1,562 @@
1
- "use strict";function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var t,r={exports:{}},n={};function o(){if(t)return n;t=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),d=Symbol.iterator;var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,m={};function v(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||y}function b(){}function g(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||y}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=v.prototype;var _=g.prototype=new b;_.constructor=g,h(_,v.prototype),_.isPureReactComponent=!0;var w=Array.isArray,S={H:null,A:null,T:null,S:null},E=Object.prototype.hasOwnProperty;function k(t,r,n,o,u,a){return n=a.ref,{$$typeof:e,type:t,key:r,ref:void 0!==n?n:null,props:a}}function O(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var R=/\/+/g;function j(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,(function(e){return n[e]}))):t.toString(36);var r,n}function C(){}function $(t,n,o,u,a){var i=typeof t;"undefined"!==i&&"boolean"!==i||(t=null);var s,c,l=!1;if(null===t)l=!0;else switch(i){case"bigint":case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case e:case r:l=!0;break;case p:return $((l=t._init)(t._payload),n,o,u,a)}}if(l)return a=a(t),l=""===u?"."+j(t,0):u,w(a)?(o="",null!=l&&(o=l.replace(R,"$&/")+"/"),$(a,n,o,"",(function(e){return e}))):null!=a&&(O(a)&&(s=a,c=o+(null==a.key||t&&t.key===a.key?"":(""+a.key).replace(R,"$&/")+"/")+l,a=k(s.type,c,void 0,0,0,s.props)),n.push(a)),1;l=0;var f,y=""===u?".":u+":";if(w(t))for(var h=0;h<t.length;h++)l+=$(u=t[h],n,o,i=y+j(u,h),a);else if("function"==typeof(h=null===(f=t)||"object"!=typeof f?null:"function"==typeof(f=d&&f[d]||f["@@iterator"])?f:null))for(t=h.call(t),h=0;!(u=t.next()).done;)l+=$(u=u.value,n,o,i=y+j(u,h++),a);else if("object"===i){if("function"==typeof t.then)return $(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(C,C):(e.status="pending",e.then((function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)}),(function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)}))),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(t),n,o,u,a);throw n=String(t),Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}return l}function T(e,t,r){if(null==e)return e;var n=[],o=0;return $(e,n,"","",(function(e){return t.call(r,e,o++)})),n}function x(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var P="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)};function A(){}return n.Children={map:T,forEach:function(e,t,r){T(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return T(e,(function(){t++})),t},toArray:function(e){return T(e,(function(e){return e}))||[]},only:function(e){if(!O(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},n.Component=v,n.Fragment=o,n.Profiler=a,n.PureComponent=g,n.StrictMode=u,n.Suspense=l,n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=S,n.act=function(){throw Error("act(...) is not supported in production builds of React.")},n.cache=function(e){return function(){return e.apply(null,arguments)}},n.cloneElement=function(e,t,r){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var n=h({},e.props),o=e.key;if(null!=t)for(u in void 0!==t.ref&&void 0,void 0!==t.key&&(o=""+t.key),t)!E.call(t,u)||"key"===u||"__self"===u||"__source"===u||"ref"===u&&void 0===t.ref||(n[u]=t[u]);var u=arguments.length-2;if(1===u)n.children=r;else if(1<u){for(var a=Array(u),i=0;i<u;i++)a[i]=arguments[i+2];n.children=a}return k(e.type,o,void 0,0,0,n)},n.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:i,_context:e},e},n.createElement=function(e,t,r){var n,o={},u=null;if(null!=t)for(n in void 0!==t.key&&(u=""+t.key),t)E.call(t,n)&&"key"!==n&&"__self"!==n&&"__source"!==n&&(o[n]=t[n]);var a=arguments.length-2;if(1===a)o.children=r;else if(1<a){for(var i=Array(a),s=0;s<a;s++)i[s]=arguments[s+2];o.children=i}if(e&&e.defaultProps)for(n in a=e.defaultProps)void 0===o[n]&&(o[n]=a[n]);return k(e,u,void 0,0,0,o)},n.createRef=function(){return{current:null}},n.forwardRef=function(e){return{$$typeof:c,render:e}},n.isValidElement=O,n.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:x}},n.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},n.startTransition=function(e){var t=S.T,r={};S.T=r;try{var n=e(),o=S.S;null!==o&&o(r,n),"object"==typeof n&&null!==n&&"function"==typeof n.then&&n.then(A,P)}catch(e){P(e)}finally{S.T=t}},n.unstable_useCacheRefresh=function(){return S.H.useCacheRefresh()},n.use=function(e){return S.H.use(e)},n.useActionState=function(e,t,r){return S.H.useActionState(e,t,r)},n.useCallback=function(e,t){return S.H.useCallback(e,t)},n.useContext=function(e){return S.H.useContext(e)},n.useDebugValue=function(){},n.useDeferredValue=function(e,t){return S.H.useDeferredValue(e,t)},n.useEffect=function(e,t){return S.H.useEffect(e,t)},n.useId=function(){return S.H.useId()},n.useImperativeHandle=function(e,t,r){return S.H.useImperativeHandle(e,t,r)},n.useInsertionEffect=function(e,t){return S.H.useInsertionEffect(e,t)},n.useLayoutEffect=function(e,t){return S.H.useLayoutEffect(e,t)},n.useMemo=function(e,t){return S.H.useMemo(e,t)},n.useOptimistic=function(e,t){return S.H.useOptimistic(e,t)},n.useReducer=function(e,t,r){return S.H.useReducer(e,t,r)},n.useRef=function(e){return S.H.useRef(e)},n.useState=function(e){return S.H.useState(e)},n.useSyncExternalStore=function(e,t,r){return S.H.useSyncExternalStore(e,t,r)},n.useTransition=function(){return S.H.useTransition()},n.version="19.0.0",n}var u,a,i={exports:{}};
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ function getDefaultExportFromCjs (x) {
6
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
7
+ }
8
+
9
+ var react = {exports: {}};
10
+
11
+ var react_production = {};
12
+
13
+ /**
14
+ * @license React
15
+ * react.production.js
16
+ *
17
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
18
+ *
19
+ * This source code is licensed under the MIT license found in the
20
+ * LICENSE file in the root directory of this source tree.
21
+ */
22
+
23
+ var hasRequiredReact_production;
24
+
25
+ function requireReact_production () {
26
+ if (hasRequiredReact_production) return react_production;
27
+ hasRequiredReact_production = 1;
28
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
29
+ REACT_PORTAL_TYPE = Symbol.for("react.portal"),
30
+ REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
31
+ REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
32
+ REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
33
+ REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
34
+ REACT_CONTEXT_TYPE = Symbol.for("react.context"),
35
+ REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
36
+ REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
37
+ REACT_MEMO_TYPE = Symbol.for("react.memo"),
38
+ REACT_LAZY_TYPE = Symbol.for("react.lazy"),
39
+ MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
40
+ function getIteratorFn(maybeIterable) {
41
+ if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
42
+ maybeIterable =
43
+ (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||
44
+ maybeIterable["@@iterator"];
45
+ return "function" === typeof maybeIterable ? maybeIterable : null;
46
+ }
47
+ var ReactNoopUpdateQueue = {
48
+ isMounted: function () {
49
+ return !1;
50
+ },
51
+ enqueueForceUpdate: function () {},
52
+ enqueueReplaceState: function () {},
53
+ enqueueSetState: function () {}
54
+ },
55
+ assign = Object.assign,
56
+ emptyObject = {};
57
+ function Component(props, context, updater) {
58
+ this.props = props;
59
+ this.context = context;
60
+ this.refs = emptyObject;
61
+ this.updater = updater || ReactNoopUpdateQueue;
62
+ }
63
+ Component.prototype.isReactComponent = {};
64
+ Component.prototype.setState = function (partialState, callback) {
65
+ if (
66
+ "object" !== typeof partialState &&
67
+ "function" !== typeof partialState &&
68
+ null != partialState
69
+ )
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
+ ComponentDummy.prototype = Component.prototype;
80
+ function PureComponent(props, context, updater) {
81
+ this.props = props;
82
+ this.context = context;
83
+ this.refs = emptyObject;
84
+ this.updater = updater || ReactNoopUpdateQueue;
85
+ }
86
+ var pureComponentPrototype = (PureComponent.prototype = new ComponentDummy());
87
+ pureComponentPrototype.constructor = PureComponent;
88
+ assign(pureComponentPrototype, Component.prototype);
89
+ pureComponentPrototype.isPureReactComponent = !0;
90
+ var isArrayImpl = Array.isArray,
91
+ ReactSharedInternals = { H: null, A: null, T: null, S: null },
92
+ hasOwnProperty = Object.prototype.hasOwnProperty;
93
+ function ReactElement(type, key, self, source, owner, props) {
94
+ self = props.ref;
95
+ return {
96
+ $$typeof: REACT_ELEMENT_TYPE,
97
+ type: type,
98
+ key: key,
99
+ ref: void 0 !== self ? self : null,
100
+ props: props
101
+ };
102
+ }
103
+ function cloneAndReplaceKey(oldElement, newKey) {
104
+ return ReactElement(
105
+ oldElement.type,
106
+ newKey,
107
+ void 0,
108
+ void 0,
109
+ void 0,
110
+ oldElement.props
111
+ );
112
+ }
113
+ function isValidElement(object) {
114
+ return (
115
+ "object" === typeof object &&
116
+ null !== object &&
117
+ object.$$typeof === REACT_ELEMENT_TYPE
118
+ );
119
+ }
120
+ function escape(key) {
121
+ var escaperLookup = { "=": "=0", ":": "=2" };
122
+ return (
123
+ "$" +
124
+ key.replace(/[=:]/g, function (match) {
125
+ return escaperLookup[match];
126
+ })
127
+ );
128
+ }
129
+ var userProvidedKeyEscapeRegex = /\/+/g;
130
+ function getElementKey(element, index) {
131
+ return "object" === typeof element && null !== element && null != element.key
132
+ ? escape("" + element.key)
133
+ : index.toString(36);
134
+ }
135
+ function noop$1() {}
136
+ function resolveThenable(thenable) {
137
+ switch (thenable.status) {
138
+ case "fulfilled":
139
+ return thenable.value;
140
+ case "rejected":
141
+ throw thenable.reason;
142
+ default:
143
+ switch (
144
+ ("string" === typeof thenable.status
145
+ ? thenable.then(noop$1, noop$1)
146
+ : ((thenable.status = "pending"),
147
+ thenable.then(
148
+ function (fulfilledValue) {
149
+ "pending" === thenable.status &&
150
+ ((thenable.status = "fulfilled"),
151
+ (thenable.value = fulfilledValue));
152
+ },
153
+ function (error) {
154
+ "pending" === thenable.status &&
155
+ ((thenable.status = "rejected"), (thenable.reason = error));
156
+ }
157
+ )),
158
+ thenable.status)
159
+ ) {
160
+ case "fulfilled":
161
+ return thenable.value;
162
+ case "rejected":
163
+ throw thenable.reason;
164
+ }
165
+ }
166
+ throw thenable;
167
+ }
168
+ function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
169
+ var type = typeof children;
170
+ if ("undefined" === type || "boolean" === type) children = null;
171
+ var invokeCallback = !1;
172
+ if (null === children) invokeCallback = !0;
173
+ else
174
+ switch (type) {
175
+ case "bigint":
176
+ case "string":
177
+ case "number":
178
+ invokeCallback = !0;
179
+ break;
180
+ case "object":
181
+ switch (children.$$typeof) {
182
+ case REACT_ELEMENT_TYPE:
183
+ case REACT_PORTAL_TYPE:
184
+ invokeCallback = !0;
185
+ break;
186
+ case REACT_LAZY_TYPE:
187
+ return (
188
+ (invokeCallback = children._init),
189
+ mapIntoArray(
190
+ invokeCallback(children._payload),
191
+ array,
192
+ escapedPrefix,
193
+ nameSoFar,
194
+ callback
195
+ )
196
+ );
197
+ }
198
+ }
199
+ if (invokeCallback)
200
+ return (
201
+ (callback = callback(children)),
202
+ (invokeCallback =
203
+ "" === nameSoFar ? "." + getElementKey(children, 0) : nameSoFar),
204
+ isArrayImpl(callback)
205
+ ? ((escapedPrefix = ""),
206
+ null != invokeCallback &&
207
+ (escapedPrefix =
208
+ invokeCallback.replace(userProvidedKeyEscapeRegex, "$&/") + "/"),
209
+ mapIntoArray(callback, array, escapedPrefix, "", function (c) {
210
+ return c;
211
+ }))
212
+ : null != callback &&
213
+ (isValidElement(callback) &&
214
+ (callback = cloneAndReplaceKey(
215
+ callback,
216
+ escapedPrefix +
217
+ (null == callback.key ||
218
+ (children && children.key === callback.key)
219
+ ? ""
220
+ : ("" + callback.key).replace(
221
+ userProvidedKeyEscapeRegex,
222
+ "$&/"
223
+ ) + "/") +
224
+ invokeCallback
225
+ )),
226
+ array.push(callback)),
227
+ 1
228
+ );
229
+ invokeCallback = 0;
230
+ var nextNamePrefix = "" === nameSoFar ? "." : nameSoFar + ":";
231
+ if (isArrayImpl(children))
232
+ for (var i = 0; i < children.length; i++)
233
+ (nameSoFar = children[i]),
234
+ (type = nextNamePrefix + getElementKey(nameSoFar, i)),
235
+ (invokeCallback += mapIntoArray(
236
+ nameSoFar,
237
+ array,
238
+ escapedPrefix,
239
+ type,
240
+ callback
241
+ ));
242
+ else if (((i = getIteratorFn(children)), "function" === typeof i))
243
+ for (
244
+ children = i.call(children), i = 0;
245
+ !(nameSoFar = children.next()).done;
246
+
247
+ )
248
+ (nameSoFar = nameSoFar.value),
249
+ (type = nextNamePrefix + getElementKey(nameSoFar, i++)),
250
+ (invokeCallback += mapIntoArray(
251
+ nameSoFar,
252
+ array,
253
+ escapedPrefix,
254
+ type,
255
+ callback
256
+ ));
257
+ else if ("object" === type) {
258
+ if ("function" === typeof children.then)
259
+ return mapIntoArray(
260
+ resolveThenable(children),
261
+ array,
262
+ escapedPrefix,
263
+ nameSoFar,
264
+ callback
265
+ );
266
+ array = String(children);
267
+ throw Error(
268
+ "Objects are not valid as a React child (found: " +
269
+ ("[object Object]" === array
270
+ ? "object with keys {" + Object.keys(children).join(", ") + "}"
271
+ : array) +
272
+ "). If you meant to render a collection of children, use an array instead."
273
+ );
274
+ }
275
+ return invokeCallback;
276
+ }
277
+ function mapChildren(children, func, context) {
278
+ if (null == children) return children;
279
+ var result = [],
280
+ count = 0;
281
+ mapIntoArray(children, result, "", "", function (child) {
282
+ return func.call(context, child, count++);
283
+ });
284
+ return result;
285
+ }
286
+ function lazyInitializer(payload) {
287
+ if (-1 === payload._status) {
288
+ var ctor = payload._result;
289
+ ctor = ctor();
290
+ ctor.then(
291
+ function (moduleObject) {
292
+ if (0 === payload._status || -1 === payload._status)
293
+ (payload._status = 1), (payload._result = moduleObject);
294
+ },
295
+ function (error) {
296
+ if (0 === payload._status || -1 === payload._status)
297
+ (payload._status = 2), (payload._result = error);
298
+ }
299
+ );
300
+ -1 === payload._status && ((payload._status = 0), (payload._result = ctor));
301
+ }
302
+ if (1 === payload._status) return payload._result.default;
303
+ throw payload._result;
304
+ }
305
+ var reportGlobalError =
306
+ "function" === typeof reportError
307
+ ? reportError
308
+ : function (error) {
309
+ if (
310
+ "object" === typeof window &&
311
+ "function" === typeof window.ErrorEvent
312
+ ) {
313
+ var event = new window.ErrorEvent("error", {
314
+ bubbles: !0,
315
+ cancelable: !0,
316
+ message:
317
+ "object" === typeof error &&
318
+ null !== error &&
319
+ "string" === typeof error.message
320
+ ? String(error.message)
321
+ : String(error),
322
+ error: error
323
+ });
324
+ if (!window.dispatchEvent(event)) return;
325
+ } else if (
326
+ "object" === typeof process &&
327
+ "function" === typeof process.emit
328
+ ) {
329
+ process.emit("uncaughtException", error);
330
+ return;
331
+ }
332
+ console.error(error);
333
+ };
334
+ function noop() {}
335
+ react_production.Children = {
336
+ map: mapChildren,
337
+ forEach: function (children, forEachFunc, forEachContext) {
338
+ mapChildren(
339
+ children,
340
+ function () {
341
+ forEachFunc.apply(this, arguments);
342
+ },
343
+ forEachContext
344
+ );
345
+ },
346
+ count: function (children) {
347
+ var n = 0;
348
+ mapChildren(children, function () {
349
+ n++;
350
+ });
351
+ return n;
352
+ },
353
+ toArray: function (children) {
354
+ return (
355
+ mapChildren(children, function (child) {
356
+ return child;
357
+ }) || []
358
+ );
359
+ },
360
+ only: function (children) {
361
+ if (!isValidElement(children))
362
+ throw Error(
363
+ "React.Children.only expected to receive a single React element child."
364
+ );
365
+ return children;
366
+ }
367
+ };
368
+ react_production.Component = Component;
369
+ react_production.Fragment = REACT_FRAGMENT_TYPE;
370
+ react_production.Profiler = REACT_PROFILER_TYPE;
371
+ react_production.PureComponent = PureComponent;
372
+ react_production.StrictMode = REACT_STRICT_MODE_TYPE;
373
+ react_production.Suspense = REACT_SUSPENSE_TYPE;
374
+ react_production.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
375
+ ReactSharedInternals;
376
+ react_production.act = function () {
377
+ throw Error("act(...) is not supported in production builds of React.");
378
+ };
379
+ react_production.cache = function (fn) {
380
+ return function () {
381
+ return fn.apply(null, arguments);
382
+ };
383
+ };
384
+ react_production.cloneElement = function (element, config, children) {
385
+ if (null === element || void 0 === element)
386
+ throw Error(
387
+ "The argument must be a React element, but you passed " + element + "."
388
+ );
389
+ var props = assign({}, element.props),
390
+ key = element.key,
391
+ owner = void 0;
392
+ if (null != config)
393
+ for (propName in (void 0 !== config.ref && (owner = void 0),
394
+ void 0 !== config.key && (key = "" + config.key),
395
+ config))
396
+ !hasOwnProperty.call(config, propName) ||
397
+ "key" === propName ||
398
+ "__self" === propName ||
399
+ "__source" === propName ||
400
+ ("ref" === propName && void 0 === config.ref) ||
401
+ (props[propName] = config[propName]);
402
+ var propName = arguments.length - 2;
403
+ if (1 === propName) props.children = children;
404
+ else if (1 < propName) {
405
+ for (var childArray = Array(propName), i = 0; i < propName; i++)
406
+ childArray[i] = arguments[i + 2];
407
+ props.children = childArray;
408
+ }
409
+ return ReactElement(element.type, key, void 0, void 0, owner, props);
410
+ };
411
+ react_production.createContext = function (defaultValue) {
412
+ defaultValue = {
413
+ $$typeof: REACT_CONTEXT_TYPE,
414
+ _currentValue: defaultValue,
415
+ _currentValue2: defaultValue,
416
+ _threadCount: 0,
417
+ Provider: null,
418
+ Consumer: null
419
+ };
420
+ defaultValue.Provider = defaultValue;
421
+ defaultValue.Consumer = {
422
+ $$typeof: REACT_CONSUMER_TYPE,
423
+ _context: defaultValue
424
+ };
425
+ return defaultValue;
426
+ };
427
+ react_production.createElement = function (type, config, children) {
428
+ var propName,
429
+ props = {},
430
+ key = null;
431
+ if (null != config)
432
+ for (propName in (void 0 !== config.key && (key = "" + config.key), config))
433
+ hasOwnProperty.call(config, propName) &&
434
+ "key" !== propName &&
435
+ "__self" !== propName &&
436
+ "__source" !== propName &&
437
+ (props[propName] = config[propName]);
438
+ var childrenLength = arguments.length - 2;
439
+ if (1 === childrenLength) props.children = children;
440
+ else if (1 < childrenLength) {
441
+ for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++)
442
+ childArray[i] = arguments[i + 2];
443
+ props.children = childArray;
444
+ }
445
+ if (type && type.defaultProps)
446
+ for (propName in ((childrenLength = type.defaultProps), childrenLength))
447
+ void 0 === props[propName] &&
448
+ (props[propName] = childrenLength[propName]);
449
+ return ReactElement(type, key, void 0, void 0, null, props);
450
+ };
451
+ react_production.createRef = function () {
452
+ return { current: null };
453
+ };
454
+ react_production.forwardRef = function (render) {
455
+ return { $$typeof: REACT_FORWARD_REF_TYPE, render: render };
456
+ };
457
+ react_production.isValidElement = isValidElement;
458
+ react_production.lazy = function (ctor) {
459
+ return {
460
+ $$typeof: REACT_LAZY_TYPE,
461
+ _payload: { _status: -1, _result: ctor },
462
+ _init: lazyInitializer
463
+ };
464
+ };
465
+ react_production.memo = function (type, compare) {
466
+ return {
467
+ $$typeof: REACT_MEMO_TYPE,
468
+ type: type,
469
+ compare: void 0 === compare ? null : compare
470
+ };
471
+ };
472
+ react_production.startTransition = function (scope) {
473
+ var prevTransition = ReactSharedInternals.T,
474
+ currentTransition = {};
475
+ ReactSharedInternals.T = currentTransition;
476
+ try {
477
+ var returnValue = scope(),
478
+ onStartTransitionFinish = ReactSharedInternals.S;
479
+ null !== onStartTransitionFinish &&
480
+ onStartTransitionFinish(currentTransition, returnValue);
481
+ "object" === typeof returnValue &&
482
+ null !== returnValue &&
483
+ "function" === typeof returnValue.then &&
484
+ returnValue.then(noop, reportGlobalError);
485
+ } catch (error) {
486
+ reportGlobalError(error);
487
+ } finally {
488
+ ReactSharedInternals.T = prevTransition;
489
+ }
490
+ };
491
+ react_production.unstable_useCacheRefresh = function () {
492
+ return ReactSharedInternals.H.useCacheRefresh();
493
+ };
494
+ react_production.use = function (usable) {
495
+ return ReactSharedInternals.H.use(usable);
496
+ };
497
+ react_production.useActionState = function (action, initialState, permalink) {
498
+ return ReactSharedInternals.H.useActionState(action, initialState, permalink);
499
+ };
500
+ react_production.useCallback = function (callback, deps) {
501
+ return ReactSharedInternals.H.useCallback(callback, deps);
502
+ };
503
+ react_production.useContext = function (Context) {
504
+ return ReactSharedInternals.H.useContext(Context);
505
+ };
506
+ react_production.useDebugValue = function () {};
507
+ react_production.useDeferredValue = function (value, initialValue) {
508
+ return ReactSharedInternals.H.useDeferredValue(value, initialValue);
509
+ };
510
+ react_production.useEffect = function (create, deps) {
511
+ return ReactSharedInternals.H.useEffect(create, deps);
512
+ };
513
+ react_production.useId = function () {
514
+ return ReactSharedInternals.H.useId();
515
+ };
516
+ react_production.useImperativeHandle = function (ref, create, deps) {
517
+ return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);
518
+ };
519
+ react_production.useInsertionEffect = function (create, deps) {
520
+ return ReactSharedInternals.H.useInsertionEffect(create, deps);
521
+ };
522
+ react_production.useLayoutEffect = function (create, deps) {
523
+ return ReactSharedInternals.H.useLayoutEffect(create, deps);
524
+ };
525
+ react_production.useMemo = function (create, deps) {
526
+ return ReactSharedInternals.H.useMemo(create, deps);
527
+ };
528
+ react_production.useOptimistic = function (passthrough, reducer) {
529
+ return ReactSharedInternals.H.useOptimistic(passthrough, reducer);
530
+ };
531
+ react_production.useReducer = function (reducer, initialArg, init) {
532
+ return ReactSharedInternals.H.useReducer(reducer, initialArg, init);
533
+ };
534
+ react_production.useRef = function (initialValue) {
535
+ return ReactSharedInternals.H.useRef(initialValue);
536
+ };
537
+ react_production.useState = function (initialState) {
538
+ return ReactSharedInternals.H.useState(initialState);
539
+ };
540
+ react_production.useSyncExternalStore = function (
541
+ subscribe,
542
+ getSnapshot,
543
+ getServerSnapshot
544
+ ) {
545
+ return ReactSharedInternals.H.useSyncExternalStore(
546
+ subscribe,
547
+ getSnapshot,
548
+ getServerSnapshot
549
+ );
550
+ };
551
+ react_production.useTransition = function () {
552
+ return ReactSharedInternals.H.useTransition();
553
+ };
554
+ react_production.version = "19.0.0";
555
+ return react_production;
556
+ }
557
+
558
+ var react_development = {exports: {}};
559
+
2
560
  /**
3
561
  * @license React
4
562
  * react.development.js
@@ -7,4 +565,1549 @@
7
565
  *
8
566
  * This source code is licensed under the MIT license found in the
9
567
  * LICENSE file in the root directory of this source tree.
10
- */function s(){return u||(u=1,function(e,t){"production"!==process.env.NODE_ENV&&function(){function r(e,t){Object.defineProperty(u.prototype,e,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})}function n(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=G&&e[G]||e["@@iterator"])?e:null}function o(e,t){var r=(e=(e=e.constructor)&&(e.displayName||e.name)||"ReactClass")+"."+t;J[r]||(console.error("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.",t,e),J[r]=!0)}function u(e,t,r){this.props=e,this.context=t,this.refs=X,this.updater=r||Q}function a(){}function i(e,t,r){this.props=e,this.context=t,this.refs=X,this.updater=r||Q}function s(e){return""+e}function c(e){try{s(e);var t=!1}catch(e){t=!0}if(t){var r=(t=console).error,n="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",n),s(e)}}function l(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===ce?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case I:return"Fragment";case N:return"Portal";case L:return"Profiler";case M:return"StrictMode";case q:return"Suspense";case z:return"SuspenseList"}if("object"==typeof e)switch("number"==typeof e.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case F:return(e.displayName||"Context")+".Provider";case U:return(e._context.displayName||"Context")+".Consumer";case V:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case Y:return null!==(t=e.displayName||null)?t:l(e.type)||"Memo";case W:t=e._payload,e=e._init;try{return l(e(t))}catch(e){}}return null}function f(e){return"string"==typeof e||"function"==typeof e||e===I||e===L||e===M||e===q||e===z||e===B||"object"==typeof e&&null!==e&&(e.$$typeof===W||e.$$typeof===Y||e.$$typeof===F||e.$$typeof===U||e.$$typeof===V||e.$$typeof===pe||void 0!==e.getModuleId)}function p(){}function d(e){if(void 0===ye)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);ye=t&&t[1]||"",he=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+ye+e+he}function y(e,t){if(!e||be)return"";var r=ge.get(e);if(void 0!==r)return r;be=!0,r=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var n;n=le.H,le.H=null,function(){if(0===de){te=console.log,re=console.info,ne=console.warn,oe=console.error,ue=console.group,ae=console.groupCollapsed,ie=console.groupEnd;var e={configurable:!0,enumerable:!0,value:p,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}de++}();try{var o={DetermineComponentFrameRoot:function(){try{if(t){var r=function(){throw Error()};if(Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(r,[])}catch(e){var n=e}Reflect.construct(e,[],r)}else{try{r.call()}catch(e){n=e}e.call(r.prototype)}}else{try{throw Error()}catch(e){n=e}(r=e())&&"function"==typeof r.catch&&r.catch((function(){}))}}catch(e){if(e&&n&&"string"==typeof e.stack)return[e.stack,n.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var a=o.DetermineComponentFrameRoot(),i=a[0],s=a[1];if(i&&s){var c=i.split("\n"),l=s.split("\n");for(a=u=0;u<c.length&&!c[u].includes("DetermineComponentFrameRoot");)u++;for(;a<l.length&&!l[a].includes("DetermineComponentFrameRoot");)a++;if(u===c.length||a===l.length)for(u=c.length-1,a=l.length-1;1<=u&&0<=a&&c[u]!==l[a];)a--;for(;1<=u&&0<=a;u--,a--)if(c[u]!==l[a]){if(1!==u||1!==a)do{if(u--,0>--a||c[u]!==l[a]){var f="\n"+c[u].replace(" at new "," at ");return e.displayName&&f.includes("<anonymous>")&&(f=f.replace("<anonymous>",e.displayName)),"function"==typeof e&&ge.set(e,f),f}}while(1<=u&&0<=a);break}}}finally{be=!1,le.H=n,function(){if(0==--de){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:K({},e,{value:te}),info:K({},e,{value:re}),warn:K({},e,{value:ne}),error:K({},e,{value:oe}),group:K({},e,{value:ue}),groupCollapsed:K({},e,{value:ae}),groupEnd:K({},e,{value:ie})})}0>de&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=r}return c=(c=e?e.displayName||e.name:"")?d(c):"","function"==typeof e&&ge.set(e,c),c}function h(e){if(null==e)return"";if("function"==typeof e){var t=e.prototype;return y(e,!(!t||!t.isReactComponent))}if("string"==typeof e)return d(e);switch(e){case q:return d("Suspense");case z:return d("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case V:return e=y(e.render,!1);case Y:return h(e.type);case W:t=e._payload,e=e._init;try{return h(e(t))}catch(e){}}return""}function m(){var e=le.A;return null===e?null:e.getOwner()}function v(e){if(fe.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}function b(){var e=l(this.type);return we[e]||(we[e]=!0,console.error("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.")),void 0!==(e=this.props.ref)?e:null}function g(e,t,r,n,o,u){return r=u.ref,e={$$typeof:H,type:e,key:t,props:u,_owner:o},null!==(void 0!==r?r:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:b}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function _(e,t){if("object"==typeof e&&e&&e.$$typeof!==_e)if(se(e))for(var r=0;r<e.length;r++){var o=e[r];w(o)&&S(o,t)}else if(w(e))e._store&&(e._store.validated=1);else if("function"==typeof(r=n(e))&&r!==e.entries&&(r=r.call(e))!==e)for(;!(e=r.next()).done;)w(e.value)&&S(e.value,t)}function w(e){return"object"==typeof e&&null!==e&&e.$$typeof===H}function S(e,t){if(e._store&&!e._store.validated&&null==e.key&&(e._store.validated=1,t=function(e){var t="",r=m();return r&&(r=l(r.type))&&(t="\n\nCheck the render method of `"+r+"`."),t||(e=l(e))&&(t="\n\nCheck the top-level render call using <"+e+">."),t}(t),!Se[t])){Se[t]=!0;var r="";e&&null!=e._owner&&e._owner!==m()&&(r=null,"number"==typeof e._owner.tag?r=l(e._owner.type):"string"==typeof e._owner.name&&(r=e._owner.name),r=" It was passed a child from "+r+".");var n=le.getCurrentStack;le.getCurrentStack=function(){var t=h(e.type);return n&&(t+=n()||""),t},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',t,r),le.getCurrentStack=n}}function E(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(c(e.key),r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,(function(e){return n[e]}))):t.toString(36);var r,n}function k(){}function O(e,t,r,o,u){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var i,s,l=!1;if(null===e)l=!0;else switch(a){case"bigint":case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case H:case N:l=!0;break;case W:return O((l=e._init)(e._payload),t,r,o,u)}}if(l){u=u(l=e);var f=""===o?"."+E(l,0):o;return se(u)?(r="",null!=f&&(r=f.replace(ke,"$&/")+"/"),O(u,t,r,"",(function(e){return e}))):null!=u&&(w(u)&&(null!=u.key&&(l&&l.key===u.key||c(u.key)),i=u,s=r+(null==u.key||l&&l.key===u.key?"":(""+u.key).replace(ke,"$&/")+"/")+f,(s=g(i.type,s,void 0,0,i._owner,i.props))._store.validated=i._store.validated,r=s,""!==o&&null!=l&&w(l)&&null==l.key&&l._store&&!l._store.validated&&(r._store.validated=2),u=r),t.push(u)),1}if(l=0,f=""===o?".":o+":",se(e))for(var p=0;p<e.length;p++)l+=O(o=e[p],t,r,a=f+E(o,p),u);else if("function"==typeof(p=n(e)))for(p===e.entries&&(Ee||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ee=!0),e=p.call(e),p=0;!(o=e.next()).done;)l+=O(o=o.value,t,r,a=f+E(o,p++),u);else if("object"===a){if("function"==typeof e.then)return O(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(k,k):(e.status="pending",e.then((function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)}),(function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)}))),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(e),t,r,o,u);throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return l}function R(e,t,r){if(null==e)return e;var n=[],o=0;return O(e,n,"","",(function(e){return t.call(r,e,o++)})),n}function j(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return void 0===(t=e._result)&&console.error("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?",t),"default"in t||console.error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",t),t.default;throw e._result}function C(){var e=le.H;return null===e&&console.error("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."),e}function $(){}function T(t){if(null===je)try{var r=("require"+Math.random()).slice(0,7);je=(e&&e[r]).call(e,"timers").setImmediate}catch(e){je=function(e){!1===Re&&(Re=!0,"undefined"==typeof MessageChannel&&console.error("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."));var t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}}return je(t)}function x(e){return 1<e.length&&"function"==typeof AggregateError?new AggregateError(e):e[0]}function P(e,t){t!==Ce-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Ce=t}function A(e,t,r){var n=le.actQueue;if(null!==n)if(0!==n.length)try{return D(n),void T((function(){return A(e,t,r)}))}catch(e){le.thrownErrors.push(e)}else le.actQueue=null;0<le.thrownErrors.length?(n=x(le.thrownErrors),le.thrownErrors.length=0,r(n)):t(e)}function D(e){if(!Te){Te=!0;var t=0;try{for(;t<e.length;t++)for(var r=e[t];;){le.didUsePromise=!1;var n=r(!1);if(null===n)break;if(le.didUsePromise)return e[t]=r,void e.splice(0,t);r=n}e.length=0}catch(r){e.splice(0,t+1),le.thrownErrors.push(r)}finally{Te=!1}}}"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var H=Symbol.for("react.transitional.element"),N=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),U=Symbol.for("react.consumer"),F=Symbol.for("react.context"),V=Symbol.for("react.forward_ref"),q=Symbol.for("react.suspense"),z=Symbol.for("react.suspense_list"),Y=Symbol.for("react.memo"),W=Symbol.for("react.lazy"),B=Symbol.for("react.offscreen"),G=Symbol.iterator,J={},Q={isMounted:function(){return!1},enqueueForceUpdate:function(e){o(e,"forceUpdate")},enqueueReplaceState:function(e){o(e,"replaceState")},enqueueSetState:function(e){o(e,"setState")}},K=Object.assign,X={};Object.freeze(X),u.prototype.isReactComponent={},u.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},u.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var Z,ee={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(Z in ee)ee.hasOwnProperty(Z)&&r(Z,ee[Z]);a.prototype=u.prototype,(ee=i.prototype=new a).constructor=i,K(ee,u.prototype),ee.isPureReactComponent=!0;var te,re,ne,oe,ue,ae,ie,se=Array.isArray,ce=Symbol.for("react.client.reference"),le={H:null,A:null,T:null,S:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null},fe=Object.prototype.hasOwnProperty,pe=Symbol.for("react.client.reference"),de=0;p.__reactDisabledLog=!0;var ye,he,me,ve,be=!1,ge=new("function"==typeof WeakMap?WeakMap:Map),_e=Symbol.for("react.client.reference"),we={},Se={},Ee=!1,ke=/\/+/g,Oe="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},Re=!1,je=null,Ce=0,$e=!1,Te=!1,xe="function"==typeof queueMicrotask?function(e){queueMicrotask((function(){return queueMicrotask(e)}))}:T;t.Children={map:R,forEach:function(e,t,r){R(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return R(e,(function(){t++})),t},toArray:function(e){return R(e,(function(e){return e}))||[]},only:function(e){if(!w(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=u,t.Fragment=I,t.Profiler=L,t.PureComponent=i,t.StrictMode=M,t.Suspense=q,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=le,t.act=function(e){var t=le.actQueue,r=Ce;Ce++;var n=le.actQueue=null!==t?t:[],o=!1;try{var u=e()}catch(e){le.thrownErrors.push(e)}if(0<le.thrownErrors.length)throw P(0,r),e=x(le.thrownErrors),le.thrownErrors.length=0,e;if(null!==u&&"object"==typeof u&&"function"==typeof u.then){var a=u;return xe((function(){o||$e||($e=!0,console.error("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 () => ...);"))})),{then:function(e,t){o=!0,a.then((function(o){if(P(0,r),0===r){try{D(n),T((function(){return A(o,e,t)}))}catch(e){le.thrownErrors.push(e)}if(0<le.thrownErrors.length){var u=x(le.thrownErrors);le.thrownErrors.length=0,t(u)}}else e(o)}),(function(e){P(0,r),0<le.thrownErrors.length?(e=x(le.thrownErrors),le.thrownErrors.length=0,t(e)):t(e)}))}}}var i=u;if(P(0,r),0===r&&(D(n),0!==n.length&&xe((function(){o||$e||($e=!0,console.error("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(() => ...)"))})),le.actQueue=null),0<le.thrownErrors.length)throw e=x(le.thrownErrors),le.thrownErrors.length=0,e;return{then:function(e,t){o=!0,0===r?(le.actQueue=n,T((function(){return A(i,e,t)}))):e(i)}}},t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cloneElement=function(e,t,r){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var n,o=K({},e.props),u=e.key,a=e._owner;if(null!=t)for(i in(n=!(fe.call(t,"ref")&&(n=Object.getOwnPropertyDescriptor(t,"ref").get)&&n.isReactWarning)&&void 0!==t.ref)&&(a=m()),v(t)&&(c(t.key),u=""+t.key),t)!fe.call(t,i)||"key"===i||"__self"===i||"__source"===i||"ref"===i&&void 0===t.ref||(o[i]=t[i]);var i=arguments.length-2;if(1===i)o.children=r;else if(1<i){n=Array(i);for(var s=0;s<i;s++)n[s]=arguments[s+2];o.children=n}for(o=g(e.type,u,void 0,0,a,o),u=2;u<arguments.length;u++)_(arguments[u],o.type);return o},t.createContext=function(e){return(e={$$typeof:F,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:U,_context:e},e._currentRenderer=null,e._currentRenderer2=null,e},t.createElement=function(e,t,r){if(f(e))for(var n=2;n<arguments.length;n++)_(arguments[n],e);else{if(n="",(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(n+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),null===e)var o="null";else se(e)?o="array":void 0!==e&&e.$$typeof===H?(o="<"+(l(e.type)||"Unknown")+" />",n=" Did you accidentally export a JSX literal instead of a component?"):o=typeof e;console.error("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",o,n)}var u;if(n={},o=null,null!=t)for(u in ve||!("__self"in t)||"key"in t||(ve=!0,console.warn("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")),v(t)&&(c(t.key),o=""+t.key),t)fe.call(t,u)&&"key"!==u&&"__self"!==u&&"__source"!==u&&(n[u]=t[u]);var a=arguments.length-2;if(1===a)n.children=r;else if(1<a){for(var i=Array(a),s=0;s<a;s++)i[s]=arguments[s+2];Object.freeze&&Object.freeze(i),n.children=i}if(e&&e.defaultProps)for(u in a=e.defaultProps)void 0===n[u]&&(n[u]=a[u]);return o&&function(e,t){function r(){me||(me=!0,console.error("%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)",t))}r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(n,"function"==typeof e?e.displayName||e.name||"Unknown":e),g(e,o,void 0,0,m(),n)},t.createRef=function(){var e={current:null};return Object.seal(e),e},t.forwardRef=function(e){null!=e&&e.$$typeof===Y?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?console.error("forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",1===e.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=e&&null!=e.defaultProps&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var t,r={$$typeof:V,render:e};return Object.defineProperty(r,"displayName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(r){t=r,e.name||e.displayName||(Object.defineProperty(e,"name",{value:r}),e.displayName=r)}}),r},t.isValidElement=w,t.lazy=function(e){return{$$typeof:W,_payload:{_status:-1,_result:e},_init:j}},t.memo=function(e,t){var r;return f(e)||console.error("memo: The first argument must be a component. Instead received: %s",null===e?"null":typeof e),t={$$typeof:Y,type:e,compare:void 0===t?null:t},Object.defineProperty(t,"displayName",{enumerable:!1,configurable:!0,get:function(){return r},set:function(t){r=t,e.name||e.displayName||(Object.defineProperty(e,"name",{value:t}),e.displayName=t)}}),t},t.startTransition=function(e){var t=le.T,r={};le.T=r,r._updatedFibers=new Set;try{var n=e(),o=le.S;null!==o&&o(r,n),"object"==typeof n&&null!==n&&"function"==typeof n.then&&n.then($,Oe)}catch(e){Oe(e)}finally{null===t&&r._updatedFibers&&(e=r._updatedFibers.size,r._updatedFibers.clear(),10<e&&console.warn("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.")),le.T=t}},t.unstable_useCacheRefresh=function(){return C().useCacheRefresh()},t.use=function(e){return C().use(e)},t.useActionState=function(e,t,r){return C().useActionState(e,t,r)},t.useCallback=function(e,t){return C().useCallback(e,t)},t.useContext=function(e){var t=C();return e.$$typeof===U&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),t.useContext(e)},t.useDebugValue=function(e,t){return C().useDebugValue(e,t)},t.useDeferredValue=function(e,t){return C().useDeferredValue(e,t)},t.useEffect=function(e,t){return C().useEffect(e,t)},t.useId=function(){return C().useId()},t.useImperativeHandle=function(e,t,r){return C().useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return C().useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return C().useLayoutEffect(e,t)},t.useMemo=function(e,t){return C().useMemo(e,t)},t.useOptimistic=function(e,t){return C().useOptimistic(e,t)},t.useReducer=function(e,t,r){return C().useReducer(e,t,r)},t.useRef=function(e){return C().useRef(e)},t.useState=function(e){return C().useState(e)},t.useSyncExternalStore=function(e,t,r){return C().useSyncExternalStore(e,t,r)},t.useTransition=function(){return C().useTransition()},t.version="19.0.0","undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()}(i,i.exports)),i.exports}var c=e((a||(a=1,"production"===process.env.NODE_ENV?r.exports=o():r.exports=s()),r.exports));class l extends c.Component{render(){return c.createElement("div",null,"JRTest")}}exports.JRTest=l;
568
+ */
569
+ react_development.exports;
570
+
571
+ var hasRequiredReact_development;
572
+
573
+ function requireReact_development () {
574
+ if (hasRequiredReact_development) return react_development.exports;
575
+ hasRequiredReact_development = 1;
576
+ (function (module, exports) {
577
+ "production" !== process.env.NODE_ENV &&
578
+ (function () {
579
+ function defineDeprecationWarning(methodName, info) {
580
+ Object.defineProperty(Component.prototype, methodName, {
581
+ get: function () {
582
+ console.warn(
583
+ "%s(...) is deprecated in plain JavaScript React classes. %s",
584
+ info[0],
585
+ info[1]
586
+ );
587
+ }
588
+ });
589
+ }
590
+ function getIteratorFn(maybeIterable) {
591
+ if (null === maybeIterable || "object" !== typeof maybeIterable)
592
+ return null;
593
+ maybeIterable =
594
+ (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||
595
+ maybeIterable["@@iterator"];
596
+ return "function" === typeof maybeIterable ? maybeIterable : null;
597
+ }
598
+ function warnNoop(publicInstance, callerName) {
599
+ publicInstance =
600
+ ((publicInstance = publicInstance.constructor) &&
601
+ (publicInstance.displayName || publicInstance.name)) ||
602
+ "ReactClass";
603
+ var warningKey = publicInstance + "." + callerName;
604
+ didWarnStateUpdateForUnmountedComponent[warningKey] ||
605
+ (console.error(
606
+ "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.",
607
+ callerName,
608
+ publicInstance
609
+ ),
610
+ (didWarnStateUpdateForUnmountedComponent[warningKey] = !0));
611
+ }
612
+ function Component(props, context, updater) {
613
+ this.props = props;
614
+ this.context = context;
615
+ this.refs = emptyObject;
616
+ this.updater = updater || ReactNoopUpdateQueue;
617
+ }
618
+ function ComponentDummy() {}
619
+ function PureComponent(props, context, updater) {
620
+ this.props = props;
621
+ this.context = context;
622
+ this.refs = emptyObject;
623
+ this.updater = updater || ReactNoopUpdateQueue;
624
+ }
625
+ function testStringCoercion(value) {
626
+ return "" + value;
627
+ }
628
+ function checkKeyStringCoercion(value) {
629
+ try {
630
+ testStringCoercion(value);
631
+ var JSCompiler_inline_result = !1;
632
+ } catch (e) {
633
+ JSCompiler_inline_result = !0;
634
+ }
635
+ if (JSCompiler_inline_result) {
636
+ JSCompiler_inline_result = console;
637
+ var JSCompiler_temp_const = JSCompiler_inline_result.error;
638
+ var JSCompiler_inline_result$jscomp$0 =
639
+ ("function" === typeof Symbol &&
640
+ Symbol.toStringTag &&
641
+ value[Symbol.toStringTag]) ||
642
+ value.constructor.name ||
643
+ "Object";
644
+ JSCompiler_temp_const.call(
645
+ JSCompiler_inline_result,
646
+ "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
647
+ JSCompiler_inline_result$jscomp$0
648
+ );
649
+ return testStringCoercion(value);
650
+ }
651
+ }
652
+ function getComponentNameFromType(type) {
653
+ if (null == type) return null;
654
+ if ("function" === typeof type)
655
+ return type.$$typeof === REACT_CLIENT_REFERENCE$2
656
+ ? null
657
+ : type.displayName || type.name || null;
658
+ if ("string" === typeof type) return type;
659
+ switch (type) {
660
+ case REACT_FRAGMENT_TYPE:
661
+ return "Fragment";
662
+ case REACT_PORTAL_TYPE:
663
+ return "Portal";
664
+ case REACT_PROFILER_TYPE:
665
+ return "Profiler";
666
+ case REACT_STRICT_MODE_TYPE:
667
+ return "StrictMode";
668
+ case REACT_SUSPENSE_TYPE:
669
+ return "Suspense";
670
+ case REACT_SUSPENSE_LIST_TYPE:
671
+ return "SuspenseList";
672
+ }
673
+ if ("object" === typeof type)
674
+ switch (
675
+ ("number" === typeof type.tag &&
676
+ console.error(
677
+ "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
678
+ ),
679
+ type.$$typeof)
680
+ ) {
681
+ case REACT_CONTEXT_TYPE:
682
+ return (type.displayName || "Context") + ".Provider";
683
+ case REACT_CONSUMER_TYPE:
684
+ return (type._context.displayName || "Context") + ".Consumer";
685
+ case REACT_FORWARD_REF_TYPE:
686
+ var innerType = type.render;
687
+ type = type.displayName;
688
+ type ||
689
+ ((type = innerType.displayName || innerType.name || ""),
690
+ (type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"));
691
+ return type;
692
+ case REACT_MEMO_TYPE:
693
+ return (
694
+ (innerType = type.displayName || null),
695
+ null !== innerType
696
+ ? innerType
697
+ : getComponentNameFromType(type.type) || "Memo"
698
+ );
699
+ case REACT_LAZY_TYPE:
700
+ innerType = type._payload;
701
+ type = type._init;
702
+ try {
703
+ return getComponentNameFromType(type(innerType));
704
+ } catch (x) {}
705
+ }
706
+ return null;
707
+ }
708
+ function isValidElementType(type) {
709
+ return "string" === typeof type ||
710
+ "function" === typeof type ||
711
+ type === REACT_FRAGMENT_TYPE ||
712
+ type === REACT_PROFILER_TYPE ||
713
+ type === REACT_STRICT_MODE_TYPE ||
714
+ type === REACT_SUSPENSE_TYPE ||
715
+ type === REACT_SUSPENSE_LIST_TYPE ||
716
+ type === REACT_OFFSCREEN_TYPE ||
717
+ ("object" === typeof type &&
718
+ null !== type &&
719
+ (type.$$typeof === REACT_LAZY_TYPE ||
720
+ type.$$typeof === REACT_MEMO_TYPE ||
721
+ type.$$typeof === REACT_CONTEXT_TYPE ||
722
+ type.$$typeof === REACT_CONSUMER_TYPE ||
723
+ type.$$typeof === REACT_FORWARD_REF_TYPE ||
724
+ type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
725
+ void 0 !== type.getModuleId))
726
+ ? !0
727
+ : !1;
728
+ }
729
+ function disabledLog() {}
730
+ function disableLogs() {
731
+ if (0 === disabledDepth) {
732
+ prevLog = console.log;
733
+ prevInfo = console.info;
734
+ prevWarn = console.warn;
735
+ prevError = console.error;
736
+ prevGroup = console.group;
737
+ prevGroupCollapsed = console.groupCollapsed;
738
+ prevGroupEnd = console.groupEnd;
739
+ var props = {
740
+ configurable: !0,
741
+ enumerable: !0,
742
+ value: disabledLog,
743
+ writable: !0
744
+ };
745
+ Object.defineProperties(console, {
746
+ info: props,
747
+ log: props,
748
+ warn: props,
749
+ error: props,
750
+ group: props,
751
+ groupCollapsed: props,
752
+ groupEnd: props
753
+ });
754
+ }
755
+ disabledDepth++;
756
+ }
757
+ function reenableLogs() {
758
+ disabledDepth--;
759
+ if (0 === disabledDepth) {
760
+ var props = { configurable: !0, enumerable: !0, writable: !0 };
761
+ Object.defineProperties(console, {
762
+ log: assign({}, props, { value: prevLog }),
763
+ info: assign({}, props, { value: prevInfo }),
764
+ warn: assign({}, props, { value: prevWarn }),
765
+ error: assign({}, props, { value: prevError }),
766
+ group: assign({}, props, { value: prevGroup }),
767
+ groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),
768
+ groupEnd: assign({}, props, { value: prevGroupEnd })
769
+ });
770
+ }
771
+ 0 > disabledDepth &&
772
+ console.error(
773
+ "disabledDepth fell below zero. This is a bug in React. Please file an issue."
774
+ );
775
+ }
776
+ function describeBuiltInComponentFrame(name) {
777
+ if (void 0 === prefix)
778
+ try {
779
+ throw Error();
780
+ } catch (x) {
781
+ var match = x.stack.trim().match(/\n( *(at )?)/);
782
+ prefix = (match && match[1]) || "";
783
+ suffix =
784
+ -1 < x.stack.indexOf("\n at")
785
+ ? " (<anonymous>)"
786
+ : -1 < x.stack.indexOf("@")
787
+ ? "@unknown:0:0"
788
+ : "";
789
+ }
790
+ return "\n" + prefix + name + suffix;
791
+ }
792
+ function describeNativeComponentFrame(fn, construct) {
793
+ if (!fn || reentry) return "";
794
+ var frame = componentFrameCache.get(fn);
795
+ if (void 0 !== frame) return frame;
796
+ reentry = !0;
797
+ frame = Error.prepareStackTrace;
798
+ Error.prepareStackTrace = void 0;
799
+ var previousDispatcher = null;
800
+ previousDispatcher = ReactSharedInternals.H;
801
+ ReactSharedInternals.H = null;
802
+ disableLogs();
803
+ try {
804
+ var RunInRootFrame = {
805
+ DetermineComponentFrameRoot: function () {
806
+ try {
807
+ if (construct) {
808
+ var Fake = function () {
809
+ throw Error();
810
+ };
811
+ Object.defineProperty(Fake.prototype, "props", {
812
+ set: function () {
813
+ throw Error();
814
+ }
815
+ });
816
+ if ("object" === typeof Reflect && Reflect.construct) {
817
+ try {
818
+ Reflect.construct(Fake, []);
819
+ } catch (x) {
820
+ var control = x;
821
+ }
822
+ Reflect.construct(fn, [], Fake);
823
+ } else {
824
+ try {
825
+ Fake.call();
826
+ } catch (x$0) {
827
+ control = x$0;
828
+ }
829
+ fn.call(Fake.prototype);
830
+ }
831
+ } else {
832
+ try {
833
+ throw Error();
834
+ } catch (x$1) {
835
+ control = x$1;
836
+ }
837
+ (Fake = fn()) &&
838
+ "function" === typeof Fake.catch &&
839
+ Fake.catch(function () {});
840
+ }
841
+ } catch (sample) {
842
+ if (sample && control && "string" === typeof sample.stack)
843
+ return [sample.stack, control.stack];
844
+ }
845
+ return [null, null];
846
+ }
847
+ };
848
+ RunInRootFrame.DetermineComponentFrameRoot.displayName =
849
+ "DetermineComponentFrameRoot";
850
+ var namePropDescriptor = Object.getOwnPropertyDescriptor(
851
+ RunInRootFrame.DetermineComponentFrameRoot,
852
+ "name"
853
+ );
854
+ namePropDescriptor &&
855
+ namePropDescriptor.configurable &&
856
+ Object.defineProperty(
857
+ RunInRootFrame.DetermineComponentFrameRoot,
858
+ "name",
859
+ { value: "DetermineComponentFrameRoot" }
860
+ );
861
+ var _RunInRootFrame$Deter =
862
+ RunInRootFrame.DetermineComponentFrameRoot(),
863
+ sampleStack = _RunInRootFrame$Deter[0],
864
+ controlStack = _RunInRootFrame$Deter[1];
865
+ if (sampleStack && controlStack) {
866
+ var sampleLines = sampleStack.split("\n"),
867
+ controlLines = controlStack.split("\n");
868
+ for (
869
+ _RunInRootFrame$Deter = namePropDescriptor = 0;
870
+ namePropDescriptor < sampleLines.length &&
871
+ !sampleLines[namePropDescriptor].includes(
872
+ "DetermineComponentFrameRoot"
873
+ );
874
+
875
+ )
876
+ namePropDescriptor++;
877
+ for (
878
+ ;
879
+ _RunInRootFrame$Deter < controlLines.length &&
880
+ !controlLines[_RunInRootFrame$Deter].includes(
881
+ "DetermineComponentFrameRoot"
882
+ );
883
+
884
+ )
885
+ _RunInRootFrame$Deter++;
886
+ if (
887
+ namePropDescriptor === sampleLines.length ||
888
+ _RunInRootFrame$Deter === controlLines.length
889
+ )
890
+ for (
891
+ namePropDescriptor = sampleLines.length - 1,
892
+ _RunInRootFrame$Deter = controlLines.length - 1;
893
+ 1 <= namePropDescriptor &&
894
+ 0 <= _RunInRootFrame$Deter &&
895
+ sampleLines[namePropDescriptor] !==
896
+ controlLines[_RunInRootFrame$Deter];
897
+
898
+ )
899
+ _RunInRootFrame$Deter--;
900
+ for (
901
+ ;
902
+ 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
903
+ namePropDescriptor--, _RunInRootFrame$Deter--
904
+ )
905
+ if (
906
+ sampleLines[namePropDescriptor] !==
907
+ controlLines[_RunInRootFrame$Deter]
908
+ ) {
909
+ if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
910
+ do
911
+ if (
912
+ (namePropDescriptor--,
913
+ _RunInRootFrame$Deter--,
914
+ 0 > _RunInRootFrame$Deter ||
915
+ sampleLines[namePropDescriptor] !==
916
+ controlLines[_RunInRootFrame$Deter])
917
+ ) {
918
+ var _frame =
919
+ "\n" +
920
+ sampleLines[namePropDescriptor].replace(
921
+ " at new ",
922
+ " at "
923
+ );
924
+ fn.displayName &&
925
+ _frame.includes("<anonymous>") &&
926
+ (_frame = _frame.replace("<anonymous>", fn.displayName));
927
+ "function" === typeof fn &&
928
+ componentFrameCache.set(fn, _frame);
929
+ return _frame;
930
+ }
931
+ while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
932
+ }
933
+ break;
934
+ }
935
+ }
936
+ } finally {
937
+ (reentry = !1),
938
+ (ReactSharedInternals.H = previousDispatcher),
939
+ reenableLogs(),
940
+ (Error.prepareStackTrace = frame);
941
+ }
942
+ sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "")
943
+ ? describeBuiltInComponentFrame(sampleLines)
944
+ : "";
945
+ "function" === typeof fn && componentFrameCache.set(fn, sampleLines);
946
+ return sampleLines;
947
+ }
948
+ function describeUnknownElementTypeFrameInDEV(type) {
949
+ if (null == type) return "";
950
+ if ("function" === typeof type) {
951
+ var prototype = type.prototype;
952
+ return describeNativeComponentFrame(
953
+ type,
954
+ !(!prototype || !prototype.isReactComponent)
955
+ );
956
+ }
957
+ if ("string" === typeof type) return describeBuiltInComponentFrame(type);
958
+ switch (type) {
959
+ case REACT_SUSPENSE_TYPE:
960
+ return describeBuiltInComponentFrame("Suspense");
961
+ case REACT_SUSPENSE_LIST_TYPE:
962
+ return describeBuiltInComponentFrame("SuspenseList");
963
+ }
964
+ if ("object" === typeof type)
965
+ switch (type.$$typeof) {
966
+ case REACT_FORWARD_REF_TYPE:
967
+ return (type = describeNativeComponentFrame(type.render, !1)), type;
968
+ case REACT_MEMO_TYPE:
969
+ return describeUnknownElementTypeFrameInDEV(type.type);
970
+ case REACT_LAZY_TYPE:
971
+ prototype = type._payload;
972
+ type = type._init;
973
+ try {
974
+ return describeUnknownElementTypeFrameInDEV(type(prototype));
975
+ } catch (x) {}
976
+ }
977
+ return "";
978
+ }
979
+ function getOwner() {
980
+ var dispatcher = ReactSharedInternals.A;
981
+ return null === dispatcher ? null : dispatcher.getOwner();
982
+ }
983
+ function hasValidKey(config) {
984
+ if (hasOwnProperty.call(config, "key")) {
985
+ var getter = Object.getOwnPropertyDescriptor(config, "key").get;
986
+ if (getter && getter.isReactWarning) return !1;
987
+ }
988
+ return void 0 !== config.key;
989
+ }
990
+ function defineKeyPropWarningGetter(props, displayName) {
991
+ function warnAboutAccessingKey() {
992
+ specialPropKeyWarningShown ||
993
+ ((specialPropKeyWarningShown = !0),
994
+ console.error(
995
+ "%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)",
996
+ displayName
997
+ ));
998
+ }
999
+ warnAboutAccessingKey.isReactWarning = !0;
1000
+ Object.defineProperty(props, "key", {
1001
+ get: warnAboutAccessingKey,
1002
+ configurable: !0
1003
+ });
1004
+ }
1005
+ function elementRefGetterWithDeprecationWarning() {
1006
+ var componentName = getComponentNameFromType(this.type);
1007
+ didWarnAboutElementRef[componentName] ||
1008
+ ((didWarnAboutElementRef[componentName] = !0),
1009
+ console.error(
1010
+ "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."
1011
+ ));
1012
+ componentName = this.props.ref;
1013
+ return void 0 !== componentName ? componentName : null;
1014
+ }
1015
+ function ReactElement(type, key, self, source, owner, props) {
1016
+ self = props.ref;
1017
+ type = {
1018
+ $$typeof: REACT_ELEMENT_TYPE,
1019
+ type: type,
1020
+ key: key,
1021
+ props: props,
1022
+ _owner: owner
1023
+ };
1024
+ null !== (void 0 !== self ? self : null)
1025
+ ? Object.defineProperty(type, "ref", {
1026
+ enumerable: !1,
1027
+ get: elementRefGetterWithDeprecationWarning
1028
+ })
1029
+ : Object.defineProperty(type, "ref", { enumerable: !1, value: null });
1030
+ type._store = {};
1031
+ Object.defineProperty(type._store, "validated", {
1032
+ configurable: !1,
1033
+ enumerable: !1,
1034
+ writable: !0,
1035
+ value: 0
1036
+ });
1037
+ Object.defineProperty(type, "_debugInfo", {
1038
+ configurable: !1,
1039
+ enumerable: !1,
1040
+ writable: !0,
1041
+ value: null
1042
+ });
1043
+ Object.freeze && (Object.freeze(type.props), Object.freeze(type));
1044
+ return type;
1045
+ }
1046
+ function cloneAndReplaceKey(oldElement, newKey) {
1047
+ newKey = ReactElement(
1048
+ oldElement.type,
1049
+ newKey,
1050
+ void 0,
1051
+ void 0,
1052
+ oldElement._owner,
1053
+ oldElement.props
1054
+ );
1055
+ newKey._store.validated = oldElement._store.validated;
1056
+ return newKey;
1057
+ }
1058
+ function validateChildKeys(node, parentType) {
1059
+ if (
1060
+ "object" === typeof node &&
1061
+ node &&
1062
+ node.$$typeof !== REACT_CLIENT_REFERENCE
1063
+ )
1064
+ if (isArrayImpl(node))
1065
+ for (var i = 0; i < node.length; i++) {
1066
+ var child = node[i];
1067
+ isValidElement(child) && validateExplicitKey(child, parentType);
1068
+ }
1069
+ else if (isValidElement(node))
1070
+ node._store && (node._store.validated = 1);
1071
+ else if (
1072
+ ((i = getIteratorFn(node)),
1073
+ "function" === typeof i &&
1074
+ i !== node.entries &&
1075
+ ((i = i.call(node)), i !== node))
1076
+ )
1077
+ for (; !(node = i.next()).done; )
1078
+ isValidElement(node.value) &&
1079
+ validateExplicitKey(node.value, parentType);
1080
+ }
1081
+ function isValidElement(object) {
1082
+ return (
1083
+ "object" === typeof object &&
1084
+ null !== object &&
1085
+ object.$$typeof === REACT_ELEMENT_TYPE
1086
+ );
1087
+ }
1088
+ function validateExplicitKey(element, parentType) {
1089
+ if (
1090
+ element._store &&
1091
+ !element._store.validated &&
1092
+ null == element.key &&
1093
+ ((element._store.validated = 1),
1094
+ (parentType = getCurrentComponentErrorInfo(parentType)),
1095
+ !ownerHasKeyUseWarning[parentType])
1096
+ ) {
1097
+ ownerHasKeyUseWarning[parentType] = !0;
1098
+ var childOwner = "";
1099
+ element &&
1100
+ null != element._owner &&
1101
+ element._owner !== getOwner() &&
1102
+ ((childOwner = null),
1103
+ "number" === typeof element._owner.tag
1104
+ ? (childOwner = getComponentNameFromType(element._owner.type))
1105
+ : "string" === typeof element._owner.name &&
1106
+ (childOwner = element._owner.name),
1107
+ (childOwner = " It was passed a child from " + childOwner + "."));
1108
+ var prevGetCurrentStack = ReactSharedInternals.getCurrentStack;
1109
+ ReactSharedInternals.getCurrentStack = function () {
1110
+ var stack = describeUnknownElementTypeFrameInDEV(element.type);
1111
+ prevGetCurrentStack && (stack += prevGetCurrentStack() || "");
1112
+ return stack;
1113
+ };
1114
+ console.error(
1115
+ 'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
1116
+ parentType,
1117
+ childOwner
1118
+ );
1119
+ ReactSharedInternals.getCurrentStack = prevGetCurrentStack;
1120
+ }
1121
+ }
1122
+ function getCurrentComponentErrorInfo(parentType) {
1123
+ var info = "",
1124
+ owner = getOwner();
1125
+ owner &&
1126
+ (owner = getComponentNameFromType(owner.type)) &&
1127
+ (info = "\n\nCheck the render method of `" + owner + "`.");
1128
+ info ||
1129
+ ((parentType = getComponentNameFromType(parentType)) &&
1130
+ (info =
1131
+ "\n\nCheck the top-level render call using <" + parentType + ">."));
1132
+ return info;
1133
+ }
1134
+ function escape(key) {
1135
+ var escaperLookup = { "=": "=0", ":": "=2" };
1136
+ return (
1137
+ "$" +
1138
+ key.replace(/[=:]/g, function (match) {
1139
+ return escaperLookup[match];
1140
+ })
1141
+ );
1142
+ }
1143
+ function getElementKey(element, index) {
1144
+ return "object" === typeof element &&
1145
+ null !== element &&
1146
+ null != element.key
1147
+ ? (checkKeyStringCoercion(element.key), escape("" + element.key))
1148
+ : index.toString(36);
1149
+ }
1150
+ function noop$1() {}
1151
+ function resolveThenable(thenable) {
1152
+ switch (thenable.status) {
1153
+ case "fulfilled":
1154
+ return thenable.value;
1155
+ case "rejected":
1156
+ throw thenable.reason;
1157
+ default:
1158
+ switch (
1159
+ ("string" === typeof thenable.status
1160
+ ? thenable.then(noop$1, noop$1)
1161
+ : ((thenable.status = "pending"),
1162
+ thenable.then(
1163
+ function (fulfilledValue) {
1164
+ "pending" === thenable.status &&
1165
+ ((thenable.status = "fulfilled"),
1166
+ (thenable.value = fulfilledValue));
1167
+ },
1168
+ function (error) {
1169
+ "pending" === thenable.status &&
1170
+ ((thenable.status = "rejected"),
1171
+ (thenable.reason = error));
1172
+ }
1173
+ )),
1174
+ thenable.status)
1175
+ ) {
1176
+ case "fulfilled":
1177
+ return thenable.value;
1178
+ case "rejected":
1179
+ throw thenable.reason;
1180
+ }
1181
+ }
1182
+ throw thenable;
1183
+ }
1184
+ function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
1185
+ var type = typeof children;
1186
+ if ("undefined" === type || "boolean" === type) children = null;
1187
+ var invokeCallback = !1;
1188
+ if (null === children) invokeCallback = !0;
1189
+ else
1190
+ switch (type) {
1191
+ case "bigint":
1192
+ case "string":
1193
+ case "number":
1194
+ invokeCallback = !0;
1195
+ break;
1196
+ case "object":
1197
+ switch (children.$$typeof) {
1198
+ case REACT_ELEMENT_TYPE:
1199
+ case REACT_PORTAL_TYPE:
1200
+ invokeCallback = !0;
1201
+ break;
1202
+ case REACT_LAZY_TYPE:
1203
+ return (
1204
+ (invokeCallback = children._init),
1205
+ mapIntoArray(
1206
+ invokeCallback(children._payload),
1207
+ array,
1208
+ escapedPrefix,
1209
+ nameSoFar,
1210
+ callback
1211
+ )
1212
+ );
1213
+ }
1214
+ }
1215
+ if (invokeCallback) {
1216
+ invokeCallback = children;
1217
+ callback = callback(invokeCallback);
1218
+ var childKey =
1219
+ "" === nameSoFar ? "." + getElementKey(invokeCallback, 0) : nameSoFar;
1220
+ isArrayImpl(callback)
1221
+ ? ((escapedPrefix = ""),
1222
+ null != childKey &&
1223
+ (escapedPrefix =
1224
+ childKey.replace(userProvidedKeyEscapeRegex, "$&/") + "/"),
1225
+ mapIntoArray(callback, array, escapedPrefix, "", function (c) {
1226
+ return c;
1227
+ }))
1228
+ : null != callback &&
1229
+ (isValidElement(callback) &&
1230
+ (null != callback.key &&
1231
+ ((invokeCallback && invokeCallback.key === callback.key) ||
1232
+ checkKeyStringCoercion(callback.key)),
1233
+ (escapedPrefix = cloneAndReplaceKey(
1234
+ callback,
1235
+ escapedPrefix +
1236
+ (null == callback.key ||
1237
+ (invokeCallback && invokeCallback.key === callback.key)
1238
+ ? ""
1239
+ : ("" + callback.key).replace(
1240
+ userProvidedKeyEscapeRegex,
1241
+ "$&/"
1242
+ ) + "/") +
1243
+ childKey
1244
+ )),
1245
+ "" !== nameSoFar &&
1246
+ null != invokeCallback &&
1247
+ isValidElement(invokeCallback) &&
1248
+ null == invokeCallback.key &&
1249
+ invokeCallback._store &&
1250
+ !invokeCallback._store.validated &&
1251
+ (escapedPrefix._store.validated = 2),
1252
+ (callback = escapedPrefix)),
1253
+ array.push(callback));
1254
+ return 1;
1255
+ }
1256
+ invokeCallback = 0;
1257
+ childKey = "" === nameSoFar ? "." : nameSoFar + ":";
1258
+ if (isArrayImpl(children))
1259
+ for (var i = 0; i < children.length; i++)
1260
+ (nameSoFar = children[i]),
1261
+ (type = childKey + getElementKey(nameSoFar, i)),
1262
+ (invokeCallback += mapIntoArray(
1263
+ nameSoFar,
1264
+ array,
1265
+ escapedPrefix,
1266
+ type,
1267
+ callback
1268
+ ));
1269
+ else if (((i = getIteratorFn(children)), "function" === typeof i))
1270
+ for (
1271
+ i === children.entries &&
1272
+ (didWarnAboutMaps ||
1273
+ console.warn(
1274
+ "Using Maps as children is not supported. Use an array of keyed ReactElements instead."
1275
+ ),
1276
+ (didWarnAboutMaps = !0)),
1277
+ children = i.call(children),
1278
+ i = 0;
1279
+ !(nameSoFar = children.next()).done;
1280
+
1281
+ )
1282
+ (nameSoFar = nameSoFar.value),
1283
+ (type = childKey + getElementKey(nameSoFar, i++)),
1284
+ (invokeCallback += mapIntoArray(
1285
+ nameSoFar,
1286
+ array,
1287
+ escapedPrefix,
1288
+ type,
1289
+ callback
1290
+ ));
1291
+ else if ("object" === type) {
1292
+ if ("function" === typeof children.then)
1293
+ return mapIntoArray(
1294
+ resolveThenable(children),
1295
+ array,
1296
+ escapedPrefix,
1297
+ nameSoFar,
1298
+ callback
1299
+ );
1300
+ array = String(children);
1301
+ throw Error(
1302
+ "Objects are not valid as a React child (found: " +
1303
+ ("[object Object]" === array
1304
+ ? "object with keys {" + Object.keys(children).join(", ") + "}"
1305
+ : array) +
1306
+ "). If you meant to render a collection of children, use an array instead."
1307
+ );
1308
+ }
1309
+ return invokeCallback;
1310
+ }
1311
+ function mapChildren(children, func, context) {
1312
+ if (null == children) return children;
1313
+ var result = [],
1314
+ count = 0;
1315
+ mapIntoArray(children, result, "", "", function (child) {
1316
+ return func.call(context, child, count++);
1317
+ });
1318
+ return result;
1319
+ }
1320
+ function lazyInitializer(payload) {
1321
+ if (-1 === payload._status) {
1322
+ var ctor = payload._result;
1323
+ ctor = ctor();
1324
+ ctor.then(
1325
+ function (moduleObject) {
1326
+ if (0 === payload._status || -1 === payload._status)
1327
+ (payload._status = 1), (payload._result = moduleObject);
1328
+ },
1329
+ function (error) {
1330
+ if (0 === payload._status || -1 === payload._status)
1331
+ (payload._status = 2), (payload._result = error);
1332
+ }
1333
+ );
1334
+ -1 === payload._status &&
1335
+ ((payload._status = 0), (payload._result = ctor));
1336
+ }
1337
+ if (1 === payload._status)
1338
+ return (
1339
+ (ctor = payload._result),
1340
+ void 0 === ctor &&
1341
+ console.error(
1342
+ "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?",
1343
+ ctor
1344
+ ),
1345
+ "default" in ctor ||
1346
+ console.error(
1347
+ "lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",
1348
+ ctor
1349
+ ),
1350
+ ctor.default
1351
+ );
1352
+ throw payload._result;
1353
+ }
1354
+ function resolveDispatcher() {
1355
+ var dispatcher = ReactSharedInternals.H;
1356
+ null === dispatcher &&
1357
+ console.error(
1358
+ "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."
1359
+ );
1360
+ return dispatcher;
1361
+ }
1362
+ function noop() {}
1363
+ function enqueueTask(task) {
1364
+ if (null === enqueueTaskImpl)
1365
+ try {
1366
+ var requireString = ("require" + Math.random()).slice(0, 7);
1367
+ enqueueTaskImpl = (module && module[requireString]).call(
1368
+ module,
1369
+ "timers"
1370
+ ).setImmediate;
1371
+ } catch (_err) {
1372
+ enqueueTaskImpl = function (callback) {
1373
+ !1 === didWarnAboutMessageChannel &&
1374
+ ((didWarnAboutMessageChannel = !0),
1375
+ "undefined" === typeof MessageChannel &&
1376
+ console.error(
1377
+ "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."
1378
+ ));
1379
+ var channel = new MessageChannel();
1380
+ channel.port1.onmessage = callback;
1381
+ channel.port2.postMessage(void 0);
1382
+ };
1383
+ }
1384
+ return enqueueTaskImpl(task);
1385
+ }
1386
+ function aggregateErrors(errors) {
1387
+ return 1 < errors.length && "function" === typeof AggregateError
1388
+ ? new AggregateError(errors)
1389
+ : errors[0];
1390
+ }
1391
+ function popActScope(prevActQueue, prevActScopeDepth) {
1392
+ prevActScopeDepth !== actScopeDepth - 1 &&
1393
+ console.error(
1394
+ "You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "
1395
+ );
1396
+ actScopeDepth = prevActScopeDepth;
1397
+ }
1398
+ function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
1399
+ var queue = ReactSharedInternals.actQueue;
1400
+ if (null !== queue)
1401
+ if (0 !== queue.length)
1402
+ try {
1403
+ flushActQueue(queue);
1404
+ enqueueTask(function () {
1405
+ return recursivelyFlushAsyncActWork(returnValue, resolve, reject);
1406
+ });
1407
+ return;
1408
+ } catch (error) {
1409
+ ReactSharedInternals.thrownErrors.push(error);
1410
+ }
1411
+ else ReactSharedInternals.actQueue = null;
1412
+ 0 < ReactSharedInternals.thrownErrors.length
1413
+ ? ((queue = aggregateErrors(ReactSharedInternals.thrownErrors)),
1414
+ (ReactSharedInternals.thrownErrors.length = 0),
1415
+ reject(queue))
1416
+ : resolve(returnValue);
1417
+ }
1418
+ function flushActQueue(queue) {
1419
+ if (!isFlushing) {
1420
+ isFlushing = !0;
1421
+ var i = 0;
1422
+ try {
1423
+ for (; i < queue.length; i++) {
1424
+ var callback = queue[i];
1425
+ do {
1426
+ ReactSharedInternals.didUsePromise = !1;
1427
+ var continuation = callback(!1);
1428
+ if (null !== continuation) {
1429
+ if (ReactSharedInternals.didUsePromise) {
1430
+ queue[i] = callback;
1431
+ queue.splice(0, i);
1432
+ return;
1433
+ }
1434
+ callback = continuation;
1435
+ } else break;
1436
+ } while (1);
1437
+ }
1438
+ queue.length = 0;
1439
+ } catch (error) {
1440
+ queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);
1441
+ } finally {
1442
+ isFlushing = !1;
1443
+ }
1444
+ }
1445
+ }
1446
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1447
+ "function" ===
1448
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&
1449
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
1450
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
1451
+ REACT_PORTAL_TYPE = Symbol.for("react.portal"),
1452
+ REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
1453
+ REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
1454
+ REACT_PROFILER_TYPE = Symbol.for("react.profiler");
1455
+ var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
1456
+ REACT_CONTEXT_TYPE = Symbol.for("react.context"),
1457
+ REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
1458
+ REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
1459
+ REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
1460
+ REACT_MEMO_TYPE = Symbol.for("react.memo"),
1461
+ REACT_LAZY_TYPE = Symbol.for("react.lazy"),
1462
+ REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
1463
+ MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
1464
+ didWarnStateUpdateForUnmountedComponent = {},
1465
+ ReactNoopUpdateQueue = {
1466
+ isMounted: function () {
1467
+ return !1;
1468
+ },
1469
+ enqueueForceUpdate: function (publicInstance) {
1470
+ warnNoop(publicInstance, "forceUpdate");
1471
+ },
1472
+ enqueueReplaceState: function (publicInstance) {
1473
+ warnNoop(publicInstance, "replaceState");
1474
+ },
1475
+ enqueueSetState: function (publicInstance) {
1476
+ warnNoop(publicInstance, "setState");
1477
+ }
1478
+ },
1479
+ assign = Object.assign,
1480
+ emptyObject = {};
1481
+ Object.freeze(emptyObject);
1482
+ Component.prototype.isReactComponent = {};
1483
+ Component.prototype.setState = function (partialState, callback) {
1484
+ if (
1485
+ "object" !== typeof partialState &&
1486
+ "function" !== typeof partialState &&
1487
+ null != partialState
1488
+ )
1489
+ throw Error(
1490
+ "takes an object of state variables to update or a function which returns an object of state variables."
1491
+ );
1492
+ this.updater.enqueueSetState(this, partialState, callback, "setState");
1493
+ };
1494
+ Component.prototype.forceUpdate = function (callback) {
1495
+ this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
1496
+ };
1497
+ var deprecatedAPIs = {
1498
+ isMounted: [
1499
+ "isMounted",
1500
+ "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."
1501
+ ],
1502
+ replaceState: [
1503
+ "replaceState",
1504
+ "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
1505
+ ]
1506
+ },
1507
+ fnName;
1508
+ for (fnName in deprecatedAPIs)
1509
+ deprecatedAPIs.hasOwnProperty(fnName) &&
1510
+ defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
1511
+ ComponentDummy.prototype = Component.prototype;
1512
+ deprecatedAPIs = PureComponent.prototype = new ComponentDummy();
1513
+ deprecatedAPIs.constructor = PureComponent;
1514
+ assign(deprecatedAPIs, Component.prototype);
1515
+ deprecatedAPIs.isPureReactComponent = !0;
1516
+ var isArrayImpl = Array.isArray,
1517
+ REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
1518
+ ReactSharedInternals = {
1519
+ H: null,
1520
+ A: null,
1521
+ T: null,
1522
+ S: null,
1523
+ actQueue: null,
1524
+ isBatchingLegacy: !1,
1525
+ didScheduleLegacyUpdate: !1,
1526
+ didUsePromise: !1,
1527
+ thrownErrors: [],
1528
+ getCurrentStack: null
1529
+ },
1530
+ hasOwnProperty = Object.prototype.hasOwnProperty,
1531
+ REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
1532
+ disabledDepth = 0,
1533
+ prevLog,
1534
+ prevInfo,
1535
+ prevWarn,
1536
+ prevError,
1537
+ prevGroup,
1538
+ prevGroupCollapsed,
1539
+ prevGroupEnd;
1540
+ disabledLog.__reactDisabledLog = !0;
1541
+ var prefix,
1542
+ suffix,
1543
+ reentry = !1;
1544
+ var componentFrameCache = new (
1545
+ "function" === typeof WeakMap ? WeakMap : Map
1546
+ )();
1547
+ var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
1548
+ specialPropKeyWarningShown,
1549
+ didWarnAboutOldJSXRuntime;
1550
+ var didWarnAboutElementRef = {};
1551
+ var ownerHasKeyUseWarning = {},
1552
+ didWarnAboutMaps = !1,
1553
+ userProvidedKeyEscapeRegex = /\/+/g,
1554
+ reportGlobalError =
1555
+ "function" === typeof reportError
1556
+ ? reportError
1557
+ : function (error) {
1558
+ if (
1559
+ "object" === typeof window &&
1560
+ "function" === typeof window.ErrorEvent
1561
+ ) {
1562
+ var event = new window.ErrorEvent("error", {
1563
+ bubbles: !0,
1564
+ cancelable: !0,
1565
+ message:
1566
+ "object" === typeof error &&
1567
+ null !== error &&
1568
+ "string" === typeof error.message
1569
+ ? String(error.message)
1570
+ : String(error),
1571
+ error: error
1572
+ });
1573
+ if (!window.dispatchEvent(event)) return;
1574
+ } else if (
1575
+ "object" === typeof process &&
1576
+ "function" === typeof process.emit
1577
+ ) {
1578
+ process.emit("uncaughtException", error);
1579
+ return;
1580
+ }
1581
+ console.error(error);
1582
+ },
1583
+ didWarnAboutMessageChannel = !1,
1584
+ enqueueTaskImpl = null,
1585
+ actScopeDepth = 0,
1586
+ didWarnNoAwaitAct = !1,
1587
+ isFlushing = !1,
1588
+ queueSeveralMicrotasks =
1589
+ "function" === typeof queueMicrotask
1590
+ ? function (callback) {
1591
+ queueMicrotask(function () {
1592
+ return queueMicrotask(callback);
1593
+ });
1594
+ }
1595
+ : enqueueTask;
1596
+ exports.Children = {
1597
+ map: mapChildren,
1598
+ forEach: function (children, forEachFunc, forEachContext) {
1599
+ mapChildren(
1600
+ children,
1601
+ function () {
1602
+ forEachFunc.apply(this, arguments);
1603
+ },
1604
+ forEachContext
1605
+ );
1606
+ },
1607
+ count: function (children) {
1608
+ var n = 0;
1609
+ mapChildren(children, function () {
1610
+ n++;
1611
+ });
1612
+ return n;
1613
+ },
1614
+ toArray: function (children) {
1615
+ return (
1616
+ mapChildren(children, function (child) {
1617
+ return child;
1618
+ }) || []
1619
+ );
1620
+ },
1621
+ only: function (children) {
1622
+ if (!isValidElement(children))
1623
+ throw Error(
1624
+ "React.Children.only expected to receive a single React element child."
1625
+ );
1626
+ return children;
1627
+ }
1628
+ };
1629
+ exports.Component = Component;
1630
+ exports.Fragment = REACT_FRAGMENT_TYPE;
1631
+ exports.Profiler = REACT_PROFILER_TYPE;
1632
+ exports.PureComponent = PureComponent;
1633
+ exports.StrictMode = REACT_STRICT_MODE_TYPE;
1634
+ exports.Suspense = REACT_SUSPENSE_TYPE;
1635
+ exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
1636
+ ReactSharedInternals;
1637
+ exports.act = function (callback) {
1638
+ var prevActQueue = ReactSharedInternals.actQueue,
1639
+ prevActScopeDepth = actScopeDepth;
1640
+ actScopeDepth++;
1641
+ var queue = (ReactSharedInternals.actQueue =
1642
+ null !== prevActQueue ? prevActQueue : []),
1643
+ didAwaitActCall = !1;
1644
+ try {
1645
+ var result = callback();
1646
+ } catch (error) {
1647
+ ReactSharedInternals.thrownErrors.push(error);
1648
+ }
1649
+ if (0 < ReactSharedInternals.thrownErrors.length)
1650
+ throw (
1651
+ (popActScope(prevActQueue, prevActScopeDepth),
1652
+ (callback = aggregateErrors(ReactSharedInternals.thrownErrors)),
1653
+ (ReactSharedInternals.thrownErrors.length = 0),
1654
+ callback)
1655
+ );
1656
+ if (
1657
+ null !== result &&
1658
+ "object" === typeof result &&
1659
+ "function" === typeof result.then
1660
+ ) {
1661
+ var thenable = result;
1662
+ queueSeveralMicrotasks(function () {
1663
+ didAwaitActCall ||
1664
+ didWarnNoAwaitAct ||
1665
+ ((didWarnNoAwaitAct = !0),
1666
+ console.error(
1667
+ "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 () => ...);"
1668
+ ));
1669
+ });
1670
+ return {
1671
+ then: function (resolve, reject) {
1672
+ didAwaitActCall = !0;
1673
+ thenable.then(
1674
+ function (returnValue) {
1675
+ popActScope(prevActQueue, prevActScopeDepth);
1676
+ if (0 === prevActScopeDepth) {
1677
+ try {
1678
+ flushActQueue(queue),
1679
+ enqueueTask(function () {
1680
+ return recursivelyFlushAsyncActWork(
1681
+ returnValue,
1682
+ resolve,
1683
+ reject
1684
+ );
1685
+ });
1686
+ } catch (error$2) {
1687
+ ReactSharedInternals.thrownErrors.push(error$2);
1688
+ }
1689
+ if (0 < ReactSharedInternals.thrownErrors.length) {
1690
+ var _thrownError = aggregateErrors(
1691
+ ReactSharedInternals.thrownErrors
1692
+ );
1693
+ ReactSharedInternals.thrownErrors.length = 0;
1694
+ reject(_thrownError);
1695
+ }
1696
+ } else resolve(returnValue);
1697
+ },
1698
+ function (error) {
1699
+ popActScope(prevActQueue, prevActScopeDepth);
1700
+ 0 < ReactSharedInternals.thrownErrors.length
1701
+ ? ((error = aggregateErrors(
1702
+ ReactSharedInternals.thrownErrors
1703
+ )),
1704
+ (ReactSharedInternals.thrownErrors.length = 0),
1705
+ reject(error))
1706
+ : reject(error);
1707
+ }
1708
+ );
1709
+ }
1710
+ };
1711
+ }
1712
+ var returnValue$jscomp$0 = result;
1713
+ popActScope(prevActQueue, prevActScopeDepth);
1714
+ 0 === prevActScopeDepth &&
1715
+ (flushActQueue(queue),
1716
+ 0 !== queue.length &&
1717
+ queueSeveralMicrotasks(function () {
1718
+ didAwaitActCall ||
1719
+ didWarnNoAwaitAct ||
1720
+ ((didWarnNoAwaitAct = !0),
1721
+ console.error(
1722
+ "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(() => ...)"
1723
+ ));
1724
+ }),
1725
+ (ReactSharedInternals.actQueue = null));
1726
+ if (0 < ReactSharedInternals.thrownErrors.length)
1727
+ throw (
1728
+ ((callback = aggregateErrors(ReactSharedInternals.thrownErrors)),
1729
+ (ReactSharedInternals.thrownErrors.length = 0),
1730
+ callback)
1731
+ );
1732
+ return {
1733
+ then: function (resolve, reject) {
1734
+ didAwaitActCall = !0;
1735
+ 0 === prevActScopeDepth
1736
+ ? ((ReactSharedInternals.actQueue = queue),
1737
+ enqueueTask(function () {
1738
+ return recursivelyFlushAsyncActWork(
1739
+ returnValue$jscomp$0,
1740
+ resolve,
1741
+ reject
1742
+ );
1743
+ }))
1744
+ : resolve(returnValue$jscomp$0);
1745
+ }
1746
+ };
1747
+ };
1748
+ exports.cache = function (fn) {
1749
+ return function () {
1750
+ return fn.apply(null, arguments);
1751
+ };
1752
+ };
1753
+ exports.cloneElement = function (element, config, children) {
1754
+ if (null === element || void 0 === element)
1755
+ throw Error(
1756
+ "The argument must be a React element, but you passed " +
1757
+ element +
1758
+ "."
1759
+ );
1760
+ var props = assign({}, element.props),
1761
+ key = element.key,
1762
+ owner = element._owner;
1763
+ if (null != config) {
1764
+ var JSCompiler_inline_result;
1765
+ a: {
1766
+ if (
1767
+ hasOwnProperty.call(config, "ref") &&
1768
+ (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(
1769
+ config,
1770
+ "ref"
1771
+ ).get) &&
1772
+ JSCompiler_inline_result.isReactWarning
1773
+ ) {
1774
+ JSCompiler_inline_result = !1;
1775
+ break a;
1776
+ }
1777
+ JSCompiler_inline_result = void 0 !== config.ref;
1778
+ }
1779
+ JSCompiler_inline_result && (owner = getOwner());
1780
+ hasValidKey(config) &&
1781
+ (checkKeyStringCoercion(config.key), (key = "" + config.key));
1782
+ for (propName in config)
1783
+ !hasOwnProperty.call(config, propName) ||
1784
+ "key" === propName ||
1785
+ "__self" === propName ||
1786
+ "__source" === propName ||
1787
+ ("ref" === propName && void 0 === config.ref) ||
1788
+ (props[propName] = config[propName]);
1789
+ }
1790
+ var propName = arguments.length - 2;
1791
+ if (1 === propName) props.children = children;
1792
+ else if (1 < propName) {
1793
+ JSCompiler_inline_result = Array(propName);
1794
+ for (var i = 0; i < propName; i++)
1795
+ JSCompiler_inline_result[i] = arguments[i + 2];
1796
+ props.children = JSCompiler_inline_result;
1797
+ }
1798
+ props = ReactElement(element.type, key, void 0, void 0, owner, props);
1799
+ for (key = 2; key < arguments.length; key++)
1800
+ validateChildKeys(arguments[key], props.type);
1801
+ return props;
1802
+ };
1803
+ exports.createContext = function (defaultValue) {
1804
+ defaultValue = {
1805
+ $$typeof: REACT_CONTEXT_TYPE,
1806
+ _currentValue: defaultValue,
1807
+ _currentValue2: defaultValue,
1808
+ _threadCount: 0,
1809
+ Provider: null,
1810
+ Consumer: null
1811
+ };
1812
+ defaultValue.Provider = defaultValue;
1813
+ defaultValue.Consumer = {
1814
+ $$typeof: REACT_CONSUMER_TYPE,
1815
+ _context: defaultValue
1816
+ };
1817
+ defaultValue._currentRenderer = null;
1818
+ defaultValue._currentRenderer2 = null;
1819
+ return defaultValue;
1820
+ };
1821
+ exports.createElement = function (type, config, children) {
1822
+ if (isValidElementType(type))
1823
+ for (var i = 2; i < arguments.length; i++)
1824
+ validateChildKeys(arguments[i], type);
1825
+ else {
1826
+ i = "";
1827
+ if (
1828
+ void 0 === type ||
1829
+ ("object" === typeof type &&
1830
+ null !== type &&
1831
+ 0 === Object.keys(type).length)
1832
+ )
1833
+ i +=
1834
+ " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
1835
+ if (null === type) var typeString = "null";
1836
+ else
1837
+ isArrayImpl(type)
1838
+ ? (typeString = "array")
1839
+ : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
1840
+ ? ((typeString =
1841
+ "<" +
1842
+ (getComponentNameFromType(type.type) || "Unknown") +
1843
+ " />"),
1844
+ (i =
1845
+ " Did you accidentally export a JSX literal instead of a component?"))
1846
+ : (typeString = typeof type);
1847
+ console.error(
1848
+ "React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
1849
+ typeString,
1850
+ i
1851
+ );
1852
+ }
1853
+ var propName;
1854
+ i = {};
1855
+ typeString = null;
1856
+ if (null != config)
1857
+ for (propName in (didWarnAboutOldJSXRuntime ||
1858
+ !("__self" in config) ||
1859
+ "key" in config ||
1860
+ ((didWarnAboutOldJSXRuntime = !0),
1861
+ console.warn(
1862
+ "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"
1863
+ )),
1864
+ hasValidKey(config) &&
1865
+ (checkKeyStringCoercion(config.key), (typeString = "" + config.key)),
1866
+ config))
1867
+ hasOwnProperty.call(config, propName) &&
1868
+ "key" !== propName &&
1869
+ "__self" !== propName &&
1870
+ "__source" !== propName &&
1871
+ (i[propName] = config[propName]);
1872
+ var childrenLength = arguments.length - 2;
1873
+ if (1 === childrenLength) i.children = children;
1874
+ else if (1 < childrenLength) {
1875
+ for (
1876
+ var childArray = Array(childrenLength), _i = 0;
1877
+ _i < childrenLength;
1878
+ _i++
1879
+ )
1880
+ childArray[_i] = arguments[_i + 2];
1881
+ Object.freeze && Object.freeze(childArray);
1882
+ i.children = childArray;
1883
+ }
1884
+ if (type && type.defaultProps)
1885
+ for (propName in ((childrenLength = type.defaultProps), childrenLength))
1886
+ void 0 === i[propName] && (i[propName] = childrenLength[propName]);
1887
+ typeString &&
1888
+ defineKeyPropWarningGetter(
1889
+ i,
1890
+ "function" === typeof type
1891
+ ? type.displayName || type.name || "Unknown"
1892
+ : type
1893
+ );
1894
+ return ReactElement(type, typeString, void 0, void 0, getOwner(), i);
1895
+ };
1896
+ exports.createRef = function () {
1897
+ var refObject = { current: null };
1898
+ Object.seal(refObject);
1899
+ return refObject;
1900
+ };
1901
+ exports.forwardRef = function (render) {
1902
+ null != render && render.$$typeof === REACT_MEMO_TYPE
1903
+ ? console.error(
1904
+ "forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
1905
+ )
1906
+ : "function" !== typeof render
1907
+ ? console.error(
1908
+ "forwardRef requires a render function but was given %s.",
1909
+ null === render ? "null" : typeof render
1910
+ )
1911
+ : 0 !== render.length &&
1912
+ 2 !== render.length &&
1913
+ console.error(
1914
+ "forwardRef render functions accept exactly two parameters: props and ref. %s",
1915
+ 1 === render.length
1916
+ ? "Did you forget to use the ref parameter?"
1917
+ : "Any additional parameter will be undefined."
1918
+ );
1919
+ null != render &&
1920
+ null != render.defaultProps &&
1921
+ console.error(
1922
+ "forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"
1923
+ );
1924
+ var elementType = { $$typeof: REACT_FORWARD_REF_TYPE, render: render },
1925
+ ownName;
1926
+ Object.defineProperty(elementType, "displayName", {
1927
+ enumerable: !1,
1928
+ configurable: !0,
1929
+ get: function () {
1930
+ return ownName;
1931
+ },
1932
+ set: function (name) {
1933
+ ownName = name;
1934
+ render.name ||
1935
+ render.displayName ||
1936
+ (Object.defineProperty(render, "name", { value: name }),
1937
+ (render.displayName = name));
1938
+ }
1939
+ });
1940
+ return elementType;
1941
+ };
1942
+ exports.isValidElement = isValidElement;
1943
+ exports.lazy = function (ctor) {
1944
+ return {
1945
+ $$typeof: REACT_LAZY_TYPE,
1946
+ _payload: { _status: -1, _result: ctor },
1947
+ _init: lazyInitializer
1948
+ };
1949
+ };
1950
+ exports.memo = function (type, compare) {
1951
+ isValidElementType(type) ||
1952
+ console.error(
1953
+ "memo: The first argument must be a component. Instead received: %s",
1954
+ null === type ? "null" : typeof type
1955
+ );
1956
+ compare = {
1957
+ $$typeof: REACT_MEMO_TYPE,
1958
+ type: type,
1959
+ compare: void 0 === compare ? null : compare
1960
+ };
1961
+ var ownName;
1962
+ Object.defineProperty(compare, "displayName", {
1963
+ enumerable: !1,
1964
+ configurable: !0,
1965
+ get: function () {
1966
+ return ownName;
1967
+ },
1968
+ set: function (name) {
1969
+ ownName = name;
1970
+ type.name ||
1971
+ type.displayName ||
1972
+ (Object.defineProperty(type, "name", { value: name }),
1973
+ (type.displayName = name));
1974
+ }
1975
+ });
1976
+ return compare;
1977
+ };
1978
+ exports.startTransition = function (scope) {
1979
+ var prevTransition = ReactSharedInternals.T,
1980
+ currentTransition = {};
1981
+ ReactSharedInternals.T = currentTransition;
1982
+ currentTransition._updatedFibers = new Set();
1983
+ try {
1984
+ var returnValue = scope(),
1985
+ onStartTransitionFinish = ReactSharedInternals.S;
1986
+ null !== onStartTransitionFinish &&
1987
+ onStartTransitionFinish(currentTransition, returnValue);
1988
+ "object" === typeof returnValue &&
1989
+ null !== returnValue &&
1990
+ "function" === typeof returnValue.then &&
1991
+ returnValue.then(noop, reportGlobalError);
1992
+ } catch (error) {
1993
+ reportGlobalError(error);
1994
+ } finally {
1995
+ null === prevTransition &&
1996
+ currentTransition._updatedFibers &&
1997
+ ((scope = currentTransition._updatedFibers.size),
1998
+ currentTransition._updatedFibers.clear(),
1999
+ 10 < scope &&
2000
+ console.warn(
2001
+ "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."
2002
+ )),
2003
+ (ReactSharedInternals.T = prevTransition);
2004
+ }
2005
+ };
2006
+ exports.unstable_useCacheRefresh = function () {
2007
+ return resolveDispatcher().useCacheRefresh();
2008
+ };
2009
+ exports.use = function (usable) {
2010
+ return resolveDispatcher().use(usable);
2011
+ };
2012
+ exports.useActionState = function (action, initialState, permalink) {
2013
+ return resolveDispatcher().useActionState(
2014
+ action,
2015
+ initialState,
2016
+ permalink
2017
+ );
2018
+ };
2019
+ exports.useCallback = function (callback, deps) {
2020
+ return resolveDispatcher().useCallback(callback, deps);
2021
+ };
2022
+ exports.useContext = function (Context) {
2023
+ var dispatcher = resolveDispatcher();
2024
+ Context.$$typeof === REACT_CONSUMER_TYPE &&
2025
+ console.error(
2026
+ "Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"
2027
+ );
2028
+ return dispatcher.useContext(Context);
2029
+ };
2030
+ exports.useDebugValue = function (value, formatterFn) {
2031
+ return resolveDispatcher().useDebugValue(value, formatterFn);
2032
+ };
2033
+ exports.useDeferredValue = function (value, initialValue) {
2034
+ return resolveDispatcher().useDeferredValue(value, initialValue);
2035
+ };
2036
+ exports.useEffect = function (create, deps) {
2037
+ return resolveDispatcher().useEffect(create, deps);
2038
+ };
2039
+ exports.useId = function () {
2040
+ return resolveDispatcher().useId();
2041
+ };
2042
+ exports.useImperativeHandle = function (ref, create, deps) {
2043
+ return resolveDispatcher().useImperativeHandle(ref, create, deps);
2044
+ };
2045
+ exports.useInsertionEffect = function (create, deps) {
2046
+ return resolveDispatcher().useInsertionEffect(create, deps);
2047
+ };
2048
+ exports.useLayoutEffect = function (create, deps) {
2049
+ return resolveDispatcher().useLayoutEffect(create, deps);
2050
+ };
2051
+ exports.useMemo = function (create, deps) {
2052
+ return resolveDispatcher().useMemo(create, deps);
2053
+ };
2054
+ exports.useOptimistic = function (passthrough, reducer) {
2055
+ return resolveDispatcher().useOptimistic(passthrough, reducer);
2056
+ };
2057
+ exports.useReducer = function (reducer, initialArg, init) {
2058
+ return resolveDispatcher().useReducer(reducer, initialArg, init);
2059
+ };
2060
+ exports.useRef = function (initialValue) {
2061
+ return resolveDispatcher().useRef(initialValue);
2062
+ };
2063
+ exports.useState = function (initialState) {
2064
+ return resolveDispatcher().useState(initialState);
2065
+ };
2066
+ exports.useSyncExternalStore = function (
2067
+ subscribe,
2068
+ getSnapshot,
2069
+ getServerSnapshot
2070
+ ) {
2071
+ return resolveDispatcher().useSyncExternalStore(
2072
+ subscribe,
2073
+ getSnapshot,
2074
+ getServerSnapshot
2075
+ );
2076
+ };
2077
+ exports.useTransition = function () {
2078
+ return resolveDispatcher().useTransition();
2079
+ };
2080
+ exports.version = "19.0.0";
2081
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2082
+ "function" ===
2083
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
2084
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
2085
+ })();
2086
+ } (react_development, react_development.exports));
2087
+ return react_development.exports;
2088
+ }
2089
+
2090
+ var hasRequiredReact;
2091
+
2092
+ function requireReact () {
2093
+ if (hasRequiredReact) return react.exports;
2094
+ hasRequiredReact = 1;
2095
+
2096
+ if (process.env.NODE_ENV === 'production') {
2097
+ react.exports = requireReact_production();
2098
+ } else {
2099
+ react.exports = requireReact_development();
2100
+ }
2101
+ return react.exports;
2102
+ }
2103
+
2104
+ var reactExports = requireReact();
2105
+ var React = /*@__PURE__*/getDefaultExportFromCjs(reactExports);
2106
+
2107
+ class JRTest extends React.Component {
2108
+ render() {
2109
+ return /*#__PURE__*/React.createElement("div", null, "JRTest");
2110
+ }
2111
+ }
2112
+
2113
+ exports.JRTest = JRTest;