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-server.node.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"use strict";12"production" !== process.env.NODE_ENV &&13 (function () {14 function styleReplacer(match, prefix, s, suffix) {15 return "" + prefix + ("s" === s ? "\\73 " : "\\53 ") + suffix;16 }17 function scriptReplacer(match, prefix, s, suffix) {18 return "" + prefix + ("s" === s ? "\\u0073" : "\\u0053") + suffix;19 }20 function getIteratorFn(maybeIterable) {21 if (null === maybeIterable || "object" !== typeof maybeIterable)22 return null;23 maybeIterable =24 (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||25 maybeIterable["@@iterator"];26 return "function" === typeof maybeIterable ? maybeIterable : null;27 }28 function objectName(object) {29 object = Object.prototype.toString.call(object);30 return object.slice(8, object.length - 1);31 }32 function describeKeyForErrorMessage(key) {33 var encodedKey = JSON.stringify(key);34 return '"' + key + '"' === encodedKey ? key : encodedKey;35 }36 function describeValueForErrorMessage(value) {37 switch (typeof value) {38 case "string":39 return JSON.stringify(40 10 >= value.length ? value : value.slice(0, 10) + "..."41 );42 case "object":43 if (isArrayImpl(value)) return "[...]";44 if (null !== value && value.$$typeof === CLIENT_REFERENCE_TAG)45 return "client";46 value = objectName(value);47 return "Object" === value ? "{...}" : value;48 case "function":49 return value.$$typeof === CLIENT_REFERENCE_TAG50 ? "client"51 : (value = value.displayName || value.name)52 ? "function " + value53 : "function";54 default:55 return String(value);56 }57 }58 function describeElementType(type) {59 if ("string" === typeof type) return type;60 switch (type) {61 case REACT_SUSPENSE_TYPE:62 return "Suspense";63 case REACT_SUSPENSE_LIST_TYPE:64 return "SuspenseList";65 }66 if ("object" === typeof type)67 switch (type.$$typeof) {68 case REACT_FORWARD_REF_TYPE:69 return describeElementType(type.render);70 case REACT_MEMO_TYPE:71 return describeElementType(type.type);72 case REACT_LAZY_TYPE:73 var payload = type._payload;74 type = type._init;75 try {76 return describeElementType(type(payload));77 } catch (x) {}78 }79 return "";80 }81 function describeObjectForErrorMessage(objectOrArray, expandedName) {82 var objKind = objectName(objectOrArray);83 if ("Object" !== objKind && "Array" !== objKind) return objKind;84 var start = -1,85 length = 0;86 if (isArrayImpl(objectOrArray))87 if (jsxChildrenParents.has(objectOrArray)) {88 var type = jsxChildrenParents.get(objectOrArray);89 objKind = "<" + describeElementType(type) + ">";90 for (var i = 0; i < objectOrArray.length; i++) {91 var value = objectOrArray[i];92 value =93 "string" === typeof value94 ? value95 : "object" === typeof value && null !== value96 ? "{" + describeObjectForErrorMessage(value) + "}"97 : "{" + describeValueForErrorMessage(value) + "}";98 "" + i === expandedName99 ? ((start = objKind.length),100 (length = value.length),101 (objKind += value))102 : (objKind =103 15 > value.length && 40 > objKind.length + value.length104 ? objKind + value105 : objKind + "{...}");106 }107 objKind += "</" + describeElementType(type) + ">";108 } else {109 objKind = "[";110 for (type = 0; type < objectOrArray.length; type++)111 0 < type && (objKind += ", "),112 (i = objectOrArray[type]),113 (i =114 "object" === typeof i && null !== i115 ? describeObjectForErrorMessage(i)116 : describeValueForErrorMessage(i)),117 "" + type === expandedName118 ? ((start = objKind.length),119 (length = i.length),120 (objKind += i))121 : (objKind =122 10 > i.length && 40 > objKind.length + i.length123 ? objKind + i124 : objKind + "...");125 objKind += "]";126 }127 else if (objectOrArray.$$typeof === REACT_ELEMENT_TYPE)128 objKind = "<" + describeElementType(objectOrArray.type) + "/>";129 else {130 if (objectOrArray.$$typeof === CLIENT_REFERENCE_TAG) return "client";131 if (jsxPropsParents.has(objectOrArray)) {132 objKind = jsxPropsParents.get(objectOrArray);133 objKind = "<" + (describeElementType(objKind) || "...");134 type = Object.keys(objectOrArray);135 for (i = 0; i < type.length; i++) {136 objKind += " ";137 value = type[i];138 objKind += describeKeyForErrorMessage(value) + "=";139 var _value2 = objectOrArray[value];140 var _substr2 =141 value === expandedName &&142 "object" === typeof _value2 &&143 null !== _value2144 ? describeObjectForErrorMessage(_value2)145 : describeValueForErrorMessage(_value2);146 "string" !== typeof _value2 && (_substr2 = "{" + _substr2 + "}");147 value === expandedName148 ? ((start = objKind.length),149 (length = _substr2.length),150 (objKind += _substr2))151 : (objKind =152 10 > _substr2.length && 40 > objKind.length + _substr2.length153 ? objKind + _substr2154 : objKind + "...");155 }156 objKind += ">";157 } else {158 objKind = "{";159 type = Object.keys(objectOrArray);160 for (i = 0; i < type.length; i++)161 0 < i && (objKind += ", "),162 (value = type[i]),163 (objKind += describeKeyForErrorMessage(value) + ": "),164 (_value2 = objectOrArray[value]),165 (_value2 =166 "object" === typeof _value2 && null !== _value2167 ? describeObjectForErrorMessage(_value2)168 : describeValueForErrorMessage(_value2)),169 value === expandedName170 ? ((start = objKind.length),171 (length = _value2.length),172 (objKind += _value2))173 : (objKind =174 10 > _value2.length && 40 > objKind.length + _value2.length175 ? objKind + _value2176 : objKind + "...");177 objKind += "}";178 }179 }180 return void 0 === expandedName181 ? objKind182 : -1 < start && 0 < length183 ? ((objectOrArray = " ".repeat(start) + "^".repeat(length)),184 "\n " + objKind + "\n " + objectOrArray)185 : "\n " + objKind;186 }187 function flushBuffered(destination) {188 "function" === typeof destination.flush && destination.flush();189 }190 function writeChunk(destination, chunk) {191 if ("string" === typeof chunk) {192 if (0 !== chunk.length)193 if (2048 < 3 * chunk.length)194 0 < writtenBytes &&195 (writeToDestination(196 destination,197 currentView.subarray(0, writtenBytes)198 ),199 (currentView = new Uint8Array(2048)),200 (writtenBytes = 0)),201 writeToDestination(destination, chunk);202 else {203 var target = currentView;204 0 < writtenBytes && (target = currentView.subarray(writtenBytes));205 target = textEncoder.encodeInto(chunk, target);206 var read = target.read;207 writtenBytes += target.written;208 read < chunk.length &&209 (writeToDestination(210 destination,211 currentView.subarray(0, writtenBytes)212 ),213 (currentView = new Uint8Array(2048)),214 (writtenBytes = textEncoder.encodeInto(215 chunk.slice(read),216 currentView217 ).written));218 2048 === writtenBytes &&219 (writeToDestination(destination, currentView),220 (currentView = new Uint8Array(2048)),221 (writtenBytes = 0));222 }223 } else224 0 !== chunk.byteLength &&225 (2048 < chunk.byteLength226 ? (0 < writtenBytes &&227 (writeToDestination(228 destination,229 currentView.subarray(0, writtenBytes)230 ),231 (currentView = new Uint8Array(2048)),232 (writtenBytes = 0)),233 writeToDestination(destination, chunk))234 : ((target = currentView.length - writtenBytes),235 target < chunk.byteLength &&236 (0 === target237 ? writeToDestination(destination, currentView)238 : (currentView.set(chunk.subarray(0, target), writtenBytes),239 (writtenBytes += target),240 writeToDestination(destination, currentView),241 (chunk = chunk.subarray(target))),242 (currentView = new Uint8Array(2048)),243 (writtenBytes = 0)),244 currentView.set(chunk, writtenBytes),245 (writtenBytes += chunk.byteLength),246 2048 === writtenBytes &&247 (writeToDestination(destination, currentView),248 (currentView = new Uint8Array(2048)),249 (writtenBytes = 0))));250 }251 function writeToDestination(destination, view) {252 destination = destination.write(view);253 destinationHasCapacity$1 = destinationHasCapacity$1 && destination;254 }255 function writeChunkAndReturn(destination, chunk) {256 writeChunk(destination, chunk);257 return destinationHasCapacity$1;258 }259 function completeWriting(destination) {260 currentView &&261 0 < writtenBytes &&262 destination.write(currentView.subarray(0, writtenBytes));263 currentView = null;264 writtenBytes = 0;265 destinationHasCapacity$1 = !0;266 }267 function stringToPrecomputedChunk(content) {268 content = textEncoder.encode(content);269 2048 < content.byteLength &&270 console.error(271 "precomputed chunks must be smaller than the view size configured for this host. This is a bug in React."272 );273 return content;274 }275 function byteLengthOfChunk(chunk) {276 return "string" === typeof chunk277 ? Buffer.byteLength(chunk, "utf8")278 : chunk.byteLength;279 }280 function typeName(value) {281 return (282 ("function" === typeof Symbol &&283 Symbol.toStringTag &&284 value[Symbol.toStringTag]) ||285 value.constructor.name ||286 "Object"287 );288 }289 function willCoercionThrow(value) {290 try {291 return testStringCoercion(value), !1;292 } catch (e) {293 return !0;294 }295 }296 function testStringCoercion(value) {297 return "" + value;298 }299 function checkAttributeStringCoercion(value, attributeName) {300 if (willCoercionThrow(value))301 return (302 console.error(303 "The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",304 attributeName,305 typeName(value)306 ),307 testStringCoercion(value)308 );309 }310 function checkCSSPropertyStringCoercion(value, propName) {311 if (willCoercionThrow(value))312 return (313 console.error(314 "The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",315 propName,316 typeName(value)317 ),318 testStringCoercion(value)319 );320 }321 function checkHtmlStringCoercion(value) {322 if (willCoercionThrow(value))323 return (324 console.error(325 "The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",326 typeName(value)327 ),328 testStringCoercion(value)329 );330 }331 function isAttributeNameSafe(attributeName) {332 if (hasOwnProperty.call(validatedAttributeNameCache, attributeName))333 return !0;334 if (hasOwnProperty.call(illegalAttributeNameCache, attributeName))335 return !1;336 if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName))337 return (validatedAttributeNameCache[attributeName] = !0);338 illegalAttributeNameCache[attributeName] = !0;339 console.error("Invalid attribute name: `%s`", attributeName);340 return !1;341 }342 function checkControlledValueProps(tagName, props) {343 hasReadOnlyValue[props.type] ||344 props.onChange ||345 props.onInput ||346 props.readOnly ||347 props.disabled ||348 null == props.value ||349 ("select" === tagName350 ? console.error(351 "You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`."352 )353 : console.error(354 "You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."355 ));356 props.onChange ||357 props.readOnly ||358 props.disabled ||359 null == props.checked ||360 console.error(361 "You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`."362 );363 }364 function validateProperty$1(tagName, name) {365 if (366 hasOwnProperty.call(warnedProperties$1, name) &&367 warnedProperties$1[name]368 )369 return !0;370 if (rARIACamel$1.test(name)) {371 tagName = "aria-" + name.slice(4).toLowerCase();372 tagName = ariaProperties.hasOwnProperty(tagName) ? tagName : null;373 if (null == tagName)374 return (375 console.error(376 "Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",377 name378 ),379 (warnedProperties$1[name] = !0)380 );381 if (name !== tagName)382 return (383 console.error(384 "Invalid ARIA attribute `%s`. Did you mean `%s`?",385 name,386 tagName387 ),388 (warnedProperties$1[name] = !0)389 );390 }391 if (rARIA$1.test(name)) {392 tagName = name.toLowerCase();393 tagName = ariaProperties.hasOwnProperty(tagName) ? tagName : null;394 if (null == tagName) return (warnedProperties$1[name] = !0), !1;395 name !== tagName &&396 (console.error(397 "Unknown ARIA attribute `%s`. Did you mean `%s`?",398 name,399 tagName400 ),401 (warnedProperties$1[name] = !0));402 }403 return !0;404 }405 function validateProperties$2(type, props) {406 var invalidProps = [],407 key;408 for (key in props)409 validateProperty$1(type, key) || invalidProps.push(key);410 props = invalidProps411 .map(function (prop) {412 return "`" + prop + "`";413 })414 .join(", ");415 1 === invalidProps.length416 ? console.error(417 "Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",418 props,419 type420 )421 : 1 < invalidProps.length &&422 console.error(423 "Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",424 props,425 type426 );427 }428 function validateProperty(tagName, name, value, eventRegistry) {429 if (hasOwnProperty.call(warnedProperties, name) && warnedProperties[name])430 return !0;431 var lowerCasedName = name.toLowerCase();432 if ("onfocusin" === lowerCasedName || "onfocusout" === lowerCasedName)433 return (434 console.error(435 "React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."436 ),437 (warnedProperties[name] = !0)438 );439 if (440 "function" === typeof value &&441 (("form" === tagName && "action" === name) ||442 ("input" === tagName && "formAction" === name) ||443 ("button" === tagName && "formAction" === name))444 )445 return !0;446 if (null != eventRegistry) {447 tagName = eventRegistry.possibleRegistrationNames;448 if (eventRegistry.registrationNameDependencies.hasOwnProperty(name))449 return !0;450 eventRegistry = tagName.hasOwnProperty(lowerCasedName)451 ? tagName[lowerCasedName]452 : null;453 if (null != eventRegistry)454 return (455 console.error(456 "Invalid event handler property `%s`. Did you mean `%s`?",457 name,458 eventRegistry459 ),460 (warnedProperties[name] = !0)461 );462 if (EVENT_NAME_REGEX.test(name))463 return (464 console.error(465 "Unknown event handler property `%s`. It will be ignored.",466 name467 ),468 (warnedProperties[name] = !0)469 );470 } else if (EVENT_NAME_REGEX.test(name))471 return (472 INVALID_EVENT_NAME_REGEX.test(name) &&473 console.error(474 "Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",475 name476 ),477 (warnedProperties[name] = !0)478 );479 if (rARIA.test(name) || rARIACamel.test(name)) return !0;480 if ("innerhtml" === lowerCasedName)481 return (482 console.error(483 "Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."484 ),485 (warnedProperties[name] = !0)486 );487 if ("aria" === lowerCasedName)488 return (489 console.error(490 "The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."491 ),492 (warnedProperties[name] = !0)493 );494 if (495 "is" === lowerCasedName &&496 null !== value &&497 void 0 !== value &&498 "string" !== typeof value499 )500 return (501 console.error(502 "Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",503 typeof value504 ),505 (warnedProperties[name] = !0)506 );507 if ("number" === typeof value && isNaN(value))508 return (509 console.error(510 "Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",511 name512 ),513 (warnedProperties[name] = !0)514 );515 if (possibleStandardNames.hasOwnProperty(lowerCasedName)) {516 if (517 ((lowerCasedName = possibleStandardNames[lowerCasedName]),518 lowerCasedName !== name)519 )520 return (521 console.error(522 "Invalid DOM property `%s`. Did you mean `%s`?",523 name,524 lowerCasedName525 ),526 (warnedProperties[name] = !0)527 );528 } else if (name !== lowerCasedName)529 return (530 console.error(531 "React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",532 name,533 lowerCasedName534 ),535 (warnedProperties[name] = !0)536 );537 switch (name) {538 case "dangerouslySetInnerHTML":539 case "children":540 case "style":541 case "suppressContentEditableWarning":542 case "suppressHydrationWarning":543 case "defaultValue":544 case "defaultChecked":545 case "innerHTML":546 case "ref":547 return !0;548 case "innerText":549 case "textContent":550 return !0;551 }552 switch (typeof value) {553 case "boolean":554 switch (name) {555 case "autoFocus":556 case "checked":557 case "multiple":558 case "muted":559 case "selected":560 case "contentEditable":561 case "spellCheck":562 case "draggable":563 case "value":564 case "autoReverse":565 case "externalResourcesRequired":566 case "focusable":567 case "preserveAlpha":568 case "allowFullScreen":569 case "async":570 case "autoPlay":571 case "controls":572 case "default":573 case "defer":574 case "disabled":575 case "disablePictureInPicture":576 case "disableRemotePlayback":577 case "formNoValidate":578 case "hidden":579 case "loop":580 case "noModule":581 case "noValidate":582 case "open":583 case "playsInline":584 case "readOnly":585 case "required":586 case "reversed":587 case "scoped":588 case "seamless":589 case "itemScope":590 case "capture":591 case "download":592 case "inert":593 return !0;594 default:595 lowerCasedName = name.toLowerCase().slice(0, 5);596 if ("data-" === lowerCasedName || "aria-" === lowerCasedName)597 return !0;598 value599 ? console.error(600 'Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',601 value,602 name,603 name,604 value,605 name606 )607 : console.error(608 'Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',609 value,610 name,611 name,612 value,613 name,614 name,615 name616 );617 return (warnedProperties[name] = !0);618 }619 case "function":620 case "symbol":621 return (warnedProperties[name] = !0), !1;622 case "string":623 if ("false" === value || "true" === value) {624 switch (name) {625 case "checked":626 case "selected":627 case "multiple":628 case "muted":629 case "allowFullScreen":630 case "async":631 case "autoPlay":632 case "controls":633 case "default":634 case "defer":635 case "disabled":636 case "disablePictureInPicture":637 case "disableRemotePlayback":638 case "formNoValidate":639 case "hidden":640 case "loop":641 case "noModule":642 case "noValidate":643 case "open":644 case "playsInline":645 case "readOnly":646 case "required":647 case "reversed":648 case "scoped":649 case "seamless":650 case "itemScope":651 case "inert":652 break;653 default:654 return !0;655 }656 console.error(657 "Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",658 value,659 name,660 "false" === value661 ? "The browser will interpret it as a truthy value."662 : 'Although this works, it will not work as expected if you pass the string "false".',663 name,664 value665 );666 warnedProperties[name] = !0;667 }668 }669 return !0;670 }671 function warnUnknownProperties(type, props, eventRegistry) {672 var unknownProps = [],673 key;674 for (key in props)675 validateProperty(type, key, props[key], eventRegistry) ||676 unknownProps.push(key);677 props = unknownProps678 .map(function (prop) {679 return "`" + prop + "`";680 })681 .join(", ");682 1 === unknownProps.length683 ? console.error(684 "Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",685 props,686 type687 )688 : 1 < unknownProps.length &&689 console.error(690 "Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",691 props,692 type693 );694 }695 function camelize(string) {696 return string.replace(hyphenPattern, function (_, character) {697 return character.toUpperCase();698 });699 }700 function escapeTextForBrowser(text) {701 if (702 "boolean" === typeof text ||703 "number" === typeof text ||704 "bigint" === typeof text705 )706 return "" + text;707 checkHtmlStringCoercion(text);708 text = "" + text;709 var match = matchHtmlRegExp.exec(text);710 if (match) {711 var html = "",712 index,713 lastIndex = 0;714 for (index = match.index; index < text.length; index++) {715 switch (text.charCodeAt(index)) {716 case 34:717 match = """;718 break;719 case 38:720 match = "&";721 break;722 case 39:723 match = "'";724 break;725 case 60:726 match = "<";727 break;728 case 62:729 match = ">";730 break;731 default:732 continue;733 }734 lastIndex !== index && (html += text.slice(lastIndex, index));735 lastIndex = index + 1;736 html += match;737 }738 text = lastIndex !== index ? html + text.slice(lastIndex, index) : html;739 }740 return text;741 }742 function sanitizeURL(url) {743 return isJavaScriptProtocol.test("" + url)744 ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')"745 : url;746 }747 function escapeEntireInlineScriptContent(scriptText) {748 checkHtmlStringCoercion(scriptText);749 return ("" + scriptText).replace(scriptRegex, scriptReplacer);750 }751 function createRenderState(752 resumableState,753 nonce,754 externalRuntimeConfig,755 importMap,756 onHeaders,757 maxHeadersLength758 ) {759 externalRuntimeConfig =760 "string" === typeof nonce ? nonce : nonce && nonce.script;761 var inlineScriptWithNonce =762 void 0 === externalRuntimeConfig763 ? startInlineScript764 : stringToPrecomputedChunk(765 '<script nonce="' +766 escapeTextForBrowser(externalRuntimeConfig) +767 '"'768 ),769 nonceStyle = "string" === typeof nonce ? void 0 : nonce && nonce.style,770 inlineStyleWithNonce =771 void 0 === nonceStyle772 ? startInlineStyle773 : stringToPrecomputedChunk(774 '<style nonce="' + escapeTextForBrowser(nonceStyle) + '"'775 ),776 idPrefix = resumableState.idPrefix,777 bootstrapChunks = [],778 bootstrapScriptContent = resumableState.bootstrapScriptContent,779 bootstrapScripts = resumableState.bootstrapScripts,780 bootstrapModules = resumableState.bootstrapModules;781 void 0 !== bootstrapScriptContent &&782 (bootstrapChunks.push(inlineScriptWithNonce),783 pushCompletedShellIdAttribute(bootstrapChunks, resumableState),784 bootstrapChunks.push(785 endOfStartTag,786 escapeEntireInlineScriptContent(bootstrapScriptContent),787 endInlineScript788 ));789 bootstrapScriptContent = [];790 void 0 !== importMap &&791 (bootstrapScriptContent.push(importMapScriptStart),792 bootstrapScriptContent.push(793 escapeEntireInlineScriptContent(JSON.stringify(importMap))794 ),795 bootstrapScriptContent.push(importMapScriptEnd));796 onHeaders &&797 "number" === typeof maxHeadersLength &&798 0 >= maxHeadersLength &&799 console.error(800 "React expected a positive non-zero `maxHeadersLength` option but found %s instead. When using the `onHeaders` option you may supply an optional `maxHeadersLength` option as well however, when setting this value to zero or less no headers will be captured.",801 0 === maxHeadersLength ? "zero" : maxHeadersLength802 );803 importMap = onHeaders804 ? {805 preconnects: "",806 fontPreloads: "",807 highImagePreloads: "",808 remainingCapacity:809 2 +810 ("number" === typeof maxHeadersLength ? maxHeadersLength : 2e3)811 }812 : null;813 onHeaders = {814 placeholderPrefix: stringToPrecomputedChunk(idPrefix + "P:"),815 segmentPrefix: stringToPrecomputedChunk(idPrefix + "S:"),816 boundaryPrefix: stringToPrecomputedChunk(idPrefix + "B:"),817 startInlineScript: inlineScriptWithNonce,818 startInlineStyle: inlineStyleWithNonce,819 preamble: createPreambleState(),820 externalRuntimeScript: null,821 bootstrapChunks: bootstrapChunks,822 importMapChunks: bootstrapScriptContent,823 onHeaders: onHeaders,824 headers: importMap,825 resets: {826 font: {},827 dns: {},828 connect: { default: {}, anonymous: {}, credentials: {} },829 image: {},830 style: {}831 },832 charsetChunks: [],833 viewportChunks: [],834 hoistableChunks: [],835 preconnects: new Set(),836 fontPreloads: new Set(),837 highImagePreloads: new Set(),838 styles: new Map(),839 bootstrapScripts: new Set(),840 scripts: new Set(),841 bulkPreloads: new Set(),842 preloads: {843 images: new Map(),844 stylesheets: new Map(),845 scripts: new Map(),846 moduleScripts: new Map()847 },848 nonce: { script: externalRuntimeConfig, style: nonceStyle },849 hoistableState: null,850 stylesToHoist: !1851 };852 if (void 0 !== bootstrapScripts)853 for (importMap = 0; importMap < bootstrapScripts.length; importMap++)854 (maxHeadersLength = bootstrapScripts[importMap]),855 (inlineStyleWithNonce = nonceStyle = void 0),856 (idPrefix = {857 rel: "preload",858 as: "script",859 fetchPriority: "low",860 nonce: nonce861 }),862 "string" === typeof maxHeadersLength863 ? (idPrefix.href = inlineScriptWithNonce = maxHeadersLength)864 : ((idPrefix.href = inlineScriptWithNonce = maxHeadersLength.src),865 (idPrefix.integrity = inlineStyleWithNonce =866 "string" === typeof maxHeadersLength.integrity867 ? maxHeadersLength.integrity868 : void 0),869 (idPrefix.crossOrigin = nonceStyle =870 "string" === typeof maxHeadersLength ||871 null == maxHeadersLength.crossOrigin872 ? void 0873 : "use-credentials" === maxHeadersLength.crossOrigin874 ? "use-credentials"875 : "")),876 preloadBootstrapScriptOrModule(877 resumableState,878 onHeaders,879 inlineScriptWithNonce,880 idPrefix881 ),882 bootstrapChunks.push(883 startScriptSrc,884 escapeTextForBrowser(inlineScriptWithNonce),885 attributeEnd886 ),887 externalRuntimeConfig &&888 bootstrapChunks.push(889 scriptNonce,890 escapeTextForBrowser(externalRuntimeConfig),891 attributeEnd892 ),893 "string" === typeof inlineStyleWithNonce &&894 bootstrapChunks.push(895 scriptIntegirty,896 escapeTextForBrowser(inlineStyleWithNonce),897 attributeEnd898 ),899 "string" === typeof nonceStyle &&900 bootstrapChunks.push(901 scriptCrossOrigin,902 escapeTextForBrowser(nonceStyle),903 attributeEnd904 ),905 pushCompletedShellIdAttribute(bootstrapChunks, resumableState),906 bootstrapChunks.push(endAsyncScript);907 if (void 0 !== bootstrapModules)908 for (nonce = 0; nonce < bootstrapModules.length; nonce++)909 (bootstrapScripts = bootstrapModules[nonce]),910 (inlineScriptWithNonce = maxHeadersLength = void 0),911 (nonceStyle = {912 rel: "modulepreload",913 fetchPriority: "low",914 nonce: externalRuntimeConfig915 }),916 "string" === typeof bootstrapScripts917 ? (nonceStyle.href = importMap = bootstrapScripts)918 : ((nonceStyle.href = importMap = bootstrapScripts.src),919 (nonceStyle.integrity = inlineScriptWithNonce =920 "string" === typeof bootstrapScripts.integrity921 ? bootstrapScripts.integrity922 : void 0),923 (nonceStyle.crossOrigin = maxHeadersLength =924 "string" === typeof bootstrapScripts ||925 null == bootstrapScripts.crossOrigin926 ? void 0927 : "use-credentials" === bootstrapScripts.crossOrigin928 ? "use-credentials"929 : "")),930 preloadBootstrapScriptOrModule(931 resumableState,932 onHeaders,933 importMap,934 nonceStyle935 ),936 bootstrapChunks.push(937 startModuleSrc,938 escapeTextForBrowser(importMap),939 attributeEnd940 ),941 externalRuntimeConfig &&942 bootstrapChunks.push(943 scriptNonce,944 escapeTextForBrowser(externalRuntimeConfig),945 attributeEnd946 ),947 "string" === typeof inlineScriptWithNonce &&948 bootstrapChunks.push(949 scriptIntegirty,950 escapeTextForBrowser(inlineScriptWithNonce),951 attributeEnd952 ),953 "string" === typeof maxHeadersLength &&954 bootstrapChunks.push(955 scriptCrossOrigin,956 escapeTextForBrowser(maxHeadersLength),957 attributeEnd958 ),959 pushCompletedShellIdAttribute(bootstrapChunks, resumableState),960 bootstrapChunks.push(endAsyncScript);961 return onHeaders;962 }963 function createResumableState(964 identifierPrefix,965 externalRuntimeConfig,966 bootstrapScriptContent,967 bootstrapScripts,968 bootstrapModules969 ) {970 return {971 idPrefix: void 0 === identifierPrefix ? "" : identifierPrefix,972 nextFormID: 0,973 streamingFormat: 0,974 bootstrapScriptContent: bootstrapScriptContent,975 bootstrapScripts: bootstrapScripts,976 bootstrapModules: bootstrapModules,977 instructions: NothingSent,978 hasBody: !1,979 hasHtml: !1,980 unknownResources: {},981 dnsResources: {},982 connectResources: { default: {}, anonymous: {}, credentials: {} },983 imageResources: {},984 styleResources: {},985 scriptResources: {},986 moduleUnknownResources: {},987 moduleScriptResources: {}988 };989 }990 function createPreambleState() {991 return { htmlChunks: null, headChunks: null, bodyChunks: null };992 }993 function createFormatContext(994 insertionMode,995 selectedValue,996 tagScope,997 viewTransition998 ) {999 return {1000 insertionMode: insertionMode,1001 selectedValue: selectedValue,1002 tagScope: tagScope,1003 viewTransition: viewTransition1004 };1005 }1006 function createRootFormatContext(namespaceURI) {1007 return createFormatContext(1008 "http://www.w3.org/2000/svg" === namespaceURI1009 ? SVG_MODE1010 : "http://www.w3.org/1998/Math/MathML" === namespaceURI1011 ? MATHML_MODE1012 : ROOT_HTML_MODE,1013 null,1014 0,1015 null1016 );1017 }1018 function getChildFormatContext(parentContext, type, props) {1019 var subtreeScope = parentContext.tagScope & -25;1020 switch (type) {1021 case "noscript":1022 return createFormatContext(HTML_MODE, null, subtreeScope | 1, null);1023 case "select":1024 return createFormatContext(1025 HTML_MODE,1026 null != props.value ? props.value : props.defaultValue,1027 subtreeScope,1028 null1029 );1030 case "svg":1031 return createFormatContext(SVG_MODE, null, subtreeScope, null);1032 case "picture":1033 return createFormatContext(HTML_MODE, null, subtreeScope | 2, null);1034 case "math":1035 return createFormatContext(MATHML_MODE, null, subtreeScope, null);1036 case "foreignObject":1037 return createFormatContext(HTML_MODE, null, subtreeScope, null);1038 case "table":1039 return createFormatContext(HTML_TABLE_MODE, null, subtreeScope, null);1040 case "thead":1041 case "tbody":1042 case "tfoot":1043 return createFormatContext(1044 HTML_TABLE_BODY_MODE,1045 null,1046 subtreeScope,1047 null1048 );1049 case "colgroup":1050 return createFormatContext(1051 HTML_COLGROUP_MODE,1052 null,1053 subtreeScope,1054 null1055 );1056 case "tr":1057 return createFormatContext(1058 HTML_TABLE_ROW_MODE,1059 null,1060 subtreeScope,1061 null1062 );1063 case "head":1064 if (parentContext.insertionMode < HTML_MODE)1065 return createFormatContext(1066 HTML_HEAD_MODE,1067 null,1068 subtreeScope,1069 null1070 );1071 break;1072 case "html":1073 if (parentContext.insertionMode === ROOT_HTML_MODE)1074 return createFormatContext(1075 HTML_HTML_MODE,1076 null,1077 subtreeScope,1078 null1079 );1080 }1081 return parentContext.insertionMode >= HTML_TABLE_MODE ||1082 parentContext.insertionMode < HTML_MODE1083 ? createFormatContext(HTML_MODE, null, subtreeScope, null)1084 : parentContext.tagScope !== subtreeScope1085 ? createFormatContext(1086 parentContext.insertionMode,1087 parentContext.selectedValue,1088 subtreeScope,1089 null1090 )1091 : parentContext;1092 }1093 function getSuspenseViewTransition(parentViewTransition) {1094 return null === parentViewTransition1095 ? null1096 : {1097 update: parentViewTransition.update,1098 enter: "none",1099 exit: "none",1100 share: parentViewTransition.update,1101 name: parentViewTransition.autoName,1102 autoName: parentViewTransition.autoName,1103 nameIdx: 01104 };1105 }1106 function getSuspenseFallbackFormatContext(resumableState, parentContext) {1107 parentContext.tagScope & 32 && (resumableState.instructions |= 128);1108 return createFormatContext(1109 parentContext.insertionMode,1110 parentContext.selectedValue,1111 parentContext.tagScope | 12,1112 getSuspenseViewTransition(parentContext.viewTransition)1113 );1114 }1115 function getSuspenseContentFormatContext(resumableState, parentContext) {1116 resumableState = getSuspenseViewTransition(parentContext.viewTransition);1117 var subtreeScope = parentContext.tagScope | 16;1118 null !== resumableState &&1119 "none" !== resumableState.share &&1120 (subtreeScope |= 64);1121 return createFormatContext(1122 parentContext.insertionMode,1123 parentContext.selectedValue,1124 subtreeScope,1125 resumableState1126 );1127 }1128 function pushTextInstance(target, text, renderState, textEmbedded) {1129 if ("" === text) return textEmbedded;1130 textEmbedded && target.push(textSeparator);1131 target.push(escapeTextForBrowser(text));1132 return !0;1133 }1134 function pushStyleAttribute(target, style) {1135 if ("object" !== typeof style)1136 throw Error(1137 "The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX."1138 );1139 var isFirst = !0,1140 styleName;1141 for (styleName in style)1142 if (hasOwnProperty.call(style, styleName)) {1143 var styleValue = style[styleName];1144 if (1145 null != styleValue &&1146 "boolean" !== typeof styleValue &&1147 "" !== styleValue1148 ) {1149 if (0 === styleName.indexOf("--")) {1150 var nameChunk = escapeTextForBrowser(styleName);1151 checkCSSPropertyStringCoercion(styleValue, styleName);1152 styleValue = escapeTextForBrowser(("" + styleValue).trim());1153 } else {1154 nameChunk = styleName;1155 var value = styleValue;1156 if (-1 < nameChunk.indexOf("-")) {1157 var name = nameChunk;1158 (warnedStyleNames.hasOwnProperty(name) &&1159 warnedStyleNames[name]) ||1160 ((warnedStyleNames[name] = !0),1161 console.error(1162 "Unsupported style property %s. Did you mean %s?",1163 name,1164 camelize(name.replace(msPattern$1, "ms-"))1165 ));1166 } else if (badVendoredStyleNamePattern.test(nameChunk))1167 (name = nameChunk),1168 (warnedStyleNames.hasOwnProperty(name) &&1169 warnedStyleNames[name]) ||1170 ((warnedStyleNames[name] = !0),1171 console.error(1172 "Unsupported vendor-prefixed style property %s. Did you mean %s?",1173 name,1174 name.charAt(0).toUpperCase() + name.slice(1)1175 ));1176 else if (badStyleValueWithSemicolonPattern.test(value)) {1177 name = nameChunk;1178 var value$jscomp$0 = value;1179 (warnedStyleValues.hasOwnProperty(value$jscomp$0) &&1180 warnedStyleValues[value$jscomp$0]) ||1181 ((warnedStyleValues[value$jscomp$0] = !0),1182 console.error(1183 'Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.',1184 name,1185 value$jscomp$0.replace(1186 badStyleValueWithSemicolonPattern,1187 ""1188 )1189 ));1190 }1191 "number" === typeof value &&1192 (isNaN(value)1193 ? warnedForNaNValue ||1194 ((warnedForNaNValue = !0),1195 console.error(1196 "`NaN` is an invalid value for the `%s` css style property.",1197 nameChunk1198 ))1199 : isFinite(value) ||1200 warnedForInfinityValue ||