UNPKG

next

Version:

The React Framework

1 lines • 618 kB
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,88909,(__turbopack_context__,module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"getAssetPrefix",{enumerable:!0,get:function(){return getAssetPrefix}});let _invarianterror=__turbopack_context__.r(21820);function getAssetPrefix(){let currentScript=document.currentScript;if(!(currentScript instanceof HTMLScriptElement))throw Object.defineProperty(new _invarianterror.InvariantError(`Expected document.currentScript to be a <script> element. Received ${currentScript} instead.`),"__NEXT_ERROR_CODE",{value:"E783",enumerable:!1,configurable:!0});let{pathname}=new URL(currentScript.src),nextIndex=pathname.indexOf("/_next/");if(-1===nextIndex)throw Object.defineProperty(new _invarianterror.InvariantError(`Expected document.currentScript src to contain '/_next/'. Received ${currentScript.src} instead.`),"__NEXT_ERROR_CODE",{value:"E784",enumerable:!1,configurable:!0});return pathname.slice(0,nextIndex)}("function"==typeof exports.default||"object"==typeof exports.default&&null!==exports.default)&&void 0===exports.default.__esModule&&(Object.defineProperty(exports.default,"__esModule",{value:!0}),Object.assign(exports.default,exports),module.exports=exports.default)},89693,(__turbopack_context__,module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"setAttributesFromProps",{enumerable:!0,get:function(){return setAttributesFromProps}});let DOMAttributeNames={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},ignoreProps=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function isBooleanScriptAttribute(attr){return["async","defer","noModule"].includes(attr)}function setAttributesFromProps(el,props){for(let[p,value]of Object.entries(props)){if(!props.hasOwnProperty(p)||ignoreProps.includes(p)||void 0===value)continue;let attr=DOMAttributeNames[p]||p.toLowerCase();"SCRIPT"===el.tagName&&isBooleanScriptAttribute(attr)?el[attr]=!!value:el.setAttribute(attr,String(value)),(!1===value||"SCRIPT"===el.tagName&&isBooleanScriptAttribute(attr)&&(!value||"false"===value))&&(el.setAttribute(attr,""),el.removeAttribute(attr))}}("function"==typeof exports.default||"object"==typeof exports.default&&null!==exports.default)&&void 0===exports.default.__esModule&&(Object.defineProperty(exports.default,"__esModule",{value:!0}),Object.assign(exports.default,exports),module.exports=exports.default)},21747,(__turbopack_context__,module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"appBootstrap",{enumerable:!0,get:function(){return appBootstrap}});let _assetprefix=__turbopack_context__.r(88909),_setattributesfromprops=__turbopack_context__.r(89693);function loadScriptsInSequence(scripts,hydrate){return scripts&&scripts.length?scripts.reduce((promise,[src,props])=>promise.then(()=>new Promise((resolve,reject)=>{let el=document.createElement("script");props&&(0,_setattributesfromprops.setAttributesFromProps)(el,props),src?(el.src=src,el.onload=()=>resolve(),el.onerror=reject):props&&(el.innerHTML=props.children,setTimeout(resolve)),document.head.appendChild(el)})),Promise.resolve()).catch(err=>{console.error(err)}).then(()=>{hydrate()}):hydrate()}function appBootstrap(hydrate){let assetPrefix=(0,_assetprefix.getAssetPrefix)();loadScriptsInSequence(self.__next_s,()=>{hydrate(assetPrefix)})}window.next={version:"16.0.8",appDir:!0},("function"==typeof exports.default||"object"==typeof exports.default&&null!==exports.default)&&void 0===exports.default.__esModule&&(Object.defineProperty(exports.default,"__esModule",{value:!0}),Object.assign(exports.default,exports),module.exports=exports.default)},47293,(__turbopack_context__,module,exports)=>{"use strict";function getObjectClassLabel(value){return Object.prototype.toString.call(value)}function isPlainObject(value){if("[object Object]"!==getObjectClassLabel(value))return!1;let prototype=Object.getPrototypeOf(value);return null===prototype||prototype.hasOwnProperty("isPrototypeOf")}Object.defineProperty(exports,"__esModule",{value:!0}),function _export(target,all){for(var name in all)Object.defineProperty(target,name,{enumerable:!0,get:all[name]})}(exports,{getObjectClassLabel:function(){return getObjectClassLabel},isPlainObject:function(){return isPlainObject}})},16922,(__turbopack_context__,module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),function _export(target,all){for(var name in all)Object.defineProperty(target,name,{enumerable:!0,get:all[name]})}(exports,{default:function(){return isError},getProperError:function(){return getProperError}});let _isplainobject=__turbopack_context__.r(47293);function safeStringifyLite(obj){let seen=new WeakSet;return JSON.stringify(obj,(_key,value)=>{if("object"==typeof value&&null!==value){if(seen.has(value))return"[Circular]";seen.add(value)}return value})}function isError(err){return"object"==typeof err&&null!==err&&"name"in err&&"message"in err}function getProperError(err){return isError(err)?err:Object.defineProperty(Error((0,_isplainobject.isPlainObject)(err)?safeStringifyLite(err):err+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}},79598,(__turbopack_context__,module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"reportGlobalError",{enumerable:!0,get:function(){return reportGlobalError}});let reportGlobalError="function"==typeof reportError?reportError:error=>{globalThis.console.error(error)};("function"==typeof exports.default||"object"==typeof exports.default&&null!==exports.default)&&void 0===exports.default.__esModule&&(Object.defineProperty(exports.default,"__esModule",{value:!0}),Object.assign(exports.default,exports),module.exports=exports.default)},54840,(__turbopack_context__,module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),function _export(target,all){for(var name in all)Object.defineProperty(target,name,{enumerable:!0,get:all[name]})}(exports,{isRecoverableError:function(){return isRecoverableError},onRecoverableError:function(){return onRecoverableError}});let _interop_require_default=__turbopack_context__.r(81258),_bailouttocsr=__turbopack_context__.r(79457),_iserror=_interop_require_default._(__turbopack_context__.r(16922)),_reportglobalerror=__turbopack_context__.r(79598),recoverableErrors=new WeakSet;function isRecoverableError(error){return recoverableErrors.has(error)}let onRecoverableError=error=>{let cause=(0,_iserror.default)(error)&&"cause"in error?error.cause:error;(0,_bailouttocsr.isBailoutToCSRError)(cause)||(0,_reportglobalerror.reportGlobalError)(cause)};("function"==typeof exports.default||"object"==typeof exports.default&&null!==exports.default)&&void 0===exports.default.__esModule&&(Object.defineProperty(exports.default,"__esModule",{value:!0}),Object.assign(exports.default,exports),module.exports=exports.default)},94030,(__turbopack_context__,module,exports)=>{"use strict";module.exports={}},34296,(__turbopack_context__,module,exports)=>{"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var t=/\((.*)\)/.exec(this.toString());return t?t[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(t,r){return r=this.concat.apply([],this),t>1&&r.some(Array.isArray)?r.flat(t-1):r},Array.prototype.flatMap=function(t,r){return this.map(t,r).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(t){if("function"!=typeof t)return this.then(t,t);var r=this.constructor||Promise;return this.then(function(n){return r.resolve(t()).then(function(){return n})},function(n){return r.resolve(t()).then(function(){throw n})})}),Object.fromEntries||(Object.fromEntries=function(t){return Array.from(t).reduce(function(t,r){return t[r[0]]=r[1],t},{})}),Array.prototype.at||(Array.prototype.at=function(t){var r=Math.trunc(t)||0;if(r<0&&(r+=this.length),!(r<0||r>=this.length))return this[r]}),Object.hasOwn||(Object.hasOwn=function(t,r){if(null==t)throw TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),r)}),"canParse"in URL||(URL.canParse=function(t,r){try{return new URL(t,r),!0}catch(t){return!1}})},29353,(__turbopack_context__,module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),__turbopack_context__.r(34296),("function"==typeof exports.default||"object"==typeof exports.default&&null!==exports.default)&&void 0===exports.default.__esModule&&(Object.defineProperty(exports.default,"__esModule",{value:!0}),Object.assign(exports.default,exports),module.exports=exports.default)},67009,(__turbopack_context__,module,exports)=>{"use strict";function push(heap,node){var index=heap.length;for(heap.push(node);0<index;){var parentIndex=index-1>>>1,parent=heap[parentIndex];if(0<compare(parent,node))heap[parentIndex]=node,heap[index]=parent,index=parentIndex;else break}}function peek(heap){return 0===heap.length?null:heap[0]}function pop(heap){if(0===heap.length)return null;var first=heap[0],last=heap.pop();if(last!==first){heap[0]=last;for(var index=0,length=heap.length,halfLength=length>>>1;index<halfLength;){var leftIndex=2*(index+1)-1,left=heap[leftIndex],rightIndex=leftIndex+1,right=heap[rightIndex];if(0>compare(left,last))rightIndex<length&&0>compare(right,left)?(heap[index]=right,heap[rightIndex]=last,index=rightIndex):(heap[index]=left,heap[leftIndex]=last,index=leftIndex);else if(rightIndex<length&&0>compare(right,last))heap[index]=right,heap[rightIndex]=last,index=rightIndex;else break}}return first}function compare(a,b){var diff=a.sortIndex-b.sortIndex;return 0!==diff?diff:a.id-b.id}if(exports.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var schedulePerformWorkUntilDeadline,localPerformance=performance;exports.unstable_now=function(){return localPerformance.now()}}else{var localDate=Date,initialTime=localDate.now();exports.unstable_now=function(){return localDate.now()-initialTime}}var taskQueue=[],timerQueue=[],taskIdCounter=1,currentTask=null,currentPriorityLevel=3,isPerformingWork=!1,isHostCallbackScheduled=!1,isHostTimeoutScheduled=!1,needsPaint=!1,localSetTimeout="function"==typeof setTimeout?setTimeout:null,localClearTimeout="function"==typeof clearTimeout?clearTimeout:null,localSetImmediate="undefined"!=typeof setImmediate?setImmediate:null;function advanceTimers(currentTime){for(var timer=peek(timerQueue);null!==timer;){if(null===timer.callback)pop(timerQueue);else if(timer.startTime<=currentTime)pop(timerQueue),timer.sortIndex=timer.expirationTime,push(taskQueue,timer);else break;timer=peek(timerQueue)}}function handleTimeout(currentTime){if(isHostTimeoutScheduled=!1,advanceTimers(currentTime),!isHostCallbackScheduled)if(null!==peek(taskQueue))isHostCallbackScheduled=!0,isMessageLoopRunning||(isMessageLoopRunning=!0,schedulePerformWorkUntilDeadline());else{var firstTimer=peek(timerQueue);null!==firstTimer&&requestHostTimeout(handleTimeout,firstTimer.startTime-currentTime)}}var isMessageLoopRunning=!1,taskTimeoutID=-1,frameInterval=5,startTime=-1;function shouldYieldToHost(){return!!needsPaint||!(exports.unstable_now()-startTime<frameInterval)}function performWorkUntilDeadline(){if(needsPaint=!1,isMessageLoopRunning){var currentTime=exports.unstable_now();startTime=currentTime;var hasMoreWork=!0;try{a:{isHostCallbackScheduled=!1,isHostTimeoutScheduled&&(isHostTimeoutScheduled=!1,localClearTimeout(taskTimeoutID),taskTimeoutID=-1),isPerformingWork=!0;var previousPriorityLevel=currentPriorityLevel;try{b:{for(advanceTimers(currentTime),currentTask=peek(taskQueue);null!==currentTask&&!(currentTask.expirationTime>currentTime&&shouldYieldToHost());){var callback=currentTask.callback;if("function"==typeof callback){currentTask.callback=null,currentPriorityLevel=currentTask.priorityLevel;var continuationCallback=callback(currentTask.expirationTime<=currentTime);if(currentTime=exports.unstable_now(),"function"==typeof continuationCallback){currentTask.callback=continuationCallback,advanceTimers(currentTime),hasMoreWork=!0;break b}currentTask===peek(taskQueue)&&pop(taskQueue),advanceTimers(currentTime)}else pop(taskQueue);currentTask=peek(taskQueue)}if(null!==currentTask)hasMoreWork=!0;else{var firstTimer=peek(timerQueue);null!==firstTimer&&requestHostTimeout(handleTimeout,firstTimer.startTime-currentTime),hasMoreWork=!1}}break a}finally{currentTask=null,currentPriorityLevel=previousPriorityLevel,isPerformingWork=!1}}}finally{hasMoreWork?schedulePerformWorkUntilDeadline():isMessageLoopRunning=!1}}}if("function"==typeof localSetImmediate)schedulePerformWorkUntilDeadline=function(){localSetImmediate(performWorkUntilDeadline)};else if("undefined"!=typeof MessageChannel){var channel=new MessageChannel,port=channel.port2;channel.port1.onmessage=performWorkUntilDeadline,schedulePerformWorkUntilDeadline=function(){port.postMessage(null)}}else schedulePerformWorkUntilDeadline=function(){localSetTimeout(performWorkUntilDeadline,0)};function requestHostTimeout(callback,ms){taskTimeoutID=localSetTimeout(function(){callback(exports.unstable_now())},ms)}exports.unstable_IdlePriority=5,exports.unstable_ImmediatePriority=1,exports.unstable_LowPriority=4,exports.unstable_NormalPriority=3,exports.unstable_Profiling=null,exports.unstable_UserBlockingPriority=2,exports.unstable_cancelCallback=function(task){task.callback=null},exports.unstable_forceFrameRate=function(fps){0>fps||125<fps?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):frameInterval=0<fps?Math.floor(1e3/fps):5},exports.unstable_getCurrentPriorityLevel=function(){return currentPriorityLevel},exports.unstable_next=function(eventHandler){switch(currentPriorityLevel){case 1:case 2:case 3:var priorityLevel=3;break;default:priorityLevel=currentPriorityLevel}var previousPriorityLevel=currentPriorityLevel;currentPriorityLevel=priorityLevel;try{return eventHandler()}finally{currentPriorityLevel=previousPriorityLevel}},exports.unstable_requestPaint=function(){needsPaint=!0},exports.unstable_runWithPriority=function(priorityLevel,eventHandler){switch(priorityLevel){case 1:case 2:case 3:case 4:case 5:break;default:priorityLevel=3}var previousPriorityLevel=currentPriorityLevel;currentPriorityLevel=priorityLevel;try{return eventHandler()}finally{currentPriorityLevel=previousPriorityLevel}},exports.unstable_scheduleCallback=function(priorityLevel,callback,options){var currentTime=exports.unstable_now();switch(options="object"==typeof options&&null!==options&&"number"==typeof(options=options.delay)&&0<options?currentTime+options:currentTime,priorityLevel){case 1:var timeout=-1;break;case 2:timeout=250;break;case 5:timeout=0x3fffffff;break;case 4:timeout=1e4;break;default:timeout=5e3}return timeout=options+timeout,priorityLevel={id:taskIdCounter++,callback:callback,priorityLevel:priorityLevel,startTime:options,expirationTime:timeout,sortIndex:-1},options>currentTime?(priorityLevel.sortIndex=options,push(timerQueue,priorityLevel),null===peek(taskQueue)&&priorityLevel===peek(timerQueue)&&(isHostTimeoutScheduled?(localClearTimeout(taskTimeoutID),taskTimeoutID=-1):isHostTimeoutScheduled=!0,requestHostTimeout(handleTimeout,options-currentTime))):(priorityLevel.sortIndex=timeout,push(taskQueue,priorityLevel),isHostCallbackScheduled||isPerformingWork||(isHostCallbackScheduled=!0,isMessageLoopRunning||(isMessageLoopRunning=!0,schedulePerformWorkUntilDeadline()))),priorityLevel},exports.unstable_shouldYield=shouldYieldToHost,exports.unstable_wrapCallback=function(callback){var parentPriorityLevel=currentPriorityLevel;return function(){var previousPriorityLevel=currentPriorityLevel;currentPriorityLevel=parentPriorityLevel;try{return callback.apply(this,arguments)}finally{currentPriorityLevel=previousPriorityLevel}}}},74371,(__turbopack_context__,module,exports)=>{"use strict";module.exports=__turbopack_context__.r(67009)},34287,(__turbopack_context__,module,exports)=>{"use strict";var JSCompiler_inline_result$jscomp$312,__TURBOPACK__imported__module__84761__=__turbopack_context__.i(84761),Scheduler=__turbopack_context__.r(74371),React=__turbopack_context__.r(67490),ReactDOM=__turbopack_context__.r(76001);function formatProdErrorMessage(code){var url="https://react.dev/errors/"+code;if(1<arguments.length){url+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)url+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+code+"; visit "+url+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function isValidContainer(node){return!(!node||1!==node.nodeType&&9!==node.nodeType&&11!==node.nodeType)}function getNearestMountedFiber(fiber){var node=fiber,nearestMounted=fiber;if(fiber.alternate)for(;node.return;)node=node.return;else{fiber=node;do 0!=(4098&(node=fiber).flags)&&(nearestMounted=node.return),fiber=node.return;while(fiber)}return 3===node.tag?nearestMounted:null}function getSuspenseInstanceFromFiber(fiber){if(13===fiber.tag){var suspenseState=fiber.memoizedState;if(null===suspenseState&&null!==(fiber=fiber.alternate)&&(suspenseState=fiber.memoizedState),null!==suspenseState)return suspenseState.dehydrated}return null}function getActivityInstanceFromFiber(fiber){if(31===fiber.tag){var activityState=fiber.memoizedState;if(null===activityState&&null!==(fiber=fiber.alternate)&&(activityState=fiber.memoizedState),null!==activityState)return activityState.dehydrated}return null}function assertIsMounted(fiber){if(getNearestMountedFiber(fiber)!==fiber)throw Error(formatProdErrorMessage(188))}function findCurrentFiberUsingSlowPath(fiber){var alternate=fiber.alternate;if(!alternate){if(null===(alternate=getNearestMountedFiber(fiber)))throw Error(formatProdErrorMessage(188));return alternate!==fiber?null:fiber}for(var a=fiber,b=alternate;;){var parentA=a.return;if(null===parentA)break;var parentB=parentA.alternate;if(null===parentB){if(null!==(b=parentA.return)){a=b;continue}break}if(parentA.child===parentB.child){for(parentB=parentA.child;parentB;){if(parentB===a)return assertIsMounted(parentA),fiber;if(parentB===b)return assertIsMounted(parentA),alternate;parentB=parentB.sibling}throw Error(formatProdErrorMessage(188))}if(a.return!==b.return)a=parentA,b=parentB;else{for(var didFindChild=!1,child$0=parentA.child;child$0;){if(child$0===a){didFindChild=!0,a=parentA,b=parentB;break}if(child$0===b){didFindChild=!0,b=parentA,a=parentB;break}child$0=child$0.sibling}if(!didFindChild){for(child$0=parentB.child;child$0;){if(child$0===a){didFindChild=!0,a=parentB,b=parentA;break}if(child$0===b){didFindChild=!0,b=parentB,a=parentA;break}child$0=child$0.sibling}if(!didFindChild)throw Error(formatProdErrorMessage(189))}}if(a.alternate!==b)throw Error(formatProdErrorMessage(190))}if(3!==a.tag)throw Error(formatProdErrorMessage(188));return a.stateNode.current===a?fiber:alternate}function findCurrentHostFiberImpl(node){var tag=node.tag;if(5===tag||26===tag||27===tag||6===tag)return node;for(node=node.child;null!==node;){if(null!==(tag=findCurrentHostFiberImpl(node)))return tag;node=node.sibling}return null}function traverseVisibleHostChildren(child,searchWithinHosts,fn,a,b,c){for(;null!==child;){if(5===child.tag&&fn(child,a,b,c)||(22!==child.tag||null===child.memoizedState)&&(searchWithinHosts||5!==child.tag)&&traverseVisibleHostChildren(child.child,searchWithinHosts,fn,a,b,c))return!0;child=child.sibling}return!1}function getFragmentParentHostFiber(fiber){for(fiber=fiber.return;null!==fiber;){if(3===fiber.tag||5===fiber.tag)return fiber;fiber=fiber.return}return null}function findFragmentInstanceSiblings(result,self1,child){for(var foundSelf=3<arguments.length&&void 0!==arguments[3]&&arguments[3];null!==child;){if(child===self1)if(foundSelf=!0,!child.sibling)return!0;else child=child.sibling;if(5===child.tag){if(foundSelf)return result[1]=child,!0;result[0]=child}else if((22!==child.tag||null===child.memoizedState)&&findFragmentInstanceSiblings(result,self1,child.child,foundSelf))return!0;child=child.sibling}return!1}function getInstanceFromHostFiber(fiber){switch(fiber.tag){case 5:return fiber.stateNode;case 3:return fiber.stateNode.containerInfo;default:throw Error(formatProdErrorMessage(559))}}var searchTarget=null,searchBoundary=null;function findNextSibling(child){return searchTarget=child,!0}function isFiberPrecedingCheck(child,target,boundary){return child===boundary||child===target&&(searchTarget=child,!0)}function isFiberFollowingCheck(child,target,boundary){return child===boundary?(searchBoundary=child,!1):child===target&&(null!==searchBoundary&&(searchTarget=child),!0)}function getParentForFragmentAncestors(inst){if(null===inst)return null;do inst=null===inst?null:inst.return;while(inst&&5!==inst.tag&&27!==inst.tag&&3!==inst.tag)return inst||null}function getLowestCommonAncestor(instA,instB,getParent){for(var depthA=0,tempA=instA;tempA;tempA=getParent(tempA))depthA++;tempA=0;for(var tempB=instB;tempB;tempB=getParent(tempB))tempA++;for(;0<depthA-tempA;)instA=getParent(instA),depthA--;for(;0<tempA-depthA;)instB=getParent(instB),tempA--;for(;depthA--;){if(instA===instB||null!==instB&&instA===instB.alternate)return instA;instA=getParent(instA),instB=getParent(instB)}return null}var assign=Object.assign,REACT_LEGACY_ELEMENT_TYPE=Symbol.for("react.element"),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");Symbol.for("react.scope");var REACT_ACTIVITY_TYPE=Symbol.for("react.activity"),REACT_LEGACY_HIDDEN_TYPE=Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var REACT_MEMO_CACHE_SENTINEL=Symbol.for("react.memo_cache_sentinel"),REACT_VIEW_TRANSITION_TYPE=Symbol.for("react.view_transition"),MAYBE_ITERATOR_SYMBOL=Symbol.iterator;function getIteratorFn(maybeIterable){return null===maybeIterable||"object"!=typeof maybeIterable?null:"function"==typeof(maybeIterable=MAYBE_ITERATOR_SYMBOL&&maybeIterable[MAYBE_ITERATOR_SYMBOL]||maybeIterable["@@iterator"])?maybeIterable:null}var REACT_CLIENT_REFERENCE=Symbol.for("react.client.reference");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(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}var isArrayImpl=Array.isArray,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,sharedNotPendingObject={pending:!1,data:null,method:null,action:null},valueStack=[],index=-1;function createCursor(defaultValue){return{current:defaultValue}}function pop(cursor){0>index||(cursor.current=valueStack[index],valueStack[index]=null,index--)}function push(cursor,value){valueStack[++index]=cursor.current,cursor.current=value}var contextStackCursor=createCursor(null),contextFiberStackCursor=createCursor(null),rootInstanceStackCursor=createCursor(null),hostTransitionProviderCursor=createCursor(null);function pushHostContainer(fiber,nextRootInstance){switch(push(rootInstanceStackCursor,nextRootInstance),push(contextFiberStackCursor,fiber),push(contextStackCursor,null),nextRootInstance.nodeType){case 9:case 11:fiber=(fiber=nextRootInstance.documentElement)&&(fiber=fiber.namespaceURI)?getOwnHostContext(fiber):0;break;default:if(fiber=nextRootInstance.tagName,nextRootInstance=nextRootInstance.namespaceURI)fiber=getChildHostContextProd(nextRootInstance=getOwnHostContext(nextRootInstance),fiber);else switch(fiber){case"svg":fiber=1;break;case"math":fiber=2;break;default:fiber=0}}pop(contextStackCursor),push(contextStackCursor,fiber)}function popHostContainer(){pop(contextStackCursor),pop(contextFiberStackCursor),pop(rootInstanceStackCursor)}function pushHostContext(fiber){null!==fiber.memoizedState&&push(hostTransitionProviderCursor,fiber);var context=contextStackCursor.current,JSCompiler_inline_result=getChildHostContextProd(context,fiber.type);context!==JSCompiler_inline_result&&(push(contextFiberStackCursor,fiber),push(contextStackCursor,JSCompiler_inline_result))}function popHostContext(fiber){contextFiberStackCursor.current===fiber&&(pop(contextStackCursor),pop(contextFiberStackCursor)),hostTransitionProviderCursor.current===fiber&&(pop(hostTransitionProviderCursor),HostTransitionContext._currentValue=sharedNotPendingObject)}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}var reentry=!1;function describeNativeComponentFrame(fn,construct){if(!fn||reentry)return"";reentry=!0;var previousPrepareStackTrace=Error.prepareStackTrace;Error.prepareStackTrace=void 0;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$1){control=x$1}fn.call(Fake.prototype)}}else{try{throw Error()}catch(x$2){control=x$2}(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(namePropDescriptor=RunInRootFrame=0;RunInRootFrame<sampleLines.length&&!sampleLines[RunInRootFrame].includes("DetermineComponentFrameRoot");)RunInRootFrame++;for(;namePropDescriptor<controlLines.length&&!controlLines[namePropDescriptor].includes("DetermineComponentFrameRoot");)namePropDescriptor++;if(RunInRootFrame===sampleLines.length||namePropDescriptor===controlLines.length)for(RunInRootFrame=sampleLines.length-1,namePropDescriptor=controlLines.length-1;1<=RunInRootFrame&&0<=namePropDescriptor&&sampleLines[RunInRootFrame]!==controlLines[namePropDescriptor];)namePropDescriptor--;for(;1<=RunInRootFrame&&0<=namePropDescriptor;RunInRootFrame--,namePropDescriptor--)if(sampleLines[RunInRootFrame]!==controlLines[namePropDescriptor]){if(1!==RunInRootFrame||1!==namePropDescriptor)do if(RunInRootFrame--,namePropDescriptor--,0>namePropDescriptor||sampleLines[RunInRootFrame]!==controlLines[namePropDescriptor]){var frame="\n"+sampleLines[RunInRootFrame].replace(" at new "," at ");return fn.displayName&&frame.includes("<anonymous>")&&(frame=frame.replace("<anonymous>",fn.displayName)),frame}while(1<=RunInRootFrame&&0<=namePropDescriptor)break}}}finally{reentry=!1,Error.prepareStackTrace=previousPrepareStackTrace}return(previousPrepareStackTrace=fn?fn.displayName||fn.name:"")?describeBuiltInComponentFrame(previousPrepareStackTrace):""}function describeFiber(fiber,childFiber){switch(fiber.tag){case 26:case 27:case 5:return describeBuiltInComponentFrame(fiber.type);case 16:return describeBuiltInComponentFrame("Lazy");case 13:return fiber.child!==childFiber&&null!==childFiber?describeBuiltInComponentFrame("Suspense Fallback"):describeBuiltInComponentFrame("Suspense");case 19:return describeBuiltInComponentFrame("SuspenseList");case 0:case 15:return describeNativeComponentFrame(fiber.type,!1);case 11:return describeNativeComponentFrame(fiber.type.render,!1);case 1:return describeNativeComponentFrame(fiber.type,!0);case 31:return describeBuiltInComponentFrame("Activity");case 30:return describeBuiltInComponentFrame("ViewTransition");default:return""}}function getStackByFiberInDevAndProd(workInProgress){try{var info="",previous=null;do info+=describeFiber(workInProgress,previous),previous=workInProgress,workInProgress=workInProgress.return;while(workInProgress)return info}catch(x){return"\nError generating stack: "+x.message+"\n"+x.stack}}var hasOwnProperty=Object.prototype.hasOwnProperty,scheduleCallback$3=Scheduler.unstable_scheduleCallback,cancelCallback$1=Scheduler.unstable_cancelCallback,shouldYield=Scheduler.unstable_shouldYield,requestPaint=Scheduler.unstable_requestPaint,now=Scheduler.unstable_now,getCurrentPriorityLevel=Scheduler.unstable_getCurrentPriorityLevel,ImmediatePriority=Scheduler.unstable_ImmediatePriority,UserBlockingPriority=Scheduler.unstable_UserBlockingPriority,NormalPriority$1=Scheduler.unstable_NormalPriority,LowPriority=Scheduler.unstable_LowPriority,IdlePriority=Scheduler.unstable_IdlePriority,rendererID=(Scheduler.log,Scheduler.unstable_setDisableYieldValue,null),injectedHook=null,clz32=Math.clz32?Math.clz32:clz32Fallback,log=Math.log,LN2=Math.LN2;function clz32Fallback(x){return 0==(x>>>=0)?32:31-(log(x)/LN2|0)|0}var nextTransitionUpdateLane=256,nextTransitionDeferredLane=262144,nextRetryLane=4194304;function getHighestPriorityLanes(lanes){var pendingSyncLanes=42&lanes;if(0!==pendingSyncLanes)return pendingSyncLanes;switch(lanes&-lanes){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&lanes;case 262144:case 524288:case 1048576:case 2097152:return 3932160&lanes;case 4194304:case 8388608:case 0x1000000:case 0x2000000:return 0x3c00000&lanes;case 0x4000000:return 0x4000000;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0;default:return lanes}}function getNextLanes(root,wipLanes,rootHasPendingCommit){var pendingLanes=root.pendingLanes;if(0===pendingLanes)return 0;var nextLanes=0,suspendedLanes=root.suspendedLanes,pingedLanes=root.pingedLanes;root=root.warmLanes;var nonIdlePendingLanes=0x7ffffff&pendingLanes;return 0!==nonIdlePendingLanes?0!=(pendingLanes=nonIdlePendingLanes&~suspendedLanes)?nextLanes=getHighestPriorityLanes(pendingLanes):0!=(pingedLanes&=nonIdlePendingLanes)?nextLanes=getHighestPriorityLanes(pingedLanes):rootHasPendingCommit||0!=(rootHasPendingCommit=nonIdlePendingLanes&~root)&&(nextLanes=getHighestPriorityLanes(rootHasPendingCommit)):0!=(nonIdlePendingLanes=pendingLanes&~suspendedLanes)?nextLanes=getHighestPriorityLanes(nonIdlePendingLanes):0!==pingedLanes?nextLanes=getHighestPriorityLanes(pingedLanes):rootHasPendingCommit||0!=(rootHasPendingCommit=pendingLanes&~root)&&(nextLanes=getHighestPriorityLanes(rootHasPendingCommit)),0===nextLanes?0:0!==wipLanes&&wipLanes!==nextLanes&&0==(wipLanes&suspendedLanes)&&((suspendedLanes=nextLanes&-nextLanes)>=(rootHasPendingCommit=wipLanes&-wipLanes)||32===suspendedLanes&&0!=(4194048&rootHasPendingCommit))?wipLanes:nextLanes}function checkIfRootIsPrerendering(root,renderLanes){return 0==(root.pendingLanes&~(root.suspendedLanes&~root.pingedLanes)&renderLanes)}function computeExpirationTime(lane,currentTime){switch(lane){case 1:case 2:case 4:case 8:case 64:return currentTime+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return currentTime+5e3;default:return -1}}function claimNextRetryLane(){var lane=nextRetryLane;return 0==(0x3c00000&(nextRetryLane<<=1))&&(nextRetryLane=4194304),lane}function createLaneMap(initial){for(var laneMap=[],i=0;31>i;i++)laneMap.push(initial);return laneMap}function markRootUpdated$1(root,updateLane){root.pendingLanes|=updateLane,0x10000000!==updateLane&&(root.suspendedLanes=0,root.pingedLanes=0,root.warmLanes=0)}function markRootFinished(root,finishedLanes,remainingLanes,spawnedLane,updatedLanes,suspendedRetryLanes){var previouslyPendingLanes=root.pendingLanes;root.pendingLanes=remainingLanes,root.suspendedLanes=0,root.pingedLanes=0,root.warmLanes=0,root.expiredLanes&=remainingLanes,root.entangledLanes&=remainingLanes,root.errorRecoveryDisabledLanes&=remainingLanes,root.shellSuspendCounter=0;var entanglements=root.entanglements,expirationTimes=root.expirationTimes,hiddenUpdates=root.hiddenUpdates;for(remainingLanes=previouslyPendingLanes&~remainingLanes;0<remainingLanes;){var index$7=31-clz32(remainingLanes),lane=1<<index$7;entanglements[index$7]=0,expirationTimes[index$7]=-1;var hiddenUpdatesForLane=hiddenUpdates[index$7];if(null!==hiddenUpdatesForLane)for(hiddenUpdates[index$7]=null,index$7=0;index$7<hiddenUpdatesForLane.length;index$7++){var update=hiddenUpdatesForLane[index$7];null!==update&&(update.lane&=-0x20000001)}remainingLanes&=~lane}0!==spawnedLane&&markSpawnedDeferredLane(root,spawnedLane,0),0!==suspendedRetryLanes&&0===updatedLanes&&0!==root.tag&&(root.suspendedLanes|=suspendedRetryLanes&~(previouslyPendingLanes&~finishedLanes))}function markSpawnedDeferredLane(root,spawnedLane,entangledLanes){root.pendingLanes|=spawnedLane,root.suspendedLanes&=~spawnedLane;var spawnedLaneIndex=31-clz32(spawnedLane);root.entangledLanes|=spawnedLane,root.entanglements[spawnedLaneIndex]=0x40000000|root.entanglements[spawnedLaneIndex]|261930&entangledLanes}function markRootEntangled(root,entangledLanes){var rootEntangledLanes=root.entangledLanes|=entangledLanes;for(root=root.entanglements;rootEntangledLanes;){var index$8=31-clz32(rootEntangledLanes),lane=1<<index$8;lane&entangledLanes|root[index$8]&entangledLanes&&(root[index$8]|=entangledLanes),rootEntangledLanes&=~lane}}function getBumpedLaneForHydration(root,renderLanes){var renderLane=renderLanes&-renderLanes;return 0!=((renderLane=0!=(42&renderLane)?1:getBumpedLaneForHydrationByLane(renderLane))&(root.suspendedLanes|renderLanes))?0:renderLane}function getBumpedLaneForHydrationByLane(lane){switch(lane){case 2:lane=1;break;case 8:lane=4;break;case 32:lane=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 0x1000000:case 0x2000000:lane=128;break;case 0x10000000:lane=0x8000000;break;default:lane=0}return lane}function lanesToEventPriority(lanes){return 2<(lanes&=-lanes)?8<lanes?0!=(0x7ffffff&lanes)?32:0x10000000:8:2}function resolveUpdatePriority(){var updatePriority=ReactDOMSharedInternals.p;return 0!==updatePriority?updatePriority:void 0===(updatePriority=window.event)?32:getEventPriority(updatePriority.type)}function runWithPriority(priority,fn){var previousPriority=ReactDOMSharedInternals.p;try{return ReactDOMSharedInternals.p=priority,fn()}finally{ReactDOMSharedInternals.p=previousPriority}}var randomKey=Math.random().toString(36).slice(2),internalInstanceKey="__reactFiber$"+randomKey,internalPropsKey="__reactProps$"+randomKey,internalContainerInstanceKey="__reactContainer$"+randomKey,internalEventHandlersKey="__reactEvents$"+randomKey,internalEventHandlerListenersKey="__reactListeners$"+randomKey,internalEventHandlesSetKey="__reactHandles$"+randomKey,internalRootNodeResourcesKey="__reactResources$"+randomKey,internalHoistableMarker="__reactMarker$"+randomKey;function detachDeletedInstance(node){delete node[internalInstanceKey],delete node[internalPropsKey],delete node[internalEventHandlersKey],delete node[internalEventHandlerListenersKey],delete node[internalEventHandlesSetKey]}function getClosestInstanceFromNode(targetNode){var targetInst;if(targetInst=targetNode[internalInstanceKey])return targetInst;for(var parentNode=targetNode.parentNode;parentNode;){if(targetInst=parentNode[internalContainerInstanceKey]||parentNode[internalInstanceKey]){if(parentNode=targetInst.alternate,null!==targetInst.child||null!==parentNode&&null!==parentNode.child)for(targetNode=getParentHydrationBoundary(targetNode);null!==targetNode;){if(parentNode=targetNode[internalInstanceKey])return parentNode;targetNode=getParentHydrationBoundary(targetNode)}return targetInst}parentNode=(targetNode=parentNode).parentNode}return null}function getInstanceFromNode(node){if(node=node[internalInstanceKey]||node[internalContainerInstanceKey]){var tag=node.tag;if(5===tag||6===tag||13===tag||31===tag||26===tag||27===tag||3===tag)return node}return null}function getNodeFromInstance(inst){var tag=inst.tag;if(5===tag||26===tag||27===tag||6===tag)return inst.stateNode;throw Error(formatProdErrorMessage(33))}function getResourcesFromRoot(root){var resources=root[internalRootNodeResourcesKey];return resources||(resources=root[internalRootNodeResourcesKey]={hoistableStyles:new Map,hoistableScripts:new Map}),resources}function markNodeAsHoistable(node){node[internalHoistableMarker]=!0}var allNativeEvents=new Set,registrationNameDependencies={};function registerTwoPhaseEvent(registrationName,dependencies){registerDirectEvent(registrationName,dependencies),registerDirectEvent(registrationName+"Capture",dependencies)}function registerDirectEvent(registrationName,dependencies){for(registrationNameDependencies[registrationName]=dependencies,registrationName=0;registrationName<dependencies.length;registrationName++)allNativeEvents.add(dependencies[registrationName])}var 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={};function isAttributeNameSafe(attributeName){return!!hasOwnProperty.call(validatedAttributeNameCache,attributeName)||!hasOwnProperty.call(illegalAttributeNameCache,attributeName)&&(VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)?validatedAttributeNameCache[attributeName]=!0:(illegalAttributeNameCache[attributeName]=!0,!1))}var viewTransitionMutationContext=!1;function pushMutationContext(){var prev=viewTransitionMutationContext;return viewTransitionMutationContext=!1,prev}function setValueForAttribute(node,name,value){if(isAttributeNameSafe(name))if(null===value)node.removeAttribute(name);else{switch(typeof value){case"undefined":case"function":case"symbol":node.removeAttribute(name);return;case"boolean":var prefix$10=name.toLowerCase().slice(0,5);if("data-"!==prefix$10&&"aria-"!==prefix$10)return void node.removeAttribute(name)}node.setAttribute(name,""+value)}}function setValueForKnownAttribute(node,name,value){if(null===value)node.removeAttribute(name);else{switch(typeof value){case"undefined":case"function":case"symbol":case"boolean":node.removeAttribute(name);return}node.setAttribute(name,""+value)}}function setValueForNamespacedAttribute(node,namespace,name,value){if(null===value)node.removeAttribute(name);else{switch(typeof value){case"undefined":case"function":case"symbol":case"boolean":node.removeAttribute(name);return}node.setAttributeNS(namespace,name,""+value)}}function getToStringValue(value){switch(typeof value){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return value;default:return""}}function isCheckable(elem){var type=elem.type;return(elem=elem.nodeName)&&"input"===elem.toLowerCase()&&("checkbox"===type||"radio"===type)}function trackValueOnNode(node,valueField,currentValue){var descriptor=Object.getOwnPropertyDescriptor(node.constructor.prototype,valueField);if(!node.hasOwnProperty(valueField)&&void 0!==descriptor&&"function"==typeof descriptor.get&&"function"==typeof descriptor.set){var get=descriptor.get,set=descriptor.set;return Object.defineProperty(node,valueField,{configurable:!0,get:function(){return get.call(this)},set:function(value){currentValue=""+value,set.call(this,value)}}),Object.defineProperty(node,valueField,{enumerable:descriptor.enumerable}),{getValue:function(){return currentValue},setValue:function(value){currentValue=""+value},stopTracking:function(){node._valueTracker=null,delete node[valueField]}}}}function track(node){if(!node._valueTracker){var valueField=isCheckable(node)?"checked":"value";node._valueTracker=trackValueOnNode(node,valueField,""+node[valueField])}}function updateValueIfChanged(node){if(!node)return!1;var tracker=node._valueTracker;if(!tracker)return!0;var lastValue=tracker.getValue(),value="";return node&&(value=isCheckable(node)?node.checked?"true":"false":node.value),(node=value)!==lastValue&&(tracker.setValue(node),!0)}function getActiveElement(doc){if(void 0===(doc=doc||("undefined"!=typeof document?document:void 0)))return null;try{return doc.activeElement||doc.body}catch(e){return doc.body}}var escapeSelectorAttributeValueInsideDoubleQuotesRegex=/[\n"\\]/g;function escapeSelectorAttributeValueInsideDoubleQuotes(value){return value.replace(escapeSelectorAttributeValueInsideDoubleQuotesRegex,function(ch){return"\\"+ch.charCodeAt(0).toString(16)+" "})}function updateInput(element,value,defaultValue,lastDefaultValue,checked,defaultChecked,type,name){element.name="",null!=type&&"function"!=typeof type&&"symbol"!=typeof type&&"boolean"!=typeof type?element.type=type:element.removeAttribute("type"),null!=value?"number"===type?(0===value&&""===element.value||element.value!=value)&&(element.value=""+getToStringValue(value)):element.value!==""+getToStringValue(value)&&(element.value=""+getToStringValue(value)):"submit"!==type&&"reset"!==type||element.removeAttribute("value"),null!=value?setDefaultValue(element,type,getToStringValue(value)):null!=defaultValue?setDefaultValue(element,type,getToStringValue(defaultValue)):null!=lastDefaultValue&&element.removeAttribute("value"),null==checked&&null!=defaultChecked&&(element.defaultChecked=!!defaultChecked),null!=checked&&(element.checked=checked&&"function"!=typeof checked&&"symbol"!=typeof checked),null!=name&&"function"!=typeof name&&"symbol"!=typeof name&&"boolean"!=typeof name?element.name=""+getToStringValue(name):element.removeAttribute("name")}function initInput(element,value,defaultValue,checked,defaultChecked,type,name,isHydrating){if(null!=type&&"function"!=typeof type&&"symbol"!=typeof type&&"boolean"!=typeof type&&(element.type=type),null!=value||null!=defaultValue){if(("submit"===type||"reset"===type)&&null==value)return void track(element);defaultValue=null!=defaultValue?""+getToStringValue(defaultValue):"",value=null!=value?""+getToStringValue(value):defaultValue,isHydrating||value===element.value||(element.value=value),element.defaultValue=value}checked="function"!=typeof(checked=null!=checked?checked:defaultChecked)&&"symbol"!=typeof checked&&!!checked,element.checked=isHydrating?element.checked:!!checked,element.defaultChecked=!!checked,null!=name&&"function"!=typeof name&&"symbol"!=typeof name&&"boolean"!=typeof name&&(element.name=name),track(element)}function setDefaultValue(node,type,value){"number"===type&&getActiveElement(node.ownerDocument)===node||node.defaultValue===""+value||(node.defaultValue=""+value)}function updateOptions(node,multiple,propValue,setDefaultSelected){if(node=node.options,multiple){multiple={};for(var i=0;i<propValue.length;i++)multiple["$"+propValue[i]]=!0;for(propValue=0;propValue<node.length;propValue++)i=multiple.hasOwnProperty("$"+node[propValue].value),node[propValue].selected!==i&&(node[propValue].selected=i),i&&setDefaultSelected&&(node[propValue].defaultSelected=!0)}else{for(i=0,propValue=""+getToStringValue(propValue),multiple=null;i<node.length;i++){if(node[i].value===propValue){node[i].selected=!0,setDefaultSelected&&(node[i].defaultSelected=!0);return}null!==multiple||node[i].disabled||(multiple=node[i])}null!==multiple&&(multiple.selected=!0)}}function updateTextarea(element,value,defaultValue){if(null!=value&&((value=""+getToStringValue(value))!==element.value&&(element.value=value),null==defaultValue)){element.defaultValue!==value&&(element.defaultValue=value);return}element.defaultValue=null!=defaultValue?""+getToStringValue(defaultValue):""}function initTextarea(element,value,defaultValue,children){if(null==value){if(null!=children){if(null!=defaultValue)throw Error(formatProdErrorMessage(92));if(isArrayImpl(children)){if(1<children.length)throw Error(formatProdErrorMessage(93));children=children[0]}defaultValue=children}null==defaultValue&&(defaultValue=""),value=defaultValue}element.defaultValue=defaultValue=getToStringValue(value),(children=element.textContent)===defaultValue&&""!==children&&null!==children&&(element.value=children),track(element)}function setTextContent(node,text){if(text){var firstChild=node.firstChild;if(firstChild&&firstChild===node.lastChild&&3===firstChild.nodeType){firstChild.nodeValue=text;return}}node.textContent=text}var 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(" "));function setValueForStyle(style,styleName,value){var isCustomProperty=0===styleName.indexOf("--");null==value||"boolean"==typeof value||""===value?isCustomProperty?style.setProperty(styleName,""):"float"===styleName?style.cssFloat="":style[styleName]="":isCustomProperty?style.setProperty(styleName,value):"number"!=typeof value||0===value||unitlessNumbers.has(styleName)?"float"===styleName?style.cssFloat=value:style[styleName]=(""+value).trim():style[styleName]=value+"px"}function setValueForStyles(node,styles,prevStyles){if(null!=styles&&"object"!=typeof styles)throw Error(formatProdErrorMessage(62));if(node=node.style,null!=prevStyles){for(var styleName in prevStyles)!prevStyles.hasOwnProperty(styleName)||null!=styles&&styles.hasOwnProperty(styleName)||(0===styleName.indexOf("--")?node.setProperty(styleName,""):"float"===styleName?node.cssFloat="":node[styleName]="",viewTransitionMutationContext=!0);for(var styleName$16 in styles)styleName=styles[styleName$16],styles.hasOwnProperty(styleName$16)&&prevStyles[styleName$16]!==styleName&&(setValueForStyle(node,styleName$16,styleName),viewTransitionMutationContext=!0)}else for(var styleName$17 in styles)styles.hasOwnProperty(styleName$17)&&setValueForStyle(node,styleName$17,styles[styleName$17])}function isCustomElement(tagName){if(-1===tagName.indexOf("-"))return!1;switch(tagName){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":return!1;default:return!0}}var 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"],["c