next
Version:
The React Framework
28 lines • 583 kB
JavaScript
(()=>{var __webpack_modules__={"./dist/build/webpack/alias/react-dom-server.js"(__unused_rspack_module,exports,__webpack_require__){"use strict";var b;function error(){throw Object.defineProperty(Error("Internal Error: do not use legacy react-dom/server APIs. If you encountered this error, please open an issue on the Next.js repo."),"__NEXT_ERROR_CODE",{value:"E1021",enumerable:!1,configurable:!0})}exports.version=(b=__webpack_require__("./dist/compiled/react-dom/cjs/react-dom-server.node.development.js")).version,exports.renderToReadableStream=b.renderToReadableStream,exports.renderToString=error,exports.renderToStaticMarkup=error,b.resume&&(exports.resume=b.resume),b.renderToPipeableStream&&(exports.renderToPipeableStream=b.renderToPipeableStream),b.resumeToPipeableStream&&(exports.resumeToPipeableStream=b.resumeToPipeableStream)},"./dist/compiled/react-dom/cjs/react-dom-server.node.development.js"(__unused_rspack_module,exports,__webpack_require__){"use strict";!function(){function styleReplacer(match,prefix,s,suffix){return""+prefix+("s"===s?"\\73 ":"\\53 ")+suffix}function scriptReplacer(match,prefix,s,suffix){return""+prefix+("s"===s?"\\u0073":"\\u0053")+suffix}function getIteratorFn(maybeIterable){return null===maybeIterable||"object"!=typeof maybeIterable?null:"function"==typeof(maybeIterable=MAYBE_ITERATOR_SYMBOL&&maybeIterable[MAYBE_ITERATOR_SYMBOL]||maybeIterable["@@iterator"])?maybeIterable:null}function objectName(object){return(object=Object.prototype.toString.call(object)).slice(8,object.length-1)}function describeKeyForErrorMessage(key){var encodedKey=JSON.stringify(key);return'"'+key+'"'===encodedKey?key:encodedKey}function describeValueForErrorMessage(value){switch(typeof value){case"string":return JSON.stringify(10>=value.length?value:value.slice(0,10)+"...");case"object":if(isArrayImpl(value))return"[...]";if(null!==value&&value.$$typeof===CLIENT_REFERENCE_TAG)return"client";return"Object"===(value=objectName(value))?"{...}":value;case"function":return value.$$typeof===CLIENT_REFERENCE_TAG?"client":(value=value.displayName||value.name)?"function "+value:"function";default:return String(value)}}function describeElementType(type){if("string"==typeof type)return type;switch(type){case REACT_SUSPENSE_TYPE:return"Suspense";case REACT_SUSPENSE_LIST_TYPE:return"SuspenseList";case REACT_VIEW_TRANSITION_TYPE:return"ViewTransition"}if("object"==typeof type)switch(type.$$typeof){case REACT_FORWARD_REF_TYPE:return describeElementType(type.render);case REACT_MEMO_TYPE:return describeElementType(type.type);case REACT_LAZY_TYPE:var payload=type._payload;type=type._init;try{return describeElementType(type(payload))}catch(x){}}return""}function flushBuffered(destination){"function"==typeof destination.flush&&destination.flush()}function writeChunk(destination,chunk){if("string"==typeof chunk){if(0!==chunk.length)if(4096<3*chunk.length)0<writtenBytes&&(writeToDestination(destination,currentView.subarray(0,writtenBytes)),currentView=new Uint8Array(4096),writtenBytes=0),writeToDestination(destination,chunk);else{var target=currentView;0<writtenBytes&&(target=currentView.subarray(writtenBytes));var read=(target=textEncoder.encodeInto(chunk,target)).read;writtenBytes+=target.written,read<chunk.length&&(writeToDestination(destination,currentView.subarray(0,writtenBytes)),currentView=new Uint8Array(4096),writtenBytes=textEncoder.encodeInto(chunk.slice(read),currentView).written),4096===writtenBytes&&(writeToDestination(destination,currentView),currentView=new Uint8Array(4096),writtenBytes=0)}}else 0!==chunk.byteLength&&(4096<chunk.byteLength?(0<writtenBytes&&(writeToDestination(destination,currentView.subarray(0,writtenBytes)),currentView=new Uint8Array(4096),writtenBytes=0),writeToDestination(destination,chunk)):((target=currentView.length-writtenBytes)<chunk.byteLength&&(0===target?writeToDestination(destination,currentView):(currentView.set(chunk.subarray(0,target),writtenBytes),writtenBytes+=target,writeToDestination(destination,currentView),chunk=chunk.subarray(target)),currentView=new Uint8Array(4096),writtenBytes=0),currentView.set(chunk,writtenBytes),4096===(writtenBytes+=chunk.byteLength)&&(writeToDestination(destination,currentView),currentView=new Uint8Array(4096),writtenBytes=0)))}function writeToDestination(destination,view){destination=destination.write(view),destinationHasCapacity$1=destinationHasCapacity$1&&destination}function writeChunkAndReturn(destination,chunk){return writeChunk(destination,chunk),destinationHasCapacity$1}function completeWriting(destination){currentView&&0<writtenBytes&&destination.write(currentView.subarray(0,writtenBytes)),currentView=null,writtenBytes=0,destinationHasCapacity$1=!0}function stringToPrecomputedChunk(content){return 4096<(content=textEncoder.encode(content)).byteLength&&console.error("precomputed chunks must be smaller than the view size configured for this host. This is a bug in React."),content}function byteLengthOfChunk(chunk){return"string"==typeof chunk?Buffer.byteLength(chunk,"utf8"):chunk.byteLength}function typeName(value){return"function"==typeof Symbol&&Symbol.toStringTag&&value[Symbol.toStringTag]||value.constructor.name||"Object"}function willCoercionThrow(value){try{return!1}catch(e){return!0}}function checkAttributeStringCoercion(value,attributeName){if(willCoercionThrow(value))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",attributeName,typeName(value)),""+value}function checkCSSPropertyStringCoercion(value,propName){if(willCoercionThrow(value))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",propName,typeName(value)),""+value}function checkHtmlStringCoercion(value){if(willCoercionThrow(value))return console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",typeName(value)),""+value}function isAttributeNameSafe(attributeName){return hasOwnProperty.call(validatedAttributeNameCache,attributeName)?!0:hasOwnProperty.call(illegalAttributeNameCache,attributeName)?!1:VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)?validatedAttributeNameCache[attributeName]=!0:(illegalAttributeNameCache[attributeName]=!0,console.error("Invalid attribute name: `%s`",attributeName),!1)}function checkControlledValueProps(tagName,props){hasReadOnlyValue[props.type]||props.onChange||props.onInput||props.readOnly||props.disabled||null==props.value||("select"===tagName?console.error("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`."):console.error("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`.")),props.onChange||props.readOnly||props.disabled||null==props.checked||console.error("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`.")}function escapeTextForBrowser(text){if("boolean"==typeof text||"number"==typeof text||"bigint"==typeof text)return""+text;checkHtmlStringCoercion(text);var match=matchHtmlRegExp.exec(text=""+text);if(match){var index,html="",lastIndex=0;for(index=match.index;index<text.length;index++){switch(text.charCodeAt(index)){case 34:match=""";break;case 38:match="&";break;case 39:match="'";break;case 60:match="<";break;case 62:match=">";break;default:continue}lastIndex!==index&&(html+=text.slice(lastIndex,index)),lastIndex=index+1,html+=match}text=lastIndex!==index?html+text.slice(lastIndex,index):html}return text}function sanitizeURL(url){return isJavaScriptProtocol.test(""+url)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":url}function escapeEntireInlineScriptContent(scriptText){return checkHtmlStringCoercion(scriptText),(""+scriptText).replace(scriptRegex,scriptReplacer)}function createRenderState(resumableState,nonce,externalRuntimeConfig,importMap,onHeaders,maxHeadersLength){var inlineScriptWithNonce=void 0===(externalRuntimeConfig="string"==typeof nonce?nonce:nonce&&nonce.script)?startInlineScript:stringToPrecomputedChunk('<script nonce="'+escapeTextForBrowser(externalRuntimeConfig)+'"'),nonceStyle="string"==typeof nonce?void 0:nonce&&nonce.style,inlineStyleWithNonce=void 0===nonceStyle?startInlineStyle:stringToPrecomputedChunk('<style nonce="'+escapeTextForBrowser(nonceStyle)+'"'),idPrefix=resumableState.idPrefix,bootstrapChunks=[],bootstrapScriptContent=resumableState.bootstrapScriptContent,bootstrapScripts=resumableState.bootstrapScripts,bootstrapModules=resumableState.bootstrapModules;if(void 0!==bootstrapScriptContent&&(bootstrapChunks.push(inlineScriptWithNonce),pushCompletedShellIdAttribute(bootstrapChunks,resumableState),bootstrapChunks.push(endOfStartTag,escapeEntireInlineScriptContent(bootstrapScriptContent),endInlineScript)),bootstrapScriptContent=[],void 0!==importMap&&(bootstrapScriptContent.push(importMapScriptStart),bootstrapScriptContent.push(escapeEntireInlineScriptContent(JSON.stringify(importMap))),bootstrapScriptContent.push(importMapScriptEnd)),onHeaders&&"number"==typeof maxHeadersLength&&0>=maxHeadersLength&&console.error("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.",0===maxHeadersLength?"zero":maxHeadersLength),importMap=onHeaders?{preconnects:"",fontPreloads:"",highImagePreloads:"",remainingCapacity:2+("number"==typeof maxHeadersLength?maxHeadersLength:2e3)}:null,onHeaders={placeholderPrefix:stringToPrecomputedChunk(idPrefix+"P:"),segmentPrefix:stringToPrecomputedChunk(idPrefix+"S:"),boundaryPrefix:stringToPrecomputedChunk(idPrefix+"B:"),startInlineScript:inlineScriptWithNonce,startInlineStyle:inlineStyleWithNonce,preamble:createPreambleState(),externalRuntimeScript:null,bootstrapChunks:bootstrapChunks,importMapChunks:bootstrapScriptContent,onHeaders:onHeaders,headers:importMap,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:{script:externalRuntimeConfig,style:nonceStyle},hoistableState:null,stylesToHoist:!1},void 0!==bootstrapScripts)for(importMap=0;importMap<bootstrapScripts.length;importMap++)maxHeadersLength=bootstrapScripts[importMap],inlineStyleWithNonce=nonceStyle=void 0,idPrefix={rel:"preload",as:"script",fetchPriority:"low",nonce:nonce},"string"==typeof maxHeadersLength?idPrefix.href=inlineScriptWithNonce=maxHeadersLength:(idPrefix.href=inlineScriptWithNonce=maxHeadersLength.src,idPrefix.integrity=inlineStyleWithNonce="string"==typeof maxHeadersLength.integrity?maxHeadersLength.integrity:void 0,idPrefix.crossOrigin=nonceStyle="string"==typeof maxHeadersLength||null==maxHeadersLength.crossOrigin?void 0:"use-credentials"===maxHeadersLength.crossOrigin?"use-credentials":""),preloadBootstrapScriptOrModule(resumableState,onHeaders,inlineScriptWithNonce,idPrefix),bootstrapChunks.push(startScriptSrc,escapeTextForBrowser(inlineScriptWithNonce),attributeEnd),externalRuntimeConfig&&bootstrapChunks.push(scriptNonce,escapeTextForBrowser(externalRuntimeConfig),attributeEnd),"string"==typeof inlineStyleWithNonce&&bootstrapChunks.push(scriptIntegirty,escapeTextForBrowser(inlineStyleWithNonce),attributeEnd),"string"==typeof nonceStyle&&bootstrapChunks.push(scriptCrossOrigin,escapeTextForBrowser(nonceStyle),attributeEnd),pushCompletedShellIdAttribute(bootstrapChunks,resumableState),bootstrapChunks.push(endAsyncScript);if(void 0!==bootstrapModules)for(nonce=0;nonce<bootstrapModules.length;nonce++)bootstrapScripts=bootstrapModules[nonce],inlineScriptWithNonce=maxHeadersLength=void 0,nonceStyle={rel:"modulepreload",fetchPriority:"low",nonce:externalRuntimeConfig},"string"==typeof bootstrapScripts?nonceStyle.href=importMap=bootstrapScripts:(nonceStyle.href=importMap=bootstrapScripts.src,nonceStyle.integrity=inlineScriptWithNonce="string"==typeof bootstrapScripts.integrity?bootstrapScripts.integrity:void 0,nonceStyle.crossOrigin=maxHeadersLength="string"==typeof bootstrapScripts||null==bootstrapScripts.crossOrigin?void 0:"use-credentials"===bootstrapScripts.crossOrigin?"use-credentials":""),preloadBootstrapScriptOrModule(resumableState,onHeaders,importMap,nonceStyle),bootstrapChunks.push(startModuleSrc,escapeTextForBrowser(importMap),attributeEnd),externalRuntimeConfig&&bootstrapChunks.push(scriptNonce,escapeTextForBrowser(externalRuntimeConfig),attributeEnd),"string"==typeof inlineScriptWithNonce&&bootstrapChunks.push(scriptIntegirty,escapeTextForBrowser(inlineScriptWithNonce),attributeEnd),"string"==typeof maxHeadersLength&&bootstrapChunks.push(scriptCrossOrigin,escapeTextForBrowser(maxHeadersLength),attributeEnd),pushCompletedShellIdAttribute(bootstrapChunks,resumableState),bootstrapChunks.push(endAsyncScript);return onHeaders}function createResumableState(identifierPrefix,externalRuntimeConfig,bootstrapScriptContent,bootstrapScripts,bootstrapModules){return{idPrefix:void 0===identifierPrefix?"":identifierPrefix,nextFormID:0,streamingFormat:0,bootstrapScriptContent:bootstrapScriptContent,bootstrapScripts:bootstrapScripts,bootstrapModules:bootstrapModules,instructions:NothingSent,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function createPreambleState(){return{htmlChunks:null,headChunks:null,bodyChunks:null}}function createFormatContext(insertionMode,selectedValue,tagScope,viewTransition){return{insertionMode:insertionMode,selectedValue:selectedValue,tagScope:tagScope,viewTransition:viewTransition}}function createRootFormatContext(namespaceURI){return createFormatContext("http://www.w3.org/2000/svg"===namespaceURI?SVG_MODE:"http://www.w3.org/1998/Math/MathML"===namespaceURI?MATHML_MODE:ROOT_HTML_MODE,null,0,null)}function getChildFormatContext(parentContext,type,props){var subtreeScope=-25&parentContext.tagScope;switch(type){case"noscript":return createFormatContext(HTML_MODE,null,1|subtreeScope,null);case"select":return createFormatContext(HTML_MODE,null!=props.value?props.value:props.defaultValue,subtreeScope,null);case"svg":return createFormatContext(SVG_MODE,null,subtreeScope,null);case"picture":return createFormatContext(HTML_MODE,null,2|subtreeScope,null);case"math":return createFormatContext(MATHML_MODE,null,subtreeScope,null);case"foreignObject":return createFormatContext(HTML_MODE,null,subtreeScope,null);case"table":return createFormatContext(HTML_TABLE_MODE,null,subtreeScope,null);case"thead":case"tbody":case"tfoot":return createFormatContext(HTML_TABLE_BODY_MODE,null,subtreeScope,null);case"colgroup":return createFormatContext(HTML_COLGROUP_MODE,null,subtreeScope,null);case"tr":return createFormatContext(HTML_TABLE_ROW_MODE,null,subtreeScope,null);case"head":if(parentContext.insertionMode<HTML_MODE)return createFormatContext(HTML_HEAD_MODE,null,subtreeScope,null);break;case"html":if(parentContext.insertionMode===ROOT_HTML_MODE)return createFormatContext(HTML_HTML_MODE,null,subtreeScope,null)}return parentContext.insertionMode>=HTML_TABLE_MODE||parentContext.insertionMode<HTML_MODE?createFormatContext(HTML_MODE,null,subtreeScope,null):null!==parentContext.viewTransition||parentContext.tagScope!==subtreeScope?createFormatContext(parentContext.insertionMode,parentContext.selectedValue,subtreeScope,null):parentContext}function getSuspenseViewTransition(parentViewTransition){return null===parentViewTransition?null:{update:parentViewTransition.update,enter:"none",exit:"none",share:parentViewTransition.update,parentEnter:"none",parentExit:"none",name:parentViewTransition.autoName,autoName:parentViewTransition.autoName,nameIdx:0}}function getSuspenseFallbackFormatContext(resumableState,parentContext){return 32&parentContext.tagScope&&(resumableState.instructions|=NeedUpgradeToViewTransitions),createFormatContext(parentContext.insertionMode,parentContext.selectedValue,12|parentContext.tagScope,getSuspenseViewTransition(parentContext.viewTransition))}function getSuspenseContentFormatContext(resumableState,parentContext){resumableState=getSuspenseViewTransition(parentContext.viewTransition);var subtreeScope=16|parentContext.tagScope;return null!==resumableState&&"none"!==resumableState.share&&(subtreeScope|=64),createFormatContext(parentContext.insertionMode,parentContext.selectedValue,subtreeScope,resumableState)}function makeId(resumableState,treeId,localId){return resumableState="_"+resumableState.idPrefix+"R_"+treeId,0<localId&&(resumableState+="H"+localId.toString(32)),resumableState+"_"}function pushTextInstance(target,text,renderState,textEmbedded){return""===text?textEmbedded:(textEmbedded&&target.push(textSeparator),target.push(escapeTextForBrowser(text)),!0)}function pushViewTransitionAttributes(target,formatContext){null!==(formatContext=formatContext.viewTransition)&&("auto"!==formatContext.name&&(pushStringAttribute(target,"vt-name",0===formatContext.nameIdx?formatContext.name:formatContext.name+"_"+formatContext.nameIdx),formatContext.nameIdx++),pushStringAttribute(target,"vt-update",formatContext.update),"none"!==formatContext.enter&&pushStringAttribute(target,"vt-enter",formatContext.enter),"none"!==formatContext.exit&&pushStringAttribute(target,"vt-exit",formatContext.exit),"none"!==formatContext.share&&pushStringAttribute(target,"vt-share",formatContext.share))}function pushStyleAttribute(target,style){if("object"!=typeof style)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var styleName,isFirst=!0;for(styleName in style)if(hasOwnProperty.call(style,styleName)){var styleValue=style[styleName];if(null!=styleValue&&"boolean"!=typeof styleValue&&""!==styleValue){if(0===styleName.indexOf("--")){var nameChunk=escapeTextForBrowser(styleName);checkCSSPropertyStringCoercion(styleValue,styleName),styleValue=escapeTextForBrowser((""+styleValue).trim())}else{var value=styleValue;if(-1<(nameChunk=styleName).indexOf("-")){var name=nameChunk;warnedStyleNames.hasOwnProperty(name)&&warnedStyleNames[name]||(warnedStyleNames[name]=!0,console.error("Unsupported style property %s. Did you mean %s?",name,name.replace(msPattern$1,"ms-").replace(hyphenPattern,function(_,character){return character.toUpperCase()})))}else if(badVendoredStyleNamePattern.test(nameChunk))name=nameChunk,warnedStyleNames.hasOwnProperty(name)&&warnedStyleNames[name]||(warnedStyleNames[name]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",name,name.charAt(0).toUpperCase()+name.slice(1)));else if(badStyleValueWithSemicolonPattern.test(value)){name=nameChunk;var value$jscomp$0=value;warnedStyleValues.hasOwnProperty(value$jscomp$0)&&warnedStyleValues[value$jscomp$0]||(warnedStyleValues[value$jscomp$0]=!0,console.error('Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.',name,value$jscomp$0.replace(badStyleValueWithSemicolonPattern,"")))}"number"==typeof value&&(isNaN(value)?warnedForNaNValue||(warnedForNaNValue=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",nameChunk)):isFinite(value)||warnedForInfinityValue||(warnedForInfinityValue=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",nameChunk))),nameChunk=styleName,void 0!==(value=styleNameCache.get(nameChunk))?nameChunk=value:(value=stringToPrecomputedChunk(escapeTextForBrowser(nameChunk.replace(uppercasePattern,"-$1").toLowerCase().replace(msPattern,"-ms-"))),styleNameCache.set(nameChunk,value),nameChunk=value),"number"==typeof styleValue?styleValue=0===styleValue||unitlessNumbers.has(styleName)?""+styleValue:styleValue+"px":(checkCSSPropertyStringCoercion(styleValue,styleName),styleValue=escapeTextForBrowser((""+styleValue).trim()))}isFirst?(isFirst=!1,target.push(styleAttributeStart,nameChunk,styleAssign,styleValue)):target.push(styleSeparator,nameChunk,styleAssign,styleValue)}}isFirst||target.push(attributeEnd)}function pushBooleanAttribute(target,name,value){value&&"function"!=typeof value&&"symbol"!=typeof value&&target.push(attributeSeparator,name,attributeEmptyString)}function pushStringAttribute(target,name,value){"function"!=typeof value&&"symbol"!=typeof value&&"boolean"!=typeof value&&target.push(attributeSeparator,name,attributeAssign,escapeTextForBrowser(value),attributeEnd)}function pushAdditionalFormField(value,key){this.push(startHiddenInputChunk),validateAdditionalFormField(value),pushStringAttribute(this,"name",key),pushStringAttribute(this,"value",value),this.push(endOfStartTagSelfClosing)}function validateAdditionalFormField(value){if("string"!=typeof value)throw Error("File/Blob fields are not yet supported in progressive forms. Will fallback to client hydration.")}function getCustomFormFields(resumableState,formAction){if("function"==typeof formAction.$$FORM_ACTION){var id=resumableState.nextFormID++;resumableState=resumableState.idPrefix+id;try{var customFields=formAction.$$FORM_ACTION(resumableState);if(customFields){var formData=customFields.data;null!=formData&&formData.forEach(validateAdditionalFormField)}return customFields}catch(x){if("object"==typeof x&&null!==x&&"function"==typeof x.then)throw x;console.error("Failed to serialize an action for progressive enhancement:\n%s",x)}}return null}function pushFormActionAttribute(target,resumableState,renderState,formAction,formEncType,formMethod,formTarget,name){var formData=null;if("function"==typeof formAction){null===name||didWarnFormActionName||(didWarnFormActionName=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),null===formEncType&&null===formMethod||didWarnFormActionMethod||(didWarnFormActionMethod=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),null===formTarget||didWarnFormActionTarget||(didWarnFormActionTarget=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."));var customFields=getCustomFormFields(resumableState,formAction);null!==customFields?(name=customFields.name,formAction=customFields.action||"",formEncType=customFields.encType,formMethod=customFields.method,formTarget=customFields.target,formData=customFields.data):(target.push(attributeSeparator,"formAction",attributeAssign,actionJavaScriptURL,attributeEnd),formTarget=formMethod=formEncType=formAction=name=null,injectFormReplayingRuntime(resumableState,renderState))}return null!=name&&pushAttribute(target,"name",name),null!=formAction&&pushAttribute(target,"formAction",formAction),null!=formEncType&&pushAttribute(target,"formEncType",formEncType),null!=formMethod&&pushAttribute(target,"formMethod",formMethod),null!=formTarget&&pushAttribute(target,"formTarget",formTarget),formData}function pushAttribute(target,name,value){switch(name){case"className":pushStringAttribute(target,"class",value);break;case"tabIndex":pushStringAttribute(target,"tabindex",value);break;case"dir":case"role":case"viewBox":case"width":case"height":pushStringAttribute(target,name,value);break;case"style":pushStyleAttribute(target,value);break;case"src":case"href":if(""===value){"src"===name?console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',name,name):console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',name,name);break}case"action":case"formAction":if(null==value||"function"==typeof value||"symbol"==typeof value||"boolean"==typeof value)break;checkAttributeStringCoercion(value,name),value=sanitizeURL(""+value),target.push(attributeSeparator,name,attributeAssign,escapeTextForBrowser(value),attributeEnd);break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":pushBooleanAttribute(target,name.toLowerCase(),value);break;case"xlinkHref":if("function"==typeof value||"symbol"==typeof value||"boolean"==typeof value)break;checkAttributeStringCoercion(value,name),value=sanitizeURL(""+value),target.push(attributeSeparator,"xlink:href",attributeAssign,escapeTextForBrowser(value),attributeEnd);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":"function"!=typeof value&&"symbol"!=typeof value&&target.push(attributeSeparator,name,attributeAssign,escapeTextForBrowser(value),attributeEnd);break;case"inert":""!==value||didWarnForNewBooleanPropsWithEmptyValue[name]||(didWarnForNewBooleanPropsWithEmptyValue[name]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",name));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":value&&"function"!=typeof value&&"symbol"!=typeof value&&target.push(attributeSeparator,name,attributeEmptyString);break;case"capture":case"download":!0===value?target.push(attributeSeparator,name,attributeEmptyString):!1!==value&&"function"!=typeof value&&"symbol"!=typeof value&&target.push(attributeSeparator,name,attributeAssign,escapeTextForBrowser(value),attributeEnd);break;case"cols":case"rows":case"size":case"span":"function"!=typeof value&&"symbol"!=typeof value&&!isNaN(value)&&1<=value&&target.push(attributeSeparator,name,attributeAssign,escapeTextForBrowser(value),attributeEnd);break;case"rowSpan":case"start":"function"==typeof value||"symbol"==typeof value||isNaN(value)||target.push(attributeSeparator,name,attributeAssign,escapeTextForBrowser(value),attributeEnd);break;case"xlinkActuate":pushStringAttribute(target,"xlink:actuate",value);break;case"xlinkArcrole":pushStringAttribute(target,"xlink:arcrole",value);break;case"xlinkRole":pushStringAttribute(target,"xlink:role",value);break;case"xlinkShow":pushStringAttribute(target,"xlink:show",value);break;case"xlinkTitle":pushStringAttribute(target,"xlink:title",value);break;case"xlinkType":pushStringAttribute(target,"xlink:type",value);break;case"xmlBase":pushStringAttribute(target,"xml:base",value);break;case"xmlLang":pushStringAttribute(target,"xml:lang",value);break;case"xmlSpace":pushStringAttribute(target,"xml:space",value);break;default:if((!(2<name.length)||"o"!==name[0]&&"O"!==name[0]||"n"!==name[1]&&"N"!==name[1])&&isAttributeNameSafe(name=aliases.get(name)||name)){switch(typeof value){case"function":case"symbol":return;case"boolean":var prefix=name.toLowerCase().slice(0,5);if("data-"!==prefix&&"aria-"!==prefix)return}target.push(attributeSeparator,name,attributeAssign,escapeTextForBrowser(value),attributeEnd)}}}function pushInnerHTML(target,innerHTML,children){if(null!=innerHTML){if(null!=children)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!=typeof innerHTML||!("__html"in innerHTML))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");null!=(innerHTML=innerHTML.__html)&&(checkHtmlStringCoercion(innerHTML),target.push(""+innerHTML))}}function checkSelectProp(props,propName){var value=props[propName];null!=value&&(value=isArrayImpl(value),props.multiple&&!value?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.",propName):!props.multiple&&value&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",propName))}function injectFormReplayingRuntime(resumableState,renderState){if((16&resumableState.instructions)===NothingSent){resumableState.instructions|=16;var preamble=renderState.preamble,bootstrapChunks=renderState.bootstrapChunks;(preamble.htmlChunks||preamble.headChunks)&&0===bootstrapChunks.length?(bootstrapChunks.push(renderState.startInlineScript),pushCompletedShellIdAttribute(bootstrapChunks,resumableState),bootstrapChunks.push(endOfStartTag,formReplayingRuntimeScript,endInlineScript)):bootstrapChunks.unshift(renderState.startInlineScript,endOfStartTag,formReplayingRuntimeScript,endInlineScript)}}function pushLinkImpl(target,props){for(var propKey in target.push(startChunkForTag("link")),props)if(hasOwnProperty.call(props,propKey)){var propValue=props[propKey];if(null!=propValue)switch(propKey){case"children":case"dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:pushAttribute(target,propKey,propValue)}}return target.push(endOfStartTagSelfClosing),null}function escapeStyleTextContent(styleText){return checkHtmlStringCoercion(styleText),(""+styleText).replace(styleRegex,styleReplacer)}function pushSelfClosing(target,props,tag,formatContext){for(var propKey in target.push(startChunkForTag(tag)),props)if(hasOwnProperty.call(props,propKey)){var propValue=props[propKey];if(null!=propValue)switch(propKey){case"children":case"dangerouslySetInnerHTML":throw Error(tag+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:pushAttribute(target,propKey,propValue)}}return pushViewTransitionAttributes(target,formatContext),target.push(endOfStartTagSelfClosing),null}function pushTitleImpl(target,props){target.push(startChunkForTag("title"));var propKey,children=null,innerHTML=null;for(propKey in props)if(hasOwnProperty.call(props,propKey)){var propValue=props[propKey];if(null!=propValue)switch(propKey){case"children":children=propValue;break;case"dangerouslySetInnerHTML":innerHTML=propValue;break;default:pushAttribute(target,propKey,propValue)}}return target.push(endOfStartTag),"function"!=typeof(props=Array.isArray(children)?2>children.length?children[0]:null:children)&&"symbol"!=typeof props&&null!=props&&target.push(escapeTextForBrowser(""+props)),pushInnerHTML(target,innerHTML,children),target.push(endChunkForTag("title")),null}function pushScriptImpl(target,props){target.push(startChunkForTag("script"));var propKey,children=null,innerHTML=null;for(propKey in props)if(hasOwnProperty.call(props,propKey)){var propValue=props[propKey];if(null!=propValue)switch(propKey){case"children":children=propValue;break;case"dangerouslySetInnerHTML":innerHTML=propValue;break;default:pushAttribute(target,propKey,propValue)}}return target.push(endOfStartTag),null!=children&&"string"!=typeof children&&console.error("A script element was rendered with %s. If script element has children it must be a single string. Consider using dangerouslySetInnerHTML or passing a plain string as children.",props="number"==typeof children?"a number for children":Array.isArray(children)?"an array for children":"something unexpected for children"),pushInnerHTML(target,innerHTML,children),"string"==typeof children&&target.push(escapeEntireInlineScriptContent(children)),target.push(endChunkForTag("script")),null}function pushStartSingletonElement(target,props,tag,formatContext){target.push(startChunkForTag(tag));var propKey,innerHTML=tag=null;for(propKey in props)if(hasOwnProperty.call(props,propKey)){var propValue=props[propKey];if(null!=propValue)switch(propKey){case"children":tag=propValue;break;case"dangerouslySetInnerHTML":innerHTML=propValue;break;default:pushAttribute(target,propKey,propValue)}}return pushViewTransitionAttributes(target,formatContext),target.push(endOfStartTag),pushInnerHTML(target,innerHTML,tag),tag}function pushStartGenericElement(target,props,tag,formatContext){target.push(startChunkForTag(tag));var propKey,innerHTML=tag=null;for(propKey in props)if(hasOwnProperty.call(props,propKey)){var propValue=props[propKey];if(null!=propValue)switch(propKey){case"children":tag=propValue;break;case"dangerouslySetInnerHTML":innerHTML=propValue;break;default:pushAttribute(target,propKey,propValue)}}return pushViewTransitionAttributes(target,formatContext),target.push(endOfStartTag),pushInnerHTML(target,innerHTML,tag),"string"==typeof tag?(target.push(escapeTextForBrowser(tag)),null):tag}function startChunkForTag(tag){var tagStartChunk=validatedTagCache.get(tag);if(void 0===tagStartChunk){if(!VALID_TAG_REGEX.test(tag))throw Error("Invalid tag: "+tag);tagStartChunk=stringToPrecomputedChunk("<"+tag),validatedTagCache.set(tag,tagStartChunk)}return tagStartChunk}function endChunkForTag(tag){var chunk=endTagCache.get(tag);return void 0===chunk&&(chunk=stringToPrecomputedChunk("</"+tag+">"),endTagCache.set(tag,chunk)),chunk}function hoistPreambleState(renderState,preambleState){null===(renderState=renderState.preamble).htmlChunks&&preambleState.htmlChunks&&(renderState.htmlChunks=preambleState.htmlChunks),null===renderState.headChunks&&preambleState.headChunks&&(renderState.headChunks=preambleState.headChunks),null===renderState.bodyChunks&&preambleState.bodyChunks&&(renderState.bodyChunks=preambleState.bodyChunks)}function writeBootstrap(destination,renderState){renderState=renderState.bootstrapChunks;for(var i=0;i<renderState.length-1;i++)writeChunk(destination,renderState[i]);return i<renderState.length?(i=renderState[i],renderState.length=0,writeChunkAndReturn(destination,i)):!0}function writeStartPendingSuspenseBoundary(destination,renderState,id){if(writeChunk(destination,startPendingSuspenseBoundary1),null===id)throw Error("An ID must have been assigned before we can complete the boundary.");return writeChunk(destination,renderState.boundaryPrefix),writeChunk(destination,id.toString(16)),writeChunkAndReturn(destination,startPendingSuspenseBoundary2)}function escapeJSStringsForInstructionScripts(input){return JSON.stringify(input).replace(regexForJSStringsInInstructionScripts,function(match){switch(match){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function escapeJSObjectForInstructionScripts(input){return JSON.stringify(input).replace(regexForJSStringsInScripts,function(match){switch(match){case"&":return"\\u0026";case">":return"\\u003e";case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function flushStyleTagsLateForBoundary(styleQueue){var rules=styleQueue.rules,hrefs=styleQueue.hrefs;0<rules.length&&0===hrefs.length&&console.error("React expected to have at least one href for an a hoistable style but found none. This is a bug in React.");var i=0;if(hrefs.length){for(writeChunk(this,currentlyFlushingRenderState.startInlineStyle),writeChunk(this,lateStyleTagResourceOpen1),writeChunk(this,styleQueue.precedence),writeChunk(this,lateStyleTagResourceOpen2);i<hrefs.length-1;i++)writeChunk(this,hrefs[i]),writeChunk(this,spaceSeparator);for(writeChunk(this,hrefs[i]),writeChunk(this,lateStyleTagResourceOpen3),i=0;i<rules.length;i++)writeChunk(this,rules[i]);destinationHasCapacity=writeChunkAndReturn(this,lateStyleTagTemplateClose),currentlyRenderingBoundaryHasStylesToHoist=!0,rules.length=0,hrefs.length=0}}function hasStylesToHoist(stylesheet){return stylesheet.state!==PREAMBLE?currentlyRenderingBoundaryHasStylesToHoist=!0:!1}function writeHoistablesForBoundary(destination,hoistableState,renderState){return currentlyRenderingBoundaryHasStylesToHoist=!1,destinationHasCapacity=!0,currentlyFlushingRenderState=renderState,hoistableState.styles.forEach(flushStyleTagsLateForBoundary,destination),currentlyFlushingRenderState=null,hoistableState.stylesheets.forEach(hasStylesToHoist),currentlyRenderingBoundaryHasStylesToHoist&&(renderState.stylesToHoist=!0),destinationHasCapacity}function flushResource(resource){for(var i=0;i<resource.length;i++)writeChunk(this,resource[i]);resource.length=0}function flushStyleInPreamble(stylesheet){pushLinkImpl(stylesheetFlushingQueue,stylesheet.props);for(var i=0;i<stylesheetFlushingQueue.length;i++)writeChunk(this,stylesheetFlushingQueue[i]);stylesheetFlushingQueue.length=0,stylesheet.state=PREAMBLE}function flushStylesInPreamble(styleQueue){var hasStylesheets=0<styleQueue.sheets.size;styleQueue.sheets.forEach(flushStyleInPreamble,this),styleQueue.sheets.clear();var rules=styleQueue.rules,hrefs=styleQueue.hrefs;if(!hasStylesheets||hrefs.length){if(writeChunk(this,currentlyFlushingRenderState.startInlineStyle),writeChunk(this,styleTagResourceOpen1),writeChunk(this,styleQueue.precedence),styleQueue=0,hrefs.length){for(writeChunk(this,styleTagResourceOpen2);styleQueue<hrefs.length-1;styleQueue++)writeChunk(this,hrefs[styleQueue]),writeChunk(this,spaceSeparator);writeChunk(this,hrefs[styleQueue])}for(writeChunk(this,styleTagResourceOpen3),styleQueue=0;styleQueue<rules.length;styleQueue++)writeChunk(this,rules[styleQueue]);writeChunk(this,styleTagResourceClose),rules.length=0,hrefs.length=0}}function preloadLateStyle(stylesheet){if(stylesheet.state===PENDING$1){stylesheet.state=PRELOADED;var props=stylesheet.props;for(pushLinkImpl(stylesheetFlushingQueue,{rel:"preload",as:"style",href:stylesheet.props.href,crossOrigin:props.crossOrigin,fetchPriority:props.fetchPriority,integrity:props.integrity,media:props.media,hrefLang:props.hrefLang,referrerPolicy:props.referrerPolicy}),stylesheet=0;stylesheet<stylesheetFlushingQueue.length;stylesheet++)writeChunk(this,stylesheetFlushingQueue[stylesheet]);stylesheetFlushingQueue.length=0}}function preloadLateStyles(styleQueue){styleQueue.sheets.forEach(preloadLateStyle,this),styleQueue.sheets.clear()}function pushCompletedShellIdAttribute(target,resumableState){(resumableState.instructions&SentCompletedShellId)===NothingSent&&(resumableState.instructions|=SentCompletedShellId,target.push(completedShellIdAttributeStart,escapeTextForBrowser("_"+resumableState.idPrefix+"R_"),attributeEnd))}function createHoistableState(){return{styles:new Set,stylesheets:new Set,suspenseyImages:!1}}function preloadBootstrapScriptOrModule(resumableState,renderState,href,props){(resumableState.scriptResources.hasOwnProperty(href)||resumableState.moduleScriptResources.hasOwnProperty(href))&&console.error('Internal React Error: React expected bootstrap script or module with src "%s" to not have been preloaded already. please file an issue',href),resumableState.scriptResources[href]=EXISTS,resumableState.moduleScriptResources[href]=EXISTS,pushLinkImpl(resumableState=[],props),renderState.bootstrapScripts.add(resumableState)}function adoptPreloadCredentials(target,preloadState){null==target.crossOrigin&&(target.crossOrigin=preloadState[0]),null==target.integrity&&(target.integrity=preloadState[1])}function getPreloadAsHeader(href,as,params){for(var paramName in as="<"+(href=escapeHrefForLinkHeaderURLContext(href))+'>; rel=preload; as="'+(as=escapeStringForLinkHeaderQuotedParamValueContext(as,"as"))+'"',params)hasOwnProperty.call(params,paramName)&&"string"==typeof(href=params[paramName])&&(as+="; "+paramName.toLowerCase()+'="'+escapeStringForLinkHeaderQuotedParamValueContext(href,paramName)+'"');return as}function escapeHrefForLinkHeaderURLContext(hrefInput){return checkAttributeStringCoercion(hrefInput,"href"),(""+hrefInput).replace(regexForHrefInLinkHeaderURLContext,escapeHrefForLinkHeaderURLContextReplacer)}function escapeHrefForLinkHeaderURLContextReplacer(match){switch(match){case"<":return"%3C";case">":return"%3E";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}function escapeStringForLinkHeaderQuotedParamValueContext(value,name){return willCoercionThrow(value)&&console.error("The provided `%s` option is an unsupported type %s. This value must be coerced to a string before using it here.",name,typeName(value)),(""+value).replace(regexForLinkHeaderQuotedParamValueContext,escapeStringForLinkHeaderQuotedParamValueContextReplacer)}function escapeStringForLinkHeaderQuotedParamValueContextReplacer(match){switch(match){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}function hoistStyleQueueDependency(styleQueue){this.styles.add(styleQueue)}function hoistStylesheetDependency(stylesheet){this.stylesheets.add(stylesheet)}function hoistHoistables(parentState,childState){childState.styles.forEach(hoistStyleQueueDependency,parentState),childState.stylesheets.forEach(hoistStylesheetDependency,parentState),childState.suspenseyImages&&(parentState.suspenseyImages=!0)}function hasSuspenseyContent(hoistableState,flushingInShell){return flushingInShell?hoistableState.suspenseyImages:0<hoistableState.stylesheets.size||hoistableState.suspenseyImages}function getComponentNameFromType(type){if(null==type)return null;if("function"==typeof type)return type.$$typeof===REACT_CLIENT_REFERENCE?null:type.displayName||type.name||null;if("string"==typeof type)return type;switch(type){case REACT_FRAGMENT_TYPE:return"Fragment";case REACT_PROFILER_TYPE:return"Profiler";case REACT_STRICT_MODE_TYPE:return"StrictMode";case REACT_SUSPENSE_TYPE:return"Suspense";case REACT_SUSPENSE_LIST_TYPE:return"SuspenseList";case REACT_ACTIVITY_TYPE:return"Activity";case REACT_VIEW_TRANSITION_TYPE:return"ViewTransition"}if("object"==typeof type)switch("number"==typeof type.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),type.$$typeof){case REACT_PORTAL_TYPE:return"Portal";case REACT_CONTEXT_TYPE:return type.displayName||"Context";case REACT_CONSUMER_TYPE:return(type._context.displayName||"Context")+".Consumer";case REACT_FORWARD_REF_TYPE:var innerType=type.render;return(type=type.displayName)||(type=""!==(type=innerType.displayName||innerType.name||"")?"ForwardRef("+type+")":"ForwardRef"),type;case REACT_MEMO_TYPE:return null!==(innerType=type.displayName||null)?innerType:getComponentNameFromType(type.type)||"Memo";case REACT_LAZY_TYPE:innerType=type._payload,type=type._init;try{return getComponentNameFromType(type(innerType))}catch(x){}}return null}function popToNearestCommonAncestor(prev,next){if(prev!==next){prev.context._currentValue=prev.parentValue,prev=prev.parent;var parentNext=next.parent;if(null===prev){if(null!==parentNext)throw Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(null===parentNext)throw Error("The stacks must reach the root at the same time. This is a bug in React.");popToNearestCommonAncestor(prev,parentNext)}next.context._currentValue=next.value}}function switchContext(newSnapshot){var prev=currentActiveSnapshot;prev!==newSnapshot&&(null===prev?function pushAllNext(next){var parentNext=next.parent;null!==parentNext&&pushAllNext(parentNext),next.context._currentValue=next.value}(newSnapshot):null===newSnapshot?function popAllPrevious(prev){prev.context._currentValue=prev.parentValue,null!==(prev=prev.parent)&&popAllPrevious(prev)}(prev):prev.depth===newSnapshot.depth?popToNearestCommonAncestor(prev,newSnapshot):prev.depth>newSnapshot.depth?function popPreviousToCommonLevel(prev,next){if(prev.context._currentValue=prev.parentValue,null===(prev=prev.parent))throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");prev.depth===next.depth?popToNearestCommonAncestor(prev,next):popPreviousToCommonLevel(prev,next)}(prev,newSnapshot):function popNextToCommonLevel(prev,next){var parentNext=next.parent;if(null===parentNext)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");prev.depth===parentNext.depth?popToNearestCommonAncestor(prev,parentNext):popNextToCommonLevel(prev,parentNext),next.context._currentValue=next.value}(prev,newSnapshot),currentActiveSnapshot=newSnapshot)}function warnOnInvalidCallback(callback){if(null!==callback&&"function"!=typeof callback){var key=String(callback);didWarnOnInvalidCallback.has(key)||(didWarnOnInvalidCallback.add(key),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",callback))}}function warnNoop(publicInstance,callerName){var warningKey=(publicInstance=(publicInstance=publicInstance.constructor)&&getComponentNameFromType(publicInstance)||"ReactClass")+"."+callerName;didWarnAboutNoopUpdateForComponent[warningKey]||(console.error("Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.\n\nPlease check the code for the %s component.",callerName,publicInstance),didWarnAboutNoopUpdateForComponent[warningKey]=!0)}function getTreeId(context){var overflow=context.overflow;return((context=context.id)&~(1<<32-clz32(context)-1)).toString(32)+overflow}function pushTreeContext(baseContext,totalChildren,index){var baseIdWithLeadingBit=baseContext.id;baseContext=baseContext.overflow;var baseLength=32-clz32(baseIdWithLeadingBit)-1;baseIdWithLeadingBit&=~(1<<baseLength),index+=1;var length=32-clz32(totalChildren)+baseLength;if(30<length){var numberOfOverflowBits=baseLength-baseLength%5;return length=(baseIdWithLeadingBit&(1<<numberOfOverflowBits)-1).toString(32),baseIdWithLeadingBit>>=numberOfOverflowBits,baseLength-=numberOfOverflowBits,{id:1<<32-clz32(totalChildren)+baseLength|index<<baseLength|baseIdWithLeadingBit,overflow:length+baseContext}}return{id:1<<length|index<<baseLength|baseIdWithLeadingBit,overflow:baseContext}}function noop(){}function getSuspendedThenable(){if(null===suspendedThenable)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var thenable=suspendedThenable;return suspendedThenable=null,thenable}function createFatalRecoverableError(recoverable){return Error("The server render could not complete because client rendering was requested outside a Suspense boundary. See this error's cause for additional details.",{cause:recoverable})}function resolveCurrentlyRenderingComponent(){if(null===currentlyRenderingComponent)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.");return isInHookUserCodeInDev&&console.error("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"),currentlyRenderingComponent}function createHook(){if(0<numberOfReRenders)throw Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function createWorkInProgressHook(){return null===workInProgressHook?null===firstWorkInProgressHook?(isReRender=!1,firstWorkInProgressHook=workInProgressHook=createHook()):(isReRender=!0,workInProgressHook=firstWorkInProgressHook):null===workInProgressHook.next?(isReRender=!1,workInProgressHook=workInProgressHook.next=createHook()):(isReRender=!0,workInProgressHook=workInProgressHook.next),workInProgressHook}function getThenableStateAfterSuspending(){var state=thenableState;return thenableState=null,state}function resetHooksState(){isInHookUserCodeInDev=!1,currentlyRenderingKeyPath=currentlyRenderingRequest=currentlyRenderingTask=currentlyRenderingComponent=null,didScheduleRenderPhaseUpdate=!1,firstWorkInProgressHook=null,numberOfReRenders=0,workInProgressHook=renderPhaseUpdates=null}function readContext(context){return isInHookUserCodeInDev&&console.error("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()."),context._currentValue}function basicStateReducer(state,action){return"function"==typeof action?action(state):action}function useReducer(reducer,initialArg,init){if(reducer!==basicStateReducer&&(currentHookNameInDev="useReducer"),currentlyRenderingComponent=resolveCurrentlyRenderingComponent(),workInProgressHook=createWorkInProgressHook(),isReRender){if(initialArg=(init=workInProgressHook.queue).dispatch,null!==renderPhaseUpdates){var firstRenderPhaseUpdate=renderPhaseUpdates.get(init);if(void 0!==firstRenderPhaseUpdate){renderPhaseUpdates.delete(init),init=workInProgressHook.memoizedState;do{var action=firstRenderPhaseUpdate.action;isInHookUserCodeInDev=!0,init=reducer(init,action),isInHookUserCodeInDev=!1,firstRenderPhaseUpdate=firstRenderPhaseUpdate.next}while(null!==firstRenderPhaseUpdate);return workInProgressHook.memoizedState=init,[init,initialArg]}}return[workInProgressHook.memoizedState,initialArg]}return isInHookUserCodeInDev=!0,reducer=reducer===basicStateReducer?"function"==typeof initialArg?initialArg():initialArg:void 0!==init?init(initialArg):initialArg,isInHookUserCodeInDev=!1,workInProgressHook.memoizedState=reducer,reducer=(reducer=workInProgressHook.queue={last:null,dispatch:null}).dispatch=dispatchAction.bind(null,currentlyRenderingComponent,reducer),[workInProgressHook.memoizedState,reducer]}function useMemo(nextCreate,deps){if(currentlyRenderingComponent=resolveCurrentlyRenderingComponent(),workInProgressHook=createWorkInProgressHook(),deps=void 0===deps?null:deps,null!==workInProgressHook){var prevState=workInProgressHook.memoizedState;if(null!==prevState&&null!==deps){a:{var JSCompiler_inline_result=prevState[1];if(null===JSCompiler_inline_result)console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",currentHookNameInDev),JSCompiler_inline_result=!1;else{deps.length!==JSCompiler_inline_result.length&&console.error("The final argument passed to %s changed size between renders. The order and size of this array must remain constant.\n\nPrevious: %s\nIncoming: %s",currentHookNameInDev,"["+deps.join(", ")+"]","["+JSCompiler_inline_result.join(", ")+"]");for(var i=0;i<JSCompiler_inline_result.length&&i<deps.length;i++)if(!objectIs(deps[i],JSCompiler_inline_result[i])){JSCompiler_inline_result=!1;break a}JSCompiler_inline_result=!0}}if(JSCompiler_inline_result)return prevState[0]}}return isInHookUserCodeInDev=!0,nextCreate=nextCreate(),isInHookUserCodeInDev=!1,workInProgressHook.memoizedState=[nextCreate,deps],nextCreate}function dispatchAction(componentIdentity,queue,action){if(25<=numberOfReRenders)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(componentIdentity===currentlyRenderingComponent)if(didScheduleRenderPhaseUpdate=!0,componentIdentity={action:action,next:null},null===renderPhaseUpdates&&(renderPhaseUpdates=new Map),void 0===(action=renderPhaseUpdates.get(queue)))renderPhaseUpdates.set(queue,componentIdentity);else{for(queue=action;null!==queue.next;)queue=queue.next;queue.next=componentIdentity}}function throwOnUseEffectEventCall(){throw Error("A function wrapped in useEffectEvent can't be called during rendering.")}function unsupportedStartTransition(){throw Error("startTransition cannot be called during server rendering.")}function unsupportedSetOptimisticState(){throw Error("Cannot update optimistic state while rendering.")}function createPostbackActionStateKey(permalink,componentKeyPath,hookIndex){return void 0!==permalink?"p"+permalink:(permalink=JSON.stringify([componentKeyPath,null,hookIndex]),(componentKeyPath=crypto1.createHash("md5")).update(permalink),"k"+componentKeyPath.digest("hex"))}function useActionState(action,initialState,permalink){resolveCurrentlyRenderingComponent();var actionStateHookIndex=actionStateCounter++,request=currentlyRenderingRequest;if("function"==typeof action.$$FORM_ACTION){var nextPostbackStateKey=null,componentKeyPath=currentlyRenderingKeyPath;request=request.formState;var isSignatureEqual=action.$$IS_SIGNATURE_EQUAL;if(null!==request&&"function"==typeof isSignatureEqual){var postbackKey=request[1];isSignatureEqual.call(action,request[2],request[3])&&postbackKey===(nextPostbackStateKey=createPostbackActionStateKey(permalink,componentKeyPath,actionStateHookIndex))&&(actionStateMatchingIndex=actionStateHookIndex,initialState=request[0])}var boundAction=action.bind(null,initialState);return action=function(payload){boundAction(payload)},"function"==typeof boundAction.$$FORM_ACTION&&(action.$$FORM_ACTION=function(prefix){prefix=boundAction.$$FORM_ACTION(prefix),void 0!==permalink&&(checkAttributeStringCoercion(permalink,"target"),permalink+="",prefix.action=permalink);var formData=prefix.data;return formData&&(null===nextPostbackStateKey&&(nextPostbackStateKey=createPostbackActionStateKey(permalink,componentKeyPath,actionStateHookIndex)),formData.append("$ACTION_KEY",nextPostbackStateKey)),prefix}),[initialState,action,!1]}var _boundAction=action.bind(null,initialState);return[initialState,function(payload){_boundAction(payload)},!1]}function unwrapThenable(thenable){var index=thenableIndexCounter;thenableIndexCounter+=1,null===thenableState&&(thenableState=[]);var thenableState1=thenableState,thenable1=thenable,index1=index;switch(void 0===(index1=thenableState1[index1])?thenableState1.push(thenable1):index1!==thenable1&&(thenable1.then(noop,noop),thenable1=index1),thenable1.status){case"fulfilled":return thenable1.value;case"rejected":if(void 0===(thenableState1=thenable1.reason)&&!("reason"in thenable1))throw Error("A rejected Promise was passed to React without a `reason` property. React threw a generic error from where the Promise was used to assist in identifying the problematic Promise. Make sure that instrumented Promises correctly set the `reason` property when setting `status` to `'rejected'`.");throw thenableState1;default:switch("string"==typeof thenable1.status?thenable1.then(noop,noop):((thenableState1=thenable1).status="pending",thenableState1.then(function(fulfilledValue){if("pending"===thenable1.status){var fulfilledThenable=thenable1;fulfilledThenable.status="fulfilled",fulfilledThenable.value=fulfilledValue}},function(error){if("pending"===thenable1.status){var rejectedThenable=thenable1;rejectedThenable.status="rejected",rejectedThenable.reason=error}})),thenable1.status){case"fulfilled":return thenable1.value;case"rejected":throw thenable1.reason}throw suspendedThenable=thenable1,shouldCaptureSuspendedCallSite&&function(){var currentTask=currentTaskInDEV;if(null===currentTask)throw Error("Expected to have a current task when tracking a suspend call site. This is a bug in React.");var currentComponentStack=currentTask.componentStack;if(null===currentComponentStack)throw Error("Expected to have a component stack on the current task when tracking a suspended call site. This is a bug in React.");suspendedCallSiteStack={parent:currentComponentStack.parent,type:currentComponentStack.type,owner:currentComponentStack.owner,stack:Error("react-stack-top-frame")},suspendedCallSiteDebugTask=currentTask.debugTask}(),SuspenseException}}function unsupportedRefresh(){throw Error("Cache cannot be refreshed during server rendering.")}function disabledLog(){}function prepareStackTrace(error,structuredStackTrace){error=(error.name||"Error")+": "+(error.message||"");for(var i=0;i<structuredStackTrace.length;i++)error+="\n at "+structuredStackTrace[i].toString();return error}function formatOwnerStack(error){var prevPrepareStackTrace=Error.prepareStackTrace;return(Error.prepareStackTrace=prepareStackTrace,error=error.stack,Error.prepareStackTrace=prevPrepareStackTrace,error.startsWith("Error: react-stack-top-frame\n")&&(error=error.slice(29)),-1!==(prevPrepareStackTrace=error.indexOf("\n"))&&(error=error.slice(prevPrepareStackTrace+1)),-1!==(prevPrepareStackTrace=error.indexOf("react_stack_bottom_frame"))&&(prevPrepareStackTrace=error.lastIndexOf("\n",prevPrepareStackTrace)),-1===prevPrepareStackTrace)?"":error=error.slice(0,prevPrepareStackTrace)}function describeBuiltInComponentFrame(name){if(void 0===prefix)try{throw Error()}catch(x){var match=x.stack.trim().match(/\n( *(at )?)/);prefix=match&&match[1]||"",suffix=-1<x.stack.indexOf("\n at")?" (<anonymous>)":-1<x.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+prefix+name+suffix}function describeNativeComponentFrame(fn,construct){if(!fn||reentry)return"";var frame=componentFrameCache.get(fn);if(void 0!==frame)return frame;reentry=!0,frame=Error.prepareStackTrace,Error.prepareStackTrace=prepareStackTrace;var previousDispatcher=null;if(previousDispatcher=ReactSharedInternals.H,ReactSharedInternals.H=null,0===disabledDepth){prevLog=console.log,prevInfo=console.info,prevWarn=console.warn,prevError=console.error,prevGroup=console.group,prevGroupCollapsed=console.groupCollapsed,prevGroupEnd=console.groupEnd;var props={configurable:!0,enumerable:!0,value:disabledLog,writable:!0};Object.defineProperties(console,{info:props,log:props,warn:props,error:props,group:props,groupCollapsed:props,groupEnd:props})}disabledDepth++;try{var RunInRootFrame_DetermineComponentFrameRoot=function(){try{if(construct){var Fake=function(){throw Error()};if(Object.defineProperty(Fake.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(Fake,[])}catch(x){var control=x}Reflect.construct(fn,[],Fake)}else{try{Fake.call()}catch(x$0){control=x$0}Fake=!1;try{var prevProps=Object.getOwnPropertyDescriptor(fn.prototype,"props");Object.defineProperty(fn.prototype,"props",{configurable:!0,set:function(){throw Error()}}),Fake=!0,new fn}finally{Fake&&(void 0!==prevProps?Object.defineProperty(fn.prototype,"props",prevProps):delete fn.prototype.props)}}}else{try{throw Error()}catch(x$1){control=x$1}(Fake=fn())&&"function"==typeof Fake.catch&&Fake.catch(function(){})}}catch(sample){if(sample&&control&&"string"==typeof sample.stack)return[sample.stack,control.stack]}return[null,null]};RunInRootFrame_DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var namePropDescriptor=Object.getOwnPropertyDescriptor(RunInRootFrame_DetermineComponentFrameRoot,"name");namePropDescriptor&&namePropDescriptor.configurable&&Object.defineProperty(RunInRootFrame_DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var _RunInRootFrame$Deter=RunInRootFrame_DetermineComponentFrameRoot(),sampleStack=_RunInRootFrame$Deter[0],controlStack=_RunInRootFrame$Deter[1];if(sampleStack&&controlStack){var sampleLines=sampleStack.split("\n"),controlLines=controlStack.split("\n");for(_RunInRootFrame$Deter=namePropDescriptor=0;namePropDescriptor<sampleLines.length&&!sampleLines[namePropDescriptor].includes("DetermineComponentFrameRoot");)namePropDescriptor++;for(;_RunInRootFrame$Deter<controlLines.length&&!controlLines[_RunInRootFrame$Deter].includes("DetermineComponentFrameRoot");)_RunInRootFrame$Deter++;if(namePropDescriptor===sampleLines.length||_RunInRootFrame$Deter===controlLines.length)for(namePropDescriptor=sampleLines.length-1,_RunInRootFrame$Deter=controlLines.length-1;1<=namePropDescriptor&&0<=_RunInRootFrame$Deter&&sampleLines[namePropDescriptor]!==controlLines[_RunInRootFrame$Deter];)_RunInRootFrame$Deter--;for(;1<=namePropDescriptor&&0<=_RunInRootFrame$Deter;namePropDescriptor--,_RunInRootFrame$Deter--)if(sampleLines[namePropDescriptor]!==controlLines[_RunInRootFrame$Deter]){if(1!==namePropDescriptor||1!==_RunInRootFrame$Deter)do if(namePropDescriptor--,_RunInRootFrame$Deter--,0>_RunInRootFrame$Deter||sampleLines[namePropDescriptor]!==controlLines[_RunInRootFrame$Deter]){var _frame="\n"+sampleLines[namePropDescriptor].replace(" at new "," at ");return fn.displayName&&_frame.includes("<anonymous>")&&(_frame=_frame.replace("<anonymous>",fn.displayName)),"function"==typeof fn&&componentFrameCache.set(fn,_frame),_frame}while(1<=namePropDescriptor&&0<=_RunInRootFrame$Deter);break}}}finally{reentry=!1,ReactSharedInternals.H=previousDispatcher,function(){if(0==--disabledDepth){var props={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:assign({},props,{value:prevLog}),info:assign({},props,{value:prevInfo}),warn:assign({},props,{value:prevWarn}),error:assign({},props,{value:prevError}),group:assign({},props,{value:prevGroup}),groupCollapsed:assign({},props,{value:prevGroupCollapsed}),groupEnd:assign({},props,{value:prevGroupEnd})})}0>disabledDepth&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=frame}return sampleLines=(sampleLines=fn?fn.displayName||fn.name:"")?describeBuiltInComponentFrame(sampleLines):"","function"==typeof fn&&componentFrameCache.set(fn,sampleLines),sampleLines}function describeComponentStackByType(type){if("string"==typeof type)return describeBuiltInComponentFrame(type);if("function"==typeof type)return type.prototype&&type.prototype.isReactComponent?describeNativeComponentFrame(type,!0):describeNativeComponentFrame(type,!1);if("object"==typeof type&&null!==type){switch(type.$$typeof){case REACT_FORWARD_REF_TYPE:return describeNativeComponentFrame(type.render,!1);case REACT_MEMO_TYPE:return describeNativeComponentFrame(type.type,!1);case REACT_LAZY_TYPE:var lazyComponent=type,payload=lazyComponent._payload;lazyComponent=lazyComponent._init;try{type=lazyComponent(payload)}catch(x){return describeBuiltInComponentFrame("Lazy")}return describeComponentStackByType(type)}if("string"==typeof type.name){a:{if(payload=type.name,lazyComponent=type.env,null!=(type=type.debugLocation)){var idx=(type=formatOwnerStack(type)).lastIndexOf("\n");if(-1!==(type=-1===idx?type:type.slice(idx+1)).indexOf(payload)){payload="\n"+type;break a}}payload=describeBuiltInComponentFrame(payload+(lazyComponent?" ["+lazyComponent+"]":""))}return payload}}switch(type){case REACT_SUSPENSE_LIST_TYPE:return describeBuiltInComponentFrame("SuspenseList");case REACT_SUSPENSE_TYPE:return describeBuiltInComponentFrame("Suspense");case REACT_VIEW_TRANSITION_TYPE:return describeBuiltInComponentFrame("ViewTransition")}return""}function getViewTransitionClassName(defaultClass,eventClass){return defaultClass=null==defaultClass||"string"==typeof defaultClass?defaultClass:defaultClass.default,null==(eventClass=null==eventClass||"string"==typeof eventClass?eventClass:eventClass.default)?"auto"===defaultClass?null:defaultClass:"auto"===eventClass?null:eventClass}function resetOwnerStackLimit(){var now=getCurrentTime();1e3<now-lastResetTime&&(ReactSharedInternals.recentlyCreatedOwnerStacks=0,lastResetTime=now)}function isEligibleForOutlining(request,boundary){return(500<boundary.byteSize||hasSuspenseyContent(boundary.contentState,!1)||boundary.defer)&&null===boundary.preamble}function defaultErrorHandler(error){if("object"==typeof error&&null!==error&&"string"==typeof error.environmentName){var JSCompiler_inline_result=error.environmentName;"string"==typeof(error=[error])[0]?error.splice(0,1,"\x1b[0m\x1b[7m%c%s\x1b[0m%c "+error[0],"background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px"," "+JSCompiler_inline_result+" ",""):error.splice(0,0,"\x1b[0m\x1b[7m%c%s\x1b[0m%c","background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px"," "+JSCompiler_inline_result+" ",""),error.unshift(console),(JSCompiler_inline_result=bind.apply(console.error,error))()}else console.error(error);return null}function RequestInstance(resumableState,renderState,rootFormatContext,progressiveChunkSize,onError,onAllReady,onShellReady,onShellError,onFatalError,formState){var abortSet=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=resumableState,this.renderState=renderState,this.rootFormatContext=rootFormatContext,this.progressiveChunkSize=void 0===progressiveChunkSize?12800:progressiveChunkSize,this.status=10,this.fatalError=null,this.aborted=!1,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.byteSize=0,this.abortableTasks=abortSet,this.pingedTasks=[],this.currentTask=null,this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.postponedState=this.trackedPostpones=null,this.onError=void 0===onError?defaultErrorHandler:onError,this.onAllReady=void 0===onAllReady?noop:onAllReady,this.onShellReady=void 0===onShellReady?noop:onShellReady,this.onShellError=void 0===onShellError?noop:onShellError,this.onFatalError=void 0===onFatalError?noop:onFatalError,this.formState=void 0===formState?null:formState,this.didWarnForKey=null}function createRequest(children,resumableState,renderState,rootFormatContext,progressiveChunkSize,onError,onAllReady,onShellReady,onShellError,onFatalError,formState){return resetOwnerStackLimit(),(renderState=createPendingSegment(resumableState=new RequestInstance(resumableState,renderState,rootFormatContext,progressiveChunkSize,onError,onAllReady,onShellReady,onShellError,onFatalError,formState),0,null,rootFormatContext,!1,!1)).parentFlushed=!0,pushComponentStack(children=createRenderTask(resumableState,null,children,-1,null,renderState,null,null,resumableState.abortableTasks,null,rootFormatContext,null,emptyTreeContext,null,null,emptyContextObject,null)),resumableState.pingedTasks.push(children),resumableState}function createPrerenderRequest(children,resumableState,renderState,rootFormatContext,progressiveChunkSize,onError,onAllReady,onShellReady,onShellError,onFatalError){return(children=createRequest(children,resumableState,renderState,rootFormatContext,progressiveChunkSize,onError,onAllReady,onShellReady,onShellError,onFatalError,void 0)).trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},children}function resumeRequest(children,postponedState,renderState,onError,onAllReady,onShellReady,onShellError,onFatalError){return(resetOwnerStackLimit(),(renderState=new RequestInstance(postponedState.resumableState,renderState,postponedState.rootFormatContext,postponedState.progressiveChunkSize,onError,onAllReady,onShellReady,onShellError,onFatalError,null)).nextSegmentId=postponedState.nextSegmentId,"number"==typeof postponedState.replaySlots)?((onError=createPendingSegment(renderState,0,null,postponedState.rootFormatContext,!1,!1)).parentFlushed=!0,pushComponentStack(children=createRenderTask(renderState,null,children,-1,null,onError,null,null,renderState.abortableTasks,null,postponedState.rootFormatContext,null,emptyTreeContext,null,null,emptyContextObject,null)),renderState.pingedTasks.push(children),renderState):(pushComponentStack(children=createReplayTask(renderState,null,{nodes:postponedState.replayNodes,slots:postponedState.replaySlots,pendingTasks:0},children,-1,null,null,renderState.abortableTasks,null,postponedState.rootFormatContext,null,emptyTreeContext,null,null,emptyContextObject,null)),renderState.pingedTasks.push(children),renderState)}function resumeAndPrerenderRequest(children,postponedState,renderState,onError,onAllReady,onShellReady,onShellError,onFatalError){return(children=resumeRequest(children,postponedState,renderState,onError,onAllReady,onShellReady,onShellError,onFatalError)).trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},children}function resolveRequest(){if(currentRequest)return currentRequest;var store=requestStorage.getStore();return store?store:null}function pingTask(request,task){request.pingedTasks.push(task),1===request.pingedTasks.length&&(request.flushScheduled=null!==request.destination,null!==request.trackedPostpones||10===request.status?scheduleMicrotask(function(){return performWork(request)}):setImmediate(function(){return performWork(request)}))}function createSuspenseBoundary(request,row,fallbackAbortableTasks,preamble,defer){return fallbackAbortableTasks={status:PENDING,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,row:row,completedSegments:[],byteSize:0,defer:defer,fallbackAbortableTasks:fallbackAbortableTasks,errorDigest:null,contentState:createHoistableState(),fallbackState:createHoistableState(),preamble:preamble,tracked:null,errorMessage:null,errorStack:null,errorComponentStack:null},null!==row&&(row.pendingTasks++,null!==(preamble=row.boundaries)&&(request.allPendingTasks++,fallbackAbortableTasks.pendingTasks++,preamble.push(fallbackAbortableTasks)),null!==(request=row.inheritedHoistables)&&hoistHoistables(fallbackAbortableTasks.contentState,request)),fallbackAbortableTasks}function createRenderTask(request,thenableState,node,childIndex,blockedBoundary,blockedSegment,blockedPreamble,hoistableState,abortSet,keyPath,formatContext,context,treeContext,row,componentStack,legacyContext,debugTask){request.allPendingTasks++,null===blockedBoundary?request.pendingRootTasks++:blockedBoundary.pendingTasks++,null!==row&&row.pendingTasks++;var task$jscomp$0={replay:null,node:node,childIndex:childIndex,ping:{resolve:function(){return pingTask(request,task$jscomp$0)},reject:function(error){request.aborted?task$jscomp$0.abortSet.delete(task$jscomp$0)&&finishAbortedTaskDEV(task$jscomp$0,request,error):pingTask(request,task$jscomp$0)}},blockedBoundary:blockedBoundary,blockedSegment:blockedSegment,blockedPreamble:blockedPreamble,hoistableState:hoistableState,abortSet:abortSet,keyPath:keyPath,formatContext:formatContext,context:context,treeContext:treeContext,row:row,componentStack:componentStack,thenableState:thenableState};return task$jscomp$0.debugTask=debugTask,abortSet.add(task$jscomp$0),task$jscomp$0}function createReplayTask(request,thenableState,replay,node,childIndex,blockedBoundary,hoistableState,abortSet,keyPath,formatContext,context,treeContext,row,componentStack,legacyContext,debugTask){request.allPendingTasks++,null===blockedBoundary?request.pendingRootTasks++:blockedBoundary.pendingTasks++,null!==row&&row.pendingTasks++,replay.pendingTasks++;var task$jscomp$0={replay:replay,node:node,childIndex:childIndex,ping:{resolve:function(){return pingTask(request,task$jscomp$0)},reject:function(error){request.aborted?task$jscomp$0.abortSet.delete(task$jscomp$0)&&finishAbortedTaskDEV(task$jscomp$0,request,error):pingTask(request,task$jscomp$0)}},blockedBoundary:blockedBoundary,blockedSegment:null,blockedPreamble:null,hoistableState:hoistableState,abortSet:abortSet,keyPath:keyPath,formatContext:formatContext,context:context,treeContext:treeContext,row:row,componentStack:componentStack,thenableState:thenableState};return task$jscomp$0.debugTask=debugTask,abortSet.add(task$jscomp$0),task$jscomp$0}function createPendingSegment(request,index,boundary,parentFormatContext,lastPushedText,textEmbedded){return{status:PENDING,parentFlushed:!1,id:-1,index:index,chunks:[],children:[],preambleChildren:[],parentFormatContext:parentFormatContext,boundary:boundary,lastPushedText:lastPushedText,textEmbedded:textEmbedded}}function getCurrentStackInDEV(){if(null===currentTaskInDEV||null===currentTaskInDEV.componentStack)return"";var componentStack=currentTaskInDEV.componentStack;try{var info="";if("string"==typeof componentStack.type)info+=describeBuiltInComponentFrame(componentStack.type);else if("function"==typeof componentStack.type){if(!componentStack.owner){var JSCompiler_temp_const=info,fn=componentStack.type,name=fn?fn.displayName||fn.name:"",JSCompiler_inline_result=name?describeBuiltInComponentFrame(name):"";info=JSCompiler_temp_const+JSCompiler_inline_result}}else componentStack.owner||(info+=describeComponentStackByType(componentStack.type));for(;componentStack;)JSCompiler_temp_const=null,null!=componentStack.debugStack?JSCompiler_temp_const=formatOwnerStack(componentStack.debugStack):(JSCompiler_inline_result=componentStack,null!=JSCompiler_inline_result.stack&&(JSCompiler_temp_const="string"!=typeof JSCompiler_inline_result.stack?JSCompiler_inline_result.stack=formatOwnerStack(JSCompiler_inline_result.stack):JSCompiler_inline_result.stack)),(componentStack=componentStack.owner)&&JSCompiler_temp_const&&(info+="\n"+JSCompiler_temp_const);var JSCompiler_inline_result$jscomp$0=info}catch(x){JSCompiler_inline_result$jscomp$0="\nError generating stack: "+x.message+"\n"+x.stack}return JSCompiler_inline_result$jscomp$0}function pushServerComponentStack(task,debugInfo){if(null!=debugInfo)for(var i=0;i<debugInfo.length;i++){var componentInfo=debugInfo[i];"string"==typeof componentInfo.name&&void 0!==componentInfo.debugStack&&(task.componentStack={parent:task.componentStack,type:componentInfo,owner:componentInfo.owner,stack:componentInfo.debugStack},task.debugTask=componentInfo.debugTask)}}function pushComponentStack(task){var node=task.node;if("object"==typeof node&&null!==node)switch(node.$$typeof){case REACT_ELEMENT_TYPE:var type=node.type,owner=node._owner,stack=node._debugStack;pushServerComponentStack(task,node._debugInfo),task.debugTask=node._debugTask,task.componentStack={parent:task.componentStack,type:type,owner:owner,stack:stack};break;case REACT_LAZY_TYPE:pushServerComponentStack(task,node._debugInfo);break;default:"function"==typeof node.then&&pushServerComponentStack(task,node._debugInfo)}}function replaceSuspenseComponentStackWithSuspenseFallbackStack(componentStack){return null===componentStack?null:{parent:componentStack.parent,type:"Suspense Fallback",owner:componentStack.owner,stack:componentStack.stack}}function getThrownInfo(node$jscomp$0){var errorInfo={};return node$jscomp$0&&Object.defineProperty(errorInfo,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var info="",node=node$jscomp$0;do info+=describeComponentStackByType(node.type),node=node.parent;while(node);var stack=info}catch(x){stack="\nError generating stack: "+x.message+"\n"+x.stack}return Object.defineProperty(errorInfo,"componentStack",{value:stack}),stack}}),errorInfo}function encodeErrorForBoundary(boundary,digest,error,thrownInfo,wasAborted){boundary.errorDigest=digest,error===RecoverableException?boundary.errorMessage=wasAborted?"Switched to client rendering because the server render was aborted with a request to render on the client.":"Switched to client rendering because a component requested it.":(error instanceof Error?(digest=String(error.message),error=String(error.stack)):(digest="object"==typeof error&&null!==error?function describeObjectForErrorMessage(objectOrArray,expandedName){var objKind=objectName(objectOrArray);if("Object"!==objKind&&"Array"!==objKind)return objKind;var start=-1,length=0;if(isArrayImpl(objectOrArray))if(jsxChildrenParents.has(objectOrArray)){var type=jsxChildrenParents.get(objectOrArray);objKind="<"+describeElementType(type)+">";for(var i=0;i<objectOrArray.length;i++){var value=objectOrArray[i];value="string"==typeof value?value:"object"==typeof value&&null!==value?"{"+describeObjectForErrorMessage(value)+"}":"{"+describeValueForErrorMessage(value)+"}",""+i===expandedName?(start=objKind.length,length=value.length,objKind+=value):objKind=15>value.length&&40>objKind.length+value.length?objKind+value:objKind+"{...}"}objKind+="</"+describeElementType(type)+">"}else{for(type=0,objKind="[";type<objectOrArray.length;type++)0<type&&(objKind+=", "),i="object"==typeof(i=objectOrArray[type])&&null!==i?describeObjectForErrorMessage(i):describeValueForErrorMessage(i),""+type===expandedName?(start=objKind.length,length=i.length,objKind+=i):objKind=10>i.length&&40>objKind.length+i.length?objKind+i:objKind+"...";objKind+="]"}else if(objectOrArray.$$typeof===REACT_ELEMENT_TYPE)objKind="<"+describeElementType(objectOrArray.type)+"/>";else{if(objectOrArray.$$typeof===CLIENT_REFERENCE_TAG)return"client";if(jsxPropsParents.has(objectOrArray)){for(i=0,objKind="<"+(describeElementType(objKind=jsxPropsParents.get(objectOrArray))||"..."),type=Object.keys(objectOrArray);i<type.length;i++){objKind+=" ",objKind+=describeKeyForErrorMessage(value=type[i])+"=";var _value2=objectOrArray[value],_substr2=value===expandedName&&"object"==typeof _value2&&null!==_value2?describeObjectForErrorMessage(_value2):describeValueForErrorMessage(_value2);"string"!=typeof _value2&&(_substr2="{"+_substr2+"}"),value===expandedName?(start=objKind.length,length=_substr2.length,objKind+=_substr2):objKind=10>_substr2.length&&40>objKind.length+_substr2.length?objKind+_substr2:objKind+"..."}objKind+=">"}else{for(i=0,objKind="{",type=Object.keys(objectOrArray);i<type.length;i++)0<i&&(objKind+=", "),objKind+=describeKeyForErrorMessage(value=type[i])+": ",_value2="object"==typeof(_value2=objectOrArray[value])&&null!==_value2?describeObjectForErrorMessage(_value2):describeValueForErrorMessage(_value2),value===expandedName?(start=objKind.length,length=_value2.length,objKind+=_value2):objKind=10>_value2.length&&40>objKind.length+_value2.length?objKind+_value2:objKind+"...";objKind+="}"}}return void 0===expandedName?objKind:-1<start&&0<length?"\n "+objKind+"\n "+(objectOrArray=" ".repeat(start)+"^".repeat(length)):"\n "+objKind}(error):String(error),error=null),boundary.errorMessage=(wasAborted=wasAborted?"Switched to client rendering because the server rendering aborted due to:\n\n":"Switched to client rendering because the server rendering errored:\n\n")+digest,boundary.errorStack=null!==error?wasAborted+error:null),boundary.errorComponentStack=thrownInfo.componentStack}function logRecoverableError(request,error,errorInfo,debugTask){return error===RecoverableException?(suspendedRecoverableError=null,REACT_RECOVERABLE_DIGEST):(request=request.onError,null==(error=debugTask?debugTask.run(request.bind(null,error,errorInfo)):request(error,errorInfo))||"string"==typeof error)?""===error?void 0:error:void console.error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "%s" instead',typeof error)}function fatalError(request,error,errorInfo,debugTask){errorInfo=request.onShellError;var onFatalError=request.onFatalError,shellComplete=0===request.pendingRootTasks;debugTask?(shellComplete||debugTask.run(errorInfo.bind(null,error)),debugTask.run(onFatalError.bind(null,error))):(shellComplete||errorInfo(error),onFatalError(error)),null!==request.destination?(request.status=CLOSED,request.destination.destroy(error)):(request.status=12,request.fatalError=error)}function finishSuspenseListRow(request,row){unblockSuspenseListRow(request,row.next,row.hoistables)}function unblockSuspenseListRow(request,unblockedRow,inheritedHoistables){for(;null!==unblockedRow;){null!==inheritedHoistables&&(hoistHoistables(unblockedRow.hoistables,inheritedHoistables),unblockedRow.inheritedHoistables=inheritedHoistables);var unblockedBoundaries=unblockedRow.boundaries;if(null!==unblockedBoundaries){unblockedRow.boundaries=null;for(var i=0;i<unblockedBoundaries.length;i++){var unblockedBoundary=unblockedBoundaries[i];null!==inheritedHoistables&&hoistHoistables(unblockedBoundary.contentState,inheritedHoistables),finishedTask(request,unblockedBoundary,null,null)}}if(unblockedRow.pendingTasks--,0<unblockedRow.pendingTasks)break;inheritedHoistables=unblockedRow.hoistables,unblockedRow=unblockedRow.next}}function tryToResolveTogetherRow(request,togetherRow){var boundaries=togetherRow.boundaries;if(null!==boundaries&&togetherRow.pendingTasks===boundaries.length){for(var allCompleteAndInlinable=!0,i=0;i<boundaries.length;i++){var rowBoundary=boundaries[i];if(1!==rowBoundary.pendingTasks||rowBoundary.parentFlushed||isEligibleForOutlining(request,rowBoundary)){allCompleteAndInlinable=!1;break}}allCompleteAndInlinable&&unblockSuspenseListRow(request,togetherRow,togetherRow.hoistables)}}function createSuspenseListRow(previousRow){var newRow={pendingTasks:1,boundaries:null,hoistables:createHoistableState(),inheritedHoistables:null,together:!1,next:null};return null!==previousRow&&0<previousRow.pendingTasks&&(newRow.pendingTasks++,newRow.boundaries=[],previousRow.next=newRow),newRow}function renderSuspenseListRows(request,task,keyPath,rows,revealOrder){var prevKeyPath=task.keyPath,prevTreeContext=task.treeContext,prevRow=task.row,previousComponentStack=task.componentStack,previousDebugTask=task.debugTask;pushServerComponentStack(task,task.node.props.children._debugInfo),task.keyPath=keyPath,keyPath=rows.length;var previousSuspenseListRow=null;if(null!==task.replay){var resumeSlots=task.replay.slots;if(null!==resumeSlots&&"object"==typeof resumeSlots)for(var n=0;n<keyPath;n++){var i="backwards"!==revealOrder&&"unstable_legacy-backwards"!==revealOrder?n:keyPath-1-n,node=rows[i];task.row=previousSuspenseListRow=createSuspenseListRow(previousSuspenseListRow),task.treeContext=pushTreeContext(prevTreeContext,keyPath,i);var resumeSegmentID=resumeSlots[i];"number"==typeof resumeSegmentID?(resumeNode(request,task,resumeSegmentID,node,i),delete resumeSlots[i]):renderNode(request,task,node,i),0==--previousSuspenseListRow.pendingTasks&&finishSuspenseListRow(request,previousSuspenseListRow)}else for(resumeSlots=0;resumeSlots<keyPath;resumeSlots++)warnForMissingKey(request,task,i=rows[n="backwards"!==revealOrder&&"unstable_legacy-backwards"!==revealOrder?resumeSlots:keyPath-1-resumeSlots]),task.row=previousSuspenseListRow=createSuspenseListRow(previousSuspenseListRow),task.treeContext=pushTreeContext(prevTreeContext,keyPath,n),renderNode(request,task,i,n),0==--previousSuspenseListRow.pendingTasks&&finishSuspenseListRow(request,previousSuspenseListRow)}else if("backwards"!==revealOrder&&"unstable_legacy-backwards"!==revealOrder)for(revealOrder=0;revealOrder<keyPath;revealOrder++)warnForMissingKey(request,task,resumeSlots=rows[revealOrder]),task.row=previousSuspenseListRow=createSuspenseListRow(previousSuspenseListRow),task.treeContext=pushTreeContext(prevTreeContext,keyPath,revealOrder),renderNode(request,task,resumeSlots,revealOrder),0==--previousSuspenseListRow.pendingTasks&&finishSuspenseListRow(request,previousSuspenseListRow);else{for(node=0,n=(resumeSlots=task.blockedSegment).children.length,i=resumeSlots.chunks.length;node<keyPath;node++){var _node3=rows[resumeSegmentID="unstable_legacy-backwards"===revealOrder?keyPath-1-node:node];task.row=previousSuspenseListRow=createSuspenseListRow(previousSuspenseListRow),task.treeContext=pushTreeContext(prevTreeContext,keyPath,resumeSegmentID);var newSegment=createPendingSegment(request,i,null,task.formatContext,0===resumeSegmentID?resumeSlots.lastPushedText:!0,!0);resumeSlots.children.splice(n,0,newSegment),task.blockedSegment=newSegment,warnForMissingKey(request,task,_node3);try{renderNode(request,task,_node3,resumeSegmentID),newSegment.lastPushedText&&newSegment.textEmbedded&&newSegment.chunks.push(textSeparator),newSegment.status=COMPLETED,finishedSegment(request,task.blockedBoundary,newSegment),0==--previousSuspenseListRow.pendingTasks&&finishSuspenseListRow(request,previousSuspenseListRow)}catch(thrownValue){throw newSegment.status=request.aborted?ABORTED:ERRORED,thrownValue}}task.blockedSegment=resumeSlots,resumeSlots.lastPushedText=!1}null!==prevRow&&null!==previousSuspenseListRow&&0<previousSuspenseListRow.pendingTasks&&(prevRow.pendingTasks++,previousSuspenseListRow.next=prevRow),task.treeContext=prevTreeContext,task.row=prevRow,task.keyPath=prevKeyPath,task.componentStack=previousComponentStack,task.debugTask=previousDebugTask}function renderWithHooks(request,task,keyPath,Component,props,secondArg){var prevThenableState=task.thenableState;for(task.thenableState=null,currentlyRenderingComponent={},currentlyRenderingTask=task,currentlyRenderingRequest=request,currentlyRenderingKeyPath=keyPath,isInHookUserCodeInDev=!1,actionStateCounter=localIdCounter=0,actionStateMatchingIndex=-1,thenableIndexCounter=0,thenableState=prevThenableState,request=callComponentInDEV(Component,props,secondArg);didScheduleRenderPhaseUpdate;)didScheduleRenderPhaseUpdate=!1,actionStateCounter=localIdCounter=0,actionStateMatchingIndex=-1,thenableIndexCounter=0,numberOfReRenders+=1,workInProgressHook=null,request=Component(props,secondArg);return resetHooksState(),request}function finishFunctionComponent(request,task,keyPath,children,hasId,actionStateCount,actionStateMatchingIndex){var didEmitActionStateMarkers=!1;if(0!==actionStateCount&&null!==request.formState){var segment=task.blockedSegment;if(null!==segment){didEmitActionStateMarkers=!0,segment=segment.chunks;for(var i=0;i<actionStateCount;i++)i===actionStateMatchingIndex?segment.push(formStateMarkerIsMatching):segment.push(formStateMarkerIsNotMatching)}}actionStateCount=task.keyPath,task.keyPath=keyPath,hasId?(keyPath=task.treeContext,task.treeContext=pushTreeContext(keyPath,1,0),renderNode(request,task,children,-1),task.treeContext=keyPath):didEmitActionStateMarkers?renderNode(request,task,children,-1):renderNodeDestructive(request,task,children,-1),task.keyPath=actionStateCount}function renderElement(request,task,keyPath,type,props,ref){if("function"==typeof type)if(type.prototype&&type.prototype.isReactComponent){var newProps=props;if("ref"in props)for(var propName in newProps={},props)"ref"!==propName&&(newProps[propName]=props[propName]);var defaultProps=type.defaultProps;if(defaultProps)for(var _propName in newProps===props&&(newProps=assign({},newProps,props)),defaultProps)void 0===newProps[_propName]&&(newProps[_propName]=defaultProps[_propName]);var resolvedProps=newProps,context=emptyContextObject,contextType=type.contextType;if("contextType"in type&&null!==contextType&&(void 0===contextType||contextType.$$typeof!==REACT_CONTEXT_TYPE)&&!didWarnAboutInvalidateContextType.has(type)){didWarnAboutInvalidateContextType.add(type);var addendum=void 0===contextType?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":"object"!=typeof contextType?" However, it is set to a "+typeof contextType+".":contextType.$$typeof===REACT_CONSUMER_TYPE?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(contextType).join(", ")+"}.";console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",getComponentNameFromType(type)||"Component",addendum)}"object"==typeof contextType&&null!==contextType&&(context=contextType._currentValue);var instance=new type(resolvedProps,context);if("function"==typeof type.getDerivedStateFromProps&&(null===instance.state||void 0===instance.state)){var componentName=getComponentNameFromType(type)||"Component";didWarnAboutUninitializedState.has(componentName)||(didWarnAboutUninitializedState.add(componentName),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",componentName,null===instance.state?"null":"undefined",componentName))}if("function"==typeof type.getDerivedStateFromProps||"function"==typeof instance.getSnapshotBeforeUpdate){var foundWillMountName=null,foundWillReceivePropsName=null,foundWillUpdateName=null;if("function"==typeof instance.componentWillMount&&!0!==instance.componentWillMount.__suppressDeprecationWarning?foundWillMountName="componentWillMount":"function"==typeof instance.UNSAFE_componentWillMount&&(foundWillMountName="UNSAFE_componentWillMount"),"function"==typeof instance.componentWillReceiveProps&&!0!==instance.componentWillReceiveProps.__suppressDeprecationWarning?foundWillReceivePropsName="componentWillReceiveProps":"function"==typeof instance.UNSAFE_componentWillReceiveProps&&(foundWillReceivePropsName="UNSAFE_componentWillReceiveProps"),"function"==typeof instance.componentWillUpdate&&!0!==instance.componentWillUpdate.__suppressDeprecationWarning?foundWillUpdateName="componentWillUpdate":"function"==typeof instance.UNSAFE_componentWillUpdate&&(foundWillUpdateName="UNSAFE_componentWillUpdate"),null!==foundWillMountName||null!==foundWillReceivePropsName||null!==foundWillUpdateName){var _componentName=getComponentNameFromType(type)||"Component",newApiName="function"==typeof type.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";didWarnAboutLegacyLifecyclesAndDerivedState.has(_componentName)||(didWarnAboutLegacyLifecyclesAndDerivedState.add(_componentName),console.error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://react.dev/link/unsafe-component-lifecycles",_componentName,newApiName,null!==foundWillMountName?"\n "+foundWillMountName:"",null!==foundWillReceivePropsName?"\n "+foundWillReceivePropsName:"",null!==foundWillUpdateName?"\n "+foundWillUpdateName:""))}}var name=getComponentNameFromType(type)||"Component";instance.render||(type.prototype&&"function"==typeof type.prototype.render?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",name):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",name)),!instance.getInitialState||instance.getInitialState.isReactClassApproved||instance.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",name),instance.getDefaultProps&&!instance.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",name),instance.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",name),type.childContextTypes&&!didWarnAboutChildContextTypes.has(type)&&(didWarnAboutChildContextTypes.add(type),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",name)),type.contextTypes&&!didWarnAboutContextTypes$1.has(type)&&(didWarnAboutContextTypes$1.add(type),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",name)),"function"==typeof instance.componentShouldUpdate&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",name),type.prototype&&type.prototype.isPureReactComponent&&void 0!==instance.shouldComponentUpdate&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",getComponentNameFromType(type)||"A pure component"),"function"==typeof instance.componentDidUnmount&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",name),"function"==typeof instance.componentDidReceiveProps&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",name),"function"==typeof instance.componentWillRecieveProps&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",name),"function"==typeof instance.UNSAFE_componentWillRecieveProps&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",name);var hasMutatedProps=instance.props!==resolvedProps;void 0!==instance.props&&hasMutatedProps&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",name),instance.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",name,name),"function"!=typeof instance.getSnapshotBeforeUpdate||"function"==typeof instance.componentDidUpdate||didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate.has(type)||(didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate.add(type),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",getComponentNameFromType(type))),"function"==typeof instance.getDerivedStateFromProps&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",name),"function"==typeof instance.getDerivedStateFromError&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",name),"function"==typeof type.getSnapshotBeforeUpdate&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",name);var state=instance.state;state&&("object"!=typeof state||isArrayImpl(state))&&console.error("%s.state: must be set to an object or null",name),"function"==typeof instance.getChildContext&&"object"!=typeof type.childContextTypes&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",name);var initialState=void 0!==instance.state?instance.state:null;instance.updater=classComponentUpdater,instance.props=resolvedProps,instance.state=initialState;var internalInstance={queue:[],replace:!1};instance._reactInternals=internalInstance;var contextType$jscomp$0=type.contextType;if(instance.context="object"==typeof contextType$jscomp$0&&null!==contextType$jscomp$0?contextType$jscomp$0._currentValue:emptyContextObject,instance.state===resolvedProps){var componentName$jscomp$0=getComponentNameFromType(type)||"Component";didWarnAboutDirectlyAssigningPropsToState.has(componentName$jscomp$0)||(didWarnAboutDirectlyAssigningPropsToState.add(componentName$jscomp$0),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",componentName$jscomp$0))}var getDerivedStateFromProps=type.getDerivedStateFromProps;if("function"==typeof getDerivedStateFromProps){var partialState=getDerivedStateFromProps(resolvedProps,initialState);if(void 0===partialState){var componentName$jscomp$1=getComponentNameFromType(type)||"Component";didWarnAboutUndefinedDerivedState.has(componentName$jscomp$1)||(didWarnAboutUndefinedDerivedState.add(componentName$jscomp$1),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",componentName$jscomp$1))}instance.state=null==partialState?initialState:assign({},initialState,partialState)}if("function"!=typeof type.getDerivedStateFromProps&&"function"!=typeof instance.getSnapshotBeforeUpdate&&("function"==typeof instance.UNSAFE_componentWillMount||"function"==typeof instance.componentWillMount)){var oldState=instance.state;if("function"==typeof instance.componentWillMount){if(!0!==instance.componentWillMount.__suppressDeprecationWarning){var componentName$jscomp$2=getComponentNameFromType(type)||"Unknown";didWarnAboutDeprecatedWillMount[componentName$jscomp$2]||(console.warn("componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.\n\nPlease update the following components: %s",componentName$jscomp$2),didWarnAboutDeprecatedWillMount[componentName$jscomp$2]=!0)}instance.componentWillMount()}if("function"==typeof instance.UNSAFE_componentWillMount&&instance.UNSAFE_componentWillMount(),oldState!==instance.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",getComponentNameFromType(type)||"Component"),classComponentUpdater.enqueueReplaceState(instance,instance.state,null)),null!==internalInstance.queue&&0<internalInstance.queue.length){var oldQueue=internalInstance.queue,oldReplace=internalInstance.replace;if(internalInstance.queue=null,internalInstance.replace=!1,oldReplace&&1===oldQueue.length)instance.state=oldQueue[0];else{for(var nextState=oldReplace?oldQueue[0]:instance.state,dontMutate=!0,i=oldReplace?1:0;i<oldQueue.length;i++){var partial=oldQueue[i],partialState$jscomp$0="function"==typeof partial?partial.call(instance,nextState,resolvedProps,void 0):partial;null!=partialState$jscomp$0&&(dontMutate?(dontMutate=!1,nextState=assign({},nextState,partialState$jscomp$0)):assign(nextState,partialState$jscomp$0))}instance.state=nextState}}else internalInstance.queue=null}var nextChildren=callRenderInDEV(instance);if(request.aborted)throw null;instance.props!==resolvedProps&&(didWarnAboutReassigningProps||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",getComponentNameFromType(type)||"a component"),didWarnAboutReassigningProps=!0);var prevKeyPath=task.keyPath;task.keyPath=keyPath,renderNodeDestructive(request,task,nextChildren,-1),task.keyPath=prevKeyPath}else{if(type.prototype&&"function"==typeof type.prototype.render){var componentName$jscomp$3=getComponentNameFromType(type)||"Unknown";didWarnAboutBadClass[componentName$jscomp$3]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",componentName$jscomp$3,componentName$jscomp$3),didWarnAboutBadClass[componentName$jscomp$3]=!0)}var value=renderWithHooks(request,task,keyPath,type,props,void 0);if(request.aborted)throw null;var hasId=0!==localIdCounter,actionStateCount=actionStateCounter,actionStateMatchingIndex$jscomp$0=actionStateMatchingIndex;if(type.contextTypes){var _componentName$jscomp$0=getComponentNameFromType(type)||"Unknown";didWarnAboutContextTypes[_componentName$jscomp$0]||(didWarnAboutContextTypes[_componentName$jscomp$0]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",_componentName$jscomp$0))}if(type&&type.childContextTypes&&console.error("childContextTypes cannot be defined on a function component.\n %s.childContextTypes = ...",type.displayName||type.name||"Component"),"function"==typeof type.getDerivedStateFromProps){var componentName$jscomp$4=getComponentNameFromType(type)||"Unknown";didWarnAboutGetDerivedStateOnFunctionComponent[componentName$jscomp$4]||(console.error("%s: Function components do not support getDerivedStateFromProps.",componentName$jscomp$4),didWarnAboutGetDerivedStateOnFunctionComponent[componentName$jscomp$4]=!0)}if("object"==typeof type.contextType&&null!==type.contextType){var _componentName2=getComponentNameFromType(type)||"Unknown";didWarnAboutContextTypeOnFunctionComponent[_componentName2]||(console.error("%s: Function components do not support contextType.",_componentName2),didWarnAboutContextTypeOnFunctionComponent[_componentName2]=!0)}finishFunctionComponent(request,task,keyPath,value,hasId,actionStateCount,actionStateMatchingIndex$jscomp$0)}else if("string"==typeof type){var segment=task.blockedSegment;if(null===segment){var children=props.children,prevContext=task.formatContext,prevKeyPath$jscomp$0=task.keyPath;task.formatContext=getChildFormatContext(prevContext,type,props),task.keyPath=keyPath,renderNode(request,task,children,-1),task.formatContext=prevContext,task.keyPath=prevKeyPath$jscomp$0}else{var _children=function(target$jscomp$0,type,props,resumableState,renderState,preambleState,hoistableState,formatContext,textEmbedded){var key,props1=props,invalidProps=[];for(key in props1)(function(tagName,name){if(hasOwnProperty.call(warnedProperties$1,name)&&warnedProperties$1[name])return!0;if(rARIACamel$1.test(name)){if(tagName="aria-"+name.slice(4).toLowerCase(),null==(tagName=ariaProperties.hasOwnProperty(tagName)?tagName:null))return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",name),warnedProperties$1[name]=!0;if(name!==tagName)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",name,tagName),warnedProperties$1[name]=!0}if(rARIA$1.test(name)){if(tagName=name.toLowerCase(),null==(tagName=ariaProperties.hasOwnProperty(tagName)?tagName:null))return warnedProperties$1[name]=!0,!1;name!==tagName&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",name,tagName),warnedProperties$1[name]=!0)}return!0})(type,key)||invalidProps.push(key);props1=invalidProps.map(function(prop){return"`"+prop+"`"}).join(", "),1===invalidProps.length?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",props1,type):1<invalidProps.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",props1,type),"input"!==type&&"textarea"!==type&&"select"!==type||null==props||null!==props.value||didWarnValueNull||(didWarnValueNull=!0,"select"===type&&props.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",type):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",type));b:if(-1===type.indexOf("-"))var JSCompiler_inline_result=!1;else switch(type){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":JSCompiler_inline_result=!1;break b;default:JSCompiler_inline_result=!0}switch(JSCompiler_inline_result||"string"==typeof props.is||function(type,props,eventRegistry){var key,unknownProps=[];for(key in props)(function(tagName,name,value,eventRegistry){if(hasOwnProperty.call(warnedProperties,name)&&warnedProperties[name])return!0;var lowerCasedName=name.toLowerCase();if("onfocusin"===lowerCasedName||"onfocusout"===lowerCasedName)return console.error("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."),warnedProperties[name]=!0;if("function"==typeof value&&("form"===tagName&&"action"===name||"input"===tagName&&"formAction"===name||"button"===tagName&&"formAction"===name))return!0;if(null!=eventRegistry){if(tagName=eventRegistry.possibleRegistrationNames,eventRegistry.registrationNameDependencies.hasOwnProperty(name))return!0;if(null!=(eventRegistry=tagName.hasOwnProperty(lowerCasedName)?tagName[lowerCasedName]:null))return console.error("Invalid event handler property `%s`. Did you mean `%s`?",name,eventRegistry),warnedProperties[name]=!0;if(EVENT_NAME_REGEX.test(name))return console.error("Unknown event handler property `%s`. It will be ignored.",name),warnedProperties[name]=!0}else if(EVENT_NAME_REGEX.test(name))return INVALID_EVENT_NAME_REGEX.test(name)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",name),warnedProperties[name]=!0;if(rARIA.test(name)||rARIACamel.test(name))return!0;if("innerhtml"===lowerCasedName)return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),warnedProperties[name]=!0;if("aria"===lowerCasedName)return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),warnedProperties[name]=!0;if("is"===lowerCasedName&&null!=value&&"string"!=typeof value)return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof value),warnedProperties[name]=!0;if("number"==typeof value&&isNaN(value))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",name),warnedProperties[name]=!0;if(possibleStandardNames.hasOwnProperty(lowerCasedName)){if((lowerCasedName=possibleStandardNames[lowerCasedName])!==name)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",name,lowerCasedName),warnedProperties[name]=!0}else if(name!==lowerCasedName)return console.error("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.",name,lowerCasedName),warnedProperties[name]=!0;switch(name){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"innerText":case"textContent":return!0}switch(typeof value){case"boolean":switch(name){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:if("data-"===(lowerCasedName=name.toLowerCase().slice(0,5))||"aria-"===lowerCasedName)return!0;return value?console.error('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()}.',value,name,name,value,name):console.error('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.',value,name,name,value,name,name,name),warnedProperties[name]=!0}case"function":case"symbol":return warnedProperties[name]=!0,!1;case"string":if("false"===value||"true"===value){switch(name){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",value,name,"false"===value?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',name,value),warnedProperties[name]=!0}}return!0})(type,key,props[key],null)||unknownProps.push(key);props=unknownProps.map(function(prop){return"`"+prop+"`"}).join(", "),1===unknownProps.length?console.error("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 ",props,type):1<unknownProps.length&&console.error("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 ",props,type)}(type,props,0),!props.suppressContentEditableWarning&&props.contentEditable&&null!=props.children&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),formatContext.insertionMode!==SVG_MODE&&formatContext.insertionMode!==MATHML_MODE&&-1===type.indexOf("-")&&type.toLowerCase()!==type&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",type),type){case"div":case"span":case"svg":case"path":case"g":case"p":case"li":case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":break;case"a":target$jscomp$0.push(startChunkForTag("a"));var propKey,children=null,innerHTML=null;for(propKey in props)if(hasOwnProperty.call(props,propKey)){var propValue=props[propKey];if(null!=propValue)switch(propKey){case"children":children=propValue;break;case"dangerouslySetInnerHTML":innerHTML=propValue;break;case"href":""===propValue?pushStringAttribute(target$jscomp$0,"href",""):pushAttribute(target$jscomp$0,propKey,propValue);break;default:pushAttribute(target$jscomp$0,propKey,propValue)}}if(pushViewTransitionAttributes(target$jscomp$0,formatContext),target$jscomp$0.push(endOfStartTag),pushInnerHTML(target$jscomp$0,innerHTML,children),"string"==typeof children){target$jscomp$0.push(escapeTextForBrowser(children));var JSCompiler_inline_result$jscomp$0=null}else JSCompiler_inline_result$jscomp$0=children;return JSCompiler_inline_result$jscomp$0;case"select":checkControlledValueProps("select",props),checkSelectProp(props,"value"),checkSelectProp(props,"defaultValue"),void 0===props.value||void 0===props.defaultValue||didWarnDefaultSelectValue||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),didWarnDefaultSelectValue=!0),target$jscomp$0.push(startChunkForTag("select"));var propKey$jscomp$0,children$jscomp$0=null,innerHTML$jscomp$0=null;for(propKey$jscomp$0 in props)if(hasOwnProperty.call(props,propKey$jscomp$0)){var propValue$jscomp$0=props[propKey$jscomp$0];if(null!=propValue$jscomp$0)switch(propKey$jscomp$0){case"children":children$jscomp$0=propValue$jscomp$0;break;case"dangerouslySetInnerHTML":innerHTML$jscomp$0=propValue$jscomp$0;break;case"defaultValue":case"value":break;default:pushAttribute(target$jscomp$0,propKey$jscomp$0,propValue$jscomp$0)}}return pushViewTransitionAttributes(target$jscomp$0,formatContext),target$jscomp$0.push(endOfStartTag),pushInnerHTML(target$jscomp$0,innerHTML$jscomp$0,children$jscomp$0),children$jscomp$0;case"option":var selectedValue=formatContext.selectedValue;target$jscomp$0.push(startChunkForTag("option"));var propKey$jscomp$1,children$jscomp$1=null,value=null,selected=null,innerHTML$jscomp$1=null;for(propKey$jscomp$1 in props)if(hasOwnProperty.call(props,propKey$jscomp$1)){var propValue$jscomp$1=props[propKey$jscomp$1];if(null!=propValue$jscomp$1)switch(propKey$jscomp$1){case"children":children$jscomp$1=propValue$jscomp$1;break;case"selected":selected=propValue$jscomp$1,didWarnSelectedSetOnOption||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),didWarnSelectedSetOnOption=!0);break;case"dangerouslySetInnerHTML":innerHTML$jscomp$1=propValue$jscomp$1;break;case"value":value=propValue$jscomp$1;default:pushAttribute(target$jscomp$0,propKey$jscomp$1,propValue$jscomp$1)}}if(null!=selectedValue){if(null!==value){checkAttributeStringCoercion(value,"value");var children1,content,stringValue=""+value}else null===innerHTML$jscomp$1||didWarnInvalidOptionInnerHTML||(didWarnInvalidOptionInnerHTML=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")),children1=children$jscomp$1,content="",React.Children.forEach(children1,function(child){null!=child&&(content+=child,didWarnInvalidOptionChildren||"string"==typeof child||"number"==typeof child||"bigint"==typeof child||(didWarnInvalidOptionChildren=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),stringValue=content;if(isArrayImpl(selectedValue)){for(var i=0;i<selectedValue.length;i++)if(checkAttributeStringCoercion(selectedValue[i],"value"),""+selectedValue[i]===stringValue){target$jscomp$0.push(selectedMarkerAttribute);break}}else checkAttributeStringCoercion(selectedValue,"select.value"),""+selectedValue===stringValue&&target$jscomp$0.push(selectedMarkerAttribute)}else selected&&target$jscomp$0.push(selectedMarkerAttribute);return target$jscomp$0.push(endOfStartTag),pushInnerHTML(target$jscomp$0,innerHTML$jscomp$1,children$jscomp$1),children$jscomp$1;case"textarea":checkControlledValueProps("textarea",props),void 0===props.value||void 0===props.defaultValue||didWarnDefaultTextareaValue||(console.error("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components"),didWarnDefaultTextareaValue=!0),target$jscomp$0.push(startChunkForTag("textarea"));var propKey$jscomp$2,value$jscomp$0=null,defaultValue=null,children$jscomp$2=null;for(propKey$jscomp$2 in props)if(hasOwnProperty.call(props,propKey$jscomp$2)){var propValue$jscomp$2=props[propKey$jscomp$2];if(null!=propValue$jscomp$2)switch(propKey$jscomp$2){case"children":children$jscomp$2=propValue$jscomp$2;break;case"value":value$jscomp$0=propValue$jscomp$2;break;case"defaultValue":defaultValue=propValue$jscomp$2;break;case"dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:pushAttribute(target$jscomp$0,propKey$jscomp$2,propValue$jscomp$2)}}if(null===value$jscomp$0&&null!==defaultValue&&(value$jscomp$0=defaultValue),pushViewTransitionAttributes(target$jscomp$0,formatContext),target$jscomp$0.push(endOfStartTag),null!=children$jscomp$2){if(console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),null!=value$jscomp$0)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(isArrayImpl(children$jscomp$2)){if(1<children$jscomp$2.length)throw Error("<textarea> can only have at most one child.");checkHtmlStringCoercion(children$jscomp$2[0]),value$jscomp$0=""+children$jscomp$2[0]}checkHtmlStringCoercion(children$jscomp$2),value$jscomp$0=""+children$jscomp$2}return"string"==typeof value$jscomp$0&&"\n"===value$jscomp$0[0]&&target$jscomp$0.push(leadingNewline),null!==value$jscomp$0&&(checkAttributeStringCoercion(value$jscomp$0,"value"),target$jscomp$0.push(escapeTextForBrowser(""+value$jscomp$0))),null;case"input":checkControlledValueProps("input",props),target$jscomp$0.push(startChunkForTag("input"));var propKey$jscomp$3,name=null,formAction=null,formEncType=null,formMethod=null,formTarget=null,value$jscomp$1=null,defaultValue$jscomp$0=null,checked=null,defaultChecked=null;for(propKey$jscomp$3 in props)if(hasOwnProperty.call(props,propKey$jscomp$3)){var propValue$jscomp$3=props[propKey$jscomp$3];if(null!=propValue$jscomp$3)switch(propKey$jscomp$3){case"children":case"dangerouslySetInnerHTML":throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"name":name=propValue$jscomp$3;break;case"formAction":formAction=propValue$jscomp$3;break;case"formEncType":formEncType=propValue$jscomp$3;break;case"formMethod":formMethod=propValue$jscomp$3;break;case"formTarget":formTarget=propValue$jscomp$3;break;case"defaultChecked":defaultChecked=propValue$jscomp$3;break;case"defaultValue":defaultValue$jscomp$0=propValue$jscomp$3;break;case"checked":checked=propValue$jscomp$3;break;case"value":value$jscomp$1=propValue$jscomp$3;break;default:pushAttribute(target$jscomp$0,propKey$jscomp$3,propValue$jscomp$3)}}null===formAction||"image"===props.type||"submit"===props.type||didWarnFormActionType||(didWarnFormActionType=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".'));var formData=pushFormActionAttribute(target$jscomp$0,resumableState,renderState,formAction,formEncType,formMethod,formTarget,name);return null===checked||null===defaultChecked||didWarnDefaultChecked||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components","A component",props.type),didWarnDefaultChecked=!0),null===value$jscomp$1||null===defaultValue$jscomp$0||didWarnDefaultInputValue||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components","A component",props.type),didWarnDefaultInputValue=!0),null!==checked?pushBooleanAttribute(target$jscomp$0,"checked",checked):null!==defaultChecked&&pushBooleanAttribute(target$jscomp$0,"checked",defaultChecked),null!==value$jscomp$1?pushAttribute(target$jscomp$0,"value",value$jscomp$1):null!==defaultValue$jscomp$0&&pushAttribute(target$jscomp$0,"value",defaultValue$jscomp$0),pushViewTransitionAttributes(target$jscomp$0,formatContext),target$jscomp$0.push(endOfStartTagSelfClosing),null!=formData&&formData.forEach(pushAdditionalFormField,target$jscomp$0),null;case"button":target$jscomp$0.push(startChunkForTag("button"));var propKey$jscomp$4,children$jscomp$3=null,innerHTML$jscomp$2=null,name$jscomp$0=null,formAction$jscomp$0=null,formEncType$jscomp$0=null,formMethod$jscomp$0=null,formTarget$jscomp$0=null;for(propKey$jscomp$4 in props)if(hasOwnProperty.call(props,propKey$jscomp$4)){var propValue$jscomp$4=props[propKey$jscomp$4];if(null!=propValue$jscomp$4)switch(propKey$jscomp$4){case"children":children$jscomp$3=propValue$jscomp$4;break;case"dangerouslySetInnerHTML":innerHTML$jscomp$2=propValue$jscomp$4;break;case"name":name$jscomp$0=propValue$jscomp$4;break;case"formAction":formAction$jscomp$0=propValue$jscomp$4;break;case"formEncType":formEncType$jscomp$0=propValue$jscomp$4;break;case"formMethod":formMethod$jscomp$0=propValue$jscomp$4;break;case"formTarget":formTarget$jscomp$0=propValue$jscomp$4;break;default:pushAttribute(target$jscomp$0,propKey$jscomp$4,propValue$jscomp$4)}}null===formAction$jscomp$0||null==props.type||"submit"===props.type||didWarnFormActionType||(didWarnFormActionType=!0,console.error('A button can only specify a formAction along with type="submit" or no type.'));var formData$jscomp$0=pushFormActionAttribute(target$jscomp$0,resumableState,renderState,formAction$jscomp$0,formEncType$jscomp$0,formMethod$jscomp$0,formTarget$jscomp$0,name$jscomp$0);if(pushViewTransitionAttributes(target$jscomp$0,formatContext),target$jscomp$0.push(endOfStartTag),null!=formData$jscomp$0&&formData$jscomp$0.forEach(pushAdditionalFormField,target$jscomp$0),pushInnerHTML(target$jscomp$0,innerHTML$jscomp$2,children$jscomp$3),"string"==typeof children$jscomp$3){target$jscomp$0.push(escapeTextForBrowser(children$jscomp$3));var JSCompiler_inline_result$jscomp$1=null}else JSCompiler_inline_result$jscomp$1=children$jscomp$3;return JSCompiler_inline_result$jscomp$1;case"form":target$jscomp$0.push(startChunkForTag("form"));var propKey$jscomp$5,children$jscomp$4=null,innerHTML$jscomp$3=null,formAction$jscomp$1=null,formEncType$jscomp$1=null,formMethod$jscomp$1=null,formTarget$jscomp$1=null;for(propKey$jscomp$5 in props)if(hasOwnProperty.call(props,propKey$jscomp$5)){var propValue$jscomp$5=props[propKey$jscomp$5];if(null!=propValue$jscomp$5)switch(propKey$jscomp$5){case"children":children$jscomp$4=propValue$jscomp$5;break;case"dangerouslySetInnerHTML":innerHTML$jscomp$3=propValue$jscomp$5;break;case"action":formAction$jscomp$1=propValue$jscomp$5;break;case"encType":formEncType$jscomp$1=propValue$jscomp$5;break;case"method":formMethod$jscomp$1=propValue$jscomp$5;break;case"target":formTarget$jscomp$1=propValue$jscomp$5;break;default:pushAttribute(target$jscomp$0,propKey$jscomp$5,propValue$jscomp$5)}}var formData$jscomp$1=null,formActionName=null;if("function"==typeof formAction$jscomp$1){null===formEncType$jscomp$1&&null===formMethod$jscomp$1||didWarnFormActionMethod||(didWarnFormActionMethod=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),null===formTarget$jscomp$1||didWarnFormActionTarget||(didWarnFormActionTarget=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."));var customFields=getCustomFormFields(resumableState,formAction$jscomp$1);null!==customFields?(formAction$jscomp$1=customFields.action||"",formEncType$jscomp$1=customFields.encType,formMethod$jscomp$1=customFields.method,formTarget$jscomp$1=customFields.target,formData$jscomp$1=customFields.data,formActionName=customFields.name):(target$jscomp$0.push(attributeSeparator,"action",attributeAssign,actionJavaScriptURL,attributeEnd),formTarget$jscomp$1=formMethod$jscomp$1=formEncType$jscomp$1=formAction$jscomp$1=null,injectFormReplayingRuntime(resumableState,renderState))}if(null!=formAction$jscomp$1&&pushAttribute(target$jscomp$0,"action",formAction$jscomp$1),null!=formEncType$jscomp$1&&pushAttribute(target$jscomp$0,"encType",formEncType$jscomp$1),null!=formMethod$jscomp$1&&pushAttribute(target$jscomp$0,"method",formMethod$jscomp$1),null!=formTarget$jscomp$1&&pushAttribute(target$jscomp$0,"target",formTarget$jscomp$1),pushViewTransitionAttributes(target$jscomp$0,formatContext),target$jscomp$0.push(endOfStartTag),null!==formActionName&&(target$jscomp$0.push(startHiddenInputChunk),pushStringAttribute(target$jscomp$0,"name",formActionName),target$jscomp$0.push(endOfStartTagSelfClosing),null!=formData$jscomp$1&&formData$jscomp$1.forEach(pushAdditionalFormField,target$jscomp$0)),pushInnerHTML(target$jscomp$0,innerHTML$jscomp$3,children$jscomp$4),"string"==typeof children$jscomp$4){target$jscomp$0.push(escapeTextForBrowser(children$jscomp$4));var JSCompiler_inline_result$jscomp$2=null}else JSCompiler_inline_result$jscomp$2=children$jscomp$4;return JSCompiler_inline_result$jscomp$2;case"menuitem":for(var propKey$jscomp$6 in target$jscomp$0.push(startChunkForTag("menuitem")),props)if(hasOwnProperty.call(props,propKey$jscomp$6)){var propValue$jscomp$6=props[propKey$jscomp$6];if(null!=propValue$jscomp$6)switch(propKey$jscomp$6){case"children":case"dangerouslySetInnerHTML":throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:pushAttribute(target$jscomp$0,propKey$jscomp$6,propValue$jscomp$6)}}return pushViewTransitionAttributes(target$jscomp$0,formatContext),target$jscomp$0.push(endOfStartTag),null;case"object":target$jscomp$0.push(startChunkForTag("object"));var propKey$jscomp$7,children$jscomp$5=null,innerHTML$jscomp$4=null;for(propKey$jscomp$7 in props)if(hasOwnProperty.call(props,propKey$jscomp$7)){var propValue$jscomp$7=props[propKey$jscomp$7];if(null!=propValue$jscomp$7)switch(propKey$jscomp$7){case"children":children$jscomp$5=propValue$jscomp$7;break;case"dangerouslySetInnerHTML":innerHTML$jscomp$4=propValue$jscomp$7;break;case"data":checkAttributeStringCoercion(propValue$jscomp$7,"data");var sanitizedValue=sanitizeURL(""+propValue$jscomp$7);if(""===sanitizedValue){console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',propKey$jscomp$7,propKey$jscomp$7);break}target$jscomp$0.push(attributeSeparator,"data",attributeAssign,escapeTextForBrowser(sanitizedValue),attributeEnd);break;default:pushAttribute(target$jscomp$0,propKey$jscomp$7,propValue$jscomp$7)}}if(pushViewTransitionAttributes(target$jscomp$0,formatContext),target$jscomp$0.push(endOfStartTag),pushInnerHTML(target$jscomp$0,innerHTML$jscomp$4,children$jscomp$5),"string"==typeof children$jscomp$5){target$jscomp$0.push(escapeTextForBrowser(children$jscomp$5));var JSCompiler_inline_result$jscomp$3=null}else JSCompiler_inline_result$jscomp$3=children$jscomp$5;return JSCompiler_inline_result$jscomp$3;case"title":var noscriptTagInScope=1&formatContext.tagScope,isFallback=4&formatContext.tagScope;if(hasOwnProperty.call(props,"children")){var children$jscomp$6=props.children,child=Array.isArray(children$jscomp$6)?2>children$jscomp$6.length?children$jscomp$6[0]:null:children$jscomp$6;Array.isArray(children$jscomp$6)&&1<children$jscomp$6.length?console.error("React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an Array with length %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert `children` of <title> tags to a single string value which is why Arrays of length greater than 1 are not supported. When using JSX it can be common to combine text nodes and value nodes. For example: <title>hello {nameOfUser}</title>. While not immediately apparent, `children` in this case is an Array with length 2. If your `children` prop is using this form try rewriting it using a template string: <title>{`hello ${nameOfUser}`}</title>.",children$jscomp$6.length):"function"==typeof child||"symbol"==typeof child?console.error("React expect children of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value.","function"==typeof child?"a Function":"a Sybmol"):child&&child.toString===({}).toString&&(null!=child.$$typeof?console.error("React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an object that appears to be a React element which never implements a suitable `toString` method. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value which is why rendering React elements is not supported. If the `children` of <title> is a React Component try moving the <title> tag into that component. If the `children` of <title> is some HTML markup change it to be Text only to be valid HTML."):console.error("React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an object that does not implement a suitable `toString` method. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value. Using the default `toString` method available on every object is almost certainly an error. Consider whether the `children` of this <title> is an object in error and change it to a string or number value if so. Otherwise implement a `toString` method that React can use to produce a valid <title>."))}if(formatContext.insertionMode===SVG_MODE||noscriptTagInScope||null!=props.itemProp)var JSCompiler_inline_result$jscomp$4=pushTitleImpl(target$jscomp$0,props);else isFallback?JSCompiler_inline_result$jscomp$4=null:(pushTitleImpl(renderState.hoistableChunks,props),JSCompiler_inline_result$jscomp$4=void 0);return JSCompiler_inline_result$jscomp$4;case"link":var noscriptTagInScope$jscomp$0=1&formatContext.tagScope,isFallback$jscomp$0=4&formatContext.tagScope,rel=props.rel,href=props.href,precedence=props.precedence;if(formatContext.insertionMode===SVG_MODE||noscriptTagInScope$jscomp$0||null!=props.itemProp||"string"!=typeof rel||"string"!=typeof href||""===href){"stylesheet"===rel&&"string"==typeof props.precedence&&("string"==typeof href&&href||console.error('React encountered a `<link rel="stylesheet" .../>` with a `precedence` prop and expected the `href` prop to be a non-empty string but ecountered %s instead. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop ensure there is a non-empty string `href` prop as well, otherwise remove the `precedence` prop.',null===href?"`null`":void 0===href?"`undefined`":""===href?"an empty string":'something with type "'+typeof href+'"')),pushLinkImpl(target$jscomp$0,props);var JSCompiler_inline_result$jscomp$5=null}else if("stylesheet"===props.rel)if("string"!=typeof precedence||null!=props.disabled||props.onLoad||props.onError){if("string"==typeof precedence){if(null!=props.disabled)console.error('React encountered a `<link rel="stylesheet" .../>` with a `precedence` prop and a `disabled` prop. The presence of the `disabled` prop indicates an intent to manage the stylesheet active state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the `disabled` prop, otherwise remove the `precedence` prop.');else if(props.onLoad||props.onError){var propDescription=props.onLoad&&props.onError?"`onLoad` and `onError` props":props.onLoad?"`onLoad` prop":"`onError` prop";console.error('React encountered a `<link rel="stylesheet" .../>` with a `precedence` prop and %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',propDescription,propDescription)}}JSCompiler_inline_result$jscomp$5=pushLinkImpl(target$jscomp$0,props)}else{var styleQueue=renderState.styles.get(precedence),resourceState=resumableState.styleResources.hasOwnProperty(href)?resumableState.styleResources[href]:void 0;if(resourceState!==EXISTS){resumableState.styleResources[href]=EXISTS,styleQueue||(styleQueue={precedence:escapeTextForBrowser(precedence),rules:[],hrefs:[],sheets:new Map},renderState.styles.set(precedence,styleQueue));var resource={state:PENDING$1,props:assign({},props,{"data-precedence":props.precedence,precedence:null})};if(resourceState){2===resourceState.length&&adoptPreloadCredentials(resource.props,resourceState);var preloadResource=renderState.preloads.stylesheets.get(href);preloadResource&&0<preloadResource.length?preloadResource.length=0:resource.state=PRELOADED}styleQueue.sheets.set(href,resource),hoistableState&&hoistableState.stylesheets.add(resource)}else if(styleQueue){var _resource=styleQueue.sheets.get(href);_resource&&hoistableState&&hoistableState.stylesheets.add(_resource)}textEmbedded&&target$jscomp$0.push(textSeparator),JSCompiler_inline_result$jscomp$5=null}else props.onLoad||props.onError?JSCompiler_inline_result$jscomp$5=pushLinkImpl(target$jscomp$0,props):(textEmbedded&&target$jscomp$0.push(textSeparator),JSCompiler_inline_result$jscomp$5=isFallback$jscomp$0?null:pushLinkImpl(renderState.hoistableChunks,props));return JSCompiler_inline_result$jscomp$5;case"script":var noscriptTagInScope$jscomp$1=1&formatContext.tagScope,asyncProp=props.async;if("string"!=typeof props.src||!props.src||!asyncProp||"function"==typeof asyncProp||"symbol"==typeof asyncProp||props.onLoad||props.onError||formatContext.insertionMode===SVG_MODE||noscriptTagInScope$jscomp$1||null!=props.itemProp)var JSCompiler_inline_result$jscomp$6=pushScriptImpl(target$jscomp$0,props);else{var key1=props.src;if("module"===props.type)var resources=resumableState.moduleScriptResources,preloads=renderState.preloads.moduleScripts;else resources=resumableState.scriptResources,preloads=renderState.preloads.scripts;var resourceState$jscomp$0=resources.hasOwnProperty(key1)?resources[key1]:void 0;if(resourceState$jscomp$0!==EXISTS){resources[key1]=EXISTS;var scriptProps=props;if(resourceState$jscomp$0){2===resourceState$jscomp$0.length&&adoptPreloadCredentials(scriptProps=assign({},props),resourceState$jscomp$0);var preloadResource$jscomp$0=preloads.get(key1);preloadResource$jscomp$0&&(preloadResource$jscomp$0.length=0)}var resource$jscomp$0=[];renderState.scripts.add(resource$jscomp$0),pushScriptImpl(resource$jscomp$0,scriptProps)}textEmbedded&&target$jscomp$0.push(textSeparator),JSCompiler_inline_result$jscomp$6=null}return JSCompiler_inline_result$jscomp$6;case"style":var noscriptTagInScope$jscomp$2=1&formatContext.tagScope;if(hasOwnProperty.call(props,"children")){var children$jscomp$7=props.children,child$jscomp$0=Array.isArray(children$jscomp$7)?2>children$jscomp$7.length?children$jscomp$7[0]:null:children$jscomp$7;("function"==typeof child$jscomp$0||"symbol"==typeof child$jscomp$0||Array.isArray(child$jscomp$0))&&console.error("React expect children of <style> tags to be a string, number, or object with a `toString` method but found %s instead. In browsers style Elements can only have `Text` Nodes as children.","function"==typeof child$jscomp$0?"a Function":"symbol"==typeof child$jscomp$0?"a Sybmol":"an Array")}var precedence$jscomp$0=props.precedence,href$jscomp$0=props.href,nonce=props.nonce;if(formatContext.insertionMode===SVG_MODE||noscriptTagInScope$jscomp$2||null!=props.itemProp||"string"!=typeof precedence$jscomp$0||"string"!=typeof href$jscomp$0||""===href$jscomp$0){target$jscomp$0.push(startChunkForTag("style"));var propKey$jscomp$8,children$jscomp$8=null,innerHTML$jscomp$5=null;for(propKey$jscomp$8 in props)if(hasOwnProperty.call(props,propKey$jscomp$8)){var propValue$jscomp$8=props[propKey$jscomp$8];if(null!=propValue$jscomp$8)switch(propKey$jscomp$8){case"children":children$jscomp$8=propValue$jscomp$8;break;case"dangerouslySetInnerHTML":innerHTML$jscomp$5=propValue$jscomp$8;break;default:pushAttribute(target$jscomp$0,propKey$jscomp$8,propValue$jscomp$8)}}target$jscomp$0.push(endOfStartTag);var child$jscomp$1=Array.isArray(children$jscomp$8)?2>children$jscomp$8.length?children$jscomp$8[0]:null:children$jscomp$8;"function"!=typeof child$jscomp$1&&"symbol"!=typeof child$jscomp$1&&null!=child$jscomp$1&&target$jscomp$0.push(escapeStyleTextContent(child$jscomp$1)),pushInnerHTML(target$jscomp$0,innerHTML$jscomp$5,children$jscomp$8),target$jscomp$0.push(endChunkForTag("style"));var JSCompiler_inline_result$jscomp$7=null}else{href$jscomp$0.includes(" ")&&console.error('React expected the `href` prop for a <style> tag opting into hoisting semantics using the `precedence` prop to not have any spaces but ecountered spaces instead. using spaces in this prop will cause hydration of this style to fail on the client. The href for the <style> where this ocurred is "%s".',href$jscomp$0);var styleQueue$jscomp$0=renderState.styles.get(precedence$jscomp$0),resourceState$jscomp$1=resumableState.styleResources.hasOwnProperty(href$jscomp$0)?resumableState.styleResources[href$jscomp$0]:void 0;if(resourceState$jscomp$1!==EXISTS){resumableState.styleResources[href$jscomp$0]=EXISTS,resourceState$jscomp$1&&console.error('React encountered a hoistable style tag for the same href as a preload: "%s". When using a style tag to inline styles you should not also preload it as a stylsheet.',href$jscomp$0),styleQueue$jscomp$0||(styleQueue$jscomp$0={precedence:escapeTextForBrowser(precedence$jscomp$0),rules:[],hrefs:[],sheets:new Map},renderState.styles.set(precedence$jscomp$0,styleQueue$jscomp$0));var nonceStyle=renderState.nonce.style;if(nonceStyle&&nonceStyle!==nonce)console.error('React encountered a style tag with `precedence` "%s" and `nonce` "%s". When React manages style rules using `precedence` it will only include rules if the nonce matches the style nonce "%s" that was included with this render.',precedence$jscomp$0,nonce,nonceStyle);else{!nonceStyle&&nonce&&console.error('React encountered a style tag with `precedence` "%s" and `nonce` "%s". When React manages style rules using `precedence` it will only include a nonce attributes if you also provide the same style nonce value as a render option.',precedence$jscomp$0,nonce),styleQueue$jscomp$0.hrefs.push(escapeTextForBrowser(href$jscomp$0));var propKey$jscomp$9,target=styleQueue$jscomp$0.rules,children$jscomp$9=null,innerHTML$jscomp$6=null;for(propKey$jscomp$9 in props)if(hasOwnProperty.call(props,propKey$jscomp$9)){var propValue$jscomp$9=props[propKey$jscomp$9];if(null!=propValue$jscomp$9)switch(propKey$jscomp$9){case"children":children$jscomp$9=propValue$jscomp$9;break;case"dangerouslySetInnerHTML":innerHTML$jscomp$6=propValue$jscomp$9}}var child$jscomp$2=Array.isArray(children$jscomp$9)?2>children$jscomp$9.length?children$jscomp$9[0]:null:children$jscomp$9;"function"!=typeof child$jscomp$2&&"symbol"!=typeof child$jscomp$2&&null!=child$jscomp$2&&target.push(escapeStyleTextContent(child$jscomp$2)),pushInnerHTML(target,innerHTML$jscomp$6,children$jscomp$9)}}styleQueue$jscomp$0&&hoistableState&&hoistableState.styles.add(styleQueue$jscomp$0),textEmbedded&&target$jscomp$0.push(textSeparator),JSCompiler_inline_result$jscomp$7=void 0}return JSCompiler_inline_result$jscomp$7;case"meta":var noscriptTagInScope$jscomp$3=1&formatContext.tagScope,isFallback$jscomp$1=4&formatContext.tagScope;if(formatContext.insertionMode===SVG_MODE||noscriptTagInScope$jscomp$3||null!=props.itemProp)var JSCompiler_inline_result$jscomp$8=pushSelfClosing(target$jscomp$0,props,"meta",formatContext);else textEmbedded&&target$jscomp$0.push(textSeparator),JSCompiler_inline_result$jscomp$8=isFallback$jscomp$1?null:"string"==typeof props.charSet?pushSelfClosing(renderState.charsetChunks,props,"meta",formatContext):"viewport"===props.name?pushSelfClosing(renderState.viewportChunks,props,"meta",formatContext):pushSelfClosing(renderState.hoistableChunks,props,"meta",formatContext);return JSCompiler_inline_result$jscomp$8;case"listing":case"pre":target$jscomp$0.push(startChunkForTag(type));var propKey$jscomp$10,children$jscomp$10=null,innerHTML$jscomp$7=null;for(propKey$jscomp$10 in props)if(hasOwnProperty.call(props,propKey$jscomp$10)){var propValue$jscomp$10=props[propKey$jscomp$10];if(null!=propValue$jscomp$10)switch(propKey$jscomp$10){case"children":children$jscomp$10=propValue$jscomp$10;break;case"dangerouslySetInnerHTML":innerHTML$jscomp$7=propValue$jscomp$10;break;default:pushAttribute(target$jscomp$0,propKey$jscomp$10,propValue$jscomp$10)}}if(pushViewTransitionAttributes(target$jscomp$0,formatContext),target$jscomp$0.push(endOfStartTag),null!=innerHTML$jscomp$7){if(null!=children$jscomp$10)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!=typeof innerHTML$jscomp$7||!("__html"in innerHTML$jscomp$7))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");var html=innerHTML$jscomp$7.__html;null!=html&&("string"==typeof html&&0<html.length&&"\n"===html[0]?target$jscomp$0.push(leadingNewline,html):(checkHtmlStringCoercion(html),target$jscomp$0.push(""+html)))}return"string"==typeof children$jscomp$10&&"\n"===children$jscomp$10[0]&&target$jscomp$0.push(leadingNewline),children$jscomp$10;case"img":var pictureOrNoScriptTagInScope=3&formatContext.tagScope,src=props.src,srcSet=props.srcSet;if(!("lazy"===props.loading||!src&&!srcSet||"string"!=typeof src&&null!=src||"string"!=typeof srcSet&&null!=srcSet||"low"===props.fetchPriority||pictureOrNoScriptTagInScope)&&("string"!=typeof src||":"!==src[4]||"d"!==src[0]&&"D"!==src[0]||"a"!==src[1]&&"A"!==src[1]||"t"!==src[2]&&"T"!==src[2]||"a"!==src[3]&&"A"!==src[3])&&("string"!=typeof srcSet||":"!==srcSet[4]||"d"!==srcSet[0]&&"D"!==srcSet[0]||"a"!==srcSet[1]&&"A"!==srcSet[1]||"t"!==srcSet[2]&&"T"!==srcSet[2]||"a"!==srcSet[3]&&"A"!==srcSet[3])){null!==hoistableState&&64&formatContext.tagScope&&(hoistableState.suspenseyImages=!0);var sizes="string"==typeof props.sizes?props.sizes:void 0,key$jscomp$0=srcSet?srcSet+"\n"+(sizes||""):src,promotablePreloads=renderState.preloads.images,resource$jscomp$1=promotablePreloads.get(key$jscomp$0);if(resource$jscomp$1)("high"===props.fetchPriority||10>renderState.highImagePreloads.size)&&(promotablePreloads.delete(key$jscomp$0),renderState.highImagePreloads.add(resource$jscomp$1));else if(!resumableState.imageResources.hasOwnProperty(key$jscomp$0)){resumableState.imageResources[key$jscomp$0]=PRELOAD_NO_CREDS;var header,input=props.crossOrigin,crossOrigin="string"==typeof input?"use-credentials"===input?input:"":void 0,headers=renderState.headers;headers&&0<headers.remainingCapacity&&"string"!=typeof props.srcSet&&("high"===props.fetchPriority||500>headers.highImagePreloads.length)&&(header=getPreloadAsHeader(src,"image",{imageSrcSet:props.srcSet,imageSizes:props.sizes,crossOrigin:crossOrigin,integrity:props.integrity,nonce:props.nonce,type:props.type,fetchPriority:props.fetchPriority,referrerPolicy:props.referrerPolicy}),0<=(headers.remainingCapacity-=header.length+2))?(renderState.resets.image[key$jscomp$0]=PRELOAD_NO_CREDS,headers.highImagePreloads&&(headers.highImagePreloads+=", "),headers.highImagePreloads+=header):(pushLinkImpl(resource$jscomp$1=[],{rel:"preload",as:"image",href:srcSet?void 0:src,imageSrcSet:srcSet,imageSizes:sizes,crossOrigin:crossOrigin,integrity:props.integrity,type:props.type,fetchPriority:props.fetchPriority,referrerPolicy:props.referrerPolicy}),"high"===props.fetchPriority||10>renderState.highImagePreloads.size?renderState.highImagePreloads.add(resource$jscomp$1):(renderState.bulkPreloads.add(resource$jscomp$1),promotablePreloads.set(key$jscomp$0,resource$jscomp$1)))}}return pushSelfClosing(target$jscomp$0,props,"img",formatContext);case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return pushSelfClosing(target$jscomp$0,props,type,formatContext);case"head":if(formatContext.insertionMode<HTML_MODE){var preamble=preambleState||renderState.preamble;if(preamble.headChunks)throw Error("The `<head>` tag may only be rendered once.");null!==preambleState&&target$jscomp$0.push(headPreambleContributionChunk),preamble.headChunks=[];var JSCompiler_inline_result$jscomp$9=pushStartSingletonElement(preamble.headChunks,props,"head",formatContext)}else JSCompiler_inline_result$jscomp$9=pushStartGenericElement(target$jscomp$0,props,"head",formatContext);return JSCompiler_inline_result$jscomp$9;case"body":if(formatContext.insertionMode<HTML_MODE){var preamble$jscomp$0=preambleState||renderState.preamble;if(preamble$jscomp$0.bodyChunks)throw Error("The `<body>` tag may only be rendered once.");null!==preambleState&&target$jscomp$0.push(bodyPreambleContributionChunk),preamble$jscomp$0.bodyChunks=[];var JSCompiler_inline_result$jscomp$10=pushStartSingletonElement(preamble$jscomp$0.bodyChunks,props,"body",formatContext)}else JSCompiler_inline_result$jscomp$10=pushStartGenericElement(target$jscomp$0,props,"body",formatContext);return JSCompiler_inline_result$jscomp$10;case"html":if(formatContext.insertionMode===ROOT_HTML_MODE){var preamble$jscomp$1=preambleState||renderState.preamble;if(preamble$jscomp$1.htmlChunks)throw Error("The `<html>` tag may only be rendered once.");null!==preambleState&&target$jscomp$0.push(htmlPreambleContributionChunk),preamble$jscomp$1.htmlChunks=[doctypeChunk];var JSCompiler_inline_result$jscomp$11=pushStartSingletonElement(preamble$jscomp$1.htmlChunks,props,"html",formatContext)}else JSCompiler_inline_result$jscomp$11=pushStartGenericElement(target$jscomp$0,props,"html",formatContext);return JSCompiler_inline_result$jscomp$11;default:if(-1!==type.indexOf("-")){target$jscomp$0.push(startChunkForTag(type));var propKey$jscomp$11,children$jscomp$11=null,innerHTML$jscomp$8=null;for(propKey$jscomp$11 in props)if(hasOwnProperty.call(props,propKey$jscomp$11)){var propValue$jscomp$11=props[propKey$jscomp$11];if(null!=propValue$jscomp$11){var attributeName=propKey$jscomp$11;switch(propKey$jscomp$11){case"children":children$jscomp$11=propValue$jscomp$11;break;case"dangerouslySetInnerHTML":innerHTML$jscomp$8=propValue$jscomp$11;break;case"style":pushStyleAttribute(target$jscomp$0,propValue$jscomp$11);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":attributeName="class";default:if(isAttributeNameSafe(propKey$jscomp$11)&&"function"!=typeof propValue$jscomp$11&&"symbol"!=typeof propValue$jscomp$11&&!1!==propValue$jscomp$11){if(!0===propValue$jscomp$11)propValue$jscomp$11="";else if("object"==typeof propValue$jscomp$11)continue;target$jscomp$0.push(attributeSeparator,attributeName,attributeAssign,escapeTextForBrowser(propValue$jscomp$11),attributeEnd)}}}}return pushViewTransitionAttributes(target$jscomp$0,formatContext),target$jscomp$0.push(endOfStartTag),pushInnerHTML(target$jscomp$0,innerHTML$jscomp$8,children$jscomp$11),children$jscomp$11}}return pushStartGenericElement(target$jscomp$0,props,type,formatContext)}(segment.chunks,type,props,request.resumableState,request.renderState,task.blockedPreamble,task.hoistableState,task.formatContext,segment.lastPushedText);segment.lastPushedText=!1;var _prevContext2=task.formatContext,_prevKeyPath3=task.keyPath;if(task.keyPath=keyPath,(task.formatContext=getChildFormatContext(_prevContext2,type,props)).insertionMode===HTML_HEAD_MODE){var preambleSegment=createPendingSegment(request,0,null,task.formatContext,!1,!1);segment.preambleChildren.push(preambleSegment),task.blockedSegment=preambleSegment;try{renderNode(request,task,_children,-1),preambleSegment.lastPushedText&&preambleSegment.textEmbedded&&preambleSegment.chunks.push(textSeparator),preambleSegment.status=COMPLETED,finishedSegment(request,task.blockedBoundary,preambleSegment)}finally{task.blockedSegment=segment}}else renderNode(request,task,_children,-1);task.formatContext=_prevContext2,task.keyPath=_prevKeyPath3;a:{var target=segment.chunks,resumableState=request.resumableState;switch(type){case"title":case"style":case"script":case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break a;case"body":if(_prevContext2.insertionMode<=HTML_HTML_MODE){resumableState.hasBody=!0;break a}break;case"html":if(_prevContext2.insertionMode===ROOT_HTML_MODE){resumableState.hasHtml=!0;break a}break;case"head":if(_prevContext2.insertionMode<=HTML_HTML_MODE)break a}target.push(endChunkForTag(type))}segment.lastPushedText=!1}}else{switch(type){case REACT_LEGACY_HIDDEN_TYPE:case REACT_STRICT_MODE_TYPE:case REACT_PROFILER_TYPE:case REACT_FRAGMENT_TYPE:var prevKeyPath$jscomp$1=task.keyPath;task.keyPath=keyPath,renderNodeDestructive(request,task,props.children,-1),task.keyPath=prevKeyPath$jscomp$1;return;case REACT_ACTIVITY_TYPE:var segment$jscomp$0=task.blockedSegment;if(null===segment$jscomp$0){if("hidden"!==props.mode){var prevKeyPath$jscomp$2=task.keyPath;task.keyPath=keyPath,renderNode(request,task,props.children,-1),task.keyPath=prevKeyPath$jscomp$2}}else if("hidden"!==props.mode){segment$jscomp$0.chunks.push(startActivityBoundary),segment$jscomp$0.lastPushedText=!1;var _prevKeyPath4=task.keyPath;task.keyPath=keyPath,renderNode(request,task,props.children,-1),task.keyPath=_prevKeyPath4,segment$jscomp$0.chunks.push(endActivityBoundary),segment$jscomp$0.lastPushedText=!1}return;case REACT_SUSPENSE_LIST_TYPE:a:{var children$jscomp$0=props.children,revealOrder=props.revealOrder;if("independent"!==revealOrder&&"together"!==revealOrder){if(isArrayImpl(children$jscomp$0)){renderSuspenseListRows(request,task,keyPath,children$jscomp$0,revealOrder);break a}var iteratorFn=getIteratorFn(children$jscomp$0);if(iteratorFn){var iterator=iteratorFn.call(children$jscomp$0);if(iterator){validateIterable(task,children$jscomp$0,-1,iterator,iteratorFn);var step=iterator.next();if(!step.done){var rows=[];do rows.push(step.value),step=iterator.next();while(!step.done);renderSuspenseListRows(request,task,keyPath,children$jscomp$0,revealOrder)}break a}}}if("together"===revealOrder){var _prevKeyPath2=task.keyPath,prevRow=task.row,newRow=task.row=createSuspenseListRow(null);newRow.boundaries=[],newRow.together=!0,task.keyPath=keyPath,renderNodeDestructive(request,task,children$jscomp$0,-1),0==--newRow.pendingTasks&&finishSuspenseListRow(request,newRow),task.keyPath=_prevKeyPath2,task.row=prevRow,null!==prevRow&&0<newRow.pendingTasks&&(prevRow.pendingTasks++,newRow.next=prevRow)}else{var prevKeyPath$jscomp$3=task.keyPath;task.keyPath=keyPath,renderNodeDestructive(request,task,children$jscomp$0,-1),task.keyPath=prevKeyPath$jscomp$3}}return;case REACT_VIEW_TRANSITION_TYPE:var prevContext$jscomp$0=task.formatContext,prevKeyPath$jscomp$4=task.keyPath,resumableState$jscomp$0=request.resumableState;if(null!=props.name&&"auto"!==props.name)var autoName=props.name;else autoName=makeId(resumableState$jscomp$0,getTreeId(task.treeContext),0);var resumableState$jscomp$1=request.resumableState,update=getViewTransitionClassName(props.default,props.update),enter=getViewTransitionClassName(props.default,props.enter),exit=getViewTransitionClassName(props.default,props.exit),share=getViewTransitionClassName(props.default,props.share),name$jscomp$0=props.name,autoName$jscomp$0=autoName;if(null==update&&(update="auto"),null==enter&&(enter="auto"),null==exit&&(exit="auto"),null==name$jscomp$0){var parentViewTransition=prevContext$jscomp$0.viewTransition;null!==parentViewTransition?(name$jscomp$0=parentViewTransition.name,share=parentViewTransition.share):(name$jscomp$0="auto",share="none")}else null==share&&(share="auto"),4&prevContext$jscomp$0.tagScope&&(resumableState$jscomp$1.instructions|=NeedUpgradeToViewTransitions);8&prevContext$jscomp$0.tagScope?resumableState$jscomp$1.instructions|=NeedUpgradeToViewTransitions:exit="none",16&prevContext$jscomp$0.tagScope?resumableState$jscomp$1.instructions|=NeedUpgradeToViewTransitions:enter="none";var viewTransition={update:update,enter:enter,exit:exit,share:share,parentEnter:"none",parentExit:"none",name:name$jscomp$0,autoName:autoName$jscomp$0,nameIdx:0},subtreeScope=-25&prevContext$jscomp$0.tagScope;if(subtreeScope="none"!==update?32|subtreeScope:-33&subtreeScope,"none"!==enter&&(subtreeScope|=64),task.formatContext=createFormatContext(prevContext$jscomp$0.insertionMode,prevContext$jscomp$0.selectedValue,subtreeScope,viewTransition),task.keyPath=keyPath,null!=props.name&&"auto"!==props.name)renderNodeDestructive(request,task,props.children,-1);else{var prevTreeContext=task.treeContext;task.treeContext=pushTreeContext(prevTreeContext,1,0),renderNode(request,task,props.children,-1),task.treeContext=prevTreeContext}task.formatContext=prevContext$jscomp$0,task.keyPath=prevKeyPath$jscomp$4;return;case REACT_SCOPE_TYPE:throw Error("ReactDOMServer does not yet support scope components.");case REACT_SUSPENSE_TYPE:a:if(null!==task.replay){var _prevKeyPath=task.keyPath,_prevContext=task.formatContext,_prevRow=task.row;task.keyPath=keyPath,task.formatContext=getSuspenseContentFormatContext(request.resumableState,_prevContext),task.row=null;var _content=props.children;try{renderNode(request,task,_content,-1)}finally{task.keyPath=_prevKeyPath,task.formatContext=_prevContext,task.row=_prevRow}}else{var prevKeyPath$jscomp$5=task.keyPath,prevContext$jscomp$1=task.formatContext,prevRow$jscomp$0=task.row,parentBoundary=task.blockedBoundary,parentPreamble=task.blockedPreamble,parentHoistableState=task.hoistableState,parentSegment=task.blockedSegment,fallback=props.fallback,content=props.children,fallbackAbortSet=new Set,newBoundary=createSuspenseBoundary(request,task.row,fallbackAbortSet,task.formatContext.insertionMode<HTML_MODE?{content:createPreambleState(),fallback:createPreambleState()}:null,!1),boundarySegment=createPendingSegment(request,parentSegment.chunks.length,newBoundary,task.formatContext,!1,!1);parentSegment.children.push(boundarySegment),parentSegment.lastPushedText=!1;var contentRootSegment=createPendingSegment(request,0,null,task.formatContext,!1,!1);contentRootSegment.parentFlushed=!0;var trackedPostpones=request.trackedPostpones;if(null!==trackedPostpones){var suspenseComponentStack=task.componentStack,fallbackKeyPath=[keyPath[0],"Suspense Fallback",keyPath[2]];if(null!==trackedPostpones){var fallbackReplayNode=[fallbackKeyPath[1],fallbackKeyPath[2],[],null];trackedPostpones.workingMap.set(fallbackKeyPath,fallbackReplayNode),newBoundary.tracked={contentKeyPath:keyPath,fallbackNode:fallbackReplayNode}}task.blockedSegment=boundarySegment,task.blockedPreamble=null===newBoundary.preamble?null:newBoundary.preamble.fallback,task.keyPath=fallbackKeyPath,task.formatContext=getSuspenseFallbackFormatContext(request.resumableState,prevContext$jscomp$1),task.componentStack=replaceSuspenseComponentStackWithSuspenseFallbackStack(suspenseComponentStack);try{renderNode(request,task,fallback,-1),boundarySegment.lastPushedText&&boundarySegment.textEmbedded&&boundarySegment.chunks.push(textSeparator),boundarySegment.status=COMPLETED,finishedSegment(request,parentBoundary,boundarySegment)}catch(thrownValue){throw boundarySegment.status=request.aborted?ABORTED:ERRORED,thrownValue}finally{task.blockedSegment=parentSegment,task.blockedPreamble=parentPreamble,task.keyPath=prevKeyPath$jscomp$5,task.formatContext=prevContext$jscomp$1}var suspendedPrimaryTask=createRenderTask(request,null,content,-1,newBoundary,contentRootSegment,null===newBoundary.preamble?null:newBoundary.preamble.content,newBoundary.contentState,task.abortSet,keyPath,getSuspenseContentFormatContext(request.resumableState,task.formatContext),task.context,task.treeContext,null,suspenseComponentStack,emptyContextObject,task.debugTask);pushComponentStack(suspendedPrimaryTask),request.pingedTasks.push(suspendedPrimaryTask)}else{task.blockedBoundary=newBoundary,task.blockedPreamble=null===newBoundary.preamble?null:newBoundary.preamble.content,task.hoistableState=newBoundary.contentState,task.blockedSegment=contentRootSegment,task.keyPath=keyPath,task.formatContext=getSuspenseContentFormatContext(request.resumableState,prevContext$jscomp$1),task.row=null;try{if(renderNode(request,task,content,-1),contentRootSegment.lastPushedText&&contentRootSegment.textEmbedded&&contentRootSegment.chunks.push(textSeparator),contentRootSegment.status=COMPLETED,finishedSegment(request,newBoundary,contentRootSegment),queueCompletedSegment(newBoundary,contentRootSegment),0===newBoundary.pendingTasks&&newBoundary.status===PENDING){if(newBoundary.status=COMPLETED,!isEligibleForOutlining(request,newBoundary)){null!==prevRow$jscomp$0&&0==--prevRow$jscomp$0.pendingTasks&&finishSuspenseListRow(request,prevRow$jscomp$0),0===request.pendingRootTasks&&task.blockedPreamble&&preparePreamble(request);break a}}else null!==prevRow$jscomp$0&&prevRow$jscomp$0.together&&tryToResolveTogetherRow(request,prevRow$jscomp$0)}catch(thrownValue$2){if(newBoundary.status=CLIENT_RENDERED,request.aborted){contentRootSegment.status=ABORTED;var error=request.fatalError}else contentRootSegment.status=ERRORED,error=thrownValue$2;var thrownInfo=getThrownInfo(task.componentStack);encodeErrorForBoundary(newBoundary,logRecoverableError(request,error,thrownInfo,task.debugTask),error,thrownInfo,!1),untrackBoundary(request,newBoundary)}finally{task.blockedBoundary=parentBoundary,task.blockedPreamble=parentPreamble,task.hoistableState=parentHoistableState,task.blockedSegment=parentSegment,task.keyPath=prevKeyPath$jscomp$5,task.formatContext=prevContext$jscomp$1,task.row=prevRow$jscomp$0}var suspendedFallbackTask=createRenderTask(request,null,fallback,-1,parentBoundary,boundarySegment,null===newBoundary.preamble?null:newBoundary.preamble.fallback,newBoundary.fallbackState,fallbackAbortSet,[keyPath[0],"Suspense Fallback",keyPath[2]],getSuspenseFallbackFormatContext(request.resumableState,task.formatContext),task.context,task.treeContext,task.row,replaceSuspenseComponentStackWithSuspenseFallbackStack(task.componentStack),emptyContextObject,task.debugTask);pushComponentStack(suspendedFallbackTask),request.pingedTasks.push(suspendedFallbackTask)}}return}if("object"==typeof type&&null!==type)switch(type.$$typeof){case REACT_FORWARD_REF_TYPE:if("ref"in props){var propsWithoutRef={};for(var key in props)"ref"!==key&&(propsWithoutRef[key]=props[key])}else propsWithoutRef=props;var children$jscomp$1=renderWithHooks(request,task,keyPath,type.render,propsWithoutRef,ref);finishFunctionComponent(request,task,keyPath,children$jscomp$1,0!==localIdCounter,actionStateCounter,actionStateMatchingIndex);return;case REACT_MEMO_TYPE:renderElement(request,task,keyPath,type.type,props,ref);return;case REACT_CONTEXT_TYPE:var value$jscomp$0=props.value,children$jscomp$2=props.children,prevSnapshot=task.context,prevKeyPath$jscomp$6=task.keyPath,prevValue=type._currentValue;type._currentValue=value$jscomp$0,void 0!==type._currentRenderer&&null!==type._currentRenderer&&type._currentRenderer!==rendererSigil&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),type._currentRenderer=rendererSigil;var prevNode=currentActiveSnapshot,newNode={parent:prevNode,depth:null===prevNode?0:prevNode.depth+1,context:type,parentValue:prevValue,value:value$jscomp$0};currentActiveSnapshot=newNode,task.context=newNode,task.keyPath=keyPath,renderNodeDestructive(request,task,children$jscomp$2,-1);var prevSnapshot$jscomp$0=currentActiveSnapshot;if(null===prevSnapshot$jscomp$0)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");prevSnapshot$jscomp$0.context!==type&&console.error("The parent context is not the expected context. This is probably a bug in React."),prevSnapshot$jscomp$0.context._currentValue=prevSnapshot$jscomp$0.parentValue,void 0!==type._currentRenderer&&null!==type._currentRenderer&&type._currentRenderer!==rendererSigil&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),type._currentRenderer=rendererSigil,task.context=currentActiveSnapshot=prevSnapshot$jscomp$0.parent,task.keyPath=prevKeyPath$jscomp$6,prevSnapshot!==task.context&&console.error("Popping the context provider did not return back to the original snapshot. This is a bug in React.");return;case REACT_CONSUMER_TYPE:var context$jscomp$0=type._context,render=props.children;"function"!=typeof render&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var newChildren=render(context$jscomp$0._currentValue),prevKeyPath$jscomp$7=task.keyPath;task.keyPath=keyPath,renderNodeDestructive(request,task,newChildren,-1),task.keyPath=prevKeyPath$jscomp$7;return;case REACT_LAZY_TYPE:var Component=callLazyInitInDEV(type);if(request.aborted)throw null;renderElement(request,task,keyPath,Component,props,ref);return}var info="";throw(void 0===type||"object"==typeof type&&null!==type&&0===Object.keys(type).length)&&(info+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(null==type?type:typeof type)+"."+info)}}function resumeNode(request,task,segmentId,node,childIndex){var prevReplay=task.replay,blockedBoundary=task.blockedBoundary,resumedSegment=createPendingSegment(request,0,null,task.formatContext,!1,!1);resumedSegment.id=segmentId,resumedSegment.parentFlushed=!0;try{task.replay=null,task.blockedSegment=resumedSegment,renderNode(request,task,node,childIndex),resumedSegment.status=COMPLETED,finishedSegment(request,blockedBoundary,resumedSegment),null===blockedBoundary?request.completedRootSegment=resumedSegment:(queueCompletedSegment(blockedBoundary,resumedSegment),blockedBoundary.parentFlushed&&request.partialBoundaries.push(blockedBoundary))}finally{task.replay=prevReplay,task.blockedSegment=null}}function replayElement(request,task,keyPath,name,keyOrIndex,childIndex,type,props,ref,replay){childIndex=replay.nodes;for(var i=0;i<childIndex.length;i++){var node=childIndex[i];if(keyOrIndex===node[1]){if(4===node.length){if(null!==name&&name!==node[0])throw Error("Expected the resume to render <"+node[0]+"> in this slot but instead it rendered <"+name+">. The tree doesn't match so React will fallback to client rendering.");var childNodes=node[2],childSlots=node[3],currentNode=task.node;task.replay={nodes:childNodes,slots:childSlots,pendingTasks:1};try{if(renderElement(request,task,keyPath,type,props,ref),1===task.replay.pendingTasks&&0<task.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");task.replay.pendingTasks--}catch(x){if("object"==typeof x&&null!==x&&(x===SuspenseException||"function"==typeof x.then||"Maximum call stack size exceeded"===x.message))throw task.node===currentNode?task.replay=replay:childIndex.splice(i,1),x;task.replay.pendingTasks--,keyPath=getThrownInfo(task.componentStack),props=request,currentNode=task.blockedBoundary,type=logRecoverableError(props,request=request.aborted?request.fatalError:x,keyPath,task.debugTask),abortRemainingReplayNodes(props,currentNode,childNodes,childSlots,request,type,keyPath,!1)}task.replay=replay}else{if(type!==REACT_SUSPENSE_TYPE)throw Error("Expected the resume to render <Suspense> in this slot but instead it rendered <"+(getComponentNameFromType(type)||"Unknown")+">. The tree doesn't match so React will fallback to client rendering.");a:{replay=request,request=keyPath,keyPath=node[5],type=node[2],ref=node[3],name=null===node[4]?[]:node[4][2],node=null===node[4]?null:node[4][3],keyOrIndex=task.keyPath;var prevContext=task.formatContext,prevRow=task.row,previousReplaySet=task.replay,parentBoundary=task.blockedBoundary,parentHoistableState=task.hoistableState,content=props.children;props=props.fallback;var fallbackAbortSet=new Set,resumedBoundary=createSuspenseBoundary(replay,task.row,fallbackAbortSet,task.formatContext.insertionMode<HTML_MODE?{content:createPreambleState(),fallback:createPreambleState()}:null,!1);resumedBoundary.parentFlushed=!0,resumedBoundary.rootSegmentID=keyPath,task.blockedBoundary=resumedBoundary,task.hoistableState=resumedBoundary.contentState,task.keyPath=request,task.formatContext=getSuspenseContentFormatContext(replay.resumableState,prevContext),task.row=null,task.replay={nodes:type,slots:ref,pendingTasks:1};try{if(renderNode(replay,task,content,-1),1===task.replay.pendingTasks&&0<task.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");if(task.replay.pendingTasks--,0===resumedBoundary.pendingTasks&&resumedBoundary.status===PENDING){resumedBoundary.status=COMPLETED,replay.completedBoundaries.push(resumedBoundary);break a}}catch(thrownValue){resumedBoundary.status=CLIENT_RENDERED,childNodes=replay.aborted?replay.fatalError:thrownValue,encodeErrorForBoundary(resumedBoundary,currentNode=logRecoverableError(replay,childNodes,childSlots=getThrownInfo(task.componentStack),task.debugTask),childNodes,childSlots,!1),task.replay.pendingTasks--,replay.clientRenderedBoundaries.push(resumedBoundary)}finally{task.blockedBoundary=parentBoundary,task.hoistableState=parentHoistableState,task.replay=previousReplaySet,task.keyPath=keyOrIndex,task.formatContext=prevContext,task.row=prevRow}pushComponentStack(props=createReplayTask(replay,null,{nodes:name,slots:node,pendingTasks:0},props,-1,parentBoundary,resumedBoundary.fallbackState,fallbackAbortSet,[request[0],"Suspense Fallback",request[2]],getSuspenseFallbackFormatContext(replay.resumableState,task.formatContext),task.context,task.treeContext,task.row,replaceSuspenseComponentStackWithSuspenseFallbackStack(task.componentStack),emptyContextObject,task.debugTask)),replay.pingedTasks.push(props)}}childIndex.splice(i,1);break}}}function validateIterable(task,iterable,childIndex,iterator,iteratorFn){iterator===iterable?(-1!==childIndex||null===task.componentStack||"function"!=typeof task.componentStack.type||"[object GeneratorFunction]"!==Object.prototype.toString.call(task.componentStack.type)||"[object Generator]"!==Object.prototype.toString.call(iterator))&&(didWarnAboutGenerators||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),didWarnAboutGenerators=!0):iterable.entries!==iteratorFn||didWarnAboutMaps||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),didWarnAboutMaps=!0)}function renderNodeDestructive(request,task,node,childIndex){null!==task.replay&&"number"==typeof task.replay.slots?resumeNode(request,task,task.replay.slots,node,childIndex):(task.node=node,task.childIndex=childIndex,node=task.componentStack,childIndex=task.debugTask,pushComponentStack(task),retryNode(request,task),task.componentStack=node,task.debugTask=childIndex)}function retryNode(request,task){var node=task.node,childIndex=task.childIndex;if(null!==node){if("object"==typeof node){switch(node.$$typeof){case REACT_ELEMENT_TYPE:var type=node.type,key=node.key,refProp=(node=node.props).ref;refProp=void 0!==refProp?refProp:null;var debugTask=task.debugTask,name=getComponentNameFromType(type);key=null==key||key===REACT_OPTIMISTIC_KEY?-1===childIndex?0:childIndex:key;var keyPath=[task.keyPath,name,key];null!==task.replay?debugTask?debugTask.run(replayElement.bind(null,request,task,keyPath,name,key,childIndex,type,node,refProp,task.replay)):replayElement(request,task,keyPath,name,key,childIndex,type,node,refProp,task.replay):debugTask?debugTask.run(renderElement.bind(null,request,task,keyPath,type,node,refProp)):renderElement(request,task,keyPath,type,node,refProp);return;case REACT_PORTAL_TYPE:throw Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case REACT_LAZY_TYPE:if(type=callLazyInitInDEV(node),request.aborted)throw null;renderNodeDestructive(request,task,type,childIndex);return}if(isArrayImpl(node))return void renderChildrenArray(request,task,node,childIndex);if((key=getIteratorFn(node))&&(type=key.call(node))){if(validateIterable(task,node,childIndex,type,key),!(node=type.next()).done){key=[];do key.push(node.value),node=type.next();while(!node.done);renderChildrenArray(request,task,key,childIndex)}return}if("function"==typeof node.then)return task.thenableState=null,renderNodeDestructive(request,task,unwrapThenable(node),childIndex);if(node.$$typeof===REACT_CONTEXT_TYPE)return renderNodeDestructive(request,task,node._currentValue,childIndex);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(request=Object.prototype.toString.call(node))?"object with keys {"+Object.keys(node).join(", ")+"}":request)+"). If you meant to render a collection of children, use an array instead.")}"string"==typeof node?null!==(task=task.blockedSegment)&&(task.lastPushedText=pushTextInstance(task.chunks,node,request.renderState,task.lastPushedText)):"number"==typeof node||"bigint"==typeof node?null!==(task=task.blockedSegment)&&(task.lastPushedText=pushTextInstance(task.chunks,""+node,request.renderState,task.lastPushedText)):("function"==typeof node&&console.error("Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.",request=node.displayName||node.name||"Component",request),"symbol"==typeof node&&console.error("Symbols are not valid as a React child.\n %s",String(node)))}}function warnForMissingKey(request,task,child){if(null!==child&&"object"==typeof child&&(child.$$typeof===REACT_ELEMENT_TYPE||child.$$typeof===REACT_PORTAL_TYPE)&&child._store&&(!child._store.validated&&null==child.key||2===child._store.validated)){if("object"!=typeof child._store)throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");child._store.validated=1;var didWarnForKey=request.didWarnForKey;if(null==didWarnForKey&&(didWarnForKey=request.didWarnForKey=new WeakSet),null!==(request=task.componentStack)&&!didWarnForKey.has(request)){didWarnForKey.add(request);var componentName=getComponentNameFromType(child.type);didWarnForKey=child._owner;var parentOwner=request.owner;if(request="",parentOwner&&void 0!==parentOwner.type){var name=getComponentNameFromType(parentOwner.type);name&&(request="\n\nCheck the render method of `"+name+"`.")}request||componentName&&(request="\n\nCheck the top-level render call using <"+componentName+">."),componentName="",null!=didWarnForKey&&parentOwner!==didWarnForKey&&(parentOwner=null,void 0!==didWarnForKey.type?parentOwner=getComponentNameFromType(didWarnForKey.type):"string"==typeof didWarnForKey.name&&(parentOwner=didWarnForKey.name),parentOwner&&(componentName=" It was passed a child from "+parentOwner+".")),didWarnForKey=task.componentStack,task.componentStack={parent:task.componentStack,type:child.type,owner:child._owner,stack:child._debugStack},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',request,componentName),task.componentStack=didWarnForKey}}}function renderChildrenArray(request,task,children,childIndex){var prevKeyPath=task.keyPath,previousComponentStack=task.componentStack,previousDebugTask=task.debugTask;if(pushServerComponentStack(task,task.node._debugInfo),-1!==childIndex&&(task.keyPath=[task.keyPath,"Fragment",childIndex],null!==task.replay)){for(var replay=task.replay,replayNodes=replay.nodes,j=0;j<replayNodes.length;j++){var node=replayNodes[j];if(node[1]===childIndex){childIndex=node[2];var childSlots=node[3];task.replay={nodes:childIndex,slots:childSlots,pendingTasks:1};try{if(renderChildrenArray(request,task,children,-1),1===task.replay.pendingTasks&&0<task.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");task.replay.pendingTasks--}catch(x){if("object"==typeof x&&null!==x&&(x===SuspenseException||"function"==typeof x.then))throw x;task.replay.pendingTasks--;var thrownInfo=getThrownInfo(task.componentStack);children=request,node=task.blockedBoundary;var errorDigest=logRecoverableError(children,request=request.aborted?request.fatalError:x,thrownInfo,task.debugTask);abortRemainingReplayNodes(children,node,childIndex,childSlots,request,errorDigest,thrownInfo,!1)}task.replay=replay,replayNodes.splice(j,1);break}}task.keyPath=prevKeyPath,task.componentStack=previousComponentStack,task.debugTask=previousDebugTask;return}if(replay=task.treeContext,replayNodes=children.length,null!==task.replay&&null!==(j=task.replay.slots)&&"object"==typeof j){for(node=0;node<replayNodes;node++)childIndex=children[node],task.treeContext=pushTreeContext(replay,replayNodes,node),"number"==typeof(childSlots=j[node])?(resumeNode(request,task,childSlots,childIndex,node),delete j[node]):renderNode(request,task,childIndex,node);task.treeContext=replay,task.keyPath=prevKeyPath,task.componentStack=previousComponentStack,task.debugTask=previousDebugTask;return}for(j=0;j<replayNodes;j++)warnForMissingKey(request,task,node=children[j]),task.treeContext=pushTreeContext(replay,replayNodes,j),renderNode(request,task,node,j);task.treeContext=replay,task.keyPath=prevKeyPath,task.componentStack=previousComponentStack,task.debugTask=previousDebugTask}function trackPostponedBoundary(request,trackedPostpones,boundary){boundary.status=POSTPONED,boundary.rootSegmentID=request.nextSegmentId++;var tracked=boundary.tracked;if(null===tracked)throw Error("It should not be possible to postpone at the root. This is a bug in React.");if(null===(request=tracked.contentKeyPath))throw Error("It should not be possible to postpone at the root. This is a bug in React.");tracked=tracked.fallbackNode;var boundaryNode=trackedPostpones.workingMap.get(request);return void 0===boundaryNode?(boundary=[request[1],request[2],[],null,tracked,boundary.rootSegmentID],trackedPostpones.workingMap.set(request,boundary),addToReplayParent(boundary,request[0],trackedPostpones),boundary):(boundaryNode[4]=tracked,boundaryNode[5]=boundary.rootSegmentID,boundaryNode)}function trackPostpone(request,trackedPostpones,task,segment){segment.status=POSTPONED;var keyPath=task.keyPath,boundary=task.blockedBoundary;if(null===boundary)segment.id=request.nextSegmentId++,trackedPostpones.rootSlots=segment.id,null!==request.completedRootSegment&&(request.completedRootSegment.status=POSTPONED);else{if(null!==boundary&&boundary.status===PENDING){var boundaryNode=trackPostponedBoundary(request,trackedPostpones,boundary);if(null!==boundary.tracked&&boundary.tracked.contentKeyPath===keyPath&&-1===task.childIndex){-1===segment.id&&(segment.id=segment.parentFlushed?boundary.rootSegmentID:request.nextSegmentId++),boundaryNode[3]=segment.id;return}}if(-1===segment.id&&(segment.id=segment.parentFlushed&&null!==boundary?boundary.rootSegmentID:request.nextSegmentId++),-1===task.childIndex)null===keyPath?trackedPostpones.rootSlots=segment.id:void 0===(task=trackedPostpones.workingMap.get(keyPath))?addToReplayParent(task=[keyPath[1],keyPath[2],[],segment.id],keyPath[0],trackedPostpones):task[3]=segment.id;else{if(null===keyPath){if(null===(request=trackedPostpones.rootSlots))request=trackedPostpones.rootSlots={};else if("number"==typeof request)throw Error("It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React.")}else if(void 0===(boundaryNode=(boundary=trackedPostpones.workingMap).get(keyPath)))request={},boundaryNode=[keyPath[1],keyPath[2],[],request],boundary.set(keyPath,boundaryNode),addToReplayParent(boundaryNode,keyPath[0],trackedPostpones);else if(null===(request=boundaryNode[3]))request=boundaryNode[3]={};else if("number"==typeof request)throw Error("It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React.");request[task.childIndex]=segment.id}}}function untrackBoundary(request,boundary){null!==(request=request.trackedPostpones)&&null!==(boundary=boundary.tracked)&&null!==(boundary=boundary.contentKeyPath)&&void 0!==(request=request.workingMap.get(boundary))&&(request.length=4,request[2]=[],request[3]=null)}function spawnNewSuspendedReplayTask(request,task,thenableState){return createReplayTask(request,thenableState,task.replay,task.node,task.childIndex,task.blockedBoundary,task.hoistableState,task.abortSet,task.keyPath,task.formatContext,task.context,task.treeContext,task.row,task.componentStack,emptyContextObject,task.debugTask)}function spawnNewSuspendedRenderTask(request,task,thenableState){var segment=task.blockedSegment,newSegment=createPendingSegment(request,segment.chunks.length,null,task.formatContext,segment.lastPushedText,!0);return segment.children.push(newSegment),segment.lastPushedText=!1,createRenderTask(request,thenableState,task.node,task.childIndex,task.blockedBoundary,newSegment,task.blockedPreamble,task.hoistableState,task.abortSet,task.keyPath,task.formatContext,task.context,task.treeContext,task.row,task.componentStack,emptyContextObject,task.debugTask)}function renderNode(request,task,node,childIndex){var previousFormatContext=task.formatContext,previousContext=task.context,previousKeyPath=task.keyPath,previousTreeContext=task.treeContext,previousComponentStack=task.componentStack,previousDebugTask=task.debugTask,segment=task.blockedSegment;if(null===segment){segment=task.replay;try{return renderNodeDestructive(request,task,node,childIndex)}catch(thrownValue){if(resetHooksState(),node=thrownValue===SuspenseException?getSuspendedThenable():thrownValue,!request.aborted&&"object"==typeof node&&null!==node){if("function"==typeof node.then){request=spawnNewSuspendedReplayTask(request,task,childIndex=thrownValue===SuspenseException?getThenableStateAfterSuspending():null).ping,node.then(request.resolve,request.reject),task.formatContext=previousFormatContext,task.context=previousContext,task.keyPath=previousKeyPath,task.treeContext=previousTreeContext,task.componentStack=previousComponentStack,task.replay=segment,task.debugTask=previousDebugTask,switchContext(previousContext);return}if("Maximum call stack size exceeded"===node.message){node=spawnNewSuspendedReplayTask(request,task,node=thrownValue===SuspenseException?getThenableStateAfterSuspending():null),request.pingedTasks.push(node),task.formatContext=previousFormatContext,task.context=previousContext,task.keyPath=previousKeyPath,task.treeContext=previousTreeContext,task.componentStack=previousComponentStack,task.replay=segment,task.debugTask=previousDebugTask,switchContext(previousContext);return}}}}else{var childrenLength=segment.children.length,chunkLength=segment.chunks.length;try{return renderNodeDestructive(request,task,node,childIndex)}catch(thrownValue$3){if(resetHooksState(),segment.children.length=childrenLength,segment.chunks.length=chunkLength,node=thrownValue$3===SuspenseException?getSuspendedThenable():thrownValue$3,!request.aborted&&"object"==typeof node&&null!==node){if("function"==typeof node.then){segment=node,request=spawnNewSuspendedRenderTask(request,task,node=thrownValue$3===SuspenseException?getThenableStateAfterSuspending():null).ping,segment.then(request.resolve,request.reject),task.formatContext=previousFormatContext,task.context=previousContext,task.keyPath=previousKeyPath,task.treeContext=previousTreeContext,task.componentStack=previousComponentStack,task.debugTask=previousDebugTask,switchContext(previousContext);return}if("Maximum call stack size exceeded"===node.message){segment=spawnNewSuspendedRenderTask(request,task,segment=thrownValue$3===SuspenseException?getThenableStateAfterSuspending():null),request.pingedTasks.push(segment),task.formatContext=previousFormatContext,task.context=previousContext,task.keyPath=previousKeyPath,task.treeContext=previousTreeContext,task.componentStack=previousComponentStack,task.debugTask=previousDebugTask,switchContext(previousContext);return}}}}throw task.formatContext=previousFormatContext,task.context=previousContext,task.keyPath=previousKeyPath,task.treeContext=previousTreeContext,switchContext(previousContext),node}function abortTaskSoft(task){var boundary=task.blockedBoundary,segment=task.blockedSegment;null!==segment&&(segment.status=ABORTED,finishedTask(this,boundary,task.row,segment))}function abortRemainingReplayNodes(request$jscomp$0,boundary,nodes,slots,error$jscomp$0,errorDigest$jscomp$0,errorInfo$jscomp$0,aborted){for(var i=0;i<nodes.length;i++){var node=nodes[i];if(4===node.length)abortRemainingReplayNodes(request$jscomp$0,boundary,node[2],node[3],error$jscomp$0,errorDigest$jscomp$0,errorInfo$jscomp$0,aborted);else{node=node[5];var resumedBoundary=createSuspenseBoundary(request$jscomp$0,null,new Set,null,!1);resumedBoundary.parentFlushed=!0,resumedBoundary.rootSegmentID=node,resumedBoundary.status=CLIENT_RENDERED,encodeErrorForBoundary(resumedBoundary,errorDigest$jscomp$0,error$jscomp$0,errorInfo$jscomp$0,aborted),resumedBoundary.parentFlushed&&request$jscomp$0.clientRenderedBoundaries.push(resumedBoundary)}}if(nodes.length=0,null!==slots){if(null===boundary)throw Error("We should not have any resumable nodes in the shell. This is a bug in React.");if(boundary.status!==CLIENT_RENDERED&&(boundary.status=CLIENT_RENDERED,encodeErrorForBoundary(boundary,errorDigest$jscomp$0,error$jscomp$0,errorInfo$jscomp$0,aborted),boundary.parentFlushed&&request$jscomp$0.clientRenderedBoundaries.push(boundary)),"object"==typeof slots)for(var index in slots)delete slots[index]}}function finishAbortedTaskDEV(task,request,error){var prevTaskInDEV=currentTaskInDEV,prevGetCurrentStackImpl=ReactSharedInternals.getCurrentStack;currentTaskInDEV=task,ReactSharedInternals.getCurrentStack=getCurrentStackInDEV;try{!function finishAbortedTask(task,request,error){if(task!==request.currentTask){var boundary=task.blockedBoundary,segment=task.blockedSegment;if(null===segment||segment.status===ABORTED){var errorInfo=getThrownInfo(task.componentStack),isRecoverableAbort="object"==typeof error&&null!==error&&error.$$typeof===REACT_RECOVERABLE_TYPE;if(null===boundary){if(null===(boundary=task.replay))return void(isRecoverableAbort||null===request.trackedPostpones||null===segment?isRecoverableAbort?(logRecoverableError(request,boundary=createFatalRecoverableError(error),errorInfo,task.debugTask),12!==request.status&&request.status!==CLOSED&&fatalError(request,boundary,errorInfo,task.debugTask)):(logRecoverableError(request,error,errorInfo,task.debugTask),12!==request.status&&request.status!==CLOSED&&fatalError(request,error,errorInfo,task.debugTask)):(boundary=request.trackedPostpones,logRecoverableError(request,error,errorInfo,task.debugTask),trackPostpone(request,boundary,task,segment),finishedTask(request,null,task.row,segment)));12!==request.status&&request.status!==CLOSED&&(boundary.pendingTasks--,0===boundary.pendingTasks&&0<boundary.nodes.length&&(isRecoverableAbort?(segment=REACT_RECOVERABLE_DIGEST,isRecoverableAbort=RecoverableException):(segment=logRecoverableError(request,error,errorInfo,null),isRecoverableAbort=error),abortRemainingReplayNodes(request,null,boundary.nodes,boundary.slots,isRecoverableAbort,segment,errorInfo,!0)),request.pendingRootTasks--,0===request.pendingRootTasks&&completeShell(request))}else{var _trackedPostpones=request.trackedPostpones;if(boundary.status!==CLIENT_RENDERED){if(!isRecoverableAbort&&null!==_trackedPostpones&&null!==segment)return logRecoverableError(request,error,errorInfo,task.debugTask),trackPostpone(request,_trackedPostpones,task,segment),boundary.fallbackAbortableTasks.forEach(function(fallbackTask){return finishAbortedTask(fallbackTask,request,error)}),boundary.fallbackAbortableTasks.clear(),finishedTask(request,boundary,task.row,segment);boundary.status=CLIENT_RENDERED,encodeErrorForBoundary(boundary,segment=isRecoverableAbort?REACT_RECOVERABLE_DIGEST:logRecoverableError(request,error,errorInfo,task.debugTask),isRecoverableAbort?RecoverableException:error,errorInfo,!0),untrackBoundary(request,boundary),boundary.parentFlushed&&request.clientRenderedBoundaries.push(boundary)}boundary.pendingTasks--,null!==(errorInfo=boundary.row)&&0==--errorInfo.pendingTasks&&finishSuspenseListRow(request,errorInfo),boundary.fallbackAbortableTasks.forEach(function(fallbackTask){return finishAbortedTask(fallbackTask,request,error)}),boundary.fallbackAbortableTasks.clear()}null!==(task=task.row)&&0==--task.pendingTasks&&finishSuspenseListRow(request,task),request.allPendingTasks--,0===request.allPendingTasks&&completeAll(request)}}}(task,request,error)}finally{currentTaskInDEV=prevTaskInDEV,ReactSharedInternals.getCurrentStack=prevGetCurrentStackImpl}}function abortTaskDEV(task,request){var prevTaskInDEV=currentTaskInDEV,prevGetCurrentStackImpl=ReactSharedInternals.getCurrentStack;currentTaskInDEV=task,ReactSharedInternals.getCurrentStack=getCurrentStackInDEV;try{!function abortTask(task,request){if(task!==request.currentTask){var boundary=task.blockedBoundary,segment=task.blockedSegment;if(null!==segment&&(segment.status=ABORTED),null!==(segment=task.node)&&"object"==typeof segment){for(var debugInfo=segment._debugInfo;"object"==typeof segment&&null!==segment&&segment.$$typeof===REACT_LAZY_TYPE;){var payload=segment._payload;if("fulfilled"===payload.status)segment=payload.value;else break}"object"==typeof segment&&null!==segment&&(isArrayImpl(segment)||"function"==typeof segment[ASYNC_ITERATOR]||segment.$$typeof===REACT_ELEMENT_TYPE||segment.$$typeof===REACT_LAZY_TYPE)&&isArrayImpl(segment._debugInfo)&&(debugInfo=segment._debugInfo);var debugInfo1=debugInfo;if(null!=debugInfo1)for(var i=debugInfo1.length-1;0<=i;i--){var info=debugInfo1[i];if(null!=info.awaited){var bestStack=null==info.debugStack?info.awaited:info;if(void 0!==bestStack.debugStack){task.componentStack={parent:task.componentStack,type:info,owner:bestStack.owner,stack:bestStack.debugStack},task.debugTask=bestStack.debugTask;break}}}null!==task.thenableState&&function(request,task){shouldCaptureSuspendedCallSite=!0;var restoreThenableState=function(thenableState){var lastThenable=thenableState[thenableState.length-1];switch(lastThenable.status){case"fulfilled":var previousThenableValue=lastThenable.value,previousThenableThen=lastThenable.then.bind(lastThenable);return delete lastThenable.value,delete lastThenable.status,lastThenable.then=noop,function(){lastThenable.then=previousThenableThen,lastThenable.value=previousThenableValue,lastThenable.status="fulfilled"};case"rejected":var previousThenableReason=lastThenable.reason,_previousThenableThen=lastThenable.then.bind(lastThenable);return delete lastThenable.reason,delete lastThenable.status,lastThenable.then=noop,function(){lastThenable.then=_previousThenableThen,lastThenable.reason=previousThenableReason,lastThenable.status="rejected"}}return noop}(task.thenableState);try{var prevStatus=request.status,prevAborted=request.aborted;request.status=14,request.aborted=!1;var prevContext=currentActiveSnapshot,prevDispatcher=ReactSharedInternals.H;ReactSharedInternals.H=HooksDispatcher;var prevAsyncDispatcher=ReactSharedInternals.A;ReactSharedInternals.A=DefaultAsyncDispatcher;var prevRequest=currentRequest;currentRequest=request;var prevGetCurrentStackImpl=ReactSharedInternals.getCurrentStack;ReactSharedInternals.getCurrentStack=getCurrentStackInDEV;var prevResumableState=currentResumableState;currentResumableState=request.resumableState,switchContext(task.context);var prevTaskInDEV=currentTaskInDEV;currentTaskInDEV=task;try{retryNode(request,task)}catch(x){resetHooksState()}finally{currentTaskInDEV=prevTaskInDEV,currentResumableState=prevResumableState,ReactSharedInternals.H=prevDispatcher,ReactSharedInternals.A=prevAsyncDispatcher,ReactSharedInternals.getCurrentStack=prevGetCurrentStackImpl,prevDispatcher===HooksDispatcher&&switchContext(prevContext),currentRequest=prevRequest,request.status=prevStatus,request.aborted=prevAborted}}finally{restoreThenableState(),shouldCaptureSuspendedCallSite=!1}null===suspendedCallSiteStack?request=null:(request=suspendedCallSiteStack,suspendedCallSiteStack=null),null===suspendedCallSiteDebugTask?restoreThenableState=null:(restoreThenableState=suspendedCallSiteDebugTask,suspendedCallSiteDebugTask=null),null!==request&&(task.componentStack={owner:task.componentStack,parent:request.parent,stack:request.stack,type:request.type}),task.debugTask=restoreThenableState}(request,task)}null!==boundary&&boundary.fallbackAbortableTasks.forEach(function(fallbackTask){return abortTask(fallbackTask,request)})}}(task,request)}finally{currentTaskInDEV=prevTaskInDEV,ReactSharedInternals.getCurrentStack=prevGetCurrentStackImpl}}function safelyEmitEarlyPreloads(request,shellComplete){try{var renderState=request.renderState,onHeaders=renderState.onHeaders;if(onHeaders){var headers=renderState.headers;if(headers){renderState.headers=null;var linkHeader=headers.preconnects;if(headers.fontPreloads&&(linkHeader&&(linkHeader+=", "),linkHeader+=headers.fontPreloads),headers.highImagePreloads&&(linkHeader&&(linkHeader+=", "),linkHeader+=headers.highImagePreloads),!shellComplete){var queueIter=renderState.styles.values(),queueStep=queueIter.next();b:for(;0<headers.remainingCapacity&&!queueStep.done;queueStep=queueIter.next())for(var sheetIter=queueStep.value.sheets.values(),sheetStep=sheetIter.next();0<headers.remainingCapacity&&!sheetStep.done;sheetStep=sheetIter.next()){var sheet=sheetStep.value,props=sheet.props,key=props.href,props$jscomp$0=sheet.props,header=getPreloadAsHeader(props$jscomp$0.href,"style",{crossOrigin:props$jscomp$0.crossOrigin,integrity:props$jscomp$0.integrity,nonce:props$jscomp$0.nonce,type:props$jscomp$0.type,fetchPriority:props$jscomp$0.fetchPriority,referrerPolicy:props$jscomp$0.referrerPolicy,media:props$jscomp$0.media});if(0<=(headers.remainingCapacity-=header.length+2))renderState.resets.style[key]=PRELOAD_NO_CREDS,linkHeader&&(linkHeader+=", "),linkHeader+=header,renderState.resets.style[key]="string"==typeof props.crossOrigin||"string"==typeof props.integrity?[props.crossOrigin,props.integrity]:PRELOAD_NO_CREDS;else break b}}linkHeader?onHeaders({Link:linkHeader}):onHeaders({})}}}catch(error){logRecoverableError(request,error,{},null)}}function completeShell(request){null===request.trackedPostpones&&safelyEmitEarlyPreloads(request,!0),null===request.trackedPostpones&&preparePreamble(request),(request=request.onShellReady)()}function completeAll(request){safelyEmitEarlyPreloads(request,null===request.trackedPostpones?!0:null===request.completedRootSegment||request.completedRootSegment.status!==POSTPONED),preparePreamble(request),(request=request.onAllReady)()}function queueCompletedSegment(boundary,segment){if(0===segment.chunks.length&&1===segment.children.length&&null===segment.children[0].boundary&&-1===segment.children[0].id){var childSegment=segment.children[0];childSegment.id=segment.id,childSegment.parentFlushed=!0,childSegment.status!==COMPLETED&&childSegment.status!==ABORTED&&childSegment.status!==ERRORED||queueCompletedSegment(boundary,childSegment)}else boundary.completedSegments.push(segment)}function finishedSegment(request,boundary,segment){if(null!==byteLengthOfChunk){segment=segment.chunks;for(var segmentByteSize=0,i=0;i<segment.length;i++)segmentByteSize+=byteLengthOfChunk(segment[i]);null===boundary?request.byteSize+=segmentByteSize:boundary.byteSize+=segmentByteSize}}function finishedTask(request,boundary,row,segment){if(null!==row&&(0==--row.pendingTasks?finishSuspenseListRow(request,row):row.together&&tryToResolveTogetherRow(request,row)),request.allPendingTasks--,null===boundary){if(null!==segment&&segment.parentFlushed){if(null!==request.completedRootSegment)throw Error("There can only be one root segment. This is a bug in React.");request.completedRootSegment=segment}request.pendingRootTasks--,0===request.pendingRootTasks&&completeShell(request)}else if(boundary.pendingTasks--,boundary.status!==CLIENT_RENDERED)if(0===boundary.pendingTasks){if(boundary.status===PENDING&&(boundary.status=COMPLETED),null!==segment&&segment.parentFlushed&&(segment.status===COMPLETED||segment.status===ABORTED)&&queueCompletedSegment(boundary,segment),boundary.parentFlushed&&request.completedBoundaries.push(boundary),boundary.status===COMPLETED)null!==(row=boundary.row)&&hoistHoistables(row.hoistables,boundary.contentState),isEligibleForOutlining(request,boundary)||(request.allPendingTasks++,boundary.fallbackAbortableTasks.forEach(abortTaskSoft,request),boundary.fallbackAbortableTasks.clear(),null!==row&&0==--row.pendingTasks&&finishSuspenseListRow(request,row),request.allPendingTasks--),0===request.pendingRootTasks&&null===request.trackedPostpones&&null!==boundary.preamble&&preparePreamble(request);else if(boundary.status===POSTPONED&&null!==(boundary=boundary.row)){if(null!==request.trackedPostpones){row=request.trackedPostpones;var postponedRow=boundary.next;if(null!==postponedRow&&null!==(segment=postponedRow.boundaries))for(postponedRow.boundaries=null,postponedRow=0;postponedRow<segment.length;postponedRow++){var postponedBoundary=segment[postponedRow];trackPostponedBoundary(request,row,postponedBoundary),finishedTask(request,postponedBoundary,null,null)}}request.allPendingTasks++,0==--boundary.pendingTasks&&finishSuspenseListRow(request,boundary),request.allPendingTasks--}}else null===segment||!segment.parentFlushed||segment.status!==COMPLETED&&segment.status!==ABORTED||(queueCompletedSegment(boundary,segment),1===boundary.completedSegments.length&&boundary.parentFlushed&&request.partialBoundaries.push(boundary)),null!==(boundary=boundary.row)&&boundary.together&&tryToResolveTogetherRow(request,boundary);0===request.allPendingTasks&&completeAll(request)}function performWork(request$jscomp$1){if(!(request$jscomp$1.aborted||11<request$jscomp$1.status)){var prevContext=currentActiveSnapshot,prevDispatcher=ReactSharedInternals.H;ReactSharedInternals.H=HooksDispatcher;var prevAsyncDispatcher=ReactSharedInternals.A;ReactSharedInternals.A=DefaultAsyncDispatcher;var prevRequest=currentRequest;currentRequest=request$jscomp$1;var prevGetCurrentStackImpl=ReactSharedInternals.getCurrentStack;ReactSharedInternals.getCurrentStack=getCurrentStackInDEV;var prevResumableState=currentResumableState;currentResumableState=request$jscomp$1.resumableState;try{var i,pingedTasks=request$jscomp$1.pingedTasks;for(i=0;i<pingedTasks.length;i++){var task=pingedTasks[i],segment=task.blockedSegment;if(null===segment)a:{var prevTaskInDEV=void 0,task$jscomp$0=task;if(0!==task$jscomp$0.replay.pendingTasks){var prevTask=request$jscomp$1.currentTask;request$jscomp$1.currentTask=task$jscomp$0,switchContext(task$jscomp$0.context),prevTaskInDEV=currentTaskInDEV,currentTaskInDEV=task$jscomp$0;var startNode=task$jscomp$0.node;try{if("number"==typeof task$jscomp$0.replay.slots?resumeNode(request$jscomp$1,task$jscomp$0,task$jscomp$0.replay.slots,task$jscomp$0.node,task$jscomp$0.childIndex):retryNode(request$jscomp$1,task$jscomp$0),1===task$jscomp$0.replay.pendingTasks&&0<task$jscomp$0.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");task$jscomp$0.replay.pendingTasks--,task$jscomp$0.abortSet.delete(task$jscomp$0),finishedTask(request$jscomp$1,task$jscomp$0.blockedBoundary,task$jscomp$0.row,null)}catch(thrownValue){resetHooksState();var x=thrownValue===SuspenseException?getSuspendedThenable():thrownValue;if(request$jscomp$1.aborted){thrownValue===SuspenseException&&(task$jscomp$0.thenableState=getThenableStateAfterSuspending()),request$jscomp$1.currentTask=prevTask;var request$jscomp$0=request$jscomp$1;abortTaskDEV(task$jscomp$0,request$jscomp$0),task$jscomp$0.abortSet.delete(task$jscomp$0),finishAbortedTaskDEV(task$jscomp$0,request$jscomp$0,request$jscomp$0.fatalError)}else{if("object"==typeof x&&null!==x){if("function"==typeof x.then){var ping=task$jscomp$0.ping;x.then(ping.resolve,ping.reject),task$jscomp$0.thenableState=thrownValue===SuspenseException?getThenableStateAfterSuspending():null;break a}if("Maximum call stack size exceeded"===x.message&&task$jscomp$0.node!==startNode){task$jscomp$0.thenableState=null,request$jscomp$1.pingedTasks.push(task$jscomp$0);break a}}task$jscomp$0.replay.pendingTasks--,task$jscomp$0.abortSet.delete(task$jscomp$0);var errorInfo=getThrownInfo(task$jscomp$0.componentStack);request$jscomp$0=request$jscomp$1;var boundary=task$jscomp$0.blockedBoundary,error$jscomp$0=request$jscomp$1.aborted?request$jscomp$1.fatalError:x,replayNodes=task$jscomp$0.replay.nodes,resumeSlots=task$jscomp$0.replay.slots,errorDigest=logRecoverableError(request$jscomp$0,error$jscomp$0,errorInfo,task$jscomp$0.debugTask);abortRemainingReplayNodes(request$jscomp$0,boundary,replayNodes,resumeSlots,error$jscomp$0,errorDigest,errorInfo,!1),request$jscomp$1.pendingRootTasks--,0===request$jscomp$1.pendingRootTasks&&completeShell(request$jscomp$1),request$jscomp$1.allPendingTasks--,0===request$jscomp$1.allPendingTasks&&completeAll(request$jscomp$1)}}finally{request$jscomp$1.currentTask=prevTask,currentTaskInDEV=prevTaskInDEV}}}else a:if(prevTaskInDEV=void 0,task$jscomp$0=task,(request$jscomp$0=segment).status===PENDING){var prevTask$jscomp$0=request$jscomp$1.currentTask;request$jscomp$1.currentTask=task$jscomp$0,switchContext(task$jscomp$0.context),prevTaskInDEV=currentTaskInDEV,currentTaskInDEV=task$jscomp$0;var childrenLength=request$jscomp$0.children.length,chunkLength=request$jscomp$0.chunks.length,startNode$jscomp$0=task$jscomp$0.node;try{retryNode(request$jscomp$1,task$jscomp$0),request$jscomp$0.lastPushedText&&request$jscomp$0.textEmbedded&&request$jscomp$0.chunks.push(textSeparator),task$jscomp$0.abortSet.delete(task$jscomp$0),request$jscomp$0.status=COMPLETED,finishedSegment(request$jscomp$1,task$jscomp$0.blockedBoundary,request$jscomp$0),finishedTask(request$jscomp$1,task$jscomp$0.blockedBoundary,task$jscomp$0.row,request$jscomp$0)}catch(thrownValue){resetHooksState(),request$jscomp$0.children.length=childrenLength,request$jscomp$0.chunks.length=chunkLength;var x$jscomp$0=thrownValue===SuspenseException?getSuspendedThenable():thrownValue;if(request$jscomp$1.aborted)thrownValue===SuspenseException&&(task$jscomp$0.thenableState=getThenableStateAfterSuspending()),request$jscomp$1.currentTask=prevTask$jscomp$0,request$jscomp$0=request$jscomp$1,abortTaskDEV(task$jscomp$0,request$jscomp$0),task$jscomp$0.abortSet.delete(task$jscomp$0),finishAbortedTaskDEV(task$jscomp$0,request$jscomp$0,request$jscomp$0.fatalError);else{if("object"==typeof x$jscomp$0&&null!==x$jscomp$0){if("function"==typeof x$jscomp$0.then){request$jscomp$0.status=PENDING,task$jscomp$0.thenableState=thrownValue===SuspenseException?getThenableStateAfterSuspending():null;var ping$jscomp$0=task$jscomp$0.ping;x$jscomp$0.then(ping$jscomp$0.resolve,ping$jscomp$0.reject);break a}if("Maximum call stack size exceeded"===x$jscomp$0.message&&task$jscomp$0.node!==startNode$jscomp$0){request$jscomp$0.status=PENDING,task$jscomp$0.thenableState=null,request$jscomp$1.pingedTasks.push(task$jscomp$0);break a}}var errorInfo$jscomp$1=getThrownInfo(task$jscomp$0.componentStack);task$jscomp$0.abortSet.delete(task$jscomp$0),request$jscomp$0.status=ERRORED;var boundary$jscomp$0=task$jscomp$0.blockedBoundary,row=task$jscomp$0.row,debugTask=task$jscomp$0.debugTask;if(null!==row&&0==--row.pendingTasks&&finishSuspenseListRow(request$jscomp$1,row),request$jscomp$1.allPendingTasks--,null===boundary$jscomp$0)if(x$jscomp$0===RecoverableException){if(null===suspendedRecoverableError)throw Error("Expected a suspended recoverable. This is a bug in React. Please file an issue.");task$jscomp$0=suspendedRecoverableError,suspendedRecoverableError=null;var useError=task$jscomp$0;logRecoverableError(request$jscomp$1,useError,errorInfo$jscomp$1,debugTask),fatalError(request$jscomp$1,useError,errorInfo$jscomp$1,debugTask)}else logRecoverableError(request$jscomp$1,x$jscomp$0,errorInfo$jscomp$1,debugTask),fatalError(request$jscomp$1,x$jscomp$0,errorInfo$jscomp$1,debugTask);else{var errorDigest$jscomp$0=logRecoverableError(request$jscomp$1,x$jscomp$0,errorInfo$jscomp$1,debugTask);if(boundary$jscomp$0.pendingTasks--,boundary$jscomp$0.status!==CLIENT_RENDERED){boundary$jscomp$0.status=CLIENT_RENDERED,encodeErrorForBoundary(boundary$jscomp$0,errorDigest$jscomp$0,x$jscomp$0,errorInfo$jscomp$1,!1),untrackBoundary(request$jscomp$1,boundary$jscomp$0);var boundaryRow=boundary$jscomp$0.row;null!==boundaryRow&&(request$jscomp$1.allPendingTasks++,0==--boundaryRow.pendingTasks&&finishSuspenseListRow(request$jscomp$1,boundaryRow),request$jscomp$1.allPendingTasks--),boundary$jscomp$0.parentFlushed&&request$jscomp$1.clientRenderedBoundaries.push(boundary$jscomp$0),0===request$jscomp$1.pendingRootTasks&&null===request$jscomp$1.trackedPostpones&&null!==boundary$jscomp$0.preamble&&preparePreamble(request$jscomp$1)}0===request$jscomp$1.allPendingTasks&&completeAll(request$jscomp$1)}}}finally{request$jscomp$1.currentTask=prevTask$jscomp$0,currentTaskInDEV=prevTaskInDEV}}}pingedTasks.splice(0,i),null!==request$jscomp$1.destination&&flushCompletedQueues(request$jscomp$1,request$jscomp$1.destination)}catch(error){logRecoverableError(request$jscomp$1,error,pingedTasks={},null),fatalError(request$jscomp$1,error,pingedTasks,null)}finally{currentResumableState=prevResumableState,ReactSharedInternals.H=prevDispatcher,ReactSharedInternals.A=prevAsyncDispatcher,ReactSharedInternals.getCurrentStack=prevGetCurrentStackImpl,prevDispatcher===HooksDispatcher&&switchContext(prevContext),currentRequest=prevRequest}}}function preparePreambleFromSubtree(request,segment,collectedPreambleSegments){segment.preambleChildren.length&&collectedPreambleSegments.push(segment.preambleChildren);for(var pendingPreambles=!1,i=0;i<segment.children.length;i++)pendingPreambles=preparePreambleFromSegment(request,segment.children[i],collectedPreambleSegments)||pendingPreambles;return pendingPreambles}function preparePreambleFromSegment(request,segment,collectedPreambleSegments){var boundary=segment.boundary;if(null===boundary)return preparePreambleFromSubtree(request,segment,collectedPreambleSegments);var preamble=boundary.preamble;if(null===preamble)return!1;switch(boundary.status){case COMPLETED:if(hoistPreambleState(request.renderState,preamble.content),request.byteSize+=boundary.byteSize,!(segment=boundary.completedSegments[0]))throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");return preparePreambleFromSubtree(request,segment,collectedPreambleSegments);case POSTPONED:if(null!==request.trackedPostpones)return!0;case CLIENT_RENDERED:if(segment.status===COMPLETED)return hoistPreambleState(request.renderState,preamble.fallback),preparePreambleFromSubtree(request,segment,collectedPreambleSegments);default:return!0}}function preparePreamble(request){if(request.completedRootSegment&&null===request.completedPreambleSegments){var collectedPreambleSegments=[],originalRequestByteSize=request.byteSize,hasPendingPreambles=preparePreambleFromSegment(request,request.completedRootSegment,collectedPreambleSegments),preamble=request.renderState.preamble;!1===hasPendingPreambles||preamble.headChunks&&preamble.bodyChunks?request.completedPreambleSegments=collectedPreambleSegments:request.byteSize=originalRequestByteSize}}function flushSubtree(request,destination,segment,hoistableState){switch(segment.parentFlushed=!0,segment.status){case PENDING:segment.id=request.nextSegmentId++;case POSTPONED:return hoistableState=segment.id,segment.lastPushedText=!1,segment.textEmbedded=!1,request=request.renderState,writeChunk(destination,placeholder1),writeChunk(destination,request.placeholderPrefix),writeChunk(destination,request=hoistableState.toString(16)),writeChunkAndReturn(destination,placeholder2);case COMPLETED:segment.status=FLUSHED;var r=!0,chunks=segment.chunks,chunkIdx=0;segment=segment.children;for(var childIdx=0;childIdx<segment.length;childIdx++){for(r=segment[childIdx];chunkIdx<r.index;chunkIdx++)writeChunk(destination,chunks[chunkIdx]);r=flushSegment(request,destination,r,hoistableState)}for(;chunkIdx<chunks.length-1;chunkIdx++)writeChunk(destination,chunks[chunkIdx]);return chunkIdx<chunks.length&&(r=writeChunkAndReturn(destination,chunks[chunkIdx])),r;case ABORTED:return!0;default:throw Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function flushSegment(request,destination,segment,hoistableState){var boundary=segment.boundary;if(null===boundary)return flushSubtree(request,destination,segment,hoistableState);if(segment.boundary=null,boundary.parentFlushed=!0,boundary.status===CLIENT_RENDERED){var row=boundary.row;null!==row&&0==--row.pendingTasks&&finishSuspenseListRow(request,row),row=boundary.errorDigest;var errorMessage=boundary.errorMessage,errorStack=boundary.errorStack;boundary=boundary.errorComponentStack,writeChunkAndReturn(destination,startClientRenderedSuspenseBoundary),writeChunk(destination,clientRenderedSuspenseBoundaryError1),null!=row&&(writeChunk(destination,clientRenderedSuspenseBoundaryError1A),writeChunk(destination,escapeTextForBrowser(row)),writeChunk(destination,clientRenderedSuspenseBoundaryErrorAttrInterstitial)),errorMessage&&(writeChunk(destination,clientRenderedSuspenseBoundaryError1B),writeChunk(destination,escapeTextForBrowser(errorMessage)),writeChunk(destination,clientRenderedSuspenseBoundaryErrorAttrInterstitial)),errorStack&&(writeChunk(destination,clientRenderedSuspenseBoundaryError1C),writeChunk(destination,escapeTextForBrowser(errorStack)),writeChunk(destination,clientRenderedSuspenseBoundaryErrorAttrInterstitial)),boundary&&(writeChunk(destination,clientRenderedSuspenseBoundaryError1D),writeChunk(destination,escapeTextForBrowser(boundary)),writeChunk(destination,clientRenderedSuspenseBoundaryErrorAttrInterstitial)),writeChunkAndReturn(destination,clientRenderedSuspenseBoundaryError2),flushSubtree(request,destination,segment,hoistableState)}else if(boundary.status!==COMPLETED)boundary.status===PENDING&&(boundary.rootSegmentID=request.nextSegmentId++),0<boundary.completedSegments.length&&request.partialBoundaries.push(boundary),writeStartPendingSuspenseBoundary(destination,request.renderState,boundary.rootSegmentID),hoistableState&&hoistHoistables(hoistableState,boundary.fallbackState),flushSubtree(request,destination,segment,hoistableState);else if(!flushingPartialBoundaries&&isEligibleForOutlining(request,boundary)&&(flushedByteSize+boundary.byteSize>request.progressiveChunkSize||hasSuspenseyContent(boundary.contentState,flushingShell)||boundary.defer))boundary.rootSegmentID=request.nextSegmentId++,request.completedBoundaries.push(boundary),writeStartPendingSuspenseBoundary(destination,request.renderState,boundary.rootSegmentID),flushSubtree(request,destination,segment,hoistableState);else{if(flushedByteSize+=boundary.byteSize,hoistableState&&hoistHoistables(hoistableState,boundary.contentState),null!==(segment=boundary.row)&&isEligibleForOutlining(request,boundary)&&0==--segment.pendingTasks&&finishSuspenseListRow(request,segment),writeChunkAndReturn(destination,startCompletedSuspenseBoundary),1!==(segment=boundary.completedSegments).length)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");flushSegment(request,destination,segment[0],hoistableState)}return writeChunkAndReturn(destination,endSuspenseBoundary)}function flushSegmentContainer(request,destination,segment,hoistableState){switch(!function(destination,renderState,formatContext,id){switch(formatContext.insertionMode){case ROOT_HTML_MODE:case HTML_HTML_MODE:case HTML_HEAD_MODE:case HTML_MODE:return writeChunk(destination,startSegmentHTML),writeChunk(destination,renderState.segmentPrefix),writeChunk(destination,id.toString(16)),writeChunkAndReturn(destination,startSegmentHTML2);case SVG_MODE:return writeChunk(destination,startSegmentSVG),writeChunk(destination,renderState.segmentPrefix),writeChunk(destination,id.toString(16)),writeChunkAndReturn(destination,startSegmentSVG2);case MATHML_MODE:return writeChunk(destination,startSegmentMathML),writeChunk(destination,renderState.segmentPrefix),writeChunk(destination,id.toString(16)),writeChunkAndReturn(destination,startSegmentMathML2);case HTML_TABLE_MODE:return writeChunk(destination,startSegmentTable),writeChunk(destination,renderState.segmentPrefix),writeChunk(destination,id.toString(16)),writeChunkAndReturn(destination,startSegmentTable2);case HTML_TABLE_BODY_MODE:return writeChunk(destination,startSegmentTableBody),writeChunk(destination,renderState.segmentPrefix),writeChunk(destination,id.toString(16)),writeChunkAndReturn(destination,startSegmentTableBody2);case HTML_TABLE_ROW_MODE:return writeChunk(destination,startSegmentTableRow),writeChunk(destination,renderState.segmentPrefix),writeChunk(destination,id.toString(16)),writeChunkAndReturn(destination,startSegmentTableRow2);case HTML_COLGROUP_MODE:return writeChunk(destination,startSegmentColGroup),writeChunk(destination,renderState.segmentPrefix),writeChunk(destination,id.toString(16)),writeChunkAndReturn(destination,startSegmentColGroup2);default:throw Error("Unknown insertion mode. This is a bug in React.")}}(destination,request.renderState,segment.parentFormatContext,segment.id),flushSegment(request,destination,segment,hoistableState),segment.parentFormatContext.insertionMode){case ROOT_HTML_MODE:case HTML_HTML_MODE:case HTML_HEAD_MODE:case HTML_MODE:return writeChunkAndReturn(destination,endSegmentHTML);case SVG_MODE:return writeChunkAndReturn(destination,endSegmentSVG);case MATHML_MODE:return writeChunkAndReturn(destination,endSegmentMathML);case HTML_TABLE_MODE:return writeChunkAndReturn(destination,endSegmentTable);case HTML_TABLE_BODY_MODE:return writeChunkAndReturn(destination,endSegmentTableBody);case HTML_TABLE_ROW_MODE:return writeChunkAndReturn(destination,endSegmentTableRow);case HTML_COLGROUP_MODE:return writeChunkAndReturn(destination,endSegmentColGroup);default:throw Error("Unknown insertion mode. This is a bug in React.")}}function flushCompletedBoundary(request,destination,boundary){flushedByteSize=boundary.byteSize;for(var hoistableState,nextArrayOpenBrackChunk,completedSegments=boundary.completedSegments,i=0;i<completedSegments.length;i++)flushPartiallyCompletedSegment(request,destination,boundary,completedSegments[i]);completedSegments.length=0,null!==(completedSegments=boundary.row)&&isEligibleForOutlining(request,boundary)&&0==--completedSegments.pendingTasks&&finishSuspenseListRow(request,completedSegments),writeHoistablesForBoundary(destination,boundary.contentState,request.renderState),completedSegments=request.resumableState,request=request.renderState,i=boundary.rootSegmentID,boundary=boundary.contentState;var requiresStyleInsertion=request.stylesToHoist,requiresViewTransitions=(completedSegments.instructions&NeedUpgradeToViewTransitions)!==NothingSent;return request.stylesToHoist=!1,writeChunk(destination,request.startInlineScript),writeChunk(destination,endOfStartTag),requiresStyleInsertion?((completedSegments.instructions&SentClientRenderFunction)===NothingSent&&(completedSegments.instructions|=SentClientRenderFunction,writeChunk(destination,clientRenderScriptFunctionOnly)),(completedSegments.instructions&SentCompleteBoundaryFunction)===NothingSent&&(completedSegments.instructions|=SentCompleteBoundaryFunction,writeChunk(destination,completeBoundaryScriptFunctionOnly)),requiresViewTransitions&&(completedSegments.instructions&SentUpgradeToViewTransitions)===NothingSent&&(completedSegments.instructions|=SentUpgradeToViewTransitions,writeChunk(destination,completeBoundaryUpgradeToViewTransitionsInstruction)),(completedSegments.instructions&SentStyleInsertionFunction)===NothingSent?(completedSegments.instructions|=SentStyleInsertionFunction,writeChunk(destination,completeBoundaryWithStylesScript1FullPartial)):writeChunk(destination,completeBoundaryWithStylesScript1Partial)):((completedSegments.instructions&SentCompleteBoundaryFunction)===NothingSent&&(completedSegments.instructions|=SentCompleteBoundaryFunction,writeChunk(destination,completeBoundaryScriptFunctionOnly)),requiresViewTransitions&&(completedSegments.instructions&SentUpgradeToViewTransitions)===NothingSent&&(completedSegments.instructions|=SentUpgradeToViewTransitions,writeChunk(destination,completeBoundaryUpgradeToViewTransitionsInstruction)),writeChunk(destination,completeBoundaryScript1Partial)),completedSegments=i.toString(16),writeChunk(destination,request.boundaryPrefix),writeChunk(destination,completedSegments),writeChunk(destination,completeBoundaryScript2),writeChunk(destination,request.segmentPrefix),writeChunk(destination,completedSegments),requiresStyleInsertion?(writeChunk(destination,completeBoundaryScript3a),hoistableState=boundary,writeChunk(destination,arrayFirstOpenBracket),nextArrayOpenBrackChunk=arrayFirstOpenBracket,hoistableState.stylesheets.forEach(function(resource){if(resource.state!==PREAMBLE)if(resource.state===LATE)writeChunk(destination,nextArrayOpenBrackChunk),checkAttributeStringCoercion(resource=resource.props.href,"href"),writeChunk(destination,escapeJSObjectForInstructionScripts(""+resource)),writeChunk(destination,arrayCloseBracket),nextArrayOpenBrackChunk=arraySubsequentOpenBracket;else{writeChunk(destination,nextArrayOpenBrackChunk);var precedence=resource.props["data-precedence"],props=resource.props;for(var propKey in writeChunk(destination,escapeJSObjectForInstructionScripts(sanitizeURL(""+resource.props.href))),checkAttributeStringCoercion(precedence,"precedence"),precedence=""+precedence,writeChunk(destination,arrayInterstitial),writeChunk(destination,escapeJSObjectForInstructionScripts(precedence)),props)if(hasOwnProperty.call(props,propKey)&&null!=(precedence=props[propKey]))switch(propKey){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:!function(destination,name,value){var attributeName=name.toLowerCase();switch(typeof value){case"function":case"symbol":return}switch(name){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":checkAttributeStringCoercion(value,attributeName="class"),name=""+value;break;case"hidden":if(!1===value)return;name="";break;case"src":case"href":checkAttributeStringCoercion(value=sanitizeURL(value),attributeName),name=""+value;break;default:if(2<name.length&&("o"===name[0]||"O"===name[0])&&("n"===name[1]||"N"===name[1])||!isAttributeNameSafe(name))return;checkAttributeStringCoercion(value,attributeName),name=""+value}writeChunk(destination,arrayInterstitial),writeChunk(destination,escapeJSObjectForInstructionScripts(attributeName)),writeChunk(destination,arrayInterstitial),writeChunk(destination,escapeJSObjectForInstructionScripts(name))}(destination,propKey,precedence)}writeChunk(destination,arrayCloseBracket),nextArrayOpenBrackChunk=arraySubsequentOpenBracket,resource.state=LATE}}),writeChunk(destination,arrayCloseBracket)):writeChunk(destination,completeBoundaryScript3b),boundary=writeChunkAndReturn(destination,completeBoundaryScriptEnd),writeBootstrap(destination,request)&&boundary}function flushPartiallyCompletedSegment(request,destination,boundary,segment){if(segment.status===FLUSHED)return!0;var hoistableState=boundary.contentState,segmentID=segment.id;if(-1===segmentID){if(-1===(segment.id=boundary.rootSegmentID))throw Error("A root segment ID must have been assigned by now. This is a bug in React.");return flushSegmentContainer(request,destination,segment,hoistableState)}return segmentID===boundary.rootSegmentID?flushSegmentContainer(request,destination,segment,hoistableState):(flushSegmentContainer(request,destination,segment,hoistableState),boundary=request.resumableState,writeChunk(destination,(request=request.renderState).startInlineScript),writeChunk(destination,endOfStartTag),(boundary.instructions&SentCompleteSegmentFunction)===NothingSent?(boundary.instructions|=SentCompleteSegmentFunction,writeChunk(destination,completeSegmentScript1Full)):writeChunk(destination,completeSegmentScript1Partial),writeChunk(destination,request.segmentPrefix),writeChunk(destination,segmentID=segmentID.toString(16)),writeChunk(destination,completeSegmentScript2),writeChunk(destination,request.placeholderPrefix),writeChunk(destination,segmentID),destination=writeChunkAndReturn(destination,completeSegmentScriptEnd))}function flushCompletedQueues(request,destination){currentView=new Uint8Array(4096),writtenBytes=0,destinationHasCapacity$1=!0;try{if(!(0<request.pendingRootTasks)){var i,completedRootSegment=request.completedRootSegment;if(null!==completedRootSegment){if(completedRootSegment.status===POSTPONED)return;var completedPreambleSegments=request.completedPreambleSegments;if(null===completedPreambleSegments)return;flushedByteSize=request.byteSize;var i$jscomp$0,resumableState=request.resumableState,renderState=request.renderState,preamble=renderState.preamble,htmlChunks=preamble.htmlChunks,headChunks=preamble.headChunks;if(htmlChunks){for(i$jscomp$0=0;i$jscomp$0<htmlChunks.length;i$jscomp$0++)writeChunk(destination,htmlChunks[i$jscomp$0]);if(headChunks)for(i$jscomp$0=0;i$jscomp$0<headChunks.length;i$jscomp$0++)writeChunk(destination,headChunks[i$jscomp$0]);else writeChunk(destination,startChunkForTag("head")),writeChunk(destination,endOfStartTag)}else if(headChunks)for(i$jscomp$0=0;i$jscomp$0<headChunks.length;i$jscomp$0++)writeChunk(destination,headChunks[i$jscomp$0]);var charsetChunks=renderState.charsetChunks;for(i$jscomp$0=0;i$jscomp$0<charsetChunks.length;i$jscomp$0++)writeChunk(destination,charsetChunks[i$jscomp$0]);charsetChunks.length=0,renderState.preconnects.forEach(flushResource,destination),renderState.preconnects.clear();var viewportChunks=renderState.viewportChunks;for(i$jscomp$0=0;i$jscomp$0<viewportChunks.length;i$jscomp$0++)writeChunk(destination,viewportChunks[i$jscomp$0]);viewportChunks.length=0,renderState.fontPreloads.forEach(flushResource,destination),renderState.fontPreloads.clear(),renderState.highImagePreloads.forEach(flushResource,destination),renderState.highImagePreloads.clear(),currentlyFlushingRenderState=renderState,renderState.styles.forEach(flushStylesInPreamble,destination),currentlyFlushingRenderState=null;var importMapChunks=renderState.importMapChunks;for(i$jscomp$0=0;i$jscomp$0<importMapChunks.length;i$jscomp$0++)writeChunk(destination,importMapChunks[i$jscomp$0]);importMapChunks.length=0,renderState.bootstrapScripts.forEach(flushResource,destination),renderState.scripts.forEach(flushResource,destination),renderState.scripts.clear(),renderState.bulkPreloads.forEach(flushResource,destination),renderState.bulkPreloads.clear(),htmlChunks||headChunks||(resumableState.instructions|=SentCompletedShellId);var hoistableChunks=renderState.hoistableChunks;for(i$jscomp$0=0;i$jscomp$0<hoistableChunks.length;i$jscomp$0++)writeChunk(destination,hoistableChunks[i$jscomp$0]);for(resumableState=hoistableChunks.length=0;resumableState<completedPreambleSegments.length;resumableState++){var segments=completedPreambleSegments[resumableState];for(renderState=0;renderState<segments.length;renderState++)flushSegment(request,destination,segments[renderState],null)}var preamble$jscomp$0=request.renderState.preamble,headChunks$jscomp$0=preamble$jscomp$0.headChunks;(preamble$jscomp$0.htmlChunks||headChunks$jscomp$0)&&writeChunk(destination,endChunkForTag("head"));var bodyChunks=preamble$jscomp$0.bodyChunks;if(bodyChunks)for(completedPreambleSegments=0;completedPreambleSegments<bodyChunks.length;completedPreambleSegments++)writeChunk(destination,bodyChunks[completedPreambleSegments]);flushingShell=!0,flushSegment(request,destination,completedRootSegment,null),flushingShell=!1,request.completedRootSegment=null;var renderState$jscomp$0=request.renderState;if(0!==request.allPendingTasks||0!==request.clientRenderedBoundaries.length||0!==request.completedBoundaries.length||null!==request.trackedPostpones&&(0!==request.trackedPostpones.rootNodes.length||null!==request.trackedPostpones.rootSlots)){var resumableState$jscomp$0=request.resumableState;if((resumableState$jscomp$0.instructions&SentMarkShellTime)===NothingSent){if(resumableState$jscomp$0.instructions|=SentMarkShellTime,writeChunk(destination,renderState$jscomp$0.startInlineScript),(resumableState$jscomp$0.instructions&SentCompletedShellId)===NothingSent){resumableState$jscomp$0.instructions|=SentCompletedShellId;var shellId="_"+resumableState$jscomp$0.idPrefix+"R_";writeChunk(destination,completedShellIdAttributeStart),writeChunk(destination,escapeTextForBrowser(shellId)),writeChunk(destination,attributeEnd)}writeChunk(destination,endOfStartTag),writeChunk(destination,shellTimeRuntimeScript),writeChunkAndReturn(destination,endInlineScript)}}writeBootstrap(destination,renderState$jscomp$0)}var renderState$jscomp$1=request.renderState;completedRootSegment=0;var viewportChunks$jscomp$0=renderState$jscomp$1.viewportChunks;for(completedRootSegment=0;completedRootSegment<viewportChunks$jscomp$0.length;completedRootSegment++)writeChunk(destination,viewportChunks$jscomp$0[completedRootSegment]);viewportChunks$jscomp$0.length=0,renderState$jscomp$1.preconnects.forEach(flushResource,destination),renderState$jscomp$1.preconnects.clear(),renderState$jscomp$1.fontPreloads.forEach(flushResource,destination),renderState$jscomp$1.fontPreloads.clear(),renderState$jscomp$1.highImagePreloads.forEach(flushResource,destination),renderState$jscomp$1.highImagePreloads.clear(),renderState$jscomp$1.styles.forEach(preloadLateStyles,destination),renderState$jscomp$1.scripts.forEach(flushResource,destination),renderState$jscomp$1.scripts.clear(),renderState$jscomp$1.bulkPreloads.forEach(flushResource,destination),renderState$jscomp$1.bulkPreloads.clear();var hoistableChunks$jscomp$0=renderState$jscomp$1.hoistableChunks;for(completedRootSegment=0;completedRootSegment<hoistableChunks$jscomp$0.length;completedRootSegment++)writeChunk(destination,hoistableChunks$jscomp$0[completedRootSegment]);hoistableChunks$jscomp$0.length=0;var clientRenderedBoundaries=request.clientRenderedBoundaries;for(i=0;i<clientRenderedBoundaries.length;i++){var boundary=clientRenderedBoundaries[i];renderState$jscomp$1=destination;var resumableState$jscomp$1=request.resumableState,renderState$jscomp$2=request.renderState,id=boundary.rootSegmentID,errorDigest=boundary.errorDigest,errorMessage=boundary.errorMessage,errorStack=boundary.errorStack,errorComponentStack=boundary.errorComponentStack;writeChunk(renderState$jscomp$1,renderState$jscomp$2.startInlineScript),writeChunk(renderState$jscomp$1,endOfStartTag),(resumableState$jscomp$1.instructions&SentClientRenderFunction)===NothingSent?(resumableState$jscomp$1.instructions|=SentClientRenderFunction,writeChunk(renderState$jscomp$1,clientRenderScript1Full)):writeChunk(renderState$jscomp$1,clientRenderScript1Partial),writeChunk(renderState$jscomp$1,renderState$jscomp$2.boundaryPrefix),writeChunk(renderState$jscomp$1,id.toString(16)),writeChunk(renderState$jscomp$1,clientRenderScript1A),(null!=errorDigest||errorMessage||errorStack||errorComponentStack)&&(writeChunk(renderState$jscomp$1,clientRenderErrorScriptArgInterstitial),null==errorDigest?writeChunk(renderState$jscomp$1,clientRenderErrorScriptNull):writeChunk(renderState$jscomp$1,escapeJSStringsForInstructionScripts(errorDigest))),(errorMessage||errorStack||errorComponentStack)&&(writeChunk(renderState$jscomp$1,clientRenderErrorScriptArgInterstitial),writeChunk(renderState$jscomp$1,escapeJSStringsForInstructionScripts(errorMessage||""))),(errorStack||errorComponentStack)&&(writeChunk(renderState$jscomp$1,clientRenderErrorScriptArgInterstitial),writeChunk(renderState$jscomp$1,escapeJSStringsForInstructionScripts(errorStack||""))),errorComponentStack&&(writeChunk(renderState$jscomp$1,clientRenderErrorScriptArgInterstitial),writeChunk(renderState$jscomp$1,escapeJSStringsForInstructionScripts(errorComponentStack)));var JSCompiler_inline_result=writeChunkAndReturn(renderState$jscomp$1,clientRenderScriptEnd);if(!JSCompiler_inline_result){request.destination=null,i++,clientRenderedBoundaries.splice(0,i);return}}clientRenderedBoundaries.splice(0,i);var completedBoundaries=request.completedBoundaries;for(i=0;i<completedBoundaries.length;i++)if(!flushCompletedBoundary(request,destination,completedBoundaries[i])){request.destination=null,i++,completedBoundaries.splice(0,i);return}completedBoundaries.splice(0,i),completeWriting(destination),currentView=new Uint8Array(4096),writtenBytes=0,flushingPartialBoundaries=destinationHasCapacity$1=!0;var partialBoundaries=request.partialBoundaries;for(i=0;i<partialBoundaries.length;i++){a:{clientRenderedBoundaries=request,boundary=destination;var boundary$jscomp$0=partialBoundaries[i];flushedByteSize=boundary$jscomp$0.byteSize;var completedSegments=boundary$jscomp$0.completedSegments;for(JSCompiler_inline_result=0;JSCompiler_inline_result<completedSegments.length;JSCompiler_inline_result++)if(!flushPartiallyCompletedSegment(clientRenderedBoundaries,boundary,boundary$jscomp$0,completedSegments[JSCompiler_inline_result])){JSCompiler_inline_result++,completedSegments.splice(0,JSCompiler_inline_result);var JSCompiler_inline_result$jscomp$0=!1;break a}completedSegments.splice(0,JSCompiler_inline_result);var row=boundary$jscomp$0.row;null!==row&&row.together&&1===boundary$jscomp$0.pendingTasks&&(1===row.pendingTasks?unblockSuspenseListRow(clientRenderedBoundaries,row,row.hoistables):row.pendingTasks--),JSCompiler_inline_result$jscomp$0=writeHoistablesForBoundary(boundary,boundary$jscomp$0.contentState,clientRenderedBoundaries.renderState)}if(!JSCompiler_inline_result$jscomp$0){request.destination=null,i++,partialBoundaries.splice(0,i);return}}partialBoundaries.splice(0,i),flushingPartialBoundaries=!1;var largeBoundaries=request.completedBoundaries;for(i=0;i<largeBoundaries.length;i++)if(!flushCompletedBoundary(request,destination,largeBoundaries[i])){request.destination=null,i++,largeBoundaries.splice(0,i);return}largeBoundaries.splice(0,i)}}finally{flushingPartialBoundaries=!1,null!==(i=request.postponedState)&&(i.nextSegmentId=request.nextSegmentId),0===request.allPendingTasks&&0===request.clientRenderedBoundaries.length&&0===request.completedBoundaries.length?(request.flushScheduled=!1,(i=request.resumableState).hasBody&&writeChunk(destination,endChunkForTag("body")),i.hasHtml&&writeChunk(destination,endChunkForTag("html")),completeWriting(destination),flushBuffered(destination),0!==request.abortableTasks.size&&console.error("There was still abortable task at the root when we closed. This is a bug in React."),request.status=CLOSED,destination.end(),request.destination=null):(completeWriting(destination),flushBuffered(destination))}}function startWork(request){request.flushScheduled=null!==request.destination,scheduleMicrotask(function(){return requestStorage.run(request,performWork,request)}),setImmediate(function(){10===request.status&&(request.status=11),null===request.trackedPostpones&&requestStorage.run(request,enqueueEarlyPreloadsAfterInitialWork,request)})}function enqueueEarlyPreloadsAfterInitialWork(request){safelyEmitEarlyPreloads(request,0===request.pendingRootTasks)}function enqueueFlush(request){!1===request.flushScheduled&&0===request.pingedTasks.length&&null!==request.destination&&(request.flushScheduled=!0,setImmediate(function(){var destination=request.destination;destination?flushCompletedQueues(request,destination):request.flushScheduled=!1}))}function startFlowing(request,destination){if(12===request.status)request.status=CLOSED,destination.destroy(request.fatalError);else if(request.status!==CLOSED&&null===request.destination){request.destination=destination;try{flushCompletedQueues(request,destination)}catch(error){logRecoverableError(request,error,destination={},null),fatalError(request,error,destination,null)}}}function abort(request,reason){if(!(request.aborted||11!==request.status&&10!==request.status)){request.aborted=!0,request.fatalError=void 0===reason?Error("The render was aborted by the server without a reason."):"object"==typeof reason&&null!==reason&&"function"==typeof reason.then?Error("The render was aborted by the server with a promise."):reason;var abortableTasks=request.abortableTasks;abortableTasks.forEach(function(task){return abortTaskDEV(task,request)}),setImmediate(function(){var abortableTasks1=abortableTasks;try{if(0<abortableTasks1.size){var error=request.fatalError;abortableTasks1.forEach(function(task){return finishAbortedTaskDEV(task,request,error)}),abortableTasks1.clear()}null!==request.destination&&flushCompletedQueues(request,request.destination)}catch(error$4){logRecoverableError(request,error$4,abortableTasks1={},null),fatalError(request,error$4,abortableTasks1,null)}})}}function addToReplayParent(node,parentKeyPath,trackedPostpones){if(null===parentKeyPath)trackedPostpones.rootNodes.push(node);else{var workingMap=trackedPostpones.workingMap,parentNode=workingMap.get(parentKeyPath);void 0===parentNode&&(parentNode=[parentKeyPath[1],parentKeyPath[2],[],null],workingMap.set(parentKeyPath,parentNode),addToReplayParent(parentNode,parentKeyPath[0],trackedPostpones)),parentNode[2].push(node)}}function getPostponedState(request){var trackedPostpones=request.trackedPostpones;if(null===trackedPostpones||0===trackedPostpones.rootNodes.length&&null===trackedPostpones.rootSlots)return request.trackedPostpones=null;var hasFlushableShell=null===request.completedRootSegment||request.completedRootSegment.status!==POSTPONED&&null!==request.completedPreambleSegments;if(hasFlushableShell){var nextSegmentId=request.nextSegmentId,replaySlots=trackedPostpones.rootSlots,resumableState=request.resumableState;resumableState.bootstrapScriptContent=void 0,resumableState.bootstrapScripts=void 0,resumableState.bootstrapModules=void 0}else{nextSegmentId=0,replaySlots=-1,resumableState=request.resumableState;var renderState=request.renderState;resumableState.nextFormID=0,resumableState.hasBody=!1,resumableState.hasHtml=!1,resumableState.unknownResources={font:renderState.resets.font},resumableState.dnsResources=renderState.resets.dns,resumableState.connectResources=renderState.resets.connect,resumableState.imageResources=renderState.resets.image,resumableState.styleResources=renderState.resets.style,resumableState.scriptResources={},resumableState.moduleUnknownResources={},resumableState.moduleScriptResources={},resumableState.instructions=NothingSent}return trackedPostpones={nextSegmentId:nextSegmentId,rootFormatContext:request.rootFormatContext,progressiveChunkSize:request.progressiveChunkSize,resumableState:request.resumableState,replayNodes:trackedPostpones.rootNodes,replaySlots:replaySlots},hasFlushableShell&&(request.postponedState=trackedPostpones),trackedPostpones}function ensureCorrectIsomorphicReactVersion(){var isomorphicReactPackageVersion=React.version;if("19.3.0-canary-cbb046ab-20260731"!==isomorphicReactPackageVersion)throw Error('Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: '+isomorphicReactPackageVersion+"\n - react-dom: 19.3.0-canary-cbb046ab-20260731\nLearn more: https://react.dev/warnings/version-mismatch")}function createDrainHandler(destination,request){return function(){return startFlowing(request,destination)}}function createCancelHandler(request,reason){return function(){request.destination=null,abort(request,Error(reason))}}function createFakeWritableFromReadableStreamController$1(controller){return{write:function(chunk){return"string"==typeof chunk&&(chunk=textEncoder.encode(chunk)),controller.enqueue(chunk),!0},end:function(){controller.close()},destroy:function(error){"function"==typeof controller.error?controller.error(error):controller.close()}}}function createFakeWritableFromReadableStreamController(controller){return{write:function(chunk){return"string"==typeof chunk&&(chunk=textEncoder.encode(chunk)),controller.enqueue(chunk),!0},end:function(){controller.close()},destroy:function(error){"function"==typeof controller.error?controller.error(error):controller.close()}}}function createFakeWritableFromReadable(readable){return{write:function(chunk){return readable.push(chunk)},end:function(){readable.push(null)},destroy:function(error){readable.destroy(error)}}}var util=__webpack_require__("util"),crypto1=__webpack_require__("crypto"),async_hooks=__webpack_require__("async_hooks"),React=__webpack_require__("./dist/compiled/react/index.js"),ReactDOM=__webpack_require__("./dist/compiled/react-dom/index.js"),stream=__webpack_require__("stream"),REACT_ELEMENT_TYPE=Symbol.for("react.transitional.element"),REACT_PORTAL_TYPE=Symbol.for("react.portal"),REACT_FRAGMENT_TYPE=Symbol.for("react.fragment"),REACT_STRICT_MODE_TYPE=Symbol.for("react.strict_mode"),REACT_PROFILER_TYPE=Symbol.for("react.profiler"),REACT_CONSUMER_TYPE=Symbol.for("react.consumer"),REACT_CONTEXT_TYPE=Symbol.for("react.context"),REACT_FORWARD_REF_TYPE=Symbol.for("react.forward_ref"),REACT_SUSPENSE_TYPE=Symbol.for("react.suspense"),REACT_SUSPENSE_LIST_TYPE=Symbol.for("react.suspense_list"),REACT_MEMO_TYPE=Symbol.for("react.memo"),REACT_LAZY_TYPE=Symbol.for("react.lazy"),REACT_SCOPE_TYPE=Symbol.for("react.scope"),REACT_ACTIVITY_TYPE=Symbol.for("react.activity"),REACT_LEGACY_HIDDEN_TYPE=Symbol.for("react.legacy_hidden"),REACT_MEMO_CACHE_SENTINEL=Symbol.for("react.memo_cache_sentinel"),REACT_VIEW_TRANSITION_TYPE=Symbol.for("react.view_transition"),REACT_RECOVERABLE_TYPE=Symbol.for("react.recoverable"),MAYBE_ITERATOR_SYMBOL=Symbol.iterator,ASYNC_ITERATOR=Symbol.asyncIterator,REACT_OPTIMISTIC_KEY=Symbol.for("react.optimistic_key"),isArrayImpl=Array.isArray,jsxPropsParents=new WeakMap,jsxChildrenParents=new WeakMap,CLIENT_REFERENCE_TAG=Symbol.for("react.client.reference"),scheduleMicrotask=queueMicrotask,currentView=null,writtenBytes=0,destinationHasCapacity$1=!0,textEncoder=new util.TextEncoder,assign=Object.assign,hasOwnProperty=Object.prototype.hasOwnProperty,VALID_ATTRIBUTE_NAME_REGEX=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),illegalAttributeNameCache={},validatedAttributeNameCache={},unitlessNumbers=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),aliases=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["maskType","mask-type"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),hasReadOnlyValue={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},ariaProperties={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},warnedProperties$1={},rARIA$1=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),rARIACamel$1=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),didWarnValueNull=!1,possibleStandardNames={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",credentialless:"credentialless",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",masktype:"maskType",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},warnedProperties={},EVENT_NAME_REGEX=/^on./,INVALID_EVENT_NAME_REGEX=/^on[^A-Z]/,rARIA=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),rARIACamel=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),badVendoredStyleNamePattern=/^(?:webkit|moz|o)[A-Z]/,msPattern$1=/^-ms-/,hyphenPattern=/-(.)/g,badStyleValueWithSemicolonPattern=/;\s*$/,warnedStyleNames={},warnedStyleValues={},warnedForNaNValue=!1,warnedForInfinityValue=!1,matchHtmlRegExp=/["'&<>]/,uppercasePattern=/([A-Z])/g,msPattern=/^ms-/,isJavaScriptProtocol=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,ReactSharedInternals=React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ReactDOMSharedInternals=ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,NotPending=Object.freeze({pending:!1,data:null,method:null,action:null}),previousDispatcher=ReactDOMSharedInternals.d;ReactDOMSharedInternals.d={f:previousDispatcher.f,r:previousDispatcher.r,D:function(href){var request=resolveRequest();if(request){var header,JSCompiler_temp,resumableState=request.resumableState,renderState=request.renderState;"string"==typeof href&&href&&(resumableState.dnsResources.hasOwnProperty(href)||(resumableState.dnsResources[href]=EXISTS,(JSCompiler_temp=(resumableState=renderState.headers)&&0<resumableState.remainingCapacity)&&(header="<"+escapeHrefForLinkHeaderURLContext(href)+">; rel=dns-prefetch",JSCompiler_temp=0<=(resumableState.remainingCapacity-=header.length+2)),JSCompiler_temp?(renderState.resets.dns[href]=EXISTS,resumableState.preconnects&&(resumableState.preconnects+=", "),resumableState.preconnects+=header):(pushLinkImpl(header=[],{href:href,rel:"dns-prefetch"}),renderState.preconnects.add(header))),enqueueFlush(request))}else previousDispatcher.D(href)},C:function(href,crossOrigin){var request=resolveRequest();if(request){var resumableState=request.resumableState,renderState=request.renderState;if("string"==typeof href&&href){var header,JSCompiler_temp,bucket="use-credentials"===crossOrigin?"credentials":"string"==typeof crossOrigin?"anonymous":"default";if(!resumableState.connectResources[bucket].hasOwnProperty(href)){if(resumableState.connectResources[bucket][href]=EXISTS,JSCompiler_temp=(resumableState=renderState.headers)&&0<resumableState.remainingCapacity){(JSCompiler_temp="<"+escapeHrefForLinkHeaderURLContext(href)+">; rel=preconnect","string"==typeof crossOrigin)&&(JSCompiler_temp+='; crossorigin="'+escapeStringForLinkHeaderQuotedParamValueContext(crossOrigin,"crossOrigin")+'"');header=JSCompiler_temp,JSCompiler_temp=0<=(resumableState.remainingCapacity-=header.length+2)}JSCompiler_temp?(renderState.resets.connect[bucket][href]=EXISTS,resumableState.preconnects&&(resumableState.preconnects+=", "),resumableState.preconnects+=header):(pushLinkImpl(bucket=[],{rel:"preconnect",href:href,crossOrigin:crossOrigin}),renderState.preconnects.add(bucket))}enqueueFlush(request)}}else previousDispatcher.C(href,crossOrigin)},L:function(href,as,options){var request=resolveRequest();if(request){var resumableState=request.resumableState,renderState=request.renderState;if(as&&href){switch(as){case"image":if(options)var header,imageSrcSet=options.imageSrcSet,imageSizes=options.imageSizes,fetchPriority=options.fetchPriority;var key=imageSrcSet?imageSrcSet+"\n"+(imageSizes||""):href;if(resumableState.imageResources.hasOwnProperty(key))return;resumableState.imageResources[key]=PRELOAD_NO_CREDS,(resumableState=renderState.headers)&&0<resumableState.remainingCapacity&&"string"!=typeof imageSrcSet&&"high"===fetchPriority&&(header=getPreloadAsHeader(href,as,options),0<=(resumableState.remainingCapacity-=header.length+2))?(renderState.resets.image[key]=PRELOAD_NO_CREDS,resumableState.highImagePreloads&&(resumableState.highImagePreloads+=", "),resumableState.highImagePreloads+=header):(pushLinkImpl(resumableState=[],assign({rel:"preload",href:imageSrcSet?void 0:href,as:as},options)),"high"===fetchPriority?renderState.highImagePreloads.add(resumableState):(renderState.bulkPreloads.add(resumableState),renderState.preloads.images.set(key,resumableState)));break;case"style":if(resumableState.styleResources.hasOwnProperty(href))return;pushLinkImpl(imageSrcSet=[],assign({rel:"preload",href:href,as:as},options)),resumableState.styleResources[href]=options&&("string"==typeof options.crossOrigin||"string"==typeof options.integrity)?[options.crossOrigin,options.integrity]:PRELOAD_NO_CREDS,renderState.preloads.stylesheets.set(href,imageSrcSet),renderState.bulkPreloads.add(imageSrcSet);break;case"script":if(resumableState.scriptResources.hasOwnProperty(href))return;imageSrcSet=[],renderState.preloads.scripts.set(href,imageSrcSet),renderState.bulkPreloads.add(imageSrcSet),pushLinkImpl(imageSrcSet,assign({rel:"preload",href:href,as:as},options)),resumableState.scriptResources[href]=options&&("string"==typeof options.crossOrigin||"string"==typeof options.integrity)?[options.crossOrigin,options.integrity]:PRELOAD_NO_CREDS;break;default:if(resumableState.unknownResources.hasOwnProperty(as)){if((imageSrcSet=resumableState.unknownResources[as]).hasOwnProperty(href))return}else imageSrcSet={},resumableState.unknownResources[as]=imageSrcSet;imageSrcSet[href]=PRELOAD_NO_CREDS,(resumableState=renderState.headers)&&0<resumableState.remainingCapacity&&"font"===as&&(key=getPreloadAsHeader(href,as,options),0<=(resumableState.remainingCapacity-=key.length+2))?(renderState.resets.font[href]=PRELOAD_NO_CREDS,resumableState.fontPreloads&&(resumableState.fontPreloads+=", "),resumableState.fontPreloads+=key):(pushLinkImpl(resumableState=[],href=assign({rel:"preload",href:href,as:as},options)),"font"===as)?renderState.fontPreloads.add(resumableState):renderState.bulkPreloads.add(resumableState)}enqueueFlush(request)}}else previousDispatcher.L(href,as,options)},m:function(href,options){var request=resolveRequest();if(request){var resumableState=request.resumableState,renderState=request.renderState;if(href){var as=options&&"string"==typeof options.as?options.as:"script";if("script"===as){if(resumableState.moduleScriptResources.hasOwnProperty(href))return;as=[],resumableState.moduleScriptResources[href]=options&&("string"==typeof options.crossOrigin||"string"==typeof options.integrity)?[options.crossOrigin,options.integrity]:PRELOAD_NO_CREDS,renderState.preloads.moduleScripts.set(href,as)}else{if(resumableState.moduleUnknownResources.hasOwnProperty(as)){var resources=resumableState.moduleUnknownResources[as];if(resources.hasOwnProperty(href))return}else resources={},resumableState.moduleUnknownResources[as]=resources;as=[],resources[href]=PRELOAD_NO_CREDS}pushLinkImpl(as,assign({rel:"modulepreload",href:href},options)),renderState.bulkPreloads.add(as),enqueueFlush(request)}}else previousDispatcher.m(href,options)},X:function(src,options){var request=resolveRequest();if(request){var resumableState=request.resumableState,renderState=request.renderState;if(src){var resourceState=resumableState.scriptResources.hasOwnProperty(src)?resumableState.scriptResources[src]:void 0;resourceState!==EXISTS&&(resumableState.scriptResources[src]=EXISTS,options=assign({src:src,async:!0},options),resourceState&&(2===resourceState.length&&adoptPreloadCredentials(options,resourceState),src=renderState.preloads.scripts.get(src))&&(src.length=0),src=[],renderState.scripts.add(src),pushScriptImpl(src,options),enqueueFlush(request))}}else previousDispatcher.X(src,options)},S:function(href,precedence,options){var request=resolveRequest();if(request){var resumableState=request.resumableState,renderState=request.renderState;if(href){precedence=precedence||"default";var styleQueue=renderState.styles.get(precedence),resourceState=resumableState.styleResources.hasOwnProperty(href)?resumableState.styleResources[href]:void 0;resourceState!==EXISTS&&(resumableState.styleResources[href]=EXISTS,styleQueue||(styleQueue={precedence:escapeTextForBrowser(precedence),rules:[],hrefs:[],sheets:new Map},renderState.styles.set(precedence,styleQueue)),precedence={state:PENDING$1,props:assign({rel:"stylesheet",href:href,"data-precedence":precedence},options)},resourceState&&(2===resourceState.length&&adoptPreloadCredentials(precedence.props,resourceState),(renderState=renderState.preloads.stylesheets.get(href))&&0<renderState.length?renderState.length=0:precedence.state=PRELOADED),styleQueue.sheets.set(href,precedence),enqueueFlush(request))}}else previousDispatcher.S(href,precedence,options)},M:function(src,options){var request=resolveRequest();if(request){var resumableState=request.resumableState,renderState=request.renderState;if(src){var resourceState=resumableState.moduleScriptResources.hasOwnProperty(src)?resumableState.moduleScriptResources[src]:void 0;resourceState!==EXISTS&&(resumableState.moduleScriptResources[src]=EXISTS,options=assign({src:src,type:"module",async:!0},options),resourceState&&(2===resourceState.length&&adoptPreloadCredentials(options,resourceState),src=renderState.preloads.moduleScripts.get(src))&&(src.length=0),src=[],renderState.scripts.add(src),pushScriptImpl(src,options),enqueueFlush(request))}}else previousDispatcher.M(src,options)}};var NothingSent=0,SentCompleteSegmentFunction=1,SentCompleteBoundaryFunction=2,SentClientRenderFunction=4,SentStyleInsertionFunction=8,SentCompletedShellId=32,SentMarkShellTime=64,NeedUpgradeToViewTransitions=128,SentUpgradeToViewTransitions=256,EXISTS=null,PRELOAD_NO_CREDS=[];Object.freeze(PRELOAD_NO_CREDS);var currentlyFlushingRenderState=null;stringToPrecomputedChunk('"></template>');var startInlineScript=stringToPrecomputedChunk("<script"),endInlineScript=stringToPrecomputedChunk("<\/script>"),startScriptSrc=stringToPrecomputedChunk('<script src="'),startModuleSrc=stringToPrecomputedChunk('<script type="module" src="'),scriptNonce=stringToPrecomputedChunk(' nonce="'),scriptIntegirty=stringToPrecomputedChunk(' integrity="'),scriptCrossOrigin=stringToPrecomputedChunk(' crossorigin="'),endAsyncScript=stringToPrecomputedChunk(' async=""><\/script>'),startInlineStyle=stringToPrecomputedChunk("<style"),scriptRegex=/(<\/|<)(s)(cript)/gi,importMapScriptStart=stringToPrecomputedChunk('<script type="importmap">'),importMapScriptEnd=stringToPrecomputedChunk("<\/script>"),didWarnForNewBooleanPropsWithEmptyValue={},ROOT_HTML_MODE=0,HTML_HTML_MODE=1,HTML_MODE=2,HTML_HEAD_MODE=3,SVG_MODE=4,MATHML_MODE=5,HTML_TABLE_MODE=6,HTML_TABLE_BODY_MODE=7,HTML_TABLE_ROW_MODE=8,HTML_COLGROUP_MODE=9,textSeparator=stringToPrecomputedChunk("\x3c!-- --\x3e"),styleNameCache=new Map,styleAttributeStart=stringToPrecomputedChunk(' style="'),styleAssign=stringToPrecomputedChunk(":"),styleSeparator=stringToPrecomputedChunk(";"),attributeSeparator=stringToPrecomputedChunk(" "),attributeAssign=stringToPrecomputedChunk('="'),attributeEnd=stringToPrecomputedChunk('"'),attributeEmptyString=stringToPrecomputedChunk('=""'),actionJavaScriptURL=stringToPrecomputedChunk(escapeTextForBrowser("javascript:throw new Error('React form unexpectedly submitted.')")),startHiddenInputChunk=stringToPrecomputedChunk('<input type="hidden"'),endOfStartTag=stringToPrecomputedChunk(">"),endOfStartTagSelfClosing=stringToPrecomputedChunk("/>"),didWarnDefaultInputValue=!1,didWarnDefaultChecked=!1,didWarnDefaultSelectValue=!1,didWarnDefaultTextareaValue=!1,didWarnInvalidOptionChildren=!1,didWarnInvalidOptionInnerHTML=!1,didWarnSelectedSetOnOption=!1,didWarnFormActionType=!1,didWarnFormActionName=!1,didWarnFormActionTarget=!1,didWarnFormActionMethod=!1,selectedMarkerAttribute=stringToPrecomputedChunk(' selected=""'),formReplayingRuntimeScript=stringToPrecomputedChunk('addEventListener("submit",function(a){if(!a.defaultPrevented){var b=a.target,d=a.submitter,c=b.action,e=d;if(d){var f=d.getAttribute("formAction");null!=f&&(c=f,e=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===c&&(a.preventDefault(),a=new FormData(b,e),c=b.ownerDocument||b,(c.$$reactFormReplay=c.$$reactFormReplay||[]).push(b,d,a))}});'),formStateMarkerIsMatching=stringToPrecomputedChunk("\x3c!--F!--\x3e"),formStateMarkerIsNotMatching=stringToPrecomputedChunk("\x3c!--F--\x3e"),styleRegex=/(<\/|<)(s)(tyle)/gi,headPreambleContributionChunk=stringToPrecomputedChunk("\x3c!--head--\x3e"),bodyPreambleContributionChunk=stringToPrecomputedChunk("\x3c!--body--\x3e"),htmlPreambleContributionChunk=stringToPrecomputedChunk("\x3c!--html--\x3e"),leadingNewline=stringToPrecomputedChunk("\n"),VALID_TAG_REGEX=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,validatedTagCache=new Map,doctypeChunk=stringToPrecomputedChunk("<!DOCTYPE html>"),endTagCache=new Map,shellTimeRuntimeScript=stringToPrecomputedChunk("requestAnimationFrame(function(){$RT=performance.now()});"),placeholder1=stringToPrecomputedChunk('<template id="'),placeholder2=stringToPrecomputedChunk('"></template>'),startActivityBoundary=stringToPrecomputedChunk("\x3c!--&--\x3e"),endActivityBoundary=stringToPrecomputedChunk("\x3c!--/&--\x3e"),startCompletedSuspenseBoundary=stringToPrecomputedChunk("\x3c!--$--\x3e"),startPendingSuspenseBoundary1=stringToPrecomputedChunk('\x3c!--$?--\x3e<template id="'),startPendingSuspenseBoundary2=stringToPrecomputedChunk('"></template>'),startClientRenderedSuspenseBoundary=stringToPrecomputedChunk("\x3c!--$!--\x3e"),endSuspenseBoundary=stringToPrecomputedChunk("\x3c!--/$--\x3e"),clientRenderedSuspenseBoundaryError1=stringToPrecomputedChunk("<template"),clientRenderedSuspenseBoundaryErrorAttrInterstitial=stringToPrecomputedChunk('"'),clientRenderedSuspenseBoundaryError1A=stringToPrecomputedChunk(' data-dgst="'),clientRenderedSuspenseBoundaryError1B=stringToPrecomputedChunk(' data-msg="'),clientRenderedSuspenseBoundaryError1C=stringToPrecomputedChunk(' data-stck="'),clientRenderedSuspenseBoundaryError1D=stringToPrecomputedChunk(' data-cstck="'),clientRenderedSuspenseBoundaryError2=stringToPrecomputedChunk("></template>"),startSegmentHTML=stringToPrecomputedChunk('<div hidden id="'),startSegmentHTML2=stringToPrecomputedChunk('">'),endSegmentHTML=stringToPrecomputedChunk("</div>"),startSegmentSVG=stringToPrecomputedChunk('<svg aria-hidden="true" style="display:none" id="'),startSegmentSVG2=stringToPrecomputedChunk('">'),endSegmentSVG=stringToPrecomputedChunk("</svg>"),startSegmentMathML=stringToPrecomputedChunk('<math aria-hidden="true" style="display:none" id="'),startSegmentMathML2=stringToPrecomputedChunk('">'),endSegmentMathML=stringToPrecomputedChunk("</math>"),startSegmentTable=stringToPrecomputedChunk('<table hidden id="'),startSegmentTable2=stringToPrecomputedChunk('">'),endSegmentTable=stringToPrecomputedChunk("</table>"),startSegmentTableBody=stringToPrecomputedChunk('<table hidden><tbody id="'),startSegmentTableBody2=stringToPrecomputedChunk('">'),endSegmentTableBody=stringToPrecomputedChunk("</tbody></table>"),startSegmentTableRow=stringToPrecomputedChunk('<table hidden><tr id="'),startSegmentTableRow2=stringToPrecomputedChunk('">'),endSegmentTableRow=stringToPrecomputedChunk("</tr></table>"),startSegmentColGroup=stringToPrecomputedChunk('<table hidden><colgroup id="'),startSegmentColGroup2=stringToPrecomputedChunk('">'),endSegmentColGroup=stringToPrecomputedChunk("</colgroup></table>"),completeSegmentScript1Full=stringToPrecomputedChunk('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),completeSegmentScript1Partial=stringToPrecomputedChunk('$RS("'),completeSegmentScript2=stringToPrecomputedChunk('","'),completeSegmentScriptEnd=stringToPrecomputedChunk('")<\/script>');stringToPrecomputedChunk('<template data-rsi="" data-sid="'),stringToPrecomputedChunk('" data-pid="');var completeBoundaryScriptFunctionOnly=stringToPrecomputedChunk('$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};\n$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};'),completeBoundaryUpgradeToViewTransitionsInstruction='$RV=function(B,g){function h(a,c){var e=a.getAttribute(c);e&&(c=a.style,l.push(a,c.viewTransitionName,c.viewTransitionClass),"auto"!==e&&(c.viewTransitionClass=e),(a=a.getAttribute("vt-name"))||(a="_T_"+N++ +"_"),a=CSS.escape(a)!==a?"r-"+btoa(a).replace(/=/g,""):a,c.viewTransitionName=a,C=!0)}var C=!1,N=0,l=[];try{var f=document.__reactViewTransition;if(f){f.finished.finally($RV.bind(null,g));return}var m=new Map;for(f=1;f<g.length;f+=2)for(var k=g[f].querySelectorAll("[vt-share]"),d=0;d<k.length;d++){var b=k[d];m.set(b.getAttribute("vt-name"),b)}var u=[];for(k=0;k<g.length;k+=2){var D=g[k],x=D.parentNode;if(x){var v=x.getBoundingClientRect();if(v.left||v.top||v.width||v.height){b=D;for(f=0;b;){if(8===b.nodeType){var t=b.data;if("/$"===t)if(0===f)break;else f--;else"$"!==t&&"$?"!==t&&"$~"!==t&&"$!"!==t||f++}else if(1===b.nodeType){d=b;var E=d.getAttribute("vt-name"),y=m.get(E);h(d,y?"vt-share":"vt-exit");y&&(h(y,"vt-share"),m.set(E,null));for(var F=d.querySelectorAll("[vt-share]"),\nz=0;z<F.length;z++){var G=F[z],H=G.getAttribute("vt-name"),I=m.get(H);I&&(h(G,"vt-share"),h(I,"vt-share"),m.set(H,null))}var J=d.querySelectorAll("[vt-parent-exit]");for(d=0;d<J.length;d++)h(J[d],"vt-parent-exit")}b=b.nextSibling}for(var K=g[k+1],n=K.firstElementChild;n;){null!==m.get(n.getAttribute("vt-name"))&&h(n,"vt-enter");var L=n.querySelectorAll("[vt-parent-enter]");for(b=0;b<L.length;b++)h(L[b],"vt-parent-enter");n=n.nextElementSibling}b=x;do for(var p=b.firstElementChild;p;){var M=p.getAttribute("vt-update");\nM&&"none"!==M&&!l.includes(p)&&h(p,"vt-update");p=p.nextElementSibling}while((b=b.parentNode)&&1===b.nodeType&&"none"!==b.getAttribute("vt-update"));u.push.apply(u,K.querySelectorAll(\'img[src]:not([loading="lazy"])\'))}}}if(C){var A=document.__reactViewTransition=document.startViewTransition({update:function(){B(g);for(var a=[document.documentElement.clientHeight,document.fonts.ready],c={},e=0;e<u.length;c={g:c.g},e++)if(c.g=u[e],!c.g.complete){var q=c.g.getBoundingClientRect();0<q.bottom&&0<q.right&&\nq.top<window.innerHeight&&q.left<window.innerWidth&&(q=new Promise(function(w){return function(r){w.g.addEventListener("load",r);w.g.addEventListener("error",r)}}(c)),a.push(q))}return Promise.race([Promise.all(a),new Promise(function(w){var r=performance.now();setTimeout(w,2300>r&&2E3<r?2300-r:500)})])},types:[]});A.ready.finally(function(){for(var a=l.length-3;0<=a;a-=3){var c=l[a],e=c.style;e.viewTransitionName=l[a+1];e.viewTransitionClass=l[a+1];""===c.getAttribute("style")&&c.removeAttribute("style")}});\nA.finished.finally(function(){document.__reactViewTransition===A&&(document.__reactViewTransition=null)});$RB=[];return}}catch(a){}B(g)}.bind(null,$RV);',completeBoundaryScript1Partial=stringToPrecomputedChunk('$RC("'),completeBoundaryWithStylesScript1FullPartial=stringToPrecomputedChunk('$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=\n"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=\n"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("'),completeBoundaryWithStylesScript1Partial=stringToPrecomputedChunk('$RR("'),completeBoundaryScript2=stringToPrecomputedChunk('","'),completeBoundaryScript3a=stringToPrecomputedChunk('",'),completeBoundaryScript3b=stringToPrecomputedChunk('"'),completeBoundaryScriptEnd=stringToPrecomputedChunk(")<\/script>");stringToPrecomputedChunk('<template data-rci="" data-bid="'),stringToPrecomputedChunk('<template data-rri="" data-bid="'),stringToPrecomputedChunk('" data-sid="'),stringToPrecomputedChunk('" data-sty="');var clientRenderScriptFunctionOnly=stringToPrecomputedChunk('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,null!=c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};'),clientRenderScript1Full=stringToPrecomputedChunk('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,null!=c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'),clientRenderScript1Partial=stringToPrecomputedChunk('$RX("'),clientRenderScript1A=stringToPrecomputedChunk('"'),clientRenderErrorScriptArgInterstitial=stringToPrecomputedChunk(","),clientRenderErrorScriptNull=stringToPrecomputedChunk("null"),clientRenderScriptEnd=stringToPrecomputedChunk(")<\/script>");stringToPrecomputedChunk('<template data-rxi="" data-bid="'),stringToPrecomputedChunk('" data-dgst="'),stringToPrecomputedChunk('" data-msg="'),stringToPrecomputedChunk('" data-stck="'),stringToPrecomputedChunk('" data-cstck="');var regexForJSStringsInInstructionScripts=/[<\u2028\u2029]/g,regexForJSStringsInScripts=/[&><\u2028\u2029]/g,lateStyleTagResourceOpen1=stringToPrecomputedChunk(' media="not all" data-precedence="'),lateStyleTagResourceOpen2=stringToPrecomputedChunk('" data-href="'),lateStyleTagResourceOpen3=stringToPrecomputedChunk('">'),lateStyleTagTemplateClose=stringToPrecomputedChunk("</style>"),currentlyRenderingBoundaryHasStylesToHoist=!1,destinationHasCapacity=!0,stylesheetFlushingQueue=[],styleTagResourceOpen1=stringToPrecomputedChunk(' data-precedence="'),styleTagResourceOpen2=stringToPrecomputedChunk('" data-href="'),spaceSeparator=stringToPrecomputedChunk(" "),styleTagResourceOpen3=stringToPrecomputedChunk('">'),styleTagResourceClose=stringToPrecomputedChunk("</style>");stringToPrecomputedChunk('<link rel="expect" href="#'),stringToPrecomputedChunk('" blocking="render"/>');var completedShellIdAttributeStart=stringToPrecomputedChunk(' id="'),arrayFirstOpenBracket=stringToPrecomputedChunk("["),arraySubsequentOpenBracket=stringToPrecomputedChunk(",["),arrayInterstitial=stringToPrecomputedChunk(","),arrayCloseBracket=stringToPrecomputedChunk("]"),PENDING$1=0,PRELOADED=1,PREAMBLE=2,LATE=3,regexForHrefInLinkHeaderURLContext=/[<>\r\n]/g,regexForLinkHeaderQuotedParamValueContext=/["';,\r\n]/g,bind=Function.prototype.bind,requestStorage=new async_hooks.AsyncLocalStorage,REACT_CLIENT_REFERENCE=Symbol.for("react.client.reference"),emptyContextObject={};Object.freeze(emptyContextObject);var currentHookNameInDev,prevLog,prevInfo,prevWarn,prevError,prevGroup,prevGroupCollapsed,prevGroupEnd,rendererSigil={},currentActiveSnapshot=null,didWarnAboutNoopUpdateForComponent={},didWarnAboutDeprecatedWillMount={},didWarnAboutUninitializedState=new Set,didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate=new Set,didWarnAboutLegacyLifecyclesAndDerivedState=new Set,didWarnAboutDirectlyAssigningPropsToState=new Set,didWarnAboutUndefinedDerivedState=new Set,didWarnAboutContextTypes$1=new Set,didWarnAboutChildContextTypes=new Set,didWarnAboutInvalidateContextType=new Set,didWarnOnInvalidCallback=new Set,classComponentUpdater={enqueueSetState:function(inst,payload,callback){var internals=inst._reactInternals;null===internals.queue?warnNoop(inst,"setState"):(internals.queue.push(payload),null!=callback&&warnOnInvalidCallback(callback))},enqueueReplaceState:function(inst,payload,callback){(inst=inst._reactInternals).replace=!0,inst.queue=[payload],null!=callback&&warnOnInvalidCallback(callback)},enqueueForceUpdate:function(inst,callback){null===inst._reactInternals.queue?warnNoop(inst,"forceUpdate"):null!=callback&&warnOnInvalidCallback(callback)}},emptyTreeContext={id:1,overflow:""},clz32=Math.clz32?Math.clz32:function(x){return 0==(x>>>=0)?32:31-(log(x)/LN2|0)|0},log=Math.log,LN2=Math.LN2,currentTaskInDEV=null,SuspenseException=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),suspendedThenable=null,shouldCaptureSuspendedCallSite=!1,suspendedCallSiteStack=null,suspendedCallSiteDebugTask=null,objectIs="function"==typeof Object.is?Object.is:function(x,y){return x===y&&(0!==x||1/x==1/y)||x!=x&&y!=y},currentlyRenderingComponent=null,currentlyRenderingTask=null,currentlyRenderingRequest=null,currentlyRenderingKeyPath=null,firstWorkInProgressHook=null,workInProgressHook=null,isReRender=!1,didScheduleRenderPhaseUpdate=!1,localIdCounter=0,actionStateCounter=0,actionStateMatchingIndex=-1,thenableIndexCounter=0,thenableState=null,RecoverableException=Error("Recoverable Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render so a downstream renderer can recover it. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior."),suspendedRecoverableError=null,renderPhaseUpdates=null,numberOfReRenders=0,isInHookUserCodeInDev=!1,HooksDispatcher={readContext:readContext,use:function(usable){if(null!==usable&&"object"==typeof usable){if("function"==typeof usable.then)return unwrapThenable(usable);if(usable.$$typeof===REACT_RECOVERABLE_TYPE)throw suspendedRecoverableError=createFatalRecoverableError(usable),RecoverableException;if(usable.$$typeof===REACT_CONTEXT_TYPE)return readContext(usable)}throw Error("An unsupported type was passed to use(): "+String(usable))},useContext:function(context){return currentHookNameInDev="useContext",resolveCurrentlyRenderingComponent(),context._currentValue},useMemo:useMemo,useReducer:useReducer,useRef:function(initialValue){currentlyRenderingComponent=resolveCurrentlyRenderingComponent();var previousRef=(workInProgressHook=createWorkInProgressHook()).memoizedState;return null===previousRef?(Object.seal(initialValue={current:initialValue}),workInProgressHook.memoizedState=initialValue):previousRef},useState:function(initialState){return currentHookNameInDev="useState",useReducer(basicStateReducer,initialState)},useInsertionEffect:noop,useLayoutEffect:noop,useCallback:function(callback,deps){return useMemo(function(){return callback},deps)},useImperativeHandle:noop,useEffect:noop,useDebugValue:noop,useDeferredValue:function(value,initialValue){return resolveCurrentlyRenderingComponent(),void 0!==initialValue?initialValue:value},useTransition:function(){return resolveCurrentlyRenderingComponent(),[!1,unsupportedStartTransition]},useId:function(){var treeId=getTreeId(currentlyRenderingTask.treeContext),resumableState=currentResumableState;if(null===resumableState)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");return makeId(resumableState,treeId,localIdCounter++)},useSyncExternalStore:function(subscribe,getSnapshot,getServerSnapshot){if(void 0===getServerSnapshot)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return getServerSnapshot()},useOptimistic:function(passthrough){return resolveCurrentlyRenderingComponent(),[passthrough,unsupportedSetOptimisticState]},useActionState:useActionState,useFormState:useActionState,useHostTransitionStatus:function(){return resolveCurrentlyRenderingComponent(),NotPending},useMemoCache:function(size){for(var data=Array(size),i=0;i<size;i++)data[i]=REACT_MEMO_CACHE_SENTINEL;return data},useCacheRefresh:function(){return unsupportedRefresh},useEffectEvent:function(){return throwOnUseEffectEventCall}},currentResumableState=null,DefaultAsyncDispatcher={getCacheForType:function(){throw Error("Not implemented.")},cacheSignal:function(){throw Error("Not implemented.")},getOwner:function(){return null===currentTaskInDEV?null:currentTaskInDEV.componentStack}},disabledDepth=0;disabledLog.__reactDisabledLog=!0;var prefix,suffix,reentry=!1,componentFrameCache=new("function"==typeof WeakMap?WeakMap:Map),callComponent={react_stack_bottom_frame:function(Component,props,secondArg){return Component(props,secondArg)}},callComponentInDEV=callComponent.react_stack_bottom_frame.bind(callComponent),callRender={react_stack_bottom_frame:function(instance){return instance.render()}},callRenderInDEV=callRender.react_stack_bottom_frame.bind(callRender),callLazyInit={react_stack_bottom_frame:function(lazy){return(0,lazy._init)(lazy._payload)}},callLazyInitInDEV=callLazyInit.react_stack_bottom_frame.bind(callLazyInit),lastResetTime=0;if("object"==typeof performance&&"function"==typeof performance.now)var localPerformance=performance,getCurrentTime=function(){return localPerformance.now()};else{var localDate=Date;getCurrentTime=function(){return localDate.now()}}var REACT_RECOVERABLE_DIGEST="",CLIENT_RENDERED=4,PENDING=0,COMPLETED=1,FLUSHED=2,ABORTED=3,ERRORED=4,POSTPONED=5,CLOSED=13,currentRequest=null,didWarnAboutBadClass={},didWarnAboutContextTypes={},didWarnAboutContextTypeOnFunctionComponent={},didWarnAboutGetDerivedStateOnFunctionComponent={},didWarnAboutReassigningProps=!1,didWarnAboutGenerators=!1,didWarnAboutMaps=!1,flushedByteSize=0,flushingPartialBoundaries=!1,flushingShell=!1;ensureCorrectIsomorphicReactVersion(),ensureCorrectIsomorphicReactVersion(),exports.prerender=function(children,options){return new Promise(function(resolve,reject){var onHeadersImpl,onHeaders=options?options.onHeaders:void 0;onHeaders&&(onHeadersImpl=function(headersDescriptor){onHeaders(new Headers(headersDescriptor))});var resources=createResumableState(options?options.identifierPrefix:void 0,options?options.unstable_externalRuntimeSrc:void 0,options?options.bootstrapScriptContent:void 0,options?options.bootstrapScripts:void 0,options?options.bootstrapModules:void 0),request=createPrerenderRequest(children,resources,createRenderState(resources,void 0,options?options.unstable_externalRuntimeSrc:void 0,options?options.importMap:void 0,onHeadersImpl,options?options.maxHeadersLength:void 0),createRootFormatContext(options?options.namespaceURI:void 0),options?options.progressiveChunkSize:void 0,options?options.onError:void 0,function(){var writable,stream=new ReadableStream({type:"bytes",start:function(controller){writable=createFakeWritableFromReadableStreamController(controller)},pull:function(){startFlowing(request,writable)},cancel:function(reason){request.destination=null,abort(request,reason)}},{highWaterMark:0});resolve(stream={postponed:getPostponedState(request),prelude:stream})},void 0,void 0,reject);if(options&&options.signal){var signal=options.signal;if(signal.aborted)abort(request,signal.reason);else{var listener=function(){abort(request,signal.reason),signal.removeEventListener("abort",listener)};signal.addEventListener("abort",listener)}}startWork(request)})},exports.prerenderToNodeStream=function(children,options){return new Promise(function(resolve,reject){var resumableState=createResumableState(options?options.identifierPrefix:void 0,options?options.unstable_externalRuntimeSrc:void 0,options?options.bootstrapScriptContent:void 0,options?options.bootstrapScripts:void 0,options?options.bootstrapModules:void 0),request=createPrerenderRequest(children,resumableState,createRenderState(resumableState,void 0,options?options.unstable_externalRuntimeSrc:void 0,options?options.importMap:void 0,options?options.onHeaders:void 0,options?options.maxHeadersLength:void 0),createRootFormatContext(options?options.namespaceURI:void 0),options?options.progressiveChunkSize:void 0,options?options.onError:void 0,function(){var readable=new stream.Readable({read:function(){startFlowing(request,writable)}}),writable=createFakeWritableFromReadable(readable);resolve(readable={postponed:getPostponedState(request),prelude:readable})},void 0,void 0,reject);if(options&&options.signal){var signal=options.signal;if(signal.aborted)abort(request,signal.reason);else{var listener=function(){abort(request,signal.reason),signal.removeEventListener("abort",listener)};signal.addEventListener("abort",listener)}}startWork(request)})},exports.renderToPipeableStream=function(children,options){var resumableState,request=createRequest(children,resumableState=createResumableState(options?options.identifierPrefix:void 0,options?options.unstable_externalRuntimeSrc:void 0,options?options.bootstrapScriptContent:void 0,options?options.bootstrapScripts:void 0,options?options.bootstrapModules:void 0),createRenderState(resumableState,options?options.nonce:void 0,options?options.unstable_externalRuntimeSrc:void 0,options?options.importMap:void 0,options?options.onHeaders:void 0,options?options.maxHeadersLength:void 0),createRootFormatContext(options?options.namespaceURI:void 0),options?options.progressiveChunkSize:void 0,options?options.onError:void 0,options?options.onAllReady:void 0,options?options.onShellReady:void 0,options?options.onShellError:void 0,void 0,options?options.formState:void 0),hasStartedFlowing=!1;return startWork(request),{pipe:function(destination){if(hasStartedFlowing)throw Error("React currently only supports piping to one writable stream.");return hasStartedFlowing=!0,safelyEmitEarlyPreloads(request,null===request.trackedPostpones?0===request.pendingRootTasks:null===request.completedRootSegment?0===request.pendingRootTasks:request.completedRootSegment.status!==POSTPONED),startFlowing(request,destination),destination.on("drain",createDrainHandler(destination,request)),destination.on("error",createCancelHandler(request,"The destination stream errored while writing data.")),destination.on("close",createCancelHandler(request,"The destination stream closed early.")),destination},abort:function(reason){abort(request,reason)}}},exports.renderToReadableStream=function(children,options){return new Promise(function(resolve,reject){var onFatalError,onAllReady,onHeadersImpl,allReady=new Promise(function(res,rej){onAllReady=res,onFatalError=rej}),onHeaders=options?options.onHeaders:void 0;onHeaders&&(onHeadersImpl=function(headersDescriptor){onHeaders(new Headers(headersDescriptor))});var resumableState=createResumableState(options?options.identifierPrefix:void 0,options?options.unstable_externalRuntimeSrc:void 0,options?options.bootstrapScriptContent:void 0,options?options.bootstrapScripts:void 0,options?options.bootstrapModules:void 0),request=createRequest(children,resumableState,createRenderState(resumableState,options?options.nonce:void 0,options?options.unstable_externalRuntimeSrc:void 0,options?options.importMap:void 0,onHeadersImpl,options?options.maxHeadersLength:void 0),createRootFormatContext(options?options.namespaceURI:void 0),options?options.progressiveChunkSize:void 0,options?options.onError:void 0,onAllReady,function(){var writable,stream=new ReadableStream({type:"bytes",start:function(controller){writable=createFakeWritableFromReadableStreamController$1(controller)},pull:function(){startFlowing(request,writable)},cancel:function(reason){request.destination=null,abort(request,reason)}},{highWaterMark:0});stream.allReady=allReady,resolve(stream)},function(error){allReady.catch(function(){}),reject(error)},onFatalError,options?options.formState:void 0);if(options&&options.signal){var signal=options.signal;if(signal.aborted)abort(request,signal.reason);else{var listener=function(){abort(request,signal.reason),signal.removeEventListener("abort",listener)};signal.addEventListener("abort",listener)}}startWork(request)})},exports.resume=function(children,postponedState,options){return new Promise(function(resolve,reject){var onFatalError,onAllReady,allReady=new Promise(function(res,rej){onAllReady=res,onFatalError=rej}),request=resumeRequest(children,postponedState,createRenderState(postponedState.resumableState,options?options.nonce:void 0,void 0,void 0,void 0,void 0),options?options.onError:void 0,onAllReady,function(){var writable,stream=new ReadableStream({type:"bytes",start:function(controller){writable=createFakeWritableFromReadableStreamController$1(controller)},pull:function(){startFlowing(request,writable)},cancel:function(reason){request.destination=null,abort(request,reason)}},{highWaterMark:0});stream.allReady=allReady,resolve(stream)},function(error){allReady.catch(function(){}),reject(error)},onFatalError);if(options&&options.signal){var signal=options.signal;if(signal.aborted)abort(request,signal.reason);else{var listener=function(){abort(request,signal.reason),signal.removeEventListener("abort",listener)};signal.addEventListener("abort",listener)}}startWork(request)})},exports.resumeAndPrerender=function(children,postponedState,options){return new Promise(function(resolve,reject){var request=resumeAndPrerenderRequest(children,postponedState,createRenderState(postponedState.resumableState,void 0,void 0,void 0,void 0,void 0),options?options.onError:void 0,function(){var writable,stream=new ReadableStream({type:"bytes",start:function(controller){writable=createFakeWritableFromReadableStreamController(controller)},pull:function(){startFlowing(request,writable)},cancel:function(reason){request.destination=null,abort(request,reason)}},{highWaterMark:0});resolve(stream={postponed:getPostponedState(request),prelude:stream})},void 0,void 0,reject);if(options&&options.signal){var signal=options.signal;if(signal.aborted)abort(request,signal.reason);else{var listener=function(){abort(request,signal.reason),signal.removeEventListener("abort",listener)};signal.addEventListener("abort",listener)}}startWork(request)})},exports.resumeAndPrerenderToNodeStream=function(children,postponedState,options){return new Promise(function(resolve,reject){var request=resumeAndPrerenderRequest(children,postponedState,createRenderState(postponedState.resumableState,void 0,void 0,void 0,void 0,void 0),options?options.onError:void 0,function(){var readable=new stream.Readable({read:function(){startFlowing(request,writable)}}),writable=createFakeWritableFromReadable(readable);resolve(readable={postponed:getPostponedState(request),prelude:readable})},void 0,void 0,reject);if(options&&options.signal){var signal=options.signal;if(signal.aborted)abort(request,signal.reason);else{var listener=function(){abort(request,signal.reason),signal.removeEventListener("abort",listener)};signal.addEventListener("abort",listener)}}startWork(request)})},exports.resumeToPipeableStream=function(children,postponedState,options){var request=resumeRequest(children,postponedState,createRenderState(postponedState.resumableState,options?options.nonce:void 0,void 0,void 0,void 0,void 0),options?options.onError:void 0,options?options.onAllReady:void 0,options?options.onShellReady:void 0,options?options.onShellError:void 0,void 0),hasStartedFlowing=!1;return startWork(request),{pipe:function(destination){if(hasStartedFlowing)throw Error("React currently only supports piping to one writable stream.");return hasStartedFlowing=!0,startFlowing(request,destination),destination.on("drain",createDrainHandler(destination,request)),destination.on("error",createCancelHandler(request,"The destination stream errored while writing data.")),destination.on("close",createCancelHandler(request,"The destination stream closed early.")),destination},abort:function(reason){abort(request,reason)}}},exports.version="19.3.0-canary-cbb046ab-20260731"}()},"./dist/compiled/react-dom/cjs/react-dom.development.js"(__unused_rspack_module,exports,__webpack_require__){"use strict";!function(){function noop(){}function getCrossOriginStringAs(as,input){return"font"===as?"":"string"==typeof input?"use-credentials"===input?input:"":void 0}function getValueDescriptorExpectingObjectForWarning(thing){return null===thing?"`null`":void 0===thing?"`undefined`":""===thing?"an empty string":'something with type "'+typeof thing+'"'}function getValueDescriptorExpectingEnumForWarning(thing){return null===thing?"`null`":void 0===thing?"`undefined`":""===thing?"an empty string":"string"==typeof thing?JSON.stringify(thing):"number"==typeof thing?"`"+thing+"`":'something with type "'+typeof thing+'"'}function resolveDispatcher(){var dispatcher=ReactSharedInternals.H;return null===dispatcher&&console.error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."),dispatcher}"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var React=__webpack_require__("./dist/compiled/react/index.js"),Internals={d:{f:noop,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:noop,C:noop,L:noop,m:noop,X:noop,S:noop,M:noop},p:0,findDOMNode:null},REACT_PORTAL_TYPE=Symbol.for("react.portal"),REACT_RECOVERABLE_TYPE=Symbol.for("react.recoverable"),REACT_OPTIMISTIC_KEY=Symbol.for("react.optimistic_key"),ReactSharedInternals=React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;"function"==typeof Map&&null!=Map.prototype&&"function"==typeof Map.prototype.forEach&&"function"==typeof Set&&null!=Set.prototype&&"function"==typeof Set.prototype.clear&&"function"==typeof Set.prototype.forEach||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Internals,exports.browser=function(){var recoverable=Error("Recoverable Exception: This is not a real error! It's an implementation detail of `use(browser())` to defer rendering to the browser. `use(browser())` can only be used inside a `<Suspense>` boundary. If a server render errors with this as its cause, the component that called `use(browser())` does not have a `<Suspense>` boundary above it.");return Object.defineProperty(recoverable,"$$typeof",{value:REACT_RECOVERABLE_TYPE}),recoverable},exports.createPortal=function(children,container){var key=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!container||1!==container.nodeType&&9!==container.nodeType&&11!==container.nodeType)throw Error("Target container is not a DOM element.");return function(children,containerInfo,implementation){var key=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;if(null==key)key=null;else if(key===REACT_OPTIMISTIC_KEY)key=REACT_OPTIMISTIC_KEY;else{try{var JSCompiler_inline_result=!1}catch(e){JSCompiler_inline_result=!0}JSCompiler_inline_result&&console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.","function"==typeof Symbol&&Symbol.toStringTag&&key[Symbol.toStringTag]||key.constructor.name||"Object"),key=""+key}return{$$typeof:REACT_PORTAL_TYPE,key:key,children:children,containerInfo:containerInfo,implementation:implementation}}(children,container,null,key)},exports.flushSync=function(fn){var previousTransition=ReactSharedInternals.T,previousUpdatePriority=Internals.p;try{if(ReactSharedInternals.T=null,Internals.p=2,fn)return fn()}finally{ReactSharedInternals.T=previousTransition,Internals.p=previousUpdatePriority,Internals.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},exports.preconnect=function(href,options){"string"==typeof href&&href?null!=options&&"object"!=typeof options?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",getValueDescriptorExpectingEnumForWarning(options)):null!=options&&"string"!=typeof options.crossOrigin&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",getValueDescriptorExpectingObjectForWarning(options.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",getValueDescriptorExpectingObjectForWarning(href)),"string"==typeof href&&(options?options="string"==typeof(options=options.crossOrigin)?"use-credentials"===options?options:"":void 0:options=null,Internals.d.C(href,options))},exports.prefetchDNS=function(href){if("string"==typeof href&&href){if(1<arguments.length){var options=arguments[1];"object"==typeof options&&options.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",getValueDescriptorExpectingEnumForWarning(options)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",getValueDescriptorExpectingEnumForWarning(options))}}else console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",getValueDescriptorExpectingObjectForWarning(href));"string"==typeof href&&Internals.d.D(href)},exports.preinit=function(href,options){if("string"==typeof href&&href?null==options||"object"!=typeof options?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",getValueDescriptorExpectingEnumForWarning(options)):"style"!==options.as&&"script"!==options.as&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',getValueDescriptorExpectingEnumForWarning(options.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",getValueDescriptorExpectingObjectForWarning(href)),"string"==typeof href&&options&&"string"==typeof options.as){var as=options.as,crossOrigin=getCrossOriginStringAs(as,options.crossOrigin),integrity="string"==typeof options.integrity?options.integrity:void 0,fetchPriority="string"==typeof options.fetchPriority?options.fetchPriority:void 0;"style"===as?Internals.d.S(href,"string"==typeof options.precedence?options.precedence:void 0,{crossOrigin:crossOrigin,integrity:integrity,fetchPriority:fetchPriority}):"script"===as&&Internals.d.X(href,{crossOrigin:crossOrigin,integrity:integrity,fetchPriority:fetchPriority,nonce:"string"==typeof options.nonce?options.nonce:void 0})}},exports.preinitModule=function(href,options){var encountered="";"string"==typeof href&&href||(encountered+=" The `href` argument encountered was "+getValueDescriptorExpectingObjectForWarning(href)+"."),void 0!==options&&"object"!=typeof options?encountered+=" The `options` argument encountered was "+getValueDescriptorExpectingObjectForWarning(options)+".":options&&"as"in options&&"script"!==options.as&&(encountered+=" The `as` option encountered was "+getValueDescriptorExpectingEnumForWarning(options.as)+"."),encountered?console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",encountered):"script"===(encountered=options&&"string"==typeof options.as?options.as:"script")||console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',encountered=getValueDescriptorExpectingEnumForWarning(encountered),href),"string"==typeof href&&("object"==typeof options&&null!==options?(null==options.as||"script"===options.as)&&(encountered=getCrossOriginStringAs(options.as,options.crossOrigin),Internals.d.M(href,{crossOrigin:encountered,integrity:"string"==typeof options.integrity?options.integrity:void 0,nonce:"string"==typeof options.nonce?options.nonce:void 0,fetchPriority:"string"==typeof options.fetchPriority?options.fetchPriority:void 0})):null==options&&Internals.d.M(href))},exports.preload=function(href,options){var encountered="";if("string"==typeof href&&href||(encountered+=" The `href` argument encountered was "+getValueDescriptorExpectingObjectForWarning(href)+"."),null==options||"object"!=typeof options?encountered+=" The `options` argument encountered was "+getValueDescriptorExpectingObjectForWarning(options)+".":"string"==typeof options.as&&options.as||(encountered+=" The `as` option encountered was "+getValueDescriptorExpectingObjectForWarning(options.as)+"."),encountered&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',encountered),"string"==typeof href&&"object"==typeof options&&null!==options&&"string"==typeof options.as){var crossOrigin=getCrossOriginStringAs(encountered=options.as,options.crossOrigin);Internals.d.L(href,encountered,{crossOrigin:crossOrigin,integrity:"string"==typeof options.integrity?options.integrity:void 0,nonce:"string"==typeof options.nonce?options.nonce:void 0,type:"string"==typeof options.type?options.type:void 0,fetchPriority:"string"==typeof options.fetchPriority?options.fetchPriority:void 0,referrerPolicy:"string"==typeof options.referrerPolicy?options.referrerPolicy:void 0,imageSrcSet:"string"==typeof options.imageSrcSet?options.imageSrcSet:void 0,imageSizes:"string"==typeof options.imageSizes?options.imageSizes:void 0,media:"string"==typeof options.media?options.media:void 0})}},exports.preloadModule=function(href,options){var encountered="";"string"==typeof href&&href||(encountered+=" The `href` argument encountered was "+getValueDescriptorExpectingObjectForWarning(href)+"."),void 0!==options&&"object"!=typeof options?encountered+=" The `options` argument encountered was "+getValueDescriptorExpectingObjectForWarning(options)+".":options&&"as"in options&&"string"!=typeof options.as&&(encountered+=" The `as` option encountered was "+getValueDescriptorExpectingObjectForWarning(options.as)+"."),encountered&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',encountered),"string"==typeof href&&(options?(encountered=getCrossOriginStringAs(options.as,options.crossOrigin),Internals.d.m(href,{as:"string"==typeof options.as&&"script"!==options.as?options.as:void 0,crossOrigin:encountered,integrity:"string"==typeof options.integrity?options.integrity:void 0,nonce:"string"==typeof options.nonce?options.nonce:void 0,fetchPriority:"string"==typeof options.fetchPriority?options.fetchPriority:void 0})):Internals.d.m(href))},exports.requestFormReset=function(form){Internals.d.r(form)},exports.unstable_batchedUpdates=function(fn,a){return fn(a)},exports.useFormState=function(action,initialState,permalink){return resolveDispatcher().useFormState(action,initialState,permalink)},exports.useFormStatus=function(){return resolveDispatcher().useHostTransitionStatus()},exports.version="19.3.0-canary-cbb046ab-20260731","undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()},"./dist/compiled/react-dom/index.js"(module1,__unused_rspack_exports,__webpack_require__){"use strict";module1.exports=__webpack_require__("./dist/compiled/react-dom/cjs/react-dom.development.js")},"./dist/compiled/react-dom/static.node.js"(__unused_rspack_module,exports,__webpack_require__){"use strict";var s;exports.version=(s=__webpack_require__("./dist/compiled/react-dom/cjs/react-dom-server.node.development.js")).version,exports.prerenderToNodeStream=s.prerenderToNodeStream,exports.prerender=s.prerender,exports.resumeAndPrerenderToNodeStream=s.resumeAndPrerenderToNodeStream,exports.resumeAndPrerender=s.resumeAndPrerender},"./dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.development.js"(__unused_rspack_module,exports,__webpack_require__){"use strict";!function(){function checkEvalAvailabilityOnceDev(){if(!hasConfirmedEval){hasConfirmedEval=!0;try{(0,eval)("null")}catch($jscomp$unused$catch){console.error("eval() is not supported in this environment. This can happen if you started the Node.js process with --disallow-code-generation-from-strings, or if `eval` was patched by other means. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.\nReact will never use eval() in production mode")}}}function requireAsyncModule(id){var promise=globalThis.__next_require__(id);return"function"!=typeof promise.then||"fulfilled"===promise.status?null:(promise.then(function(value){promise.status="fulfilled",promise.value=value},function(reason){promise.status="rejected",promise.reason=reason}),promise)}function ignoreReject(){}function preloadModule(metadata){for(var chunks=metadata[1],promises=[],i=0;i<chunks.length;){var chunkId=chunks[i++];chunks[i++];var entry=chunkCache.get(chunkId);if(void 0===entry){entry=__webpack_require__.e(chunkId),promises.push(entry);var resolve=chunkCache.set.bind(chunkCache,chunkId,null);entry.then(resolve,ignoreReject),chunkCache.set(chunkId,entry)}else null!==entry&&promises.push(entry)}return 4===metadata.length?0===promises.length?requireAsyncModule(metadata[0]):Promise.all(promises).then(function(){return requireAsyncModule(metadata[0])}):0<promises.length?Promise.all(promises):null}function requireModule(metadata){var moduleExports=globalThis.__next_require__(metadata[0]);if(4===metadata.length&&"function"==typeof moduleExports.then)if("fulfilled"===moduleExports.status)moduleExports=moduleExports.value;else throw moduleExports.reason;return"*"===metadata[2]?moduleExports:""===metadata[2]?moduleExports.__esModule?moduleExports.default:moduleExports:hasOwnProperty.call(moduleExports,metadata[2])?moduleExports[metadata[2]]:void 0}function objectName(object){return(object=Object.prototype.toString.call(object)).slice(8,object.length-1)}function describeKeyForErrorMessage(key){var encodedKey=JSON.stringify(key);return'"'+key+'"'===encodedKey?key:encodedKey}function describeValueForErrorMessage(value){switch(typeof value){case"string":return JSON.stringify(10>=value.length?value:value.slice(0,10)+"...");case"object":if(isArrayImpl(value))return"[...]";if(null!==value&&value.$$typeof===CLIENT_REFERENCE_TAG)return"client";return"Object"===(value=objectName(value))?"{...}":value;case"function":return value.$$typeof===CLIENT_REFERENCE_TAG?"client":(value=value.displayName||value.name)?"function "+value:"function";default:return String(value)}}function describeElementType(type){if("string"==typeof type)return type;switch(type){case REACT_SUSPENSE_TYPE:return"Suspense";case REACT_SUSPENSE_LIST_TYPE:return"SuspenseList";case REACT_VIEW_TRANSITION_TYPE:return"ViewTransition"}if("object"==typeof type)switch(type.$$typeof){case REACT_FORWARD_REF_TYPE:return describeElementType(type.render);case REACT_MEMO_TYPE:return describeElementType(type.type);case REACT_LAZY_TYPE:var payload=type._payload;type=type._init;try{return describeElementType(type(payload))}catch(x){}}return""}function describeObjectForErrorMessage(objectOrArray,expandedName){var objKind=objectName(objectOrArray);if("Object"!==objKind&&"Array"!==objKind)return objKind;var start=-1,length=0;if(isArrayImpl(objectOrArray))if(jsxChildrenParents.has(objectOrArray)){var type=jsxChildrenParents.get(objectOrArray);objKind="<"+describeElementType(type)+">";for(var i=0;i<objectOrArray.length;i++){var value=objectOrArray[i];value="string"==typeof value?value:"object"==typeof value&&null!==value?"{"+describeObjectForErrorMessage(value)+"}":"{"+describeValueForErrorMessage(value)+"}",""+i===expandedName?(start=objKind.length,length=value.length,objKind+=value):objKind=15>value.length&&40>objKind.length+value.length?objKind+value:objKind+"{...}"}objKind+="</"+describeElementType(type)+">"}else{for(type=0,objKind="[";type<objectOrArray.length;type++)0<type&&(objKind+=", "),i="object"==typeof(i=objectOrArray[type])&&null!==i?describeObjectForErrorMessage(i):describeValueForErrorMessage(i),""+type===expandedName?(start=objKind.length,length=i.length,objKind+=i):objKind=10>i.length&&40>objKind.length+i.length?objKind+i:objKind+"...";objKind+="]"}else if(objectOrArray.$$typeof===REACT_ELEMENT_TYPE)objKind="<"+describeElementType(objectOrArray.type)+"/>";else{if(objectOrArray.$$typeof===CLIENT_REFERENCE_TAG)return"client";if(jsxPropsParents.has(objectOrArray)){for(i=0,objKind="<"+(describeElementType(objKind=jsxPropsParents.get(objectOrArray))||"..."),type=Object.keys(objectOrArray);i<type.length;i++){objKind+=" ",objKind+=describeKeyForErrorMessage(value=type[i])+"=";var _value2=objectOrArray[value],_substr2=value===expandedName&&"object"==typeof _value2&&null!==_value2?describeObjectForErrorMessage(_value2):describeValueForErrorMessage(_value2);"string"!=typeof _value2&&(_substr2="{"+_substr2+"}"),value===expandedName?(start=objKind.length,length=_substr2.length,objKind+=_substr2):objKind=10>_substr2.length&&40>objKind.length+_substr2.length?objKind+_substr2:objKind+"..."}objKind+=">"}else{for(i=0,objKind="{",type=Object.keys(objectOrArray);i<type.length;i++)0<i&&(objKind+=", "),objKind+=describeKeyForErrorMessage(value=type[i])+": ",_value2="object"==typeof(_value2=objectOrArray[value])&&null!==_value2?describeObjectForErrorMessage(_value2):describeValueForErrorMessage(_value2),value===expandedName?(start=objKind.length,length=_value2.length,objKind+=_value2):objKind=10>_value2.length&&40>objKind.length+_value2.length?objKind+_value2:objKind+"...";objKind+="}"}}return void 0===expandedName?objKind:-1<start&&0<length?"\n "+objKind+"\n "+(objectOrArray=" ".repeat(start)+"^".repeat(length)):"\n "+objKind}function processReply(root,formFieldPrefix,temporaryReferences,resolve,reject){function serializeTypedArray(tag,typedArray){typedArray=new Blob([new Uint8Array(typedArray.buffer,typedArray.byteOffset,typedArray.byteLength)]);var blobId=nextPartId++;return null===formData&&(formData=new FormData),formData.append(formFieldPrefix+blobId,typedArray),"$"+tag+blobId.toString(16)}function resolveToJSON(key,value){"__proto__"===key&&console.error("Expected not to serialize an object with own property `__proto__`. When parsed this property will be omitted.%s",describeObjectForErrorMessage(this,key));var originalValue=this[key];if("object"!=typeof originalValue||originalValue===value||originalValue instanceof Date||("Object"!==objectName(originalValue)?console.error("Only plain objects can be passed to Server Functions from the Client. %s objects are not supported.%s",objectName(originalValue),describeObjectForErrorMessage(this,key)):console.error("Only plain objects can be passed to Server Functions from the Client. Objects with toJSON methods are not supported. Convert it manually to a simple value before passing it to props.%s",describeObjectForErrorMessage(this,key))),null===value)return null;if("object"==typeof value){switch(value.$$typeof){case REACT_ELEMENT_TYPE:if(void 0!==temporaryReferences&&-1===key.indexOf(":")){var maybeIterable,iterable,iterator,data,streamId,parentReference=writtenObjects.get(this);if(void 0!==parentReference)return temporaryReferences.set(parentReference+":"+key,value),"$T"}if(void 0!==temporaryReferences&&modelRoot===value)return modelRoot=null,"$T";throw Error("React Element cannot be passed to Server Functions from the Client without a temporary reference set. Pass a TemporaryReferenceSet to the options."+describeObjectForErrorMessage(this,key));case REACT_LAZY_TYPE:originalValue=value._payload;var init=value._init;null===formData&&(formData=new FormData),pendingParts++;try{parentReference=init(originalValue);var lazyId=nextPartId++,partJSON=serializeModel(parentReference,lazyId);return formData.append(formFieldPrefix+lazyId,partJSON),"$"+lazyId.toString(16)}catch(x){if("object"==typeof x&&null!==x&&"function"==typeof x.then){pendingParts++;var _lazyId=nextPartId++;return parentReference=function(){try{var _partJSON2=serializeModel(value,_lazyId),_data=formData;_data.append(formFieldPrefix+_lazyId,_partJSON2),pendingParts--,0===pendingParts&&resolve(_data)}catch(reason){reject(reason)}},x.then(parentReference,parentReference),"$"+_lazyId.toString(16)}return reject(x),null}finally{pendingParts--}}if(parentReference=writtenObjects.get(value),"function"==typeof value.then){if(void 0!==parentReference)if(modelRoot!==value)return parentReference;else modelRoot=null;null===formData&&(formData=new FormData),pendingParts++;var promiseId=nextPartId++;return key="$@"+promiseId.toString(16),writtenObjects.set(value,key),value.then(function(partValue){try{var previousReference=writtenObjects.get(partValue),_partJSON3=void 0!==previousReference?JSON.stringify(previousReference):serializeModel(partValue,promiseId);(partValue=formData).append(formFieldPrefix+promiseId,_partJSON3),pendingParts--,0===pendingParts&&resolve(partValue)}catch(reason){reject(reason)}},reject),key}if(void 0!==parentReference)if(modelRoot!==value)return parentReference;else modelRoot=null;else -1===key.indexOf(":")&&void 0!==(parentReference=writtenObjects.get(this))&&(parentReference=parentReference+":"+key,writtenObjects.set(value,parentReference),void 0!==temporaryReferences&&temporaryReferences.set(parentReference,value));if(isArrayImpl(value))return value;if(value instanceof FormData){null===formData&&(formData=new FormData);var _data3=formData,prefix=formFieldPrefix+"_"+(key=nextPartId++)+"_";return value.forEach(function(originalValue,originalKey){_data3.append(prefix+originalKey,originalValue)}),"$K"+key.toString(16)}if(value instanceof Map)return key=nextPartId++,parentReference=serializeModel(Array.from(value),key),null===formData&&(formData=new FormData),formData.append(formFieldPrefix+key,parentReference),"$Q"+key.toString(16);if(value instanceof Set)return key=nextPartId++,parentReference=serializeModel(Array.from(value),key),null===formData&&(formData=new FormData),formData.append(formFieldPrefix+key,parentReference),"$W"+key.toString(16);if(value instanceof ArrayBuffer)return key=new Blob([value]),parentReference=nextPartId++,null===formData&&(formData=new FormData),formData.append(formFieldPrefix+parentReference,key),"$A"+parentReference.toString(16);if(value instanceof Int8Array)return serializeTypedArray("O",value);if(value instanceof Uint8Array)return serializeTypedArray("o",value);if(value instanceof Uint8ClampedArray)return serializeTypedArray("U",value);if(value instanceof Int16Array)return serializeTypedArray("S",value);if(value instanceof Uint16Array)return serializeTypedArray("s",value);if(value instanceof Int32Array)return serializeTypedArray("L",value);if(value instanceof Uint32Array)return serializeTypedArray("l",value);if(value instanceof Float32Array)return serializeTypedArray("G",value);if(value instanceof Float64Array)return serializeTypedArray("g",value);if(value instanceof BigInt64Array)return serializeTypedArray("M",value);if(value instanceof BigUint64Array)return serializeTypedArray("m",value);if(value instanceof DataView)return serializeTypedArray("V",value);if("function"==typeof Blob&&value instanceof Blob)return null===formData&&(formData=new FormData),key=nextPartId++,formData.append(formFieldPrefix+key,value),"$B"+key.toString(16);if(parentReference=null===(maybeIterable=value)||"object"!=typeof maybeIterable?null:"function"==typeof(maybeIterable=MAYBE_ITERATOR_SYMBOL&&maybeIterable[MAYBE_ITERATOR_SYMBOL]||maybeIterable["@@iterator"])?maybeIterable:null)return(parentReference=parentReference.call(value))===value?(key=nextPartId++,parentReference=serializeModel(Array.from(parentReference),key),null===formData&&(formData=new FormData),formData.append(formFieldPrefix+key,parentReference),"$i"+key.toString(16)):Array.from(parentReference);if("function"==typeof ReadableStream&&value instanceof ReadableStream)return function(stream){try{var reader,data,streamId,reader1,data1,streamId1,buffer,binaryReader=stream.getReader({mode:"byob"})}catch(x){return reader=stream.getReader(),null===formData&&(formData=new FormData),data=formData,pendingParts++,streamId=nextPartId++,reader.read().then(function progress(entry){if(entry.done)data.append(formFieldPrefix+streamId,"C"),0==--pendingParts&&resolve(data);else try{var partJSON=JSON.stringify(entry.value,resolveToJSON);data.append(formFieldPrefix+streamId,partJSON),reader.read().then(progress,reject)}catch(x){reject(x)}},reject),"$R"+streamId.toString(16)}return reader1=binaryReader,null===formData&&(formData=new FormData),data1=formData,pendingParts++,streamId1=nextPartId++,buffer=[],reader1.read(new Uint8Array(1024)).then(function progress(entry){entry.done?(entry=nextPartId++,data1.append(formFieldPrefix+entry,new Blob(buffer)),data1.append(formFieldPrefix+streamId1,'"$o'+entry.toString(16)+'"'),data1.append(formFieldPrefix+streamId1,"C"),0==--pendingParts&&resolve(data1)):(buffer.push(entry.value),reader1.read(new Uint8Array(1024)).then(progress,reject))},reject),"$r"+streamId1.toString(16)}(value);if("function"==typeof(parentReference=value[ASYNC_ITERATOR]))return iterable=value,iterator=parentReference.call(value),null===formData&&(formData=new FormData),data=formData,pendingParts++,streamId=nextPartId++,iterable=iterable===iterator,iterator.next().then(function progress(entry){if(entry.done){if(void 0===entry.value)data.append(formFieldPrefix+streamId,"C");else try{var partJSON=JSON.stringify(entry.value,resolveToJSON);data.append(formFieldPrefix+streamId,"C"+partJSON)}catch(x){reject(x);return}0==--pendingParts&&resolve(data)}else try{var _partJSON=JSON.stringify(entry.value,resolveToJSON);data.append(formFieldPrefix+streamId,_partJSON),iterator.next().then(progress,reject)}catch(x$0){reject(x$0)}},reject),"$"+(iterable?"x":"X")+streamId.toString(16);if((parentReference=getPrototypeOf(value))!==ObjectPrototype$1&&(null===parentReference||null!==getPrototypeOf(parentReference))){if(void 0===temporaryReferences)throw Error("Only plain objects, and a few built-ins, can be passed to Server Functions. Classes or null prototypes are not supported."+describeObjectForErrorMessage(this,key));return"$T"}return value.$$typeof===REACT_CONTEXT_TYPE?console.error("React Context Providers cannot be passed to Server Functions from the Client.%s",describeObjectForErrorMessage(this,key)):"Object"!==objectName(value)?console.error("Only plain objects can be passed to Server Functions from the Client. %s objects are not supported.%s",objectName(value),describeObjectForErrorMessage(this,key)):!function(object){if(!function(object){if(!object)return!1;var ObjectPrototype=Object.prototype;if(object===ObjectPrototype)return!0;if(getPrototypeOf(object))return!1;object=Object.getOwnPropertyNames(object);for(var i=0;i<object.length;i++)if(!(object[i]in ObjectPrototype))return!1;return!0}(getPrototypeOf(object)))return!1;for(var names=Object.getOwnPropertyNames(object),i=0;i<names.length;i++){var descriptor=Object.getOwnPropertyDescriptor(object,names[i]);if(!descriptor||!descriptor.enumerable&&("key"!==names[i]&&"ref"!==names[i]||"function"!=typeof descriptor.get))return!1}return!0}(value)?console.error("Only plain objects can be passed to Server Functions from the Client. Classes or other objects with methods are not supported.%s",describeObjectForErrorMessage(this,key)):Object.getOwnPropertySymbols&&0<(parentReference=Object.getOwnPropertySymbols(value)).length&&console.error("Only plain objects can be passed to Server Functions from the Client. Objects with symbol properties like %s are not supported.%s",parentReference[0].description,describeObjectForErrorMessage(this,key)),value}if("string"==typeof value)return"Z"===value[value.length-1]&&this[key]instanceof Date?"$D"+value:key="$"===value[0]?"$"+value:value;if("boolean"==typeof value)return value;if("number"==typeof value)return Number.isFinite(value)?0===value&&-1/0==1/value?"$-0":value:1/0===value?"$Infinity":-1/0===value?"$-Infinity":"$NaN";if(void 0===value)return"$undefined";if("function"==typeof value){if(void 0!==(parentReference=knownServerReferences.get(value)))return void 0!==(key=writtenObjects.get(value))?key:(key=JSON.stringify({id:parentReference.id,bound:parentReference.bound},resolveToJSON),null===formData&&(formData=new FormData),parentReference=nextPartId++,formData.set(formFieldPrefix+parentReference,key),key="$h"+parentReference.toString(16),writtenObjects.set(value,key),key);if(void 0!==temporaryReferences&&-1===key.indexOf(":")&&void 0!==(parentReference=writtenObjects.get(this)))return temporaryReferences.set(parentReference+":"+key,value),"$T";throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.")}if("symbol"==typeof value){if(void 0!==temporaryReferences&&-1===key.indexOf(":")&&void 0!==(parentReference=writtenObjects.get(this)))return temporaryReferences.set(parentReference+":"+key,value),"$T";throw Error("Symbols cannot be passed to a Server Function without a temporary reference set. Pass a TemporaryReferenceSet to the options."+describeObjectForErrorMessage(this,key))}if("bigint"==typeof value)return"$n"+value.toString(10);throw Error("Type "+typeof value+" is not supported as an argument to a Server Function.")}function serializeModel(model,id){return"object"==typeof model&&null!==model&&(id="$"+id.toString(16),writtenObjects.set(model,id),void 0!==temporaryReferences&&temporaryReferences.set(id,model)),modelRoot=model,JSON.stringify(model,resolveToJSON)}var nextPartId=1,pendingParts=0,formData=null,writtenObjects=new WeakMap,modelRoot=root;checkEvalAvailabilityOnceDev();var json=serializeModel(root,0);return null===formData?resolve(json):(formData.set(formFieldPrefix+"0",json),0===pendingParts&&resolve(formData)),function(){0<pendingParts&&(pendingParts=0,null===formData?resolve(json):resolve(formData))}}function defaultEncodeFormAction(identifierPrefix){var referenceClosure=knownServerReferences.get(this);if(!referenceClosure)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var data=null;if(null!==referenceClosure.bound){if((data=boundCache.get(referenceClosure))||(reference={id:referenceClosure.id,bound:referenceClosure.bound},thenable=new Promise(function(res,rej){resolve=res,reject=rej}),processReply(reference,"",void 0,function(body){if("string"==typeof body){var data=new FormData;data.append("0",body),body=data}thenable.status="fulfilled",thenable.value=body,resolve(body)},function(e){thenable.status="rejected",thenable.reason=e,reject(e)}),data=thenable,boundCache.set(referenceClosure,data)),"rejected"===data.status)throw data.reason;if("fulfilled"!==data.status)throw data;referenceClosure=data.value;var reference,resolve,reject,thenable,prefixedData=new FormData;referenceClosure.forEach(function(value,key){prefixedData.append("$ACTION_"+identifierPrefix+":"+key,value)}),data=prefixedData,referenceClosure="$ACTION_REF_"+identifierPrefix}else referenceClosure="$ACTION_ID_"+referenceClosure.id;return{name:referenceClosure,method:"POST",encType:"multipart/form-data",data:data}}function isSignatureEqual(referenceId,numberOfBoundArgs){var referenceClosure=knownServerReferences.get(this);if(!referenceClosure)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(referenceClosure.id!==referenceId)return!1;var boundPromise=referenceClosure.bound;if(null===boundPromise)return 0===numberOfBoundArgs;switch(boundPromise.status){case"fulfilled":return boundPromise.value.length===numberOfBoundArgs;case"pending":throw boundPromise;case"rejected":throw boundPromise.reason;default:throw"string"!=typeof boundPromise.status&&(boundPromise.status="pending",boundPromise.then(function(boundArgs){boundPromise.status="fulfilled",boundPromise.value=boundArgs},function(error){boundPromise.status="rejected",boundPromise.reason=error})),boundPromise}}function createFakeServerFunction(name,filename,sourceMap,line,col,environmentName,innerFunction){name||(name="<anonymous>");var encodedName=JSON.stringify(name);1>=line?(line=encodedName.length+7,col="s=>({"+encodedName+" ".repeat(col<line?0:col-line)+":(...args) => s(...args)})\n/* This module is a proxy to a Server Action. Turn on Source Maps to see the server source. */"):col="/* This module is a proxy to a Server Action. Turn on Source Maps to see the server source. */"+"\n".repeat(line-2)+"server=>({"+encodedName+":\n"+" ".repeat(1>col?0:col-1)+"(...args) => server(...args)})",filename.startsWith("/")&&(filename="file://"+filename),sourceMap?(col+="\n//# sourceURL=about://React/"+encodeURIComponent(environmentName)+"/"+encodeURI(filename)+"?s"+fakeServerFunctionIdx++,col+="\n//# sourceMappingURL="+sourceMap):filename&&(col+="\n//# sourceURL="+filename);try{return(0,eval)(col)(innerFunction)[name]}catch(x){return innerFunction}}function registerBoundServerReference(reference,id,bound,encodeFormAction){knownServerReferences.has(reference)||(knownServerReferences.set(reference,{id:id,originalBind:reference.bind,bound:bound}),Object.defineProperties(reference,{$$FORM_ACTION:{value:void 0===encodeFormAction?defaultEncodeFormAction:function(){var referenceClosure=knownServerReferences.get(this);if(!referenceClosure)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var boundPromise=referenceClosure.bound;return null===boundPromise&&(boundPromise=Promise.resolve([])),encodeFormAction(referenceClosure.id,boundPromise)}},$$IS_SIGNATURE_EQUAL:{value:isSignatureEqual},bind:{value:bind}}))}function bind(){var referenceClosure=knownServerReferences.get(this);if(!referenceClosure)return FunctionBind.apply(this,arguments);var newFn=referenceClosure.originalBind.apply(this,arguments);null!=arguments[0]&&console.error('Cannot bind "this" of a Server Action. Pass null or undefined as the first argument to .bind().');var args=ArraySlice.call(arguments,1),boundPromise=null;return boundPromise=null!==referenceClosure.bound?Promise.resolve(referenceClosure.bound).then(function(boundArgs){return boundArgs.concat(args)}):Promise.resolve(args),knownServerReferences.set(newFn,{id:referenceClosure.id,originalBind:newFn.bind,bound:boundPromise}),Object.defineProperties(newFn,{$$FORM_ACTION:{value:this.$$FORM_ACTION},$$IS_SIGNATURE_EQUAL:{value:isSignatureEqual},bind:{value:bind}}),newFn}function getComponentNameFromType(type){if(null==type)return null;if("function"==typeof type)return type.$$typeof===REACT_CLIENT_REFERENCE?null:type.displayName||type.name||null;if("string"==typeof type)return type;switch(type){case REACT_FRAGMENT_TYPE:return"Fragment";case REACT_PROFILER_TYPE:return"Profiler";case REACT_STRICT_MODE_TYPE:return"StrictMode";case REACT_SUSPENSE_TYPE:return"Suspense";case REACT_SUSPENSE_LIST_TYPE:return"SuspenseList";case REACT_ACTIVITY_TYPE:return"Activity";case REACT_VIEW_TRANSITION_TYPE:return"ViewTransition"}if("object"==typeof type)switch("number"==typeof type.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),type.$$typeof){case REACT_PORTAL_TYPE:return"Portal";case REACT_CONTEXT_TYPE:return type.displayName||"Context";case REACT_CONSUMER_TYPE:return(type._context.displayName||"Context")+".Consumer";case REACT_FORWARD_REF_TYPE:var innerType=type.render;return(type=type.displayName)||(type=""!==(type=innerType.displayName||innerType.name||"")?"ForwardRef("+type+")":"ForwardRef"),type;case REACT_MEMO_TYPE:return null!==(innerType=type.displayName||null)?innerType:getComponentNameFromType(type.type)||"Memo";case REACT_LAZY_TYPE:innerType=type._payload,type=type._init;try{return getComponentNameFromType(type(innerType))}catch(x){}}return null}function addObjectToProperties(object,properties,indent,prefix){if(!ArrayBuffer.isView(object)){var key,addedProperties=0;for(key in object)if(hasOwnProperty.call(object,key)&&"_"!==key[0]&&(addedProperties++,addValueToProperties(key,object[key],properties,indent,prefix),100<=addedProperties)){properties.push([prefix+"\xa0\xa0".repeat(indent)+"Only 100 properties are shown. React will not log more properties of this object.",""]);break}}}function addValueToProperties(propertyName,value,properties,indent,prefix){switch(typeof value){case"object":if(null===value){value="null";break}if(("$$typeof"in value&&hasOwnProperty.call(value,"$$typeof")?value.$$typeof:void 0)===REACT_ELEMENT_TYPE){var typeName=getComponentNameFromType(value.type)||"…",key=value.key,propsKeys=Object.keys(value=value.props),propsLength=propsKeys.length;if(null==key&&0===propsLength){value="<"+typeName+" />";break}if(3>indent||1===propsLength&&"children"===propsKeys[0]&&null==key){value="<"+typeName+" … />";break}for(var propKey in properties.push([prefix+"\xa0\xa0".repeat(indent)+propertyName,"<"+typeName]),null!==key&&addValueToProperties("key",key,properties,indent+1,prefix),propertyName=!1,key=0,value)if(key++,"children"===propKey?null!=value.children&&(!isArrayImpl(value.children)||0<value.children.length)&&(propertyName=!0):hasOwnProperty.call(value,propKey)&&"_"!==propKey[0]&&addValueToProperties(propKey,value[propKey],properties,indent+1,prefix),100<=key)break;properties.push(["",propertyName?">…</"+typeName+">":"/>"]);return}if(typeName=(typeName=Object.prototype.toString.call(value)).slice(8,typeName.length-1),ArrayBuffer.isView(value)){value="number"==typeof(value=value.length)?typeName+"("+value+")":typeName;break}if("Array"===typeName){if(propKey=100<value.length,2===(key=function(array){for(var kind=0,i=0;i<array.length&&100>i;i++){var value=array[i];if("object"==typeof value&&null!==value)if(!isArrayImpl(value)||2!==value.length||"string"!=typeof value[0])return 1;else{if(0!==kind&&3!==kind)return 1;kind=3}else{if("function"==typeof value||"string"==typeof value&&50<value.length||0!==kind&&2!==kind||"bigint"==typeof value)return 1;kind=2}}return kind}(value))||0===key){value=JSON.stringify(propKey?value.slice(0,100).concat("…"):value);break}else if(3===key){for(properties.push([prefix+"\xa0\xa0".repeat(indent)+propertyName,""]),propertyName=0;propertyName<value.length&&100>propertyName;propertyName++)addValueToProperties((typeName=value[propertyName])[0],typeName[1],properties,indent+1,prefix);propKey&&addValueToProperties("100","…",properties,indent+1,prefix);return}}if("Promise"===typeName){if("fulfilled"===value.status){if(typeName=properties.length,addValueToProperties(propertyName,value.value,properties,indent,prefix),properties.length>typeName){(properties=properties[typeName])[1]="Promise<"+(properties[1]||"Object")+">";return}}else if("rejected"===value.status&&(typeName=properties.length,addValueToProperties(propertyName,value.reason,properties,indent,prefix),properties.length>typeName)){(properties=properties[typeName])[1]="Rejected Promise<"+properties[1]+">";return}properties.push(["\xa0\xa0".repeat(indent)+propertyName,"Promise"]);return}"Object"===typeName&&(propKey=Object.getPrototypeOf(value))&&"function"==typeof propKey.constructor&&(typeName=propKey.constructor.name),properties.push([prefix+"\xa0\xa0".repeat(indent)+propertyName,"Object"===typeName?3>indent?"":"…":typeName]),3>indent&&addObjectToProperties(value,properties,indent+1,prefix);return;case"function":value=""===(value=value.name)||"string"!=typeof value?"() => {}":value+"() {}";break;case"string":value="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects."===value?"…":JSON.stringify(1024<=value.length?value.slice(0,1023)+"…":value);break;case"undefined":value="undefined";break;case"boolean":value=value?"true":"false";break;default:value=String(value)}properties.push([prefix+"\xa0\xa0".repeat(indent)+propertyName,value])}function getIODescription(value){try{switch(typeof value){case"function":return value.name||"";case"object":if(null===value)return"";if(value instanceof Error)return String(value.message);if("string"==typeof value.url)return value.url;if("string"==typeof value.href)return value.href;if("string"==typeof value.src)return value.src;if("string"==typeof value.currentSrc)return value.currentSrc;if("string"==typeof value.command)return value.command;if("object"==typeof value.request&&null!==value.request&&"string"==typeof value.request.url)return value.request.url;if("object"==typeof value.response&&null!==value.response&&"string"==typeof value.response.url)return value.response.url;if("string"==typeof value.id||"number"==typeof value.id||"bigint"==typeof value.id)return String(value.id);if("string"==typeof value.name)return value.name;var str=value.toString();return str.startsWith("[object ")||5>str.length||500<str.length?"":str;case"string":return 5>value.length||500<value.length?"":value;case"number":case"bigint":return String(value);default:return""}}catch(x){return""}}function markAllTracksInOrder(){supportsUserTiming&&(console.timeStamp("Server Requests Track",.001,.001,"Server Requests âš›",void 0,"primary-light"),console.timeStamp("Server Components Track",.001,.001,"Primary","Server Components âš›","primary-light"))}function getIOColor(functionName){switch(functionName.charCodeAt(0)%3){case 0:return"tertiary-light";case 1:return"tertiary";default:return"tertiary-dark"}}function getIOLongName(ioInfo,description,env,rootEnv){return ioInfo=ioInfo.name,description=""===description?ioInfo:ioInfo+" ("+description+")",env===rootEnv||void 0===env?description:description+" ["+env+"]"}function getIOShortName(ioInfo,description,env,rootEnv){ioInfo=ioInfo.name,env=env===rootEnv||void 0===env?"":" ["+env+"]";var desc="";if(1<(rootEnv=30-ioInfo.length-env.length)){var l=description.length;if(0<l&&l<=rootEnv)desc=" ("+description+")";else if(description.startsWith("http://")||description.startsWith("https://")||description.startsWith("/")){var queryIdx=description.indexOf("?");-1===queryIdx&&(queryIdx=description.length),47===description.charCodeAt(queryIdx-1)&&queryIdx--,desc=description.lastIndexOf("/",queryIdx-1),queryIdx-desc<rootEnv?desc=" (…"+description.slice(desc,queryIdx)+")":(l=description.slice(desc,desc+rootEnv/2),desc=" ("+(0<desc?"…":"")+l+"…"+(description=description.slice(queryIdx-rootEnv/2,queryIdx))+")")}}return ioInfo+desc+env}function logComponentAwait(asyncInfo,trackIdx,startTime,endTime,rootEnv,value){if(supportsUserTiming&&0<endTime){var description=getIODescription(value),name=getIOShortName(asyncInfo.awaited,description,asyncInfo.env,rootEnv),entryName="await "+name;name=getIOColor(name);var debugTask=asyncInfo.debugTask||asyncInfo.awaited.debugTask;if(debugTask){var properties=[];"object"==typeof value&&null!==value?addObjectToProperties(value,properties,0,""):void 0!==value&&addValueToProperties("awaited value",value,properties,0,""),asyncInfo=getIOLongName(asyncInfo.awaited,description,asyncInfo.env,rootEnv),debugTask.run(performance.measure.bind(performance,entryName,{start:0>startTime?0:startTime,end:endTime,detail:{devtools:{color:name,track:trackNames[trackIdx],trackGroup:"Server Components âš›",properties:properties,tooltipText:asyncInfo}}})),performance.clearMeasures(entryName)}else console.timeStamp(entryName,0>startTime?0:startTime,endTime,trackNames[trackIdx],"Server Components âš›",name)}}function logIOInfoErrored(ioInfo,rootEnv,error){var startTime=ioInfo.start,endTime=ioInfo.end;if(supportsUserTiming&&0<=endTime){var description=getIODescription(error),entryName=getIOShortName(ioInfo,description,ioInfo.env,rootEnv),debugTask=ioInfo.debugTask;entryName="​"+entryName,debugTask?(error=[["rejected with","object"==typeof error&&null!==error&&"string"==typeof error.message?String(error.message):String(error)]],ioInfo=getIOLongName(ioInfo,description,ioInfo.env,rootEnv)+" Rejected",debugTask.run(performance.measure.bind(performance,entryName,{start:0>startTime?0:startTime,end:endTime,detail:{devtools:{color:"error",track:"Server Requests âš›",properties:error,tooltipText:ioInfo}}})),performance.clearMeasures(entryName)):console.timeStamp(entryName,0>startTime?0:startTime,endTime,"Server Requests âš›",void 0,"error")}}function logIOInfo(ioInfo,rootEnv,value){var startTime=ioInfo.start,endTime=ioInfo.end;if(supportsUserTiming&&0<=endTime){var description=getIODescription(value),entryName=getIOShortName(ioInfo,description,ioInfo.env,rootEnv),color=getIOColor(entryName),debugTask=ioInfo.debugTask;if(entryName="​"+entryName,debugTask){var properties=[];"object"==typeof value&&null!==value?addObjectToProperties(value,properties,0,""):void 0!==value&&addValueToProperties("Resolved",value,properties,0,""),ioInfo=getIOLongName(ioInfo,description,ioInfo.env,rootEnv),debugTask.run(performance.measure.bind(performance,entryName,{start:0>startTime?0:startTime,end:endTime,detail:{devtools:{color:color,track:"Server Requests âš›",properties:properties,tooltipText:ioInfo}}})),performance.clearMeasures(entryName)}else console.timeStamp(entryName,0>startTime?0:startTime,endTime,"Server Requests âš›",void 0,color)}}function prepareStackTrace(error,structuredStackTrace){error=(error.name||"Error")+": "+(error.message||"");for(var i=0;i<structuredStackTrace.length;i++)error+="\n at "+structuredStackTrace[i].toString();return error}function ReactPromise(status,value,reason){this.status=status,this.value=value,this.reason=reason,this._children=[],this._debugChunk=null,this._debugInfo=[]}function hasGCedResponse(weakResponse){return void 0===weakResponse.weak.deref()}function unwrapWeakResponse(weakResponse){if(void 0===(weakResponse=weakResponse.weak.deref()))throw Error("We did not expect to receive new data after GC:ing the response.");return weakResponse}function closeDebugChannel(debugChannel){debugChannel.callback&&debugChannel.callback("")}function readChunk(chunk){switch(chunk.status){case"resolved_model":initializeModelChunk(chunk);break;case"resolved_module":initializeModuleChunk(chunk)}switch(chunk.status){case"fulfilled":return chunk.value;case"pending":case"blocked":case"halted":throw chunk;default:throw chunk.reason}}function getRoot(weakResponse){return getChunk(weakResponse=unwrapWeakResponse(weakResponse),0)}function createPendingChunk(response){return 0==response._pendingChunks++&&(response._weakResponse.response=response,null!==response._pendingInitialRender&&(clearTimeout(response._pendingInitialRender),response._pendingInitialRender=null)),new ReactPromise("pending",null,null)}function releasePendingChunk(response,chunk){"pending"===chunk.status&&0==--response._pendingChunks&&(response._weakResponse.response=null,response._pendingInitialRender=setTimeout(flushInitialRenderPerformance.bind(null,response),100))}function filterDebugInfo(response,value){if(null!==response._debugEndTime){response=response._debugEndTime-performance.timeOrigin;for(var debugInfo=[],i=0;i<value._debugInfo.length;i++){var info=value._debugInfo[i];if("number"==typeof info.time&&info.time>response)break;debugInfo.push(info)}value._debugInfo=debugInfo}}function moveDebugInfoFromChunkToInnerValue(chunk,value){"object"!=typeof(value=resolveLazy(value))||null===value||!isArrayImpl(value)&&"function"!=typeof value[ASYNC_ITERATOR]&&value.$$typeof!==REACT_ELEMENT_TYPE&&value.$$typeof!==REACT_LAZY_TYPE||(chunk=chunk._debugInfo.splice(0),isArrayImpl(value._debugInfo)?value._debugInfo.unshift.apply(value._debugInfo,chunk):Object.isFrozen(value)||Object.defineProperty(value,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:chunk}))}function wakeChunk(response,listeners,value,chunk){for(var i=0;i<listeners.length;i++){var listener=listeners[i];"function"==typeof listener?listener(value):fulfillReference(response,listener,value,chunk)}filterDebugInfo(response,chunk),moveDebugInfoFromChunkToInnerValue(chunk,value)}function rejectChunk(response,listeners,error){for(var i=0;i<listeners.length;i++){var listener=listeners[i];"function"==typeof listener?listener(error):rejectReference(response,listener.handler,error)}}function resolveBlockedCycle(resolvedChunk,reference){var referencedChunk=reference.handler.chunk;if(null===referencedChunk)return null;if(referencedChunk===resolvedChunk)return reference.handler;if(null!==(reference=referencedChunk.value))for(referencedChunk=0;referencedChunk<reference.length;referencedChunk++){var listener=reference[referencedChunk];if("function"!=typeof listener&&null!==(listener=resolveBlockedCycle(resolvedChunk,listener)))return listener}return null}function wakeChunkIfInitialized(response,chunk,resolveListeners,rejectListeners){switch(chunk.status){case"fulfilled":wakeChunk(response,resolveListeners,chunk.value,chunk);break;case"blocked":for(var i=0;i<resolveListeners.length;i++){var listener=resolveListeners[i];if("function"!=typeof listener){var cyclicHandler=resolveBlockedCycle(chunk,listener);if(null!==cyclicHandler)switch(fulfillReference(response,listener,cyclicHandler.value,chunk),resolveListeners.splice(i,1),i--,null!==rejectListeners&&-1!==(listener=rejectListeners.indexOf(listener))&&rejectListeners.splice(listener,1),chunk.status){case"fulfilled":wakeChunk(response,resolveListeners,chunk.value,chunk);return;case"rejected":null!==rejectListeners&&rejectChunk(response,rejectListeners,chunk.reason);return}}}case"pending":if(chunk.value)for(response=0;response<resolveListeners.length;response++)chunk.value.push(resolveListeners[response]);else chunk.value=resolveListeners;if(chunk.reason){if(rejectListeners)for(resolveListeners=0;resolveListeners<rejectListeners.length;resolveListeners++)chunk.reason.push(rejectListeners[resolveListeners])}else chunk.reason=rejectListeners;break;case"rejected":rejectListeners&&rejectChunk(response,rejectListeners,chunk.reason)}}function triggerErrorOnChunk(response,chunk,error){if("pending"!==chunk.status&&"blocked"!==chunk.status)chunk.reason.error(error);else{releasePendingChunk(response,chunk);var listeners=chunk.reason;if("pending"===chunk.status&&null!=chunk._debugChunk){var prevHandler=initializingHandler,prevChunk=initializingChunk;initializingHandler=null,chunk.status="blocked",chunk.value=null,chunk.reason=null,initializingChunk=chunk;try{initializeDebugChunk(response,chunk)}finally{initializingHandler=prevHandler,initializingChunk=prevChunk}}chunk.status="rejected",chunk.reason=error;a:if(null!==response._debugEndTime)for(prevHandler=response._debugEndTime-performance.timeOrigin,chunk=chunk._debugInfo,prevChunk=0;prevChunk<chunk.length;prevChunk++){var info=chunk[prevChunk];if("number"==typeof info.time&&info.time>prevHandler){chunk.length=prevChunk;break a}}null!==listeners&&rejectChunk(response,listeners,error)}}function createResolvedModelChunk(response,value){return new ReactPromise("resolved_model",value,response)}function createResolvedIteratorResultChunk(response,value,done){return new ReactPromise("resolved_model",(done?'{"done":true,"value":':'{"done":false,"value":')+value+"}",response)}function resolveIteratorResultChunk(response,chunk,value,done){resolveModelChunk(response,chunk,(done?'{"done":true,"value":':'{"done":false,"value":')+value+"}")}function resolveModelChunk(response,chunk,value){if("pending"!==chunk.status)chunk.reason.enqueueModel(value);else{releasePendingChunk(response,chunk);var resolveListeners=chunk.value,rejectListeners=chunk.reason;chunk.status="resolved_model",chunk.value=value,chunk.reason=response,null!==resolveListeners&&(initializeModelChunk(chunk),wakeChunkIfInitialized(response,chunk,resolveListeners,rejectListeners))}}function resolveModuleChunk(response,chunk,value){if("pending"===chunk.status||"blocked"===chunk.status){releasePendingChunk(response,chunk);var resolveListeners=chunk.value,rejectListeners=chunk.reason;chunk.status="resolved_module",chunk.value=value,chunk.reason=null,value=[],chunk._debugInfo.push.apply(chunk._debugInfo,value),null!==resolveListeners&&(initializeModuleChunk(chunk),wakeChunkIfInitialized(response,chunk,resolveListeners,rejectListeners))}}function initializeDebugChunk(response,chunk){var debugChunk=chunk._debugChunk;if(null!==debugChunk){var debugInfo=chunk._debugInfo,prevIsInitializingDebugInfo=isInitializingDebugInfo;isInitializingDebugInfo=!0;try{if("resolved_model"===debugChunk.status){for(var idx=debugInfo.length,c=debugChunk._debugChunk;null!==c;)"fulfilled"!==c.status&&idx++,c=c._debugChunk;switch(initializeModelChunk(debugChunk),debugChunk.status){case"fulfilled":debugInfo[idx]=initializeDebugInfo(response,debugChunk.value);break;case"blocked":case"pending":waitForReference(debugChunk,debugInfo,""+idx,response,initializeDebugInfo,[""],!0);break;default:throw debugChunk.reason}}else switch(debugChunk.status){case"fulfilled":break;case"blocked":case"pending":waitForReference(debugChunk,{},"debug",response,initializeDebugInfo,[""],!0);break;default:throw debugChunk.reason}}catch(error){triggerErrorOnChunk(response,chunk,error)}finally{isInitializingDebugInfo=prevIsInitializingDebugInfo}}}function initializeModelChunk(chunk){var prevHandler=initializingHandler,prevChunk=initializingChunk;initializingHandler=null;var resolvedModel=chunk.value,response=chunk.reason;chunk.status="blocked",chunk.value=null,chunk.reason=null,initializingChunk=chunk,initializeDebugChunk(response,chunk);try{var value=parseModel(response,resolvedModel),resolveListeners=chunk.value;if(null!==resolveListeners)for(chunk.value=null,chunk.reason=null,resolvedModel=0;resolvedModel<resolveListeners.length;resolvedModel++){var listener=resolveListeners[resolvedModel];"function"==typeof listener?listener(value):fulfillReference(response,listener,value,chunk)}if(null!==initializingHandler){if(initializingHandler.errored)throw initializingHandler.reason;if(0<initializingHandler.deps){initializingHandler.value=value,initializingHandler.chunk=chunk;return}}chunk.status="fulfilled",chunk.value=value,chunk.reason=null,filterDebugInfo(response,chunk),moveDebugInfoFromChunkToInnerValue(chunk,value)}catch(error){chunk.status="rejected",chunk.reason=error}finally{initializingHandler=prevHandler,initializingChunk=prevChunk}}function initializeModuleChunk(chunk){try{var value=requireModule(chunk.value);chunk.status="fulfilled",chunk.value=value,chunk.reason=null}catch(error){chunk.status="rejected",chunk.reason=error}}function reportGlobalError(weakResponse,error){if(!hasGCedResponse(weakResponse)){var response=unwrapWeakResponse(weakResponse);response._closed=!0,response._closedReason=error,response._chunks.forEach(function(chunk){"pending"===chunk.status?triggerErrorOnChunk(response,chunk,error):"fulfilled"===chunk.status&&null!==chunk.reason&&chunk.reason.error(error)}),void 0!==(weakResponse=response._debugChannel)&&(closeDebugChannel(weakResponse),response._debugChannel=void 0,null!==debugChannelRegistry&&debugChannelRegistry.unregister(response))}}function nullRefGetter(){return null}function initializeElement(response,element,lazyNode){var stack=element._debugStack,owner=element._owner;null===owner&&(element._owner=response._debugRootOwner);var env=response._rootEnvironmentName;null!==owner&&null!=owner.env&&(env=owner.env);var normalizedStackTrace=null;null===owner&&null!=response._debugRootStack?normalizedStackTrace=response._debugRootStack:null!==stack&&(normalizedStackTrace=createFakeJSXCallStackInDEV(response,stack,env)),element._debugStack=normalizedStackTrace,normalizedStackTrace=null,supportsCreateTask&&null!==stack&&(stack=buildFakeCallStack(response,stack,env,!1,normalizedStackTrace=console.createTask.bind(console,function(type){if(type===REACT_FRAGMENT_TYPE)return"<>";if("function"==typeof type)return'"use client"';if("object"==typeof type&&null!==type&&type.$$typeof===REACT_LAZY_TYPE)return type._init===readChunk?'"use client"':"<...>";try{var name=getComponentNameFromType(type);return name?"<"+name+">":"<...>"}catch(x){return"<...>"}}(element.type))),null===(env=null===owner?null:initializeFakeTask(response,owner))?normalizedStackTrace=null!=(env=response._debugRootTask)?env.run(stack):stack():normalizedStackTrace=env.run(stack)),element._debugTask=normalizedStackTrace,null!==owner&&initializeFakeStack(response,owner),null!==lazyNode&&(lazyNode._store&&lazyNode._store.validated&&!element._store.validated&&(element._store.validated=lazyNode._store.validated),"fulfilled"===lazyNode._payload.status&&lazyNode._debugInfo&&(response=lazyNode._debugInfo.splice(0),element._debugInfo?element._debugInfo.unshift.apply(element._debugInfo,response):Object.defineProperty(element,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:response}))),Object.freeze(element.props)}function createLazyChunkWrapper(chunk,validated){var lazyType={$$typeof:REACT_LAZY_TYPE,_payload:chunk,_init:readChunk};return lazyType._debugInfo=chunk._debugInfo,lazyType._store={validated:validated},lazyType}function getChunk(response,id){var chunks=response._chunks,chunk=chunks.get(id);return chunk||(response._closed?response._allowPartialStream?((response=chunk=createPendingChunk(response)).status="halted",response.value=null,response.reason=null):chunk=new ReactPromise("rejected",null,response._closedReason):chunk=createPendingChunk(response),chunks.set(id,chunk)),chunk}function fulfillReference(response,reference,value,fulfilledChunk){var handler=reference.handler,parentObject=reference.parentObject,key=reference.key,map=reference.map,path=reference.path;try{for(var i=1;i<path.length;i++){for(;"object"==typeof value&&null!==value&&value.$$typeof===REACT_LAZY_TYPE;){var referencedChunk=value._payload;if(referencedChunk===handler.chunk)value=handler.value;else{switch(referencedChunk.status){case"resolved_model":initializeModelChunk(referencedChunk);break;case"resolved_module":initializeModuleChunk(referencedChunk)}switch(referencedChunk.status){case"fulfilled":value=referencedChunk.value;continue;case"blocked":var cyclicHandler=resolveBlockedCycle(referencedChunk,reference);if(null!==cyclicHandler){value=cyclicHandler.value;continue}case"pending":path.splice(0,i-1),null===referencedChunk.value?referencedChunk.value=[reference]:referencedChunk.value.push(reference),null===referencedChunk.reason?referencedChunk.reason=[reference]:referencedChunk.reason.push(reference);return;case"halted":return;default:rejectReference(response,reference.handler,referencedChunk.reason);return}}}var name=path[i];if("object"==typeof value&&null!==value&&hasOwnProperty.call(value,name))value=value[name];else throw Error("Invalid reference.")}for(;"object"==typeof value&&null!==value&&value.$$typeof===REACT_LAZY_TYPE;){var _referencedChunk=value._payload;if(_referencedChunk===handler.chunk)value=handler.value;else{switch(_referencedChunk.status){case"resolved_model":initializeModelChunk(_referencedChunk);break;case"resolved_module":initializeModuleChunk(_referencedChunk)}if("fulfilled"===_referencedChunk.status){value=_referencedChunk.value;continue}break}}var mappedValue=map(response,value,parentObject,key);if("__proto__"!==key&&(parentObject[key]=mappedValue),""===key&&null===handler.value&&(handler.value=mappedValue),parentObject[0]===REACT_ELEMENT_TYPE&&"object"==typeof handler.value&&null!==handler.value&&handler.value.$$typeof===REACT_ELEMENT_TYPE){var element=handler.value;switch(key){case"3":transferReferencedDebugInfo(handler.chunk,fulfilledChunk),element.props=mappedValue;break;case"4":element._owner=mappedValue;break;case"5":element._debugStack=mappedValue;break;default:transferReferencedDebugInfo(handler.chunk,fulfilledChunk)}}else reference.isDebug||transferReferencedDebugInfo(handler.chunk,fulfilledChunk)}catch(error){rejectReference(response,reference.handler,error);return}handler.deps--,0===handler.deps&&null!==(reference=handler.chunk)&&"blocked"===reference.status&&(value=reference.value,reference.status="fulfilled",reference.value=handler.value,reference.reason=handler.reason,null!==value?wakeChunk(response,value,handler.value,reference):(handler=handler.value,filterDebugInfo(response,reference),moveDebugInfoFromChunkToInnerValue(reference,handler)))}function rejectReference(response,handler,error){if(!handler.errored){var blockedValue=handler.value;if(handler.errored=!0,handler.value=null,handler.reason=error,null!==(handler=handler.chunk)&&"blocked"===handler.status){if("object"==typeof blockedValue&&null!==blockedValue&&blockedValue.$$typeof===REACT_ELEMENT_TYPE){var erroredComponent={name:getComponentNameFromType(blockedValue.type)||"",owner:blockedValue._owner};erroredComponent.debugStack=blockedValue._debugStack,supportsCreateTask&&(erroredComponent.debugTask=blockedValue._debugTask),handler._debugInfo.push(erroredComponent)}triggerErrorOnChunk(response,handler,error)}}}function waitForReference(referencedChunk,parentObject,key,response,map,path,isAwaitingDebugInfo){return void 0!==response._debugChannel&&response._debugChannel.hasReadable||"pending"!==referencedChunk.status||parentObject[0]!==REACT_ELEMENT_TYPE||"4"!==key&&"5"!==key?(initializingHandler?(response=initializingHandler,response.deps++):response=initializingHandler={parent:null,chunk:null,value:null,reason:null,deps:1,errored:!1},(parentObject={handler:response,parentObject:parentObject,key:key,map:map,path:path}).isDebug=isAwaitingDebugInfo,null===referencedChunk.value?referencedChunk.value=[parentObject]:referencedChunk.value.push(parentObject),null===referencedChunk.reason?referencedChunk.reason=[parentObject]:referencedChunk.reason.push(parentObject),null):null}function loadServerReference(response,metaData,parentObject,key){if(!response._serverReferenceConfig)return function(metaData,callServer,encodeFormAction,findSourceMapURL){function action(){var args=Array.prototype.slice.call(arguments);return bound?"fulfilled"===bound.status?callServer(id,bound.value.concat(args)):Promise.resolve(bound).then(function(boundArgs){return callServer(id,boundArgs.concat(args))}):callServer(id,args)}var id=metaData.id,bound=metaData.bound,location=metaData.location;if(location){var functionName=metaData.name||"",filename=location[1],line=location[2];location=location[3],metaData=metaData.env||"Server",findSourceMapURL=null==findSourceMapURL?null:findSourceMapURL(filename,metaData),action=createFakeServerFunction(functionName,filename,findSourceMapURL,line,location,metaData,action)}return registerBoundServerReference(action,id,bound,encodeFormAction),action}(metaData,response._callServer,response._encodeFormAction,response._debugFindSourceMapURL);var serverReference=function(bundlerConfig,id){var name="",resolvedModuleData=bundlerConfig[id];if(resolvedModuleData)name=resolvedModuleData.name;else{var idx=id.lastIndexOf("#");if(-1!==idx&&(name=id.slice(idx+1),resolvedModuleData=bundlerConfig[id.slice(0,idx)]),!resolvedModuleData)throw Error('Could not find the module "'+id+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.')}return resolvedModuleData.async?[resolvedModuleData.id,resolvedModuleData.chunks,name,1]:[resolvedModuleData.id,resolvedModuleData.chunks,name]}(response._serverReferenceConfig,metaData.id),promise=preloadModule(serverReference);if(promise)metaData.bound&&(promise=Promise.all([promise,metaData.bound]));else{if(!metaData.bound)return registerBoundServerReference(promise=requireModule(serverReference),metaData.id,metaData.bound,response._encodeFormAction),promise;promise=Promise.resolve(metaData.bound)}if(initializingHandler){var handler=initializingHandler;handler.deps++}else handler=initializingHandler={parent:null,chunk:null,value:null,reason:null,deps:1,errored:!1};return promise.then(function(){var resolvedValue=requireModule(serverReference);if(metaData.bound){var boundArgs=metaData.bound.value.slice(0);boundArgs.unshift(null),resolvedValue=resolvedValue.bind.apply(resolvedValue,boundArgs)}if(registerBoundServerReference(resolvedValue,metaData.id,metaData.bound,response._encodeFormAction),"__proto__"!==key&&(parentObject[key]=resolvedValue),""===key&&null===handler.value&&(handler.value=resolvedValue),parentObject[0]===REACT_ELEMENT_TYPE&&"object"==typeof handler.value&&null!==handler.value&&handler.value.$$typeof===REACT_ELEMENT_TYPE)switch(boundArgs=handler.value,key){case"3":boundArgs.props=resolvedValue;break;case"4":boundArgs._owner=resolvedValue}handler.deps--,0===handler.deps&&null!==(resolvedValue=handler.chunk)&&"blocked"===resolvedValue.status&&(boundArgs=resolvedValue.value,resolvedValue.status="fulfilled",resolvedValue.value=handler.value,resolvedValue.reason=null,null!==boundArgs?wakeChunk(response,boundArgs,handler.value,resolvedValue):(boundArgs=handler.value,filterDebugInfo(response,resolvedValue),moveDebugInfoFromChunkToInnerValue(resolvedValue,boundArgs)))},function(error){if(!handler.errored){var blockedValue=handler.value;handler.errored=!0,handler.value=null,handler.reason=error;var chunk=handler.chunk;if(null!==chunk&&"blocked"===chunk.status){if("object"==typeof blockedValue&&null!==blockedValue&&blockedValue.$$typeof===REACT_ELEMENT_TYPE){var erroredComponent={name:getComponentNameFromType(blockedValue.type)||"",owner:blockedValue._owner};erroredComponent.debugStack=blockedValue._debugStack,supportsCreateTask&&(erroredComponent.debugTask=blockedValue._debugTask),chunk._debugInfo.push(erroredComponent)}triggerErrorOnChunk(response,chunk,error)}}}),null}function resolveLazy(value){for(;"object"==typeof value&&null!==value&&value.$$typeof===REACT_LAZY_TYPE;){var payload=value._payload;if("fulfilled"===payload.status)value=payload.value;else break}return value}function transferReferencedDebugInfo(parentChunk,referencedChunk){if(null!==parentChunk){referencedChunk=referencedChunk._debugInfo,parentChunk=parentChunk._debugInfo;for(var i=0;i<referencedChunk.length;++i){var debugInfoEntry=referencedChunk[i];null==debugInfoEntry.name&&parentChunk.push(debugInfoEntry)}}}function getOutlinedModel(response,reference,parentObject,key,map){var path=reference.split(":");switch(reference=getChunk(response,reference=parseInt(path[0],16)),null!==initializingChunk&&isArrayImpl(initializingChunk._children)&&initializingChunk._children.push(reference),reference.status){case"resolved_model":initializeModelChunk(reference);break;case"resolved_module":initializeModuleChunk(reference)}switch(reference.status){case"fulfilled":for(var value=reference.value,i=1;i<path.length;i++){for(;"object"==typeof value&&null!==value&&value.$$typeof===REACT_LAZY_TYPE;){switch((value=value._payload).status){case"resolved_model":initializeModelChunk(value);break;case"resolved_module":initializeModuleChunk(value)}switch(value.status){case"fulfilled":value=value.value;break;case"blocked":case"pending":return waitForReference(value,parentObject,key,response,map,path.slice(i-1),isInitializingDebugInfo);case"halted":return initializingHandler?(parentObject=initializingHandler,parentObject.deps++):initializingHandler={parent:null,chunk:null,value:null,reason:null,deps:1,errored:!1},null;default:return initializingHandler?(initializingHandler.errored=!0,initializingHandler.value=null,initializingHandler.reason=value.reason):initializingHandler={parent:null,chunk:null,value:null,reason:value.reason,deps:0,errored:!0},null}}var name=path[i];if("object"!=typeof value||null===value||getPrototypeOf(value)!==ObjectPrototype&&getPrototypeOf(value)!==ArrayPrototype||!hasOwnProperty.call(value,name))throw Error("Invalid reference.");value=value[name]}for(;"object"==typeof value&&null!==value&&value.$$typeof===REACT_LAZY_TYPE;){switch((path=value._payload).status){case"resolved_model":initializeModelChunk(path);break;case"resolved_module":initializeModuleChunk(path)}if("fulfilled"===path.status){value=path.value;continue}break}return response=map(response,value,parentObject,key),(parentObject[0]!==REACT_ELEMENT_TYPE||"4"!==key&&"5"!==key)&&(isInitializingDebugInfo||transferReferencedDebugInfo(initializingChunk,reference)),response;case"pending":case"blocked":return waitForReference(reference,parentObject,key,response,map,path,isInitializingDebugInfo);case"halted":return initializingHandler?(parentObject=initializingHandler,parentObject.deps++):initializingHandler={parent:null,chunk:null,value:null,reason:null,deps:1,errored:!1},null;default:return initializingHandler?(initializingHandler.errored=!0,initializingHandler.value=null,initializingHandler.reason=reference.reason):initializingHandler={parent:null,chunk:null,value:null,reason:reference.reason,deps:0,errored:!0},null}}function createMap(response,model){return new Map(model)}function createSet(response,model){return new Set(model)}function createBlob(response,model){return new Blob(model.slice(1),{type:model[0]})}function createFormData(response,model){response=new FormData;for(var i=0;i<model.length;i++)response.append(model[i][0],model[i][1]);return response}function applyConstructor(response,model,parentObject){Object.setPrototypeOf(parentObject,model.prototype)}function extractIterator(response,model){return model[Symbol.iterator]()}function createModel(response,model){return model}function missingCall(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.')}function markIOStarted(){this._debugIOStarted=!0}function ResponseInstance(bundlerConfig,serverReferenceConfig,moduleLoading,callServer,encodeFormAction,nonce,temporaryReferences,allowPartialStream,findSourceMapURL,replayConsole,environmentName,debugStartTime,debugEndTime,debugChannel){var chunks=new Map;this._bundlerConfig=bundlerConfig,this._serverReferenceConfig=serverReferenceConfig,this._moduleLoading=moduleLoading,this._callServer=void 0!==callServer?callServer:missingCall,this._encodeFormAction=encodeFormAction,this._nonce=nonce,this._chunks=chunks,this._stringDecoder=new util.TextDecoder,this._closed=!1,this._closedReason=null,this._allowPartialStream=allowPartialStream,this._tempRefs=temporaryReferences,this._timeOrigin=0,this._pendingInitialRender=null,this._pendingChunks=0,this._weakResponse={weak:new WeakRef(this),response:this},this._debugRootOwner=bundlerConfig=void 0===ReactSharedInteralsServer||null===ReactSharedInteralsServer.A?null:ReactSharedInteralsServer.A.getOwner(),this._debugRootStack=null!==bundlerConfig?Error("react-stack-top-frame"):null,environmentName=void 0===environmentName?"Server":environmentName,supportsCreateTask&&(this._debugRootTask=console.createTask('"use '+environmentName.toLowerCase()+'"')),this._debugStartTime=null==debugStartTime?performance.now():debugStartTime,this._debugIOStarted=!1,setTimeout(markIOStarted.bind(this),0),this._debugEndTime=void 0===debugEndTime?null:debugEndTime,this._debugFindSourceMapURL=findSourceMapURL,this._debugChannel=debugChannel,this._blockedConsole=null,this._replayConsole=replayConsole,this._rootEnvironmentName=environmentName,debugChannel&&(null===debugChannelRegistry?(closeDebugChannel(debugChannel),this._debugChannel=void 0):debugChannelRegistry.register(this,debugChannel,this)),replayConsole&&markAllTracksInOrder()}function createResponse(bundlerConfig,serverReferenceConfig,moduleLoading,callServer,encodeFormAction,nonce,temporaryReferences,allowPartialStream,findSourceMapURL,replayConsole,environmentName,debugStartTime,debugEndTime,debugChannel){return checkEvalAvailabilityOnceDev(),bundlerConfig=new ResponseInstance(bundlerConfig,serverReferenceConfig,moduleLoading,callServer,encodeFormAction,nonce,temporaryReferences,allowPartialStream,findSourceMapURL,replayConsole,environmentName,debugStartTime,debugEndTime,debugChannel)._weakResponse}function createStreamState(weakResponse,streamDebugValue){var streamState={_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};weakResponse=unwrapWeakResponse(weakResponse);var debugValuePromise=Promise.resolve(streamDebugValue);return debugValuePromise.status="fulfilled",debugValuePromise.value=streamDebugValue,streamState._debugInfo={name:"rsc stream",start:weakResponse._debugStartTime,end:weakResponse._debugStartTime,byteSize:0,value:debugValuePromise,owner:weakResponse._debugRootOwner,debugStack:weakResponse._debugRootStack,debugTask:weakResponse._debugRootTask},streamState._debugTargetChunkSize=MIN_CHUNK_SIZE,streamState}function incrementChunkDebugInfo(streamState,chunkLength){var debugInfo=streamState._debugInfo,endTime=performance.now(),previousEndTime=debugInfo.end;(chunkLength=debugInfo.byteSize+chunkLength)>streamState._debugTargetChunkSize||endTime>previousEndTime+10?(streamState._debugInfo={name:debugInfo.name,start:debugInfo.start,end:endTime,byteSize:chunkLength,value:debugInfo.value,owner:debugInfo.owner,debugStack:debugInfo.debugStack,debugTask:debugInfo.debugTask},streamState._debugTargetChunkSize=chunkLength+MIN_CHUNK_SIZE):(debugInfo.end=endTime,debugInfo.byteSize=chunkLength)}function addAsyncInfo(chunk,asyncInfo){var value=resolveLazy(chunk.value);"object"==typeof value&&null!==value&&(isArrayImpl(value)||"function"==typeof value[ASYNC_ITERATOR]||value.$$typeof===REACT_ELEMENT_TYPE||value.$$typeof===REACT_LAZY_TYPE)?isArrayImpl(value._debugInfo)?value._debugInfo.push(asyncInfo):Object.isFrozen(value)||Object.defineProperty(value,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:[asyncInfo]}):chunk._debugInfo.push(asyncInfo)}function resolveChunkDebugInfo(response,streamState,chunk){response._debugIOStarted&&(response={awaited:streamState._debugInfo},"pending"===chunk.status||"blocked"===chunk.status?(response=addAsyncInfo.bind(null,chunk,response),chunk.then(response,response)):addAsyncInfo(chunk,response))}function resolveBuffer(response,id,buffer,streamState){var chunks=response._chunks,chunk=chunks.get(id);chunk&&"pending"!==chunk.status?chunk.reason.enqueueValue(buffer):(chunk&&releasePendingChunk(response,chunk),resolveChunkDebugInfo(response,streamState,buffer=new ReactPromise("fulfilled",buffer,null)),chunks.set(id,buffer))}function resolveStream(response,id,stream,controller,streamState){var chunks=response._chunks,chunk=chunks.get(id);if(chunk){if(resolveChunkDebugInfo(response,streamState,chunk),"pending"===chunk.status){if(id=chunk.value,null!=chunk._debugChunk){streamState=initializingHandler,chunks=initializingChunk,initializingHandler=null,chunk.status="blocked",chunk.value=null,chunk.reason=null,initializingChunk=chunk;try{if(initializeDebugChunk(response,chunk),null!==initializingHandler&&!initializingHandler.errored&&0<initializingHandler.deps){initializingHandler.value=stream,initializingHandler.reason=controller,initializingHandler.chunk=chunk;return}}finally{initializingHandler=streamState,initializingChunk=chunks}}chunk.status="fulfilled",chunk.value=stream,chunk.reason=controller,null!==id?wakeChunk(response,id,chunk.value,chunk):(filterDebugInfo(response,chunk),moveDebugInfoFromChunkToInnerValue(chunk,stream))}}else 0==response._pendingChunks++&&(response._weakResponse.response=response),resolveChunkDebugInfo(response,streamState,stream=new ReactPromise("fulfilled",stream,controller)),chunks.set(id,stream)}function startReadableStream(response,id,type,streamState){var controller=null,closed=!1;type=new ReadableStream({type:type,start:function(c){controller=c}});var previousBlockedChunk=null;resolveStream(response,id,type,{enqueueValue:function(value){null===previousBlockedChunk?controller.enqueue(value):previousBlockedChunk.then(function(){controller.enqueue(value)})},enqueueModel:function(json){if(null===previousBlockedChunk){var chunk=createResolvedModelChunk(response,json);initializeModelChunk(chunk),"fulfilled"===chunk.status?controller.enqueue(chunk.value):(chunk.then(function(v){return controller.enqueue(v)},function(e){return controller.error(e)}),previousBlockedChunk=chunk)}else{chunk=previousBlockedChunk;var _chunk3=createPendingChunk(response);_chunk3.then(function(v){return controller.enqueue(v)},function(e){return controller.error(e)}),previousBlockedChunk=_chunk3,chunk.then(function(){previousBlockedChunk===_chunk3&&(previousBlockedChunk=null),resolveModelChunk(response,_chunk3,json)})}},close:function(){if(!closed)if(closed=!0,null===previousBlockedChunk)controller.close();else{var blockedChunk=previousBlockedChunk;previousBlockedChunk=null,blockedChunk.then(function(){return controller.close()})}},error:function(error){if(!closed)if(closed=!0,null===previousBlockedChunk)controller.error(error);else{var blockedChunk=previousBlockedChunk;previousBlockedChunk=null,blockedChunk.then(function(){return controller.error(error)})}}},streamState)}function asyncIterator(){return this}function startAsyncIterable(response,id,iterator,streamState){var buffer=[],closed=!1,nextWriteIndex=0,iterable={};iterable[ASYNC_ITERATOR]=function(){var next,nextReadIndex=0;return(next={next:next=function(arg){if(void 0!==arg)throw Error("Values cannot be passed to next() of AsyncIterables passed to Client Components.");if(nextReadIndex===buffer.length){if(closed)return new ReactPromise("fulfilled",{done:!0,value:void 0},null);buffer[nextReadIndex]=createPendingChunk(response)}return buffer[nextReadIndex++]}})[ASYNC_ITERATOR]=asyncIterator,next},resolveStream(response,id,iterator?iterable[ASYNC_ITERATOR]():iterable,{enqueueValue:function(value){if(nextWriteIndex===buffer.length)buffer[nextWriteIndex]=new ReactPromise("fulfilled",{done:!1,value:value},null);else{var chunk=buffer[nextWriteIndex],resolveListeners=chunk.value,rejectListeners=chunk.reason;chunk.status="fulfilled",chunk.value={done:!1,value:value},chunk.reason=null,null!==resolveListeners&&wakeChunkIfInitialized(response,chunk,resolveListeners,rejectListeners)}nextWriteIndex++},enqueueModel:function(value){nextWriteIndex===buffer.length?buffer[nextWriteIndex]=createResolvedIteratorResultChunk(response,value,!1):resolveIteratorResultChunk(response,buffer[nextWriteIndex],value,!1),nextWriteIndex++},close:function(value){if(!closed)for(closed=!0,nextWriteIndex===buffer.length?buffer[nextWriteIndex]=createResolvedIteratorResultChunk(response,value,!0):resolveIteratorResultChunk(response,buffer[nextWriteIndex],value,!0),nextWriteIndex++;nextWriteIndex<buffer.length;)resolveIteratorResultChunk(response,buffer[nextWriteIndex++],'"$undefined"',!0)},error:function(error){if(!closed)for(closed=!0,nextWriteIndex===buffer.length&&(buffer[nextWriteIndex]=createPendingChunk(response));nextWriteIndex<buffer.length;)triggerErrorOnChunk(response,buffer[nextWriteIndex++],error)}},streamState)}function resolveErrorDev(response,errorInfo){var name=errorInfo.name,message=errorInfo.message,stack=errorInfo.stack,env=errorInfo.env,errorOptions="cause"in errorInfo?{cause:reviveModel(response,errorInfo.cause,errorInfo,"cause")}:void 0,isAggregateError="undefined"!=typeof AggregateError&&"errors"in errorInfo,revivedErrors=isAggregateError?reviveModel(response,errorInfo.errors,errorInfo,"errors"):null;return message=buildFakeCallStack(response,stack,env,!1,isAggregateError?AggregateError.bind(null,revivedErrors,message||"An error occurred in the Server Components render but no message was provided",errorOptions):Error.bind(null,message||"An error occurred in the Server Components render but no message was provided",errorOptions)),stack=null,null!=errorInfo.owner&&null!==(errorInfo=getOutlinedModel(response,errorInfo=errorInfo.owner.slice(1),{},"",createModel))&&(stack=initializeFakeTask(response,errorInfo)),null===stack?response=null!=(response=getRootTask(response,env))?response.run(message):message():response=stack.run(message),response.name=name,response.environmentName=env,response}function buildFakeCallStack(response,stack,environmentName,useEnclosingLine,innerCall){for(var i=0;i<stack.length;i++){var frame=stack[i],frameKey=frame.join("-")+"-"+environmentName+(useEnclosingLine?"-e":"-n"),fn=fakeFunctionCache.get(frameKey);if(void 0===fn){fn=frame[0];var filename=frame[1],line=frame[2],col=frame[3],enclosingLine=frame[4];frame=frame[5];var findSourceMapURL=response._debugFindSourceMapURL;findSourceMapURL=findSourceMapURL?findSourceMapURL(filename,environmentName):null,fn=function(name,filename,sourceMap,line,col,enclosingLine,enclosingCol,environmentName){name||(name="<anonymous>");var encodedName=JSON.stringify(name);1>enclosingLine?enclosingLine=0:enclosingLine--,1>enclosingCol?enclosingCol=0:enclosingCol--,1>line?line=0:line--,1>col?col=0:col--,(line<enclosingLine||line===enclosingLine&&col<enclosingCol)&&(enclosingCol=enclosingLine=0),1>line?(0>(enclosingCol-=line=encodedName.length+3)&&(enclosingCol=0),0>(col=col-enclosingCol-line-3)&&(col=0),encodedName="({"+encodedName+":"+" ".repeat(enclosingCol)+"_=>"+" ".repeat(col)+"_()})"):1>enclosingLine?(0>(enclosingCol-=encodedName.length+3)&&(enclosingCol=0),encodedName="({"+encodedName+":"+" ".repeat(enclosingCol)+"_=>"+"\n".repeat(line-enclosingLine)+" ".repeat(col)+"_()})"):enclosingLine===line?(0>(col=col-enclosingCol-3)&&(col=0),encodedName="\n".repeat(enclosingLine-1)+"({"+encodedName+":\n"+" ".repeat(enclosingCol)+"_=>"+" ".repeat(col)+"_()})"):encodedName="\n".repeat(enclosingLine-1)+"({"+encodedName+":\n"+" ".repeat(enclosingCol)+"_=>"+"\n".repeat(line-enclosingLine)+" ".repeat(col)+"_()})",encodedName=1>enclosingLine?encodedName+"\n/* This module was rendered by a Server Component. Turn on Source Maps to see the server source. */":"/* This module was rendered by a Server Component. Turn on Source Maps to see the server source. */"+encodedName,filename.startsWith("/")&&(filename="file://"+filename),sourceMap?(encodedName+="\n//# sourceURL=about://React/"+encodeURIComponent(environmentName)+"/"+encodeURI(filename)+"?"+fakeFunctionIdx++,encodedName+="\n//# sourceMappingURL="+sourceMap):encodedName=filename?encodedName+"\n//# sourceURL="+encodeURI(filename):encodedName+"\n//# sourceURL=<anonymous>";try{var fn=(0,eval)(encodedName)[name]}catch(x){Object.defineProperty(fn=function(_){return _()},"name",{value:name})}return fn}(fn,filename,findSourceMapURL,line,col,useEnclosingLine?line:enclosingLine,useEnclosingLine?col:frame,environmentName),fakeFunctionCache.set(frameKey,fn)}innerCall=fn.bind(null,innerCall)}return innerCall}function getRootTask(response,childEnvironmentName){var rootTask=response._debugRootTask;return rootTask?response._rootEnvironmentName!==childEnvironmentName?(response=console.createTask.bind(console,'"use '+childEnvironmentName.toLowerCase()+'"'),rootTask.run(response)):rootTask:null}function initializeFakeTask(response,debugInfo){if(!supportsCreateTask||null==debugInfo.stack)return null;var cachedEntry=debugInfo.debugTask;if(void 0!==cachedEntry)return cachedEntry;var useEnclosingLine=void 0===debugInfo.key,stack=debugInfo.stack,env=null==debugInfo.env?response._rootEnvironmentName:debugInfo.env;cachedEntry=null==debugInfo.owner||null==debugInfo.owner.env?response._rootEnvironmentName:debugInfo.owner.env;var ownerTask=null==debugInfo.owner?null:initializeFakeTask(response,debugInfo.owner);return env=env!==cachedEntry?'"use '+env.toLowerCase()+'"':void 0!==debugInfo.key?"<"+(debugInfo.name||"...")+">":void 0!==debugInfo.name?debugInfo.name||"unknown":"await "+(debugInfo.awaited.name||"unknown"),useEnclosingLine=buildFakeCallStack(response,stack,cachedEntry,useEnclosingLine,env=console.createTask.bind(console,env)),null===ownerTask?response=null!=(response=getRootTask(response,cachedEntry))?response.run(useEnclosingLine):useEnclosingLine():response=ownerTask.run(useEnclosingLine),debugInfo.debugTask=response}function fakeJSXCallSite(){var previousStackTraceLimit=Error.stackTraceLimit;Error.stackTraceLimit=ownerStackTraceLimit;var error=Error("react-stack-top-frame");return Error.stackTraceLimit=previousStackTraceLimit,error}function initializeFakeStack(response,debugInfo){if(void 0===debugInfo.debugStack){null!=debugInfo.stack&&(debugInfo.debugStack=createFakeJSXCallStackInDEV(response,debugInfo.stack,null==debugInfo.env?"":debugInfo.env));var owner=debugInfo.owner;null!=owner&&(initializeFakeStack(response,owner),void 0===owner.debugLocation&&null!=debugInfo.debugStack&&(owner.debugLocation=debugInfo.debugStack))}}function initializeDebugInfo(response,debugInfo){if(void 0!==debugInfo.stack&&initializeFakeTask(response,debugInfo),null==debugInfo.owner&&null!=response._debugRootOwner){var _componentInfoOrAsyncInfo=debugInfo;_componentInfoOrAsyncInfo.owner=response._debugRootOwner,_componentInfoOrAsyncInfo.stack=null,_componentInfoOrAsyncInfo.debugStack=response._debugRootStack,_componentInfoOrAsyncInfo.debugTask=response._debugRootTask}else void 0!==debugInfo.stack&&initializeFakeStack(response,debugInfo);return"number"==typeof debugInfo.time&&(debugInfo={time:debugInfo.time+response._timeOrigin}),debugInfo}function getCurrentStackInDEV(){var owner=currentOwnerInDEV;if(null===owner)return"";try{var info="";if(owner.owner||"string"!=typeof owner.name){for(;owner;){var ownerStack=owner.debugStack;if(null!=ownerStack){if(owner=owner.owner){var JSCompiler_temp_const=info,error=ownerStack,prevPrepareStackTrace=Error.prepareStackTrace;Error.prepareStackTrace=prepareStackTrace;var stack=error.stack;Error.prepareStackTrace=prevPrepareStackTrace,stack.startsWith("Error: react-stack-top-frame\n")&&(stack=stack.slice(29));var idx=stack.indexOf("\n");-1!==idx&&(stack=stack.slice(idx+1)),idx=stack.indexOf("react_stack_bottom_frame"),-1!==idx&&(idx=stack.lastIndexOf("\n",idx));var JSCompiler_inline_result=-1!==idx?stack=stack.slice(0,idx):"";info=JSCompiler_temp_const+"\n"+JSCompiler_inline_result}}else break}var JSCompiler_inline_result$jscomp$0=info}else{if(JSCompiler_temp_const=owner.name,void 0===prefix)try{throw Error()}catch(x){prefix=(error=x.stack.trim().match(/\n( *(at )?)/))&&error[1]||"",suffix=-1<x.stack.indexOf("\n at")?" (<anonymous>)":-1<x.stack.indexOf("@")?"@unknown:0:0":""}JSCompiler_inline_result$jscomp$0="\n"+prefix+JSCompiler_temp_const+suffix}}catch(x){JSCompiler_inline_result$jscomp$0="\nError generating stack: "+x.message+"\n"+x.stack}return JSCompiler_inline_result$jscomp$0}function initializeIOInfo(response,ioInfo){if(void 0!==ioInfo.stack&&(initializeFakeTask(response,ioInfo),initializeFakeStack(response,ioInfo)),ioInfo.start+=response._timeOrigin,ioInfo.end+=response._timeOrigin,response._replayConsole){response=response._rootEnvironmentName;var promise=ioInfo.value;if(promise)switch(promise.status){case"fulfilled":logIOInfo(ioInfo,response,promise.value);break;case"rejected":logIOInfoErrored(ioInfo,response,promise.reason);break;default:promise.then(logIOInfo.bind(null,ioInfo,response),logIOInfoErrored.bind(null,ioInfo,response))}else logIOInfo(ioInfo,response,void 0)}}function mergeBuffer(buffer,lastChunk){for(var l=buffer.length,byteLength=lastChunk.length,i=0;i<l;i++)byteLength+=buffer[i].byteLength;byteLength=new Uint8Array(byteLength);for(var _i3=i=0;_i3<l;_i3++){var chunk=buffer[_i3];byteLength.set(chunk,i),i+=chunk.byteLength}return byteLength.set(lastChunk,i),byteLength}function resolveTypedArray(response,id,buffer,lastChunk,constructor,bytesPerElement,streamState){resolveBuffer(response,id,constructor=new constructor((buffer=0===buffer.length&&0==lastChunk.byteOffset%bytesPerElement?lastChunk:mergeBuffer(buffer,lastChunk)).buffer,buffer.byteOffset,buffer.byteLength/bytesPerElement),streamState)}function flushInitialRenderPerformance(response){if(response._replayConsole){var rootChunk=getChunk(response,0);isArrayImpl(rootChunk._children)&&(markAllTracksInOrder(),function flushComponentPerformance(response$jscomp$0,root,trackIdx$jscomp$6,trackTime,parentEndTime){if(!isArrayImpl(root._children)){var previousResult=root._children,previousEndTime=previousResult.endTime;if(-1/0<parentEndTime&&parentEndTime<previousEndTime&&null!==previousResult.component){var componentInfo=previousResult.component,trackIdx=trackIdx$jscomp$6,startTime=parentEndTime;if(supportsUserTiming&&0<=previousEndTime&&10>trackIdx){var color=componentInfo.env===response$jscomp$0._rootEnvironmentName?"primary-light":"secondary-light",entryName=componentInfo.name+" [deduped]",debugTask=componentInfo.debugTask;debugTask?debugTask.run(console.timeStamp.bind(console,entryName,0>startTime?0:startTime,previousEndTime,trackNames[trackIdx],"Server Components âš›",color)):console.timeStamp(entryName,0>startTime?0:startTime,previousEndTime,trackNames[trackIdx],"Server Components âš›",color)}}return previousResult.track=trackIdx$jscomp$6,previousResult}var children=root._children,debugInfo=root._debugInfo;if(0===debugInfo.length&&"fulfilled"===root.status){var resolvedValue=resolveLazy(root.value);"object"==typeof resolvedValue&&null!==resolvedValue&&(isArrayImpl(resolvedValue)||"function"==typeof resolvedValue[ASYNC_ITERATOR]||resolvedValue.$$typeof===REACT_ELEMENT_TYPE||resolvedValue.$$typeof===REACT_LAZY_TYPE)&&isArrayImpl(resolvedValue._debugInfo)&&(debugInfo=resolvedValue._debugInfo)}if(debugInfo){for(var startTime$jscomp$0=0,i=0;i<debugInfo.length;i++){var info=debugInfo[i];if("number"==typeof info.time&&(startTime$jscomp$0=info.time),"string"==typeof info.name){startTime$jscomp$0<trackTime&&trackIdx$jscomp$6++,trackTime=startTime$jscomp$0;break}}for(var _i4=debugInfo.length-1;0<=_i4;_i4--){var _info=debugInfo[_i4];if("number"==typeof _info.time&&_info.time>parentEndTime){parentEndTime=_info.time;break}}}var result={track:trackIdx$jscomp$6,endTime:-1/0,component:null};root._children=result;for(var childrenEndTime=-1/0,childTrackIdx=trackIdx$jscomp$6,childTrackTime=trackTime,_i5=0;_i5<children.length;_i5++){var childResult=flushComponentPerformance(response$jscomp$0,children[_i5],childTrackIdx,childTrackTime,parentEndTime);null!==childResult.component&&(result.component=childResult.component),childTrackIdx=childResult.track;var childEndTime=childResult.endTime;childEndTime>childTrackTime&&(childTrackTime=childEndTime),childEndTime>childrenEndTime&&(childrenEndTime=childEndTime)}if(debugInfo)for(var componentEndTime=0,isLastComponent=!0,endTime=-1,endTimeIdx=-1,_i6=debugInfo.length-1;0<=_i6;_i6--){var _info2=debugInfo[_i6];if("number"==typeof _info2.time){0===componentEndTime&&(componentEndTime=_info2.time);var time=_info2.time;if(-1<endTimeIdx)for(var j=endTimeIdx-1;j>_i6;j--){var candidateInfo=debugInfo[j];if("string"==typeof candidateInfo.name){componentEndTime>childrenEndTime&&(childrenEndTime=componentEndTime);var trackIdx$jscomp$0=trackIdx$jscomp$6,componentEndTime$jscomp$0=componentEndTime,childrenEndTime$jscomp$0=childrenEndTime;if(isLastComponent&&"rejected"===root.status&&root.reason!==response$jscomp$0._closedReason){var error=root.reason;if(supportsUserTiming){var env=candidateInfo.env,name=candidateInfo.name,entryName$jscomp$0=env===response$jscomp$0._rootEnvironmentName||void 0===env?name:name+" ["+env+"]",measureName="​"+entryName$jscomp$0,properties=[["Error","object"==typeof error&&null!==error&&"string"==typeof error.message?String(error.message):String(error)]];null!=candidateInfo.key&&addValueToProperties("key",candidateInfo.key,properties,0,""),null!=candidateInfo.props&&addObjectToProperties(candidateInfo.props,properties,0,""),performance.measure(measureName,{start:0>time?0:time,end:childrenEndTime$jscomp$0,detail:{devtools:{color:"error",track:trackNames[trackIdx$jscomp$0],trackGroup:"Server Components âš›",tooltipText:entryName$jscomp$0+" Errored",properties:properties}}}),performance.clearMeasures(measureName)}}else if(supportsUserTiming&&0<=childrenEndTime$jscomp$0&&10>trackIdx$jscomp$0){var env$jscomp$0=candidateInfo.env,name$jscomp$0=candidateInfo.name,isPrimaryEnv=env$jscomp$0===response$jscomp$0._rootEnvironmentName,selfTime=componentEndTime$jscomp$0-time,color$jscomp$0=.5>selfTime?isPrimaryEnv?"primary-light":"secondary-light":50>selfTime?isPrimaryEnv?"primary":"secondary":500>selfTime?isPrimaryEnv?"primary-dark":"secondary-dark":"error",debugTask$jscomp$0=candidateInfo.debugTask,measureName$jscomp$0="​"+(isPrimaryEnv||void 0===env$jscomp$0?name$jscomp$0:name$jscomp$0+" ["+env$jscomp$0+"]");if(debugTask$jscomp$0){var properties$jscomp$0=[];null!=candidateInfo.key&&addValueToProperties("key",candidateInfo.key,properties$jscomp$0,0,""),null!=candidateInfo.props&&addObjectToProperties(candidateInfo.props,properties$jscomp$0,0,""),debugTask$jscomp$0.run(performance.measure.bind(performance,measureName$jscomp$0,{start:0>time?0:time,end:childrenEndTime$jscomp$0,detail:{devtools:{color:color$jscomp$0,track:trackNames[trackIdx$jscomp$0],trackGroup:"Server Components âš›",properties:properties$jscomp$0}}})),performance.clearMeasures(measureName$jscomp$0)}else console.timeStamp(measureName$jscomp$0,0>time?0:time,childrenEndTime$jscomp$0,trackNames[trackIdx$jscomp$0],"Server Components âš›",color$jscomp$0)}componentEndTime=time,result.component=candidateInfo,isLastComponent=!1}else if(candidateInfo.awaited&&null!=candidateInfo.awaited.env){endTime>childrenEndTime&&(childrenEndTime=endTime);var env$jscomp$1=response$jscomp$0._rootEnvironmentName,promise=candidateInfo.awaited.value;if(promise)switch(promise.status){case"fulfilled":logComponentAwait(candidateInfo,trackIdx$jscomp$6,time,endTime,env$jscomp$1,promise.value);break;case"rejected":var trackIdx$jscomp$3=trackIdx$jscomp$6,endTime$jscomp$0=endTime,error$jscomp$0=promise.reason;if(supportsUserTiming&&0<endTime$jscomp$0){var description=getIODescription(error$jscomp$0),entryName$jscomp$1="await "+getIOShortName(candidateInfo.awaited,description,candidateInfo.env,env$jscomp$1),debugTask$jscomp$1=candidateInfo.debugTask||candidateInfo.awaited.debugTask;if(debugTask$jscomp$1){var properties$jscomp$1=[["Rejected","object"==typeof error$jscomp$0&&null!==error$jscomp$0&&"string"==typeof error$jscomp$0.message?String(error$jscomp$0.message):String(error$jscomp$0)]],tooltipText=getIOLongName(candidateInfo.awaited,description,candidateInfo.env,env$jscomp$1)+" Rejected";debugTask$jscomp$1.run(performance.measure.bind(performance,entryName$jscomp$1,{start:0>time?0:time,end:endTime$jscomp$0,detail:{devtools:{color:"error",track:trackNames[trackIdx$jscomp$3],trackGroup:"Server Components âš›",properties:properties$jscomp$1,tooltipText:tooltipText}}})),performance.clearMeasures(entryName$jscomp$1)}else console.timeStamp(entryName$jscomp$1,0>time?0:time,endTime$jscomp$0,trackNames[trackIdx$jscomp$3],"Server Components âš›","error")}break;default:logComponentAwait(candidateInfo,trackIdx$jscomp$6,time,endTime,env$jscomp$1,void 0)}else logComponentAwait(candidateInfo,trackIdx$jscomp$6,time,endTime,env$jscomp$1,void 0)}}else{endTime=time;for(var _j=debugInfo.length-1;_j>_i6;_j--){var _candidateInfo=debugInfo[_j];if("string"==typeof _candidateInfo.name){componentEndTime>childrenEndTime&&(childrenEndTime=componentEndTime);var _env=response$jscomp$0._rootEnvironmentName,trackIdx$jscomp$4=trackIdx$jscomp$6,childrenEndTime$jscomp$3=childrenEndTime;if(supportsUserTiming){var env$jscomp$2=_candidateInfo.env,name$jscomp$1=_candidateInfo.name,entryName$jscomp$2=env$jscomp$2===_env||void 0===env$jscomp$2?name$jscomp$1:name$jscomp$1+" ["+env$jscomp$2+"]",measureName$jscomp$1="​"+entryName$jscomp$2,properties$jscomp$2=[["Aborted","The stream was aborted before this Component finished rendering."]];null!=_candidateInfo.key&&addValueToProperties("key",_candidateInfo.key,properties$jscomp$2,0,""),null!=_candidateInfo.props&&addObjectToProperties(_candidateInfo.props,properties$jscomp$2,0,""),performance.measure(measureName$jscomp$1,{start:0>time?0:time,end:childrenEndTime$jscomp$3,detail:{devtools:{color:"warning",track:trackNames[trackIdx$jscomp$4],trackGroup:"Server Components âš›",tooltipText:entryName$jscomp$2+" Aborted",properties:properties$jscomp$2}}}),performance.clearMeasures(measureName$jscomp$1)}componentEndTime=time,result.component=_candidateInfo,isLastComponent=!1}else if(_candidateInfo.awaited&&null!=_candidateInfo.awaited.env){var _env2=response$jscomp$0._rootEnvironmentName;_candidateInfo.awaited.end>endTime&&(endTime=_candidateInfo.awaited.end),endTime>childrenEndTime&&(childrenEndTime=endTime);var trackIdx$jscomp$5=trackIdx$jscomp$6,endTime$jscomp$1=endTime;if(supportsUserTiming&&0<endTime$jscomp$1){var entryName$jscomp$3="await "+getIOShortName(_candidateInfo.awaited,"",_candidateInfo.env,_env2),debugTask$jscomp$2=_candidateInfo.debugTask||_candidateInfo.awaited.debugTask;if(debugTask$jscomp$2){var tooltipText$jscomp$0=getIOLongName(_candidateInfo.awaited,"",_candidateInfo.env,_env2)+" Aborted";debugTask$jscomp$2.run(performance.measure.bind(performance,entryName$jscomp$3,{start:0>time?0:time,end:endTime$jscomp$1,detail:{devtools:{color:"warning",track:trackNames[trackIdx$jscomp$5],trackGroup:"Server Components âš›",properties:[["Aborted","The stream was aborted before this Promise resolved."]],tooltipText:tooltipText$jscomp$0}}})),performance.clearMeasures(entryName$jscomp$3)}else console.timeStamp(entryName$jscomp$3,0>time?0:time,endTime$jscomp$1,trackNames[trackIdx$jscomp$5],"Server Components âš›","warning")}}}}endTime=time,endTimeIdx=_i6}}return result.endTime=childrenEndTime,result}(response,rootChunk,0,-1/0,-1/0))}}function processFullStringRow(response,streamState,id,tag,row){switch(tag){case 73:var response1=response,id1=id,model=row,streamState1=streamState,chunks=response1._chunks,chunk=chunks.get(id1);model=parseModel(response1,model);var clientReference=function(bundlerConfig,metadata){if(bundlerConfig){var moduleExports=bundlerConfig[metadata[0]];if(bundlerConfig=moduleExports&&moduleExports[metadata[2]])moduleExports=bundlerConfig.name;else{if(!(bundlerConfig=moduleExports&&moduleExports["*"]))throw Error('Could not find the module "'+metadata[0]+'" in the React Server Consumer Manifest. This is probably a bug in the React Server Components bundler.');moduleExports=metadata[2]}return 4===metadata.length?[bundlerConfig.id,bundlerConfig.chunks,moduleExports,1]:[bundlerConfig.id,bundlerConfig.chunks,moduleExports]}return metadata}(response1._bundlerConfig,model);if(!function(moduleLoading,chunks,nonce$jscomp$0){if(null!==moduleLoading)for(var i=1;i<chunks.length;i+=2){var JSCompiler_temp_const=ReactDOMSharedInternals.d,JSCompiler_temp_const$jscomp$0=JSCompiler_temp_const.X,JSCompiler_temp_const$jscomp$1=moduleLoading.prefix+chunks[i],JSCompiler_inline_result=moduleLoading.crossOrigin;JSCompiler_inline_result="string"==typeof JSCompiler_inline_result?"use-credentials"===JSCompiler_inline_result?JSCompiler_inline_result:"":void 0,JSCompiler_temp_const$jscomp$0.call(JSCompiler_temp_const,JSCompiler_temp_const$jscomp$1,{crossOrigin:JSCompiler_inline_result,integrity:void 0,fetchPriority:void 0,nonce:nonce$jscomp$0})}}(response1._moduleLoading,model[1],response1._nonce),model=preloadModule(clientReference)){if(chunk){releasePendingChunk(response1,chunk);var blockedChunk=chunk;blockedChunk.status="blocked"}else blockedChunk=new ReactPromise("blocked",null,null),chunks.set(id1,blockedChunk);resolveChunkDebugInfo(response1,streamState1,blockedChunk),model.then(function(){return resolveModuleChunk(response1,blockedChunk,clientReference)},function(error){return triggerErrorOnChunk(response1,blockedChunk,error)})}else chunk?(resolveChunkDebugInfo(response1,streamState1,chunk),resolveModuleChunk(response1,chunk,clientReference)):(resolveChunkDebugInfo(response1,streamState1,chunk=new ReactPromise("resolved_module",clientReference,null)),chunks.set(id1,chunk));break;case 72:switch(id=row[0],response=parseModel(response,streamState=row.slice(1)),streamState=ReactDOMSharedInternals.d,id){case"D":streamState.D(response);break;case"C":"string"==typeof response?streamState.C(response):streamState.C(response[0],response[1]);break;case"L":id=response[0],row=response[1],3===response.length?streamState.L(id,row,response[2]):streamState.L(id,row);break;case"m":"string"==typeof response?streamState.m(response):streamState.m(response[0],response[1]);break;case"X":"string"==typeof response?streamState.X(response):streamState.X(response[0],response[1]);break;case"S":"string"==typeof response?streamState.S(response):streamState.S(response[0],0===response[1]?void 0:response[1],3===response.length?response[2]:void 0);break;case"M":"string"==typeof response?streamState.M(response):streamState.M(response[0],response[1])}break;case 69:var chunk1=(tag=response._chunks).get(id),error=resolveErrorDev(response,row=JSON.parse(row));error.digest=row.digest,chunk1?(resolveChunkDebugInfo(response,streamState,chunk1),triggerErrorOnChunk(response,chunk1,error)):(resolveChunkDebugInfo(response,streamState,row=new ReactPromise("rejected",null,error)),tag.set(id,row));break;case 84:(chunk1=(tag=response._chunks).get(id))&&"pending"!==chunk1.status?chunk1.reason.enqueueValue(row):(chunk1&&releasePendingChunk(response,chunk1),resolveChunkDebugInfo(response,streamState,row=new ReactPromise("fulfilled",row,null)),tag.set(id,row));break;case 78:response._timeOrigin=row-performance.timeOrigin;break;case 68:"fulfilled"!==(id=getChunk(response,id)).status&&"rejected"!==id.status&&"halted"!==id.status&&"blocked"!==id.status&&"resolved_module"!==id.status&&(streamState=id._debugChunk,(tag=createResolvedModelChunk(response,row))._debugChunk=streamState,id._debugChunk=tag,initializeDebugChunk(response,id),"blocked"!==tag.status||void 0!==response._debugChannel&&response._debugChannel.hasReadable||'"'!==row[0]||"$"!==row[1]||"pending"===getChunk(response,streamState=parseInt((streamState=row.slice(2,row.length-1).split(":"))[0],16)).status&&(id._debugChunk=null));break;case 74:var response2=response,id2=id,model1=row,chunks1=response2._chunks,chunk2=chunks1.get(id2),prevIsInitializingDebugInfo=isInitializingDebugInfo;isInitializingDebugInfo=!0;try{chunk2?(resolveModelChunk(response2,chunk2,model1),"resolved_model"===chunk2.status&&initializeModelChunk(chunk2)):(chunk2=createResolvedModelChunk(response2,model1),chunks1.set(id2,chunk2),initializeModelChunk(chunk2))}finally{isInitializingDebugInfo=prevIsInitializingDebugInfo}"fulfilled"===chunk2.status?initializeIOInfo(response2,chunk2.value):chunk2.then(function(v){initializeIOInfo(response2,v)},function(){});break;case 87:var response3=response,json=row;if(response3._replayConsole){var blockedChunk1=response3._blockedConsole;if(null==blockedChunk1)initializeModelChunk(blockedChunk1=createResolvedModelChunk(response3,json)),"fulfilled"===blockedChunk1.status?replayConsoleWithCallStackInDEV(response3,blockedChunk1.value):(blockedChunk1.then(function(v){return replayConsoleWithCallStackInDEV(response3,v)},function(){}),response3._blockedConsole=blockedChunk1);else{var _chunk4=createPendingChunk(response3);_chunk4.then(function(v){return replayConsoleWithCallStackInDEV(response3,v)},function(){}),response3._blockedConsole=_chunk4;var unblock=function(){response3._blockedConsole===_chunk4&&(response3._blockedConsole=null),resolveModelChunk(response3,_chunk4,json)};blockedChunk1.then(unblock,unblock)}}break;case 82:startReadableStream(response,id,void 0,streamState);break;case 114:startReadableStream(response,id,"bytes",streamState);break;case 88:startAsyncIterable(response,id,!1,streamState);break;case 120:startAsyncIterable(response,id,!0,streamState);break;case 67:(id=response._chunks.get(id))&&"fulfilled"===id.status&&(0==--response._pendingChunks&&(response._weakResponse.response=null),id.reason.close(""===row?'"$undefined"':row));break;default:""===row?((row=(streamState=response._chunks).get(id))||streamState.set(id,row=createPendingChunk(response)),("pending"===row.status||"blocked"===row.status)&&(releasePendingChunk(response,row),(response=row).status="halted",response.value=null,response.reason=null)):(chunk1=(tag=response._chunks).get(id))?(resolveChunkDebugInfo(response,streamState,chunk1),resolveModelChunk(response,chunk1,row)):(row=createResolvedModelChunk(response,row),resolveChunkDebugInfo(response,streamState,row),tag.set(id,row))}}function processBinaryChunk(weakResponse,streamState,chunk){if(!hasGCedResponse(weakResponse)){weakResponse=unwrapWeakResponse(weakResponse);var i=0,rowState=streamState._rowState,rowID=streamState._rowID,rowTag=streamState._rowTag,rowLength=streamState._rowLength,buffer=streamState._buffer,chunkLength=chunk.length;for(incrementChunkDebugInfo(streamState,chunkLength);i<chunkLength;){var lastIdx=-1;switch(rowState){case 0:58===(lastIdx=chunk[i++])?rowState=1:rowID=rowID<<4|(96<lastIdx?lastIdx-87:lastIdx-48);continue;case 1:84===(rowState=chunk[i])||65===rowState||79===rowState||111===rowState||98===rowState||85===rowState||83===rowState||115===rowState||76===rowState||108===rowState||71===rowState||103===rowState||77===rowState||109===rowState||86===rowState?(rowTag=rowState,rowState=2,i++):64<rowState&&91>rowState||35===rowState||114===rowState||120===rowState?(rowTag=rowState,rowState=3,i++):(rowTag=0,rowState=3);continue;case 2:44===(lastIdx=chunk[i++])?rowState=4:rowLength=rowLength<<4|(96<lastIdx?lastIdx-87:lastIdx-48);continue;case 3:lastIdx=chunk.indexOf(10,i);break;case 4:(lastIdx=i+rowLength)>chunk.length&&(lastIdx=-1)}var offset=chunk.byteOffset+i;if(-1<lastIdx)rowLength=new Uint8Array(chunk.buffer,offset,lastIdx-i),98===rowTag?resolveBuffer(weakResponse,rowID,lastIdx===chunkLength?rowLength:rowLength.slice(),streamState):function(response,streamState,id,tag,buffer,chunk){switch(tag){case 65:resolveBuffer(response,id,mergeBuffer(buffer,chunk).buffer,streamState);return;case 79:resolveTypedArray(response,id,buffer,chunk,Int8Array,1,streamState);return;case 111:resolveBuffer(response,id,0===buffer.length?chunk:mergeBuffer(buffer,chunk),streamState);return;case 85:resolveTypedArray(response,id,buffer,chunk,Uint8ClampedArray,1,streamState);return;case 83:resolveTypedArray(response,id,buffer,chunk,Int16Array,2,streamState);return;case 115:resolveTypedArray(response,id,buffer,chunk,Uint16Array,2,streamState);return;case 76:resolveTypedArray(response,id,buffer,chunk,Int32Array,4,streamState);return;case 108:resolveTypedArray(response,id,buffer,chunk,Uint32Array,4,streamState);return;case 71:resolveTypedArray(response,id,buffer,chunk,Float32Array,4,streamState);return;case 103:resolveTypedArray(response,id,buffer,chunk,Float64Array,8,streamState);return;case 77:resolveTypedArray(response,id,buffer,chunk,BigInt64Array,8,streamState);return;case 109:resolveTypedArray(response,id,buffer,chunk,BigUint64Array,8,streamState);return;case 86:resolveTypedArray(response,id,buffer,chunk,DataView,1,streamState);return}for(var stringDecoder=response._stringDecoder,row="",i=0;i<buffer.length;i++)row+=stringDecoder.decode(buffer[i],decoderOptions);processFullStringRow(response,streamState,id,tag,row+=stringDecoder.decode(chunk))}(weakResponse,streamState,rowID,rowTag,buffer,rowLength),i=lastIdx,3===rowState&&i++,rowLength=rowID=rowTag=rowState=0,buffer.length=0;else{chunk=new Uint8Array(chunk.buffer,offset,chunk.byteLength-i),98===rowTag?(rowLength-=chunk.byteLength,resolveBuffer(weakResponse,rowID,chunk,streamState)):(buffer.push(chunk),rowLength-=chunk.byteLength);break}}streamState._rowState=rowState,streamState._rowID=rowID,streamState._rowTag=rowTag,streamState._rowLength=rowLength}}function parseModel(response,json){return reviveModel(response,json=JSON.parse(json),{"":json},"")}function reviveModel(response,value,parentObject,key){if("string"==typeof value)return"$"===value[0]?function(response,parentObject,key,value){if("$"===value[0]){if("$"===value)return null!==initializingHandler&&"0"===key&&(initializingHandler={parent:initializingHandler,chunk:null,value:null,reason:null,deps:0,errored:!1}),REACT_ELEMENT_TYPE;switch(value[1]){case"$":return value.slice(1);case"L":return response=getChunk(response,parentObject=parseInt(value.slice(2),16)),null!==initializingChunk&&isArrayImpl(initializingChunk._children)&&initializingChunk._children.push(response),createLazyChunkWrapper(response,0);case"@":return response=getChunk(response,parentObject=parseInt(value.slice(2),16)),null!==initializingChunk&&isArrayImpl(initializingChunk._children)&&initializingChunk._children.push(response),response;case"S":return Symbol.for(value.slice(2));case"h":var chunk,parentObject1,key1,ref=value.slice(2);return getOutlinedModel(response,ref,parentObject,key,loadServerReference);case"T":if(parentObject="$"+value.slice(2),null==(response=response._tempRefs))throw Error("Missing a temporary reference set but the RSC response returned a temporary reference. Pass a temporaryReference option with the set that was used with the reply.");return response.get(parentObject);case"Q":return getOutlinedModel(response,ref=value.slice(2),parentObject,key,createMap);case"W":return getOutlinedModel(response,ref=value.slice(2),parentObject,key,createSet);case"B":return getOutlinedModel(response,ref=value.slice(2),parentObject,key,createBlob);case"K":return getOutlinedModel(response,ref=value.slice(2),parentObject,key,createFormData);case"Z":return getOutlinedModel(response,ref=value.slice(2),parentObject,key,resolveErrorDev);case"i":return getOutlinedModel(response,ref=value.slice(2),parentObject,key,extractIterator);case"I":return 1/0;case"-":return"$-0"===value?-0:-1/0;case"N":return NaN;case"u":return;case"D":return new Date(Date.parse(value.slice(2)));case"n":return BigInt(value.slice(2));case"P":return getOutlinedModel(response,ref=value.slice(2),parentObject,key,applyConstructor);case"E":response=value.slice(2);try{if(!mightHaveStaticConstructor.test(response))return(0,eval)(response)}catch(x){}try{if(ref=function(code){if((code=code.startsWith("Object.defineProperty(")?code.slice(22):code.startsWith("(")?code.slice(1):code).startsWith("async function")){var idx=code.indexOf("(",14);if(-1!==idx)return(0,eval)("({"+JSON.stringify(code=code.slice(14,idx).trim())+":async function(){}})")[code]}else if(code.startsWith("function")){if(-1!==(idx=code.indexOf("(",8)))return(0,eval)("({"+JSON.stringify(code=code.slice(8,idx).trim())+":function(){}})")[code]}else if(code.startsWith("class")&&-1!==(idx=code.indexOf("{",5)))return(0,eval)("({"+JSON.stringify(code=code.slice(5,idx).trim())+":class{}})")[code];return function(){}}(response),response.startsWith("Object.defineProperty(")){var idx=response.lastIndexOf(',"name",{value:"');if(-1!==idx){var name=JSON.parse(response.slice(idx+16-1,response.length-2));Object.defineProperty(ref,"name",{value:name})}}}catch(_){ref=function(){}}return ref;case"Y":if(2<value.length&&(ref=response._debugChannel&&response._debugChannel.callback)){if("@"===value[2])return key=parseInt(parentObject=value.slice(3),16),response._chunks.has(key)||ref("P:"+parentObject),getChunk(response,key);return idx=parseInt(value=value.slice(2),16),response._chunks.has(idx)||ref("Q:"+value),"fulfilled"===(ref=getChunk(response,idx)).status?ref.value:(chunk=ref,parentObject1=parentObject,"__proto__"!==(key1=key)&&Object.defineProperty(parentObject1,key1,{get:function(){switch("resolved_model"===chunk.status&&initializeModelChunk(chunk),chunk.status){case"fulfilled":return chunk.value;case"rejected":throw chunk.reason}return"This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects."},set:function(){},enumerable:!0,configurable:!1}),null)}return"__proto__"!==key&&Object.defineProperty(parentObject,key,{get:function(){return"This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects."},set:function(){},enumerable:!0,configurable:!1}),null;default:return getOutlinedModel(response,ref=value.slice(1),parentObject,key,createModel)}}return value}(response,parentObject,key,value):value;if("object"!=typeof value||null===value)return value;if(isArrayImpl(value)){for(var i=0;i<value.length;i++)value[i]=reviveModel(response,value[i],value,""+i);if(value[0]===REACT_ELEMENT_TYPE){if(value[0]===REACT_ELEMENT_TYPE)b:{if(key=value[4],parentObject=value[5],i=value[6],Object.defineProperty(value={$$typeof:REACT_ELEMENT_TYPE,type:value[1],key:value[2],props:value[3],_owner:void 0===key?null:key},"ref",{enumerable:!1,get:nullRefGetter}),value._store={},Object.defineProperty(value._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:i}),Object.defineProperty(value,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(value,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:void 0===parentObject?null:parentObject}),Object.defineProperty(value,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:null}),null!==initializingHandler){if(initializingHandler=(key=initializingHandler).parent,key.errored){parentObject=new ReactPromise("rejected",null,key.reason),initializeElement(response,value,null),(response={name:getComponentNameFromType(value.type)||"",owner:value._owner}).debugStack=value._debugStack,supportsCreateTask&&(response.debugTask=value._debugTask),parentObject._debugInfo=[response],response=createLazyChunkWrapper(parentObject,i);break b}if(0<key.deps){parentObject=new ReactPromise("blocked",null,null),key.value=value,key.chunk=parentObject,i=createLazyChunkWrapper(parentObject,i),response=initializeElement.bind(null,response,value,i),parentObject.then(response,response),response=i;break b}}initializeElement(response,value,null),response=value}else response=value;return response}return value}for(i in value)hasOwnProperty.call(value,i)&&("__proto__"===i?delete value[i]:void 0!==(parentObject=reviveModel(response,value[i],value,i))?value[i]=parentObject:delete value[i]);return value}function close(weakResponse){if(!hasGCedResponse(weakResponse)){var response=unwrapWeakResponse(weakResponse);response._allowPartialStream?(response._closed=!0,response._chunks.forEach(function(chunk){"pending"===chunk.status?(releasePendingChunk(response,chunk),chunk.status="halted",chunk.value=null,chunk.reason=null):"fulfilled"===chunk.status&&null!==chunk.reason&&chunk.reason.close('"$undefined"')}),void 0!==(weakResponse=response._debugChannel)&&(closeDebugChannel(weakResponse),response._debugChannel=void 0,null!==debugChannelRegistry&&debugChannelRegistry.unregister(response))):reportGlobalError(weakResponse,Error("Connection closed."))}}function noServerCall$1(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.")}function createResponseFromOptions(options){return createResponse(options.serverConsumerManifest.moduleMap,options.serverConsumerManifest.serverModuleMap,options.serverConsumerManifest.moduleLoading,noServerCall$1,options.encodeFormAction,"string"==typeof options.nonce?options.nonce:void 0,options&&options.temporaryReferences?options.temporaryReferences:void 0,options&&options.unstable_allowPartialStream?options.unstable_allowPartialStream:!1,options&&options.findSourceMapURL?options.findSourceMapURL:void 0,options?!0===options.replayConsoleLogs:!1,options&&options.environmentName?options.environmentName:void 0,options&&null!=options.startTime?options.startTime:void 0,options&&null!=options.endTime?options.endTime:void 0,options&&void 0!==options.debugChannel?{hasReadable:void 0!==options.debugChannel.readable,callback:null}:void 0)}function startReadingFromStream$1(response,stream,onDone,debugValue){function error(e){reportGlobalError(response,e)}var streamState=createStreamState(response,debugValue),reader=stream.getReader();reader.read().then(function progress(_ref){var value=_ref.value;return _ref.done?onDone():(processBinaryChunk(response,streamState,value),reader.read().then(progress).catch(error))}).catch(error)}function noServerCall(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.")}function startReadingFromStream(response$jscomp$0,stream,onEnd){var streamState=createStreamState(response$jscomp$0,stream);stream.on("data",function(chunk){if("string"==typeof chunk){if(!hasGCedResponse(response$jscomp$0)){var response=unwrapWeakResponse(response$jscomp$0),i=0,rowState=streamState._rowState,rowID=streamState._rowID,rowTag=streamState._rowTag,rowLength=streamState._rowLength,buffer=streamState._buffer,chunkLength=chunk.length;for(incrementChunkDebugInfo(streamState,chunkLength);i<chunkLength;){var lastIdx=-1;switch(rowState){case 0:58===(lastIdx=chunk.charCodeAt(i++))?rowState=1:rowID=rowID<<4|(96<lastIdx?lastIdx-87:lastIdx-48);continue;case 1:84===(rowState=chunk.charCodeAt(i))||65===rowState||79===rowState||111===rowState||85===rowState||83===rowState||115===rowState||76===rowState||108===rowState||71===rowState||103===rowState||77===rowState||109===rowState||86===rowState?(rowTag=rowState,rowState=2,i++):64<rowState&&91>rowState||114===rowState||120===rowState?(rowTag=rowState,rowState=3,i++):(rowTag=0,rowState=3);continue;case 2:44===(lastIdx=chunk.charCodeAt(i++))?rowState=4:rowLength=rowLength<<4|(96<lastIdx?lastIdx-87:lastIdx-48);continue;case 3:lastIdx=chunk.indexOf("\n",i);break;case 4:if(84!==rowTag)throw Error("Binary RSC chunks cannot be encoded as strings. This is a bug in the wiring of the React streams.");if(rowLength<chunk.length||chunk.length>3*rowLength)throw Error("String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams.");lastIdx=chunk.length}if(-1<lastIdx){if(0<buffer.length)throw Error("String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams.");processFullStringRow(response,streamState,rowID,rowTag,i=chunk.slice(i,lastIdx)),i=lastIdx,3===rowState&&i++,rowLength=rowID=rowTag=rowState=0,buffer.length=0}else if(chunk.length!==i)throw Error("String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams.")}streamState._rowState=rowState,streamState._rowID=rowID,streamState._rowTag=rowTag,streamState._rowLength=rowLength}}else processBinaryChunk(response$jscomp$0,streamState,chunk)}),stream.on("error",function(error){reportGlobalError(response$jscomp$0,error)}),stream.on("end",onEnd)}var prefix,suffix,util=__webpack_require__("util"),ReactDOM=__webpack_require__("./dist/compiled/react-dom/index.js"),React=__webpack_require__("./dist/compiled/react/index.js"),decoderOptions={stream:!0},bind$1=Function.prototype.bind,hasConfirmedEval=!1,hasOwnProperty=Object.prototype.hasOwnProperty,chunkCache=new Map,ReactDOMSharedInternals=ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,REACT_ELEMENT_TYPE=Symbol.for("react.transitional.element"),REACT_PORTAL_TYPE=Symbol.for("react.portal"),REACT_FRAGMENT_TYPE=Symbol.for("react.fragment"),REACT_STRICT_MODE_TYPE=Symbol.for("react.strict_mode"),REACT_PROFILER_TYPE=Symbol.for("react.profiler"),REACT_CONSUMER_TYPE=Symbol.for("react.consumer"),REACT_CONTEXT_TYPE=Symbol.for("react.context"),REACT_FORWARD_REF_TYPE=Symbol.for("react.forward_ref"),REACT_SUSPENSE_TYPE=Symbol.for("react.suspense"),REACT_SUSPENSE_LIST_TYPE=Symbol.for("react.suspense_list"),REACT_MEMO_TYPE=Symbol.for("react.memo"),REACT_LAZY_TYPE=Symbol.for("react.lazy"),REACT_ACTIVITY_TYPE=Symbol.for("react.activity"),REACT_VIEW_TRANSITION_TYPE=Symbol.for("react.view_transition"),MAYBE_ITERATOR_SYMBOL=Symbol.iterator,ASYNC_ITERATOR=Symbol.asyncIterator,isArrayImpl=Array.isArray,getPrototypeOf=Object.getPrototypeOf,jsxPropsParents=new WeakMap,jsxChildrenParents=new WeakMap,CLIENT_REFERENCE_TAG=Symbol.for("react.client.reference"),ObjectPrototype$1=Object.prototype,knownServerReferences=new WeakMap,boundCache=new WeakMap,fakeServerFunctionIdx=0,FunctionBind=Function.prototype.bind,ArraySlice=Array.prototype.slice,v8FrameRegExp=/^ {3} at (?:(.+) \((.+):(\d+):(\d+)\)|(?:async )?(.+):(\d+):(\d+))$/,jscSpiderMonkeyFrameRegExp=/(?:(.*)@)?(.*):(\d+):(\d+)/,REACT_CLIENT_REFERENCE=Symbol.for("react.client.reference"),supportsUserTiming="undefined"!=typeof console&&"function"==typeof console.timeStamp&&"undefined"!=typeof performance&&"function"==typeof performance.measure,trackNames="Primary Parallel Parallel​ Parallel​​ Parallel​​​ Parallel​​​​ Parallel​​​​​ Parallel​​​​​​ Parallel​​​​​​​ Parallel​​​​​​​​".split(" ");new("function"==typeof WeakMap?WeakMap:Map);var ReactSharedInteralsServer=React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ReactSharedInternals=React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE||ReactSharedInteralsServer,ObjectPrototype=Object.prototype,ArrayPrototype=Array.prototype;ReactPromise.prototype=Object.create(Promise.prototype),Object.defineProperty(ReactPromise.prototype,"then",{writable:!0,enumerable:!0,configurable:!0,value:function(resolve,reject){var _this=this;switch(this.status){case"resolved_model":initializeModelChunk(this);break;case"resolved_module":initializeModuleChunk(this)}var resolveCallback=resolve,rejectCallback=reject,wrapperPromise=new Promise(function(res,rej){resolve=function(value){wrapperPromise._debugInfo=_this._debugInfo,res(value)},reject=function(reason){wrapperPromise._debugInfo=_this._debugInfo,rej(reason)}});switch(wrapperPromise.then(resolveCallback,rejectCallback),this.status){case"fulfilled":"function"==typeof resolve&&resolve(this.value);break;case"pending":case"blocked":"function"==typeof resolve&&(null===this.value&&(this.value=[]),this.value.push(resolve)),"function"==typeof reject&&(null===this.reason&&(this.reason=[]),this.reason.push(reject));break;case"halted":break;default:"function"==typeof reject&&reject(this.reason)}}});var debugChannelRegistry="function"==typeof FinalizationRegistry?new FinalizationRegistry(closeDebugChannel):null,initializingHandler=null,initializingChunk=null,isInitializingDebugInfo=!1,mightHaveStaticConstructor=/\bclass\b.*\bstatic\b/,MIN_CHUNK_SIZE=65536,supportsCreateTask=!!console.createTask,fakeFunctionCache=new Map,fakeFunctionIdx=0,createFakeJSXCallStack={react_stack_bottom_frame:function(response,stack,environmentName){return buildFakeCallStack(response,stack,environmentName,!1,fakeJSXCallSite)()}},createFakeJSXCallStackInDEV=createFakeJSXCallStack.react_stack_bottom_frame.bind(createFakeJSXCallStack),ownerStackTraceLimit=10,currentOwnerInDEV=null,replayConsoleWithCallStack={react_stack_bottom_frame:function(response,payload){var methodName=payload[0],stackTrace=payload[1],owner=payload[2],env=payload[3];payload=payload.slice(4);var prevStack=ReactSharedInternals.getCurrentStack;ReactSharedInternals.getCurrentStack=getCurrentStackInDEV,currentOwnerInDEV=null===owner?response._debugRootOwner:owner;try{a:{var offset=0;switch(methodName){case"dir":case"dirxml":case"groupEnd":case"table":var JSCompiler_inline_result=bind$1.apply(console[methodName],[console].concat(payload));break a;case"assert":offset=1}var newArgs=payload.slice(0);"string"==typeof newArgs[offset]?newArgs.splice(offset,1,"\x1b[0m\x1b[7m%c%s\x1b[0m%c "+newArgs[offset],"background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px"," "+env+" ",""):newArgs.splice(offset,0,"\x1b[0m\x1b[7m%c%s\x1b[0m%c","background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px"," "+env+" ",""),newArgs.unshift(console),JSCompiler_inline_result=bind$1.apply(console[methodName],newArgs)}var callStack=buildFakeCallStack(response,stackTrace,env,!1,JSCompiler_inline_result);if(null!=owner){var task=initializeFakeTask(response,owner);if(initializeFakeStack(response,owner),null!==task)return void task.run(callStack)}var rootTask=getRootTask(response,env);null!=rootTask?rootTask.run(callStack):callStack()}finally{currentOwnerInDEV=null,ReactSharedInternals.getCurrentStack=prevStack}}},replayConsoleWithCallStackInDEV=replayConsoleWithCallStack.react_stack_bottom_frame.bind(replayConsoleWithCallStack);exports.createFromFetch=function(promiseForResponse,options){var response=createResponseFromOptions(options);return promiseForResponse.then(function(r){if(options&&options.debugChannel&&options.debugChannel.readable){var streamDoneCount=0,handleDone=function(){2==++streamDoneCount&&close(response)};startReadingFromStream$1(response,options.debugChannel.readable,handleDone),startReadingFromStream$1(response,r.body,handleDone,r)}else startReadingFromStream$1(response,r.body,close.bind(null,response),r)},function(e){reportGlobalError(response,e)}),getRoot(response)},exports.createFromNodeStream=function(stream,serverConsumerManifest,options){var response=createResponse(serverConsumerManifest.moduleMap,serverConsumerManifest.serverModuleMap,serverConsumerManifest.moduleLoading,noServerCall,options?options.encodeFormAction:void 0,options&&"string"==typeof options.nonce?options.nonce:void 0,void 0,options&&options.unstable_allowPartialStream?options.unstable_allowPartialStream:!1,options&&options.findSourceMapURL?options.findSourceMapURL:void 0,options?!0===options.replayConsoleLogs:!1,options&&options.environmentName?options.environmentName:void 0,options&&null!=options.startTime?options.startTime:void 0,options&&null!=options.endTime?options.endTime:void 0,options&&void 0!==options.debugChannel?{hasReadable:!0,callback:null}:void 0);if(options&&options.debugChannel){var streamEndedCount=0;serverConsumerManifest=function(){2==++streamEndedCount&&close(response)},startReadingFromStream(response,options.debugChannel,serverConsumerManifest),startReadingFromStream(response,stream,serverConsumerManifest)}else startReadingFromStream(response,stream,close.bind(null,response));return getRoot(response)},exports.createFromReadableStream=function(stream,options){var response=createResponseFromOptions(options);if(options&&options.debugChannel&&options.debugChannel.readable){var streamDoneCount=0,handleDone=function(){2==++streamDoneCount&&close(response)};startReadingFromStream$1(response,options.debugChannel.readable,handleDone),startReadingFromStream$1(response,stream,handleDone,stream)}else startReadingFromStream$1(response,stream,close.bind(null,response),stream);return getRoot(response)},exports.createServerReference=function(id){return function(id,callServer,encodeFormAction,findSourceMapURL,functionName){function action(){var args=Array.prototype.slice.call(arguments);return callServer(id,args)}var location=function(error){(error=error.stack).startsWith("Error: react-stack-top-frame\n")&&(error=error.slice(29));var endOfFirst=error.indexOf("\n");if(-1!==endOfFirst){var endOfSecond=error.indexOf("\n",endOfFirst+1);endOfFirst=-1===endOfSecond?error.slice(endOfFirst+1):error.slice(endOfFirst+1,endOfSecond)}else endOfFirst=error;return(error=v8FrameRegExp.exec(endOfFirst))||(error=jscSpiderMonkeyFrameRegExp.exec(endOfFirst))?("<anonymous>"===(endOfFirst=error[1]||"")&&(endOfFirst=""),"<anonymous>"===(endOfSecond=error[2]||error[5]||"")&&(endOfSecond=""),[endOfFirst,endOfSecond,+(error[3]||error[6]),+(error[4]||error[7])]):null}(Error("react-stack-top-frame"));if(null!==location){var filename=location[1],line=location[2];location=location[3],findSourceMapURL=null==findSourceMapURL?null:findSourceMapURL(filename,"Client"),action=createFakeServerFunction(functionName||"",filename,findSourceMapURL,line,location,"Client",action)}return registerBoundServerReference(action,id,null,encodeFormAction),action}(id,noServerCall$1)},exports.createTemporaryReferenceSet=function(){return new Map},exports.encodeReply=function(value,options){return new Promise(function(resolve,reject){var abort=processReply(value,"",options&&options.temporaryReferences?options.temporaryReferences:void 0,resolve,reject);if(options&&options.signal){var signal=options.signal;if(signal.aborted)abort(signal.reason);else{var listener=function(){abort(signal.reason),signal.removeEventListener("abort",listener)};signal.addEventListener("abort",listener)}}})},exports.registerServerReference=function(reference,id,encodeFormAction){return registerBoundServerReference(reference,id,null,encodeFormAction),reference}}()},"./dist/compiled/react-server-dom-webpack/client.node.js"(module1,__unused_rspack_exports,__webpack_require__){"use strict";module1.exports=__webpack_require__("./dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.development.js")},"./dist/compiled/react/cjs/react.development.js"(module1,exports,__webpack_require__){"use strict";module1=__webpack_require__.nmd(module1),function(){function warnNoop(publicInstance,callerName){var warningKey=(publicInstance=(publicInstance=publicInstance.constructor)&&(publicInstance.displayName||publicInstance.name)||"ReactClass")+"."+callerName;didWarnStateUpdateForUnmountedComponent[warningKey]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",callerName,publicInstance),didWarnStateUpdateForUnmountedComponent[warningKey]=!0)}function Component(props,context,updater){this.props=props,this.context=context,this.refs=emptyObject,this.updater=updater||ReactNoopUpdateQueue}function ComponentDummy(){}function PureComponent(props,context,updater){this.props=props,this.context=context,this.refs=emptyObject,this.updater=updater||ReactNoopUpdateQueue}function noop(){}function checkKeyStringCoercion(value){try{var JSCompiler_inline_result=!1}catch(e){JSCompiler_inline_result=!0}if(JSCompiler_inline_result){var JSCompiler_temp_const=(JSCompiler_inline_result=console).error,JSCompiler_inline_result$jscomp$0="function"==typeof Symbol&&Symbol.toStringTag&&value[Symbol.toStringTag]||value.constructor.name||"Object";return JSCompiler_temp_const.call(JSCompiler_inline_result,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",JSCompiler_inline_result$jscomp$0),""+value}}function getComponentNameFromType(type){if(null==type)return null;if("function"==typeof type)return type.$$typeof===REACT_CLIENT_REFERENCE?null:type.displayName||type.name||null;if("string"==typeof type)return type;switch(type){case REACT_FRAGMENT_TYPE:return"Fragment";case REACT_PROFILER_TYPE:return"Profiler";case REACT_STRICT_MODE_TYPE:return"StrictMode";case REACT_SUSPENSE_TYPE:return"Suspense";case REACT_SUSPENSE_LIST_TYPE:return"SuspenseList";case REACT_ACTIVITY_TYPE:return"Activity";case REACT_VIEW_TRANSITION_TYPE:return"ViewTransition"}if("object"==typeof type)switch("number"==typeof type.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),type.$$typeof){case REACT_PORTAL_TYPE:return"Portal";case REACT_CONTEXT_TYPE:return type.displayName||"Context";case REACT_CONSUMER_TYPE:return(type._context.displayName||"Context")+".Consumer";case REACT_FORWARD_REF_TYPE:var innerType=type.render;return(type=type.displayName)||(type=""!==(type=innerType.displayName||innerType.name||"")?"ForwardRef("+type+")":"ForwardRef"),type;case REACT_MEMO_TYPE:return null!==(innerType=type.displayName||null)?innerType:getComponentNameFromType(type.type)||"Memo";case REACT_LAZY_TYPE:innerType=type._payload,type=type._init;try{return getComponentNameFromType(type(innerType))}catch(x){}}return null}function getTaskName(type){if(type===REACT_FRAGMENT_TYPE)return"<>";if("object"==typeof type&&null!==type&&type.$$typeof===REACT_LAZY_TYPE)return"<...>";try{var name=getComponentNameFromType(type);return name?"<"+name+">":"<...>"}catch(x){return"<...>"}}function getOwner(){var dispatcher=ReactSharedInternals.A;return null===dispatcher?null:dispatcher.getOwner()}function UnknownOwner(){return Error("react-stack-top-frame")}function hasValidKey(config){if(hasOwnProperty.call(config,"key")){var getter=Object.getOwnPropertyDescriptor(config,"key").get;if(getter&&getter.isReactWarning)return!1}return void 0!==config.key}function elementRefGetterWithDeprecationWarning(){var componentName=getComponentNameFromType(this.type);return didWarnAboutElementRef[componentName]||(didWarnAboutElementRef[componentName]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(componentName=this.props.ref)?componentName:null}function ReactElement(type,key,props,owner,debugStack,debugTask){var refProp=props.ref;return type={$$typeof:REACT_ELEMENT_TYPE,type:type,key:key,props:props,_owner:owner},null!==(void 0!==refProp?refProp:null)?Object.defineProperty(type,"ref",{enumerable:!1,get:elementRefGetterWithDeprecationWarning}):Object.defineProperty(type,"ref",{enumerable:!1,value:null}),type._store={},Object.defineProperty(type._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(type,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(type,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:debugStack}),Object.defineProperty(type,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:debugTask}),Object.freeze&&(Object.freeze(type.props),Object.freeze(type)),type}function validateChildKeys(node){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))}function isValidElement(object){return"object"==typeof object&&null!==object&&object.$$typeof===REACT_ELEMENT_TYPE}function getElementKey(element,index){var key,escaperLookup;return"object"==typeof element&&null!==element&&null!=element.key?(checkKeyStringCoercion(element.key),key=""+element.key,escaperLookup={"=":"=0",":":"=2"},"$"+key.replace(/[=:]/g,function(match){return escaperLookup[match]})):index.toString(36)}function mapChildren(children,func,context){if(null==children)return children;var result=[],count=0;return!function mapIntoArray(children,array,escapedPrefix,nameSoFar,callback){var maybeIterable,type=typeof children;("undefined"===type||"boolean"===type)&&(children=null);var invokeCallback=!1;if(null===children)invokeCallback=!0;else switch(type){case"bigint":case"string":case"number":invokeCallback=!0;break;case"object":switch(children.$$typeof){case REACT_ELEMENT_TYPE:case REACT_PORTAL_TYPE:invokeCallback=!0;break;case REACT_LAZY_TYPE:return mapIntoArray((invokeCallback=children._init)(children._payload),array,escapedPrefix,nameSoFar,callback)}}if(invokeCallback){callback=callback(invokeCallback=children);var oldElement,newKey,childKey=""===nameSoFar?"."+getElementKey(invokeCallback,0):nameSoFar;return isArrayImpl(callback)?(escapedPrefix="",null!=childKey&&(escapedPrefix=childKey.replace(userProvidedKeyEscapeRegex,"$&/")+"/"),mapIntoArray(callback,array,escapedPrefix,"",function(c){return c})):null!=callback&&(isValidElement(callback)&&(null!=callback.key&&(invokeCallback&&invokeCallback.key===callback.key||checkKeyStringCoercion(callback.key)),oldElement=callback,newKey=escapedPrefix+(null==callback.key||invokeCallback&&invokeCallback.key===callback.key?"":(""+callback.key).replace(userProvidedKeyEscapeRegex,"$&/")+"/")+childKey,newKey=ReactElement(oldElement.type,newKey,oldElement.props,oldElement._owner,oldElement._debugStack,oldElement._debugTask),oldElement._store&&(newKey._store.validated=oldElement._store.validated),escapedPrefix=newKey,""!==nameSoFar&&null!=invokeCallback&&isValidElement(invokeCallback)&&null==invokeCallback.key&&invokeCallback._store&&!invokeCallback._store.validated&&(escapedPrefix._store.validated=2),callback=escapedPrefix),array.push(callback)),1}if(invokeCallback=0,childKey=""===nameSoFar?".":nameSoFar+":",isArrayImpl(children))for(var i=0;i<children.length;i++)type=childKey+getElementKey(nameSoFar=children[i],i),invokeCallback+=mapIntoArray(nameSoFar,array,escapedPrefix,type,callback);else if("function"==typeof(i=null===(maybeIterable=children)||"object"!=typeof maybeIterable?null:"function"==typeof(maybeIterable=MAYBE_ITERATOR_SYMBOL&&maybeIterable[MAYBE_ITERATOR_SYMBOL]||maybeIterable["@@iterator"])?maybeIterable:null))for(i===children.entries&&(didWarnAboutMaps||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),didWarnAboutMaps=!0),children=i.call(children),i=0;!(nameSoFar=children.next()).done;)type=childKey+getElementKey(nameSoFar=nameSoFar.value,i++),invokeCallback+=mapIntoArray(nameSoFar,array,escapedPrefix,type,callback);else if("object"===type){if("function"==typeof children.then)return mapIntoArray(function(thenable){switch(thenable.status){case"fulfilled":return thenable.value;case"rejected":throw thenable.reason;default:switch("string"==typeof thenable.status?thenable.then(noop,noop):(thenable.status="pending",thenable.then(function(fulfilledValue){"pending"===thenable.status&&(thenable.status="fulfilled",thenable.value=fulfilledValue)},function(error){"pending"===thenable.status&&(thenable.status="rejected",thenable.reason=error)})),thenable.status){case"fulfilled":return thenable.value;case"rejected":throw thenable.reason}}throw thenable}(children),array,escapedPrefix,nameSoFar,callback);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(array=String(children))?"object with keys {"+Object.keys(children).join(", ")+"}":array)+"). If you meant to render a collection of children, use an array instead.")}return invokeCallback}(children,result,"","",function(child){return func.call(context,child,count++)}),result}function lazyInitializer(payload){if(-1===payload._status){var resolveDebugValue=null,rejectDebugValue=null,ioInfo=payload._ioInfo;null!=ioInfo&&(ioInfo.start=ioInfo.end=performance.now(),ioInfo.value=new Promise(function(resolve,reject){resolveDebugValue=resolve,rejectDebugValue=reject}));var thenable=(ioInfo=payload._result)();if(thenable.then(function(moduleObject){if(0===payload._status||-1===payload._status){payload._status=1,payload._result=moduleObject;var _ioInfo=payload._ioInfo;if(null!=_ioInfo){_ioInfo.end=performance.now();var debugValue=null==moduleObject?void 0:moduleObject.default;resolveDebugValue(debugValue),_ioInfo.value.status="fulfilled",_ioInfo.value.value=debugValue}void 0===thenable.status&&(thenable.status="fulfilled",thenable.value=moduleObject)}},function(error){if(0===payload._status||-1===payload._status){payload._status=2,payload._result=error;var _ioInfo2=payload._ioInfo;null!=_ioInfo2&&(_ioInfo2.end=performance.now(),_ioInfo2.value.then(noop,noop),rejectDebugValue(error),_ioInfo2.value.status="rejected",_ioInfo2.value.reason=error),void 0===thenable.status&&(thenable.status="rejected",thenable.reason=error)}}),null!=(ioInfo=payload._ioInfo)){var displayName=thenable.displayName;"string"==typeof displayName&&(ioInfo.name=displayName)}-1===payload._status&&(payload._status=0,payload._result=thenable)}if(1===payload._status)return void 0===(ioInfo=payload._result)&&console.error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",ioInfo),"default"in ioInfo||console.error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",ioInfo),ioInfo.default;throw payload._result}function resolveDispatcher(){var dispatcher=ReactSharedInternals.H;return null===dispatcher&&console.error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."),dispatcher}function releaseAsyncTransition(){ReactSharedInternals.asyncTransitions--}function startTransition(scope){var prevTransition=ReactSharedInternals.T,currentTransition={};currentTransition.types=null!==prevTransition?prevTransition.types:null,currentTransition._updatedFibers=new Set,ReactSharedInternals.T=currentTransition;try{var returnValue=scope(),onStartTransitionFinish=ReactSharedInternals.S;null!==onStartTransitionFinish&&onStartTransitionFinish(currentTransition,returnValue),"object"==typeof returnValue&&null!==returnValue&&"function"==typeof returnValue.then&&(ReactSharedInternals.asyncTransitions++,returnValue.then(releaseAsyncTransition,releaseAsyncTransition),returnValue.then(noop,reportGlobalError))}catch(error){reportGlobalError(error)}finally{null===prevTransition&¤tTransition._updatedFibers&&(scope=currentTransition._updatedFibers.size,currentTransition._updatedFibers.clear(),10<scope&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),null!==prevTransition&&null!==currentTransition.types&&(null!==prevTransition.types&&prevTransition.types!==currentTransition.types&&console.error("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."),prevTransition.types=currentTransition.types),ReactSharedInternals.T=prevTransition}}function addTransitionType(type){var transition=ReactSharedInternals.T;if(null!==transition){var transitionTypes=transition.types;null===transitionTypes?transition.types=[type]:-1===transitionTypes.indexOf(type)&&transitionTypes.push(type)}else 0===ReactSharedInternals.asyncTransitions&&console.error("addTransitionType can only be called inside a `startTransition()` callback. It must be associated with a specific Transition."),startTransition(addTransitionType.bind(null,type))}function enqueueTask(task){if(null===enqueueTaskImpl)try{var requireString=("require"+Math.random()).slice(0,7);enqueueTaskImpl=(module1&&module1[requireString]).call(module1,"timers").setImmediate}catch(_err){enqueueTaskImpl=function(callback){!1===didWarnAboutMessageChannel&&(didWarnAboutMessageChannel=!0,"undefined"==typeof MessageChannel&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var channel=new MessageChannel;channel.port1.onmessage=callback,channel.port2.postMessage(void 0)}}return enqueueTaskImpl(task)}function aggregateErrors(errors){return 1<errors.length&&"function"==typeof AggregateError?AggregateError(errors):errors[0]}function popActScope(prevActQueue,prevActScopeDepth){prevActScopeDepth!==actScopeDepth-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),actScopeDepth=prevActScopeDepth}function recursivelyFlushAsyncActWork(returnValue,resolve,reject){var queue=ReactSharedInternals.actQueue;if(null!==queue)if(0!==queue.length)try{flushActQueue(queue),enqueueTask(function(){return recursivelyFlushAsyncActWork(returnValue,resolve,reject)});return}catch(error){ReactSharedInternals.thrownErrors.push(error)}else ReactSharedInternals.actQueue=null;0<ReactSharedInternals.thrownErrors.length?(queue=aggregateErrors(ReactSharedInternals.thrownErrors),ReactSharedInternals.thrownErrors.length=0,reject(queue)):resolve(returnValue)}function flushActQueue(queue){if(!isFlushing){isFlushing=!0;var i=0;try{for(;i<queue.length;i++)for(var callback=queue[i];;){ReactSharedInternals.didUsePromise=!1;var continuation=callback(!1);if(null!==continuation){if(ReactSharedInternals.didUsePromise){queue[i]=callback,queue.splice(0,i);return}callback=continuation}else break}queue.length=0}catch(error){queue.splice(0,i+1),ReactSharedInternals.thrownErrors.push(error)}finally{isFlushing=!1}}}"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var specialPropKeyWarningShown,didWarnAboutOldJSXRuntime,REACT_ELEMENT_TYPE=Symbol.for("react.transitional.element"),REACT_PORTAL_TYPE=Symbol.for("react.portal"),REACT_FRAGMENT_TYPE=Symbol.for("react.fragment"),REACT_STRICT_MODE_TYPE=Symbol.for("react.strict_mode"),REACT_PROFILER_TYPE=Symbol.for("react.profiler"),REACT_CONSUMER_TYPE=Symbol.for("react.consumer"),REACT_CONTEXT_TYPE=Symbol.for("react.context"),REACT_FORWARD_REF_TYPE=Symbol.for("react.forward_ref"),REACT_SUSPENSE_TYPE=Symbol.for("react.suspense"),REACT_SUSPENSE_LIST_TYPE=Symbol.for("react.suspense_list"),REACT_MEMO_TYPE=Symbol.for("react.memo"),REACT_LAZY_TYPE=Symbol.for("react.lazy"),REACT_ACTIVITY_TYPE=Symbol.for("react.activity"),REACT_VIEW_TRANSITION_TYPE=Symbol.for("react.view_transition"),MAYBE_ITERATOR_SYMBOL=Symbol.iterator,didWarnStateUpdateForUnmountedComponent={},ReactNoopUpdateQueue={isMounted:function(){return!1},enqueueForceUpdate:function(publicInstance){warnNoop(publicInstance,"forceUpdate")},enqueueReplaceState:function(publicInstance){warnNoop(publicInstance,"replaceState")},enqueueSetState:function(publicInstance){warnNoop(publicInstance,"setState")}},assign=Object.assign,emptyObject={};Object.freeze(emptyObject),Component.prototype.isReactComponent={},Component.prototype.setState=function(partialState,callback){if("object"!=typeof partialState&&"function"!=typeof partialState&&null!=partialState)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,partialState,callback,"setState")},Component.prototype.forceUpdate=function(callback){this.updater.enqueueForceUpdate(this,callback,"forceUpdate")};var deprecatedAPIs={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(fnName in deprecatedAPIs)deprecatedAPIs.hasOwnProperty(fnName)&&function(methodName,info){Object.defineProperty(Component.prototype,methodName,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",info[0],info[1])}})}(fnName,deprecatedAPIs[fnName]);ComponentDummy.prototype=Component.prototype,(deprecatedAPIs=PureComponent.prototype=new ComponentDummy).constructor=PureComponent,assign(deprecatedAPIs,Component.prototype),deprecatedAPIs.isPureReactComponent=!0;var isArrayImpl=Array.isArray,REACT_CLIENT_REFERENCE=Symbol.for("react.client.reference"),ReactSharedInternals={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},hasOwnProperty=Object.prototype.hasOwnProperty,createTask=console.createTask?console.createTask:function(){return null},didWarnAboutElementRef={},unknownOwnerDebugStack=(deprecatedAPIs={react_stack_bottom_frame:function(callStackForError){return callStackForError()}}).react_stack_bottom_frame.bind(deprecatedAPIs,UnknownOwner)(),unknownOwnerDebugTask=createTask(getTaskName(UnknownOwner)),didWarnAboutMaps=!1,userProvidedKeyEscapeRegex=/\/+/g,reportGlobalError="function"==typeof reportError?reportError:function(error){"object"==typeof process&&"function"==typeof process.emit?process.emit("uncaughtException",error):console.error(error)},didWarnAboutMessageChannel=!1,enqueueTaskImpl=null,actScopeDepth=0,didWarnNoAwaitAct=!1,isFlushing=!1,queueSeveralMicrotasks="function"==typeof queueMicrotask?function(callback){queueMicrotask(function(){return queueMicrotask(callback)})}:enqueueTask;deprecatedAPIs=Object.freeze({__proto__:null,c:function(size){return resolveDispatcher().useMemoCache(size)}});var fnName={map:mapChildren,forEach:function(children,forEachFunc,forEachContext){mapChildren(children,function(){forEachFunc.apply(this,arguments)},forEachContext)},count:function(children){var n=0;return mapChildren(children,function(){n++}),n},toArray:function(children){return mapChildren(children,function(child){return child})||[]},only:function(children){if(!isValidElement(children))throw Error("React.Children.only expected to receive a single React element child.");return children}};exports.Activity=REACT_ACTIVITY_TYPE,exports.Children=fnName,exports.Component=Component,exports.Fragment=REACT_FRAGMENT_TYPE,exports.Profiler=REACT_PROFILER_TYPE,exports.PureComponent=PureComponent,exports.StrictMode=REACT_STRICT_MODE_TYPE,exports.Suspense=REACT_SUSPENSE_TYPE,exports.ViewTransition=REACT_VIEW_TRANSITION_TYPE,exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ReactSharedInternals,exports.__COMPILER_RUNTIME=deprecatedAPIs,exports.act=function(callback){var prevActQueue=ReactSharedInternals.actQueue,prevActScopeDepth=actScopeDepth;actScopeDepth++;var queue=ReactSharedInternals.actQueue=null!==prevActQueue?prevActQueue:[],didAwaitActCall=!1;try{var result=callback()}catch(error){ReactSharedInternals.thrownErrors.push(error)}if(0<ReactSharedInternals.thrownErrors.length)throw popActScope(prevActQueue,prevActScopeDepth),callback=aggregateErrors(ReactSharedInternals.thrownErrors),ReactSharedInternals.thrownErrors.length=0,callback;if(null!==result&&"object"==typeof result&&"function"==typeof result.then){var thenable=result;return queueSeveralMicrotasks(function(){didAwaitActCall||didWarnNoAwaitAct||(didWarnNoAwaitAct=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(resolve,reject){didAwaitActCall=!0,thenable.then(function(returnValue){if(popActScope(prevActQueue,prevActScopeDepth),0===prevActScopeDepth){try{flushActQueue(queue),enqueueTask(function(){return recursivelyFlushAsyncActWork(returnValue,resolve,reject)})}catch(error$0){ReactSharedInternals.thrownErrors.push(error$0)}if(0<ReactSharedInternals.thrownErrors.length){var _thrownError=aggregateErrors(ReactSharedInternals.thrownErrors);ReactSharedInternals.thrownErrors.length=0,reject(_thrownError)}}else resolve(returnValue)},function(error){popActScope(prevActQueue,prevActScopeDepth),0<ReactSharedInternals.thrownErrors.length?(error=aggregateErrors(ReactSharedInternals.thrownErrors),ReactSharedInternals.thrownErrors.length=0,reject(error)):reject(error)})}}}var returnValue$jscomp$0=result;if(popActScope(prevActQueue,prevActScopeDepth),0===prevActScopeDepth&&(flushActQueue(queue),0!==queue.length&&queueSeveralMicrotasks(function(){didAwaitActCall||didWarnNoAwaitAct||(didWarnNoAwaitAct=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),ReactSharedInternals.actQueue=null),0<ReactSharedInternals.thrownErrors.length)throw callback=aggregateErrors(ReactSharedInternals.thrownErrors),ReactSharedInternals.thrownErrors.length=0,callback;return{then:function(resolve,reject){didAwaitActCall=!0,0===prevActScopeDepth?(ReactSharedInternals.actQueue=queue,enqueueTask(function(){return recursivelyFlushAsyncActWork(returnValue$jscomp$0,resolve,reject)})):resolve(returnValue$jscomp$0)}}},exports.addTransitionType=addTransitionType,exports.cache=function(fn){return function(){return fn.apply(null,arguments)}},exports.cacheSignal=function(){return null},exports.captureOwnerStack=function(){var getCurrentStack=ReactSharedInternals.getCurrentStack;return null===getCurrentStack?null:getCurrentStack()},exports.cloneElement=function(element,config,children){if(null==element)throw Error("The argument must be a React element, but you passed "+element+".");var JSCompiler_inline_result,props=assign({},element.props),key=element.key,owner=element._owner;if(null!=config){a:{if(hasOwnProperty.call(config,"ref")&&(JSCompiler_inline_result=Object.getOwnPropertyDescriptor(config,"ref").get)&&JSCompiler_inline_result.isReactWarning){JSCompiler_inline_result=!1;break a}JSCompiler_inline_result=void 0!==config.ref}for(propName in JSCompiler_inline_result&&(owner=getOwner()),hasValidKey(config)&&(checkKeyStringCoercion(config.key),key=""+config.key),config)hasOwnProperty.call(config,propName)&&"key"!==propName&&"__self"!==propName&&"__source"!==propName&&("ref"!==propName||void 0!==config.ref)&&(props[propName]=config[propName])}var propName=arguments.length-2;if(1===propName)props.children=children;else if(1<propName){JSCompiler_inline_result=Array(propName);for(var i=0;i<propName;i++)JSCompiler_inline_result[i]=arguments[i+2];props.children=JSCompiler_inline_result}for(props=ReactElement(element.type,key,props,owner,element._debugStack,element._debugTask),key=2;key<arguments.length;key++)validateChildKeys(arguments[key]);return props},exports.createContext=function(defaultValue){return(defaultValue={$$typeof:REACT_CONTEXT_TYPE,_currentValue:defaultValue,_currentValue2:defaultValue,_threadCount:0,Provider:null,Consumer:null}).Provider=defaultValue,defaultValue.Consumer={$$typeof:REACT_CONSUMER_TYPE,_context:defaultValue},defaultValue._currentRenderer=null,defaultValue._currentRenderer2=null,defaultValue},exports.createElement=function(type,config,children){for(var propName,i=2;i<arguments.length;i++)validateChildKeys(arguments[i]);i={};var key=null;if(null!=config)for(propName in didWarnAboutOldJSXRuntime||!("__self"in config)||"key"in config||(didWarnAboutOldJSXRuntime=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),hasValidKey(config)&&(checkKeyStringCoercion(config.key),key=""+config.key),config)hasOwnProperty.call(config,propName)&&"key"!==propName&&"__self"!==propName&&"__source"!==propName&&(i[propName]=config[propName]);var childrenLength=arguments.length-2;if(1===childrenLength)i.children=children;else if(1<childrenLength){for(var childArray=Array(childrenLength),_i=0;_i<childrenLength;_i++)childArray[_i]=arguments[_i+2];Object.freeze&&Object.freeze(childArray),i.children=childArray}if(type&&type.defaultProps)for(propName in childrenLength=type.defaultProps)void 0===i[propName]&&(i[propName]=childrenLength[propName]);return key&&function(props,displayName){function warnAboutAccessingKey(){specialPropKeyWarningShown||(specialPropKeyWarningShown=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",displayName))}warnAboutAccessingKey.isReactWarning=!0,Object.defineProperty(props,"key",{get:warnAboutAccessingKey,configurable:!0})}(i,"function"==typeof type?type.displayName||type.name||"Unknown":type),(propName=1e4>ReactSharedInternals.recentlyCreatedOwnerStacks++)?(childArray=Error.stackTraceLimit,Error.stackTraceLimit=10,childrenLength=Error("react-stack-top-frame"),Error.stackTraceLimit=childArray):childrenLength=unknownOwnerDebugStack,ReactElement(type,key,i,getOwner(),childrenLength,propName?createTask(getTaskName(type)):unknownOwnerDebugTask)},exports.createRef=function(){var refObject={current:null};return Object.seal(refObject),refObject},exports.forwardRef=function(render){null!=render&&render.$$typeof===REACT_MEMO_TYPE?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof render?console.error("forwardRef requires a render function but was given %s.",null===render?"null":typeof render):0!==render.length&&2!==render.length&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",1===render.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=render&&null!=render.defaultProps&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var ownName,elementType={$$typeof:REACT_FORWARD_REF_TYPE,render:render};return Object.defineProperty(elementType,"displayName",{enumerable:!1,configurable:!0,get:function(){return ownName},set:function(name){ownName=name,render.name||render.displayName||(Object.defineProperty(render,"name",{value:name}),render.displayName=name)}}),elementType},exports.isValidElement=isValidElement,exports.lazy=function(ctor){var lazyType={$$typeof:REACT_LAZY_TYPE,_payload:ctor={_status:-1,_result:ctor},_init:lazyInitializer},ioInfo={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return ctor._ioInfo=ioInfo,lazyType._debugInfo=[{awaited:ioInfo}],lazyType},exports.memo=function(type,compare){var ownName;return null==type&&console.error("memo: The first argument must be a component. Instead received: %s",null===type?"null":typeof type),Object.defineProperty(compare={$$typeof:REACT_MEMO_TYPE,type:type,compare:void 0===compare?null:compare},"displayName",{enumerable:!1,configurable:!0,get:function(){return ownName},set:function(name){ownName=name,type.name||type.displayName||(Object.defineProperty(type,"name",{value:name}),type.displayName=name)}}),compare},exports.startTransition=startTransition,exports.unstable_useCacheRefresh=function(){return resolveDispatcher().useCacheRefresh()},exports.use=function(usable){return resolveDispatcher().use(usable)},exports.useActionState=function(action,initialState,permalink){return resolveDispatcher().useActionState(action,initialState,permalink)},exports.useCallback=function(callback,deps){return resolveDispatcher().useCallback(callback,deps)},exports.useContext=function(Context){var dispatcher=resolveDispatcher();return Context.$$typeof===REACT_CONSUMER_TYPE&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),dispatcher.useContext(Context)},exports.useDebugValue=function(value,formatterFn){return resolveDispatcher().useDebugValue(value,formatterFn)},exports.useDeferredValue=function(value,initialValue){return resolveDispatcher().useDeferredValue(value,initialValue)},exports.useEffect=function(create,deps){return null==create&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),resolveDispatcher().useEffect(create,deps)},exports.useEffectEvent=function(callback){return resolveDispatcher().useEffectEvent(callback)},exports.useId=function(){return resolveDispatcher().useId()},exports.useImperativeHandle=function(ref,create,deps){return resolveDispatcher().useImperativeHandle(ref,create,deps)},exports.useInsertionEffect=function(create,deps){return null==create&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),resolveDispatcher().useInsertionEffect(create,deps)},exports.useLayoutEffect=function(create,deps){return null==create&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),resolveDispatcher().useLayoutEffect(create,deps)},exports.useMemo=function(create,deps){return resolveDispatcher().useMemo(create,deps)},exports.useOptimistic=function(passthrough,reducer){return resolveDispatcher().useOptimistic(passthrough,reducer)},exports.useReducer=function(reducer,initialArg,init){return resolveDispatcher().useReducer(reducer,initialArg,init)},exports.useRef=function(initialValue){return resolveDispatcher().useRef(initialValue)},exports.useState=function(initialState){return resolveDispatcher().useState(initialState)},exports.useSyncExternalStore=function(subscribe,getSnapshot,getServerSnapshot){return resolveDispatcher().useSyncExternalStore(subscribe,getSnapshot,getServerSnapshot)},exports.useTransition=function(){return resolveDispatcher().useTransition()},exports.version="19.3.0-canary-cbb046ab-20260731","undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()},"./dist/compiled/react/index.js"(module1,__unused_rspack_exports,__webpack_require__){"use strict";module1.exports=__webpack_require__("./dist/compiled/react/cjs/react.development.js")},"./dist/esm/lib/scheduler.js"(__unused_rspack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{atLeastOneTask:()=>atLeastOneTask,scheduleImmediate:()=>scheduleImmediate,scheduleOnNextTick:()=>scheduleOnNextTick,waitAtLeastOneReactRenderTask:()=>waitAtLeastOneReactRenderTask});let scheduleOnNextTick=cb=>{Promise.resolve().then(()=>{process.nextTick(cb)})},scheduleImmediate=cb=>{setImmediate(cb)};function atLeastOneTask(){return new Promise(resolve=>scheduleImmediate(resolve))}function waitAtLeastOneReactRenderTask(){return new Promise(r=>setImmediate(r))}},"./dist/esm/next-devtools/server/shared.js"(__unused_rspack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{ignoreListAnonymousStackFramesIfSandwiched:()=>ignoreListAnonymousStackFramesIfSandwiched,DEVTOOLS_CODE_FRAME_MAX_WIDTH:()=>DEVTOOLS_CODE_FRAME_MAX_WIDTH,getOriginalCodeFrame:()=>getOriginalCodeFrame});let index_js_namespaceObject=require("next/dist/build/swc/index.js");var source_maps=__webpack_require__("./dist/esm/server/lib/source-maps.js");let DEVTOOLS_CODE_FRAME_MAX_WIDTH=1e3;function ignoreListAnonymousStackFramesIfSandwiched(responses){(0,source_maps.ignoreListAnonymousStackFramesIfSandwiched)(responses,response=>"fulfilled"===response.status&&null!==response.value.originalStackFrame&&"<anonymous>"===response.value.originalStackFrame.file,response=>"fulfilled"===response.status&&null!==response.value.originalStackFrame&&!0===response.value.originalStackFrame.ignored,response=>"fulfilled"===response.status&&null!==response.value.originalStackFrame?response.value.originalStackFrame.methodName:"",response=>{response.value.originalStackFrame.ignored=!0})}function getOriginalCodeFrame(frame,source,colorsOrOptions=process.stdout?.isTTY??!1){if(!source||null==frame.line1)return null;let{colors,maxWidth}="boolean"==typeof colorsOrOptions?{colors:colorsOrOptions,maxWidth:void 0}:{colors:colorsOrOptions.colors??process.stdout?.isTTY??!1,maxWidth:colorsOrOptions.maxWidth};return function(file,location,options={}){return void 0===options.maxWidth&&(options.maxWidth=process.stdout.columns),(0,index_js_namespaceObject.getBindingsSync)().codeFrameColumns(file,location,options)}(source,{start:{line:frame.line1,column:frame.column1??void 0}},{color:colors,maxWidth})??null}},"./dist/esm/server/app-render/manifests-singleton.js"(__unused_rspack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{setManifestsSingleton:()=>setManifestsSingleton,getInvalidServerReferenceIdError:()=>getInvalidServerReferenceIdError,getServerModuleMap:()=>getServerModuleMap,getServerActionsManifest:()=>getServerActionsManifest,getClientReferenceManifest:()=>getClientReferenceManifest,selectWorkerForForwarding:()=>selectWorkerForForwarding,getActionNotFoundError:()=>getActionNotFoundError});var invariant_error=__webpack_require__("./dist/esm/shared/lib/invariant-error.js"),app_paths=__webpack_require__("./dist/esm/shared/lib/router/utils/app-paths.js");function pathHasPrefix(path,prefix){let hashIndex,queryIndex,hasQuery;if("string"!=typeof path)return!1;let{pathname}=(hashIndex=path.indexOf("#"),(hasQuery=(queryIndex=path.indexOf("?"))>-1&&(hashIndex<0||queryIndex<hashIndex))||hashIndex>-1?{pathname:path.substring(0,hasQuery?queryIndex:hashIndex),query:hasQuery?path.substring(queryIndex,hashIndex>-1?hashIndex:void 0):"",hash:hashIndex>-1?path.slice(hashIndex):""}:{pathname:path,query:"",hash:""});return pathname===prefix||pathname.startsWith(prefix+"/")}let wellKnownProperties=new Set(["hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toString","valueOf","toLocaleString","then","catch","finally","status","displayName","_debugInfo","toJSON","$$typeof","__esModule","@@iterator"]);var work_async_storage_external_js_=__webpack_require__("../app-render/work-async-storage.external");function getActionNotFoundError(actionId){return Object.defineProperty(Error(`Failed to find Server Action${actionId?` "${actionId}"`:""}. This request might be from an older or newer deployment.
Read more: https://nextjs.org/docs/messages/failed-to-find-server-action`),"__NEXT_ERROR_CODE",{value:"E974",enumerable:!1,configurable:!0})}function getInvalidServerReferenceIdError(id){let encoded=JSON.stringify(id.length>MAX_LOGGED_SERVER_REFERENCE_ID_LENGTH?id.slice(0,TRUNCATED_SERVER_REFERENCE_ID_LENGTH)+"…":id);return Object.defineProperty(Error(`The Server Reference ID did not match the expected format. Received ${encoded}.
Read more: https://nextjs.org/docs/messages/failed-to-find-server-action`),"__NEXT_ERROR_CODE",{value:"E1442",enumerable:!1,configurable:!0})}let MAX_LOGGED_SERVER_REFERENCE_ID_LENGTH=100,TRUNCATED_SERVER_REFERENCE_ID_LENGTH=90,MANIFESTS_SINGLETON=Symbol.for("next.server.manifests"),globalThisWithManifests=globalThis;function normalizeWorkerPageName(pageName){return pathHasPrefix(pageName,"app")?pageName:"app"+pageName}function selectWorkerForForwarding(actionId,pageName){var _serverActionsManifest__actionId,bundlePath;let workers=null==(_serverActionsManifest__actionId=getServerActionsManifest().node[actionId])?void 0:_serverActionsManifest__actionId.workers;if(workers&&!workers[normalizeWorkerPageName(pageName)])return bundlePath=Object.keys(workers)[0],(0,app_paths.normalizeAppPath)(function(path,prefix){if(!pathHasPrefix(path,"app"))return path;let withoutPrefix=path.slice(3);return withoutPrefix.startsWith("/")?withoutPrefix:`/${withoutPrefix}`}(bundlePath,0))}function setManifestsSingleton({page,clientReferenceManifest,serverActionsManifest:rawServerActionsManifest}){let existingSingleton=globalThisWithManifests[MANIFESTS_SINGLETON],route=(0,app_paths.normalizeAppPath)(page),serverActionsManifest={encryptionKey:rawServerActionsManifest.encryptionKey,node:Object.assign(Object.create(null),rawServerActionsManifest.node),edge:Object.assign(Object.create(null),rawServerActionsManifest.edge)};if(existingSingleton)existingSingleton.clientReferenceManifestsPerRoute.set(route,{page,clientReferenceManifest}),existingSingleton.serverActionsManifest=serverActionsManifest;else{let mappingProxies,clientReferenceManifestsPerRoute=new Map([[route,{page,clientReferenceManifest}]]),proxiedClientReferenceManifest=(mappingProxies=new Map,new Proxy({},{get(_,prop){let workStore=work_async_storage_external_js_.workAsyncStorage.getStore();switch(prop){case"moduleLoading":case"entryCSSFiles":case"entryJSFiles":{if(!workStore)throw Object.defineProperty(new invariant_error.InvariantError(`Cannot access "${prop}" without a work store.`),"__NEXT_ERROR_CODE",{value:"E952",enumerable:!1,configurable:!0});let registeredManifest=clientReferenceManifestsPerRoute.get(workStore.route);if(!registeredManifest)throw Object.defineProperty(new invariant_error.InvariantError(`The client reference manifest for route "${workStore.route}" does not exist.`),"__NEXT_ERROR_CODE",{value:"E951",enumerable:!1,configurable:!0});return registeredManifest.clientReferenceManifest[prop]}case"clientModules":case"rscModuleMapping":case"edgeRscModuleMapping":case"ssrModuleMapping":case"edgeSSRModuleMapping":{let proxy=mappingProxies.get(prop);!proxy&&(proxy=new Proxy({},{get(_,id){let workStore=work_async_storage_external_js_.workAsyncStorage.getStore();if(workStore){var _clientReferenceManifestsPerRoute_get;let currentManifest=null==(_clientReferenceManifestsPerRoute_get=clientReferenceManifestsPerRoute.get(workStore.route))?void 0:_clientReferenceManifestsPerRoute_get.clientReferenceManifest;if(null==currentManifest?void 0:currentManifest[prop][id])return currentManifest[prop][id];for(let[route,{page,clientReferenceManifest}]of clientReferenceManifestsPerRoute){if(route===workStore.route)continue;let entry=clientReferenceManifest[prop][id];if(void 0!==entry)return process.env.__NEXT_DEV_SERVER&&(workStore.additionalClientReferenceManifestPages??=new Set,workStore.additionalClientReferenceManifestPages.add(page)),entry}}else for(let{clientReferenceManifest}of clientReferenceManifestsPerRoute.values()){let entry=clientReferenceManifest[prop][id];if(void 0!==entry)return entry}}}),mappingProxies.set(prop,proxy));return proxy}default:throw Object.defineProperty(new invariant_error.InvariantError(`This is a proxied client reference manifest. The property "${String(prop)}" is not handled.`),"__NEXT_ERROR_CODE",{value:"E953",enumerable:!1,configurable:!0})}}}));globalThisWithManifests[MANIFESTS_SINGLETON]={clientReferenceManifestsPerRoute,proxiedClientReferenceManifest,serverActionsManifest,serverModuleMap:new Proxy(Object.create(null),{get:(target,id,receiver)=>{var _getServerActionsManifest__id,_getServerActionsManifest_;let workerEntry;if("string"!=typeof id)return Reflect.get(target,id,receiver);if(wellKnownProperties.has(id))return Reflect.get(target,id,receiver);if(42!==id.length)throw getInvalidServerReferenceIdError(id);let workers=null==(_getServerActionsManifest_=getServerActionsManifest().node)?void 0:null==(_getServerActionsManifest__id=_getServerActionsManifest_[id])?void 0:_getServerActionsManifest__id.workers;if(!workers)throw getActionNotFoundError(id);let workStore=work_async_storage_external_js_.workAsyncStorage.getStore();if(!(workerEntry=workStore?workers[normalizeWorkerPageName(workStore.page)]:Object.values(workers).at(0)))throw getActionNotFoundError(id);let{moduleId,async}=workerEntry;return{id:moduleId,name:id,chunks:[],async}}})}}}function getManifestsSingleton(){let manifestSingleton=globalThisWithManifests[MANIFESTS_SINGLETON];if(!manifestSingleton)throw Object.defineProperty(new invariant_error.InvariantError("The manifests singleton was not initialized."),"__NEXT_ERROR_CODE",{value:"E950",enumerable:!1,configurable:!0});return manifestSingleton}function getClientReferenceManifest(){return getManifestsSingleton().proxiedClientReferenceManifest}function getServerActionsManifest(){return getManifestsSingleton().serverActionsManifest}function getServerModuleMap(){return getManifestsSingleton().serverModuleMap}},"./dist/esm/server/app-render/stream-ops.node.js"(__unused_rspack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{createOnHeadersCallback:()=>stream_ops_node_createOnHeadersCallback,createWebInlinedDataStream:()=>stream_ops_node_createWebInlinedDataStream,renderToWebFlightStream:()=>renderToWebFlightStream,streamToBuffer:()=>stream_ops_node_streamToBuffer,streamToString:()=>stream_ops_node_streamToString,chainStreams:()=>stream_ops_node_chainStreams,createPendingStream:()=>stream_ops_node_createPendingStream,resumeToFizzStream:()=>stream_ops_node_resumeToFizzStream,teeStream:()=>stream_ops_node_teeStream,continueDynamicHTMLResumeWeb:()=>stream_ops_node_continueDynamicHTMLResumeWeb,continueFizzStream:()=>stream_ops_node_continueFizzStream,renderToNodeFizzStream:()=>stream_ops_node_renderToNodeFizzStream,renderToWebFizzStream:()=>renderToWebFizzStream,continueStaticPrerender:()=>stream_ops_node_continueStaticPrerender,processPrelude:()=>stream_ops_node_processPrelude,createDocumentClosingStream:()=>stream_ops_node_createDocumentClosingStream,getClientPrerender:()=>stream_ops_node_getClientPrerender,pipeRuntimePrefetchTransform:()=>stream_ops_node_pipeRuntimePrefetchTransform,continueDynamicPrerender:()=>stream_ops_node_continueDynamicPrerender,resumeAndAbort:()=>stream_ops_node_resumeAndAbort,continueStaticFallbackPrerender:()=>stream_ops_node_continueStaticFallbackPrerender,continueDynamicHTMLResumeNode:()=>stream_ops_node_continueDynamicHTMLResumeNode,createNodeInlinedDataStream:()=>stream_ops_node_createNodeInlinedDataStream,renderToNodeFlightStream:()=>stream_ops_node_renderToNodeFlightStream,getServerPrerender:()=>stream_ops_node_getServerPrerender});var react_dom_server=__webpack_require__("./dist/build/webpack/alias/react-dom-server.js"),static_node=__webpack_require__("./dist/compiled/react-dom/static.node.js"),external_node_stream_=__webpack_require__("node:stream");let external_node_buffer_namespaceObject=require("node:buffer");var tracer_=__webpack_require__("./lib/trace/tracer"),constants=__webpack_require__("./dist/esm/server/lib/trace/constants.js");class DetachedPromise{constructor(){let resolve,reject;this.promise=new Promise((res,rej)=>{resolve=res,reject=rej}),this.resolve=resolve,this.reject=reject}}var scheduler=__webpack_require__("./dist/esm/lib/scheduler.js");let ENCODED_TAGS={OPENING:{HTML:new Uint8Array([60,104,116,109,108]),HEAD:new Uint8Array([60,104,101,97,100]),BODY:new Uint8Array([60,98,111,100,121])},CLOSED:{HEAD:new Uint8Array([60,47,104,101,97,100,62]),BODY:new Uint8Array([60,47,98,111,100,121,62]),HTML:new Uint8Array([60,47,104,116,109,108,62]),BODY_AND_HTML:new Uint8Array([60,47,98,111,100,121,62,60,47,104,116,109,108,62])},META:{ICON_MARK:new Uint8Array([60,109,101,116,97,32,110,97,109,101,61,34,194,171,110,120,116,45,105,99,111,110,194,187,34])}};function indexOfUint8Array(a,b){if(0===b.length)return 0;if(0===a.length||b.length>a.length)return -1;if("undefined"!=typeof Buffer)return(Buffer.isBuffer(a)?a:Buffer.from(a.buffer,a.byteOffset,a.byteLength)).indexOf(b);for(let i=0;i<=a.length-b.length;i++){let completeMatch=!0;for(let j=0;j<b.length;j++)if(a[i+j]!==b[j]){completeMatch=!1;break}if(completeMatch)return i}return -1}function isEquivalentUint8Arrays(a,b){if(a.length!==b.length)return!1;for(let i=0;i<a.length;i++)if(a[i]!==b[i])return!1;return!0}function removeFromUint8Array(a,b){let tagIndex=indexOfUint8Array(a,b);if(0===tagIndex)return a.subarray(b.length);if(!(tagIndex>-1))return a;{let removed=new Uint8Array(a.length-b.length);return removed.set(a.subarray(0,tagIndex)),removed.set(a.subarray(tagIndex+b.length),tagIndex),removed}}let textEncoder=new TextEncoder;function normalizeCacheBustingInput(value){return void 0===value?"0":Array.isArray(value)?value.join(","):value}async function computeCacheBustingSearchParamFromInput(input){var bytes=new Uint8Array(await globalThis.crypto.subtle.digest("SHA-256",textEncoder.encode(input))).subarray(0,12);let binary="";for(let i=0;i<bytes.length;i++)binary+=String.fromCharCode(bytes[i]);return btoa(binary).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function computeCacheBustingSearchParam(prefetchHeader,segmentPrefetchHeader,stateTreeHeader,nextUrlHeader){let input=(void 0===prefetchHeader||"0"===prefetchHeader)&&void 0===segmentPrefetchHeader&&void 0===stateTreeHeader&&void 0===nextUrlHeader?null:[prefetchHeader??"0",normalizeCacheBustingInput(segmentPrefetchHeader),normalizeCacheBustingInput(stateTreeHeader),normalizeCacheBustingInput(nextUrlHeader)].join(",");return null===input?"":computeCacheBustingSearchParamFromInput(input)}let encoder=new TextEncoder;async function streamToChunks(stream){let reader=stream.getReader(),chunks=[];for(;;){let{done,value}=await reader.read();if(done)break;chunks.push(value)}return chunks}async function streamToBuffer(stream){return Buffer.concat(await streamToChunks(stream))}async function streamToString(stream,signal){let decoder=new TextDecoder("utf-8",{fatal:!0}),string="";for await(let chunk of stream){if(null==signal?void 0:signal.aborted)return string;string+=decoder.decode(chunk,{stream:!0})}return string+decoder.decode()}function createBufferedTransformStream(options={}){let pending,{maxBufferByteLength=1/0}=options,bufferedChunks=[],bufferByteLength=0,flush=controller=>{try{if(0===bufferedChunks.length)return;let chunk=new Uint8Array(bufferByteLength),copiedBytes=0;for(let i=0;i<bufferedChunks.length;i++){let bufferedChunk=bufferedChunks[i];chunk.set(bufferedChunk,copiedBytes),copiedBytes+=bufferedChunk.byteLength}bufferedChunks.length=0,bufferByteLength=0,controller.enqueue(chunk)}catch{}};return new TransformStream({transform(chunk,controller){bufferedChunks.push(chunk),(bufferByteLength+=chunk.byteLength)>=maxBufferByteLength?flush(controller):(controller=>{if(pending)return;let detached=new DetachedPromise;pending=detached,(0,scheduler.scheduleImmediate)(()=>{try{flush(controller)}finally{pending=void 0,detached.resolve()}})})(controller)},flush:()=>null==pending?void 0:pending.promise})}function createMetadataTransformStream(insert){let chunkIndex=-1,isMarkRemoved=!1;return new TransformStream({async transform(chunk,controller){let iconMarkIndex=-1,closedHeadIndex=-1;if(chunkIndex++,isMarkRemoved)return void controller.enqueue(chunk);let iconMarkLength=0;if(-1===iconMarkIndex){if(-1===(iconMarkIndex=indexOfUint8Array(chunk,ENCODED_TAGS.META.ICON_MARK)))return void controller.enqueue(chunk);47===chunk[iconMarkIndex+(iconMarkLength=ENCODED_TAGS.META.ICON_MARK.length)]?iconMarkLength+=2:iconMarkLength++}if(0===chunkIndex){if(closedHeadIndex=indexOfUint8Array(chunk,ENCODED_TAGS.CLOSED.HEAD),-1!==iconMarkIndex){if(iconMarkIndex<closedHeadIndex){let replaced=new Uint8Array(chunk.length-iconMarkLength);replaced.set(chunk.subarray(0,iconMarkIndex)),replaced.set(chunk.subarray(iconMarkIndex+iconMarkLength),iconMarkIndex),chunk=replaced}else{let insertion=await insert(),encodedInsertion=encoder.encode(insertion),insertionLength=encodedInsertion.length,replaced=new Uint8Array(chunk.length-iconMarkLength+insertionLength);replaced.set(chunk.subarray(0,iconMarkIndex)),replaced.set(encodedInsertion,iconMarkIndex),replaced.set(chunk.subarray(iconMarkIndex+iconMarkLength),iconMarkIndex+insertionLength),chunk=replaced}isMarkRemoved=!0}}else{let insertion=await insert(),encodedInsertion=encoder.encode(insertion),insertionLength=encodedInsertion.length,replaced=new Uint8Array(chunk.length-iconMarkLength+insertionLength);replaced.set(chunk.subarray(0,iconMarkIndex)),replaced.set(encodedInsertion,iconMarkIndex),replaced.set(chunk.subarray(iconMarkIndex+iconMarkLength),iconMarkIndex+insertionLength),chunk=replaced,isMarkRemoved=!0}controller.enqueue(chunk)}})}function createHeadInsertionTransformStream(insert){let inserted=!1,hasBytes=!1;return new TransformStream({async transform(chunk,controller){hasBytes=!0;let insertion=await insert();if(inserted){if(insertion){let encodedInsertion=encoder.encode(insertion);controller.enqueue(encodedInsertion)}controller.enqueue(chunk)}else{let index=indexOfUint8Array(chunk,ENCODED_TAGS.CLOSED.HEAD);if(-1!==index){if(insertion){let encodedInsertion=encoder.encode(insertion),insertedHeadContent=new Uint8Array(chunk.length+encodedInsertion.length);insertedHeadContent.set(chunk.slice(0,index)),insertedHeadContent.set(encodedInsertion,index),insertedHeadContent.set(chunk.slice(index),index+encodedInsertion.length),controller.enqueue(insertedHeadContent)}else controller.enqueue(chunk);inserted=!0}else insertion&&controller.enqueue(encoder.encode(insertion)),controller.enqueue(chunk),inserted=!0}},async flush(controller){if(hasBytes){let insertion=await insert();insertion&&controller.enqueue(encoder.encode(insertion))}}})}async function createClientResumeScriptInsertionTransformStream(){let cacheBustingHeader=await computeCacheBustingSearchParam("1","/_full",void 0,void 0),searchStr=`_rsc=${cacheBustingHeader}`,NEXT_CLIENT_RESUME_SCRIPT=`<script>__NEXT_CLIENT_RESUME=fetch(location.pathname+'?${searchStr}',{credentials:'same-origin',headers:{'rsc': '1','next-router-prefetch': '1','next-router-segment-prefetch': '/_full'}})</script>`,didAlreadyInsert=!1;return new TransformStream({transform(chunk,controller){if(didAlreadyInsert)return void controller.enqueue(chunk);let headClosingTagIndex=indexOfUint8Array(chunk,ENCODED_TAGS.CLOSED.HEAD);if(-1===headClosingTagIndex)return void controller.enqueue(chunk);let encodedInsertion=encoder.encode(NEXT_CLIENT_RESUME_SCRIPT),insertedHeadContent=new Uint8Array(chunk.length+encodedInsertion.length);insertedHeadContent.set(chunk.slice(0,headClosingTagIndex)),insertedHeadContent.set(encodedInsertion,headClosingTagIndex),insertedHeadContent.set(chunk.slice(headClosingTagIndex),headClosingTagIndex+encodedInsertion.length),controller.enqueue(insertedHeadContent),didAlreadyInsert=!0}})}function createFlightDataInjectionTransformStream(stream,delayDataUntilFirstHtmlChunk){let htmlStreamFinished=!1,pull=null,donePulling=!1;function startOrContinuePulling(controller){return pull||(pull=startPulling(controller)),pull}async function startPulling(controller){let reader=stream.getReader();delayDataUntilFirstHtmlChunk&&await (0,scheduler.atLeastOneTask)();try{for(;;){let{done,value}=await reader.read();if(done){donePulling=!0;return}delayDataUntilFirstHtmlChunk||htmlStreamFinished||await (0,scheduler.atLeastOneTask)(),controller.enqueue(value)}}catch(err){controller.error(err)}}return new TransformStream({start(controller){delayDataUntilFirstHtmlChunk||startOrContinuePulling(controller)},transform(chunk,controller){controller.enqueue(chunk),delayDataUntilFirstHtmlChunk&&startOrContinuePulling(controller)},flush(controller){if(htmlStreamFinished=!0,!donePulling)return startOrContinuePulling(controller)}})}let CLOSE_TAG="</body></html>";function createMoveSuffixStream(){let foundSuffix=!1;return new TransformStream({transform(chunk,controller){if(foundSuffix)return controller.enqueue(chunk);let index=indexOfUint8Array(chunk,ENCODED_TAGS.CLOSED.BODY_AND_HTML);if(index>-1){if(foundSuffix=!0,chunk.length===ENCODED_TAGS.CLOSED.BODY_AND_HTML.length)return;let before=chunk.slice(0,index);if(controller.enqueue(before),chunk.length>ENCODED_TAGS.CLOSED.BODY_AND_HTML.length+index){let after=chunk.slice(index+ENCODED_TAGS.CLOSED.BODY_AND_HTML.length);controller.enqueue(after)}}else controller.enqueue(chunk)},flush(controller){controller.enqueue(ENCODED_TAGS.CLOSED.BODY_AND_HTML)}})}function createHtmlDataDplIdTransformStream(dplId){let didTransform=!1;return new TransformStream({transform(chunk,controller){if(didTransform)return void controller.enqueue(chunk);let htmlTagIndex=indexOfUint8Array(chunk,ENCODED_TAGS.OPENING.HTML);if(-1===htmlTagIndex)return void controller.enqueue(chunk);let insertionPoint=htmlTagIndex+ENCODED_TAGS.OPENING.HTML.length,attribute=` data-dpl-id="${dplId}"`,encodedAttribute=encoder.encode(attribute),modifiedChunk=new Uint8Array(chunk.length+encodedAttribute.length);modifiedChunk.set(chunk.subarray(0,insertionPoint)),modifiedChunk.set(encodedAttribute,insertionPoint),modifiedChunk.set(chunk.subarray(insertionPoint),insertionPoint+encodedAttribute.length),controller.enqueue(modifiedChunk),didTransform=!0}})}function chainTransformers(readable,transformers){let stream=readable;for(let transformer of transformers)transformer&&(stream=stream.pipeThrough(transformer));return stream}async function continueDynamicPrerender(prerenderStream,{getServerInsertedHTML,getServerInsertedMetadata,deploymentId}){return chainTransformers(prerenderStream,[createBufferedTransformStream(),new TransformStream({transform(chunk,controller){isEquivalentUint8Arrays(chunk,ENCODED_TAGS.CLOSED.BODY_AND_HTML)||isEquivalentUint8Arrays(chunk,ENCODED_TAGS.CLOSED.BODY)||isEquivalentUint8Arrays(chunk,ENCODED_TAGS.CLOSED.HTML)||(chunk=removeFromUint8Array(chunk,ENCODED_TAGS.CLOSED.BODY),chunk=removeFromUint8Array(chunk,ENCODED_TAGS.CLOSED.HTML),controller.enqueue(chunk))}}),deploymentId?createHtmlDataDplIdTransformStream(deploymentId):null,createHeadInsertionTransformStream(getServerInsertedHTML),createMetadataTransformStream(getServerInsertedMetadata)])}async function continueStaticPrerender(prerenderStream,{inlinedDataStream,getServerInsertedHTML,getServerInsertedMetadata,deploymentId}){return chainTransformers(prerenderStream,[createBufferedTransformStream(),deploymentId?createHtmlDataDplIdTransformStream(deploymentId):null,createHeadInsertionTransformStream(getServerInsertedHTML),createMetadataTransformStream(getServerInsertedMetadata),createFlightDataInjectionTransformStream(inlinedDataStream,!0),createMoveSuffixStream()])}async function continueStaticFallbackPrerender(prerenderStream,{inlinedDataStream,getServerInsertedHTML,getServerInsertedMetadata,deploymentId}){return chainTransformers(prerenderStream,[createBufferedTransformStream(),deploymentId?createHtmlDataDplIdTransformStream(deploymentId):null,createHeadInsertionTransformStream(getServerInsertedHTML),await createClientResumeScriptInsertionTransformStream(),createMetadataTransformStream(getServerInsertedMetadata),createFlightDataInjectionTransformStream(inlinedDataStream,!0),createMoveSuffixStream()])}async function continueDynamicHTMLResume(renderStream,{delayDataUntilFirstHtmlChunk,inlinedDataStream,getServerInsertedHTML,getServerInsertedMetadata,deploymentId}){return chainTransformers(renderStream,[createBufferedTransformStream(),deploymentId?createHtmlDataDplIdTransformStream(deploymentId):null,createHeadInsertionTransformStream(getServerInsertedHTML),createMetadataTransformStream(getServerInsertedMetadata),createFlightDataInjectionTransformStream(inlinedDataStream,delayDataUntilFirstHtmlChunk),createMoveSuffixStream()])}function createNodeBufferedTransformStream(maxBufferByteLength=1/0){let bufferedChunks=[],bufferByteLength=0,flushScheduled=!1;function flushBuffered(stream){if(0===bufferedChunks.length)return;let merged=new Uint8Array(bufferByteLength),copiedBytes=0;for(let i=0;i<bufferedChunks.length;i++){let bufferedChunk=bufferedChunks[i];merged.set(bufferedChunk,copiedBytes),copiedBytes+=bufferedChunk.byteLength}bufferedChunks.length=0,bufferByteLength=0,stream.push(merged)}return new external_node_stream_.Transform({transform(chunk,_encoding,callback){(bufferedChunks.push(chunk),(bufferByteLength+=chunk.byteLength)>=maxBufferByteLength)?flushBuffered(this):flushScheduled||(flushScheduled=!0,queueMicrotask(()=>{flushScheduled=!1,flushBuffered(this)})),callback()},flush(callback){flushBuffered(this),callback()}})}let ESCAPE_LOOKUP={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},ESCAPE_REGEX=/[&><\u2028\u2029]/g,ATTRIBUTE_ESCAPE_LOOKUP={"&":"&",'"':""","'":"'","<":"<",">":">"},ATTRIBUTE_ESCAPE_REGEX=/[&"'<>]/g;function htmlEscapeJsonString(str){return str.replace(ESCAPE_REGEX,match=>ESCAPE_LOOKUP[match])}function htmlEscapeAttributeString(str){return str.replace(ATTRIBUTE_ESCAPE_REGEX,match=>ATTRIBUTE_ESCAPE_LOOKUP[match])}__webpack_require__("../app-render/work-unit-async-storage.external");var invariant_error=__webpack_require__("./dist/esm/shared/lib/invariant-error.js");__webpack_require__("./dist/esm/server/app-render/manifests-singleton.js"),new WeakMap;let use_flight_response_encoder=new TextEncoder;function writeFlightDataInstruction(controller,scriptStart,chunk){let htmlInlinedData;htmlInlinedData="string"==typeof chunk?htmlEscapeJsonString(JSON.stringify([1,chunk])):htmlEscapeJsonString(JSON.stringify([3,"undefined"!=typeof Buffer?Buffer.from(chunk.buffer,chunk.byteOffset,chunk.byteLength).toString("base64"):btoa(String.fromCodePoint(...chunk))])),controller.enqueue(use_flight_response_encoder.encode(`${scriptStart}self.__next_f.push(${htmlInlinedData})</script>`))}__webpack_require__("./dist/esm/server/lib/source-maps.js").findSourceMapURLDEV;class ReplayableNodeStream{constructor(stream){this._chunks=[],this._done=!1,this._error=null,this._subscribers=new Set,stream.on("data",chunk=>{let buf=chunk instanceof Uint8Array?chunk:new Uint8Array(chunk);for(let sub of(null!==this._chunks&&this._chunks.push(buf),this._subscribers))sub.onChunk(buf)}),stream.on("end",()=>{for(let sub of(this._done=!0,this._subscribers))sub.onEnd();this._subscribers.clear()}),stream.on("error",err=>{for(let sub of(this._error=err,this._subscribers))sub.onError(err);this._subscribers.clear()})}createReplayStream(){let ReadableCtor;if(null===this._chunks)throw Object.defineProperty(new invariant_error.InvariantError("Cannot create a replay stream after the ReplayableNodeStream has been disposed."),"__NEXT_ERROR_CODE",{value:"E1156",enumerable:!1,configurable:!0});ReadableCtor="Webpack"===process.env.__NEXT_BUNDLER||"Rspack"===process.env.__NEXT_BUNDLER?require("node:stream").Readable:__webpack_require__("node:stream").Readable;let bufferedChunks=this._chunks.slice(),bufferIndex=0,bufferDrained=!1,isDone=this._done,sourceError=this._error,stream=new ReadableCtor({read(){if(!bufferDrained){bufferDrained=!0;for(let i=bufferIndex;i<bufferedChunks.length;i++)this.push(bufferedChunks[i]);bufferIndex=bufferedChunks.length,isDone&&this.push(null)}}});if(sourceError)return stream.destroy(sourceError),stream;if(isDone)return stream;let subscriber={onChunk:chunk=>{stream.push(chunk)},onEnd:()=>{stream.push(null)},onError:err=>{stream.destroy(err)}};return this._subscribers.add(subscriber),stream.on("close",()=>{this._subscribers.delete(subscriber)}),stream}dispose(){this._chunks=null}}function renderToWebFlightStream(ComponentMod,payload,clientModules,opts){return ComponentMod.renderToReadableStream(payload,clientModules,opts)}async function renderToWebFizzStream(element,streamOptions,_options){let stream=await function({ReactDOMServer,element,streamOptions}){return(0,tracer_.getTracer)().trace(constants.AppRenderSpan.renderToReadableStream,async()=>ReactDOMServer.renderToReadableStream(element,streamOptions))}({ReactDOMServer:{renderToReadableStream:react_dom_server.renderToReadableStream},element,streamOptions});return{stream,allReady:stream.allReady,abort:void 0}}function nodeReadableToWebReadableStream(stream){return stream instanceof ReadableStream?stream:external_node_stream_.Readable.toWeb(stream)}function stream_ops_node_webToReadable(stream){return stream instanceof external_node_stream_.Readable?stream:external_node_stream_.Readable.fromWeb(stream)}function createFlightDataInjectionTransform(dataStream,delayDataUntilFirstHtmlChunk){let htmlStreamFinished=!1,pull=null,donePulling=!1;function startOrContinuePulling(target){return pull||(pull=startPulling(target)),pull}async function startPulling(target){delayDataUntilFirstHtmlChunk&&await (0,scheduler.atLeastOneTask)();try{let iterator=dataStream[Symbol.asyncIterator]();for(;;){let{done,value}=await iterator.next();if(done){donePulling=!0;return}delayDataUntilFirstHtmlChunk||htmlStreamFinished||await (0,scheduler.atLeastOneTask)(),target.push(value)}}catch(err){target.destroy(err)}}let nodeTransform=new external_node_stream_.Transform({transform(chunk,_encoding,callback){this.push(chunk),delayDataUntilFirstHtmlChunk&&startOrContinuePulling(this),callback()},flush(callback){(htmlStreamFinished=!0,donePulling)?callback():startOrContinuePulling(this).then(()=>callback(),err=>callback(err))}});return delayDataUntilFirstHtmlChunk||startOrContinuePulling(nodeTransform),nodeTransform}function createHeadInsertionTransform(insert){let inserted=!1,hasBytes=!1;return new external_node_stream_.Transform({async transform(chunk,_encoding,callback){hasBytes=!0;try{let insertion=await insert();if(inserted)insertion&&this.push(Buffer.from(insertion)),this.push(chunk);else{let index=indexOfUint8Array(chunk,ENCODED_TAGS.CLOSED.HEAD);if(-1!==index){if(insertion){let encodedInsertion=Buffer.from(insertion),merged=Buffer.allocUnsafe(chunk.length+encodedInsertion.length);merged.set(chunk.slice(0,index)),merged.set(encodedInsertion,index),merged.set(chunk.slice(index),index+encodedInsertion.length),this.push(merged)}else this.push(chunk);inserted=!0}else insertion&&this.push(Buffer.from(insertion)),this.push(chunk),inserted=!0}callback()}catch(err){callback(err)}},async flush(callback){try{if(hasBytes){let insertion=await insert();insertion&&this.push(Buffer.from(insertion))}callback()}catch(err){callback(err)}}})}function createMetadataTransform(insert){let chunkIndex=-1,isMarkRemoved=!1;return new external_node_stream_.Transform({async transform(chunk,_encoding,callback){let iconMarkIndex=-1,closedHeadIndex=-1;if(chunkIndex++,isMarkRemoved){this.push(chunk),callback();return}try{let iconMarkLength=0;if(iconMarkIndex=indexOfUint8Array(chunk,ENCODED_TAGS.META.ICON_MARK),-1===iconMarkIndex){this.push(chunk),callback();return}if(iconMarkLength=ENCODED_TAGS.META.ICON_MARK.length,47===chunk[iconMarkIndex+iconMarkLength]?iconMarkLength+=2:iconMarkLength++,0===chunkIndex){if(closedHeadIndex=indexOfUint8Array(chunk,ENCODED_TAGS.CLOSED.HEAD),iconMarkIndex<closedHeadIndex){let replaced=Buffer.allocUnsafe(chunk.length-iconMarkLength);replaced.set(chunk.subarray(0,iconMarkIndex)),replaced.set(chunk.subarray(iconMarkIndex+iconMarkLength),iconMarkIndex),chunk=replaced}else{let insertion=await insert(),encodedInsertion=Buffer.from(insertion),insertionLength=encodedInsertion.length,replaced=Buffer.allocUnsafe(chunk.length-iconMarkLength+insertionLength);replaced.set(chunk.subarray(0,iconMarkIndex)),replaced.set(encodedInsertion,iconMarkIndex),replaced.set(chunk.subarray(iconMarkIndex+iconMarkLength),iconMarkIndex+insertionLength),chunk=replaced}isMarkRemoved=!0}else{let insertion=await insert(),encodedInsertion=Buffer.from(insertion),insertionLength=encodedInsertion.length,replaced=Buffer.allocUnsafe(chunk.length-iconMarkLength+insertionLength);replaced.set(chunk.subarray(0,iconMarkIndex)),replaced.set(encodedInsertion,iconMarkIndex),replaced.set(chunk.subarray(iconMarkIndex+iconMarkLength),iconMarkIndex+insertionLength),chunk=replaced,isMarkRemoved=!0}this.push(chunk),callback()}catch(err){callback(err)}}})}function createMoveSuffixTransform(){let foundSuffix=!1;return new external_node_stream_.Transform({transform(chunk,_encoding,callback){if(foundSuffix){this.push(chunk),callback();return}let index=indexOfUint8Array(chunk,ENCODED_TAGS.CLOSED.BODY_AND_HTML);if(index>-1){if(foundSuffix=!0,chunk.length===ENCODED_TAGS.CLOSED.BODY_AND_HTML.length)return void callback();let before=chunk.slice(0,index);if(this.push(before),chunk.length>ENCODED_TAGS.CLOSED.BODY_AND_HTML.length+index){let after=chunk.slice(index+ENCODED_TAGS.CLOSED.BODY_AND_HTML.length);this.push(after)}}else this.push(chunk);callback()},flush(callback){this.push(ENCODED_TAGS.CLOSED.BODY_AND_HTML),callback()}})}function createHtmlDataDplIdTransform(dplId){let didTransform=!1;return new external_node_stream_.Transform({transform(chunk,_encoding,callback){if(didTransform){this.push(chunk),callback();return}let htmlTagIndex=indexOfUint8Array(chunk,ENCODED_TAGS.OPENING.HTML);if(-1===htmlTagIndex){this.push(chunk),callback();return}let insertionPoint=htmlTagIndex+ENCODED_TAGS.OPENING.HTML.length,encodedAttribute=Buffer.from(` data-dpl-id="${dplId}"`),modified=Buffer.allocUnsafe(chunk.length+encodedAttribute.length);modified.set(chunk.subarray(0,insertionPoint)),modified.set(encodedAttribute,insertionPoint),modified.set(chunk.subarray(insertionPoint),insertionPoint+encodedAttribute.length),this.push(modified),didTransform=!0,callback()}})}function stream_ops_node_renderToNodeFlightStream(ComponentMod,payload,clientModules,opts){if(!ComponentMod.renderToPipeableStream)throw Object.defineProperty(Error("renderToPipeableStream is not implemented"),"__NEXT_ERROR_CODE",{value:"E1153",enumerable:!1,configurable:!0});let{signal,...renderOptions}=opts??{},pt=new external_node_stream_.PassThrough,pipeable=ComponentMod.renderToPipeableStream(payload,clientModules,renderOptions);if(pipeable.pipe(pt),signal)if(signal.aborted)pipeable.abort(signal.reason);else{let onAbort=()=>pipeable.abort(signal.reason);signal.addEventListener("abort",onAbort,{once:!0}),pt.on("close",()=>signal.removeEventListener("abort",onAbort))}return pt}async function stream_ops_node_renderToNodeFizzStream(element,streamOptions,options){let pt=new external_node_stream_.PassThrough,shellReady=new DetachedPromise,allReady=new DetachedPromise,deferPipe=(null==options?void 0:options.waitForAllReady)===!0,pipeable=(0,tracer_.getTracer)().trace(constants.AppRenderSpan.renderToReadableStream,()=>(0,react_dom_server.renderToPipeableStream)(element,{...streamOptions,onHeaders:null==streamOptions?void 0:streamOptions.onHeaders,onShellReady(){var _streamOptions_onShellReady;null==streamOptions||null==(_streamOptions_onShellReady=streamOptions.onShellReady)||_streamOptions_onShellReady.call(streamOptions),shellReady.resolve()},onShellError(error){var _streamOptions_onShellError;null==streamOptions||null==(_streamOptions_onShellError=streamOptions.onShellError)||_streamOptions_onShellError.call(streamOptions,error),shellReady.reject(error)},onAllReady(){var _streamOptions_onAllReady;null==streamOptions||null==(_streamOptions_onAllReady=streamOptions.onAllReady)||_streamOptions_onAllReady.call(streamOptions),deferPipe&&pipeable.pipe(pt),allReady.resolve()},onError:null==streamOptions?void 0:streamOptions.onError}));return await (0,tracer_.getTracer)().trace(constants.AppRenderSpan.waitShellReady,()=>shellReady.promise),deferPipe||(await (0,scheduler.waitAtLeastOneReactRenderTask)(),pipeable.pipe(pt)),{stream:pt,allReady:allReady.promise,abort:reason=>pipeable.abort(reason)}}async function stream_ops_node_resumeToFizzStream(element,postponedState,streamOptions,runInContext){let pt=new external_node_stream_.PassThrough,shellReady=new DetachedPromise,allReady=new DetachedPromise,pipeable=await (runInContext??(fn=>fn()))(()=>(0,react_dom_server.resumeToPipeableStream)(element,postponedState,{...streamOptions,onShellReady(){var _streamOptions_onShellReady;null==streamOptions||null==(_streamOptions_onShellReady=streamOptions.onShellReady)||_streamOptions_onShellReady.call(streamOptions),shellReady.resolve()},onShellError(error){var _streamOptions_onShellError;null==streamOptions||null==(_streamOptions_onShellError=streamOptions.onShellError)||_streamOptions_onShellError.call(streamOptions,error),shellReady.reject(error)},onAllReady(){var _streamOptions_onAllReady;null==streamOptions||null==(_streamOptions_onAllReady=streamOptions.onAllReady)||_streamOptions_onAllReady.call(streamOptions),allReady.resolve()}}));return pipeable.pipe(pt),await shellReady.promise,{stream:pt,allReady:allReady.promise,abort:reason=>pipeable.abort(reason)}}async function stream_ops_node_resumeAndAbort(element,postponed,opts){var _opts_signal;let pt=new external_node_stream_.PassThrough,pipeable=await (0,react_dom_server.resumeToPipeableStream)(element,postponed,opts);return pipeable.pipe(pt),pipeable.abort(null==opts?void 0:null==(_opts_signal=opts.signal)?void 0:_opts_signal.reason),pt}async function stream_ops_node_continueFizzStream(renderStream,{suffix,inlinedDataStream,isStaticGeneration,allReady,deploymentId,getServerInsertedHTML,getServerInsertedMetadata,validateRootLayout}){let suffixUnclosed=suffix?suffix.split(CLOSE_TAG,1)[0]:null;isStaticGeneration?allReady&&await allReady:await (0,scheduler.waitAtLeastOneReactRenderTask)();let buffered=createNodeBufferedTransformStream();stream_ops_node_webToReadable(renderStream).pipe(buffered);let source=buffered;if(deploymentId){let dplId=createHtmlDataDplIdTransform(deploymentId);source.pipe(dplId),source=dplId}let metadata=createMetadataTransform(getServerInsertedMetadata);if(source.pipe(metadata),source=metadata,null!=suffixUnclosed&&suffixUnclosed.length>0){let flushed,encodedSuffix,deferredSuffix=(flushed=!1,encodedSuffix=Buffer.from(suffixUnclosed),new external_node_stream_.Transform({transform(chunk,_encoding,callback){this.push(chunk),flushed||(flushed=!0,queueMicrotask(()=>{this.push(encodedSuffix)})),callback()},flush(callback){flushed||this.push(encodedSuffix),callback()}}));source.pipe(deferredSuffix),source=deferredSuffix}if(inlinedDataStream){let flightInjection=createFlightDataInjectionTransform(stream_ops_node_webToReadable(inlinedDataStream),!0);source.pipe(flightInjection),source=flightInjection}if(validateRootLayout){let foundHtml,foundBody,rootLayoutValidator=(foundHtml=!1,foundBody=!1,new external_node_stream_.Transform({transform(chunk,_encoding,callback){!foundHtml&&indexOfUint8Array(chunk,ENCODED_TAGS.OPENING.HTML)>-1&&(foundHtml=!0),!foundBody&&indexOfUint8Array(chunk,ENCODED_TAGS.OPENING.BODY)>-1&&(foundBody=!0),this.push(chunk),callback()},flush(callback){let missingTags=[];foundHtml||missingTags.push("html"),foundBody||missingTags.push("body"),missingTags.length&&this.push(Buffer.from(`<html id="__next_error__">
<template
data-next-error-message="Missing ${missingTags.map(c=>`<${c}>`).join(missingTags.length>1?" and ":"")} tags in the root layout.
Read more at https://nextjs.org/docs/messages/missing-root-layout-tags"
data-next-error-digest="NEXT_MISSING_ROOT_TAGS"
data-next-error-stack=""
></template>
`)),callback()}}));source.pipe(rootLayoutValidator),source=rootLayoutValidator}let moveSuffix=createMoveSuffixTransform();source.pipe(moveSuffix),source=moveSuffix;let headInsertion=createHeadInsertionTransform(getServerInsertedHTML);return source.pipe(headInsertion),source=headInsertion}async function stream_ops_node_continueStaticPrerender(prerenderStream,opts){return stream_ops_node_webToReadable(await continueStaticPrerender(nodeReadableToWebReadableStream(prerenderStream),{...opts,inlinedDataStream:nodeReadableToWebReadableStream(opts.inlinedDataStream)}))}async function stream_ops_node_continueDynamicPrerender(prerenderStream,opts){return stream_ops_node_webToReadable(await continueDynamicPrerender(nodeReadableToWebReadableStream(prerenderStream),opts))}async function stream_ops_node_continueStaticFallbackPrerender(prerenderStream,opts){return stream_ops_node_webToReadable(await continueStaticFallbackPrerender(nodeReadableToWebReadableStream(prerenderStream),{...opts,inlinedDataStream:nodeReadableToWebReadableStream(opts.inlinedDataStream)}))}async function stream_ops_node_continueDynamicHTMLResumeNode(renderStream,{delayDataUntilFirstHtmlChunk,inlinedDataStream,getServerInsertedHTML,getServerInsertedMetadata,deploymentId}){await (0,scheduler.waitAtLeastOneReactRenderTask)();let buffered=createNodeBufferedTransformStream();stream_ops_node_webToReadable(renderStream).pipe(buffered);let source=buffered;if(deploymentId){let dplId=createHtmlDataDplIdTransform(deploymentId);source.pipe(dplId),source=dplId}let headInsertion=createHeadInsertionTransform(getServerInsertedHTML);source.pipe(headInsertion),source=headInsertion;let metadata=createMetadataTransform(getServerInsertedMetadata);source.pipe(metadata),source=metadata;let flightInjection=createFlightDataInjectionTransform(stream_ops_node_webToReadable(inlinedDataStream),delayDataUntilFirstHtmlChunk);source.pipe(flightInjection),source=flightInjection;let moveSuffix=createMoveSuffixTransform();return source.pipe(moveSuffix),source=moveSuffix}async function stream_ops_node_continueDynamicHTMLResumeWeb(renderStream,opts){return stream_ops_node_webToReadable(await continueDynamicHTMLResume(nodeReadableToWebReadableStream(renderStream),{...opts,inlinedDataStream:nodeReadableToWebReadableStream(opts.inlinedDataStream)}))}function stream_ops_node_chainStreams(...streams){if(0===streams.length){let pt=new external_node_stream_.PassThrough;return pt.end(),pt}if(1===streams.length)return streams[0];let out=new external_node_stream_.PassThrough,i=0;return!function pipeNext(){if(i>=streams.length)return void out.end();let current=stream_ops_node_webToReadable(streams[i++]);current.pipe(out,{end:!1}),current.on("end",pipeNext),current.on("error",err=>out.destroy(err))}(),out}async function stream_ops_node_streamToBuffer(stream){return streamToBuffer(nodeReadableToWebReadableStream(stream))}async function stream_ops_node_streamToString(stream){return streamToString(nodeReadableToWebReadableStream(stream))}function stream_ops_node_createWebInlinedDataStream(source,nonce,formState){var flightStream;let startScriptTag,flightReader,decoder;return stream_ops_node_webToReadable((flightStream=nodeReadableToWebReadableStream(source),startScriptTag=nonce?`<script nonce="${htmlEscapeAttributeString(nonce)}">`:"<script>",flightReader=flightStream.getReader(),decoder=new TextDecoder("utf-8",{fatal:!0}),new ReadableStream({type:"bytes",start(controller){try{var controller1,scriptStart,formState1;let scriptContents;controller1=controller,scriptStart=startScriptTag,formState1=formState,scriptContents=`(self.__next_f=self.__next_f||[]).push(${htmlEscapeJsonString(JSON.stringify([0]))})`,null!=formState1&&(scriptContents+=`;self.__next_f.push(${htmlEscapeJsonString(JSON.stringify([2,formState1]))})`),controller1.enqueue(use_flight_response_encoder.encode(`${scriptStart}${scriptContents}</script>`))}catch(error){controller.error(error)}},async pull(controller){try{let{done,value}=await flightReader.read();if(value)try{let decodedString=decoder.decode(value,{stream:!done});writeFlightDataInstruction(controller,startScriptTag,decodedString)}catch{writeFlightDataInstruction(controller,startScriptTag,value)}done&&controller.close()}catch(error){controller.error(error)}}})))}function stream_ops_node_createNodeInlinedDataStream(source,nonce,formState){let startScriptTag=nonce?`<script nonce="${htmlEscapeAttributeString(nonce)}">`:"<script>",dataStream=stream_ops_node_webToReadable(source),pt=new external_node_stream_.PassThrough,scriptContents=`(self.__next_f=self.__next_f||[]).push(${htmlEscapeJsonString(JSON.stringify([stream_ops_node_INLINE_FLIGHT_PAYLOAD_BOOTSTRAP]))})`;return null!=formState&&(scriptContents+=`;self.__next_f.push(${htmlEscapeJsonString(JSON.stringify([stream_ops_node_INLINE_FLIGHT_PAYLOAD_FORM_STATE,formState]))})`),pt.push(Buffer.from(`${startScriptTag}${scriptContents}</script>`)),pullFlightData(dataStream,pt,startScriptTag),pt}static_node.prerender;let stream_ops_node_INLINE_FLIGHT_PAYLOAD_BOOTSTRAP=0,stream_ops_node_INLINE_FLIGHT_PAYLOAD_FORM_STATE=2;async function pullFlightData(dataStream,output,startScriptTag){try{for(;;){let chunk=dataStream.read();if(null!==chunk){let htmlInlinedData;if((0,external_node_buffer_namespaceObject.isUtf8)(chunk)){let decodedString=chunk.toString("utf-8");htmlInlinedData=htmlEscapeJsonString(JSON.stringify([1,decodedString]))}else{let base64=Buffer.from(chunk.buffer,chunk.byteOffset,chunk.byteLength).toString("base64");htmlInlinedData=htmlEscapeJsonString(JSON.stringify([3,base64]))}output.push(Buffer.from(`${startScriptTag}self.__next_f.push(${htmlInlinedData})</script>`));continue}if(dataStream.readableEnded)return void output.end();await (dataStream.readableLength>0||dataStream.readableEnded?Promise.resolve():new Promise((resolve,reject)=>{function cleanup(){dataStream.removeListener("readable",onDone),dataStream.removeListener("end",onDone),dataStream.removeListener("error",onError)}function onDone(){cleanup(),resolve()}function onError(err){cleanup(),reject(err)}dataStream.on("readable",onDone),dataStream.on("end",onDone),dataStream.on("error",onError)}))}}catch(err){output.destroy(err)}}function stream_ops_node_createPendingStream(){return new external_node_stream_.PassThrough}function stream_ops_node_createDocumentClosingStream(){return stream_ops_node_webToReadable(new ReadableStream({start(controller){controller.enqueue(encoder.encode(CLOSE_TAG)),controller.close()}}))}function stream_ops_node_createOnHeadersCallback(appendHeader){return headers=>{headers.forEach((value,key)=>{appendHeader(key,value)})}}function stream_ops_node_pipeRuntimePrefetchTransform(stream,sentinel,isPartial,staleTime){return stream_ops_node_webToReadable(nodeReadableToWebReadableStream(stream).pipeThrough(function(sentinel,isPartial,staleTime){let enc=new TextEncoder,search=enc.encode(`[${sentinel}]`),first=search[0],replace=enc.encode(`[${isPartial},${staleTime}]`),searchLen=search.length,currentChunk=null,found=!1;function processChunk(controller,nextChunk){if(found){nextChunk&&controller.enqueue(nextChunk);return}if(currentChunk){let exclusiveUpperBound=currentChunk.length-(searchLen-1);if(nextChunk&&(exclusiveUpperBound+=Math.min(nextChunk.length,searchLen-1)),exclusiveUpperBound<1){controller.enqueue(currentChunk),currentChunk=nextChunk;return}let currentIndex=currentChunk.indexOf(first);candidateLoop:for(;-1<currentIndex&¤tIndex<exclusiveUpperBound;){let matchIndex=1;for(;matchIndex<searchLen;){let candidateIndex=currentIndex+matchIndex;if((candidateIndex<currentChunk.length?currentChunk[candidateIndex]:nextChunk[candidateIndex-currentChunk.length])!==search[matchIndex]){currentIndex=currentChunk.indexOf(first,currentIndex+1);continue candidateLoop}matchIndex++}if(found=!0,controller.enqueue(currentChunk.subarray(0,currentIndex)),controller.enqueue(replace),currentIndex+searchLen<currentChunk.length&&controller.enqueue(currentChunk.slice(currentIndex+searchLen)),nextChunk){let overflowBytes=currentIndex+searchLen-currentChunk.length,truncatedChunk=overflowBytes>0?nextChunk.subarray(overflowBytes):nextChunk;controller.enqueue(truncatedChunk)}currentChunk=null;return}controller.enqueue(currentChunk)}currentChunk=nextChunk}return new TransformStream({transform(chunk,controller){processChunk(controller,chunk)},flush(controller){processChunk(controller,null)}})}(sentinel,isPartial,staleTime)))}async function stream_ops_node_processPrelude(unprocessedPrelude){let[prelude,peek]=nodeReadableToWebReadableStream(unprocessedPrelude).tee(),reader=peek.getReader(),firstResult=await reader.read();return reader.cancel(),{prelude:stream_ops_node_webToReadable(prelude),preludeIsEmpty:!0===firstResult.done}}function stream_ops_node_getServerPrerender(ComponentMod){return ComponentMod.prerender}let stream_ops_node_getClientPrerender=static_node.prerender;function stream_ops_node_teeStream(stream){let replayable=new ReplayableNodeStream(stream);return[replayable.createReplayStream(),replayable.createReplayStream()]}},"./dist/esm/server/dev/dev-validation-worker.js"(__unused_rspack_module,__webpack_exports__,__webpack_require__){"use strict";let webCrypto,_m;__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{applyHmrUpdate:()=>applyHmrUpdate,invalidateCaches:()=>invalidateCaches,runDevValidation:()=>runDevValidation});let require_hook_path=__webpack_require__("path"),require_hook_mod=__webpack_require__("module"),originalRequire=require_hook_mod.prototype.require,resolveFilename=require_hook_mod._resolveFilename,require_hook_resolve=require.resolve,hookPropertyMap=new Map,defaultOverrides={};try{Object.assign(defaultOverrides,{"styled-jsx":require_hook_path.dirname(require_hook_resolve("styled-jsx/package.json")),"styled-jsx/style":require_hook_resolve("styled-jsx/style"),"styled-jsx/style.js":require_hook_resolve("styled-jsx/style")})}catch(_){}!function(aliases=[]){for(let[key,value]of aliases)hookPropertyMap.set(key,value)}((map=>{let resolveMap=[];for(let[key,value]of Object.entries(map))try{resolveMap.push([key,require_hook_resolve(value)])}catch{}return resolveMap})(defaultOverrides)),require_hook_mod._resolveFilename=(function(originalResolveFilename,requestMap,request,parent,isMain,options){let hookResolved=requestMap.get(request);return hookResolved&&(request=hookResolved),originalResolveFilename.call(require_hook_mod,request,parent,isMain,options)}).bind(null,resolveFilename,hookPropertyMap),require_hook_mod.prototype.require=function(request){return request.endsWith(".shared-runtime")?originalRequire.call(this,`next/dist/server/route-modules/pages/vendored/contexts/${require_hook_path.basename(request,".shared-runtime")}`):originalRequire.call(this,request)},__webpack_require__("./dist/esm/server/node-environment-baseline.js");var RenderStage,originalConstructor,originalNow,patch_error_inspect=__webpack_require__("./dist/esm/server/patch-error-inspect.js");(0,patch_error_inspect.patchErrorInspectNodeJS)(globalThis.Error);let console_async_storage_external_js_namespaceObject=require("next/dist/server/app-render/console-async-storage.external.js"),external_fs_namespaceObject=require("fs");var external_fs_default=__webpack_require__.n(external_fs_namespaceObject),external_path_=__webpack_require__("path"),external_path_default=__webpack_require__.n(external_path_);class FileLogger{initialize(distDir,mcpServerEnabled){if((this.logFilePath=external_path_default().join(distDir,"logs","next-development.log"),this.mcpServerEnabled=mcpServerEnabled,!this.isInitialized)&&this.mcpServerEnabled)try{external_fs_default().mkdirSync(external_path_default().dirname(this.logFilePath),{recursive:!0}),external_fs_default().writeFileSync(this.logFilePath,""),this.isInitialized=!0}catch(error){console.error(error)}}formatTimestamp(){let now=performance.now(),hours=Math.floor(now/36e5).toString().padStart(2,"0"),minutes=Math.floor(now%36e5/6e4).toString().padStart(2,"0"),seconds=Math.floor(now%6e4/1e3).toString().padStart(2,"0"),milliseconds=Math.floor(now%1e3).toString().padStart(3,"0");return`${hours}:${minutes}:${seconds}.${milliseconds}`}formatLogEntry(entry){let{timestamp,source,level,message}=entry;return JSON.stringify({timestamp,source,level,message})+"\n"}scheduleFlush(){this.flushTimer&&(clearTimeout(this.flushTimer),this.flushTimer=null),this.flushTimer=setTimeout(()=>{this.flush()},100)}getLogQueue(){return this.logQueue}isEnabled(){return this.mcpServerEnabled&&this.isInitialized}flush(){if(0!==this.logQueue.length){if(!this.mcpServerEnabled){this.logQueue.length=0,this.flushTimer=null;return}try{let logDir=external_path_default().dirname(this.logFilePath);external_fs_default().existsSync(logDir)||external_fs_default().mkdirSync(logDir,{recursive:!0});let logsToWrite=this.logQueue.join("");external_fs_default().appendFileSync(this.logFilePath,logsToWrite),this.logQueue.length=0}catch(error){console.error("Failed to flush logs to file:",error)}finally{this.flushTimer=null}}}enqueueLog(formattedEntry){this.logQueue.push(formattedEntry),this.flushTimer&&(clearTimeout(this.flushTimer),this.flushTimer=null),this.scheduleFlush()}log(source,level,message){if(!this.isEnabled())return;let logEntry={timestamp:this.formatTimestamp(),source,level,message},formattedEntry=this.formatLogEntry(logEntry);this.enqueueLog(formattedEntry)}logServer(level,message){this.log("Server",level,message)}logBrowser(level,message){this.log("Browser",level,message)}forceFlush(){this.flushTimer&&(clearTimeout(this.flushTimer),this.flushTimer=null),this.flush()}destroy(){this.forceFlush()}constructor(){this.logFilePath="",this.isInitialized=!1,this.logQueue=[],this.flushTimer=null,this.mcpServerEnabled=!1}}let file_logger_fileLogger=null;function formatObject(arg,depth){switch(typeof arg){case"object":if(null===arg)return"null";if(Array.isArray(arg)){let result="[";if(depth<1)for(let i=0;i<arg.length;i++)"["!==result&&(result+=","),Object.prototype.hasOwnProperty.call(arg,i)&&(result+=formatObject(arg[i],depth+1));else result+=arg.length>0?"...":"";return result+"]"}{if(arg instanceof Error)return arg+"";let keys=Object.keys(arg),result="{";if(depth<1)for(let i=0;i<keys.length;i++){let key=keys[i],desc=Object.getOwnPropertyDescriptor(arg,"key");if(desc&&!desc.get&&!desc.set){let jsonKey=JSON.stringify(key);jsonKey!=='"'+key+'"'?result+=jsonKey+": ":result+=key+": ",result+=formatObject(desc.value,depth+1)}}else result+=keys.length>0?"...":"";return result+"}"}case"string":return JSON.stringify(arg);default:return String(arg)}}function patchConsoleMethodDEV(methodName){let descriptor=Object.getOwnPropertyDescriptor(console,methodName);if(descriptor&&(descriptor.configurable||descriptor.writable)&&"function"==typeof descriptor.value){let originalMethod=descriptor.value,originalName=Object.getOwnPropertyDescriptor(originalMethod,"name"),wrapperMethod=function(...args){let consoleStore=console_async_storage_external_js_namespaceObject.consoleAsyncStorage.getStore();if((null==consoleStore?void 0:consoleStore.dim)===!0)return originalMethod.apply(this,args);{let ret=originalMethod.apply(this,args),fileLogger=(file_logger_fileLogger||(file_logger_fileLogger=new FileLogger),file_logger_fileLogger),message=function(args){let message,idx;"string"==typeof args[0]?(message=args[0],idx=1):(message="",idx=0);let result="",startQuote=!1;for(let i=0;i<message.length;++i){let char=message[i];if("%"!==char||i===message.length-1||idx>=args.length){result+=char;continue}let code=message[++i];switch(code){case"c":result=startQuote?`${result}]`:`[${result}`,startQuote=!startQuote,idx++;break;case"O":case"o":result+=formatObject(args[idx++],0);break;case"d":case"i":result+=parseInt(args[idx++],10);break;case"f":result+=parseFloat(args[idx++]);break;case"s":result+=String(args[idx++]);break;default:result+="%"+code}}for(;idx<args.length;idx++)result+=(idx>0?" ":"")+formatObject(args[idx],0);return result}(args),ansiEscapeRegex=RegExp("\x1b\\[[0-9;]*m","g"),cleanMessage=message.replace(ansiEscapeRegex,"");return fileLogger.logServer(methodName.toUpperCase(),cleanMessage),ret}};originalName&&Object.defineProperty(wrapperMethod,"name",originalName),Object.defineProperty(console,methodName,{value:wrapperMethod})}}patchConsoleMethodDEV("error"),patchConsoleMethodDEV("assert"),patchConsoleMethodDEV("debug"),patchConsoleMethodDEV("dir"),patchConsoleMethodDEV("dirxml"),patchConsoleMethodDEV("group"),patchConsoleMethodDEV("groupCollapsed"),patchConsoleMethodDEV("groupEnd"),patchConsoleMethodDEV("info"),patchConsoleMethodDEV("log"),patchConsoleMethodDEV("table"),patchConsoleMethodDEV("trace"),patchConsoleMethodDEV("warn");var work_unit_async_storage_external_js_=__webpack_require__("../app-render/work-unit-async-storage.external");function patchConsoleMethod(methodName){let descriptor=Object.getOwnPropertyDescriptor(console,methodName);if(descriptor&&(descriptor.configurable||descriptor.writable)&&"function"==typeof descriptor.value){let originalMethod=descriptor.value,originalName=Object.getOwnPropertyDescriptor(originalMethod,"name"),wrapperMethod=function(...args){return work_unit_async_storage_external_js_.workUnitAsyncStorage.exit(()=>originalMethod.apply(console,args))};originalName&&Object.defineProperty(wrapperMethod,"name",originalName),Object.defineProperty(console,methodName,{value:wrapperMethod})}}patchConsoleMethod("error"),patchConsoleMethod("assert"),patchConsoleMethod("debug"),patchConsoleMethod("dir"),patchConsoleMethod("dirxml"),patchConsoleMethod("group"),patchConsoleMethod("groupCollapsed"),patchConsoleMethod("groupEnd"),patchConsoleMethod("info"),patchConsoleMethod("log"),patchConsoleMethod("table"),patchConsoleMethod("trace"),patchConsoleMethod("warn"),require("next/dist/server/node-environment-extensions/console-dim.external.js"),require("next/dist/server/node-environment-extensions/unhandled-rejection.external.js");var work_async_storage_external_js_=__webpack_require__("../app-render/work-async-storage.external"),react=__webpack_require__("./dist/compiled/react/index.js"),react_default=__webpack_require__.n(react),invariant_error=__webpack_require__("./dist/esm/shared/lib/invariant-error.js"),staged_rendering_RenderStage=((RenderStage={})[RenderStage.Before=1]="Before",RenderStage[RenderStage.ShellStatic=11]="ShellStatic",RenderStage[RenderStage.Static=13]="Static",RenderStage[RenderStage.ShellRuntime=21]="ShellRuntime",RenderStage[RenderStage.Runtime=23]="Runtime",RenderStage[RenderStage.Dynamic=30]="Dynamic",RenderStage[RenderStage.Abandoned=40]="Abandoned",RenderStage);let runtime_reacts_external_js_namespaceObject=require("next/dist/server/runtime-reacts.external.js");function applyOwnerStack(error){{var _getClientReact_captureOwnerStack,_getClientReact,_getServerReact_captureOwnerStack,_getServerReact;let ownerStack,workUnitStore=work_unit_async_storage_external_js_.workUnitAsyncStorage.getStore(),innerOwnerStack=(null==(_getClientReact=(0,runtime_reacts_external_js_namespaceObject.getClientReact)())?void 0:null==(_getClientReact_captureOwnerStack=_getClientReact.captureOwnerStack)?void 0:_getClientReact_captureOwnerStack.call(_getClientReact))??(null==(_getServerReact=(0,runtime_reacts_external_js_namespaceObject.getServerReact)())?void 0:null==(_getServerReact_captureOwnerStack=_getServerReact.captureOwnerStack)?void 0:_getServerReact_captureOwnerStack.call(_getServerReact));switch(null==workUnitStore?void 0:workUnitStore.type){case"cache":case"private-cache":ownerStack=(innerOwnerStack||"")+(workUnitStore.outerOwnerStack||"")||void 0;break;case"unstable-cache":case"request":case"prerender":case"prerender-ppr":case"prerender-legacy":case"prerender-runtime":case"prerender-client":case"validation-client":case"generate-static-params":case void 0:ownerStack=innerOwnerStack}if(ownerStack){let stack=ownerStack;if(error.stack){let frames=[];for(let frame of error.stack.split("\n").slice(1)){if(frame.includes("react_stack_bottom_frame"))break;frames.push(frame)}stack="\n"+frames.join("\n")+stack}error.stack=error.name+": "+error.message+stack}}return error}function abortOnSynchronousPlatformIOAccess(route,expression,errorWithStack,prerenderStore){let error,dynamicTracking,dynamicTracking1=prerenderStore.dynamicTracking;dynamicTracking1&&null===dynamicTracking1.syncDynamicErrorWithStack&&(dynamicTracking1.syncDynamicErrorWithStack=errorWithStack,queueMicrotask(()=>{dynamicTracking1.syncDynamicErrorWithStackPostMicrotask=!0}));(error=Object.defineProperty(Error(`Route ${route} needs to bail out of prerendering at this point because it used ${expression}.`),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})).digest="NEXT_PRERENDER_INTERRUPTED",prerenderStore.controller.abort(error),(dynamicTracking=prerenderStore.dynamicTracking)&&dynamicTracking.dynamicAccesses.push({stack:dynamicTracking.isDebugDynamicAccesses?Error().stack:void 0,expression:expression})}if(new WeakMap,staged_rendering_RenderStage.ShellRuntime,staged_rendering_RenderStage.Static,staged_rendering_RenderStage.Runtime,__webpack_require__("./dist/esm/lib/scheduler.js"),react_default().unstable_postpone,!1===("Route %%% needs to bail out of prerendering at this point because it used ^^^. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error".includes("needs to bail out of prerendering at this point because it used")&&"Route %%% needs to bail out of prerendering at this point because it used ^^^. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error".includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error")))throw Object.defineProperty(Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E296",enumerable:!1,configurable:!0});RegExp(`\\n\\s+at Suspense \\(<anonymous>\\)(?:(?!\\n\\s+at (?:body|div|main|section|article|aside|header|footer|nav|form|p|span|h1|h2|h3|h4|h5|h6) \\(<anonymous>\\))[\\s\\S])*?\\n\\s+at __next_root_layout_boundary__ \\([^\\n]*\\)`),RegExp(`\\n\\s+at __next_metadata_boundary__[\\n\\s]`),RegExp(`\\n\\s+at __next_viewport_boundary__[\\n\\s]`),RegExp(`\\n\\s+at __next_outlet_boundary__[\\n\\s]`),RegExp(`\\n\\s+at __next_instant_validation_boundary__[\\n\\s]`),RegExp(`\\n\\s+at __next_instant_slot_(\\d+)__[\\n\\s]`);let SYNC_IO_DOCS={time:"https://nextjs.org/docs/messages/blocking-prerender-current-time",random:"https://nextjs.org/docs/messages/blocking-prerender-random",crypto:"https://nextjs.org/docs/messages/blocking-prerender-crypto"},SYNC_IO_CLIENT_DOCS={time:"https://nextjs.org/docs/messages/blocking-prerender-current-time-client",random:"https://nextjs.org/docs/messages/blocking-prerender-random-client",crypto:"https://nextjs.org/docs/messages/blocking-prerender-crypto-client"},SYNC_IO_RUNTIME_DOCS={time:"https://nextjs.org/docs/messages/blocking-prerender-current-time",random:"https://nextjs.org/docs/messages/blocking-prerender-random",crypto:"https://nextjs.org/docs/messages/blocking-prerender-crypto"};function elapsedTimeBullet(type){return"time"===type?"\n - [measure] If the value is for telemetry, use a timing API such as `performance.now()`":""}function createSyncIOErrorImpl(route,expression,type,docsUrl){return Object.defineProperty(Error(`Route "${route}": Next.js encountered the unstable value ${expression} while prerendering.
This value can change between renders, so it must be either prerendered or computed later.
Ways to fix this:
- [dynamic] Render at request time by adding a dynamic data access (e.g. \`await connection()\`) before this call
- [cache] Prerender and cache the value with \`"use cache"\`
- [client] Render the value on the client with \`"use client"\``+elapsedTimeBullet(type)+`
Learn more: ${docsUrl}`),"__NEXT_ERROR_CODE",{value:"E1432",enumerable:!1,configurable:!0})}function io(expression,type){var route;let workUnitStore=work_unit_async_storage_external_js_.workUnitAsyncStorage.getStore(),workStore=work_async_storage_external_js_.workAsyncStorage.getStore();if(workUnitStore&&workStore)switch(workUnitStore.type){case"prerender":case"prerender-runtime":!1===workUnitStore.controller.signal.aborted&&abortOnSynchronousPlatformIOAccess(workStore.route,expression,applyOwnerStack(createSyncIOErrorImpl(workStore.route,expression,type,SYNC_IO_DOCS[type])),workUnitStore);break;case"prerender-client":{let docsUrl;!1===workUnitStore.controller.signal.aborted&&abortOnSynchronousPlatformIOAccess(workStore.route,expression,applyOwnerStack((route=workStore.route,docsUrl=SYNC_IO_CLIENT_DOCS[type],Object.defineProperty(Error(`Route "${route}": Next.js encountered the unstable value ${expression} in a Client Component.
This value would be evaluated during the prerender, instead of recomputed on each visit.
Ways to fix this:
- [stream] Wrap the Client Component in \`<Suspense fallback={...}>\`
- [defer] Move the read into a \`useEffect\` or event handler`+elapsedTimeBullet(type)+`
Learn more: ${docsUrl}`),"__NEXT_ERROR_CODE",{value:"E1434",enumerable:!1,configurable:!0}))),workUnitStore);break}case"request":{let stageController=workUnitStore.stagedRendering;if(stageController&&stageController.shouldTrackSyncInterrupt()){let syncIOError;switch(stageController.currentStage){case staged_rendering_RenderStage.ShellStatic:case staged_rendering_RenderStage.Static:syncIOError=createSyncIOErrorImpl(workStore.route,expression,type,SYNC_IO_DOCS[type]);break;case staged_rendering_RenderStage.ShellRuntime:case staged_rendering_RenderStage.Runtime:syncIOError=createSyncIOErrorImpl(workStore.route,expression,type,SYNC_IO_RUNTIME_DOCS[type]);break;case staged_rendering_RenderStage.Before:case staged_rendering_RenderStage.Dynamic:case staged_rendering_RenderStage.Abandoned:throw Object.defineProperty(new invariant_error.InvariantError(`shouldTrackSyncInterrupt allowed a sync IO interrupt in an unexpected stage: ${staged_rendering_RenderStage[stageController.currentStage]}`),"__NEXT_ERROR_CODE",{value:"E1420",enumerable:!1,configurable:!0})}syncIOError=applyOwnerStack(syncIOError),stageController.syncInterruptCurrentStageWithReason(syncIOError),workUnitStore.controller&&!workUnitStore.controller.signal.aborted&&workUnitStore.controller.abort(syncIOError)}}}}let random_expression="`Math.random()`";try{let _random=Math.random;Math.random=(function(){return io(random_expression,"random"),_random.apply(null,arguments)}).bind(null),Object.defineProperty(Math.random,"name",{value:"random"})}catch{console.error(`Failed to install ${random_expression} extension. When using \`cacheComponents\` calling this function will not correctly trigger dynamic behavior.`)}try{let properties,apply,construct,newConstructor;Date=(originalConstructor=Date,(properties=Object.getOwnPropertyDescriptors(originalConstructor)).now.value=(originalNow=originalConstructor.now,({now:function(){return io("`Date.now()`","time"),originalNow()}})["now".slice()].bind(null)),apply=Reflect.apply,construct=Reflect.construct,newConstructor=Object.defineProperties(function(){return new.target===void 0?(io("`Date()`","time"),apply(originalConstructor,void 0,arguments)):(0==arguments.length&&io("`new Date()`","time"),construct(originalConstructor,arguments,new.target))},properties),Object.defineProperty(originalConstructor.prototype,"constructor",{value:newConstructor}),newConstructor)}catch{console.error("Failed to install `Date` class extension. When using `cacheComponents`, APIs that read the current time will not correctly trigger dynamic behavior.")}webCrypto="undefined"==typeof crypto?__webpack_require__("node:crypto").webcrypto:crypto;let getRandomValuesExpression="`crypto.getRandomValues()`";try{let _getRandomValues=webCrypto.getRandomValues;webCrypto.getRandomValues=function(){return io(getRandomValuesExpression,"crypto"),_getRandomValues.apply(webCrypto,arguments)}}catch{console.error(`Failed to install ${getRandomValuesExpression} extension. When using \`cacheComponents\` calling this function will not correctly trigger dynamic behavior.`)}try{let _randomUUID=webCrypto.randomUUID;webCrypto.randomUUID=function(){return io("`crypto.randomUUID()`","crypto"),_randomUUID.apply(webCrypto,arguments)}}catch{console.error(`Failed to install ${getRandomValuesExpression} extension. When using \`cacheComponents\` calling this function will not correctly trigger dynamic behavior.`)}{let nodeCrypto=__webpack_require__("node:crypto"),randomUUIDExpression="`require('node:crypto').randomUUID()`";try{let _randomUUID=nodeCrypto.randomUUID;nodeCrypto.randomUUID=function(){return io(randomUUIDExpression,"random"),_randomUUID.apply(this,arguments)}}catch{console.error(`Failed to install ${randomUUIDExpression} extension. When using \`cacheComponents\` calling this function will not correctly trigger dynamic behavior.`)}let randomBytesExpression="`require('node:crypto').randomBytes(size)`";try{let _randomBytes=nodeCrypto.randomBytes;nodeCrypto.randomBytes=function(){return"function"!=typeof arguments[1]&&io(randomBytesExpression,"random"),_randomBytes.apply(this,arguments)}}catch{console.error(`Failed to install ${randomBytesExpression} extension. When using \`cacheComponents\` calling this function without a callback argument will not correctly trigger dynamic behavior.`)}let randomFillSyncExpression="`require('node:crypto').randomFillSync(...)`";try{let _randomFillSync=nodeCrypto.randomFillSync;nodeCrypto.randomFillSync=function(){return io(randomFillSyncExpression,"random"),_randomFillSync.apply(this,arguments)}}catch{console.error(`Failed to install ${randomFillSyncExpression} extension. When using \`cacheComponents\` calling this function will not correctly trigger dynamic behavior.`)}try{let _randomInt=nodeCrypto.randomInt;nodeCrypto.randomInt=function(){return"function"!=typeof arguments[2]&&io("`require('node:crypto').randomInt(min, max)`","random"),_randomInt.apply(this,arguments)}}catch{console.error(`Failed to install ${randomBytesExpression} extension. When using \`cacheComponents\` calling this function without a callback argument will not correctly trigger dynamic behavior.`)}let generatePrimeSyncExpression="`require('node:crypto').generatePrimeSync(...)`";try{let _generatePrimeSync=nodeCrypto.generatePrimeSync;nodeCrypto.generatePrimeSync=function(){return io(generatePrimeSyncExpression,"random"),_generatePrimeSync.apply(this,arguments)}}catch{console.error(`Failed to install ${generatePrimeSyncExpression} extension. When using \`cacheComponents\` calling this function will not correctly trigger dynamic behavior.`)}let generateKeyPairSyncExpression="`require('node:crypto').generateKeyPairSync(...)`";try{let _generateKeyPairSync=nodeCrypto.generateKeyPairSync;nodeCrypto.generateKeyPairSync=function(){return io(generateKeyPairSyncExpression,"random"),_generateKeyPairSync.apply(this,arguments)}}catch{console.error(`Failed to install ${generateKeyPairSyncExpression} extension. When using \`cacheComponents\` calling this function will not correctly trigger dynamic behavior.`)}let generateKeySyncExpression="`require('node:crypto').generateKeySync(...)`";try{let _generateKeySync=nodeCrypto.generateKeySync;nodeCrypto.generateKeySync=function(){return io(generateKeySyncExpression,"random"),_generateKeySync.apply(this,arguments)}}catch{console.error(`Failed to install ${generateKeySyncExpression} extension. When using \`cacheComponents\` calling this function will not correctly trigger dynamic behavior.`)}}require("next/dist/server/node-environment-extensions/fast-set-immediate.external.js");var external_url_=__webpack_require__("url");let install_bindings_js_namespaceObject=require("next/dist/build/swc/install-bindings.js");__webpack_require__("./dist/esm/shared/lib/modern-browserslist-target.js");[...process?.features?.typescript?["next.config.mts"]:[]],Symbol("polyfills");let cache=new WeakMap;var ensure_leading_slash=__webpack_require__("./dist/esm/shared/lib/page-path/ensure-leading-slash.js"),app_paths=__webpack_require__("./dist/esm/shared/lib/router/utils/app-paths.js");let INTERCEPTION_ROUTE_MARKERS=["(..)(..)","(.)","(..)","(...)"],TEST_ROUTE=/\/[^/]*\[[^/]+\][^/]*(?=\/|$)/,TEST_STRICT_ROUTE=/\/\[[^/]+\](?=\/|$)/;function isDynamicRoute(route,strict=!0){return(void 0!==route.split("/").find(segment=>INTERCEPTION_ROUTE_MARKERS.find(m=>segment.startsWith(m)))&&(route=function(path){let interceptingRoute,marker,interceptedRoute;for(let segment of path.split("/"))if(marker=INTERCEPTION_ROUTE_MARKERS.find(m=>segment.startsWith(m))){[interceptingRoute,interceptedRoute]=path.split(marker,2);break}if(!interceptingRoute||!marker||!interceptedRoute)throw Object.defineProperty(Error(`Invalid interception route: ${path}. Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>`),"__NEXT_ERROR_CODE",{value:"E269",enumerable:!1,configurable:!0});switch(interceptingRoute=(0,app_paths.normalizeAppPath)(interceptingRoute),marker){case"(.)":interceptedRoute="/"===interceptingRoute?`/${interceptedRoute}`:interceptingRoute+"/"+interceptedRoute;break;case"(..)":if("/"===interceptingRoute)throw Object.defineProperty(Error(`Invalid interception route: ${path}. Cannot use (..) marker at the root level, use (.) instead.`),"__NEXT_ERROR_CODE",{value:"E207",enumerable:!1,configurable:!0});interceptedRoute=interceptingRoute.split("/").slice(0,-1).concat(interceptedRoute).join("/");break;case"(...)":interceptedRoute="/"+interceptedRoute;break;case"(..)(..)":let splitInterceptingRoute=interceptingRoute.split("/");if(splitInterceptingRoute.length<=2)throw Object.defineProperty(Error(`Invalid interception route: ${path}. Cannot use (..)(..) marker at the root level or one level up.`),"__NEXT_ERROR_CODE",{value:"E486",enumerable:!1,configurable:!0});interceptedRoute=splitInterceptingRoute.slice(0,-2).concat(interceptedRoute).join("/");break;default:throw Object.defineProperty(Error("Invariant: unexpected marker"),"__NEXT_ERROR_CODE",{value:"E112",enumerable:!1,configurable:!0})}return{interceptingRoute,interceptedRoute}}(route).interceptedRoute),strict)?TEST_STRICT_ROUTE.test(route):TEST_ROUTE.test(route)}"undefined"!=typeof performance&&["mark","measure","getEntriesByName"].every(method=>"function"==typeof performance[method]);class NormalizeError extends Error{}class PageNotFoundError extends Error{constructor(page){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${page}`}}class MissingStaticPage extends Error{constructor(page,message){super(),this.message=`Failed to load static file for page: ${page} ${message}`}}function normalizePathSep(path){return path.replace(/\\/g,"/")}__webpack_require__("./dist/esm/server/lib/lru-cache.js");let load_manifest_external_js_namespaceObject=require("next/dist/server/load-manifest.external.js");async function requirePage(page,distDir,isAppPath){let pagePath=function(page,distDir,locales,isAppPath){let pagePath=function(page,distDir,locales,isAppPath){let appPathsManifest,cacheKey=`${page}:${distDir}:${locales}:${isAppPath}`,pagePath=void 0;if(pagePath)return pagePath;let serverBuildPath=external_path_default().join(distDir,"server");isAppPath&&(appPathsManifest=(0,load_manifest_external_js_namespaceObject.loadManifest)(external_path_default().join(serverBuildPath,"app-paths-manifest.json"),!1));let pagesManifest=(0,load_manifest_external_js_namespaceObject.loadManifest)(external_path_default().join(serverBuildPath,"pages-manifest.json"),!1);try{var page1;let _page;page1=function(page){let normalized=/^\/index(\/|$)/.test(page)&&!isDynamicRoute(page)?`/index${page}`:"/"===page?"/index":(0,ensure_leading_slash.ensureLeadingSlash)(page);{let{posix}=__webpack_require__("path"),resolvedPage=posix.normalize(normalized);if(resolvedPage!==normalized)throw new NormalizeError(`Requested and resolved page mismatch: ${normalized} ${resolvedPage}`)}return normalized}(page),page=(_page=normalizePathSep(page1)).startsWith("/index/")&&!isDynamicRoute(_page)?_page.slice(6):"/index"!==_page?_page:"/"}catch(err){throw console.error(err),new PageNotFoundError(page)}let checkManifest=manifest=>{let curPath=manifest[page];if(!manifest[curPath]&&locales){let manifestNoLocales={};for(let key of Object.keys(manifest))manifestNoLocales[function(pathname,locales){let detectedLocale;if(!locales)return{pathname};let lowercasedLocales=cache.get(locales);lowercasedLocales||(lowercasedLocales=locales.map(locale=>locale.toLowerCase()),cache.set(locales,lowercasedLocales));let segments=pathname.split("/",2);if(!segments[1])return{pathname};let segment=segments[1].toLowerCase(),index=lowercasedLocales.indexOf(segment);return index<0?{pathname}:(detectedLocale=locales[index],{pathname:pathname=pathname.slice(detectedLocale.length+1)||"/",detectedLocale})}(key,locales).pathname]=pagesManifest[key];curPath=manifestNoLocales[page]}return curPath};return(appPathsManifest&&(pagePath=checkManifest(appPathsManifest)),pagePath||(pagePath=checkManifest(pagesManifest)),pagePath)?external_path_default().isAbsolute(pagePath)?pagePath:(pagePath=external_path_default().join(serverBuildPath,pagePath),pagePath):null}(page,distDir,locales,isAppPath);if(!pagePath)throw new PageNotFoundError(page);return pagePath}(page,distDir,void 0,isAppPath);return pagePath.endsWith(".html")?external_fs_namespaceObject.promises.readFile(pagePath,"utf8").catch(err=>{throw new MissingStaticPage(page,err.message)}):require(pagePath)}function interopDefault(mod){return mod.default||mod}var tracer_=__webpack_require__("./lib/trace/tracer"),constants=__webpack_require__("./dist/esm/server/lib/trace/constants.js");async function wait_wait(ms){return new Promise(resolve=>setTimeout(resolve,ms))}var manifests_singleton=__webpack_require__("./dist/esm/server/app-render/manifests-singleton.js");let STATIC_METADATA_IMAGES_icon_extensions=["ico","jpg","jpeg","png","svg"],STATIC_METADATA_IMAGES_apple_extensions=["jpg","jpeg","png"],STATIC_METADATA_IMAGES_openGraph_extensions=["jpg","jpeg","png","gif"],STATIC_METADATA_IMAGES_twitter_extensions=["jpg","jpeg","png","gif"],getExtensionRegexString=(staticExtensions,dynamicExtensions)=>dynamicExtensions&&0!==dynamicExtensions.length?`(?:\\.(${staticExtensions.join("|")})|(\\.(${dynamicExtensions.join("|")})))`:`(\\.(?:${staticExtensions.join("|")}))`,FAVICON_REGEX=/^[\\/]favicon\.ico$/,ROBOTS_TXT_REGEX=/^[\\/]robots\.txt$/,MANIFEST_JSON_REGEX=/^[\\/]manifest\.json$/,MANIFEST_WEBMANIFEST_REGEX=/^[\\/]manifest\.webmanifest$/,SITEMAP_XML_REGEX=/[\\/]sitemap\.xml$/,compiledRegexCache=new Map;async function loadManifestWithRetries(manifestPath,attempts=3){for(;;)try{return(0,load_manifest_external_js_namespaceObject.loadManifest)(manifestPath)}catch(err){if(--attempts<=0)throw err;await wait_wait(100)}}async function tryLoadManifestWithRetries(manifestPath,attempts=3){try{return await loadManifestWithRetries(manifestPath,attempts)}catch(err){return}}async function evalManifestWithRetries(manifestPath,attempts=3){for(;;)try{return(0,load_manifest_external_js_namespaceObject.evalManifest)(manifestPath)}catch(err){if(--attempts<=0)throw err;await wait_wait(100)}}async function loadClientReferenceManifestForPage(distDir,page,attempts){let entryName=page.replace(/%5F/g,"_"),manifestPath=(0,external_path_.join)(distDir,"server","app",entryName+"_client-reference-manifest.js");try{return(await evalManifestWithRetries(manifestPath,attempts)).__RSC_MANIFEST[entryName]}catch(err){return}}async function loadComponentsImpl({distDir,page,isAppPath,isDev,sriEnabled,needsManifestsForLegacyReasons}){let DocumentMod={},AppMod={};if(isAppPath||([DocumentMod,AppMod]=await Promise.all([requirePage("/_document",distDir,!1),requirePage("/_app",distDir,!1)])),needsManifestsForLegacyReasons){var route;let pathname,reactLoadableManifestPath,manifestLoadAttempts=isDev?3:1;reactLoadableManifestPath=(0,external_path_.join)(distDir,"react-loadable-manifest.json");let hasClientManifest=(pathname=(route=page).replace(/\/route$/,""),!(route.endsWith("/route")&&function(appDirRelativePath,pageExtensions,strictlyMatchExtensions){if(!appDirRelativePath||appDirRelativePath.length<2)return!1;let normalizedPath=normalizePathSep(appDirRelativePath),fastResult=FAVICON_REGEX.test(normalizedPath)?!0:ROBOTS_TXT_REGEX.test(normalizedPath)?!0:MANIFEST_JSON_REGEX.test(normalizedPath)?!0:MANIFEST_WEBMANIFEST_REGEX.test(normalizedPath)?!0:SITEMAP_XML_REGEX.test(normalizedPath)?!0:normalizedPath.includes("robots")||normalizedPath.includes("manifest")||normalizedPath.includes("sitemap")||normalizedPath.includes("icon")||normalizedPath.includes("apple-icon")||normalizedPath.includes("opengraph-image")||normalizedPath.includes("twitter-image")||normalizedPath.includes("favicon")?null:!1;if(null!==fastResult)return fastResult;let regexes=function(pageExtensions,strictlyMatchExtensions){let cacheKey=`${pageExtensions.join(",")}|${strictlyMatchExtensions}`,cached=compiledRegexCache.get(cacheKey);if(cached)return cached;let trailingMatcher=strictlyMatchExtensions?"$":"?$",suffixMatcher="\\d?"+(strictlyMatchExtensions?"":"(-\\w{6})?"),robotsExts=pageExtensions.length>0?[...pageExtensions,"txt"]:["txt"],manifestExts=pageExtensions.length>0?[...pageExtensions,"webmanifest","json"]:["webmanifest","json"],regexes=[RegExp(`^[\\\\/]robots${getExtensionRegexString(robotsExts,null)}${trailingMatcher}`),RegExp(`^[\\\\/]manifest${getExtensionRegexString(manifestExts,null)}${trailingMatcher}`),RegExp(`[\\\\/]sitemap${getExtensionRegexString(["xml"],pageExtensions)}${trailingMatcher}`),RegExp(`[\\\\/]icon${suffixMatcher}${getExtensionRegexString(STATIC_METADATA_IMAGES_icon_extensions,pageExtensions)}${trailingMatcher}`),RegExp(`[\\\\/]apple-icon${suffixMatcher}${getExtensionRegexString(STATIC_METADATA_IMAGES_apple_extensions,pageExtensions)}${trailingMatcher}`),RegExp(`[\\\\/]opengraph-image${suffixMatcher}${getExtensionRegexString(STATIC_METADATA_IMAGES_openGraph_extensions,pageExtensions)}${trailingMatcher}`),RegExp(`[\\\\/]twitter-image${suffixMatcher}${getExtensionRegexString(STATIC_METADATA_IMAGES_twitter_extensions,pageExtensions)}${trailingMatcher}`)];return compiledRegexCache.set(cacheKey,regexes),regexes}(pageExtensions,strictlyMatchExtensions);for(let i=0;i<regexes.length;i++)if(regexes[i].test(normalizedPath))return!0;return!1}(pathname,[],!0))||"/robots.txt"===pathname||"/manifest.webmanifest"===pathname||!!pathname.endsWith("/sitemap.xml")),[buildManifest,reactLoadableManifest,dynamicCssManifest,clientReferenceManifest,serverActionsManifest,subresourceIntegrityManifest]=await Promise.all([loadManifestWithRetries((0,external_path_.join)(distDir,"build-manifest.json"),manifestLoadAttempts),tryLoadManifestWithRetries(reactLoadableManifestPath,manifestLoadAttempts),isAppPath||0?void 0:loadManifestWithRetries((0,external_path_.join)(distDir,"dynamic-css-manifest.json"),manifestLoadAttempts).catch(()=>void 0),isAppPath&&hasClientManifest?loadClientReferenceManifestForPage(distDir,page,manifestLoadAttempts):void 0,isAppPath?loadManifestWithRetries((0,external_path_.join)(distDir,"server","server-reference-manifest.json"),manifestLoadAttempts).catch(()=>null):null,sriEnabled?loadManifestWithRetries((0,external_path_.join)(distDir,"server","subresource-integrity-manifest.json")).catch(()=>void 0):void 0]);serverActionsManifest&&clientReferenceManifest&&(0,manifests_singleton.setManifestsSingleton)({page,clientReferenceManifest,serverActionsManifest});let ComponentMod=await requirePage(page,distDir,isAppPath),Component=interopDefault(ComponentMod),Document=interopDefault(DocumentMod),App=interopDefault(AppMod),{getServerSideProps,getStaticProps,getStaticPaths,routeModule}=ComponentMod;return{App,Document,Component,buildManifest,subresourceIntegrityManifest,reactLoadableManifest:reactLoadableManifest||{},dynamicCssManifest,pageConfig:ComponentMod.config||{},ComponentMod,getServerSideProps,getStaticProps,getStaticPaths,isAppPath,page,routeModule}}{let ComponentMod=await requirePage(page,distDir,isAppPath),Component=interopDefault(ComponentMod),Document=interopDefault(DocumentMod),App=interopDefault(AppMod),{getServerSideProps,getStaticProps,getStaticPaths,routeModule}=ComponentMod;return{App,Document,Component,pageConfig:ComponentMod.config||{},ComponentMod,getServerSideProps,getStaticProps,getStaticPaths,isAppPath,page,routeModule}}}let loadComponents=(0,tracer_.getTracer)().wrap(constants.LoadComponentsSpan.loadComponents,loadComponentsImpl),external_http_namespaceObject=require("http"),external_https_namespaceObject=require("https");(_m=__webpack_require__("./dist/esm/server/app-render/stream-ops.node.js")).continueFizzStream,_m.continueStaticPrerender,_m.continueDynamicPrerender,_m.continueStaticFallbackPrerender,_m.continueDynamicHTMLResumeNode,_m.continueDynamicHTMLResumeWeb,_m.streamToBuffer,_m.chainStreams,_m.createDocumentClosingStream,_m.processPrelude,_m.createWebInlinedDataStream,_m.createNodeInlinedDataStream,_m.createPendingStream,_m.createOnHeadersCallback,_m.resumeAndAbort,_m.renderToWebFlightStream;let renderToNodeFlightStream=_m.renderToNodeFlightStream;_m.streamToString,_m.renderToWebFizzStream,_m.renderToNodeFizzStream,_m.resumeToFizzStream,_m.getServerPrerender,_m.getClientPrerender,_m.pipeRuntimePrefetchTransform,_m.teeStream;let extractNextErrorCode=error=>"object"==typeof error&&null!==error&&"__NEXT_ERROR_CODE"in error&&"string"==typeof error.__NEXT_ERROR_CODE?error.__NEXT_ERROR_CODE:"object"==typeof error&&null!==error&&"digest"in error&&"string"==typeof error.digest?error.digest.split("@").find(segment=>segment.startsWith("E")):void 0,filterStackFrame=__webpack_require__("./dist/esm/server/lib/source-maps.js").filterStackFrameDEV;async function serializeValidationErrorsToFlight(componentMod,errors){let errorCodes=new Map;for(let err of errors){let code=extractNextErrorCode(err);void 0!==code&&errorCodes.set(err,code)}let{clientModules}=(0,manifests_singleton.getClientReferenceManifest)(),stream=renderToNodeFlightStream(componentMod,{errors,errorCodes},clientModules,{filterStackFrame}),chunks=[];for await(let chunk of stream)chunks.push(chunk);return chunks}function formatValidationEvent(event){return"<VALIDATION_MESSAGE>"+JSON.stringify(event)+"</VALIDATION_MESSAGE>"}let realpathSync="win32"===process.platform?external_fs_default().realpathSync:external_fs_default().realpathSync.native,cacheInvalidationListeners=new Set;try{Error.stackTraceLimit=50}catch{}let isTestLoggingEnabled=!!(process.env.__NEXT_TEST_MODE&&process.env.NEXT_TEST_LOG_VALIDATION);async function applyTestValidationDelay(signal){let delayMs=Number(process.env.NEXT_TEST_DEV_VALIDATION_DELAY_MS);!Number.isFinite(delayMs)||delayMs<=0||signal.aborted||await new Promise(resolve=>{let finishDelay=()=>{clearTimeout(timeout),signal.removeEventListener("abort",finishDelay),resolve()},timeout=setTimeout(finishDelay,delayMs);signal.addEventListener("abort",finishDelay,{once:!0})})}async function registerAdditionalClientReferenceManifests(distDir,pages){if(0===pages.length)return;let serverActionsManifest=(0,manifests_singleton.getServerActionsManifest)();await Promise.all(pages.map(async page=>{let clientReferenceManifest=await loadClientReferenceManifestForPage(distDir,page);clientReferenceManifest&&(0,manifests_singleton.setManifestsSingleton)({page,clientReferenceManifest,serverActionsManifest})}))}async function applyHmrUpdate(update){if("function"!=typeof __turbopack_server_hmr_apply__)return"no-runtime";try{__turbopack_server_hmr_apply__(update)}catch{return"failed"}return"applied"}async function invalidateCaches(filePaths,evictModules){if(evictModules)return void function(filePaths){for(let filePath of filePaths)(0,load_manifest_external_js_namespaceObject.clearManifestCache)(filePath);for(let listener of(!function(filePaths){var _modules_m;let resolvedPaths=[],modsToDelete=new Set;for(let filePath of filePaths){try{filePath=realpathSync(filePath)}catch(e){if("object"==typeof e&&null!==e&&"name"in e&&"message"in e&&"ENOENT"!==e.code)throw e}let mod=__webpack_require__.c[filePath];mod&&(resolvedPaths.push(filePath),modsToDelete.add(mod))}if(0===modsToDelete.size)return;let modules=Object.values(__webpack_require__.c);for(let m=0;m<modules.length;m++){let children=null==(_modules_m=modules[m])?void 0:_modules_m.children;if(children&&children.length){let len=children.length;for(let i=0;i<len;i++)modsToDelete.has(children[i])&&(children[i]=children[--len],i--);children.length=len}}for(let mod of modsToDelete){let children=mod.children;for(let i=0;i<children.length;i++)children[i].parent===mod&&(children[i].parent=null)}for(let filePath of resolvedPaths)delete __webpack_require__.c[filePath]}(filePaths),cacheInvalidationListeners))try{listener(filePaths)}catch{}}(filePaths);for(let filePath of filePaths)(0,load_manifest_external_js_namespaceObject.clearManifestCache)(filePath)}async function runDevValidation(message,abortBuffer){await (0,install_bindings_js_namespaceObject.installBindings)(),function(){let{setCodeFrameRenderer}=__webpack_require__("./dist/esm/server/patch-error-inspect.js"),{getOriginalCodeFrame}=__webpack_require__("./dist/esm/next-devtools/server/shared.js");setCodeFrameRenderer(getOriginalCodeFrame)}(),(0,patch_error_inspect.setBundlerFindSourceMapImplementation)(function(distDir){let canonicalDistDir=distDir;try{canonicalDistDir=(0,external_fs_namespaceObject.realpathSync)(distDir)}catch{}let payloads=new Map;return function(sourceURL){let payload,chunkPath=sourceURL;if(chunkPath.startsWith("file://"))try{chunkPath=(0,external_url_.fileURLToPath)(chunkPath)}catch{return}if(!(0,external_path_.isAbsolute)(chunkPath))return;let cached=payloads.get(chunkPath);if(void 0!==cached||payloads.has(chunkPath))return cached;let relativePath=(0,external_path_.relative)(canonicalDistDir,chunkPath);if(!relativePath.startsWith("..")&&!(0,external_path_.isAbsolute)(relativePath))try{payload=JSON.parse((0,external_fs_namespaceObject.readFileSync)(chunkPath+".map","utf8"))}catch{payload=void 0}return payloads.set(chunkPath,payload),payload}}(message.distDir));var config={httpAgentOptions:message.nextConfigSerializable.httpAgentOptions};if(!globalThis.__NEXT_HTTP_AGENT){if(!config)throw Object.defineProperty(Error("Expected config.httpAgentOptions to be an object"),"__NEXT_ERROR_CODE",{value:"E204",enumerable:!1,configurable:!0});globalThis.__NEXT_HTTP_AGENT_OPTIONS=config.httpAgentOptions,globalThis.__NEXT_HTTP_AGENT=new external_http_namespaceObject.Agent(config.httpAgentOptions),globalThis.__NEXT_HTTPS_AGENT=new external_https_namespaceObject.Agent(config.httpAgentOptions)}let{ComponentMod}=await loadComponents({distDir:message.distDir,page:message.page,isAppPath:!0,isDev:!0,sriEnabled:!1,needsManifestsForLegacyReasons:!0});await registerAdditionalClientReferenceManifests(message.distDir,message.additionalClientReferenceManifestPages);let{signal,cleanup}=function(abortBuffer){let controller=new AbortController,flag=new Int32Array(abortBuffer);if(0!==Atomics.load(flag,0))return controller.abort(),{signal:controller.signal,cleanup:()=>{}};let settled=!1,wait=Atomics.waitAsync(flag,0,0);return wait.async?wait.value.then(()=>{settled||(settled=!0,0!==Atomics.load(flag,0)&&controller.abort())}):0!==Atomics.load(flag,0)&&controller.abort(),{signal:controller.signal,cleanup:()=>{settled||Atomics.notify(flag,0)}}}(abortBuffer);isTestLoggingEnabled&&console.log(formatValidationEvent({type:"validation_start",requestId:message.requestId,url:message.request.urlPathname+message.request.urlSearch,responseFinished:message.responseFinished}));try{if(isTestLoggingEnabled&&await applyTestValidationDelay(signal),signal.aborted)return null;let validationErrors=await ComponentMod.routeModule.runValidationInDev(ComponentMod,message,signal);if(void 0===validationErrors||signal.aborted)return null;let errors=[];for(let validationError of validationErrors)console.error(validationError),validationError instanceof Error&&errors.push(validationError);if(0===errors.length)return null;return await serializeValidationErrorsToFlight(ComponentMod,errors)}finally{cleanup(),isTestLoggingEnabled&&console.log(formatValidationEvent({type:signal.aborted?"validation_aborted":"validation_end",requestId:message.requestId,url:message.request.urlPathname+message.request.urlSearch}))}}},"./dist/esm/server/lib/lru-cache.js"(__unused_rspack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{LRUCache:()=>LRUCache});class LRUNode{constructor(key,data,size){this.prev=null,this.next=null,this.key=key,this.data=data,this.size=size}}class SentinelNode{constructor(){this.prev=null,this.next=null}}class LRUCache{constructor(maxSize,calculateSize,onEvict){this.cache=new Map,this.totalSize=0,this.maxSize=maxSize,this.calculateSize=calculateSize,this.onEvict=onEvict,this.head=new SentinelNode,this.tail=new SentinelNode,this.head.next=this.tail,this.tail.prev=this.head}addToHead(node){node.prev=this.head,node.next=this.head.next,this.head.next.prev=node,this.head.next=node}removeNode(node){node.prev.next=node.next,node.next.prev=node.prev}moveToHead(node){this.removeNode(node),this.addToHead(node)}removeTail(){let lastNode=this.tail.prev;return this.removeNode(lastNode),lastNode}set(key,value){let size=(null==this.calculateSize?void 0:this.calculateSize.call(this,value,key))??1;if(size<=0)throw Object.defineProperty(Error(`LRUCache: calculateSize returned ${size}, but size must be > 0. Items with size 0 would never be evicted, causing unbounded cache growth.`),"__NEXT_ERROR_CODE",{value:"E1045",enumerable:!1,configurable:!0});if(size>this.maxSize)return console.warn("Single item size exceeds maxSize"),!1;let existing=this.cache.get(key);if(existing)existing.data=value,this.totalSize=this.totalSize-existing.size+size,existing.size=size,this.moveToHead(existing);else{let newNode=new LRUNode(key,value,size);this.cache.set(key,newNode),this.addToHead(newNode),this.totalSize+=size}for(;this.totalSize>this.maxSize&&this.cache.size>0;){let tail=this.removeTail();this.cache.delete(tail.key),this.totalSize-=tail.size,null==this.onEvict||this.onEvict.call(this,tail.key,tail.data)}return!0}has(key){return this.cache.has(key)}get(key){let node=this.cache.get(key);if(node)return this.moveToHead(node),node.data}*[Symbol.iterator](){let current=this.head.next;for(;current&¤t!==this.tail;){let node=current;yield[node.key,node.data],current=current.next}}remove(key){let node=this.cache.get(key);node&&(this.removeNode(node),this.cache.delete(key),this.totalSize-=node.size)}get size(){return this.cache.size}get currentSize(){return this.totalSize}}},"./dist/esm/server/lib/source-maps.js"(__unused_rspack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{devirtualizeReactServerURL:()=>devirtualizeReactServerURL,filterStackFrameDEV:()=>filterStackFrameDEV,findApplicableSourceMapPayload:()=>findApplicableSourceMapPayload,findSourceMapPayload:()=>findSourceMapPayload,findSourceMapURLDEV:()=>findSourceMapURLDEV,ignoreListAnonymousStackFramesIfSandwiched:()=>ignoreListAnonymousStackFramesIfSandwiched,setBundlerFindSourceMapURLImplementation:()=>setBundlerFindSourceMapURLImplementation,sourceMapIgnoreListsEverything:()=>sourceMapIgnoreListsEverything});var _lru_cache__rspack_import_0=__webpack_require__("./dist/esm/server/lib/lru-cache.js");let findSourceMap=__webpack_require__("module").findSourceMap,sourceMapPayloads=new WeakMap;function findSourceMapPayload(sourceURL){let sourceMap=findSourceMap(sourceURL);if(void 0===sourceMap)return;let payload=sourceMapPayloads.get(sourceMap);return void 0===payload&&(payload=sourceMap.payload,sourceMapPayloads.set(sourceMap,payload)),payload}function sourceMapIgnoreListsEverything(sourceMap){return void 0!==sourceMap.ignoreList&&sourceMap.sources.length===sourceMap.ignoreList.length}function findApplicableSourceMapPayload(line0,column0,payload){if(!("sections"in payload))return payload;{if(0===payload.sections.length)return;let sections=payload.sections,left=0,right=sections.length-1,result=null;for(;left<=right;){let middle=~~((left+right)/2),section=sections[middle],offset=section.offset;offset.line<line0||offset.line===line0&&offset.column<=column0?(result=section,left=middle+1):right=middle-1}return null===result?void 0:result.map}}let didWarnAboutInvalidSourceMapDEV=new Set;function filterStackFrameDEV(sourceURL,functionName,line1,column1){if(""===sourceURL)return"new Promise"!==functionName;if(sourceURL.startsWith("node:")||sourceURL.includes("node_modules"))return!1;try{let payload=findSourceMapPayload(sourceURL);if(void 0===payload)return!0;let sourceMapPayload=findApplicableSourceMapPayload(line1-1,column1-1,payload);if(void 0===sourceMapPayload)return!0;return!sourceMapIgnoreListsEverything(sourceMapPayload)}catch(cause){return didWarnAboutInvalidSourceMapDEV.has(sourceURL)||(didWarnAboutInvalidSourceMapDEV.add(sourceURL),console.error(`${sourceURL}: Invalid source map. Only conformant source maps can be used to filter stack frames. Cause: ${cause}`)),!0}}let bundlerFindSourceMapURLSymbol=Symbol.for("next.server.bundlerFindSourceMapURL");function setBundlerFindSourceMapURLImplementation(findSourceMapURLImplementation){globalThis[bundlerFindSourceMapURLSymbol]=findSourceMapURLImplementation}let invalidSourceMap=Symbol("invalid-source-map"),sourceMapURLs=new _lru_cache__rspack_import_0.LRUCache(0x20000000,(url,sourceURL)=>sourceURL.length+(url===invalidSourceMap?8192:url.length));function findSourceMapURLDEV(scriptNameOrSourceURL){try{let implementation,bundlerSourceMapURL=(implementation=globalThis[bundlerFindSourceMapURLSymbol],void 0===implementation?null:implementation(scriptNameOrSourceURL));if(null!==bundlerSourceMapURL)return bundlerSourceMapURL}catch(cause){console.error(`${scriptNameOrSourceURL}: Failed to find the source map URL. Cause: ${cause}`)}let sourceMapURL=sourceMapURLs.get(scriptNameOrSourceURL);if(void 0===sourceMapURL){let sourceMapPayload;try{sourceMapPayload=findSourceMapPayload(scriptNameOrSourceURL)}catch(cause){console.error(`${scriptNameOrSourceURL}: Invalid source map. Only conformant source maps can be used to find the original code. Cause: ${cause}`)}if(void 0===sourceMapPayload)sourceMapURL=invalidSourceMap;else{let sourceMapJSON=JSON.stringify(sourceMapPayload),sourceMapURLData=Buffer.from(sourceMapJSON,"utf8").toString("base64");sourceMapURL=`data:application/json;base64,${sourceMapURLData}`}sourceMapURLs.set(scriptNameOrSourceURL,sourceMapURL)}return sourceMapURL===invalidSourceMap?null:sourceMapURL}function devirtualizeReactServerURL(sourceURL){if(sourceURL.startsWith("about://React/")){let envIdx=sourceURL.indexOf("/",14),suffixIdx=sourceURL.lastIndexOf("?");if(envIdx>-1&&suffixIdx>-1)return decodeURI(sourceURL.slice(envIdx+1,suffixIdx))}return sourceURL}function isAnonymousFrameLikelyJSNative(methodName){return methodName.startsWith("JSON.")||methodName.startsWith("Function.")||methodName.startsWith("Promise.")||methodName.startsWith("Array.")||methodName.startsWith("Set.")||methodName.startsWith("Map.")}function ignoreListAnonymousStackFramesIfSandwiched(frames,isAnonymousFrame,isIgnoredFrame,getMethodName,ignoreFrame){for(let i=1;i<frames.length;i++){let currentFrame=frames[i];if(isAnonymousFrame(currentFrame)&&isAnonymousFrameLikelyJSNative(getMethodName(currentFrame))&&isIgnoredFrame(frames[i-1])&&i<frames.length-1){let ignoreSandwich=!1,j=i+1;for(;j<frames.length;j++){let nextFrame=frames[j];if(!(isAnonymousFrame(nextFrame)&&isAnonymousFrameLikelyJSNative(getMethodName(nextFrame)))&&isIgnoredFrame(nextFrame)){ignoreSandwich=!0;break}}if(ignoreSandwich)for(;i<j;i++)ignoreFrame(frames[i])}}}},"./dist/esm/server/lib/trace/constants.js"(__unused_rspack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{AppRenderSpan:()=>AppRenderSpan1,AppRouteRouteHandlersSpan:()=>AppRouteRouteHandlersSpan1,BaseServerSpan:()=>BaseServerSpan1,LoadComponentsSpan:()=>LoadComponentsSpan1,LogSpanAllowList:()=>LogSpanAllowList,MiddlewareSpan:()=>MiddlewareSpan1,NextNodeServerSpan:()=>NextNodeServerSpan1,NextServerSpan:()=>NextServerSpan1,NextVanillaSpanAllowlist:()=>NextVanillaSpanAllowlist,NodeSpan:()=>NodeSpan1,RenderSpan:()=>RenderSpan1,ResolveMetadataSpan:()=>ResolveMetadataSpan1,RouterSpan:()=>RouterSpan1,StartServerSpan:()=>StartServerSpan1});var BaseServerSpan,LoadComponentsSpan,NextServerSpan,NextNodeServerSpan,StartServerSpan,RenderSpan,AppRenderSpan,RouterSpan,NodeSpan,AppRouteRouteHandlersSpan,ResolveMetadataSpan,MiddlewareSpan,BaseServerSpan1=((BaseServerSpan=BaseServerSpan1||{}).handleRequest="BaseServer.handleRequest",BaseServerSpan.run="BaseServer.run",BaseServerSpan.pipe="BaseServer.pipe",BaseServerSpan.getStaticHTML="BaseServer.getStaticHTML",BaseServerSpan.render="BaseServer.render",BaseServerSpan.renderToResponseWithComponents="BaseServer.renderToResponseWithComponents",BaseServerSpan.renderToResponse="BaseServer.renderToResponse",BaseServerSpan.renderToHTML="BaseServer.renderToHTML",BaseServerSpan.renderError="BaseServer.renderError",BaseServerSpan.renderErrorToResponse="BaseServer.renderErrorToResponse",BaseServerSpan.renderErrorToHTML="BaseServer.renderErrorToHTML",BaseServerSpan.render404="BaseServer.render404",BaseServerSpan),LoadComponentsSpan1=((LoadComponentsSpan=LoadComponentsSpan1||{}).loadDefaultErrorComponents="LoadComponents.loadDefaultErrorComponents",LoadComponentsSpan.loadComponents="LoadComponents.loadComponents",LoadComponentsSpan),NextServerSpan1=((NextServerSpan=NextServerSpan1||{}).getRequestHandler="NextServer.getRequestHandler",NextServerSpan.getRequestHandlerWithMetadata="NextServer.getRequestHandlerWithMetadata",NextServerSpan.getServer="NextServer.getServer",NextServerSpan.getServerRequestHandler="NextServer.getServerRequestHandler",NextServerSpan.createServer="createServer.createServer",NextServerSpan),NextNodeServerSpan1=((NextNodeServerSpan=NextNodeServerSpan1||{}).compression="NextNodeServer.compression",NextNodeServerSpan.getBuildId="NextNodeServer.getBuildId",NextNodeServerSpan.createComponentTree="NextNodeServer.createComponentTree",NextNodeServerSpan.clientComponentLoading="NextNodeServer.clientComponentLoading",NextNodeServerSpan.getLayoutOrPageModule="NextNodeServer.getLayoutOrPageModule",NextNodeServerSpan.generateStaticRoutes="NextNodeServer.generateStaticRoutes",NextNodeServerSpan.generateFsStaticRoutes="NextNodeServer.generateFsStaticRoutes",NextNodeServerSpan.generatePublicRoutes="NextNodeServer.generatePublicRoutes",NextNodeServerSpan.generateImageRoutes="NextNodeServer.generateImageRoutes.route",NextNodeServerSpan.sendRenderResult="NextNodeServer.sendRenderResult",NextNodeServerSpan.proxyRequest="NextNodeServer.proxyRequest",NextNodeServerSpan.runApi="NextNodeServer.runApi",NextNodeServerSpan.render="NextNodeServer.render",NextNodeServerSpan.renderHTML="NextNodeServer.renderHTML",NextNodeServerSpan.imageOptimizer="NextNodeServer.imageOptimizer",NextNodeServerSpan.getPagePath="NextNodeServer.getPagePath",NextNodeServerSpan.getRoutesManifest="NextNodeServer.getRoutesManifest",NextNodeServerSpan.findPageComponents="NextNodeServer.findPageComponents",NextNodeServerSpan.getFontManifest="NextNodeServer.getFontManifest",NextNodeServerSpan.getServerComponentManifest="NextNodeServer.getServerComponentManifest",NextNodeServerSpan.getRequestHandler="NextNodeServer.getRequestHandler",NextNodeServerSpan.renderToHTML="NextNodeServer.renderToHTML",NextNodeServerSpan.renderError="NextNodeServer.renderError",NextNodeServerSpan.renderErrorToHTML="NextNodeServer.renderErrorToHTML",NextNodeServerSpan.render404="NextNodeServer.render404",NextNodeServerSpan.startResponse="NextNodeServer.startResponse",NextNodeServerSpan.route="route",NextNodeServerSpan.onProxyReq="onProxyReq",NextNodeServerSpan.apiResolver="apiResolver",NextNodeServerSpan.internalFetch="internalFetch",NextNodeServerSpan),StartServerSpan1=((StartServerSpan=StartServerSpan1||{}).startServer="startServer.startServer",StartServerSpan),RenderSpan1=((RenderSpan=RenderSpan1||{}).getServerSideProps="Render.getServerSideProps",RenderSpan.getStaticProps="Render.getStaticProps",RenderSpan.renderToString="Render.renderToString",RenderSpan.renderDocument="Render.renderDocument",RenderSpan.createBodyResult="Render.createBodyResult",RenderSpan),AppRenderSpan1=((AppRenderSpan=AppRenderSpan1||{}).renderToString="AppRender.renderToString",AppRenderSpan.renderToReadableStream="AppRender.renderToReadableStream",AppRenderSpan.getBodyResult="AppRender.getBodyResult",AppRenderSpan.fetch="AppRender.fetch",AppRenderSpan.waitShellReady="AppRender.waitShellReady",AppRenderSpan.renderToNodeFizzStream="AppRender.renderToNodeFizzStream",AppRenderSpan.instantInsights="AppRender.instantInsights",AppRenderSpan.instantInsightsPrepareValidation="AppRender.instantInsights.prepareValidation",AppRenderSpan.instantInsightsRunValidation="AppRender.instantInsights.runValidation",AppRenderSpan),RouterSpan1=((RouterSpan=RouterSpan1||{}).executeRoute="Router.executeRoute",RouterSpan),NodeSpan1=((NodeSpan=NodeSpan1||{}).runHandler="Node.runHandler",NodeSpan),AppRouteRouteHandlersSpan1=((AppRouteRouteHandlersSpan=AppRouteRouteHandlersSpan1||{}).runHandler="AppRouteRouteHandlers.runHandler",AppRouteRouteHandlersSpan),ResolveMetadataSpan1=((ResolveMetadataSpan=ResolveMetadataSpan1||{}).generateMetadata="ResolveMetadata.generateMetadata",ResolveMetadataSpan.generateViewport="ResolveMetadata.generateViewport",ResolveMetadataSpan),MiddlewareSpan1=((MiddlewareSpan=MiddlewareSpan1||{}).execute="Middleware.execute",MiddlewareSpan);let NextVanillaSpanAllowlist=new Set(["Middleware.execute","BaseServer.handleRequest","Render.getServerSideProps","Render.getStaticProps","AppRender.fetch","AppRender.getBodyResult","Render.renderDocument","Node.runHandler","AppRouteRouteHandlers.runHandler","ResolveMetadata.generateMetadata","ResolveMetadata.generateViewport","NextNodeServer.createComponentTree","NextNodeServer.findPageComponents","NextNodeServer.getLayoutOrPageModule","NextNodeServer.startResponse","NextNodeServer.clientComponentLoading"]),LogSpanAllowList=new Set(["NextNodeServer.findPageComponents","NextNodeServer.createComponentTree","NextNodeServer.clientComponentLoading"])},"./dist/esm/server/node-environment-baseline.js"(__unused_rspack_module,__unused_rspack_exports,__webpack_require__){if("function"!=typeof globalThis.AsyncLocalStorage){let{AsyncLocalStorage}=__webpack_require__("async_hooks");globalThis.AsyncLocalStorage=AsyncLocalStorage}"function"!=typeof globalThis.WebSocket&&Object.defineProperty(globalThis,"WebSocket",{configurable:!0,get:()=>__webpack_require__("next/dist/compiled/ws").WebSocket,set(value){Object.defineProperty(globalThis,"WebSocket",{configurable:!0,writable:!0,value})}})},"./dist/esm/server/patch-error-inspect.js"(__unused_rspack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{setCodeFrameRenderer:()=>setCodeFrameRenderer,setBundlerFindSourceMapImplementation:()=>setBundlerFindSourceMapImplementation,patchErrorInspectNodeJS:()=>patchErrorInspectNodeJS,patchErrorInspectEdgeLite:()=>patchErrorInspectEdgeLite});var _globalThis,external_path_=__webpack_require__("path"),external_url_=__webpack_require__("url");let source_map_namespaceObject=require("next/dist/compiled/source-map");var source_maps=__webpack_require__("./dist/esm/server/lib/source-maps.js");let stacktrace_parser_namespaceObject=require("next/dist/compiled/stacktrace-parser"),regexNextStatic=/\/_next(\/static\/.+)/;var work_unit_async_storage_external_js_=__webpack_require__("../app-render/work-unit-async-storage.external");let{env,stdout}=(null==(_globalThis=globalThis)?void 0:_globalThis.process)??{},enabled=env&&!env.NO_COLOR&&(env.FORCE_COLOR||(null==stdout?void 0:stdout.isTTY)&&!env.CI&&"dumb"!==env.TERM),replaceClose=(str,close,replace,index)=>{let start=str.substring(0,index)+replace,end=str.substring(index+close.length),nextIndex=end.indexOf(close);return~nextIndex?start+replaceClose(end,close,replace,nextIndex):start+end},formatter=(open,close,replace=open)=>enabled?input=>{let string=""+input,index=string.indexOf(close,open.length);return~index?open+replaceClose(string,close,replace,index)+close:open+string+close}:String;formatter("\x1b[1m","\x1b[22m","\x1b[22m\x1b[1m");let dim=formatter("\x1b[2m","\x1b[22m","\x1b[22m\x1b[2m"),italic=formatter("\x1b[3m","\x1b[23m");formatter("\x1b[4m","\x1b[24m"),formatter("\x1b[7m","\x1b[27m"),formatter("\x1b[8m","\x1b[28m"),formatter("\x1b[9m","\x1b[29m"),formatter("\x1b[30m","\x1b[39m"),formatter("\x1b[31m","\x1b[39m"),formatter("\x1b[32m","\x1b[39m"),formatter("\x1b[33m","\x1b[39m"),formatter("\x1b[34m","\x1b[39m"),formatter("\x1b[35m","\x1b[39m"),formatter("\x1b[38;2;173;127;168m","\x1b[39m"),formatter("\x1b[36m","\x1b[39m"),formatter("\x1b[37m","\x1b[39m"),formatter("\x1b[90m","\x1b[39m"),formatter("\x1b[40m","\x1b[49m"),formatter("\x1b[41m","\x1b[49m"),formatter("\x1b[42m","\x1b[49m"),formatter("\x1b[43m","\x1b[49m"),formatter("\x1b[44m","\x1b[49m"),formatter("\x1b[45m","\x1b[49m"),formatter("\x1b[46m","\x1b[49m"),formatter("\x1b[47m","\x1b[49m");let BUNDLER_FIND_SOURCE_MAP=Symbol.for("next.dev.bundlerFindSourceMap");function setBundlerFindSourceMapImplementation(findSourceMapImplementation){globalThis[BUNDLER_FIND_SOURCE_MAP]=findSourceMapImplementation}let CODE_FRAME_RENDERER=Symbol.for("next.dev.codeFrameRenderer");function setCodeFrameRenderer(renderer){globalThis[CODE_FRAME_RENDERER]=renderer}let sourceMapConsumers=new WeakMap;function frameToString(methodName,sourceURL,line1,column1){let fileLocation,sourceLocation=null!==line1?`:${line1}`:"";return null!==column1&&""!==sourceLocation&&(sourceLocation+=`:${column1}`),fileLocation=null!==sourceURL&&sourceURL.startsWith("file://")&&URL.canParse(sourceURL)?external_path_.relative(process.cwd(),external_url_.fileURLToPath(sourceURL)):null!==sourceURL&&sourceURL.startsWith("/")?external_path_.relative(process.cwd(),sourceURL):sourceURL,methodName?` at ${methodName} (${fileLocation}${sourceLocation})`:` at ${fileLocation}${sourceLocation}`}function computeErrorName(error){return error.name||"Error"}function prepareUnsourcemappedStackTrace(error,structuredStackTrace){let stack=computeErrorName(error)+": "+(error.message||"");for(let i=0;i<structuredStackTrace.length;i++)stack+="\n at "+structuredStackTrace[i].toString();return stack}function shouldIgnoreListGeneratedFrame(file){return file.startsWith("node:")||file.includes("node_modules")}function createUnsourcemappedFrame(frame){return{stack:{file:frame.file,line1:frame.line1,column1:frame.column1,methodName:frame.methodName,arguments:frame.arguments,ignored:shouldIgnoreListGeneratedFrame(frame.file)},code:null}}function sourceMapError(error,inspectOptions){let options=void 0!==error.cause?{cause:error.cause}:void 0,newError=error instanceof AggregateError?Object.defineProperty(AggregateError(error.errors,error.message,options),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0}):Object.defineProperty(Error(error.message,options),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});for(let key in newError.stack=function(error,inspectOptions){var sourceMappedFrames;let showIgnoreListed="true"===process.env.__NEXT_SHOW_IGNORE_LISTED,unparsedStack=String(error.stack),errorName=computeErrorName(error),idx=unparsedStack.indexOf("react_stack_bottom_frame");-1!==idx?idx=unparsedStack.lastIndexOf("\n",idx):-1!==(idx=unparsedStack.indexOf("react-stack-bottom-frame"))&&(idx=unparsedStack.lastIndexOf("\n",idx)),-1===idx||showIgnoreListed||(unparsedStack=unparsedStack.slice(0,idx));let unsourcemappedStack=function(stack,distDir=process.env.__NEXT_DIST_DIR){return stack?(stack=stack.split("\n").map(line=>(line.includes("(eval ")&&(line=line.replace(/eval code/g,"eval").replace(/\(eval at [^()]* \(/,"(file://").replace(/\),.*$/g,")")),line)).join("\n"),(0,stacktrace_parser_namespaceObject.parse)(stack).map(frame=>{try{let url=new URL(frame.file),res=regexNextStatic.exec(url.pathname);if(res){var _distDir_replace;let effectiveDistDir=null==distDir?void 0:null==(_distDir_replace=distDir.replace(/\\/g,"/"))?void 0:_distDir_replace.replace(/\/$/,"");effectiveDistDir&&(frame.file="file://"+effectiveDistDir.concat(res.pop())+url.search)}}catch{}return{file:frame.file,line1:frame.lineNumber,column1:frame.column,methodName:frame.methodName,arguments:frame.arguments}})):[]}(unparsedStack),sourceMapCache=new Map,sourceMappedFrames1=[],sourceFrame=null;for(let frame of unsourcemappedStack)if(null===frame.file)sourceMappedFrames1.push({code:null,stack:{file:frame.file,line1:frame.line1,column1:frame.column1,methodName:frame.methodName,arguments:frame.arguments,ignored:!1}});else{let sourcemappedFrame=function(frame,sourceMapCache,inspectOptions){var _frame_methodName_replace,_frame_methodName,_applicableSourceMap_ignoreList,sourceURL,_globalThis_BUNDLER_FIND_SOURCE_MAP;let sourceMapConsumer,sourceMapPayload,codeFrame,sourceMapCacheEntry=sourceMapCache.get(frame.file);if(void 0===sourceMapCacheEntry){let maybeSourceMapPayload,sourceURL1=(0,source_maps.devirtualizeReactServerURL)(frame.file);external_path_.isAbsolute(sourceURL1)&&(sourceURL1=external_url_.pathToFileURL(sourceURL1).toString());try{maybeSourceMapPayload=(0,source_maps.findSourceMapPayload)(sourceURL1),void 0===maybeSourceMapPayload&&sourceURL1.startsWith("file://")&&(maybeSourceMapPayload=(0,source_maps.findSourceMapPayload)(external_url_.fileURLToPath(sourceURL1)))}catch(cause){return console.error(`${sourceURL1}: Invalid source map. Only conformant source maps can be used to find the original code. Cause: ${cause}`),sourceMapCache.set(frame.file,null),createUnsourcemappedFrame(frame)}if(void 0===maybeSourceMapPayload&&(sourceURL=sourceURL1,maybeSourceMapPayload=null==(_globalThis_BUNDLER_FIND_SOURCE_MAP=globalThis[BUNDLER_FIND_SOURCE_MAP])?void 0:_globalThis_BUNDLER_FIND_SOURCE_MAP.call(globalThis,sourceURL)),void 0===maybeSourceMapPayload)return createUnsourcemappedFrame(frame);sourceMapPayload=maybeSourceMapPayload;try{let sourceMapURL=sourceURL1+".map";sourceMapConsumer=function(payload,sourceMapURL){let consumersByURL=sourceMapConsumers.get(payload),consumer=null==consumersByURL?void 0:consumersByURL.get(sourceMapURL);void 0===consumer&&(consumer=new source_map_namespaceObject.SourceMapConsumer(payload,sourceMapURL),void 0===consumersByURL&&(consumersByURL=new Map,sourceMapConsumers.set(payload,consumersByURL)),consumersByURL.set(sourceMapURL,consumer));return consumer}(sourceMapPayload,sourceMapURL)}catch(cause){return console.error(`${sourceURL1}: Invalid source map. Only conformant source maps can be used to find the original code. Cause: ${cause}`),sourceMapCache.set(frame.file,null),createUnsourcemappedFrame(frame)}sourceMapCache.set(frame.file,{map:sourceMapConsumer,payload:sourceMapPayload})}else{if(null===sourceMapCacheEntry)return createUnsourcemappedFrame(frame);sourceMapConsumer=sourceMapCacheEntry.map,sourceMapPayload=sourceMapCacheEntry.payload}let sourcePosition=sourceMapConsumer.originalPositionFor({column:(frame.column1??1)-1,line:frame.line1??1}),applicableSourceMap=(0,source_maps.findApplicableSourceMapPayload)((frame.line1??1)-1,(frame.column1??1)-1,sourceMapPayload),ignored=void 0!==applicableSourceMap&&(0,source_maps.sourceMapIgnoreListsEverything)(applicableSourceMap);if(null===sourcePosition.source)return{stack:{arguments:frame.arguments,file:frame.file,line1:frame.line1,column1:frame.column1,methodName:frame.methodName,ignored:ignored||shouldIgnoreListGeneratedFrame(frame.file)},code:null};if(void 0===applicableSourceMap)console.error("No applicable source map found in sections for frame",frame);else if(!ignored&&sourcePosition.source.includes("node_modules"))ignored=!0;else if(!ignored){let sourceIndex=applicableSourceMap.sources.indexOf(sourcePosition.source);ignored=(null==(_applicableSourceMap_ignoreList=applicableSourceMap.ignoreList)?void 0:_applicableSourceMap_ignoreList.includes(sourceIndex))??!1}let originalFrame={methodName:null==(_frame_methodName=frame.methodName)?void 0:null==(_frame_methodName_replace=_frame_methodName.replace("__WEBPACK_DEFAULT_EXPORT__","default"))?void 0:_frame_methodName_replace.replace("__webpack_exports__.",""),file:sourcePosition.source,line1:sourcePosition.line,column1:sourcePosition.column+1,arguments:[],ignored};return{stack:originalFrame,get code(){return void 0===codeFrame&&(codeFrame=function(frame,source,colors=process.stdout.isTTY){let codeFrameRenderer=globalThis[CODE_FRAME_RENDERER];return codeFrameRenderer?codeFrameRenderer(frame,source,colors):null}(originalFrame,sourceMapConsumer.sourceContentFor(sourcePosition.source,!0)??null,inspectOptions.colors)),codeFrame}}}(frame,sourceMapCache,inspectOptions);sourceMappedFrames1.push(sourcemappedFrame),null!==sourceFrame||sourcemappedFrame.stack.ignored||null===sourcemappedFrame.code||(sourceFrame=sourcemappedFrame.code)}sourceMappedFrames=sourceMappedFrames1,(0,source_maps.ignoreListAnonymousStackFramesIfSandwiched)(sourceMappedFrames,frame=>"<anonymous>"===frame.stack.file,frame=>frame.stack.ignored,frame=>frame.stack.methodName,frame=>{frame.stack.ignored=!0});let sourceMappedStack="";for(let i=0;i<sourceMappedFrames1.length;i++){let frame=sourceMappedFrames1[i];frame.stack.ignored?showIgnoreListed&&(sourceMappedStack+="\n"+dim(frameToString(frame.stack.methodName,frame.stack.file,frame.stack.line1,frame.stack.column1))):sourceMappedStack+="\n"+frameToString(frame.stack.methodName,frame.stack.file,frame.stack.line1,frame.stack.column1)}return""===sourceMappedStack&&sourceMappedFrames1.length>0&&(sourceMappedStack="\n at "+italic("ignore-listed frames")),errorName+": "+error.message+sourceMappedStack+(null!==sourceFrame?"\n"+sourceFrame:"")}(error,inspectOptions),error)Object.prototype.hasOwnProperty.call(newError,key)||(newError[key]=error[key]);return newError}function patchErrorInspectNodeJS(errorConstructor){let inspectSymbol=Symbol.for("nodejs.util.inspect.custom");errorConstructor.prepareStackTrace=prepareUnsourcemappedStackTrace,errorConstructor.prototype[inspectSymbol]=function(depth,inspectOptions,inspect){return work_unit_async_storage_external_js_.workUnitAsyncStorage.exit(()=>{let newError=sourceMapError(this,inspectOptions),originalCustomInspect=newError[inspectSymbol];Object.defineProperty(newError,inspectSymbol,{value:void 0,enumerable:!1,writable:!0});try{return inspect(newError,{...inspectOptions,depth})}finally{newError[inspectSymbol]=originalCustomInspect}})}}function patchErrorInspectEdgeLite(errorConstructor){let inspectSymbol=Symbol.for("edge-runtime.inspect.custom");errorConstructor.prepareStackTrace=prepareUnsourcemappedStackTrace,errorConstructor.prototype[inspectSymbol]=function({format}){return work_unit_async_storage_external_js_.workUnitAsyncStorage.exit(()=>{let newError=sourceMapError(this,{}),originalCustomInspect=newError[inspectSymbol];Object.defineProperty(newError,inspectSymbol,{value:void 0,enumerable:!1,writable:!0});try{return format(newError)}finally{newError[inspectSymbol]=originalCustomInspect}})}}},"./dist/esm/shared/lib/invariant-error.js"(__unused_rspack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{InvariantError:()=>InvariantError});class InvariantError extends Error{constructor(message,options){super(`Invariant: ${message.endsWith(".")?message:message+"."} This is a bug in Next.js.`,options),Object.defineProperty(this,"__NEXT_ERROR_CODE",{value:"E1179",enumerable:!1,configurable:!0}),this.name="InvariantError"}}},"./dist/esm/shared/lib/modern-browserslist-target.js"(module1){module1.exports=["chrome 111","edge 111","firefox 111","safari 16.4"]},"./dist/esm/shared/lib/page-path/ensure-leading-slash.js"(__unused_rspack_module,__webpack_exports__,__webpack_require__){"use strict";function ensureLeadingSlash(path){return path.startsWith("/")?path:`/${path}`}__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{ensureLeadingSlash:()=>ensureLeadingSlash})},"./dist/esm/shared/lib/router/utils/app-paths.js"(__unused_rspack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{normalizeAppPath:()=>normalizeAppPath,compareAppPaths:()=>compareAppPaths,normalizeRscURL:()=>normalizeRscURL});var ensure_leading_slash=__webpack_require__("./dist/esm/shared/lib/page-path/ensure-leading-slash.js");function normalizeAppPath(route){return(0,ensure_leading_slash.ensureLeadingSlash)(route.split("/").reduce((pathname,segment,index,segments)=>segment?"("===segment[0]&&segment.endsWith(")")?pathname:"@"===segment[0]?pathname:("page"===segment||"route"===segment)&&index===segments.length-1?pathname:`${pathname}/${segment}`:pathname,""))}function compareAppPaths(a,b){let aHasSlot=a.includes("/@"),bHasSlot=b.includes("/@");return aHasSlot&&!bHasSlot?-1:!aHasSlot&&bHasSlot?1:a.localeCompare(b)}function normalizeRscURL(url){return url.replace(/\.rsc($|\?)/,"$1")}},"../app-render/work-async-storage.external"(module1){"use strict";module1.exports=require("next/dist/server/app-render/work-async-storage.external.js")},"../app-render/work-unit-async-storage.external"(module1){"use strict";module1.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},"./lib/trace/tracer"(module1){"use strict";module1.exports=require("next/dist/server/lib/trace/tracer")},"next/dist/compiled/ws"(module1){"use strict";module1.exports=require("next/dist/compiled/ws")},async_hooks(module1){"use strict";module1.exports=require("async_hooks")},crypto(module1){"use strict";module1.exports=require("crypto")},module(module1){"use strict";module1.exports=require("module")},"node:crypto"(module1){"use strict";module1.exports=require("node:crypto")},"node:stream"(module1){"use strict";module1.exports=require("node:stream")},path(module1){"use strict";module1.exports=require("path")},stream(module1){"use strict";module1.exports=require("stream")},url(module1){"use strict";module1.exports=require("url")},util(module1){"use strict";module1.exports=require("util")}},__webpack_module_cache__={};function __webpack_require__(moduleId){var cachedModule=__webpack_module_cache__[moduleId];if(void 0!==cachedModule)return cachedModule.exports;var module1=__webpack_module_cache__[moduleId]={id:moduleId,loaded:!1,exports:{}};return __webpack_modules__[moduleId](module1,module1.exports,__webpack_require__),module1.loaded=!0,module1.exports}__webpack_require__.c=__webpack_module_cache__,__webpack_require__.n=module1=>{var getter=module1&&module1.__esModule?()=>module1.default:()=>module1;return __webpack_require__.d(getter,{a:getter}),getter},__webpack_require__.d=(exports,definition)=>{for(var key in definition)__webpack_require__.o(definition,key)&&!__webpack_require__.o(exports,key)&&Object.defineProperty(exports,key,{enumerable:!0,get:definition[key]})},__webpack_require__.e=()=>Promise.resolve(),__webpack_require__.o=(obj,prop)=>Object.prototype.hasOwnProperty.call(obj,prop),__webpack_require__.r=exports=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports,"__esModule",{value:!0})},__webpack_require__.nmd=module1=>(module1.paths=[],module1.children||(module1.children=[]),module1);var __webpack_exports__=__webpack_require__("./dist/esm/server/dev/dev-validation-worker.js");module.exports=__webpack_exports__})();
//# sourceMappingURL=dev-validation-worker.runtime.dev.js.map