Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03.1k
1/**2 * @license React3 * react-dom-client.development.js4 *5 * Copyright (c) Meta Platforms, Inc. and affiliates.6 *7 * This source code is licensed under the MIT license found in the8 * LICENSE file in the root directory of this source tree.9 */10 11/*12 Modernizr 3.0.0pre (Custom Build) | MIT13*/14"use strict";15"production" !== process.env.NODE_ENV &&16 (function () {17 function findHook(fiber, id) {18 for (fiber = fiber.memoizedState; null !== fiber && 0 < id; )19 (fiber = fiber.next), id--;20 return fiber;21 }22 function copyWithSetImpl(obj, path, index, value) {23 if (index >= path.length) return value;24 var key = path[index],25 updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj);26 updated[key] = copyWithSetImpl(obj[key], path, index + 1, value);27 return updated;28 }29 function copyWithRename(obj, oldPath, newPath) {30 if (oldPath.length !== newPath.length)31 console.warn("copyWithRename() expects paths of the same length");32 else {33 for (var i = 0; i < newPath.length - 1; i++)34 if (oldPath[i] !== newPath[i]) {35 console.warn(36 "copyWithRename() expects paths to be the same except for the deepest key"37 );38 return;39 }40 return copyWithRenameImpl(obj, oldPath, newPath, 0);41 }42 }43 function copyWithRenameImpl(obj, oldPath, newPath, index) {44 var oldKey = oldPath[index],45 updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj);46 index + 1 === oldPath.length47 ? ((updated[newPath[index]] = updated[oldKey]),48 isArrayImpl(updated)49 ? updated.splice(oldKey, 1)50 : delete updated[oldKey])51 : (updated[oldKey] = copyWithRenameImpl(52 obj[oldKey],53 oldPath,54 newPath,55 index + 156 ));57 return updated;58 }59 function copyWithDeleteImpl(obj, path, index) {60 var key = path[index],61 updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj);62 if (index + 1 === path.length)63 return (64 isArrayImpl(updated) ? updated.splice(key, 1) : delete updated[key],65 updated66 );67 updated[key] = copyWithDeleteImpl(obj[key], path, index + 1);68 return updated;69 }70 function shouldSuspendImpl() {71 return !1;72 }73 function shouldErrorImpl() {74 return null;75 }76 function warnInvalidHookAccess() {77 console.error(78 "Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks"79 );80 }81 function warnInvalidContextAccess() {82 console.error(83 "Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."84 );85 }86 function noop() {}87 function warnForMissingKey() {}88 function setToSortedString(set) {89 var array = [];90 set.forEach(function (value) {91 array.push(value);92 });93 return array.sort().join(", ");94 }95 function createFiber(tag, pendingProps, key, mode) {96 return new FiberNode(tag, pendingProps, key, mode);97 }98 function scheduleRoot(root, element) {99 root.context === emptyContextObject &&100 (updateContainerImpl(root.current, 2, element, root, null, null),101 flushSyncWork$1());102 }103 function scheduleRefresh(root, update) {104 if (null !== resolveFamily) {105 var staleFamilies = update.staleFamilies;106 update = update.updatedFamilies;107 flushPendingEffects();108 scheduleFibersWithFamiliesRecursively(109 root.current,110 update,111 staleFamilies112 );113 flushSyncWork$1();114 }115 }116 function setRefreshHandler(handler) {117 resolveFamily = handler;118 }119 function isValidContainer(node) {120 return !(121 !node ||122 (1 !== node.nodeType && 9 !== node.nodeType && 11 !== node.nodeType)123 );124 }125 function getNearestMountedFiber(fiber) {126 var node = fiber,127 nearestMounted = fiber;128 if (fiber.alternate) for (; node.return; ) node = node.return;129 else {130 fiber = node;131 do132 (node = fiber),133 0 !== (node.flags & 4098) && (nearestMounted = node.return),134 (fiber = node.return);135 while (fiber);136 }137 return 3 === node.tag ? nearestMounted : null;138 }139 function getSuspenseInstanceFromFiber(fiber) {140 if (13 === fiber.tag) {141 var suspenseState = fiber.memoizedState;142 null === suspenseState &&143 ((fiber = fiber.alternate),144 null !== fiber && (suspenseState = fiber.memoizedState));145 if (null !== suspenseState) return suspenseState.dehydrated;146 }147 return null;148 }149 function getActivityInstanceFromFiber(fiber) {150 if (31 === fiber.tag) {151 var activityState = fiber.memoizedState;152 null === activityState &&153 ((fiber = fiber.alternate),154 null !== fiber && (activityState = fiber.memoizedState));155 if (null !== activityState) return activityState.dehydrated;156 }157 return null;158 }159 function assertIsMounted(fiber) {160 if (getNearestMountedFiber(fiber) !== fiber)161 throw Error("Unable to find node on an unmounted component.");162 }163 function findCurrentFiberUsingSlowPath(fiber) {164 var alternate = fiber.alternate;165 if (!alternate) {166 alternate = getNearestMountedFiber(fiber);167 if (null === alternate)168 throw Error("Unable to find node on an unmounted component.");169 return alternate !== fiber ? null : fiber;170 }171 for (var a = fiber, b = alternate; ; ) {172 var parentA = a.return;173 if (null === parentA) break;174 var parentB = parentA.alternate;175 if (null === parentB) {176 b = parentA.return;177 if (null !== b) {178 a = b;179 continue;180 }181 break;182 }183 if (parentA.child === parentB.child) {184 for (parentB = parentA.child; parentB; ) {185 if (parentB === a) return assertIsMounted(parentA), fiber;186 if (parentB === b) return assertIsMounted(parentA), alternate;187 parentB = parentB.sibling;188 }189 throw Error("Unable to find node on an unmounted component.");190 }191 if (a.return !== b.return) (a = parentA), (b = parentB);192 else {193 for (var didFindChild = !1, _child = parentA.child; _child; ) {194 if (_child === a) {195 didFindChild = !0;196 a = parentA;197 b = parentB;198 break;199 }200 if (_child === b) {201 didFindChild = !0;202 b = parentA;203 a = parentB;204 break;205 }206 _child = _child.sibling;207 }208 if (!didFindChild) {209 for (_child = parentB.child; _child; ) {210 if (_child === a) {211 didFindChild = !0;212 a = parentB;213 b = parentA;214 break;215 }216 if (_child === b) {217 didFindChild = !0;218 b = parentB;219 a = parentA;220 break;221 }222 _child = _child.sibling;223 }224 if (!didFindChild)225 throw Error(226 "Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue."227 );228 }229 }230 if (a.alternate !== b)231 throw Error(232 "Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue."233 );234 }235 if (3 !== a.tag)236 throw Error("Unable to find node on an unmounted component.");237 return a.stateNode.current === a ? fiber : alternate;238 }239 function findCurrentHostFiberImpl(node) {240 var tag = node.tag;241 if (5 === tag || 26 === tag || 27 === tag || 6 === tag) return node;242 for (node = node.child; null !== node; ) {243 tag = findCurrentHostFiberImpl(node);244 if (null !== tag) return tag;245 node = node.sibling;246 }247 return null;248 }249 function getIteratorFn(maybeIterable) {250 if (null === maybeIterable || "object" !== typeof maybeIterable)251 return null;252 maybeIterable =253 (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||254 maybeIterable["@@iterator"];255 return "function" === typeof maybeIterable ? maybeIterable : null;256 }257 function getComponentNameFromType(type) {258 if (null == type) return null;259 if ("function" === typeof type)260 return type.$$typeof === REACT_CLIENT_REFERENCE261 ? null262 : type.displayName || type.name || null;263 if ("string" === typeof type) return type;264 switch (type) {265 case REACT_FRAGMENT_TYPE:266 return "Fragment";267 case REACT_PROFILER_TYPE:268 return "Profiler";269 case REACT_STRICT_MODE_TYPE:270 return "StrictMode";271 case REACT_SUSPENSE_TYPE:272 return "Suspense";273 case REACT_SUSPENSE_LIST_TYPE:274 return "SuspenseList";275 case REACT_ACTIVITY_TYPE:276 return "Activity";277 }278 if ("object" === typeof type)279 switch (280 ("number" === typeof type.tag &&281 console.error(282 "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."283 ),284 type.$$typeof)285 ) {286 case REACT_PORTAL_TYPE:287 return "Portal";288 case REACT_CONTEXT_TYPE:289 return type.displayName || "Context";290 case REACT_CONSUMER_TYPE:291 return (type._context.displayName || "Context") + ".Consumer";292 case REACT_FORWARD_REF_TYPE:293 var innerType = type.render;294 type = type.displayName;295 type ||296 ((type = innerType.displayName || innerType.name || ""),297 (type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"));298 return type;299 case REACT_MEMO_TYPE:300 return (301 (innerType = type.displayName || null),302 null !== innerType303 ? innerType304 : getComponentNameFromType(type.type) || "Memo"305 );306 case REACT_LAZY_TYPE:307 innerType = type._payload;308 type = type._init;309 try {310 return getComponentNameFromType(type(innerType));311 } catch (x) {}312 }313 return null;314 }315 function getComponentNameFromOwner(owner) {316 return "number" === typeof owner.tag317 ? getComponentNameFromFiber(owner)318 : "string" === typeof owner.name319 ? owner.name320 : null;321 }322 function getComponentNameFromFiber(fiber) {323 var type = fiber.type;324 switch (fiber.tag) {325 case 31:326 return "Activity";327 case 24:328 return "Cache";329 case 9:330 return (type._context.displayName || "Context") + ".Consumer";331 case 10:332 return type.displayName || "Context";333 case 18:334 return "DehydratedFragment";335 case 11:336 return (337 (fiber = type.render),338 (fiber = fiber.displayName || fiber.name || ""),339 type.displayName ||340 ("" !== fiber ? "ForwardRef(" + fiber + ")" : "ForwardRef")341 );342 case 7:343 return "Fragment";344 case 26:345 case 27:346 case 5:347 return type;348 case 4:349 return "Portal";350 case 3:351 return "Root";352 case 6:353 return "Text";354 case 16:355 return getComponentNameFromType(type);356 case 8:357 return type === REACT_STRICT_MODE_TYPE ? "StrictMode" : "Mode";358 case 22:359 return "Offscreen";360 case 12:361 return "Profiler";362 case 21:363 return "Scope";364 case 13:365 return "Suspense";366 case 19:367 return "SuspenseList";368 case 25:369 return "TracingMarker";370 case 1:371 case 0:372 case 14:373 case 15:374 if ("function" === typeof type)375 return type.displayName || type.name || null;376 if ("string" === typeof type) return type;377 break;378 case 29:379 type = fiber._debugInfo;380 if (null != type)381 for (var i = type.length - 1; 0 <= i; i--)382 if ("string" === typeof type[i].name) return type[i].name;383 if (null !== fiber.return)384 return getComponentNameFromFiber(fiber.return);385 }386 return null;387 }388 function createCursor(defaultValue) {389 return { current: defaultValue };390 }391 function pop(cursor, fiber) {392 0 > index$jscomp$0393 ? console.error("Unexpected pop.")394 : (fiber !== fiberStack[index$jscomp$0] &&395 console.error("Unexpected Fiber popped."),396 (cursor.current = valueStack[index$jscomp$0]),397 (valueStack[index$jscomp$0] = null),398 (fiberStack[index$jscomp$0] = null),399 index$jscomp$0--);400 }401 function push(cursor, value, fiber) {402 index$jscomp$0++;403 valueStack[index$jscomp$0] = cursor.current;404 fiberStack[index$jscomp$0] = fiber;405 cursor.current = value;406 }407 function requiredContext(c) {408 null === c &&409 console.error(410 "Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."411 );412 return c;413 }414 function pushHostContainer(fiber, nextRootInstance) {415 push(rootInstanceStackCursor, nextRootInstance, fiber);416 push(contextFiberStackCursor, fiber, fiber);417 push(contextStackCursor, null, fiber);418 var nextRootContext = nextRootInstance.nodeType;419 switch (nextRootContext) {420 case 9:421 case 11:422 nextRootContext = 9 === nextRootContext ? "#document" : "#fragment";423 nextRootInstance = (nextRootInstance =424 nextRootInstance.documentElement)425 ? (nextRootInstance = nextRootInstance.namespaceURI)426 ? getOwnHostContext(nextRootInstance)427 : HostContextNamespaceNone428 : HostContextNamespaceNone;429 break;430 default:431 if (432 ((nextRootContext = nextRootInstance.tagName),433 (nextRootInstance = nextRootInstance.namespaceURI))434 )435 (nextRootInstance = getOwnHostContext(nextRootInstance)),436 (nextRootInstance = getChildHostContextProd(437 nextRootInstance,438 nextRootContext439 ));440 else441 switch (nextRootContext) {442 case "svg":443 nextRootInstance = HostContextNamespaceSvg;444 break;445 case "math":446 nextRootInstance = HostContextNamespaceMath;447 break;448 default:449 nextRootInstance = HostContextNamespaceNone;450 }451 }452 nextRootContext = nextRootContext.toLowerCase();453 nextRootContext = updatedAncestorInfoDev(null, nextRootContext);454 nextRootContext = {455 context: nextRootInstance,456 ancestorInfo: nextRootContext457 };458 pop(contextStackCursor, fiber);459 push(contextStackCursor, nextRootContext, fiber);460 }461 function popHostContainer(fiber) {462 pop(contextStackCursor, fiber);463 pop(contextFiberStackCursor, fiber);464 pop(rootInstanceStackCursor, fiber);465 }466 function getHostContext() {467 return requiredContext(contextStackCursor.current);468 }469 function pushHostContext(fiber) {470 null !== fiber.memoizedState &&471 push(hostTransitionProviderCursor, fiber, fiber);472 var context = requiredContext(contextStackCursor.current);473 var type = fiber.type;474 var nextContext = getChildHostContextProd(context.context, type);475 type = updatedAncestorInfoDev(context.ancestorInfo, type);476 nextContext = { context: nextContext, ancestorInfo: type };477 context !== nextContext &&478 (push(contextFiberStackCursor, fiber, fiber),479 push(contextStackCursor, nextContext, fiber));480 }481 function popHostContext(fiber) {482 contextFiberStackCursor.current === fiber &&483 (pop(contextStackCursor, fiber), pop(contextFiberStackCursor, fiber));484 hostTransitionProviderCursor.current === fiber &&485 (pop(hostTransitionProviderCursor, fiber),486 (HostTransitionContext._currentValue = NotPendingTransition));487 }488 function disabledLog() {}489 function disableLogs() {490 if (0 === disabledDepth) {491 prevLog = console.log;492 prevInfo = console.info;493 prevWarn = console.warn;494 prevError = console.error;495 prevGroup = console.group;496 prevGroupCollapsed = console.groupCollapsed;497 prevGroupEnd = console.groupEnd;498 var props = {499 configurable: !0,500 enumerable: !0,501 value: disabledLog,502 writable: !0503 };504 Object.defineProperties(console, {505 info: props,506 log: props,507 warn: props,508 error: props,509 group: props,510 groupCollapsed: props,511 groupEnd: props512 });513 }514 disabledDepth++;515 }516 function reenableLogs() {517 disabledDepth--;518 if (0 === disabledDepth) {519 var props = { configurable: !0, enumerable: !0, writable: !0 };520 Object.defineProperties(console, {521 log: assign({}, props, { value: prevLog }),522 info: assign({}, props, { value: prevInfo }),523 warn: assign({}, props, { value: prevWarn }),524 error: assign({}, props, { value: prevError }),525 group: assign({}, props, { value: prevGroup }),526 groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),527 groupEnd: assign({}, props, { value: prevGroupEnd })528 });529 }530 0 > disabledDepth &&531 console.error(532 "disabledDepth fell below zero. This is a bug in React. Please file an issue."533 );534 }535 function formatOwnerStack(error) {536 var prevPrepareStackTrace = Error.prepareStackTrace;537 Error.prepareStackTrace = void 0;538 error = error.stack;539 Error.prepareStackTrace = prevPrepareStackTrace;540 error.startsWith("Error: react-stack-top-frame\n") &&541 (error = error.slice(29));542 prevPrepareStackTrace = error.indexOf("\n");543 -1 !== prevPrepareStackTrace &&544 (error = error.slice(prevPrepareStackTrace + 1));545 prevPrepareStackTrace = error.indexOf("react_stack_bottom_frame");546 -1 !== prevPrepareStackTrace &&547 (prevPrepareStackTrace = error.lastIndexOf(548 "\n",549 prevPrepareStackTrace550 ));551 if (-1 !== prevPrepareStackTrace)552 error = error.slice(0, prevPrepareStackTrace);553 else return "";554 return error;555 }556 function describeBuiltInComponentFrame(name) {557 if (void 0 === prefix)558 try {559 throw Error();560 } catch (x) {561 var match = x.stack.trim().match(/\n( *(at )?)/);562 prefix = (match && match[1]) || "";563 suffix =564 -1 < x.stack.indexOf("\n at")565 ? " (<anonymous>)"566 : -1 < x.stack.indexOf("@")567 ? "@unknown:0:0"568 : "";569 }570 return "\n" + prefix + name + suffix;571 }572 function describeNativeComponentFrame(fn, construct) {573 if (!fn || reentry) return "";574 var frame = componentFrameCache.get(fn);575 if (void 0 !== frame) return frame;576 reentry = !0;577 frame = Error.prepareStackTrace;578 Error.prepareStackTrace = void 0;579 var previousDispatcher = null;580 previousDispatcher = ReactSharedInternals.H;581 ReactSharedInternals.H = null;582 disableLogs();583 try {584 var RunInRootFrame = {585 DetermineComponentFrameRoot: function () {586 try {587 if (construct) {588 var Fake = function () {589 throw Error();590 };591 Object.defineProperty(Fake.prototype, "props", {592 set: function () {593 throw Error();594 }595 });596 if ("object" === typeof Reflect && Reflect.construct) {597 try {598 Reflect.construct(Fake, []);599 } catch (x) {600 var control = x;601 }602 Reflect.construct(fn, [], Fake);603 } else {604 try {605 Fake.call();606 } catch (x$0) {607 control = x$0;608 }609 fn.call(Fake.prototype);610 }611 } else {612 try {613 throw Error();614 } catch (x$1) {615 control = x$1;616 }617 (Fake = fn()) &&618 "function" === typeof Fake.catch &&619 Fake.catch(function () {});620 }621 } catch (sample) {622 if (sample && control && "string" === typeof sample.stack)623 return [sample.stack, control.stack];624 }625 return [null, null];626 }627 };628 RunInRootFrame.DetermineComponentFrameRoot.displayName =629 "DetermineComponentFrameRoot";630 var namePropDescriptor = Object.getOwnPropertyDescriptor(631 RunInRootFrame.DetermineComponentFrameRoot,632 "name"633 );634 namePropDescriptor &&635 namePropDescriptor.configurable &&636 Object.defineProperty(637 RunInRootFrame.DetermineComponentFrameRoot,638 "name",639 { value: "DetermineComponentFrameRoot" }640 );641 var _RunInRootFrame$Deter =642 RunInRootFrame.DetermineComponentFrameRoot(),643 sampleStack = _RunInRootFrame$Deter[0],644 controlStack = _RunInRootFrame$Deter[1];645 if (sampleStack && controlStack) {646 var sampleLines = sampleStack.split("\n"),647 controlLines = controlStack.split("\n");648 for (649 _RunInRootFrame$Deter = namePropDescriptor = 0;650 namePropDescriptor < sampleLines.length &&651 !sampleLines[namePropDescriptor].includes(652 "DetermineComponentFrameRoot"653 );654 655 )656 namePropDescriptor++;657 for (658 ;659 _RunInRootFrame$Deter < controlLines.length &&660 !controlLines[_RunInRootFrame$Deter].includes(661 "DetermineComponentFrameRoot"662 );663 664 )665 _RunInRootFrame$Deter++;666 if (667 namePropDescriptor === sampleLines.length ||668 _RunInRootFrame$Deter === controlLines.length669 )670 for (671 namePropDescriptor = sampleLines.length - 1,672 _RunInRootFrame$Deter = controlLines.length - 1;673 1 <= namePropDescriptor &&674 0 <= _RunInRootFrame$Deter &&675 sampleLines[namePropDescriptor] !==676 controlLines[_RunInRootFrame$Deter];677 678 )679 _RunInRootFrame$Deter--;680 for (681 ;682 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;683 namePropDescriptor--, _RunInRootFrame$Deter--684 )685 if (686 sampleLines[namePropDescriptor] !==687 controlLines[_RunInRootFrame$Deter]688 ) {689 if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {690 do691 if (692 (namePropDescriptor--,693 _RunInRootFrame$Deter--,694 0 > _RunInRootFrame$Deter ||695 sampleLines[namePropDescriptor] !==696 controlLines[_RunInRootFrame$Deter])697 ) {698 var _frame =699 "\n" +700 sampleLines[namePropDescriptor].replace(701 " at new ",702 " at "703 );704 fn.displayName &&705 _frame.includes("<anonymous>") &&706 (_frame = _frame.replace("<anonymous>", fn.displayName));707 "function" === typeof fn &&708 componentFrameCache.set(fn, _frame);709 return _frame;710 }711 while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);712 }713 break;714 }715 }716 } finally {717 (reentry = !1),718 (ReactSharedInternals.H = previousDispatcher),719 reenableLogs(),720 (Error.prepareStackTrace = frame);721 }722 sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "")723 ? describeBuiltInComponentFrame(sampleLines)724 : "";725 "function" === typeof fn && componentFrameCache.set(fn, sampleLines);726 return sampleLines;727 }728 function describeFiber(fiber, childFiber) {729 switch (fiber.tag) {730 case 26:731 case 27:732 case 5:733 return describeBuiltInComponentFrame(fiber.type);734 case 16:735 return describeBuiltInComponentFrame("Lazy");736 case 13:737 return fiber.child !== childFiber && null !== childFiber738 ? describeBuiltInComponentFrame("Suspense Fallback")739 : describeBuiltInComponentFrame("Suspense");740 case 19:741 return describeBuiltInComponentFrame("SuspenseList");742 case 0:743 case 15:744 return describeNativeComponentFrame(fiber.type, !1);745 case 11:746 return describeNativeComponentFrame(fiber.type.render, !1);747 case 1:748 return describeNativeComponentFrame(fiber.type, !0);749 case 31:750 return describeBuiltInComponentFrame("Activity");751 default:752 return "";753 }754 }755 function getStackByFiberInDevAndProd(workInProgress) {756 try {757 var info = "",758 previous = null;759 do {760 info += describeFiber(workInProgress, previous);761 var debugInfo = workInProgress._debugInfo;762 if (debugInfo)763 for (var i = debugInfo.length - 1; 0 <= i; i--) {764 var entry = debugInfo[i];765 if ("string" === typeof entry.name) {766 var JSCompiler_temp_const = info;767 a: {768 var name = entry.name,769 env = entry.env,770 location = entry.debugLocation;771 if (null != location) {772 var childStack = formatOwnerStack(location),773 idx = childStack.lastIndexOf("\n"),774 lastLine =775 -1 === idx ? childStack : childStack.slice(idx + 1);776 if (-1 !== lastLine.indexOf(name)) {777 var JSCompiler_inline_result = "\n" + lastLine;778 break a;779 }780 }781 JSCompiler_inline_result = describeBuiltInComponentFrame(782 name + (env ? " [" + env + "]" : "")783 );784 }785 info = JSCompiler_temp_const + JSCompiler_inline_result;786 }787 }788 previous = workInProgress;789 workInProgress = workInProgress.return;790 } while (workInProgress);791 return info;792 } catch (x) {793 return "\nError generating stack: " + x.message + "\n" + x.stack;794 }795 }796 function describeFunctionComponentFrameWithoutLineNumber(fn) {797 return (fn = fn ? fn.displayName || fn.name : "")798 ? describeBuiltInComponentFrame(fn)799 : "";800 }801 function getCurrentFiberOwnerNameInDevOrNull() {802 if (null === current) return null;803 var owner = current._debugOwner;804 return null != owner ? getComponentNameFromOwner(owner) : null;805 }806 function getCurrentFiberStackInDev() {807 if (null === current) return "";808 var workInProgress = current;809 try {810 var info = "";811 6 === workInProgress.tag && (workInProgress = workInProgress.return);812 switch (workInProgress.tag) {813 case 26:814 case 27:815 case 5:816 info += describeBuiltInComponentFrame(workInProgress.type);817 break;818 case 13:819 info += describeBuiltInComponentFrame("Suspense");820 break;821 case 19:822 info += describeBuiltInComponentFrame("SuspenseList");823 break;824 case 31:825 info += describeBuiltInComponentFrame("Activity");826 break;827 case 30:828 case 0:829 case 15:830 case 1:831 workInProgress._debugOwner ||832 "" !== info ||833 (info += describeFunctionComponentFrameWithoutLineNumber(834 workInProgress.type835 ));836 break;837 case 11:838 workInProgress._debugOwner ||839 "" !== info ||840 (info += describeFunctionComponentFrameWithoutLineNumber(841 workInProgress.type.render842 ));843 }844 for (; workInProgress; )845 if ("number" === typeof workInProgress.tag) {846 var fiber = workInProgress;847 workInProgress = fiber._debugOwner;848 var debugStack = fiber._debugStack;849 if (workInProgress && debugStack) {850 var formattedStack = formatOwnerStack(debugStack);851 "" !== formattedStack && (info += "\n" + formattedStack);852 }853 } else if (null != workInProgress.debugStack) {854 var ownerStack = workInProgress.debugStack;855 (workInProgress = workInProgress.owner) &&856 ownerStack &&857 (info += "\n" + formatOwnerStack(ownerStack));858 } else break;859 var JSCompiler_inline_result = info;860 } catch (x) {861 JSCompiler_inline_result =862 "\nError generating stack: " + x.message + "\n" + x.stack;863 }864 return JSCompiler_inline_result;865 }866 function runWithFiberInDEV(fiber, callback, arg0, arg1, arg2, arg3, arg4) {867 var previousFiber = current;868 setCurrentFiber(fiber);869 try {870 return null !== fiber && fiber._debugTask871 ? fiber._debugTask.run(872 callback.bind(null, arg0, arg1, arg2, arg3, arg4)873 )874 : callback(arg0, arg1, arg2, arg3, arg4);875 } finally {876 setCurrentFiber(previousFiber);877 }878 throw Error(879 "runWithFiberInDEV should never be called in production. This is a bug in React."880 );881 }882 function setCurrentFiber(fiber) {883 ReactSharedInternals.getCurrentStack =884 null === fiber ? null : getCurrentFiberStackInDev;885 isRendering = !1;886 current = fiber;887 }888 function typeName(value) {889 return (890 ("function" === typeof Symbol &&891 Symbol.toStringTag &&892 value[Symbol.toStringTag]) ||893 value.constructor.name ||894 "Object"895 );896 }897 function willCoercionThrow(value) {898 try {899 return testStringCoercion(value), !1;900 } catch (e) {901 return !0;902 }903 }904 function testStringCoercion(value) {905 return "" + value;906 }907 function checkAttributeStringCoercion(value, attributeName) {908 if (willCoercionThrow(value))909 return (910 console.error(911 "The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",912 attributeName,913 typeName(value)914 ),915 testStringCoercion(value)916 );917 }918 function checkCSSPropertyStringCoercion(value, propName) {919 if (willCoercionThrow(value))920 return (921 console.error(922 "The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",923 propName,924 typeName(value)925 ),926 testStringCoercion(value)927 );928 }929 function checkFormFieldValueStringCoercion(value) {930 if (willCoercionThrow(value))931 return (932 console.error(933 "Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",934 typeName(value)935 ),936 testStringCoercion(value)937 );938 }939 function injectInternals(internals) {940 if ("undefined" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) return !1;941 var hook = __REACT_DEVTOOLS_GLOBAL_HOOK__;942 if (hook.isDisabled) return !0;943 if (!hook.supportsFiber)944 return (945 console.error(946 "The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"947 ),948 !0949 );950 try {951 (rendererID = hook.inject(internals)), (injectedHook = hook);952 } catch (err) {953 console.error("React instrumentation encountered an error: %o.", err);954 }955 return hook.checkDCE ? !0 : !1;956 }957 function setIsStrictModeForDevtools(newIsStrictMode) {958 "function" === typeof log$1 &&959 unstable_setDisableYieldValue(newIsStrictMode);960 if (injectedHook && "function" === typeof injectedHook.setStrictMode)961 try {962 injectedHook.setStrictMode(rendererID, newIsStrictMode);963 } catch (err) {964 hasLoggedError ||965 ((hasLoggedError = !0),966 console.error(967 "React instrumentation encountered an error: %o",968 err969 ));970 }971 }972 function clz32Fallback(x) {973 x >>>= 0;974 return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0;975 }976 function getHighestPriorityLanes(lanes) {977 var pendingSyncLanes = lanes & 42;978 if (0 !== pendingSyncLanes) return pendingSyncLanes;979 switch (lanes & -lanes) {980 case 1:981 return 1;982 case 2:983 return 2;984 case 4:985 return 4;986 case 8:987 return 8;988 case 16:989 return 16;990 case 32:991 return 32;992 case 64:993 return 64;994 case 128:995 return 128;996 case 256:997 case 512:998 case 1024:999 case 2048:1000 case 4096:1001 case 8192:1002 case 16384:1003 case 32768:1004 case 65536:1005 case 131072:1006 return lanes & 261888;1007 case 262144:1008 case 524288:1009 case 1048576:1010 case 2097152:1011 return lanes & 3932160;1012 case 4194304:1013 case 8388608:1014 case 16777216:1015 case 33554432:1016 return lanes & 62914560;1017 case 67108864:1018 return 67108864;1019 case 134217728:1020 return 134217728;1021 case 268435456:1022 return 268435456;1023 case 536870912:1024 return 536870912;1025 case 1073741824:1026 return 0;1027 default:1028 return (1029 console.error(1030 "Should have found matching lanes. This is a bug in React."1031 ),1032 lanes1033 );1034 }1035 }1036 function getNextLanes(root, wipLanes, rootHasPendingCommit) {1037 var pendingLanes = root.pendingLanes;1038 if (0 === pendingLanes) return 0;1039 var nextLanes = 0,1040 suspendedLanes = root.suspendedLanes,1041 pingedLanes = root.pingedLanes;1042 root = root.warmLanes;1043 var nonIdlePendingLanes = pendingLanes & 134217727;1044 0 !== nonIdlePendingLanes1045 ? ((pendingLanes = nonIdlePendingLanes & ~suspendedLanes),1046 0 !== pendingLanes1047 ? (nextLanes = getHighestPriorityLanes(pendingLanes))1048 : ((pingedLanes &= nonIdlePendingLanes),1049 0 !== pingedLanes1050 ? (nextLanes = getHighestPriorityLanes(pingedLanes))1051 : rootHasPendingCommit ||1052 ((rootHasPendingCommit = nonIdlePendingLanes & ~root),1053 0 !== rootHasPendingCommit &&1054 (nextLanes =1055 getHighestPriorityLanes(rootHasPendingCommit)))))1056 : ((nonIdlePendingLanes = pendingLanes & ~suspendedLanes),1057 0 !== nonIdlePendingLanes1058 ? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))1059 : 0 !== pingedLanes1060 ? (nextLanes = getHighestPriorityLanes(pingedLanes))1061 : rootHasPendingCommit ||1062 ((rootHasPendingCommit = pendingLanes & ~root),1063 0 !== rootHasPendingCommit &&1064 (nextLanes = getHighestPriorityLanes(rootHasPendingCommit))));1065 return 0 === nextLanes1066 ? 01067 : 0 !== wipLanes &&1068 wipLanes !== nextLanes &&1069 0 === (wipLanes & suspendedLanes) &&1070 ((suspendedLanes = nextLanes & -nextLanes),1071 (rootHasPendingCommit = wipLanes & -wipLanes),1072 suspendedLanes >= rootHasPendingCommit ||1073 (32 === suspendedLanes && 0 !== (rootHasPendingCommit & 4194048)))1074 ? wipLanes1075 : nextLanes;1076 }1077 function checkIfRootIsPrerendering(root, renderLanes) {1078 return (1079 0 ===1080 (root.pendingLanes &1081 ~(root.suspendedLanes & ~root.pingedLanes) &1082 renderLanes)1083 );1084 }1085 function computeExpirationTime(lane, currentTime) {1086 switch (lane) {1087 case 1:1088 case 2:1089 case 4:1090 case 8:1091 case 64:1092 return currentTime + 250;1093 case 16:1094 case 32:1095 case 128:1096 case 256:1097 case 512:1098 case 1024:1099 case 2048:1100 case 4096:1101 case 8192:1102 case 16384:1103 case 32768:1104 case 65536:1105 case 131072:1106 case 262144:1107 case 524288:1108 case 1048576:1109 case 2097152:1110 return currentTime + 5e3;1111 case 4194304:1112 case 8388608:1113 case 16777216:1114 case 33554432:1115 return -1;1116 case 67108864:1117 case 134217728:1118 case 268435456:1119 case 536870912:1120 case 1073741824:1121 return -1;1122 default:1123 return (1124 console.error(1125 "Should have found matching lanes. This is a bug in React."1126 ),1127 -11128 );1129 }1130 }1131 function claimNextRetryLane() {1132 var lane = nextRetryLane;1133 nextRetryLane <<= 1;1134 0 === (nextRetryLane & 62914560) && (nextRetryLane = 4194304);1135 return lane;1136 }1137 function createLaneMap(initial) {1138 for (var laneMap = [], i = 0; 31 > i; i++) laneMap.push(initial);1139 return laneMap;1140 }1141 function markRootUpdated$1(root, updateLane) {1142 root.pendingLanes |= updateLane;1143 268435456 !== updateLane &&1144 ((root.suspendedLanes = 0),1145 (root.pingedLanes = 0),1146 (root.warmLanes = 0));1147 }1148 function markRootFinished(1149 root,1150 finishedLanes,1151 remainingLanes,1152 spawnedLane,1153 updatedLanes,1154 suspendedRetryLanes1155 ) {1156 var previouslyPendingLanes = root.pendingLanes;1157 root.pendingLanes = remainingLanes;1158 root.suspendedLanes = 0;1159 root.pingedLanes = 0;1160 root.warmLanes = 0;1161 root.expiredLanes &= remainingLanes;1162 root.entangledLanes &= remainingLanes;1163 root.errorRecoveryDisabledLanes &= remainingLanes;1164 root.shellSuspendCounter = 0;1165 var entanglements = root.entanglements,1166 expirationTimes = root.expirationTimes,1167 hiddenUpdates = root.hiddenUpdates;1168 for (1169 remainingLanes = previouslyPendingLanes & ~remainingLanes;1170 0 < remainingLanes;1171 1172 ) {1173 var index = 31 - clz32(remainingLanes),1174 lane = 1 << index;1175 entanglements[index] = 0;1176 expirationTimes[index] = -1;1177 var hiddenUpdatesForLane = hiddenUpdates[index];1178 if (null !== hiddenUpdatesForLane)1179 for (1180 hiddenUpdates[index] = null, index = 0;1181 index < hiddenUpdatesForLane.length;1182 index++1183 ) {1184 var update = hiddenUpdatesForLane[index];1185 null !== update && (update.lane &= -536870913);1186 }1187 remainingLanes &= ~lane;1188 }1189 0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);1190 0 !== suspendedRetryLanes &&1191 0 === updatedLanes &&1192 0 !== root.tag &&1193 (root.suspendedLanes |=1194 suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));1195 }1196 function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) {1197 root.pendingLanes |= spawnedLane;1198 root.suspendedLanes &= ~spawnedLane;1199 var spawnedLaneIndex = 31 - clz32(spawnedLane);1200 root.entangledLanes |= spawnedLane;