PluginProbe
Gutenberg / 24.1.0
Gutenberg v24.1.0
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
gutenberg / build / scripts / vendors / react-19.js

react-19.js in Gutenberg 24.1.0, at build/scripts/vendors/react-19.js

1,113 lines 52.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 var React = (() => {
2 function __wpWarnCompat(key) {var w = __wpWarnCompat.warned || (__wpWarnCompat.warned = {});if (w[key]) return;w[key] = true;var messages = {"legacy-element":"A React element created by an older React runtime (React 17/18) was detected and is handled by a compatibility patch. This usually means a bundled package ships its own React; align it with React 19.","inert":"An empty-string `inert` attribute was used. React 19 treats `inert` as a boolean, so the value was coerced to `true` by a compatibility patch. Pass `inert={true}` instead."};if (typeof console !== "undefined" && console.warn) {console.warn("[wordpress-react-19] " + messages[key]);}}
3
4 var __defProp = Object.defineProperty;
5 var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6 var __getOwnPropNames = Object.getOwnPropertyNames;
7 var __hasOwnProp = Object.prototype.hasOwnProperty;
8 var __esm = (fn, res) => function __init() {
9 return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
10 };
11 var __commonJS = (cb, mod) => function __require() {
12 return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
13 };
14 var __export = (target, all) => {
15 for (var name in all)
16 __defProp(target, name, { get: all[name], enumerable: true });
17 };
18 var __copyProps = (to, from, except, desc) => {
19 if (from && typeof from === "object" || typeof from === "function") {
20 for (let key of __getOwnPropNames(from))
21 if (!__hasOwnProp.call(to, key) && key !== except)
22 __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23 }
24 return to;
25 };
26 var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
27
28 // ../react-19/warn-compat.js
29 var warn_compat_exports = {};
30 __export(warn_compat_exports, {
31 warnCompat: () => warnCompat
32 });
33 function warnCompat(key, message) {
34 if (warned.has(key)) {
35 return;
36 }
37 warned.add(key);
38 if (typeof console !== "undefined" && console.warn) {
39 console.warn(`${PREFIX} ${message}`);
40 }
41 }
42 var PREFIX, warned;
43 var init_warn_compat = __esm({
44 "../react-19/warn-compat.js"() {
45 PREFIX = "[wordpress-react-19]";
46 warned = /* @__PURE__ */ new Set();
47 }
48 });
49
50 // ../react-19/node_modules/react/cjs/react.development.js
51 var require_react_development = __commonJS({
52 "../react-19/node_modules/react/cjs/react.development.js"(exports, module) {
53 "use strict";
54 (function() {
55 function defineDeprecationWarning(methodName, info) {
56 Object.defineProperty(Component.prototype, methodName, {
57 get: function() {
58 console.warn(
59 "%s(...) is deprecated in plain JavaScript React classes. %s",
60 info[0],
61 info[1]
62 );
63 }
64 });
65 }
66 function getIteratorFn(maybeIterable) {
67 if (null === maybeIterable || "object" !== typeof maybeIterable)
68 return null;
69 maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
70 return "function" === typeof maybeIterable ? maybeIterable : null;
71 }
72 function warnNoop(publicInstance, callerName) {
73 publicInstance = (publicInstance = publicInstance.constructor) && (publicInstance.displayName || publicInstance.name) || "ReactClass";
74 var warningKey = publicInstance + "." + callerName;
75 didWarnStateUpdateForUnmountedComponent[warningKey] || (console.error(
76 "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.",
77 callerName,
78 publicInstance
79 ), didWarnStateUpdateForUnmountedComponent[warningKey] = true);
80 }
81 function Component(props, context, updater) {
82 this.props = props;
83 this.context = context;
84 this.refs = emptyObject;
85 this.updater = updater || ReactNoopUpdateQueue;
86 }
87 function ComponentDummy() {
88 }
89 function PureComponent(props, context, updater) {
90 this.props = props;
91 this.context = context;
92 this.refs = emptyObject;
93 this.updater = updater || ReactNoopUpdateQueue;
94 }
95 function noop() {
96 }
97 function testStringCoercion(value) {
98 return "" + value;
99 }
100 function checkKeyStringCoercion(value) {
101 try {
102 testStringCoercion(value);
103 var JSCompiler_inline_result = false;
104 } catch (e) {
105 JSCompiler_inline_result = true;
106 }
107 if (JSCompiler_inline_result) {
108 JSCompiler_inline_result = console;
109 var JSCompiler_temp_const = JSCompiler_inline_result.error;
110 var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
111 JSCompiler_temp_const.call(
112 JSCompiler_inline_result,
113 "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
114 JSCompiler_inline_result$jscomp$0
115 );
116 return testStringCoercion(value);
117 }
118 }
119 function getComponentNameFromType(type) {
120 if (null == type) return null;
121 if ("function" === typeof type)
122 return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
123 if ("string" === typeof type) return type;
124 switch (type) {
125 case REACT_FRAGMENT_TYPE:
126 return "Fragment";
127 case REACT_PROFILER_TYPE:
128 return "Profiler";
129 case REACT_STRICT_MODE_TYPE:
130 return "StrictMode";
131 case REACT_SUSPENSE_TYPE:
132 return "Suspense";
133 case REACT_SUSPENSE_LIST_TYPE:
134 return "SuspenseList";
135 case REACT_ACTIVITY_TYPE:
136 return "Activity";
137 case REACT_VIEW_TRANSITION_TYPE:
138 return "ViewTransition";
139 }
140 if ("object" === typeof type)
141 switch ("number" === typeof type.tag && console.error(
142 "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
143 ), type.$$typeof) {
144 case REACT_PORTAL_TYPE:
145 return "Portal";
146 case REACT_CONTEXT_TYPE:
147 return type.displayName || "Context";
148 case REACT_CONSUMER_TYPE:
149 return (type._context.displayName || "Context") + ".Consumer";
150 case REACT_FORWARD_REF_TYPE:
151 var innerType = type.render;
152 type = type.displayName;
153 type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
154 return type;
155 case REACT_MEMO_TYPE:
156 return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
157 case REACT_LAZY_TYPE:
158 innerType = type._payload;
159 type = type._init;
160 try {
161 return getComponentNameFromType(type(innerType));
162 } catch (x) {
163 }
164 }
165 return null;
166 }
167 function getTaskName(type) {
168 if (type === REACT_FRAGMENT_TYPE) return "<>";
169 if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE)
170 return "<...>";
171 try {
172 var name = getComponentNameFromType(type);
173 return name ? "<" + name + ">" : "<...>";
174 } catch (x) {
175 return "<...>";
176 }
177 }
178 function getOwner() {
179 var dispatcher = ReactSharedInternals.A;
180 return null === dispatcher ? null : dispatcher.getOwner();
181 }
182 function UnknownOwner() {
183 return Error("react-stack-top-frame");
184 }
185 function hasValidKey(config) {
186 if (hasOwnProperty.call(config, "key")) {
187 var getter = Object.getOwnPropertyDescriptor(config, "key").get;
188 if (getter && getter.isReactWarning) return false;
189 }
190 return void 0 !== config.key;
191 }
192 function defineKeyPropWarningGetter(props, displayName) {
193 function warnAboutAccessingKey() {
194 specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error(
195 "%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)",
196 displayName
197 ));
198 }
199 warnAboutAccessingKey.isReactWarning = true;
200 Object.defineProperty(props, "key", {
201 get: warnAboutAccessingKey,
202 configurable: true
203 });
204 }
205 function elementRefGetterWithDeprecationWarning() {
206 var componentName = getComponentNameFromType(this.type);
207 didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error(
208 "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."
209 ));
210 componentName = this.props.ref;
211 return void 0 !== componentName ? componentName : null;
212 }
213 function ReactElement(type, key, props, owner, debugStack, debugTask) {
214 var refProp = props.ref;
215 type = {
216 $$typeof: REACT_ELEMENT_TYPE,
217 type,
218 key,
219 props,
220 _owner: owner
221 };
222 null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
223 enumerable: false,
224 get: elementRefGetterWithDeprecationWarning
225 }) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
226 type._store = {};
227 Object.defineProperty(type._store, "validated", {
228 configurable: false,
229 enumerable: false,
230 writable: true,
231 value: 0
232 });
233 Object.defineProperty(type, "_debugInfo", {
234 configurable: false,
235 enumerable: false,
236 writable: true,
237 value: null
238 });
239 Object.defineProperty(type, "_debugStack", {
240 configurable: false,
241 enumerable: false,
242 writable: true,
243 value: debugStack
244 });
245 Object.defineProperty(type, "_debugTask", {
246 configurable: false,
247 enumerable: false,
248 writable: true,
249 value: debugTask
250 });
251 Object.freeze && (Object.freeze(type.props), Object.freeze(type));
252 return type;
253 }
254 function cloneAndReplaceKey(oldElement, newKey) {
255 newKey = ReactElement(
256 oldElement.type,
257 newKey,
258 oldElement.props,
259 oldElement._owner,
260 oldElement._debugStack,
261 oldElement._debugTask
262 );
263 oldElement._store && (newKey._store.validated = oldElement._store.validated);
264 return newKey;
265 }
266 function validateChildKeys(node) {
267 isValidElement(node) ? node._store && (node._store.validated = 1) : "object" === typeof node && null !== node && node.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node._payload.status ? isValidElement(node._payload.value) && node._payload.value._store && (node._payload.value._store.validated = 1) : node._store && (node._store.validated = 1));
268 }
269 function isValidElement(object) {
270 return "object" === typeof object && null !== object && (object.$$typeof === REACT_ELEMENT_TYPE || (object.$$typeof === REACT_LEGACY_ELEMENT_TYPE && (__wpWarnCompat("legacy-element"), true)));
271 }
272 function escape(key) {
273 var escaperLookup = { "=": "=0", ":": "=2" };
274 return "$" + key.replace(/[=:]/g, function(match) {
275 return escaperLookup[match];
276 });
277 }
278 function getElementKey(element, index) {
279 return "object" === typeof element && null !== element && null != element.key ? (checkKeyStringCoercion(element.key), escape("" + element.key)) : index.toString(36);
280 }
281 function resolveThenable(thenable) {
282 switch (thenable.status) {
283 case "fulfilled":
284 return thenable.value;
285 case "rejected":
286 throw thenable.reason;
287 default:
288 switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(
289 function(fulfilledValue) {
290 "pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
291 },
292 function(error) {
293 "pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
294 }
295 )), thenable.status) {
296 case "fulfilled":
297 return thenable.value;
298 case "rejected":
299 throw thenable.reason;
300 }
301 }
302 throw thenable;
303 }
304 function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
305 var type = typeof children;
306 if ("undefined" === type || "boolean" === type) children = null;
307 var invokeCallback = false;
308 if (null === children) invokeCallback = true;
309 else
310 switch (type) {
311 case "bigint":
312 case "string":
313 case "number":
314 invokeCallback = true;
315 break;
316 case "object":
317 switch (children.$$typeof) {
318 case REACT_LEGACY_ELEMENT_TYPE: __wpWarnCompat("legacy-element"); case REACT_ELEMENT_TYPE:
319 case REACT_PORTAL_TYPE:
320 invokeCallback = true;
321 break;
322 case REACT_LAZY_TYPE:
323 return invokeCallback = children._init, mapIntoArray(
324 invokeCallback(children._payload),
325 array,
326 escapedPrefix,
327 nameSoFar,
328 callback
329 );
330 }
331 }
332 if (invokeCallback) {
333 invokeCallback = children;
334 callback = callback(invokeCallback);
335 var childKey = "" === nameSoFar ? "." + getElementKey(invokeCallback, 0) : nameSoFar;
336 isArrayImpl(callback) ? (escapedPrefix = "", null != childKey && (escapedPrefix = childKey.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function(c) {
337 return c;
338 })) : null != callback && (isValidElement(callback) && (null != callback.key && (invokeCallback && invokeCallback.key === callback.key || checkKeyStringCoercion(callback.key)), escapedPrefix = cloneAndReplaceKey(
339 callback,
340 escapedPrefix + (null == callback.key || invokeCallback && invokeCallback.key === callback.key ? "" : ("" + callback.key).replace(
341 userProvidedKeyEscapeRegex,
342 "$&/"
343 ) + "/") + childKey
344 ), "" !== nameSoFar && null != invokeCallback && isValidElement(invokeCallback) && null == invokeCallback.key && invokeCallback._store && !invokeCallback._store.validated && (escapedPrefix._store.validated = 2), callback = escapedPrefix), array.push(callback));
345 return 1;
346 }
347 invokeCallback = 0;
348 childKey = "" === nameSoFar ? "." : nameSoFar + ":";
349 if (isArrayImpl(children))
350 for (var i = 0; i < children.length; i++)
351 nameSoFar = children[i], type = childKey + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(
352 nameSoFar,
353 array,
354 escapedPrefix,
355 type,
356 callback
357 );
358 else if (i = getIteratorFn(children), "function" === typeof i)
359 for (i === children.entries && (didWarnAboutMaps || console.warn(
360 "Using Maps as children is not supported. Use an array of keyed ReactElements instead."
361 ), didWarnAboutMaps = true), children = i.call(children), i = 0; !(nameSoFar = children.next()).done; )
362 nameSoFar = nameSoFar.value, type = childKey + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(
363 nameSoFar,
364 array,
365 escapedPrefix,
366 type,
367 callback
368 );
369 else if ("object" === type) {
370 if ("function" === typeof children.then)
371 return mapIntoArray(
372 resolveThenable(children),
373 array,
374 escapedPrefix,
375 nameSoFar,
376 callback
377 );
378 array = String(children);
379 throw Error(
380 "Objects are not valid as a React child (found: " + ("[object Object]" === array ? "object with keys {" + Object.keys(children).join(", ") + "}" : array) + "). If you meant to render a collection of children, use an array instead."
381 );
382 }
383 return invokeCallback;
384 }
385 function mapChildren(children, func, context) {
386 if (null == children) return children;
387 var result = [], count = 0;
388 mapIntoArray(children, result, "", "", function(child) {
389 return func.call(context, child, count++);
390 });
391 return result;
392 }
393 function lazyInitializer(payload) {
394 if (-1 === payload._status) {
395 var resolveDebugValue = null, rejectDebugValue = null, ioInfo = payload._ioInfo;
396 null != ioInfo && (ioInfo.start = ioInfo.end = performance.now(), ioInfo.value = new Promise(function(resolve, reject) {
397 resolveDebugValue = resolve;
398 rejectDebugValue = reject;
399 }));
400 ioInfo = payload._result;
401 var thenable = ioInfo();
402 thenable.then(
403 function(moduleObject) {
404 if (0 === payload._status || -1 === payload._status) {
405 payload._status = 1;
406 payload._result = moduleObject;
407 var _ioInfo = payload._ioInfo;
408 if (null != _ioInfo) {
409 _ioInfo.end = performance.now();
410 var debugValue = null == moduleObject ? void 0 : moduleObject.default;
411 resolveDebugValue(debugValue);
412 _ioInfo.value.status = "fulfilled";
413 _ioInfo.value.value = debugValue;
414 }
415 void 0 === thenable.status && (thenable.status = "fulfilled", thenable.value = moduleObject);
416 }
417 },
418 function(error) {
419 if (0 === payload._status || -1 === payload._status) {
420 payload._status = 2;
421 payload._result = error;
422 var _ioInfo2 = payload._ioInfo;
423 null != _ioInfo2 && (_ioInfo2.end = performance.now(), _ioInfo2.value.then(noop, noop), rejectDebugValue(error), _ioInfo2.value.status = "rejected", _ioInfo2.value.reason = error);
424 void 0 === thenable.status && (thenable.status = "rejected", thenable.reason = error);
425 }
426 }
427 );
428 ioInfo = payload._ioInfo;
429 if (null != ioInfo) {
430 var displayName = thenable.displayName;
431 "string" === typeof displayName && (ioInfo.name = displayName);
432 }
433 -1 === payload._status && (payload._status = 0, payload._result = thenable);
434 }
435 if (1 === payload._status)
436 return ioInfo = payload._result, void 0 === ioInfo && console.error(
437 "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?",
438 ioInfo
439 ), "default" in ioInfo || console.error(
440 "lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",
441 ioInfo
442 ), ioInfo.default;
443 throw payload._result;
444 }
445 function resolveDispatcher() {
446 var dispatcher = ReactSharedInternals.H;
447 null === dispatcher && console.error(
448 "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."
449 );
450 return dispatcher;
451 }
452 function releaseAsyncTransition() {
453 ReactSharedInternals.asyncTransitions--;
454 }
455 function startTransition(scope) {
456 var prevTransition = ReactSharedInternals.T, currentTransition = {};
457 currentTransition.types = null !== prevTransition ? prevTransition.types : null;
458 currentTransition._updatedFibers = /* @__PURE__ */ new Set();
459 ReactSharedInternals.T = currentTransition;
460 try {
461 var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
462 null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
463 "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && (ReactSharedInternals.asyncTransitions++, returnValue.then(releaseAsyncTransition, releaseAsyncTransition), returnValue.then(noop, reportGlobalError));
464 } catch (error) {
465 reportGlobalError(error);
466 } finally {
467 null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn(
468 "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."
469 )), null !== prevTransition && null !== currentTransition.types && (null !== prevTransition.types && prevTransition.types !== currentTransition.types && console.error(
470 "We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."
471 ), prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
472 }
473 }
474 function addTransitionType(type) {
475 var transition = ReactSharedInternals.T;
476 if (null !== transition) {
477 var transitionTypes = transition.types;
478 null === transitionTypes ? transition.types = [type] : -1 === transitionTypes.indexOf(type) && transitionTypes.push(type);
479 } else
480 0 === ReactSharedInternals.asyncTransitions && console.error(
481 "addTransitionType can only be called inside a `startTransition()` callback. It must be associated with a specific Transition."
482 ), startTransition(addTransitionType.bind(null, type));
483 }
484 function enqueueTask(task) {
485 if (null === enqueueTaskImpl)
486 try {
487 var requireString = ("require" + Math.random()).slice(0, 7);
488 enqueueTaskImpl = (module && module[requireString]).call(
489 module,
490 "timers"
491 ).setImmediate;
492 } catch (_err) {
493 enqueueTaskImpl = function(callback) {
494 false === didWarnAboutMessageChannel && (didWarnAboutMessageChannel = true, "undefined" === typeof MessageChannel && console.error(
495 "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."
496 ));
497 var channel = new MessageChannel();
498 channel.port1.onmessage = callback;
499 channel.port2.postMessage(void 0);
500 };
501 }
502 return enqueueTaskImpl(task);
503 }
504 function aggregateErrors(errors) {
505 return 1 < errors.length && "function" === typeof AggregateError ? new AggregateError(errors) : errors[0];
506 }
507 function popActScope(prevActQueue, prevActScopeDepth) {
508 prevActScopeDepth !== actScopeDepth - 1 && console.error(
509 "You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "
510 );
511 actScopeDepth = prevActScopeDepth;
512 }
513 function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
514 var queue = ReactSharedInternals.actQueue;
515 if (null !== queue)
516 if (0 !== queue.length)
517 try {
518 flushActQueue(queue);
519 enqueueTask(function() {
520 return recursivelyFlushAsyncActWork(returnValue, resolve, reject);
521 });
522 return;
523 } catch (error) {
524 ReactSharedInternals.thrownErrors.push(error);
525 }
526 else ReactSharedInternals.actQueue = null;
527 0 < ReactSharedInternals.thrownErrors.length ? (queue = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, reject(queue)) : resolve(returnValue);
528 }
529 function flushActQueue(queue) {
530 if (!isFlushing) {
531 isFlushing = true;
532 var i = 0;
533 try {
534 for (; i < queue.length; i++) {
535 var callback = queue[i];
536 do {
537 ReactSharedInternals.didUsePromise = false;
538 var continuation = callback(false);
539 if (null !== continuation) {
540 if (ReactSharedInternals.didUsePromise) {
541 queue[i] = callback;
542 queue.splice(0, i);
543 return;
544 }
545 callback = continuation;
546 } else break;
547 } while (1);
548 }
549 queue.length = 0;
550 } catch (error) {
551 queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);
552 } finally {
553 isFlushing = false;
554 }
555 }
556 }
557 "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
558 var REACT_LEGACY_ELEMENT_TYPE = Symbol.for("react.element"), REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity"), REACT_VIEW_TRANSITION_TYPE = /* @__PURE__ */ Symbol.for("react.view_transition"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = {
559 isMounted: function() {
560 return false;
561 },
562 enqueueForceUpdate: function(publicInstance) {
563 warnNoop(publicInstance, "forceUpdate");
564 },
565 enqueueReplaceState: function(publicInstance) {
566 warnNoop(publicInstance, "replaceState");
567 },
568 enqueueSetState: function(publicInstance) {
569 warnNoop(publicInstance, "setState");
570 }
571 }, assign = Object.assign, emptyObject = {};
572 Object.freeze(emptyObject);
573 Component.prototype.isReactComponent = {};
574 Component.prototype.setState = function(partialState, callback) {
575 if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState)
576 throw Error(
577 "takes an object of state variables to update or a function which returns an object of state variables."
578 );
579 this.updater.enqueueSetState(this, partialState, callback, "setState");
580 };
581 Component.prototype.forceUpdate = function(callback) {
582 this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
583 };
584 var deprecatedAPIs = {
585 isMounted: [
586 "isMounted",
587 "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."
588 ],
589 replaceState: [
590 "replaceState",
591 "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
592 ]
593 };
594 for (fnName in deprecatedAPIs)
595 deprecatedAPIs.hasOwnProperty(fnName) && defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
596 ComponentDummy.prototype = Component.prototype;
597 deprecatedAPIs = PureComponent.prototype = new ComponentDummy();
598 deprecatedAPIs.constructor = PureComponent;
599 assign(deprecatedAPIs, Component.prototype);
600 deprecatedAPIs.isPureReactComponent = true;
601 var isArrayImpl = Array.isArray, REACT_CLIENT_REFERENCE = /* @__PURE__ */ Symbol.for("react.client.reference"), ReactSharedInternals = {
602 H: null,
603 A: null,
604 T: null,
605 S: null,
606 actQueue: null,
607 asyncTransitions: 0,
608 isBatchingLegacy: false,
609 didScheduleLegacyUpdate: false,
610 didUsePromise: false,
611 thrownErrors: [],
612 getCurrentStack: null,
613 recentlyCreatedOwnerStacks: 0
614 }, hasOwnProperty = Object.prototype.hasOwnProperty, createTask = console.createTask ? console.createTask : function() {
615 return null;
616 };
617 deprecatedAPIs = {
618 react_stack_bottom_frame: function(callStackForError) {
619 return callStackForError();
620 }
621 };
622 var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;
623 var didWarnAboutElementRef = {};
624 var unknownOwnerDebugStack = deprecatedAPIs.react_stack_bottom_frame.bind(
625 deprecatedAPIs,
626 UnknownOwner
627 )();
628 var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
629 var didWarnAboutMaps = false, userProvidedKeyEscapeRegex = /\/+/g, reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
630 if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
631 var event = new window.ErrorEvent("error", {
632 bubbles: true,
633 cancelable: true,
634 message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
635 error
636 });
637 if (!window.dispatchEvent(event)) return;
638 } else if ("object" === typeof process && "function" === typeof process.emit) {
639 process.emit("uncaughtException", error);
640 return;
641 }
642 console.error(error);
643 }, didWarnAboutMessageChannel = false, enqueueTaskImpl = null, actScopeDepth = 0, didWarnNoAwaitAct = false, isFlushing = false, queueSeveralMicrotasks = "function" === typeof queueMicrotask ? function(callback) {
644 queueMicrotask(function() {
645 return queueMicrotask(callback);
646 });
647 } : enqueueTask;
648 deprecatedAPIs = Object.freeze({
649 __proto__: null,
650 c: function(size) {
651 return resolveDispatcher().useMemoCache(size);
652 }
653 });
654 var fnName = {
655 map: mapChildren,
656 forEach: function(children, forEachFunc, forEachContext) {
657 mapChildren(
658 children,
659 function() {
660 forEachFunc.apply(this, arguments);
661 },
662 forEachContext
663 );
664 },
665 count: function(children) {
666 var n = 0;
667 mapChildren(children, function() {
668 n++;
669 });
670 return n;
671 },
672 toArray: function(children) {
673 return mapChildren(children, function(child) {
674 return child;
675 }) || [];
676 },
677 only: function(children) {
678 if (!isValidElement(children))
679 throw Error(
680 "React.Children.only expected to receive a single React element child."
681 );
682 return children;
683 }
684 };
685 exports.Activity = REACT_ACTIVITY_TYPE;
686 exports.Children = fnName;
687 exports.Component = Component;
688 exports.Fragment = REACT_FRAGMENT_TYPE;
689 exports.Profiler = REACT_PROFILER_TYPE;
690 exports.PureComponent = PureComponent;
691 exports.StrictMode = REACT_STRICT_MODE_TYPE;
692 exports.Suspense = REACT_SUSPENSE_TYPE;
693 exports.ViewTransition = REACT_VIEW_TRANSITION_TYPE;
694 exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
695 exports.__COMPILER_RUNTIME = deprecatedAPIs;
696 exports.act = function(callback) {
697 var prevActQueue = ReactSharedInternals.actQueue, prevActScopeDepth = actScopeDepth;
698 actScopeDepth++;
699 var queue = ReactSharedInternals.actQueue = null !== prevActQueue ? prevActQueue : [], didAwaitActCall = false;
700 try {
701 var result = callback();
702 } catch (error) {
703 ReactSharedInternals.thrownErrors.push(error);
704 }
705 if (0 < ReactSharedInternals.thrownErrors.length)
706 throw popActScope(prevActQueue, prevActScopeDepth), callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
707 if (null !== result && "object" === typeof result && "function" === typeof result.then) {
708 var thenable = result;
709 queueSeveralMicrotasks(function() {
710 didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = true, console.error(
711 "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 () => ...);"
712 ));
713 });
714 return {
715 then: function(resolve, reject) {
716 didAwaitActCall = true;
717 thenable.then(
718 function(returnValue) {
719 popActScope(prevActQueue, prevActScopeDepth);
720 if (0 === prevActScopeDepth) {
721 try {
722 flushActQueue(queue), enqueueTask(function() {
723 return recursivelyFlushAsyncActWork(
724 returnValue,
725 resolve,
726 reject
727 );
728 });
729 } catch (error$0) {
730 ReactSharedInternals.thrownErrors.push(error$0);
731 }
732 if (0 < ReactSharedInternals.thrownErrors.length) {
733 var _thrownError = aggregateErrors(
734 ReactSharedInternals.thrownErrors
735 );
736 ReactSharedInternals.thrownErrors.length = 0;
737 reject(_thrownError);
738 }
739 } else resolve(returnValue);
740 },
741 function(error) {
742 popActScope(prevActQueue, prevActScopeDepth);
743 0 < ReactSharedInternals.thrownErrors.length ? (error = aggregateErrors(
744 ReactSharedInternals.thrownErrors
745 ), ReactSharedInternals.thrownErrors.length = 0, reject(error)) : reject(error);
746 }
747 );
748 }
749 };
750 }
751 var returnValue$jscomp$0 = result;
752 popActScope(prevActQueue, prevActScopeDepth);
753 0 === prevActScopeDepth && (flushActQueue(queue), 0 !== queue.length && queueSeveralMicrotasks(function() {
754 didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = true, console.error(
755 "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(() => ...)"
756 ));
757 }), ReactSharedInternals.actQueue = null);
758 if (0 < ReactSharedInternals.thrownErrors.length)
759 throw callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
760 return {
761 then: function(resolve, reject) {
762 didAwaitActCall = true;
763 0 === prevActScopeDepth ? (ReactSharedInternals.actQueue = queue, enqueueTask(function() {
764 return recursivelyFlushAsyncActWork(
765 returnValue$jscomp$0,
766 resolve,
767 reject
768 );
769 })) : resolve(returnValue$jscomp$0);
770 }
771 };
772 };
773 exports.addTransitionType = addTransitionType;
774 exports.cache = function(fn) {
775 return function() {
776 return fn.apply(null, arguments);
777 };
778 };
779 exports.cacheSignal = function() {
780 return null;
781 };
782 exports.captureOwnerStack = function() {
783 var getCurrentStack = ReactSharedInternals.getCurrentStack;
784 return null === getCurrentStack ? null : getCurrentStack();
785 };
786 exports.cloneElement = function(element, config, children) {
787 if (null === element || void 0 === element)
788 throw Error(
789 "The argument must be a React element, but you passed " + element + "."
790 );
791 var props = assign({}, element.props), key = element.key, owner = element._owner;
792 if (null != config) {
793 var JSCompiler_inline_result;
794 a: {
795 if (hasOwnProperty.call(config, "ref") && (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(
796 config,
797 "ref"
798 ).get) && JSCompiler_inline_result.isReactWarning) {
799 JSCompiler_inline_result = false;
800 break a;
801 }
802 JSCompiler_inline_result = void 0 !== config.ref;
803 }
804 JSCompiler_inline_result && (owner = getOwner());
805 hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key);
806 for (propName in config)
807 !hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
808 }
809 var propName = arguments.length - 2;
810 if (1 === propName) props.children = children;
811 else if (1 < propName) {
812 JSCompiler_inline_result = Array(propName);
813 for (var i = 0; i < propName; i++)
814 JSCompiler_inline_result[i] = arguments[i + 2];
815 props.children = JSCompiler_inline_result;
816 }
817 props = ReactElement(
818 element.type,
819 key,
820 props,
821 owner,
822 element._debugStack,
823 element._debugTask
824 );
825 for (key = 2; key < arguments.length; key++)
826 validateChildKeys(arguments[key]);
827 return props;
828 };
829 exports.createContext = function(defaultValue) {
830 defaultValue = {
831 $$typeof: REACT_CONTEXT_TYPE,
832 _currentValue: defaultValue,
833 _currentValue2: defaultValue,
834 _threadCount: 0,
835 Provider: null,
836 Consumer: null
837 };
838 defaultValue.Provider = defaultValue;
839 defaultValue.Consumer = {
840 $$typeof: REACT_CONSUMER_TYPE,
841 _context: defaultValue
842 };
843 defaultValue._currentRenderer = null;
844 defaultValue._currentRenderer2 = null;
845 return defaultValue;
846 };
847 exports.createElement = function(type, config, children) {
848 for (var i = 2; i < arguments.length; i++)
849 validateChildKeys(arguments[i]);
850 var propName;
851 i = {};
852 var key = null;
853 if (null != config)
854 for (propName in didWarnAboutOldJSXRuntime || !("__self" in config) || "key" in config || (didWarnAboutOldJSXRuntime = true, console.warn(
855 "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"
856 )), hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key), config)
857 hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (i[propName] = config[propName]);
858 var childrenLength = arguments.length - 2;
859 if (1 === childrenLength) i.children = children;
860 else if (1 < childrenLength) {
861 for (var childArray = Array(childrenLength), _i = 0; _i < childrenLength; _i++)
862 childArray[_i] = arguments[_i + 2];
863 Object.freeze && Object.freeze(childArray);
864 i.children = childArray;
865 }
866 if (type && type.defaultProps)
867 for (propName in childrenLength = type.defaultProps, childrenLength)
868 void 0 === i[propName] && (i[propName] = childrenLength[propName]);
869 key && defineKeyPropWarningGetter(
870 i,
871 "function" === typeof type ? type.displayName || type.name || "Unknown" : type
872 );
873 (propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++) ? (childArray = Error.stackTraceLimit, Error.stackTraceLimit = 10, childrenLength = Error("react-stack-top-frame"), Error.stackTraceLimit = childArray) : childrenLength = unknownOwnerDebugStack;
874 return ReactElement(
875 type,
876 key,
877 i,
878 getOwner(),
879 childrenLength,
880 propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
881 );
882 };
883 exports.createRef = function() {
884 var refObject = { current: null };
885 Object.seal(refObject);
886 return refObject;
887 };
888 exports.forwardRef = function(render) {
889 null != render && render.$$typeof === REACT_MEMO_TYPE ? console.error(
890 "forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
891 ) : "function" !== typeof render ? console.error(
892 "forwardRef requires a render function but was given %s.",
893 null === render ? "null" : typeof render
894 ) : 0 !== render.length && 2 !== render.length && console.error(
895 "forwardRef render functions accept exactly two parameters: props and ref. %s",
896 1 === render.length ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."
897 );
898 null != render && null != render.defaultProps && console.error(
899 "forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"
900 );
901 var elementType = { $$typeof: REACT_FORWARD_REF_TYPE, render }, ownName;
902 Object.defineProperty(elementType, "displayName", {
903 enumerable: false,
904 configurable: true,
905 get: function() {
906 return ownName;
907 },
908 set: function(name) {
909 ownName = name;
910 render.name || render.displayName || (Object.defineProperty(render, "name", { value: name }), render.displayName = name);
911 }
912 });
913 return elementType;
914 };
915 exports.isValidElement = isValidElement;
916 exports.lazy = function(ctor) {
917 ctor = { _status: -1, _result: ctor };
918 var lazyType = {
919 $$typeof: REACT_LAZY_TYPE,
920 _payload: ctor,
921 _init: lazyInitializer
922 }, ioInfo = {
923 name: "lazy",
924 start: -1,
925 end: -1,
926 value: null,
927 owner: null,
928 debugStack: Error("react-stack-top-frame"),
929 debugTask: console.createTask ? console.createTask("lazy()") : null
930 };
931 ctor._ioInfo = ioInfo;
932 lazyType._debugInfo = [{ awaited: ioInfo }];
933 return lazyType;
934 };
935 exports.memo = function(type, compare) {
936 null == type && console.error(
937 "memo: The first argument must be a component. Instead received: %s",
938 null === type ? "null" : typeof type
939 );
940 compare = {
941 $$typeof: REACT_MEMO_TYPE,
942 type,
943 compare: void 0 === compare ? null : compare
944 };
945 var ownName;
946 Object.defineProperty(compare, "displayName", {
947 enumerable: false,
948 configurable: true,
949 get: function() {
950 return ownName;
951 },
952 set: function(name) {
953 ownName = name;
954 type.name || type.displayName || (Object.defineProperty(type, "name", { value: name }), type.displayName = name);
955 }
956 });
957 return compare;
958 };
959 exports.startTransition = startTransition;
960 exports.unstable_useCacheRefresh = function() {
961 return resolveDispatcher().useCacheRefresh();
962 };
963 exports.use = function(usable) {
964 return resolveDispatcher().use(usable);
965 };
966 exports.useActionState = function(action, initialState, permalink) {
967 return resolveDispatcher().useActionState(
968 action,
969 initialState,
970 permalink
971 );
972 };
973 exports.useCallback = function(callback, deps) {
974 return resolveDispatcher().useCallback(callback, deps);
975 };
976 exports.useContext = function(Context) {
977 var dispatcher = resolveDispatcher();
978 Context.$$typeof === REACT_CONSUMER_TYPE && console.error(
979 "Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"
980 );
981 return dispatcher.useContext(Context);
982 };
983 exports.useDebugValue = function(value, formatterFn) {
984 return resolveDispatcher().useDebugValue(value, formatterFn);
985 };
986 exports.useDeferredValue = function(value, initialValue) {
987 return resolveDispatcher().useDeferredValue(value, initialValue);
988 };
989 exports.useEffect = function(create, deps) {
990 null == create && console.warn(
991 "React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
992 );
993 return resolveDispatcher().useEffect(create, deps);
994 };
995 exports.useEffectEvent = function(callback) {
996 return resolveDispatcher().useEffectEvent(callback);
997 };
998 exports.useId = function() {
999 return resolveDispatcher().useId();
1000 };
1001 exports.useImperativeHandle = function(ref, create, deps) {
1002 return resolveDispatcher().useImperativeHandle(ref, create, deps);
1003 };
1004 exports.useInsertionEffect = function(create, deps) {
1005 null == create && console.warn(
1006 "React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"
1007 );
1008 return resolveDispatcher().useInsertionEffect(create, deps);
1009 };
1010 exports.useLayoutEffect = function(create, deps) {
1011 null == create && console.warn(
1012 "React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"
1013 );
1014 return resolveDispatcher().useLayoutEffect(create, deps);
1015 };
1016 exports.useMemo = function(create, deps) {
1017 return resolveDispatcher().useMemo(create, deps);
1018 };
1019 exports.useOptimistic = function(passthrough, reducer) {
1020 return resolveDispatcher().useOptimistic(passthrough, reducer);
1021 };
1022 exports.useReducer = function(reducer, initialArg, init) {
1023 return resolveDispatcher().useReducer(reducer, initialArg, init);
1024 };
1025 exports.useRef = function(initialValue) {
1026 return resolveDispatcher().useRef(initialValue);
1027 };
1028 exports.useState = function(initialState) {
1029 return resolveDispatcher().useState(initialState);
1030 };
1031 exports.useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) {
1032 return resolveDispatcher().useSyncExternalStore(
1033 subscribe,
1034 getSnapshot,
1035 getServerSnapshot
1036 );
1037 };
1038 exports.useTransition = function() {
1039 return resolveDispatcher().useTransition();
1040 };
1041 exports.version = "19.3.0";
1042 "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1043 })();
1044 }
1045 });
1046
1047 // ../react-19/node_modules/react/index.js
1048 var require_react = __commonJS({
1049 "../react-19/node_modules/react/index.js"(exports, module) {
1050 "use strict";
1051 if (false) {
1052 module.exports = null;
1053 } else {
1054 module.exports = require_react_development();
1055 }
1056 }
1057 });
1058
1059 // ../react-19/react.js
1060 var require_react2 = __commonJS({
1061 "../react-19/react.js"(exports, module) {
1062 var { warnCompat: warnCompat2 } = (init_warn_compat(), __toCommonJS(warn_compat_exports));
1063 var SECRET_INTERNALS_KEY = "__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED";
1064 var secretInternals = {
1065 ReactCurrentOwner: { current: null },
1066 ReactCurrentDispatcher: { current: null },
1067 ReactDebugCurrentFrame: {
1068 setExtraStackFrame() {
1069 warnCompat2(
1070 "react-secret-internals-setExtraStackFrame",
1071 `\`${SECRET_INTERNALS_KEY}.ReactDebugCurrentFrame.setExtraStackFrame\` was removed in React 19 and is a no-op compatibility shim.`
1072 );
1073 },
1074 getStackAddendum() {
1075 warnCompat2(
1076 "react-secret-internals-getStackAddendum",
1077 `\`${SECRET_INTERNALS_KEY}.ReactDebugCurrentFrame.getStackAddendum\` was removed in React 19 and is a no-op compatibility shim.`
1078 );
1079 return "";
1080 }
1081 }
1082 };
1083 var react = { ...require_react() };
1084 Object.defineProperty(react, SECRET_INTERNALS_KEY, {
1085 enumerable: true,
1086 configurable: true,
1087 get() {
1088 warnCompat2(
1089 "react-secret-internals",
1090 `Accessing \`${SECRET_INTERNALS_KEY}\` was removed in React 19 and is provided by a compatibility shim.`
1091 );
1092 return secretInternals;
1093 }
1094 });
1095 module.exports = react;
1096 }
1097 });
1098 return require_react2();
1099 })();
1100 /*! Bundled license information:
1101
1102 react/cjs/react.development.js:
1103 (**
1104 * @license React
1105 * react.development.js
1106 *
1107 * Copyright (c) Meta Platforms, Inc. and affiliates.
1108 *
1109 * This source code is licensed under the MIT license found in the
1110 * LICENSE file in the root directory of this source tree.
1111 *)
1112 */
1113