UNPKG

next

Version:

The React Framework

1 lines • 299 kB
(()=>{var __webpack_modules__={"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")},path(module1){"use strict";module1.exports=require("path")},stream(module1){"use strict";module1.exports=require("stream")},util(module1){"use strict";module1.exports=require("util")},"(react-server)/./dist/compiled/@edge-runtime/cookies/index.js"(module1){"use strict";var __defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__hasOwnProp=Object.prototype.hasOwnProperty,src_exports={},all={RequestCookies:()=>RequestCookies,ResponseCookies:()=>ResponseCookies,parseCookie:()=>parseCookie,parseSetCookie:()=>parseSetCookie,stringifyCookie:()=>stringifyCookie};for(var name in all)__defProp(src_exports,name,{get:all[name],enumerable:!0});function stringifyCookie(c){var _a;let attrs=["path"in c&&c.path&&`Path=${c.path}`,"expires"in c&&(c.expires||0===c.expires)&&`Expires=${("number"==typeof c.expires?new Date(c.expires):c.expires).toUTCString()}`,"maxAge"in c&&"number"==typeof c.maxAge&&`Max-Age=${c.maxAge}`,"domain"in c&&c.domain&&`Domain=${c.domain}`,"secure"in c&&c.secure&&"Secure","httpOnly"in c&&c.httpOnly&&"HttpOnly","sameSite"in c&&c.sameSite&&`SameSite=${c.sameSite}`,"partitioned"in c&&c.partitioned&&"Partitioned","priority"in c&&c.priority&&`Priority=${c.priority}`].filter(Boolean),stringified=`${c.name}=${encodeURIComponent(null!=(_a=c.value)?_a:"")}`;return 0===attrs.length?stringified:`${stringified}; ${attrs.join("; ")}`}function parseCookie(cookie){let map=new Map;for(let pair of cookie.split(/; */)){if(!pair)continue;let splitAt=pair.indexOf("=");if(-1===splitAt){map.set(pair,"true");continue}let[key,value1]=[pair.slice(0,splitAt),pair.slice(splitAt+1)];try{map.set(key,decodeURIComponent(null!=value1?value1:"true"))}catch{}}return map}function parseSetCookie(setCookie){if(!setCookie)return;let[[name,value1],...attributes]=parseCookie(setCookie),{domain,expires,httponly,maxage,path,samesite,secure,partitioned,priority}=Object.fromEntries(attributes.map(([key,value2])=>[key.toLowerCase().replace(/-/g,""),value2]));{var string,string1,t={name,value:decodeURIComponent(value1),domain,...expires&&{expires:new Date(expires)},...httponly&&{httpOnly:!0},..."string"==typeof maxage&&{maxAge:Number(maxage)},path,...samesite&&{sameSite:SAME_SITE.includes(string=(string=samesite).toLowerCase())?string:void 0},...secure&&{secure:!0},...priority&&{priority:PRIORITY.includes(string1=(string1=priority).toLowerCase())?string1:void 0},...partitioned&&{partitioned:!0}};let newT={};for(let key in t)t[key]&&(newT[key]=t[key]);return newT}}module1.exports=((to,from,except,desc)=>{if(from&&"object"==typeof from||"function"==typeof from)for(let key of __getOwnPropNames(from))__hasOwnProp.call(to,key)||key===except||__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to})(__defProp({},"__esModule",{value:!0}),src_exports);var SAME_SITE=["strict","lax","none"],PRIORITY=["low","medium","high"],RequestCookies=class{constructor(requestHeaders){this._parsed=new Map,this._headers=requestHeaders;const header=requestHeaders.get("cookie");if(header)for(const[name,value1]of parseCookie(header))this._parsed.set(name,{name,value:value1})}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...args){let name="string"==typeof args[0]?args[0]:args[0].name;return this._parsed.get(name)}getAll(...args){var _a;let all=Array.from(this._parsed);if(!args.length)return all.map(([_,value1])=>value1);let name="string"==typeof args[0]?args[0]:null==(_a=args[0])?void 0:_a.name;return all.filter(([n])=>n===name).map(([_,value1])=>value1)}has(name){return this._parsed.has(name)}set(...args){let[name,value1]=1===args.length?[args[0].name,args[0].value]:args,map=this._parsed;return map.set(name,{name,value:value1}),this._headers.set("cookie",Array.from(map).map(([_,value2])=>stringifyCookie(value2)).join("; ")),this}delete(names){let map=this._parsed,result=Array.isArray(names)?names.map(name=>map.delete(name)):map.delete(names);return this._headers.set("cookie",Array.from(map).map(([_,value1])=>stringifyCookie(value1)).join("; ")),result}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(v=>`${v.name}=${encodeURIComponent(v.value)}`).join("; ")}},ResponseCookies=class{constructor(responseHeaders){var _a,_b,_c;this._parsed=new Map,this._headers=responseHeaders;const setCookie=null!=(_c=null!=(_b=null==(_a=responseHeaders.getSetCookie)?void 0:_a.call(responseHeaders))?_b:responseHeaders.get("set-cookie"))?_c:[];for(const cookieString of Array.isArray(setCookie)?setCookie:function(cookiesString){if(!cookiesString)return[];var start,ch,lastComma,nextStart,cookiesSeparatorFound,cookiesStrings=[],pos=0;function skipWhitespace(){for(;pos<cookiesString.length&&/\s/.test(cookiesString.charAt(pos));)pos+=1;return pos<cookiesString.length}for(;pos<cookiesString.length;){for(start=pos,cookiesSeparatorFound=!1;skipWhitespace();)if(","===(ch=cookiesString.charAt(pos))){for(lastComma=pos,pos+=1,skipWhitespace(),nextStart=pos;pos<cookiesString.length&&"="!==(ch=cookiesString.charAt(pos))&&";"!==ch&&","!==ch;)pos+=1;pos<cookiesString.length&&"="===cookiesString.charAt(pos)?(cookiesSeparatorFound=!0,pos=nextStart,cookiesStrings.push(cookiesString.substring(start,lastComma)),start=pos):pos=lastComma+1}else pos+=1;(!cookiesSeparatorFound||pos>=cookiesString.length)&&cookiesStrings.push(cookiesString.substring(start,cookiesString.length))}return cookiesStrings}(setCookie)){const parsed=parseSetCookie(cookieString);parsed&&this._parsed.set(parsed.name,parsed)}}get(...args){let key="string"==typeof args[0]?args[0]:args[0].name;return this._parsed.get(key)}getAll(...args){var _a;let all=Array.from(this._parsed.values());if(!args.length)return all;let key="string"==typeof args[0]?args[0]:null==(_a=args[0])?void 0:_a.name;return all.filter(c=>c.name===key)}has(name){return this._parsed.has(name)}set(...args){let[name,value1,cookie]=1===args.length?[args[0].name,args[0].value,args[0]]:args,map=this._parsed;return map.set(name,function(cookie={name:"",value:""}){return"number"==typeof cookie.expires&&(cookie.expires=new Date(cookie.expires)),cookie.maxAge&&(cookie.expires=new Date(Date.now()+1e3*cookie.maxAge)),(null===cookie.path||void 0===cookie.path)&&(cookie.path="/"),cookie}({name,value:value1,...cookie})),function(bag,headers){for(let[,value1]of(headers.delete("set-cookie"),bag)){let serialized=stringifyCookie(value1);headers.append("set-cookie",serialized)}}(map,this._headers),this}delete(...args){let[name,options]="string"==typeof args[0]?[args[0]]:[args[0].name,args[0]];return this.set({...options,name,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(stringifyCookie).join("; ")}}},"(react-server)/./dist/compiled/cookie/index.js"(module1){(()=>{"use strict";"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab=__dirname+"/");var i,t,a,n,e={};e.parse=function(e,r){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var t={},o=e.split(a),s=(r||{}).decode||i,p=0;p<o.length;p++){var f=o[p],u=f.indexOf("=");if(!(u<0)){var v=f.substr(0,u).trim(),c=f.substr(++u,f.length).trim();'"'==c[0]&&(c=c.slice(1,-1)),void 0==t[v]&&(t[v]=function(e,r){try{return r(e)}catch(r){return e}}(c,s))}}return t},e.serialize=function(e,r,i){var a=i||{},o=a.encode||t;if("function"!=typeof o)throw TypeError("option encode is invalid");if(!n.test(e))throw TypeError("argument name is invalid");var s=o(r);if(s&&!n.test(s))throw TypeError("argument val is invalid");var p=e+"="+s;if(null!=a.maxAge){var f=a.maxAge-0;if(isNaN(f)||!isFinite(f))throw TypeError("option maxAge is invalid");p+="; Max-Age="+Math.floor(f)}if(a.domain){if(!n.test(a.domain))throw TypeError("option domain is invalid");p+="; Domain="+a.domain}if(a.path){if(!n.test(a.path))throw TypeError("option path is invalid");p+="; Path="+a.path}if(a.expires){if("function"!=typeof a.expires.toUTCString)throw TypeError("option expires is invalid");p+="; Expires="+a.expires.toUTCString()}if(a.httpOnly&&(p+="; HttpOnly"),a.secure&&(p+="; Secure"),a.sameSite)switch("string"==typeof a.sameSite?a.sameSite.toLowerCase():a.sameSite){case!0:case"strict":p+="; SameSite=Strict";break;case"lax":p+="; SameSite=Lax";break;case"none":p+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return p},i=decodeURIComponent,t=encodeURIComponent,a=/; */,n=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,module1.exports=e})()},"(react-server)/./dist/compiled/p-queue/index.js"(module1){(()=>{"use strict";let t,r,i,empty,s;var e={234:e=>{var t=Object.prototype.hasOwnProperty,n="~";function Events(){}function EE(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function addListener(e,t,r,i,s){if("function"!=typeof r)throw TypeError("The listener must be a function");var o=new EE(r,i||e,s),u=n?n+t:t;return e._events[u]?e._events[u].fn?e._events[u]=[e._events[u],o]:e._events[u].push(o):(e._events[u]=o,e._eventsCount++),e}function clearEvent(e,t){0==--e._eventsCount?e._events=new Events:delete e._events[t]}function EventEmitter(){this._events=new Events,this._eventsCount=0}Object.create&&(Events.prototype=Object.create(null),(new Events).__proto__||(n=!1)),EventEmitter.prototype.eventNames=function(){var r,i,e=[];if(0===this._eventsCount)return e;for(i in r=this._events)t.call(r,i)&&e.push(n?i.slice(1):i);return Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(r)):e},EventEmitter.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,s=r.length,o=Array(s);i<s;i++)o[i]=r[i].fn;return o},EventEmitter.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},EventEmitter.prototype.emit=function(e,t,r,i,s,o){var u=n?n+e:e;if(!this._events[u])return!1;var c,h,a=this._events[u],l=arguments.length;if(a.fn){switch(a.once&&this.removeListener(e,a.fn,void 0,!0),l){case 1:return a.fn.call(a.context),!0;case 2:return a.fn.call(a.context,t),!0;case 3:return a.fn.call(a.context,t,r),!0;case 4:return a.fn.call(a.context,t,r,i),!0;case 5:return a.fn.call(a.context,t,r,i,s),!0;case 6:return a.fn.call(a.context,t,r,i,s,o),!0}for(h=1,c=Array(l-1);h<l;h++)c[h-1]=arguments[h];a.fn.apply(a.context,c)}else{var f,_=a.length;for(h=0;h<_;h++)switch(a[h].once&&this.removeListener(e,a[h].fn,void 0,!0),l){case 1:a[h].fn.call(a[h].context);break;case 2:a[h].fn.call(a[h].context,t);break;case 3:a[h].fn.call(a[h].context,t,r);break;case 4:a[h].fn.call(a[h].context,t,r,i);break;default:if(!c)for(f=1,c=Array(l-1);f<l;f++)c[f-1]=arguments[f];a[h].fn.apply(a[h].context,c)}}return!0},EventEmitter.prototype.on=function(e,t,n){return addListener(this,e,t,n,!1)},EventEmitter.prototype.once=function(e,t,n){return addListener(this,e,t,n,!0)},EventEmitter.prototype.removeListener=function(e,t,r,i){var s=n?n+e:e;if(!this._events[s])return this;if(!t)return clearEvent(this,s),this;var o=this._events[s];if(o.fn)o.fn!==t||i&&!o.once||r&&o.context!==r||clearEvent(this,s);else{for(var u=0,a=[],l=o.length;u<l;u++)(o[u].fn!==t||i&&!o[u].once||r&&o[u].context!==r)&&a.push(o[u]);a.length?this._events[s]=1===a.length?a[0]:a:clearEvent(this,s)}return this},EventEmitter.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&clearEvent(this,t)):(this._events=new Events,this._eventsCount=0),this},EventEmitter.prototype.off=EventEmitter.prototype.removeListener,EventEmitter.prototype.addListener=EventEmitter.prototype.on,EventEmitter.prefixed=n,EventEmitter.EventEmitter=EventEmitter,e.exports=EventEmitter},274:e=>{e.exports=(e,t)=>(t=t||(()=>{}),e.then(e=>new Promise(e=>{e(t())}).then(()=>e),e=>new Promise(e=>{e(t())}).then(()=>{throw e})))},294:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){let r=0,i=e.length;for(;i>0;){let s=i/2|0,o=r+s;0>=n(e[o],t)?(r=++o,i-=s+1):i=s}return r}},838:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});let r=n(294);t.default=class{constructor(){this._queue=[]}enqueue(e,t){let n={priority:(t=Object.assign({priority:0},t)).priority,run:e};if(this.size&&this._queue[this.size-1].priority>=t.priority)return void this._queue.push(n);let i=r.default(this._queue,n,(e,t)=>t.priority-e.priority);this._queue.splice(i,0,n)}dequeue(){let e=this._queue.shift();return null==e?void 0:e.run}filter(e){return this._queue.filter(t=>t.priority===e.priority).map(e=>e.run)}get size(){return this._queue.length}}},138:(e,t,n)=>{let r=n(274);class TimeoutError extends Error{constructor(e){super(e),this.name="TimeoutError"}}let pTimeout=(e,t,n)=>new Promise((i,s)=>{if("number"!=typeof t||t<0)throw TypeError("Expected `milliseconds` to be a positive number");if(t===1/0)return void i(e);let o=setTimeout(()=>{if("function"==typeof n){try{i(n())}catch(e){s(e)}return}let r="string"==typeof n?n:`Promise timed out after ${t} milliseconds`,o=n instanceof Error?n:new TimeoutError(r);"function"==typeof e.cancel&&e.cancel(),s(o)},t);r(e.then(i,s),()=>{clearTimeout(o)})});e.exports=pTimeout,e.exports.default=pTimeout,e.exports.TimeoutError=TimeoutError}},t1={};function __nccwpck_require__1(n){var r=t1[n];if(void 0!==r)return r.exports;var i=t1[n]={exports:{}},s=!0;try{e[n](i,i.exports,__nccwpck_require__1),s=!1}finally{s&&delete t1[n]}return i.exports}__nccwpck_require__1.ab=__dirname+"/";var n={};Object.defineProperty(n,"__esModule",{value:!0}),t=__nccwpck_require__1(234),r=__nccwpck_require__1(138),i=__nccwpck_require__1(838),empty=()=>{},s=new r.TimeoutError,n.default=class extends t{constructor(e){var t,n,r,s;if(super(),this._intervalCount=0,this._intervalEnd=0,this._pendingCount=0,this._resolveEmpty=empty,this._resolveIdle=empty,!("number"==typeof(e=Object.assign({carryoverConcurrencyCount:!1,intervalCap:1/0,interval:0,concurrency:1/0,autoStart:!0,queueClass:i.default},e)).intervalCap&&e.intervalCap>=1))throw TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${null!=(n=null==(t=e.intervalCap)?void 0:t.toString())?n:""}\` (${typeof e.intervalCap})`);if(void 0===e.interval||!(Number.isFinite(e.interval)&&e.interval>=0))throw TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${null!=(s=null==(r=e.interval)?void 0:r.toString())?s:""}\` (${typeof e.interval})`);this._carryoverConcurrencyCount=e.carryoverConcurrencyCount,this._isIntervalIgnored=e.intervalCap===1/0||0===e.interval,this._intervalCap=e.intervalCap,this._interval=e.interval,this._queue=new e.queueClass,this._queueClass=e.queueClass,this.concurrency=e.concurrency,this._timeout=e.timeout,this._throwOnTimeout=!0===e.throwOnTimeout,this._isPaused=!1===e.autoStart}get _doesIntervalAllowAnother(){return this._isIntervalIgnored||this._intervalCount<this._intervalCap}get _doesConcurrentAllowAnother(){return this._pendingCount<this._concurrency}_next(){this._pendingCount--,this._tryToStartAnother(),this.emit("next")}_resolvePromises(){this._resolveEmpty(),this._resolveEmpty=empty,0===this._pendingCount&&(this._resolveIdle(),this._resolveIdle=empty,this.emit("idle"))}_onResumeInterval(){this._onInterval(),this._initializeIntervalIfNeeded(),this._timeoutId=void 0}_isIntervalPaused(){let e=Date.now();if(void 0===this._intervalId){let t=this._intervalEnd-e;if(!(t<0))return void 0===this._timeoutId&&(this._timeoutId=setTimeout(()=>{this._onResumeInterval()},t)),!0;this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0}return!1}_tryToStartAnother(){if(0===this._queue.size)return this._intervalId&&clearInterval(this._intervalId),this._intervalId=void 0,this._resolvePromises(),!1;if(!this._isPaused){let e=!this._isIntervalPaused();if(this._doesIntervalAllowAnother&&this._doesConcurrentAllowAnother){let t=this._queue.dequeue();return t?(this.emit("active"),t(),e&&this._initializeIntervalIfNeeded(),!0):!1}}return!1}_initializeIntervalIfNeeded(){this._isIntervalIgnored||void 0!==this._intervalId||(this._intervalId=setInterval(()=>{this._onInterval()},this._interval),this._intervalEnd=Date.now()+this._interval)}_onInterval(){0===this._intervalCount&&0===this._pendingCount&&this._intervalId&&(clearInterval(this._intervalId),this._intervalId=void 0),this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0,this._processQueue()}_processQueue(){for(;this._tryToStartAnother(););}get concurrency(){return this._concurrency}set concurrency(e){if(!("number"==typeof e&&e>=1))throw TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${e}\` (${typeof e})`);this._concurrency=e,this._processQueue()}async add(e,t={}){return new Promise((n,i)=>{let run=async()=>{this._pendingCount++,this._intervalCount++;try{let o=void 0===this._timeout&&void 0===t.timeout?e():r.default(Promise.resolve(e()),void 0===t.timeout?this._timeout:t.timeout,()=>{(void 0===t.throwOnTimeout?this._throwOnTimeout:t.throwOnTimeout)&&i(s)});n(await o)}catch(e){i(e)}this._next()};this._queue.enqueue(run,t),this._tryToStartAnother(),this.emit("add")})}async addAll(e,t){return Promise.all(e.map(async e=>this.add(e,t)))}start(){return this._isPaused?(this._isPaused=!1,this._processQueue(),this):this}pause(){this._isPaused=!0}clear(){this._queue=new this._queueClass}async onEmpty(){if(0!==this._queue.size)return new Promise(e=>{let t=this._resolveEmpty;this._resolveEmpty=()=>{t(),e()}})}async onIdle(){if(0!==this._pendingCount||0!==this._queue.size)return new Promise(e=>{let t=this._resolveIdle;this._resolveIdle=()=>{t(),e()}})}get size(){return this._queue.size}sizeBy(e){return this._queue.filter(e).length}get pending(){return this._pendingCount}get isPaused(){return this._isPaused}get timeout(){return this._timeout}set timeout(e){this._timeout=e}},module1.exports=n})()},"(react-server)/./dist/compiled/react-dom/cjs/react-dom.react-server.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+'"'}var React=__webpack_require__("(react-server)/./dist/compiled/react/react.react-server.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};if(!React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.');"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.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.version="19.3.0-canary-cbb046ab-20260731"}()},"(react-server)/./dist/compiled/react-dom/react-dom.react-server.js"(module1,__unused_rspack_exports,__webpack_require__){"use strict";module1.exports=__webpack_require__("(react-server)/./dist/compiled/react-dom/cjs/react-dom.react-server.development.js")},"(react-server)/./dist/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.development.js"(__unused_rspack_module,exports,__webpack_require__){"use strict";!function(){function voidHandler(){}function noop(){}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 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=destinationHasCapacity&&destination}function completeWriting(destination){currentView&&0<writtenBytes&&destination.write(currentView.subarray(0,writtenBytes)),currentView=null,writtenBytes=0,destinationHasCapacity=!0}function byteLengthOfChunk(chunk){return"string"==typeof chunk?Buffer.byteLength(chunk,"utf8"):chunk.byteLength}function isClientReference(reference){return reference.$$typeof===CLIENT_REFERENCE_TAG$1}function registerClientReferenceImpl(proxyImplementation,id,async){return Object.defineProperties(proxyImplementation,{$$typeof:{value:CLIENT_REFERENCE_TAG$1},$$id:{value:id},$$async:{value:async}})}function bind(){var newFn=FunctionBind.apply(this,arguments);if(this.$$typeof===SERVER_REFERENCE_TAG){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);return Object.defineProperties(newFn,{$$typeof:{value:SERVER_REFERENCE_TAG},$$id:{value:this.$$id},$$bound:args={value:this.$$bound?this.$$bound.concat(args):args},$$location:{value:this.$$location,configurable:!0},bind:{value:bind,configurable:!0}})}return newFn}function getReference(target,name){switch(name){case"$$typeof":return target.$$typeof;case"$$id":return target.$$id;case"$$async":return target.$$async;case"name":return target.name;case"defaultProps":case"_debugInfo":case"toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case"__esModule":var moduleId=target.$$id;return target.default=registerClientReferenceImpl(function(){throw Error("Attempted to call the default export of "+moduleId+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},target.$$id+"#",target.$$async),!0;case"then":if(target.then)return target.then;if(target.$$async)return;var clientReference=registerClientReferenceImpl({},target.$$id,!0),proxy=new Proxy(clientReference,proxyHandlers$1);return target.status="fulfilled",target.value=proxy,target.then=registerClientReferenceImpl(function(resolve){return Promise.resolve(resolve(proxy))},target.$$id+"#then",!1)}if("symbol"==typeof name)throw Error("Cannot read Symbol exports. Only named exports are supported on a client module imported on the server.");return(clientReference=target[name])||(Object.defineProperty(clientReference=registerClientReferenceImpl(function(){throw Error("Attempted to call "+String(name)+"() from the server but "+String(name)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},target.$$id+"#"+name,target.$$async),"name",{value:name}),clientReference=target[name]=new Proxy(clientReference,deepProxyHandlers)),clientReference}function resolveClientReferenceMetadata(config,clientReference){var modulePath=clientReference.$$id,name="",resolvedModuleData=config[modulePath];if(resolvedModuleData)name=resolvedModuleData.name;else{var idx=modulePath.lastIndexOf("#");if(-1!==idx&&(name=modulePath.slice(idx+1),resolvedModuleData=config[modulePath.slice(0,idx)]),!resolvedModuleData)throw Error('Could not find the module "'+modulePath+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.')}if(!0===resolvedModuleData.async&&!0===clientReference.$$async)throw Error('The module "'+modulePath+'" is marked as an async ESM module but was loaded as a CJS proxy. This is probably a bug in the React Server Components bundler.');return!0===resolvedModuleData.async||!0===clientReference.$$async?[resolvedModuleData.id,resolvedModuleData.chunks,name,1]:[resolvedModuleData.id,resolvedModuleData.chunks,name]}function preload(href,as,options){if("string"==typeof href){var request=resolveRequest();if(request){var hints=request.hints,key="L";if("image"===as&&options){var imageSrcSet=options.imageSrcSet,imageSizes=options.imageSizes,uniquePart="";"string"==typeof imageSrcSet&&""!==imageSrcSet?(uniquePart+="["+imageSrcSet+"]","string"==typeof imageSizes&&(uniquePart+="["+imageSizes+"]")):uniquePart+="[][]"+href,key+="[image]"+uniquePart}else key+="["+as+"]"+href;hints.has(key)||(hints.add(key),(options=trimOptions(options))?emitHint(request,"L",[href,as,options]):emitHint(request,"L",[href,as]))}else previousDispatcher.L(href,as,options)}}function preloadModule$1(href,options){if("string"==typeof href){var request=resolveRequest();if(request){var hints=request.hints,key="m|"+href;if(hints.has(key))return;return hints.add(key),(options=trimOptions(options))?emitHint(request,"m",[href,options]):emitHint(request,"m",href)}previousDispatcher.m(href,options)}}function trimOptions(options){if(null==options)return null;var key,hasProperties=!1,trimmed={};for(key in options)null!=options[key]&&(hasProperties=!0,trimmed[key]=options[key]);return hasProperties?trimmed:null}function resolveOwner(){if(currentOwner)return currentOwner;var owner=componentStorage.getStore();return owner?owner:null}function resolvePromiseOrAwaitNode(unresolvedNode,endTime){return unresolvedNode.tag=3===unresolvedNode.tag?1:2,unresolvedNode.end=endTime,unresolvedNode}function getAsyncSequenceFromPromise(promise){try{var asyncId=getAsyncId.call(promise)}catch(x){}return void 0===asyncId?null:void 0===(promise=pendingOperations.get(asyncId))?null:promise}function collectStackTracePrivate(error,structuredStackTrace){error=[];for(var i=framesToSkip;i<structuredStackTrace.length;i++){var callSite=structuredStackTrace[i],name=callSite.getFunctionName()||"<anonymous>";if(name.includes("react_stack_bottom_frame"))break;if(callSite.isNative())callSite=callSite.isAsync(),error.push([name,"",0,0,0,0,callSite]);else{if(callSite.isConstructor())name="new "+name;else if(!callSite.isToplevel()){var callSite$jscomp$0=callSite;name=callSite$jscomp$0.getTypeName();var methodName=callSite$jscomp$0.getMethodName();callSite$jscomp$0=callSite$jscomp$0.getFunctionName();var result="";callSite$jscomp$0?(name&&identifierRegExp.test(callSite$jscomp$0)&&callSite$jscomp$0!==name&&(result+=name+"."),result+=callSite$jscomp$0,!methodName||callSite$jscomp$0===methodName||callSite$jscomp$0.endsWith("."+methodName)||callSite$jscomp$0.endsWith(" "+methodName)||(result+=" [as "+methodName+"]")):(name&&(result+=name+"."),result=methodName?result+methodName:result+"<anonymous>"),name=result}"<anonymous>"===name&&(name=""),"<anonymous>"===(methodName=callSite.getScriptNameOrSourceURL()||"<anonymous>")&&(methodName="",callSite.isEval()&&(callSite$jscomp$0=callSite.getEvalOrigin())&&(methodName=callSite$jscomp$0.toString()+", <anonymous>")),callSite$jscomp$0=callSite.getLineNumber()||0,result=callSite.getColumnNumber()||0;var enclosingLine="function"==typeof callSite.getEnclosingLineNumber?callSite.getEnclosingLineNumber()||0:0,enclosingCol="function"==typeof callSite.getEnclosingColumnNumber?callSite.getEnclosingColumnNumber()||0:0;callSite=callSite.isAsync(),error.push([name,methodName,callSite$jscomp$0,result,enclosingLine,enclosingCol,callSite])}}return collectedStackTrace=error,""}function collectStackTrace(error,structuredStackTrace){collectStackTracePrivate(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 parseStackTracePrivate(error,skipFrames){collectedStackTrace=null,framesToSkip=skipFrames,skipFrames=Error.prepareStackTrace,Error.prepareStackTrace=collectStackTracePrivate;try{if(""!==error.stack)return null}finally{Error.prepareStackTrace=skipFrames}return collectedStackTrace}function parseStackTrace(error,skipFrames){var existing=stackTraceCache.get(error);if(void 0!==existing)return existing;collectedStackTrace=null,framesToSkip=skipFrames,existing=Error.prepareStackTrace,Error.prepareStackTrace=collectStackTrace;try{var stack=String(error.stack)}finally{Error.prepareStackTrace=existing}if(null!==collectedStackTrace)return stack=collectedStackTrace,collectedStackTrace=null,stackTraceCache.set(error,stack),stack;for(stack.startsWith("Error: react-stack-top-frame\n")&&(stack=stack.slice(29)),-1!==(existing=stack.indexOf("react_stack_bottom_frame"))&&(existing=stack.lastIndexOf("\n",existing)),-1!==existing&&(stack=stack.slice(0,existing)),stack=stack.split("\n"),existing=[];skipFrames<stack.length;skipFrames++){var parsed=frameRegExp.exec(stack[skipFrames]);if(parsed){var name=parsed[1]||"",isAsync="async "===parsed[8];"<anonymous>"===name?name="":name.startsWith("async ")&&(name=name.slice(5),isAsync=!0);var filename=parsed[2]||parsed[5]||"";"<anonymous>"===filename&&(filename=""),existing.push([name,filename,+(parsed[3]||parsed[6]),+(parsed[4]||parsed[7]),0,0,isAsync])}}return stackTraceCache.set(error,existing),existing}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 getThenableStateAfterSuspending(){var state=thenableState||[];return state._componentDebugInfo=currentComponentDebugInfo,thenableState=currentComponentDebugInfo=null,state}function unsupportedHook(){throw Error("This Hook is not supported in Server Components.")}function unsupportedRefresh(){throw Error("Refreshing the cache is not supported in Server Components.")}function unsupportedContext(){throw Error("Cannot read a Client Context from a Server Component.")}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 resetOwnerStackLimit(){var now=getCurrentTime();1e3<now-lastResetTime&&(ReactSharedInternalsServer.recentlyCreatedOwnerStacks=0,lastResetTime=now)}function isGetter(object,name){if(object===Object.prototype||null===object)return!1;var descriptor=Object.getOwnPropertyDescriptor(object,name);return void 0===descriptor?isGetter(getPrototypeOf(object),name):"function"==typeof descriptor.get}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(value1){switch(typeof value1){case"string":return JSON.stringify(10>=value1.length?value1:value1.slice(0,10)+"...");case"object":if(isArrayImpl(value1))return"[...]";if(null!==value1&&value1.$$typeof===CLIENT_REFERENCE_TAG)return"client";return"Object"===(value1=objectName(value1))?"{...}":value1;case"function":return value1.$$typeof===CLIENT_REFERENCE_TAG?"client":(value1=value1.displayName||value1.name)?"function "+value1:"function";default:return String(value1)}}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 value1=objectOrArray[i];value1="string"==typeof value1?value1:"object"==typeof value1&&null!==value1?"{"+describeObjectForErrorMessage(value1)+"}":"{"+describeValueForErrorMessage(value1)+"}",""+i===expandedName?(start=objKind.length,length=value1.length,objKind+=value1):objKind=15>value1.length&&40>objKind.length+value1.length?objKind+value1: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(value1=type[i])+"=";var _value2=objectOrArray[value1],_substr2=value1===expandedName&&"object"==typeof _value2&&null!==_value2?describeObjectForErrorMessage(_value2):describeValueForErrorMessage(_value2);"string"!=typeof _value2&&(_substr2="{"+_substr2+"}"),value1===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(value1=type[i])+": ",_value2="object"==typeof(_value2=objectOrArray[value1])&&null!==_value2?describeObjectForErrorMessage(_value2):describeValueForErrorMessage(_value2),value1===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 defaultFilterStackFrame(filename){return""!==filename&&!filename.startsWith("node:")&&!filename.includes("node_modules")}function devirtualizeURL(url){if(url.startsWith("about://React/")){var envIdx=url.indexOf("/",14),suffixIdx=url.lastIndexOf("?");if(-1<envIdx&&-1<suffixIdx)return decodeURI(url.slice(envIdx+1,suffixIdx))}return url}function filterStackTrace(request,stack){request=request.filterStackFrame;for(var filteredStack=[],i=0;i<stack.length;i++){var callsite=stack[i],functionName=callsite[0],url=devirtualizeURL(callsite[1]);request(url,functionName,callsite[2],callsite[3])&&((callsite=callsite.slice(0))[1]=url,filteredStack.push(callsite))}return filteredStack}function hasUnfilteredFrame(request,stack){request=request.filterStackFrame;for(var i=0;i<stack.length;i++){var callsite=stack[i],functionName=callsite[0],url=devirtualizeURL(callsite[1]),lineNumber=callsite[2],columnNumber=callsite[3];if(!callsite[6]&&request(url,functionName,lineNumber,columnNumber)&&""!==url)return!0}return!1}function isAwaitInUserspace(request,stack){for(var firstFrame=0;stack.length>firstFrame&&function(url,functionName){if("node:internal/async_hooks"===url)return!0;if(""!==url)return!1;switch(functionName){case"Promise.then":case"Promise.catch":case"Promise.finally":case"Function.reject":case"Promise.reject":case"Function.resolve":case"Promise.resolve":case"Function.all":case"Promise.all":case"Function.allSettled":case"Promise.allSettled":case"Function.any":case"Promise.any":case"Function.race":case"Promise.race":case"Function.try":case"Promise.try":case"Function.withResolvers":case"Promise.withResolvers":return!0;default:return!1}}(stack[firstFrame][1],stack[firstFrame][0]);)firstFrame++;if(stack.length>firstFrame){request=request.filterStackFrame,firstFrame=(stack=stack[firstFrame])[0];var url=devirtualizeURL(stack[1]);return request(url,firstFrame,stack[2],stack[3])&&""!==url}return!1}function patchConsole(consoleInst,methodName){var descriptor=Object.getOwnPropertyDescriptor(consoleInst,methodName);if(descriptor&&(descriptor.configurable||descriptor.writable)&&"function"==typeof descriptor.value){var originalMethod=descriptor.value;descriptor=Object.getOwnPropertyDescriptor(originalMethod,"name");var wrapperMethod=function(){var request=resolveRequest();if(("assert"!==methodName||!arguments[0])&&null!==request){var stack=filterStackTrace(request,parseStackTracePrivate(Error("react-stack-top-frame"),1)||[]);request.pendingDebugChunks++;var owner=resolveOwner(),args=Array.from(arguments);a:{var env=0;switch(methodName){case"dir":case"dirxml":case"groupEnd":case"table":env=null;break a;case"assert":env=1}var format=args[env],style=args[env+1],badge=args[env+2];"string"==typeof format&&format.startsWith("\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"===style&&"string"==typeof badge?(" "===(format=format.slice(18))[0]&&(format=format.slice(1)),args.splice(env,4,format),env=badge.slice(1,badge.length-1)):env=null}null===env&&(env=(0,request.environmentName)()),null!=owner&&outlineComponentInfo(request,owner),(badge=[methodName,stack,owner,env]).push.apply(badge,args),"["!==(args=serializeDebugModel(request,(null===request.deferredDebugObjects?500:10)+stack.length,badge))[0]&&(args=serializeDebugModel(request,10+stack.length,[methodName,stack,owner,env,"Unknown Value: React could not send it from the server."])),request.completedDebugChunks.push(":W"+args+"\n")}return originalMethod.apply(this,arguments)};descriptor&&Object.defineProperty(wrapperMethod,"name",descriptor),Object.defineProperty(consoleInst,methodName,{value:wrapperMethod})}}function getCurrentStackInDEV(){var owner=resolveOwner();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_r