Initial boiler plate project

This commit is contained in:
2024-09-24 03:52:46 +00:00
parent 6120b2d6c3
commit 154b93e267
10034 changed files with 2079352 additions and 2 deletions

View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) Meta Platforms, Inc. and affiliates.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -0,0 +1,40 @@
/*
React
react-server-dom-turbopack-client.browser.production.min.js
Copyright (c) Meta Platforms, Inc. and affiliates.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
'use strict';var p=require("react-dom"),q={stream:!0};function r(a,b){if(a){var c=a[b[0]];if(a=c[b[2]])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=b[2]}return 4===b.length?[a.id,a.chunks,c,1]:[a.id,a.chunks,c]}return b}var u=new Map;
function w(a){var b=__turbopack_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function x(){}
function y(a){for(var b=a[1],c=[],d=0;d<b.length;d++){var f=b[d],h=u.get(f);if(void 0===h){h=__turbopack_load__(f);c.push(h);var e=u.set.bind(u,f,null);h.then(e,x);u.set(f,h)}else null!==h&&c.push(h)}return 4===a.length?0===c.length?w(a[0]):Promise.all(c).then(function(){return w(a[0])}):0<c.length?Promise.all(c):null}var z=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,A=Symbol.for("react.element"),B=Symbol.for("react.lazy"),C=Symbol.for("react.postpone"),D=Symbol.iterator;
function F(a){if(null===a||"object"!==typeof a)return null;a=D&&a[D]||a["@@iterator"];return"function"===typeof a?a:null}var G=Array.isArray,H=Object.getPrototypeOf,aa=Object.prototype,I=new WeakMap;function ba(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"}
function ca(a,b,c,d){function f(k,g){if(null===g)return null;if("object"===typeof g){if("function"===typeof g.then){null===l&&(l=new FormData);e++;var n=h++;g.then(function(m){m=JSON.stringify(m,f);var t=l;t.append(b+n,m);e--;0===e&&c(t)},function(m){d(m)});return"$@"+n.toString(16)}if(G(g))return g;if(g instanceof FormData){null===l&&(l=new FormData);var v=l;k=h++;var E=b+k+"_";g.forEach(function(m,t){v.append(E+t,m)});return"$K"+k.toString(16)}if(g instanceof Map)return g=JSON.stringify(Array.from(g),
f),null===l&&(l=new FormData),k=h++,l.append(b+k,g),"$Q"+k.toString(16);if(g instanceof Set)return g=JSON.stringify(Array.from(g),f),null===l&&(l=new FormData),k=h++,l.append(b+k,g),"$W"+k.toString(16);if(F(g))return Array.from(g);k=H(g);if(k!==aa&&(null===k||null!==H(k)))throw Error("Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.");return g}if("string"===typeof g){if("Z"===g[g.length-1]&&this[k]instanceof Date)return"$D"+g;
g="$"===g[0]?"$"+g:g;return g}if("boolean"===typeof g)return g;if("number"===typeof g)return ba(g);if("undefined"===typeof g)return"$undefined";if("function"===typeof g){g=I.get(g);if(void 0!==g)return g=JSON.stringify(g,f),null===l&&(l=new FormData),k=h++,l.set(b+k,g),"$F"+k.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof g){k=g.description;if(Symbol.for(k)!==g)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+
(g.description+") cannot be found among global symbols."));return"$S"+k}if("bigint"===typeof g)return"$n"+g.toString(10);throw Error("Type "+typeof g+" is not supported as an argument to a Server Function.");}var h=1,e=0,l=null;a=JSON.stringify(a,f);null===l?c(a):(l.set(b+"0",a),0===e&&c(l))}function da(a,b){I.set(a,b)}function J(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}J.prototype=Object.create(Promise.prototype);
J.prototype.then=function(a,b){switch(this.status){case "resolved_model":K(this);break;case "resolved_module":L(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":case "cyclic":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};
function ea(a){switch(a.status){case "resolved_model":K(a);break;case "resolved_module":L(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":throw a;default:throw a.reason;}}function M(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function N(a,b,c){switch(a.status){case "fulfilled":M(b,a.value);break;case "pending":case "blocked":case "cyclic":a.value=b;a.reason=c;break;case "rejected":c&&M(c,a.reason)}}
function O(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&M(c,b)}}function P(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.value,d=a.reason;a.status="resolved_module";a.value=b;null!==c&&(L(a),N(a,c,d))}}var Q=null,R=null;
function K(a){var b=Q,c=R;Q=a;R=null;var d=a.value;a.status="cyclic";a.value=null;a.reason=null;try{var f=JSON.parse(d,a._response._fromJSON);if(null!==R&&0<R.deps)R.value=f,a.status="blocked",a.value=null,a.reason=null;else{var h=a.value;a.status="fulfilled";a.value=f;null!==h&&M(h,f)}}catch(e){a.status="rejected",a.reason=e}finally{Q=b,R=c}}
function L(a){try{var b=a.value,c=__turbopack_require__(b[0]);if(4===b.length&&"function"===typeof c.then)if("fulfilled"===c.status)c=c.value;else throw c.reason;var d="*"===b[2]?c:""===b[2]?c.__esModule?c.default:c:c[b[2]];a.status="fulfilled";a.value=d}catch(f){a.status="rejected",a.reason=f}}function S(a,b){a._chunks.forEach(function(c){"pending"===c.status&&O(c,b)})}function T(a,b){var c=a._chunks,d=c.get(b);d||(d=new J("pending",null,null,a),c.set(b,d));return d}
function fa(a,b,c,d){if(R){var f=R;d||f.deps++}else f=R={deps:d?0:1,value:null};return function(h){b[c]=h;f.deps--;0===f.deps&&"blocked"===a.status&&(h=a.value,a.status="fulfilled",a.value=f.value,null!==h&&M(h,f.value))}}function ha(a){return function(b){return O(a,b)}}
function ia(a,b){function c(){var f=Array.prototype.slice.call(arguments),h=b.bound;return h?"fulfilled"===h.status?d(b.id,h.value.concat(f)):Promise.resolve(h).then(function(e){return d(b.id,e.concat(f))}):d(b.id,f)}var d=a._callServer;I.set(c,b);return c}function U(a,b){a=T(a,b);switch(a.status){case "resolved_model":K(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}}
function ja(a,b,c,d){if("$"===d[0]){if("$"===d)return A;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=T(a,b),{$$typeof:B,_payload:a,_init:ea};case "@":if(2===d.length)return new Promise(function(){});b=parseInt(d.slice(2),16);return T(a,b);case "S":return Symbol.for(d.slice(2));case "F":return b=parseInt(d.slice(2),16),b=U(a,b),ia(a,b);case "Q":return b=parseInt(d.slice(2),16),a=U(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=U(a,b),new Set(a);case "I":return Infinity;
case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=T(a,d);switch(a.status){case "resolved_model":K(a);break;case "resolved_module":L(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":return d=Q,a.then(fa(d,b,c,"cyclic"===a.status),ha(d)),null;default:throw a.reason;}}}return d}
function ka(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function V(a,b,c,d,f){var h=new Map;a={_bundlerConfig:a,_moduleLoading:b,_callServer:void 0!==c?c:ka,_encodeFormAction:d,_nonce:f,_chunks:h,_stringDecoder:new TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=la(a);return a}function W(a,b,c){a._chunks.set(b,new J("fulfilled",c,null,a))}
function ma(a,b,c){var d=a._chunks,f=d.get(b);c=JSON.parse(c,a._fromJSON);var h=r(a._bundlerConfig,c);if(c=y(h)){if(f){var e=f;e.status="blocked"}else e=new J("blocked",null,null,a),d.set(b,e);c.then(function(){return P(e,h)},function(l){return O(e,l)})}else f?P(f,h):d.set(b,new J("resolved_module",h,null,a))}function X(a,b){for(var c=a.length,d=b.length,f=0;f<c;f++)d+=a[f].byteLength;d=new Uint8Array(d);for(var h=f=0;h<c;h++){var e=a[h];d.set(e,f);f+=e.byteLength}d.set(b,f);return d}
function Y(a,b,c,d,f,h){c=0===c.length&&0===d.byteOffset%h?d:X(c,d);f=new f(c.buffer,c.byteOffset,c.byteLength/h);W(a,b,f)}
function na(a,b,c,d,f){switch(c){case 65:W(a,b,X(d,f).buffer);return;case 67:Y(a,b,d,f,Int8Array,1);return;case 99:W(a,b,0===d.length?f:X(d,f));return;case 85:Y(a,b,d,f,Uint8ClampedArray,1);return;case 83:Y(a,b,d,f,Int16Array,2);return;case 115:Y(a,b,d,f,Uint16Array,2);return;case 76:Y(a,b,d,f,Int32Array,4);return;case 108:Y(a,b,d,f,Uint32Array,4);return;case 70:Y(a,b,d,f,Float32Array,4);return;case 100:Y(a,b,d,f,Float64Array,8);return;case 78:Y(a,b,d,f,BigInt64Array,8);return;case 109:Y(a,b,d,f,
BigUint64Array,8);return;case 86:Y(a,b,d,f,DataView,1);return}for(var h=a._stringDecoder,e="",l=0;l<d.length;l++)e+=h.decode(d[l],q);e+=h.decode(f);switch(c){case 73:ma(a,b,e);break;case 72:b=e[0];e=e.slice(1);a=JSON.parse(e,a._fromJSON);if(e=z.current)switch(b){case "D":e.prefetchDNS(a);break;case "C":"string"===typeof a?e.preconnect(a):e.preconnect(a[0],a[1]);break;case "L":b=a[0];c=a[1];3===a.length?e.preload(b,c,a[2]):e.preload(b,c);break;case "m":"string"===typeof a?e.preloadModule(a):e.preloadModule(a[0],
a[1]);break;case "S":"string"===typeof a?e.preinitStyle(a):e.preinitStyle(a[0],0===a[1]?void 0:a[1],3===a.length?a[2]:void 0);break;case "X":"string"===typeof a?e.preinitScript(a):e.preinitScript(a[0],a[1]);break;case "M":"string"===typeof a?e.preinitModuleScript(a):e.preinitModuleScript(a[0],a[1])}break;case 69:c=JSON.parse(e).digest;e=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.");
e.stack="Error: "+e.message;e.digest=c;c=a._chunks;(d=c.get(b))?O(d,e):c.set(b,new J("rejected",null,e,a));break;case 84:a._chunks.set(b,new J("fulfilled",e,null,a));break;case 68:case 87:throw Error("Failed to read a RSC payload created by a development version of React on the server while using a production version on the client. Always use matching versions on the server and the client.");case 80:e=Error("A Server Component was postponed. The reason is omitted in production builds to avoid leaking sensitive details.");
e.$$typeof=C;e.stack="Error: "+e.message;c=a._chunks;(d=c.get(b))?O(d,e):c.set(b,new J("rejected",null,e,a));break;default:d=a._chunks,(c=d.get(b))?"pending"===c.status&&(a=c.value,b=c.reason,c.status="resolved_model",c.value=e,null!==a&&(K(c),N(c,a,b))):d.set(b,new J("resolved_model",e,null,a))}}function la(a){return function(b,c){return"string"===typeof c?ja(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===A?{$$typeof:A,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}
function Z(a,b){function c(h){var e=h.value;if(h.done)S(a,Error("Connection closed."));else{var l=0,k=a._rowState;h=a._rowID;for(var g=a._rowTag,n=a._rowLength,v=a._buffer,E=e.length;l<E;){var m=-1;switch(k){case 0:m=e[l++];58===m?k=1:h=h<<4|(96<m?m-87:m-48);continue;case 1:k=e[l];84===k||65===k||67===k||99===k||85===k||83===k||115===k||76===k||108===k||70===k||100===k||78===k||109===k||86===k?(g=k,k=2,l++):64<k&&91>k?(g=k,k=3,l++):(g=0,k=3);continue;case 2:m=e[l++];44===m?k=4:n=n<<4|(96<m?m-87:m-
48);continue;case 3:m=e.indexOf(10,l);break;case 4:m=l+n,m>e.length&&(m=-1)}var t=e.byteOffset+l;if(-1<m)n=new Uint8Array(e.buffer,t,m-l),na(a,h,g,v,n),l=m,3===k&&l++,n=h=g=k=0,v.length=0;else{e=new Uint8Array(e.buffer,t,e.byteLength-l);v.push(e);n-=e.byteLength;break}}a._rowState=k;a._rowID=h;a._rowTag=g;a._rowLength=n;return f.read().then(c).catch(d)}}function d(h){S(a,h)}var f=b.getReader();f.read().then(c).catch(d)}
exports.createFromFetch=function(a,b){var c=V(null,null,b&&b.callServer?b.callServer:void 0,void 0,void 0);a.then(function(d){Z(c,d.body)},function(d){S(c,d)});return T(c,0)};exports.createFromReadableStream=function(a,b){b=V(null,null,b&&b.callServer?b.callServer:void 0,void 0,void 0);Z(b,a);return T(b,0)};exports.createServerReference=function(a,b){function c(){var d=Array.prototype.slice.call(arguments);return b(a,d)}da(c,{id:a,bound:null});return c};
exports.encodeReply=function(a){return new Promise(function(b,c){ca(a,"",b,c)})};
//# sourceMappingURL=react-server-dom-turbopack-client.browser.production.min.js.map

View File

@ -0,0 +1,47 @@
/*
React
react-server-dom-turbopack-client.edge.production.min.js
Copyright (c) Meta Platforms, Inc. and affiliates.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
'use strict';var p=require("react-dom"),q={stream:!0};function r(a,b){if(a){var c=a[b[0]];if(a=c[b[2]])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=b[2]}return 4===b.length?[a.id,a.chunks,c,1]:[a.id,a.chunks,c]}return b}var t=new Map;
function v(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function aa(){}
function ba(a){for(var b=a[1],c=[],d=0;d<b.length;d++){var e=b[d],g=t.get(e);if(void 0===g){g=globalThis.__next_chunk_load__(e);c.push(g);var f=t.set.bind(t,e,null);g.then(f,aa);t.set(e,g)}else null!==g&&c.push(g)}return 4===a.length?0===c.length?v(a[0]):Promise.all(c).then(function(){return v(a[0])}):0<c.length?Promise.all(c):null}
function ca(a,b,c){if(null!==a)for(var d=0;d<b.length;d++){var e=c,g=x.current;if(g){var f=g.preinitScript,l=a.prefix+b[d];var h=a.crossOrigin;h="string"===typeof h?"use-credentials"===h?h:"":void 0;f.call(g,l,{crossOrigin:h,nonce:e})}}}var x=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,y=Symbol.for("react.element"),da=Symbol.for("react.lazy"),ea=Symbol.for("react.postpone"),z=Symbol.iterator;
function fa(a){if(null===a||"object"!==typeof a)return null;a=z&&a[z]||a["@@iterator"];return"function"===typeof a?a:null}var ha=Array.isArray,A=Object.getPrototypeOf,ia=Object.prototype,B=new WeakMap;function ja(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"}
function C(a,b,c,d){function e(h,k){if(null===k)return null;if("object"===typeof k){if("function"===typeof k.then){null===l&&(l=new FormData);f++;var n=g++;k.then(function(m){m=JSON.stringify(m,e);var u=l;u.append(b+n,m);f--;0===f&&c(u)},function(m){d(m)});return"$@"+n.toString(16)}if(ha(k))return k;if(k instanceof FormData){null===l&&(l=new FormData);var w=l;h=g++;var E=b+h+"_";k.forEach(function(m,u){w.append(E+u,m)});return"$K"+h.toString(16)}if(k instanceof Map)return k=JSON.stringify(Array.from(k),
e),null===l&&(l=new FormData),h=g++,l.append(b+h,k),"$Q"+h.toString(16);if(k instanceof Set)return k=JSON.stringify(Array.from(k),e),null===l&&(l=new FormData),h=g++,l.append(b+h,k),"$W"+h.toString(16);if(fa(k))return Array.from(k);h=A(k);if(h!==ia&&(null===h||null!==A(h)))throw Error("Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.");return k}if("string"===typeof k){if("Z"===k[k.length-1]&&this[h]instanceof Date)return"$D"+k;
k="$"===k[0]?"$"+k:k;return k}if("boolean"===typeof k)return k;if("number"===typeof k)return ja(k);if("undefined"===typeof k)return"$undefined";if("function"===typeof k){k=B.get(k);if(void 0!==k)return k=JSON.stringify(k,e),null===l&&(l=new FormData),h=g++,l.set(b+h,k),"$F"+h.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof k){h=k.description;if(Symbol.for(h)!==k)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+
(k.description+") cannot be found among global symbols."));return"$S"+h}if("bigint"===typeof k)return"$n"+k.toString(10);throw Error("Type "+typeof k+" is not supported as an argument to a Server Function.");}var g=1,f=0,l=null;a=JSON.stringify(a,e);null===l?c(a):(l.set(b+"0",a),0===f&&c(l))}var D=new WeakMap;
function ka(a){var b,c,d=new Promise(function(e,g){b=e;c=g});C(a,"",function(e){if("string"===typeof e){var g=new FormData;g.append("0",e);e=g}d.status="fulfilled";d.value=e;b(e)},function(e){d.status="rejected";d.reason=e;c(e)});return d}
function la(a){var b=B.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var c=null;if(null!==b.bound){c=D.get(b);c||(c=ka(b),D.set(b,c));if("rejected"===c.status)throw c.reason;if("fulfilled"!==c.status)throw c;b=c.value;var d=new FormData;b.forEach(function(e,g){d.append("$ACTION_"+a+":"+g,e)});c=d;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}}
function F(a,b){var c=B.get(this);if(!c)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(c.id!==a)return!1;var d=c.bound;if(null===d)return 0===b;switch(d.status){case "fulfilled":return d.value.length===b;case "pending":throw d;case "rejected":throw d.reason;default:throw"string"!==typeof d.status&&(d.status="pending",d.then(function(e){d.status="fulfilled";d.value=e},function(e){d.status="rejected";d.reason=e})),d;}}
function G(a,b,c){Object.defineProperties(a,{$$FORM_ACTION:{value:void 0===c?la:function(){var d=B.get(this);if(!d)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var e=d.bound;null===e&&(e=Promise.resolve([]));return c(d.id,e)}},$$IS_SIGNATURE_EQUAL:{value:F},bind:{value:H}});B.set(a,b)}var ma=Function.prototype.bind,na=Array.prototype.slice;
function H(){var a=ma.apply(this,arguments),b=B.get(this);if(b){var c=na.call(arguments,1),d=null;d=null!==b.bound?Promise.resolve(b.bound).then(function(e){return e.concat(c)}):Promise.resolve(c);Object.defineProperties(a,{$$FORM_ACTION:{value:this.$$FORM_ACTION},$$IS_SIGNATURE_EQUAL:{value:F},bind:{value:H}});B.set(a,{id:b.id,bound:d})}return a}function oa(a,b,c){function d(){var e=Array.prototype.slice.call(arguments);return b(a,e)}G(d,{id:a,bound:null},c);return d}
function I(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}I.prototype=Object.create(Promise.prototype);I.prototype.then=function(a,b){switch(this.status){case "resolved_model":J(this);break;case "resolved_module":K(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":case "cyclic":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};
function pa(a){switch(a.status){case "resolved_model":J(a);break;case "resolved_module":K(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":throw a;default:throw a.reason;}}function L(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function M(a,b,c){switch(a.status){case "fulfilled":L(b,a.value);break;case "pending":case "blocked":case "cyclic":a.value=b;a.reason=c;break;case "rejected":c&&L(c,a.reason)}}
function N(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&L(c,b)}}function O(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.value,d=a.reason;a.status="resolved_module";a.value=b;null!==c&&(K(a),M(a,c,d))}}var P=null,Q=null;
function J(a){var b=P,c=Q;P=a;Q=null;var d=a.value;a.status="cyclic";a.value=null;a.reason=null;try{var e=JSON.parse(d,a._response._fromJSON);if(null!==Q&&0<Q.deps)Q.value=e,a.status="blocked",a.value=null,a.reason=null;else{var g=a.value;a.status="fulfilled";a.value=e;null!==g&&L(g,e)}}catch(f){a.status="rejected",a.reason=f}finally{P=b,Q=c}}
function K(a){try{var b=a.value,c=globalThis.__next_require__(b[0]);if(4===b.length&&"function"===typeof c.then)if("fulfilled"===c.status)c=c.value;else throw c.reason;var d="*"===b[2]?c:""===b[2]?c.__esModule?c.default:c:c[b[2]];a.status="fulfilled";a.value=d}catch(e){a.status="rejected",a.reason=e}}function R(a,b){a._chunks.forEach(function(c){"pending"===c.status&&N(c,b)})}function S(a,b){var c=a._chunks,d=c.get(b);d||(d=new I("pending",null,null,a),c.set(b,d));return d}
function qa(a,b,c,d){if(Q){var e=Q;d||e.deps++}else e=Q={deps:d?0:1,value:null};return function(g){b[c]=g;e.deps--;0===e.deps&&"blocked"===a.status&&(g=a.value,a.status="fulfilled",a.value=e.value,null!==g&&L(g,e.value))}}function ra(a){return function(b){return N(a,b)}}
function sa(a,b){function c(){var e=Array.prototype.slice.call(arguments),g=b.bound;return g?"fulfilled"===g.status?d(b.id,g.value.concat(e)):Promise.resolve(g).then(function(f){return d(b.id,f.concat(e))}):d(b.id,e)}var d=a._callServer;G(c,b,a._encodeFormAction);return c}function T(a,b){a=S(a,b);switch(a.status){case "resolved_model":J(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}}
function ta(a,b,c,d){if("$"===d[0]){if("$"===d)return y;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=S(a,b),{$$typeof:da,_payload:a,_init:pa};case "@":if(2===d.length)return new Promise(function(){});b=parseInt(d.slice(2),16);return S(a,b);case "S":return Symbol.for(d.slice(2));case "F":return b=parseInt(d.slice(2),16),b=T(a,b),sa(a,b);case "Q":return b=parseInt(d.slice(2),16),a=T(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=T(a,b),new Set(a);
case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=S(a,d);switch(a.status){case "resolved_model":J(a);break;case "resolved_module":K(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":return d=P,a.then(qa(d,b,c,"cyclic"===a.status),ra(d)),null;default:throw a.reason;}}}return d}
function ua(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function U(a,b,c){a._chunks.set(b,new I("fulfilled",c,null,a))}
function va(a,b,c){var d=a._chunks,e=d.get(b);c=JSON.parse(c,a._fromJSON);var g=r(a._bundlerConfig,c);ca(a._moduleLoading,c[1],a._nonce);if(c=ba(g)){if(e){var f=e;f.status="blocked"}else f=new I("blocked",null,null,a),d.set(b,f);c.then(function(){return O(f,g)},function(l){return N(f,l)})}else e?O(e,g):d.set(b,new I("resolved_module",g,null,a))}
function V(a,b){for(var c=a.length,d=b.length,e=0;e<c;e++)d+=a[e].byteLength;d=new Uint8Array(d);for(var g=e=0;g<c;g++){var f=a[g];d.set(f,e);e+=f.byteLength}d.set(b,e);return d}function W(a,b,c,d,e,g){c=0===c.length&&0===d.byteOffset%g?d:V(c,d);e=new e(c.buffer,c.byteOffset,c.byteLength/g);U(a,b,e)}
function wa(a,b,c,d,e){switch(c){case 65:U(a,b,V(d,e).buffer);return;case 67:W(a,b,d,e,Int8Array,1);return;case 99:U(a,b,0===d.length?e:V(d,e));return;case 85:W(a,b,d,e,Uint8ClampedArray,1);return;case 83:W(a,b,d,e,Int16Array,2);return;case 115:W(a,b,d,e,Uint16Array,2);return;case 76:W(a,b,d,e,Int32Array,4);return;case 108:W(a,b,d,e,Uint32Array,4);return;case 70:W(a,b,d,e,Float32Array,4);return;case 100:W(a,b,d,e,Float64Array,8);return;case 78:W(a,b,d,e,BigInt64Array,8);return;case 109:W(a,b,d,e,
BigUint64Array,8);return;case 86:W(a,b,d,e,DataView,1);return}for(var g=a._stringDecoder,f="",l=0;l<d.length;l++)f+=g.decode(d[l],q);f+=g.decode(e);switch(c){case 73:va(a,b,f);break;case 72:b=f[0];f=f.slice(1);a=JSON.parse(f,a._fromJSON);if(f=x.current)switch(b){case "D":f.prefetchDNS(a);break;case "C":"string"===typeof a?f.preconnect(a):f.preconnect(a[0],a[1]);break;case "L":b=a[0];c=a[1];3===a.length?f.preload(b,c,a[2]):f.preload(b,c);break;case "m":"string"===typeof a?f.preloadModule(a):f.preloadModule(a[0],
a[1]);break;case "S":"string"===typeof a?f.preinitStyle(a):f.preinitStyle(a[0],0===a[1]?void 0:a[1],3===a.length?a[2]:void 0);break;case "X":"string"===typeof a?f.preinitScript(a):f.preinitScript(a[0],a[1]);break;case "M":"string"===typeof a?f.preinitModuleScript(a):f.preinitModuleScript(a[0],a[1])}break;case 69:c=JSON.parse(f).digest;f=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.");
f.stack="Error: "+f.message;f.digest=c;c=a._chunks;(d=c.get(b))?N(d,f):c.set(b,new I("rejected",null,f,a));break;case 84:a._chunks.set(b,new I("fulfilled",f,null,a));break;case 68:case 87:throw Error("Failed to read a RSC payload created by a development version of React on the server while using a production version on the client. Always use matching versions on the server and the client.");case 80:f=Error("A Server Component was postponed. The reason is omitted in production builds to avoid leaking sensitive details.");
f.$$typeof=ea;f.stack="Error: "+f.message;c=a._chunks;(d=c.get(b))?N(d,f):c.set(b,new I("rejected",null,f,a));break;default:d=a._chunks,(c=d.get(b))?"pending"===c.status&&(a=c.value,b=c.reason,c.status="resolved_model",c.value=f,null!==a&&(J(c),M(c,a,b))):d.set(b,new I("resolved_model",f,null,a))}}function xa(a){return function(b,c){return"string"===typeof c?ta(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===y?{$$typeof:y,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}
function X(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");}
function Y(a){var b=a.ssrManifest.moduleMap,c=a.ssrManifest.moduleLoading,d=a.encodeFormAction;a="string"===typeof a.nonce?a.nonce:void 0;var e=new Map;b={_bundlerConfig:b,_moduleLoading:c,_callServer:void 0!==X?X:ua,_encodeFormAction:d,_nonce:a,_chunks:e,_stringDecoder:new TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};b._fromJSON=xa(b);return b}
function Z(a,b){function c(g){var f=g.value;if(g.done)R(a,Error("Connection closed."));else{var l=0,h=a._rowState;g=a._rowID;for(var k=a._rowTag,n=a._rowLength,w=a._buffer,E=f.length;l<E;){var m=-1;switch(h){case 0:m=f[l++];58===m?h=1:g=g<<4|(96<m?m-87:m-48);continue;case 1:h=f[l];84===h||65===h||67===h||99===h||85===h||83===h||115===h||76===h||108===h||70===h||100===h||78===h||109===h||86===h?(k=h,h=2,l++):64<h&&91>h?(k=h,h=3,l++):(k=0,h=3);continue;case 2:m=f[l++];44===m?h=4:n=n<<4|(96<m?m-87:m-
48);continue;case 3:m=f.indexOf(10,l);break;case 4:m=l+n,m>f.length&&(m=-1)}var u=f.byteOffset+l;if(-1<m)n=new Uint8Array(f.buffer,u,m-l),wa(a,g,k,w,n),l=m,3===h&&l++,n=g=k=h=0,w.length=0;else{f=new Uint8Array(f.buffer,u,f.byteLength-l);w.push(f);n-=f.byteLength;break}}a._rowState=h;a._rowID=g;a._rowTag=k;a._rowLength=n;return e.read().then(c).catch(d)}}function d(g){R(a,g)}var e=b.getReader();e.read().then(c).catch(d)}
exports.createFromFetch=function(a,b){var c=Y(b);a.then(function(d){Z(c,d.body)},function(d){R(c,d)});return S(c,0)};exports.createFromReadableStream=function(a,b){b=Y(b);Z(b,a);return S(b,0)};exports.createServerReference=function(a){return oa(a,X)};exports.encodeReply=function(a){return new Promise(function(b,c){C(a,"",b,c)})};
//# sourceMappingURL=react-server-dom-turbopack-client.edge.production.min.js.map

View File

@ -0,0 +1,46 @@
/*
React
react-server-dom-turbopack-client.node.production.min.js
Copyright (c) Meta Platforms, Inc. and affiliates.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
'use strict';var n=require("util"),q=require("react-dom"),r={stream:!0};function t(a,b){if(a){var c=a[b[0]];if(a=c[b[2]])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=b[2]}return 4===b.length?[a.id,a.chunks,c,1]:[a.id,a.chunks,c]}return b}var v=new Map;
function w(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function x(){}
function y(a){for(var b=a[1],c=[],d=0;d<b.length;d++){var e=b[d],g=v.get(e);if(void 0===g){g=globalThis.__next_chunk_load__(e);c.push(g);var f=v.set.bind(v,e,null);g.then(f,x);v.set(e,g)}else null!==g&&c.push(g)}return 4===a.length?0===c.length?w(a[0]):Promise.all(c).then(function(){return w(a[0])}):0<c.length?Promise.all(c):null}
function aa(a,b,c){if(null!==a)for(var d=0;d<b.length;d++){var e=c,g=z.current;if(g){var f=g.preinitScript,l=a.prefix+b[d];var k=a.crossOrigin;k="string"===typeof k?"use-credentials"===k?k:"":void 0;f.call(g,l,{crossOrigin:k,nonce:e})}}}var z=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,B=Symbol.for("react.element"),ba=Symbol.for("react.lazy"),ca=Symbol.for("react.postpone"),C=Symbol.iterator;
function da(a){if(null===a||"object"!==typeof a)return null;a=C&&a[C]||a["@@iterator"];return"function"===typeof a?a:null}var ea=Array.isArray,D=Object.getPrototypeOf,fa=Object.prototype,F=new WeakMap;function ha(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"}
function ia(a,b,c,d){function e(k,h){if(null===h)return null;if("object"===typeof h){if("function"===typeof h.then){null===l&&(l=new FormData);f++;var u=g++;h.then(function(p){p=JSON.stringify(p,e);var A=l;A.append(b+u,p);f--;0===f&&c(A)},function(p){d(p)});return"$@"+u.toString(16)}if(ea(h))return h;if(h instanceof FormData){null===l&&(l=new FormData);var E=l;k=g++;var m=b+k+"_";h.forEach(function(p,A){E.append(m+A,p)});return"$K"+k.toString(16)}if(h instanceof Map)return h=JSON.stringify(Array.from(h),
e),null===l&&(l=new FormData),k=g++,l.append(b+k,h),"$Q"+k.toString(16);if(h instanceof Set)return h=JSON.stringify(Array.from(h),e),null===l&&(l=new FormData),k=g++,l.append(b+k,h),"$W"+k.toString(16);if(da(h))return Array.from(h);k=D(h);if(k!==fa&&(null===k||null!==D(k)))throw Error("Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.");return h}if("string"===typeof h){if("Z"===h[h.length-1]&&this[k]instanceof Date)return"$D"+h;
h="$"===h[0]?"$"+h:h;return h}if("boolean"===typeof h)return h;if("number"===typeof h)return ha(h);if("undefined"===typeof h)return"$undefined";if("function"===typeof h){h=F.get(h);if(void 0!==h)return h=JSON.stringify(h,e),null===l&&(l=new FormData),k=g++,l.set(b+k,h),"$F"+k.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof h){k=h.description;if(Symbol.for(k)!==h)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+
(h.description+") cannot be found among global symbols."));return"$S"+k}if("bigint"===typeof h)return"$n"+h.toString(10);throw Error("Type "+typeof h+" is not supported as an argument to a Server Function.");}var g=1,f=0,l=null;a=JSON.stringify(a,e);null===l?c(a):(l.set(b+"0",a),0===f&&c(l))}var G=new WeakMap;
function ja(a){var b,c,d=new Promise(function(e,g){b=e;c=g});ia(a,"",function(e){if("string"===typeof e){var g=new FormData;g.append("0",e);e=g}d.status="fulfilled";d.value=e;b(e)},function(e){d.status="rejected";d.reason=e;c(e)});return d}
function ka(a){var b=F.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var c=null;if(null!==b.bound){c=G.get(b);c||(c=ja(b),G.set(b,c));if("rejected"===c.status)throw c.reason;if("fulfilled"!==c.status)throw c;b=c.value;var d=new FormData;b.forEach(function(e,g){d.append("$ACTION_"+a+":"+g,e)});c=d;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}}
function H(a,b){var c=F.get(this);if(!c)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(c.id!==a)return!1;var d=c.bound;if(null===d)return 0===b;switch(d.status){case "fulfilled":return d.value.length===b;case "pending":throw d;case "rejected":throw d.reason;default:throw"string"!==typeof d.status&&(d.status="pending",d.then(function(e){d.status="fulfilled";d.value=e},function(e){d.status="rejected";d.reason=e})),d;}}
function I(a,b,c){Object.defineProperties(a,{$$FORM_ACTION:{value:void 0===c?ka:function(){var d=F.get(this);if(!d)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var e=d.bound;null===e&&(e=Promise.resolve([]));return c(d.id,e)}},$$IS_SIGNATURE_EQUAL:{value:H},bind:{value:J}});F.set(a,b)}var la=Function.prototype.bind,ma=Array.prototype.slice;
function J(){var a=la.apply(this,arguments),b=F.get(this);if(b){var c=ma.call(arguments,1),d=null;d=null!==b.bound?Promise.resolve(b.bound).then(function(e){return e.concat(c)}):Promise.resolve(c);Object.defineProperties(a,{$$FORM_ACTION:{value:this.$$FORM_ACTION},$$IS_SIGNATURE_EQUAL:{value:H},bind:{value:J}});F.set(a,{id:b.id,bound:d})}return a}function na(a,b,c){function d(){var e=Array.prototype.slice.call(arguments);return b(a,e)}I(d,{id:a,bound:null},c);return d}
function K(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}K.prototype=Object.create(Promise.prototype);K.prototype.then=function(a,b){switch(this.status){case "resolved_model":L(this);break;case "resolved_module":M(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":case "cyclic":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};
function oa(a){switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":throw a;default:throw a.reason;}}function N(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function O(a,b,c){switch(a.status){case "fulfilled":N(b,a.value);break;case "pending":case "blocked":case "cyclic":a.value=b;a.reason=c;break;case "rejected":c&&N(c,a.reason)}}
function P(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&N(c,b)}}function Q(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.value,d=a.reason;a.status="resolved_module";a.value=b;null!==c&&(M(a),O(a,c,d))}}var R=null,S=null;
function L(a){var b=R,c=S;R=a;S=null;var d=a.value;a.status="cyclic";a.value=null;a.reason=null;try{var e=JSON.parse(d,a._response._fromJSON);if(null!==S&&0<S.deps)S.value=e,a.status="blocked",a.value=null,a.reason=null;else{var g=a.value;a.status="fulfilled";a.value=e;null!==g&&N(g,e)}}catch(f){a.status="rejected",a.reason=f}finally{R=b,S=c}}
function M(a){try{var b=a.value,c=globalThis.__next_require__(b[0]);if(4===b.length&&"function"===typeof c.then)if("fulfilled"===c.status)c=c.value;else throw c.reason;var d="*"===b[2]?c:""===b[2]?c.__esModule?c.default:c:c[b[2]];a.status="fulfilled";a.value=d}catch(e){a.status="rejected",a.reason=e}}function T(a,b){a._chunks.forEach(function(c){"pending"===c.status&&P(c,b)})}function U(a,b){var c=a._chunks,d=c.get(b);d||(d=new K("pending",null,null,a),c.set(b,d));return d}
function pa(a,b,c,d){if(S){var e=S;d||e.deps++}else e=S={deps:d?0:1,value:null};return function(g){b[c]=g;e.deps--;0===e.deps&&"blocked"===a.status&&(g=a.value,a.status="fulfilled",a.value=e.value,null!==g&&N(g,e.value))}}function qa(a){return function(b){return P(a,b)}}
function ra(a,b){function c(){var e=Array.prototype.slice.call(arguments),g=b.bound;return g?"fulfilled"===g.status?d(b.id,g.value.concat(e)):Promise.resolve(g).then(function(f){return d(b.id,f.concat(e))}):d(b.id,e)}var d=a._callServer;I(c,b,a._encodeFormAction);return c}function V(a,b){a=U(a,b);switch(a.status){case "resolved_model":L(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}}
function sa(a,b,c,d){if("$"===d[0]){if("$"===d)return B;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=U(a,b),{$$typeof:ba,_payload:a,_init:oa};case "@":if(2===d.length)return new Promise(function(){});b=parseInt(d.slice(2),16);return U(a,b);case "S":return Symbol.for(d.slice(2));case "F":return b=parseInt(d.slice(2),16),b=V(a,b),ra(a,b);case "Q":return b=parseInt(d.slice(2),16),a=V(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=V(a,b),new Set(a);
case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=U(a,d);switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":return d=R,a.then(pa(d,b,c,"cyclic"===a.status),qa(d)),null;default:throw a.reason;}}}return d}
function ta(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function ua(a,b,c,d,e){var g=new Map;a={_bundlerConfig:a,_moduleLoading:b,_callServer:void 0!==c?c:ta,_encodeFormAction:d,_nonce:e,_chunks:g,_stringDecoder:new n.TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=va(a);return a}function W(a,b,c){a._chunks.set(b,new K("fulfilled",c,null,a))}
function wa(a,b,c){var d=a._chunks,e=d.get(b);c=JSON.parse(c,a._fromJSON);var g=t(a._bundlerConfig,c);aa(a._moduleLoading,c[1],a._nonce);if(c=y(g)){if(e){var f=e;f.status="blocked"}else f=new K("blocked",null,null,a),d.set(b,f);c.then(function(){return Q(f,g)},function(l){return P(f,l)})}else e?Q(e,g):d.set(b,new K("resolved_module",g,null,a))}
function X(a,b){for(var c=a.length,d=b.length,e=0;e<c;e++)d+=a[e].byteLength;d=new Uint8Array(d);for(var g=e=0;g<c;g++){var f=a[g];d.set(f,e);e+=f.byteLength}d.set(b,e);return d}function Y(a,b,c,d,e,g){c=0===c.length&&0===d.byteOffset%g?d:X(c,d);e=new e(c.buffer,c.byteOffset,c.byteLength/g);W(a,b,e)}
function xa(a,b,c,d,e){switch(c){case 65:W(a,b,X(d,e).buffer);return;case 67:Y(a,b,d,e,Int8Array,1);return;case 99:W(a,b,0===d.length?e:X(d,e));return;case 85:Y(a,b,d,e,Uint8ClampedArray,1);return;case 83:Y(a,b,d,e,Int16Array,2);return;case 115:Y(a,b,d,e,Uint16Array,2);return;case 76:Y(a,b,d,e,Int32Array,4);return;case 108:Y(a,b,d,e,Uint32Array,4);return;case 70:Y(a,b,d,e,Float32Array,4);return;case 100:Y(a,b,d,e,Float64Array,8);return;case 78:Y(a,b,d,e,BigInt64Array,8);return;case 109:Y(a,b,d,e,
BigUint64Array,8);return;case 86:Y(a,b,d,e,DataView,1);return}for(var g=a._stringDecoder,f="",l=0;l<d.length;l++)f+=g.decode(d[l],r);f+=g.decode(e);switch(c){case 73:wa(a,b,f);break;case 72:b=f[0];f=f.slice(1);a=JSON.parse(f,a._fromJSON);if(f=z.current)switch(b){case "D":f.prefetchDNS(a);break;case "C":"string"===typeof a?f.preconnect(a):f.preconnect(a[0],a[1]);break;case "L":b=a[0];c=a[1];3===a.length?f.preload(b,c,a[2]):f.preload(b,c);break;case "m":"string"===typeof a?f.preloadModule(a):f.preloadModule(a[0],
a[1]);break;case "S":"string"===typeof a?f.preinitStyle(a):f.preinitStyle(a[0],0===a[1]?void 0:a[1],3===a.length?a[2]:void 0);break;case "X":"string"===typeof a?f.preinitScript(a):f.preinitScript(a[0],a[1]);break;case "M":"string"===typeof a?f.preinitModuleScript(a):f.preinitModuleScript(a[0],a[1])}break;case 69:c=JSON.parse(f).digest;f=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.");
f.stack="Error: "+f.message;f.digest=c;c=a._chunks;(d=c.get(b))?P(d,f):c.set(b,new K("rejected",null,f,a));break;case 84:a._chunks.set(b,new K("fulfilled",f,null,a));break;case 68:case 87:throw Error("Failed to read a RSC payload created by a development version of React on the server while using a production version on the client. Always use matching versions on the server and the client.");case 80:f=Error("A Server Component was postponed. The reason is omitted in production builds to avoid leaking sensitive details.");
f.$$typeof=ca;f.stack="Error: "+f.message;c=a._chunks;(d=c.get(b))?P(d,f):c.set(b,new K("rejected",null,f,a));break;default:d=a._chunks,(c=d.get(b))?"pending"===c.status&&(a=c.value,b=c.reason,c.status="resolved_model",c.value=f,null!==a&&(L(c),O(c,a,b))):d.set(b,new K("resolved_model",f,null,a))}}function va(a){return function(b,c){return"string"===typeof c?sa(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===B?{$$typeof:B,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}
function Z(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");}
exports.createFromNodeStream=function(a,b,c){var d=ua(b.moduleMap,b.moduleLoading,Z,c?c.encodeFormAction:void 0,c&&"string"===typeof c.nonce?c.nonce:void 0);a.on("data",function(e){for(var g=0,f=d._rowState,l=d._rowID,k=d._rowTag,h=d._rowLength,u=d._buffer,E=e.length;g<E;){var m=-1;switch(f){case 0:m=e[g++];58===m?f=1:l=l<<4|(96<m?m-87:m-48);continue;case 1:f=e[g];84===f||65===f||67===f||99===f||85===f||83===f||115===f||76===f||108===f||70===f||100===f||78===f||109===f||86===f?(k=f,f=2,g++):64<f&&
91>f?(k=f,f=3,g++):(k=0,f=3);continue;case 2:m=e[g++];44===m?f=4:h=h<<4|(96<m?m-87:m-48);continue;case 3:m=e.indexOf(10,g);break;case 4:m=g+h,m>e.length&&(m=-1)}var p=e.byteOffset+g;if(-1<m)h=new Uint8Array(e.buffer,p,m-g),xa(d,l,k,u,h),g=m,3===f&&g++,h=l=k=f=0,u.length=0;else{e=new Uint8Array(e.buffer,p,e.byteLength-g);u.push(e);h-=e.byteLength;break}}d._rowState=f;d._rowID=l;d._rowTag=k;d._rowLength=h});a.on("error",function(e){T(d,e)});a.on("end",function(){T(d,Error("Connection closed."))});return U(d,
0)};exports.createServerReference=function(a){return na(a,Z)};
//# sourceMappingURL=react-server-dom-turbopack-client.node.production.min.js.map

View File

@ -0,0 +1,45 @@
/*
React
react-server-dom-turbopack-client.node.unbundled.production.min.js
Copyright (c) Meta Platforms, Inc. and affiliates.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
'use strict';var n=require("util"),q=require("react-dom"),r={stream:!0};function t(a,b){var d=a[b[0]];if(a=d[b[2]])d=a.name;else{a=d["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');d=b[2]}return{specifier:a.specifier,name:d,async:4===b.length}}var v=new Map;
function w(a){var b=v.get(a.specifier);if(b)return"fulfilled"===b.status?null:b;var d=import(a.specifier);a.async&&(d=d.then(function(c){return c.default}));d.then(function(c){var e=d;e.status="fulfilled";e.value=c},function(c){var e=d;e.status="rejected";e.reason=c});v.set(a.specifier,d);return d}
function x(a,b,d){if(null!==a)for(var c=0;c<b.length;c++){var e=d,g=y.current;if(g){var f=g.preinitScript,l=a.prefix+b[c];var k=a.crossOrigin;k="string"===typeof k?"use-credentials"===k?k:"":void 0;f.call(g,l,{crossOrigin:k,nonce:e})}}}var y=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,A=Symbol.for("react.element"),B=Symbol.for("react.lazy"),aa=Symbol.for("react.postpone"),C=Symbol.iterator;
function ba(a){if(null===a||"object"!==typeof a)return null;a=C&&a[C]||a["@@iterator"];return"function"===typeof a?a:null}var ca=Array.isArray,D=Object.getPrototypeOf,da=Object.prototype,F=new WeakMap;function ea(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"}
function fa(a,b,d,c){function e(k,h){if(null===h)return null;if("object"===typeof h){if("function"===typeof h.then){null===l&&(l=new FormData);f++;var u=g++;h.then(function(p){p=JSON.stringify(p,e);var z=l;z.append(b+u,p);f--;0===f&&d(z)},function(p){c(p)});return"$@"+u.toString(16)}if(ca(h))return h;if(h instanceof FormData){null===l&&(l=new FormData);var E=l;k=g++;var m=b+k+"_";h.forEach(function(p,z){E.append(m+z,p)});return"$K"+k.toString(16)}if(h instanceof Map)return h=JSON.stringify(Array.from(h),
e),null===l&&(l=new FormData),k=g++,l.append(b+k,h),"$Q"+k.toString(16);if(h instanceof Set)return h=JSON.stringify(Array.from(h),e),null===l&&(l=new FormData),k=g++,l.append(b+k,h),"$W"+k.toString(16);if(ba(h))return Array.from(h);k=D(h);if(k!==da&&(null===k||null!==D(k)))throw Error("Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.");return h}if("string"===typeof h){if("Z"===h[h.length-1]&&this[k]instanceof Date)return"$D"+h;
h="$"===h[0]?"$"+h:h;return h}if("boolean"===typeof h)return h;if("number"===typeof h)return ea(h);if("undefined"===typeof h)return"$undefined";if("function"===typeof h){h=F.get(h);if(void 0!==h)return h=JSON.stringify(h,e),null===l&&(l=new FormData),k=g++,l.set(b+k,h),"$F"+k.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof h){k=h.description;if(Symbol.for(k)!==h)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+
(h.description+") cannot be found among global symbols."));return"$S"+k}if("bigint"===typeof h)return"$n"+h.toString(10);throw Error("Type "+typeof h+" is not supported as an argument to a Server Function.");}var g=1,f=0,l=null;a=JSON.stringify(a,e);null===l?d(a):(l.set(b+"0",a),0===f&&d(l))}var G=new WeakMap;
function ha(a){var b,d,c=new Promise(function(e,g){b=e;d=g});fa(a,"",function(e){if("string"===typeof e){var g=new FormData;g.append("0",e);e=g}c.status="fulfilled";c.value=e;b(e)},function(e){c.status="rejected";c.reason=e;d(e)});return c}
function ia(a){var b=F.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var d=null;if(null!==b.bound){d=G.get(b);d||(d=ha(b),G.set(b,d));if("rejected"===d.status)throw d.reason;if("fulfilled"!==d.status)throw d;b=d.value;var c=new FormData;b.forEach(function(e,g){c.append("$ACTION_"+a+":"+g,e)});d=c;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:d}}
function H(a,b){var d=F.get(this);if(!d)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(d.id!==a)return!1;var c=d.bound;if(null===c)return 0===b;switch(c.status){case "fulfilled":return c.value.length===b;case "pending":throw c;case "rejected":throw c.reason;default:throw"string"!==typeof c.status&&(c.status="pending",c.then(function(e){c.status="fulfilled";c.value=e},function(e){c.status="rejected";c.reason=e})),c;}}
function I(a,b,d){Object.defineProperties(a,{$$FORM_ACTION:{value:void 0===d?ia:function(){var c=F.get(this);if(!c)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var e=c.bound;null===e&&(e=Promise.resolve([]));return d(c.id,e)}},$$IS_SIGNATURE_EQUAL:{value:H},bind:{value:J}});F.set(a,b)}var ja=Function.prototype.bind,ka=Array.prototype.slice;
function J(){var a=ja.apply(this,arguments),b=F.get(this);if(b){var d=ka.call(arguments,1),c=null;c=null!==b.bound?Promise.resolve(b.bound).then(function(e){return e.concat(d)}):Promise.resolve(d);Object.defineProperties(a,{$$FORM_ACTION:{value:this.$$FORM_ACTION},$$IS_SIGNATURE_EQUAL:{value:H},bind:{value:J}});F.set(a,{id:b.id,bound:c})}return a}function la(a,b,d){function c(){var e=Array.prototype.slice.call(arguments);return b(a,e)}I(c,{id:a,bound:null},d);return c}
function K(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}K.prototype=Object.create(Promise.prototype);K.prototype.then=function(a,b){switch(this.status){case "resolved_model":L(this);break;case "resolved_module":M(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":case "cyclic":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};
function ma(a){switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":throw a;default:throw a.reason;}}function N(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)}function O(a,b,d){switch(a.status){case "fulfilled":N(b,a.value);break;case "pending":case "blocked":case "cyclic":a.value=b;a.reason=d;break;case "rejected":d&&N(d,a.reason)}}
function P(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&N(d,b)}}function Q(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.value,c=a.reason;a.status="resolved_module";a.value=b;null!==d&&(M(a),O(a,d,c))}}var R=null,S=null;
function L(a){var b=R,d=S;R=a;S=null;var c=a.value;a.status="cyclic";a.value=null;a.reason=null;try{var e=JSON.parse(c,a._response._fromJSON);if(null!==S&&0<S.deps)S.value=e,a.status="blocked",a.value=null,a.reason=null;else{var g=a.value;a.status="fulfilled";a.value=e;null!==g&&N(g,e)}}catch(f){a.status="rejected",a.reason=f}finally{R=b,S=d}}
function M(a){try{var b=a.value,d=v.get(b.specifier);if("fulfilled"===d.status)var c=d.value;else throw d.reason;var e="*"===b.name?c:""===b.name?c.default:c[b.name];a.status="fulfilled";a.value=e}catch(g){a.status="rejected",a.reason=g}}function T(a,b){a._chunks.forEach(function(d){"pending"===d.status&&P(d,b)})}function U(a,b){var d=a._chunks,c=d.get(b);c||(c=new K("pending",null,null,a),d.set(b,c));return c}
function na(a,b,d,c){if(S){var e=S;c||e.deps++}else e=S={deps:c?0:1,value:null};return function(g){b[d]=g;e.deps--;0===e.deps&&"blocked"===a.status&&(g=a.value,a.status="fulfilled",a.value=e.value,null!==g&&N(g,e.value))}}function oa(a){return function(b){return P(a,b)}}
function pa(a,b){function d(){var e=Array.prototype.slice.call(arguments),g=b.bound;return g?"fulfilled"===g.status?c(b.id,g.value.concat(e)):Promise.resolve(g).then(function(f){return c(b.id,f.concat(e))}):c(b.id,e)}var c=a._callServer;I(d,b,a._encodeFormAction);return d}function V(a,b){a=U(a,b);switch(a.status){case "resolved_model":L(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}}
function qa(a,b,d,c){if("$"===c[0]){if("$"===c)return A;switch(c[1]){case "$":return c.slice(1);case "L":return b=parseInt(c.slice(2),16),a=U(a,b),{$$typeof:B,_payload:a,_init:ma};case "@":if(2===c.length)return new Promise(function(){});b=parseInt(c.slice(2),16);return U(a,b);case "S":return Symbol.for(c.slice(2));case "F":return b=parseInt(c.slice(2),16),b=V(a,b),pa(a,b);case "Q":return b=parseInt(c.slice(2),16),a=V(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=V(a,b),new Set(a);case "I":return Infinity;
case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=U(a,c);switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":return c=R,a.then(na(c,b,d,"cyclic"===a.status),oa(c)),null;default:throw a.reason;}}}return c}
function ra(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function sa(a,b,d,c,e){var g=new Map;a={_bundlerConfig:a,_moduleLoading:b,_callServer:void 0!==d?d:ra,_encodeFormAction:c,_nonce:e,_chunks:g,_stringDecoder:new n.TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=ta(a);return a}function W(a,b,d){a._chunks.set(b,new K("fulfilled",d,null,a))}
function ua(a,b,d){var c=a._chunks,e=c.get(b);d=JSON.parse(d,a._fromJSON);var g=t(a._bundlerConfig,d);x(a._moduleLoading,d[1],a._nonce);if(d=w(g)){if(e){var f=e;f.status="blocked"}else f=new K("blocked",null,null,a),c.set(b,f);d.then(function(){return Q(f,g)},function(l){return P(f,l)})}else e?Q(e,g):c.set(b,new K("resolved_module",g,null,a))}
function X(a,b){for(var d=a.length,c=b.length,e=0;e<d;e++)c+=a[e].byteLength;c=new Uint8Array(c);for(var g=e=0;g<d;g++){var f=a[g];c.set(f,e);e+=f.byteLength}c.set(b,e);return c}function Y(a,b,d,c,e,g){d=0===d.length&&0===c.byteOffset%g?c:X(d,c);e=new e(d.buffer,d.byteOffset,d.byteLength/g);W(a,b,e)}
function va(a,b,d,c,e){switch(d){case 65:W(a,b,X(c,e).buffer);return;case 67:Y(a,b,c,e,Int8Array,1);return;case 99:W(a,b,0===c.length?e:X(c,e));return;case 85:Y(a,b,c,e,Uint8ClampedArray,1);return;case 83:Y(a,b,c,e,Int16Array,2);return;case 115:Y(a,b,c,e,Uint16Array,2);return;case 76:Y(a,b,c,e,Int32Array,4);return;case 108:Y(a,b,c,e,Uint32Array,4);return;case 70:Y(a,b,c,e,Float32Array,4);return;case 100:Y(a,b,c,e,Float64Array,8);return;case 78:Y(a,b,c,e,BigInt64Array,8);return;case 109:Y(a,b,c,e,
BigUint64Array,8);return;case 86:Y(a,b,c,e,DataView,1);return}for(var g=a._stringDecoder,f="",l=0;l<c.length;l++)f+=g.decode(c[l],r);f+=g.decode(e);switch(d){case 73:ua(a,b,f);break;case 72:b=f[0];f=f.slice(1);a=JSON.parse(f,a._fromJSON);if(f=y.current)switch(b){case "D":f.prefetchDNS(a);break;case "C":"string"===typeof a?f.preconnect(a):f.preconnect(a[0],a[1]);break;case "L":b=a[0];d=a[1];3===a.length?f.preload(b,d,a[2]):f.preload(b,d);break;case "m":"string"===typeof a?f.preloadModule(a):f.preloadModule(a[0],
a[1]);break;case "S":"string"===typeof a?f.preinitStyle(a):f.preinitStyle(a[0],0===a[1]?void 0:a[1],3===a.length?a[2]:void 0);break;case "X":"string"===typeof a?f.preinitScript(a):f.preinitScript(a[0],a[1]);break;case "M":"string"===typeof a?f.preinitModuleScript(a):f.preinitModuleScript(a[0],a[1])}break;case 69:d=JSON.parse(f).digest;f=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.");
f.stack="Error: "+f.message;f.digest=d;d=a._chunks;(c=d.get(b))?P(c,f):d.set(b,new K("rejected",null,f,a));break;case 84:a._chunks.set(b,new K("fulfilled",f,null,a));break;case 68:case 87:throw Error("Failed to read a RSC payload created by a development version of React on the server while using a production version on the client. Always use matching versions on the server and the client.");case 80:f=Error("A Server Component was postponed. The reason is omitted in production builds to avoid leaking sensitive details.");
f.$$typeof=aa;f.stack="Error: "+f.message;d=a._chunks;(c=d.get(b))?P(c,f):d.set(b,new K("rejected",null,f,a));break;default:c=a._chunks,(d=c.get(b))?"pending"===d.status&&(a=d.value,b=d.reason,d.status="resolved_model",d.value=f,null!==a&&(L(d),O(d,a,b))):c.set(b,new K("resolved_model",f,null,a))}}function ta(a){return function(b,d){return"string"===typeof d?qa(a,this,b,d):"object"===typeof d&&null!==d?(b=d[0]===A?{$$typeof:A,type:d[1],key:d[2],ref:null,props:d[3],_owner:null}:d,b):d}}
function Z(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");}
exports.createFromNodeStream=function(a,b,d){var c=sa(b.moduleMap,b.moduleLoading,Z,d?d.encodeFormAction:void 0,d&&"string"===typeof d.nonce?d.nonce:void 0);a.on("data",function(e){for(var g=0,f=c._rowState,l=c._rowID,k=c._rowTag,h=c._rowLength,u=c._buffer,E=e.length;g<E;){var m=-1;switch(f){case 0:m=e[g++];58===m?f=1:l=l<<4|(96<m?m-87:m-48);continue;case 1:f=e[g];84===f||65===f||67===f||99===f||85===f||83===f||115===f||76===f||108===f||70===f||100===f||78===f||109===f||86===f?(k=f,f=2,g++):64<f&&
91>f?(k=f,f=3,g++):(k=0,f=3);continue;case 2:m=e[g++];44===m?f=4:h=h<<4|(96<m?m-87:m-48);continue;case 3:m=e.indexOf(10,g);break;case 4:m=g+h,m>e.length&&(m=-1)}var p=e.byteOffset+g;if(-1<m)h=new Uint8Array(e.buffer,p,m-g),va(c,l,k,u,h),g=m,3===f&&g++,h=l=k=f=0,u.length=0;else{e=new Uint8Array(e.buffer,p,e.byteLength-g);u.push(e);h-=e.byteLength;break}}c._rowState=f;c._rowID=l;c._rowTag=k;c._rowLength=h});a.on("error",function(e){T(c,e)});a.on("end",function(){T(c,Error("Connection closed."))});return U(c,
0)};exports.createServerReference=function(a){return la(a,Z)};
//# sourceMappingURL=react-server-dom-turbopack-client.node.unbundled.production.min.js.map

View File

@ -0,0 +1,14 @@
/*
React
react-server-dom-turbopack-node-register.js
Copyright (c) Meta Platforms, Inc. and affiliates.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
'use strict';const h=require("acorn-loose"),l=require("url"),q=require("module");
module.exports=function(){const m=require("react-server-dom-turbopack/server"),n=m.registerServerReference,r=m.createClientModuleProxy,f=q.prototype._compile;q.prototype._compile=function(k,p){if(-1===k.indexOf("use client")&&-1===k.indexOf("use server"))return f.apply(this,arguments);try{var a=h.parse(k,{ecmaVersion:"2024",sourceType:"source"}).body}catch(g){return console.error("Error parsing %s %s",l,g.message),f.apply(this,arguments)}var b=!1,d=!1;for(var c=0;c<a.length;c++){var e=a[c];if("ExpressionStatement"!==
e.type||!e.directive)break;"use client"===e.directive&&(b=!0);"use server"===e.directive&&(d=!0)}if(!b&&!d)return f.apply(this,arguments);if(b&&d)throw Error('Cannot have both "use client" and "use server" directives in the same file.');b&&(a=l.pathToFileURL(p).href,this.exports=r(a));if(d)if(f.apply(this,arguments),d=l.pathToFileURL(p).href,a=this.exports,"function"===typeof a)n(a,d,null);else for(b=Object.keys(a),c=0;c<b.length;c++){e=b[c];const g=a[b[c]];"function"===typeof g&&n(g,d,e)}}};
//# sourceMappingURL=react-server-dom-turbopack-node-register.js.map

View File

@ -0,0 +1,82 @@
/*
React
react-server-dom-turbopack-server.browser.production.min.js
Copyright (c) Meta Platforms, Inc. and affiliates.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
'use strict';var aa=require("react"),ba=require("react-dom"),l=null,p=0;function q(a,b){if(0!==b.byteLength)if(2048<b.byteLength)0<p&&(a.enqueue(new Uint8Array(l.buffer,0,p)),l=new Uint8Array(2048),p=0),a.enqueue(b);else{var c=l.length-p;c<b.byteLength&&(0===c?a.enqueue(l):(l.set(b.subarray(0,c),p),a.enqueue(l),b=b.subarray(c)),l=new Uint8Array(2048),p=0);l.set(b,p);p+=b.byteLength}return!0}var r=new TextEncoder;function ca(a,b){"function"===typeof a.error?a.error(b):a.close()}
var t=Symbol.for("react.client.reference"),u=Symbol.for("react.server.reference");function v(a,b,c){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:b},$$async:{value:c}})}var da=Function.prototype.bind,ea=Array.prototype.slice;function ha(){var a=da.apply(this,arguments);if(this.$$typeof===u){var b=ea.call(arguments,1);return Object.defineProperties(a,{$$typeof:{value:u},$$id:{value:this.$$id},$$bound:{value:this.$$bound?this.$$bound.concat(b):b},bind:{value:ha}})}return a}
var ia=Promise.prototype,ja={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");
}throw Error("Cannot access "+(String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");},set:function(){throw Error("Cannot assign to a client module from a server module.");}};
function ka(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case "__esModule":var c=a.$$id;a.default=v(function(){throw Error("Attempted to call the default export of "+c+" 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.");
},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var e=v({},a.$$id,!0),d=new Proxy(e,la);a.status="fulfilled";a.value=d;return a.then=v(function(g){return Promise.resolve(g(d))},a.$$id+"#then",!1)}if("symbol"===typeof b)throw Error("Cannot read Symbol exports. Only named exports are supported on a client module imported on the server.");e=a[b];e||(e=v(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" 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.");
},a.$$id+"#"+b,a.$$async),Object.defineProperty(e,"name",{value:b}),e=a[b]=new Proxy(e,ja));return e}
var la={get:function(a,b){return ka(a,b)},getOwnPropertyDescriptor:function(a,b){var c=Object.getOwnPropertyDescriptor(a,b);c||(c={value:ka(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,c));return c},getPrototypeOf:function(){return ia},set:function(){throw Error("Cannot assign to a client module from a server module.");}},ta={prefetchDNS:ma,preconnect:na,preload:oa,preloadModule:pa,preinitStyle:qa,preinitScript:ra,preinitModuleScript:sa};
function ma(a){if("string"===typeof a&&a){var b=w?w:null;if(b){var c=b.hints,e="D|"+a;c.has(e)||(c.add(e),x(b,"D",a))}}}function na(a,b){if("string"===typeof a){var c=w?w:null;if(c){var e=c.hints,d="C|"+(null==b?"null":b)+"|"+a;e.has(d)||(e.add(d),"string"===typeof b?x(c,"C",[a,b]):x(c,"C",a))}}}
function oa(a,b,c){if("string"===typeof a){var e=w?w:null;if(e){var d=e.hints,g="L";if("image"===b&&c){var f=c.imageSrcSet,k=c.imageSizes,h="";"string"===typeof f&&""!==f?(h+="["+f+"]","string"===typeof k&&(h+="["+k+"]")):h+="[][]"+a;g+="[image]"+h}else g+="["+b+"]"+a;d.has(g)||(d.add(g),(c=z(c))?x(e,"L",[a,b,c]):x(e,"L",[a,b]))}}}function pa(a,b){if("string"===typeof a){var c=w?w:null;if(c){var e=c.hints,d="m|"+a;if(!e.has(d))return e.add(d),(b=z(b))?x(c,"m",[a,b]):x(c,"m",a)}}}
function qa(a,b,c){if("string"===typeof a){var e=w?w:null;if(e){var d=e.hints,g="S|"+a;if(!d.has(g))return d.add(g),(c=z(c))?x(e,"S",[a,"string"===typeof b?b:0,c]):"string"===typeof b?x(e,"S",[a,b]):x(e,"S",a)}}}function ra(a,b){if("string"===typeof a){var c=w?w:null;if(c){var e=c.hints,d="X|"+a;if(!e.has(d))return e.add(d),(b=z(b))?x(c,"X",[a,b]):x(c,"X",a)}}}
function sa(a,b){if("string"===typeof a){var c=w?w:null;if(c){var e=c.hints,d="M|"+a;if(!e.has(d))return e.add(d),(b=z(b))?x(c,"M",[a,b]):x(c,"M",a)}}}function z(a){if(null==a)return null;var b=!1,c={},e;for(e in a)null!=a[e]&&(b=!0,c[e]=a[e]);return b?c:null}
var ua=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,A=Symbol.for("react.element"),va=Symbol.for("react.fragment"),wa=Symbol.for("react.context"),xa=Symbol.for("react.forward_ref"),ya=Symbol.for("react.suspense"),za=Symbol.for("react.suspense_list"),Aa=Symbol.for("react.memo"),B=Symbol.for("react.lazy"),Ba=Symbol.for("react.memo_cache_sentinel"),D=Symbol.for("react.postpone"),Ca=Symbol.iterator,Da=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`");
function Ea(){}function Fa(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(Ea,Ea),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(e){if("pending"===b.status){var d=b;d.status="fulfilled";d.value=e}},function(e){if("pending"===b.status){var d=b;d.status="rejected";d.reason=e}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Ga=b;throw Da;}}var Ga=null;
function Ha(){if(null===Ga)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=Ga;Ga=null;return a}var E=null,Ia=0,F=null;function Ja(){var a=F||[];F=null;return a}
var Oa={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:G,useTransition:G,readContext:Ka,useContext:Ka,useReducer:G,useRef:G,useState:G,useInsertionEffect:G,useLayoutEffect:G,useImperativeHandle:G,useEffect:G,useId:La,useSyncExternalStore:G,useCacheRefresh:function(){return Ma},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=Ba;return b},use:Na};
function G(){throw Error("This Hook is not supported in Server Components.");}function Ma(){throw Error("Refreshing the cache is not supported in Server Components.");}function Ka(){throw Error("Cannot read a Client Context from a Server Component.");}function La(){if(null===E)throw Error("useId can only be used while React is rendering");var a=E.identifierCount++;return":"+E.identifierPrefix+"S"+a.toString(32)+":"}
function Na(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=Ia;Ia+=1;null===F&&(F=[]);return Fa(F,a,b)}a.$$typeof===wa&&Ka()}if(a.$$typeof===t){if(null!=a.value&&a.value.$$typeof===wa)throw Error("Cannot read a Client Context from a Server Component.");throw Error("Cannot use() an already resolved Client Reference.");}throw Error("An unsupported type was passed to use(): "+String(a));}function Pa(){return(new AbortController).signal}
function Qa(){var a=w?w:null;return a?a.cache:new Map}var Ra={getCacheSignal:function(){var a=Qa(),b=a.get(Pa);void 0===b&&(b=Pa(),a.set(Pa,b));return b},getCacheForType:function(a){var b=Qa(),c=b.get(a);void 0===c&&(c=a(),b.set(a,c));return c}},Sa=Array.isArray,Ta=Object.getPrototypeOf;function Ua(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,c){return c})}
function Va(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Sa(a))return"[...]";if(null!==a&&a.$$typeof===Wa)return"client";a=Ua(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===Wa?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}}
function Xa(a){if("string"===typeof a)return a;switch(a){case ya:return"Suspense";case za:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case xa:return Xa(a.render);case Aa:return Xa(a.type);case B:var b=a._payload;a=a._init;try{return Xa(a(b))}catch(c){}}return""}var Wa=Symbol.for("react.client.reference");
function H(a,b){var c=Ua(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var e=0;if(Sa(a)){var d="[";for(var g=0;g<a.length;g++){0<g&&(d+=", ");var f=a[g];f="object"===typeof f&&null!==f?H(f):Va(f);""+g===b?(c=d.length,e=f.length,d+=f):d=10>f.length&&40>d.length+f.length?d+f:d+"..."}d+="]"}else if(a.$$typeof===A)d="<"+Xa(a.type)+"/>";else{if(a.$$typeof===Wa)return"client";d="{";g=Object.keys(a);for(f=0;f<g.length;f++){0<f&&(d+=", ");var k=g[f],h=JSON.stringify(k);d+=('"'+k+'"'===h?k:h)+": ";h=a[k];
h="object"===typeof h&&null!==h?H(h):Va(h);k===b?(c=d.length,e=h.length,d+=h):d=10>h.length&&40>d.length+h.length?d+h:d+"..."}d+="}"}return void 0===b?d:-1<c&&0<e?(a=" ".repeat(c)+"^".repeat(e),"\n "+d+"\n "+a):"\n "+d}var Ya=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,I=aa.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
if(!I)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.');var Za=Object.prototype,J=JSON.stringify,$a=I.TaintRegistryObjects,K=I.TaintRegistryValues,ab=I.TaintRegistryByteLengths,bb=I.TaintRegistryPendingRequests,cb=I.ReactCurrentCache,db=Ya.ReactCurrentDispatcher;function L(a){throw Error(a);}
function eb(a){a=a.taintCleanupQueue;bb.delete(a);for(var b=0;b<a.length;b++){var c=a[b],e=K.get(c);void 0!==e&&(1===e.count?K.delete(c):e.count--)}a.length=0}function fb(a){console.error(a)}function gb(){}
function hb(a,b,c,e,d){if(null!==cb.current&&cb.current!==Ra)throw Error("Currently React only supports one RSC renderer at a time.");ua.current=ta;cb.current=Ra;var g=new Set,f=[],k=[];bb.add(k);var h=new Set;b={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:h,abortableTasks:g,pingedTasks:f,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map,
writtenServerReferences:new Map,writtenObjects:new WeakMap,identifierPrefix:e||"",identifierCount:1,taintCleanupQueue:k,onError:void 0===c?fb:c,onPostpone:void 0===d?gb:d};a=ib(b,a,null,!1,g);f.push(a);return b}var w=null;
function jb(a,b,c){var e=ib(a,null,b.keyPath,b.implicitSlot,a.abortableTasks);switch(c.status){case "fulfilled":return e.model=c.value,kb(a,e),e.id;case "rejected":return b=c.reason,"object"===typeof b&&null!==b&&b.$$typeof===D?(M(a,b.message),N(a,e.id)):(b=O(a,b),P(a,e.id,b)),e.id;default:"string"!==typeof c.status&&(c.status="pending",c.then(function(d){"pending"===c.status&&(c.status="fulfilled",c.value=d)},function(d){"pending"===c.status&&(c.status="rejected",c.reason=d)}))}c.then(function(d){e.model=
d;kb(a,e)},function(d){"object"===typeof d&&null!==d&&d.$$typeof===D?(M(a,d.message),N(a,e.id)):(e.status=4,d=O(a,d),P(a,e.id,d));a.abortableTasks.delete(e);null!==a.destination&&Q(a,a.destination)});return e.id}function x(a,b,c){c=J(c);var e=a.nextChunkId++;b="H"+b;b=e.toString(16)+":"+b;c=r.encode(b+c+"\n");a.completedHintChunks.push(c);!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination&&(c=a.destination,a.flushScheduled=!0,Q(a,c))}
function lb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}function mb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:B,_payload:a,_init:lb}}
function nb(a,b,c,e,d){var g=b.thenableState;b.thenableState=null;Ia=0;F=g;e=e(d,void 0);if("object"===typeof e&&null!==e&&"function"===typeof e.then){d=e;if("fulfilled"===d.status)return d.value;e=mb(e)}d=b.keyPath;g=b.implicitSlot;null!==c?b.keyPath=null===d?c:d+","+c:null===d&&(b.implicitSlot=!0);a=R(a,b,ob,"",e);b.keyPath=d;b.implicitSlot=g;return a}function pb(a,b,c){return null!==b.keyPath?(a=[A,va,b.keyPath,{children:c}],b.implicitSlot?[a]:a):c}
function qb(a,b,c,e){var d=a.keyPath;null===c?c=d:null!==d&&(c=d+","+c);b=[A,b,c,e];return a.implicitSlot&&null!==c?[b]:b}
function rb(a,b,c,e,d,g){if(null!==d&&void 0!==d)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof c)return c.$$typeof===t?qb(b,c,e,g):nb(a,b,e,c,g);if("string"===typeof c)return qb(b,c,e,g);if("symbol"===typeof c)return c===va&&null===e?(e=b.implicitSlot,null===b.keyPath&&(b.implicitSlot=!0),a=R(a,b,ob,"",g.children),b.implicitSlot=e,a):qb(b,c,e,g);if(null!=c&&"object"===typeof c){if(c.$$typeof===t)return qb(b,c,e,g);switch(c.$$typeof){case B:var f=
c._init;c=f(c._payload);return rb(a,b,c,e,d,g);case xa:return nb(a,b,e,c.render,g);case Aa:return rb(a,b,c.type,e,d,g)}}throw Error("Unsupported Server Component type: "+Va(c));}function kb(a,b){var c=a.pingedTasks;c.push(b);1===c.length&&(a.flushScheduled=null!==a.destination,sb(a))}
function ib(a,b,c,e,d){a.pendingChunks++;var g=a.nextChunkId++;"object"!==typeof b||null===b||null!==c||e||a.writtenObjects.set(b,g);var f={id:g,status:0,model:b,keyPath:c,implicitSlot:e,ping:function(){return kb(a,f)},toJSON:function(k,h){a:{var m=f.keyPath,y=f.implicitSlot;try{var n=R(a,f,this,k,h)}catch(fa){k=fa===Da?Ha():fa;h=f.model;h="object"===typeof h&&null!==h&&(h.$$typeof===A||h.$$typeof===B);if("object"===typeof k&&null!==k){if("function"===typeof k.then){n=ib(a,f.model,f.keyPath,f.implicitSlot,
a.abortableTasks);var C=n.ping;k.then(C,C);n.thenableState=Ja();f.keyPath=m;f.implicitSlot=y;n=h?"$L"+n.id.toString(16):S(n.id);break a}if(k.$$typeof===D){a.pendingChunks++;n=a.nextChunkId++;M(a,k.message);N(a,n);f.keyPath=m;f.implicitSlot=y;n=h?"$L"+n.toString(16):S(n);break a}}f.keyPath=m;f.implicitSlot=y;if(h)a.pendingChunks++,m=a.nextChunkId++,y=O(a,k),P(a,m,y),n="$L"+m.toString(16);else throw k;}}return n},thenableState:null};d.add(f);return f}function S(a){return"$"+a.toString(16)}
function tb(a,b,c){a=J(c);b=b.toString(16)+":"+a+"\n";return r.encode(b)}
function ub(a,b,c,e){var d=e.$$async?e.$$id+"#async":e.$$id,g=a.writtenClientReferences,f=g.get(d);if(void 0!==f)return b[0]===A&&"1"===c?"$L"+f.toString(16):S(f);try{var k=a.bundlerConfig,h=e.$$id;f="";var m=k[h];if(m)f=m.name;else{var y=h.lastIndexOf("#");-1!==y&&(f=h.slice(y+1),m=k[h.slice(0,y)]);if(!m)throw Error('Could not find the module "'+h+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var n=!0===e.$$async?[m.id,m.chunks,f,1]:[m.id,m.chunks,
f];a.pendingChunks++;var C=a.nextChunkId++,fa=J(n),Mb=C.toString(16)+":I"+fa+"\n",Nb=r.encode(Mb);a.completedImportChunks.push(Nb);g.set(d,C);return b[0]===A&&"1"===c?"$L"+C.toString(16):S(C)}catch(Ob){return a.pendingChunks++,b=a.nextChunkId++,c=O(a,Ob),P(a,b,c),S(b)}}function T(a,b){b=ib(a,b,null,!1,a.abortableTasks);vb(a,b);return b.id}
function U(a,b,c){if(ab.has(c.byteLength)){var e=K.get(String.fromCharCode.apply(String,new Uint8Array(c.buffer,c.byteOffset,c.byteLength)));void 0!==e&&L(e.message)}a.pendingChunks+=2;e=a.nextChunkId++;var d=new Uint8Array(c.buffer,c.byteOffset,c.byteLength);c=2048<c.byteLength?d.slice():d;d=c.byteLength;b=e.toString(16)+":"+b+d.toString(16)+",";b=r.encode(b);a.completedRegularChunks.push(b,c);return S(e)}var V=!1;
function R(a,b,c,e,d){b.model=d;if(d===A)return"$";if(null===d)return null;if("object"===typeof d){switch(d.$$typeof){case A:c=a.writtenObjects;e=c.get(d);if(void 0!==e){if(null===b.keyPath&&!b.implicitSlot)if(V===d)V=null;else return-1===e?(a=T(a,d),S(a)):S(e)}else c.set(d,-1);c=d.props;e=c.ref;return rb(a,b,d.type,d.key,void 0!==e?e:null,c);case B:return b.thenableState=null,c=d._init,d=c(d._payload),R(a,b,ob,"",d)}if(d.$$typeof===t)return ub(a,c,e,d);c=$a.get(d);void 0!==c&&L(c);c=a.writtenObjects;
e=c.get(d);if("function"===typeof d.then){if(void 0!==e){if(null!==b.keyPath||b.implicitSlot)return"$@"+jb(a,b,d).toString(16);if(V===d)V=null;else return"$@"+e.toString(16)}a=jb(a,b,d);c.set(d,a);return"$@"+a.toString(16)}if(void 0!==e)if(V===d)V=null;else return-1===e?(a=T(a,d),S(a)):S(e);else c.set(d,-1);if(Sa(d))return pb(a,b,d);if(d instanceof Map){d=Array.from(d);for(b=0;b<d.length;b++)c=d[b][0],"object"===typeof c&&null!==c&&(e=a.writtenObjects,void 0===e.get(c)&&e.set(c,-1));return"$Q"+T(a,
d).toString(16)}if(d instanceof Set){d=Array.from(d);for(b=0;b<d.length;b++)c=d[b],"object"===typeof c&&null!==c&&(e=a.writtenObjects,void 0===e.get(c)&&e.set(c,-1));return"$W"+T(a,d).toString(16)}if(d instanceof ArrayBuffer)return U(a,"A",new Uint8Array(d));if(d instanceof Int8Array)return U(a,"C",d);if(d instanceof Uint8Array)return U(a,"c",d);if(d instanceof Uint8ClampedArray)return U(a,"U",d);if(d instanceof Int16Array)return U(a,"S",d);if(d instanceof Uint16Array)return U(a,"s",d);if(d instanceof
Int32Array)return U(a,"L",d);if(d instanceof Uint32Array)return U(a,"l",d);if(d instanceof Float32Array)return U(a,"F",d);if(d instanceof Float64Array)return U(a,"d",d);if(d instanceof BigInt64Array)return U(a,"N",d);if(d instanceof BigUint64Array)return U(a,"m",d);if(d instanceof DataView)return U(a,"V",d);null===d||"object"!==typeof d?c=null:(c=Ca&&d[Ca]||d["@@iterator"],c="function"===typeof c?c:null);if(c)return pb(a,b,Array.from(d));a=Ta(d);if(a!==Za&&(null===a||null!==Ta(a)))throw Error("Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.");
return d}if("string"===typeof d){b=K.get(d);void 0!==b&&L(b.message);if("Z"===d[d.length-1]&&c[e]instanceof Date)return"$D"+d;if(1024<=d.length)return a.pendingChunks+=2,b=a.nextChunkId++,d=r.encode(d),c=d.byteLength,c=b.toString(16)+":T"+c.toString(16)+",",c=r.encode(c),a.completedRegularChunks.push(c,d),S(b);a="$"===d[0]?"$"+d:d;return a}if("boolean"===typeof d)return d;if("number"===typeof d)return Number.isFinite(d)?0===d&&-Infinity===1/d?"$-0":d:Infinity===d?"$Infinity":-Infinity===d?"$-Infinity":
"$NaN";if("undefined"===typeof d)return"$undefined";if("function"===typeof d){if(d.$$typeof===t)return ub(a,c,e,d);if(d.$$typeof===u)return b=a.writtenServerReferences,c=b.get(d),void 0!==c?a="$F"+c.toString(16):(c=d.$$bound,c={id:d.$$id,bound:c?Promise.resolve(c):null},a=T(a,c),b.set(d,a),a="$F"+a.toString(16)),a;a=$a.get(d);void 0!==a&&L(a);if(/^on[A-Z]/.test(e))throw Error("Event handlers cannot be passed to Client Component props."+H(c,e)+"\nIf you need interactivity, consider converting part of this to a Client Component.");
throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server". Or maybe you meant to call this function rather than return it.'+H(c,e));}if("symbol"===typeof d){b=a.writtenSymbols;var g=b.get(d);if(void 0!==g)return S(g);g=d.description;if(Symbol.for(g)!==d)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(d.description+") cannot be found among global symbols.")+
H(c,e));a.pendingChunks++;c=a.nextChunkId++;e=tb(a,c,"$S"+g);a.completedImportChunks.push(e);b.set(d,c);return S(c)}if("bigint"===typeof d)return a=K.get(d),void 0!==a&&L(a.message),"$n"+d.toString(10);throw Error("Type "+typeof d+" is not supported in Client Component props."+H(c,e));}function M(a,b){var c=w;w=null;try{var e=a.onPostpone;e(b)}finally{w=c}}
function O(a,b){var c=w;w=null;try{var e=a.onError;var d=e(b)}finally{w=c}if(null!=d&&"string"!==typeof d)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof d+'" instead');return d||""}function wb(a,b){eb(a);null!==a.destination?(a.status=2,ca(a.destination,b)):(a.status=1,a.fatalError=b)}
function N(a,b){b=b.toString(16)+":P\n";b=r.encode(b);a.completedErrorChunks.push(b)}function P(a,b,c){c={digest:c};b=b.toString(16)+":E"+J(c)+"\n";b=r.encode(b);a.completedErrorChunks.push(b)}var ob={};
function vb(a,b){if(0===b.status)try{V=b.model;var c=R(a,b,ob,"",b.model);V=c;b.keyPath=null;b.implicitSlot=!1;var e="object"===typeof c&&null!==c?J(c,b.toJSON):J(c),d=b.id.toString(16)+":"+e+"\n",g=r.encode(d);a.completedRegularChunks.push(g);a.abortableTasks.delete(b);b.status=1}catch(m){var f=m===Da?Ha():m;if("object"===typeof f&&null!==f){if("function"===typeof f.then){var k=b.ping;f.then(k,k);b.thenableState=Ja();return}if(f.$$typeof===D){a.abortableTasks.delete(b);b.status=4;M(a,f.message);
N(a,b.id);return}}a.abortableTasks.delete(b);b.status=4;var h=O(a,f);P(a,b.id,h)}finally{}}function sb(a){var b=db.current;db.current=Oa;var c=w;E=w=a;try{var e=a.pingedTasks;a.pingedTasks=[];for(var d=0;d<e.length;d++)vb(a,e[d]);null!==a.destination&&Q(a,a.destination)}catch(g){O(a,g),wb(a,g)}finally{db.current=b,E=null,w=c}}
function Q(a,b){l=new Uint8Array(2048);p=0;try{for(var c=a.completedImportChunks,e=0;e<c.length;e++)a.pendingChunks--,q(b,c[e]);c.splice(0,e);var d=a.completedHintChunks;for(e=0;e<d.length;e++)q(b,d[e]);d.splice(0,e);var g=a.completedRegularChunks;for(e=0;e<g.length;e++)a.pendingChunks--,q(b,g[e]);g.splice(0,e);var f=a.completedErrorChunks;for(e=0;e<f.length;e++)a.pendingChunks--,q(b,f[e]);f.splice(0,e)}finally{a.flushScheduled=!1,l&&0<p&&(b.enqueue(new Uint8Array(l.buffer,0,p)),l=null,p=0)}0===a.pendingChunks&&
(eb(a),b.close())}function xb(a,b){try{var c=a.abortableTasks;if(0<c.size){a.pendingChunks++;var e=a.nextChunkId++;if("object"===typeof b&&null!==b&&b.$$typeof===D)M(a,b.message),N(a,e,b);else{var d=void 0===b?Error("The render was aborted by the server without a reason."):b,g=O(a,d);P(a,e,g,d)}c.forEach(function(f){f.status=3;var k=S(e);f=tb(a,f.id,k);a.completedErrorChunks.push(f)});c.clear()}null!==a.destination&&Q(a,a.destination)}catch(f){O(a,f),wb(a,f)}}
function yb(a,b){var c="",e=a[b];if(e)c=e.name;else{var d=b.lastIndexOf("#");-1!==d&&(c=b.slice(d+1),e=a[b.slice(0,d)]);if(!e)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[e.id,e.chunks,c]}var zb=new Map;
function Ab(a){var b=__turbopack_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function Bb(){}
function Cb(a){for(var b=a[1],c=[],e=0;e<b.length;e++){var d=b[e],g=zb.get(d);if(void 0===g){g=__turbopack_load__(d);c.push(g);var f=zb.set.bind(zb,d,null);g.then(f,Bb);zb.set(d,g)}else null!==g&&c.push(g)}return 4===a.length?0===c.length?Ab(a[0]):Promise.all(c).then(function(){return Ab(a[0])}):0<c.length?Promise.all(c):null}
function W(a){var b=__turbopack_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}function Db(a,b,c,e){this.status=a;this.value=b;this.reason=c;this._response=e}Db.prototype=Object.create(Promise.prototype);
Db.prototype.then=function(a,b){switch(this.status){case "resolved_model":Eb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};function Fb(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}
function Gb(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&Fb(c,b)}}function Hb(a,b,c,e,d,g){var f=yb(a._bundlerConfig,b);a=Cb(f);if(c)c=Promise.all([c,a]).then(function(k){k=k[0];var h=W(f);return h.bind.apply(h,[null].concat(k))});else if(a)c=Promise.resolve(a).then(function(){return W(f)});else return W(f);c.then(Ib(e,d,g),Jb(e));return null}var X=null,Y=null;
function Eb(a){var b=X,c=Y;X=a;Y=null;try{var e=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=e,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=e)}catch(d){a.status="rejected",a.reason=d}finally{X=b,Y=c}}function Kb(a,b){a._chunks.forEach(function(c){"pending"===c.status&&Gb(c,b)})}
function Z(a,b){var c=a._chunks,e=c.get(b);e||(e=a._formData.get(a._prefix+b),e=null!=e?new Db("resolved_model",e,null,a):new Db("pending",null,null,a),c.set(b,e));return e}function Ib(a,b,c){if(Y){var e=Y;e.deps++}else e=Y={deps:1,value:null};return function(d){b[c]=d;e.deps--;0===e.deps&&"blocked"===a.status&&(d=a.value,a.status="fulfilled",a.value=e.value,null!==d&&Fb(d,e.value))}}function Jb(a){return function(b){return Gb(a,b)}}
function Lb(a,b){a=Z(a,b);"resolved_model"===a.status&&Eb(a);if("fulfilled"!==a.status)throw a.reason;return a.value}
function Pb(a,b,c,e){if("$"===e[0])switch(e[1]){case "$":return e.slice(1);case "@":return b=parseInt(e.slice(2),16),Z(a,b);case "S":return Symbol.for(e.slice(2));case "F":return e=parseInt(e.slice(2),16),e=Lb(a,e),Hb(a,e.id,e.bound,X,b,c);case "Q":return b=parseInt(e.slice(2),16),a=Lb(a,b),new Map(a);case "W":return b=parseInt(e.slice(2),16),a=Lb(a,b),new Set(a);case "K":b=e.slice(2);var d=a._prefix+b+"_",g=new FormData;a._formData.forEach(function(f,k){k.startsWith(d)&&g.append(k.slice(d.length),
f)});return g;case "I":return Infinity;case "-":return"$-0"===e?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(e.slice(2)));case "n":return BigInt(e.slice(2));default:e=parseInt(e.slice(1),16);a=Z(a,e);switch(a.status){case "resolved_model":Eb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return e=X,a.then(Ib(e,b,c),Jb(e)),null;default:throw a.reason;}}return e}
function Qb(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,e=new Map,d={_bundlerConfig:a,_prefix:b,_formData:c,_chunks:e,_fromJSON:function(g,f){return"string"===typeof f?Pb(d,this,g,f):f}};return d}function Rb(a){Kb(a,Error("Connection closed."))}function Sb(a,b,c){var e=yb(a,b);a=Cb(e);return c?Promise.all([c,a]).then(function(d){d=d[0];var g=W(e);return g.bind.apply(g,[null].concat(d))}):a?Promise.resolve(a).then(function(){return W(e)}):Promise.resolve(W(e))}
function Tb(a,b,c){a=Qb(b,c,a);Rb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}exports.createClientModuleProxy=function(a){a=v({},a,!1);return new Proxy(a,la)};
exports.decodeAction=function(a,b){var c=new FormData,e=null;a.forEach(function(d,g){g.startsWith("$ACTION_")?g.startsWith("$ACTION_REF_")?(d="$ACTION_"+g.slice(12)+":",d=Tb(a,b,d),e=Sb(b,d.id,d.bound)):g.startsWith("$ACTION_ID_")&&(d=g.slice(11),e=Sb(b,d,null)):c.append(g,d)});return null===e?null:e.then(function(d){return d.bind(null,c)})};exports.decodeReply=function(a,b){if("string"===typeof a){var c=new FormData;c.append("0",a);a=c}a=Qb(b,"",a);b=Z(a,0);Rb(a);return b};
exports.registerClientReference=function(a,b,c){return v(a,b+"#"+c,!1)};exports.registerServerReference=function(a,b,c){return Object.defineProperties(a,{$$typeof:{value:u},$$id:{value:null===c?b:b+"#"+c,configurable:!0},$$bound:{value:null,configurable:!0},bind:{value:ha,configurable:!0}})};
exports.renderToReadableStream=function(a,b,c){var e=hb(a,b,c?c.onError:void 0,c?c.identifierPrefix:void 0,c?c.onPostpone:void 0);if(c&&c.signal){var d=c.signal;if(d.aborted)xb(e,d.reason);else{var g=function(){xb(e,d.reason);d.removeEventListener("abort",g)};d.addEventListener("abort",g)}}return new ReadableStream({type:"bytes",start:function(){e.flushScheduled=null!==e.destination;sb(e)},pull:function(f){if(1===e.status)e.status=2,ca(f,e.fatalError);else if(2!==e.status&&null===e.destination){e.destination=
f;try{Q(e,f)}catch(k){O(e,k),wb(e,k)}}},cancel:function(){}},{highWaterMark:0})};
//# sourceMappingURL=react-server-dom-turbopack-server.browser.production.min.js.map

View File

@ -0,0 +1,83 @@
/*
React
react-server-dom-turbopack-server.edge.production.min.js
Copyright (c) Meta Platforms, Inc. and affiliates.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
'use strict';var aa=require("react"),ba=require("react-dom"),n=null,p=0;function ca(a,b){if(0!==b.byteLength)if(2048<b.byteLength)0<p&&(a.enqueue(new Uint8Array(n.buffer,0,p)),n=new Uint8Array(2048),p=0),a.enqueue(b);else{var c=n.length-p;c<b.byteLength&&(0===c?a.enqueue(n):(n.set(b.subarray(0,c),p),a.enqueue(n),b=b.subarray(c)),n=new Uint8Array(2048),p=0);n.set(b,p);p+=b.byteLength}return!0}var q=new TextEncoder;function da(a,b){"function"===typeof a.error?a.error(b):a.close()}
var r=Symbol.for("react.client.reference"),ea=Symbol.for("react.server.reference");function t(a,b,c){return Object.defineProperties(a,{$$typeof:{value:r},$$id:{value:b},$$async:{value:c}})}var fa=Function.prototype.bind,ha=Array.prototype.slice;function ia(){var a=fa.apply(this,arguments);if(this.$$typeof===ea){var b=ha.call(arguments,1);return Object.defineProperties(a,{$$typeof:{value:ea},$$id:{value:this.$$id},$$bound:{value:this.$$bound?this.$$bound.concat(b):b},bind:{value:ia}})}return a}
var ka=Promise.prototype,la={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");
}throw Error("Cannot access "+(String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");},set:function(){throw Error("Cannot assign to a client module from a server module.");}};
function ma(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case "__esModule":var c=a.$$id;a.default=t(function(){throw Error("Attempted to call the default export of "+c+" 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.");
},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var e=t({},a.$$id,!0),d=new Proxy(e,na);a.status="fulfilled";a.value=d;return a.then=t(function(g){return Promise.resolve(g(d))},a.$$id+"#then",!1)}if("symbol"===typeof b)throw Error("Cannot read Symbol exports. Only named exports are supported on a client module imported on the server.");e=a[b];e||(e=t(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" 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.");
},a.$$id+"#"+b,a.$$async),Object.defineProperty(e,"name",{value:b}),e=a[b]=new Proxy(e,la));return e}
var na={get:function(a,b){return ma(a,b)},getOwnPropertyDescriptor:function(a,b){var c=Object.getOwnPropertyDescriptor(a,b);c||(c={value:ma(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,c));return c},getPrototypeOf:function(){return ka},set:function(){throw Error("Cannot assign to a client module from a server module.");}},va={prefetchDNS:oa,preconnect:pa,preload:qa,preloadModule:ra,preinitStyle:sa,preinitScript:ta,preinitModuleScript:ua};
function oa(a){if("string"===typeof a&&a){var b=u();if(b){var c=b.hints,e="D|"+a;c.has(e)||(c.add(e),v(b,"D",a))}}}function pa(a,b){if("string"===typeof a){var c=u();if(c){var e=c.hints,d="C|"+(null==b?"null":b)+"|"+a;e.has(d)||(e.add(d),"string"===typeof b?v(c,"C",[a,b]):v(c,"C",a))}}}
function qa(a,b,c){if("string"===typeof a){var e=u();if(e){var d=e.hints,g="L";if("image"===b&&c){var f=c.imageSrcSet,k=c.imageSizes,h="";"string"===typeof f&&""!==f?(h+="["+f+"]","string"===typeof k&&(h+="["+k+"]")):h+="[][]"+a;g+="[image]"+h}else g+="["+b+"]"+a;d.has(g)||(d.add(g),(c=w(c))?v(e,"L",[a,b,c]):v(e,"L",[a,b]))}}}function ra(a,b){if("string"===typeof a){var c=u();if(c){var e=c.hints,d="m|"+a;if(!e.has(d))return e.add(d),(b=w(b))?v(c,"m",[a,b]):v(c,"m",a)}}}
function sa(a,b,c){if("string"===typeof a){var e=u();if(e){var d=e.hints,g="S|"+a;if(!d.has(g))return d.add(g),(c=w(c))?v(e,"S",[a,"string"===typeof b?b:0,c]):"string"===typeof b?v(e,"S",[a,b]):v(e,"S",a)}}}function ta(a,b){if("string"===typeof a){var c=u();if(c){var e=c.hints,d="X|"+a;if(!e.has(d))return e.add(d),(b=w(b))?v(c,"X",[a,b]):v(c,"X",a)}}}function ua(a,b){if("string"===typeof a){var c=u();if(c){var e=c.hints,d="M|"+a;if(!e.has(d))return e.add(d),(b=w(b))?v(c,"M",[a,b]):v(c,"M",a)}}}
function w(a){if(null==a)return null;var b=!1,c={},e;for(e in a)null!=a[e]&&(b=!0,c[e]=a[e]);return b?c:null}var wa=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,x="function"===typeof AsyncLocalStorage,xa=x?new AsyncLocalStorage:null;"object"===typeof async_hooks?async_hooks.createHook:function(){return{enable:function(){},disable:function(){}}};"object"===typeof async_hooks?async_hooks.executionAsyncId:null;
var z=Symbol.for("react.element"),ya=Symbol.for("react.fragment"),za=Symbol.for("react.context"),Aa=Symbol.for("react.forward_ref"),Ba=Symbol.for("react.suspense"),Ca=Symbol.for("react.suspense_list"),Da=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),Ea=Symbol.for("react.memo_cache_sentinel"),B=Symbol.for("react.postpone"),Fa=Symbol.iterator,Ga=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`");
function Ha(){}function Ia(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(Ha,Ha),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(e){if("pending"===b.status){var d=b;d.status="fulfilled";d.value=e}},function(e){if("pending"===b.status){var d=b;d.status="rejected";d.reason=e}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Ja=b;throw Ga;}}var Ja=null;
function Ka(){if(null===Ja)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=Ja;Ja=null;return a}var C=null,La=0,E=null;function Ma(){var a=E||[];E=null;return a}
var Ra={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:F,useTransition:F,readContext:Na,useContext:Na,useReducer:F,useRef:F,useState:F,useInsertionEffect:F,useLayoutEffect:F,useImperativeHandle:F,useEffect:F,useId:Oa,useSyncExternalStore:F,useCacheRefresh:function(){return Pa},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=Ea;return b},use:Qa};
function F(){throw Error("This Hook is not supported in Server Components.");}function Pa(){throw Error("Refreshing the cache is not supported in Server Components.");}function Na(){throw Error("Cannot read a Client Context from a Server Component.");}function Oa(){if(null===C)throw Error("useId can only be used while React is rendering");var a=C.identifierCount++;return":"+C.identifierPrefix+"S"+a.toString(32)+":"}
function Qa(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=La;La+=1;null===E&&(E=[]);return Ia(E,a,b)}a.$$typeof===za&&Na()}if(a.$$typeof===r){if(null!=a.value&&a.value.$$typeof===za)throw Error("Cannot read a Client Context from a Server Component.");throw Error("Cannot use() an already resolved Client Reference.");}throw Error("An unsupported type was passed to use(): "+String(a));}function Sa(){return(new AbortController).signal}
function Ta(){var a=u();return a?a.cache:new Map}var Ua={getCacheSignal:function(){var a=Ta(),b=a.get(Sa);void 0===b&&(b=Sa(),a.set(Sa,b));return b},getCacheForType:function(a){var b=Ta(),c=b.get(a);void 0===c&&(c=a(),b.set(a,c));return c}},Va=Array.isArray,Wa=Object.getPrototypeOf;function Xa(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,c){return c})}
function Ya(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Va(a))return"[...]";if(null!==a&&a.$$typeof===Za)return"client";a=Xa(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===Za?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}}
function $a(a){if("string"===typeof a)return a;switch(a){case Ba:return"Suspense";case Ca:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Aa:return $a(a.render);case Da:return $a(a.type);case A:var b=a._payload;a=a._init;try{return $a(a(b))}catch(c){}}return""}var Za=Symbol.for("react.client.reference");
function G(a,b){var c=Xa(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var e=0;if(Va(a)){var d="[";for(var g=0;g<a.length;g++){0<g&&(d+=", ");var f=a[g];f="object"===typeof f&&null!==f?G(f):Ya(f);""+g===b?(c=d.length,e=f.length,d+=f):d=10>f.length&&40>d.length+f.length?d+f:d+"..."}d+="]"}else if(a.$$typeof===z)d="<"+$a(a.type)+"/>";else{if(a.$$typeof===Za)return"client";d="{";g=Object.keys(a);for(f=0;f<g.length;f++){0<f&&(d+=", ");var k=g[f],h=JSON.stringify(k);d+=('"'+k+'"'===h?k:h)+": ";h=a[k];
h="object"===typeof h&&null!==h?G(h):Ya(h);k===b?(c=d.length,e=h.length,d+=h):d=10>h.length&&40>d.length+h.length?d+h:d+"..."}d+="}"}return void 0===b?d:-1<c&&0<e?(a=" ".repeat(c)+"^".repeat(e),"\n "+d+"\n "+a):"\n "+d}var ab=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,H=aa.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
if(!H)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.');var bb=Object.prototype,I=JSON.stringify,cb=H.TaintRegistryObjects,J=H.TaintRegistryValues,db=H.TaintRegistryByteLengths,eb=H.TaintRegistryPendingRequests,fb=H.ReactCurrentCache,gb=ab.ReactCurrentDispatcher;function K(a){throw Error(a);}
function hb(a){a=a.taintCleanupQueue;eb.delete(a);for(var b=0;b<a.length;b++){var c=a[b],e=J.get(c);void 0!==e&&(1===e.count?J.delete(c):e.count--)}a.length=0}function ib(a){console.error(a)}function jb(){}
function kb(a,b,c,e,d){if(null!==fb.current&&fb.current!==Ua)throw Error("Currently React only supports one RSC renderer at a time.");wa.current=va;fb.current=Ua;var g=new Set,f=[],k=[];eb.add(k);var h=new Set;b={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:h,abortableTasks:g,pingedTasks:f,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map,
writtenServerReferences:new Map,writtenObjects:new WeakMap,identifierPrefix:e||"",identifierCount:1,taintCleanupQueue:k,onError:void 0===c?ib:c,onPostpone:void 0===d?jb:d};a=lb(b,a,null,!1,g);f.push(a);return b}var L=null;function u(){if(L)return L;if(x){var a=xa.getStore();if(a)return a}return null}
function mb(a,b,c){var e=lb(a,null,b.keyPath,b.implicitSlot,a.abortableTasks);switch(c.status){case "fulfilled":return e.model=c.value,nb(a,e),e.id;case "rejected":return b=c.reason,"object"===typeof b&&null!==b&&b.$$typeof===B?(M(a,b.message),N(a,e.id)):(b=O(a,b),P(a,e.id,b)),e.id;default:"string"!==typeof c.status&&(c.status="pending",c.then(function(d){"pending"===c.status&&(c.status="fulfilled",c.value=d)},function(d){"pending"===c.status&&(c.status="rejected",c.reason=d)}))}c.then(function(d){e.model=
d;nb(a,e)},function(d){"object"===typeof d&&null!==d&&d.$$typeof===B?(M(a,d.message),N(a,e.id)):(e.status=4,d=O(a,d),P(a,e.id,d));a.abortableTasks.delete(e);null!==a.destination&&Q(a,a.destination)});return e.id}function v(a,b,c){c=I(c);var e=a.nextChunkId++;b="H"+b;b=e.toString(16)+":"+b;c=q.encode(b+c+"\n");a.completedHintChunks.push(c);ob(a)}function pb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}
function qb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:A,_payload:a,_init:pb}}
function rb(a,b,c,e,d){var g=b.thenableState;b.thenableState=null;La=0;E=g;e=e(d,void 0);if("object"===typeof e&&null!==e&&"function"===typeof e.then){d=e;if("fulfilled"===d.status)return d.value;e=qb(e)}d=b.keyPath;g=b.implicitSlot;null!==c?b.keyPath=null===d?c:d+","+c:null===d&&(b.implicitSlot=!0);a=R(a,b,sb,"",e);b.keyPath=d;b.implicitSlot=g;return a}function tb(a,b,c){return null!==b.keyPath?(a=[z,ya,b.keyPath,{children:c}],b.implicitSlot?[a]:a):c}
function ub(a,b,c,e){var d=a.keyPath;null===c?c=d:null!==d&&(c=d+","+c);b=[z,b,c,e];return a.implicitSlot&&null!==c?[b]:b}
function vb(a,b,c,e,d,g){if(null!==d&&void 0!==d)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof c)return c.$$typeof===r?ub(b,c,e,g):rb(a,b,e,c,g);if("string"===typeof c)return ub(b,c,e,g);if("symbol"===typeof c)return c===ya&&null===e?(e=b.implicitSlot,null===b.keyPath&&(b.implicitSlot=!0),a=R(a,b,sb,"",g.children),b.implicitSlot=e,a):ub(b,c,e,g);if(null!=c&&"object"===typeof c){if(c.$$typeof===r)return ub(b,c,e,g);switch(c.$$typeof){case A:var f=
c._init;c=f(c._payload);return vb(a,b,c,e,d,g);case Aa:return rb(a,b,e,c.render,g);case Da:return vb(a,b,c.type,e,d,g)}}throw Error("Unsupported Server Component type: "+Ya(c));}function nb(a,b){var c=a.pingedTasks;c.push(b);1===c.length&&(a.flushScheduled=null!==a.destination,setTimeout(function(){return wb(a)},0))}
function lb(a,b,c,e,d){a.pendingChunks++;var g=a.nextChunkId++;"object"!==typeof b||null===b||null!==c||e||a.writtenObjects.set(b,g);var f={id:g,status:0,model:b,keyPath:c,implicitSlot:e,ping:function(){return nb(a,f)},toJSON:function(k,h){a:{var l=f.keyPath,y=f.implicitSlot;try{var m=R(a,f,this,k,h)}catch(ja){k=ja===Ga?Ka():ja;h=f.model;h="object"===typeof h&&null!==h&&(h.$$typeof===z||h.$$typeof===A);if("object"===typeof k&&null!==k){if("function"===typeof k.then){m=lb(a,f.model,f.keyPath,f.implicitSlot,
a.abortableTasks);var D=m.ping;k.then(D,D);m.thenableState=Ma();f.keyPath=l;f.implicitSlot=y;m=h?"$L"+m.id.toString(16):S(m.id);break a}if(k.$$typeof===B){a.pendingChunks++;m=a.nextChunkId++;M(a,k.message);N(a,m);f.keyPath=l;f.implicitSlot=y;m=h?"$L"+m.toString(16):S(m);break a}}f.keyPath=l;f.implicitSlot=y;if(h)a.pendingChunks++,l=a.nextChunkId++,y=O(a,k),P(a,l,y),m="$L"+l.toString(16);else throw k;}}return m},thenableState:null};d.add(f);return f}function S(a){return"$"+a.toString(16)}
function xb(a,b,c){a=I(c);b=b.toString(16)+":"+a+"\n";return q.encode(b)}
function yb(a,b,c,e){var d=e.$$async?e.$$id+"#async":e.$$id,g=a.writtenClientReferences,f=g.get(d);if(void 0!==f)return b[0]===z&&"1"===c?"$L"+f.toString(16):S(f);try{var k=a.bundlerConfig,h=e.$$id;f="";var l=k[h];if(l)f=l.name;else{var y=h.lastIndexOf("#");-1!==y&&(f=h.slice(y+1),l=k[h.slice(0,y)]);if(!l)throw Error('Could not find the module "'+h+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var m=!0===e.$$async?[l.id,l.chunks,f,1]:[l.id,l.chunks,
f];a.pendingChunks++;var D=a.nextChunkId++,ja=I(m),Qb=D.toString(16)+":I"+ja+"\n",Rb=q.encode(Qb);a.completedImportChunks.push(Rb);g.set(d,D);return b[0]===z&&"1"===c?"$L"+D.toString(16):S(D)}catch(Sb){return a.pendingChunks++,b=a.nextChunkId++,c=O(a,Sb),P(a,b,c),S(b)}}function T(a,b){b=lb(a,b,null,!1,a.abortableTasks);zb(a,b);return b.id}
function U(a,b,c){if(db.has(c.byteLength)){var e=J.get(String.fromCharCode.apply(String,new Uint8Array(c.buffer,c.byteOffset,c.byteLength)));void 0!==e&&K(e.message)}a.pendingChunks+=2;e=a.nextChunkId++;var d=new Uint8Array(c.buffer,c.byteOffset,c.byteLength);c=2048<c.byteLength?d.slice():d;d=c.byteLength;b=e.toString(16)+":"+b+d.toString(16)+",";b=q.encode(b);a.completedRegularChunks.push(b,c);return S(e)}var V=!1;
function R(a,b,c,e,d){b.model=d;if(d===z)return"$";if(null===d)return null;if("object"===typeof d){switch(d.$$typeof){case z:c=a.writtenObjects;e=c.get(d);if(void 0!==e){if(null===b.keyPath&&!b.implicitSlot)if(V===d)V=null;else return-1===e?(a=T(a,d),S(a)):S(e)}else c.set(d,-1);c=d.props;e=c.ref;return vb(a,b,d.type,d.key,void 0!==e?e:null,c);case A:return b.thenableState=null,c=d._init,d=c(d._payload),R(a,b,sb,"",d)}if(d.$$typeof===r)return yb(a,c,e,d);c=cb.get(d);void 0!==c&&K(c);c=a.writtenObjects;
e=c.get(d);if("function"===typeof d.then){if(void 0!==e){if(null!==b.keyPath||b.implicitSlot)return"$@"+mb(a,b,d).toString(16);if(V===d)V=null;else return"$@"+e.toString(16)}a=mb(a,b,d);c.set(d,a);return"$@"+a.toString(16)}if(void 0!==e)if(V===d)V=null;else return-1===e?(a=T(a,d),S(a)):S(e);else c.set(d,-1);if(Va(d))return tb(a,b,d);if(d instanceof Map){d=Array.from(d);for(b=0;b<d.length;b++)c=d[b][0],"object"===typeof c&&null!==c&&(e=a.writtenObjects,void 0===e.get(c)&&e.set(c,-1));return"$Q"+T(a,
d).toString(16)}if(d instanceof Set){d=Array.from(d);for(b=0;b<d.length;b++)c=d[b],"object"===typeof c&&null!==c&&(e=a.writtenObjects,void 0===e.get(c)&&e.set(c,-1));return"$W"+T(a,d).toString(16)}if(d instanceof ArrayBuffer)return U(a,"A",new Uint8Array(d));if(d instanceof Int8Array)return U(a,"C",d);if(d instanceof Uint8Array)return U(a,"c",d);if(d instanceof Uint8ClampedArray)return U(a,"U",d);if(d instanceof Int16Array)return U(a,"S",d);if(d instanceof Uint16Array)return U(a,"s",d);if(d instanceof
Int32Array)return U(a,"L",d);if(d instanceof Uint32Array)return U(a,"l",d);if(d instanceof Float32Array)return U(a,"F",d);if(d instanceof Float64Array)return U(a,"d",d);if(d instanceof BigInt64Array)return U(a,"N",d);if(d instanceof BigUint64Array)return U(a,"m",d);if(d instanceof DataView)return U(a,"V",d);null===d||"object"!==typeof d?c=null:(c=Fa&&d[Fa]||d["@@iterator"],c="function"===typeof c?c:null);if(c)return tb(a,b,Array.from(d));a=Wa(d);if(a!==bb&&(null===a||null!==Wa(a)))throw Error("Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.");
return d}if("string"===typeof d){b=J.get(d);void 0!==b&&K(b.message);if("Z"===d[d.length-1]&&c[e]instanceof Date)return"$D"+d;if(1024<=d.length)return a.pendingChunks+=2,b=a.nextChunkId++,d=q.encode(d),c=d.byteLength,c=b.toString(16)+":T"+c.toString(16)+",",c=q.encode(c),a.completedRegularChunks.push(c,d),S(b);a="$"===d[0]?"$"+d:d;return a}if("boolean"===typeof d)return d;if("number"===typeof d)return Number.isFinite(d)?0===d&&-Infinity===1/d?"$-0":d:Infinity===d?"$Infinity":-Infinity===d?"$-Infinity":
"$NaN";if("undefined"===typeof d)return"$undefined";if("function"===typeof d){if(d.$$typeof===r)return yb(a,c,e,d);if(d.$$typeof===ea)return b=a.writtenServerReferences,c=b.get(d),void 0!==c?a="$F"+c.toString(16):(c=d.$$bound,c={id:d.$$id,bound:c?Promise.resolve(c):null},a=T(a,c),b.set(d,a),a="$F"+a.toString(16)),a;a=cb.get(d);void 0!==a&&K(a);if(/^on[A-Z]/.test(e))throw Error("Event handlers cannot be passed to Client Component props."+G(c,e)+"\nIf you need interactivity, consider converting part of this to a Client Component.");
throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server". Or maybe you meant to call this function rather than return it.'+G(c,e));}if("symbol"===typeof d){b=a.writtenSymbols;var g=b.get(d);if(void 0!==g)return S(g);g=d.description;if(Symbol.for(g)!==d)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(d.description+") cannot be found among global symbols.")+
G(c,e));a.pendingChunks++;c=a.nextChunkId++;e=xb(a,c,"$S"+g);a.completedImportChunks.push(e);b.set(d,c);return S(c)}if("bigint"===typeof d)return a=J.get(d),void 0!==a&&K(a.message),"$n"+d.toString(10);throw Error("Type "+typeof d+" is not supported in Client Component props."+G(c,e));}function M(a,b){var c=L;L=null;try{var e=a.onPostpone;x?xa.run(void 0,e,b):e(b)}finally{L=c}}
function O(a,b){var c=L;L=null;try{var e=a.onError;var d=x?xa.run(void 0,e,b):e(b)}finally{L=c}if(null!=d&&"string"!==typeof d)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof d+'" instead');return d||""}function Ab(a,b){hb(a);null!==a.destination?(a.status=2,da(a.destination,b)):(a.status=1,a.fatalError=b)}
function N(a,b){b=b.toString(16)+":P\n";b=q.encode(b);a.completedErrorChunks.push(b)}function P(a,b,c){c={digest:c};b=b.toString(16)+":E"+I(c)+"\n";b=q.encode(b);a.completedErrorChunks.push(b)}var sb={};
function zb(a,b){if(0===b.status)try{V=b.model;var c=R(a,b,sb,"",b.model);V=c;b.keyPath=null;b.implicitSlot=!1;var e="object"===typeof c&&null!==c?I(c,b.toJSON):I(c),d=b.id.toString(16)+":"+e+"\n",g=q.encode(d);a.completedRegularChunks.push(g);a.abortableTasks.delete(b);b.status=1}catch(l){var f=l===Ga?Ka():l;if("object"===typeof f&&null!==f){if("function"===typeof f.then){var k=b.ping;f.then(k,k);b.thenableState=Ma();return}if(f.$$typeof===B){a.abortableTasks.delete(b);b.status=4;M(a,f.message);
N(a,b.id);return}}a.abortableTasks.delete(b);b.status=4;var h=O(a,f);P(a,b.id,h)}finally{}}function wb(a){var b=gb.current;gb.current=Ra;var c=L;C=L=a;try{var e=a.pingedTasks;a.pingedTasks=[];for(var d=0;d<e.length;d++)zb(a,e[d]);null!==a.destination&&Q(a,a.destination)}catch(g){O(a,g),Ab(a,g)}finally{gb.current=b,C=null,L=c}}
function Q(a,b){n=new Uint8Array(2048);p=0;try{for(var c=a.completedImportChunks,e=0;e<c.length;e++)a.pendingChunks--,ca(b,c[e]);c.splice(0,e);var d=a.completedHintChunks;for(e=0;e<d.length;e++)ca(b,d[e]);d.splice(0,e);var g=a.completedRegularChunks;for(e=0;e<g.length;e++)a.pendingChunks--,ca(b,g[e]);g.splice(0,e);var f=a.completedErrorChunks;for(e=0;e<f.length;e++)a.pendingChunks--,ca(b,f[e]);f.splice(0,e)}finally{a.flushScheduled=!1,n&&0<p&&(b.enqueue(new Uint8Array(n.buffer,0,p)),n=null,p=0)}0===
a.pendingChunks&&(hb(a),b.close())}function Bb(a){a.flushScheduled=null!==a.destination;x?setTimeout(function(){return xa.run(a,wb,a)},0):setTimeout(function(){return wb(a)},0)}function ob(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setTimeout(function(){return Q(a,b)},0)}}
function Cb(a,b){try{var c=a.abortableTasks;if(0<c.size){a.pendingChunks++;var e=a.nextChunkId++;if("object"===typeof b&&null!==b&&b.$$typeof===B)M(a,b.message),N(a,e,b);else{var d=void 0===b?Error("The render was aborted by the server without a reason."):b,g=O(a,d);P(a,e,g,d)}c.forEach(function(f){f.status=3;var k=S(e);f=xb(a,f.id,k);a.completedErrorChunks.push(f)});c.clear()}null!==a.destination&&Q(a,a.destination)}catch(f){O(a,f),Ab(a,f)}}
function Db(a,b){var c="",e=a[b];if(e)c=e.name;else{var d=b.lastIndexOf("#");-1!==d&&(c=b.slice(d+1),e=a[b.slice(0,d)]);if(!e)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[e.id,e.chunks,c]}var Eb=new Map;
function Fb(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function Gb(){}
function Hb(a){for(var b=a[1],c=[],e=0;e<b.length;e++){var d=b[e],g=Eb.get(d);if(void 0===g){g=globalThis.__next_chunk_load__(d);c.push(g);var f=Eb.set.bind(Eb,d,null);g.then(f,Gb);Eb.set(d,g)}else null!==g&&c.push(g)}return 4===a.length?0===c.length?Fb(a[0]):Promise.all(c).then(function(){return Fb(a[0])}):0<c.length?Promise.all(c):null}
function W(a){var b=globalThis.__next_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}function Ib(a,b,c,e){this.status=a;this.value=b;this.reason=c;this._response=e}Ib.prototype=Object.create(Promise.prototype);
Ib.prototype.then=function(a,b){switch(this.status){case "resolved_model":Jb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};function Kb(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}
function Lb(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&Kb(c,b)}}function Mb(a,b,c,e,d,g){var f=Db(a._bundlerConfig,b);a=Hb(f);if(c)c=Promise.all([c,a]).then(function(k){k=k[0];var h=W(f);return h.bind.apply(h,[null].concat(k))});else if(a)c=Promise.resolve(a).then(function(){return W(f)});else return W(f);c.then(Nb(e,d,g),Ob(e));return null}var X=null,Y=null;
function Jb(a){var b=X,c=Y;X=a;Y=null;try{var e=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=e,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=e)}catch(d){a.status="rejected",a.reason=d}finally{X=b,Y=c}}function Pb(a,b){a._chunks.forEach(function(c){"pending"===c.status&&Lb(c,b)})}
function Z(a,b){var c=a._chunks,e=c.get(b);e||(e=a._formData.get(a._prefix+b),e=null!=e?new Ib("resolved_model",e,null,a):new Ib("pending",null,null,a),c.set(b,e));return e}function Nb(a,b,c){if(Y){var e=Y;e.deps++}else e=Y={deps:1,value:null};return function(d){b[c]=d;e.deps--;0===e.deps&&"blocked"===a.status&&(d=a.value,a.status="fulfilled",a.value=e.value,null!==d&&Kb(d,e.value))}}function Ob(a){return function(b){return Lb(a,b)}}
function Tb(a,b){a=Z(a,b);"resolved_model"===a.status&&Jb(a);if("fulfilled"!==a.status)throw a.reason;return a.value}
function Ub(a,b,c,e){if("$"===e[0])switch(e[1]){case "$":return e.slice(1);case "@":return b=parseInt(e.slice(2),16),Z(a,b);case "S":return Symbol.for(e.slice(2));case "F":return e=parseInt(e.slice(2),16),e=Tb(a,e),Mb(a,e.id,e.bound,X,b,c);case "Q":return b=parseInt(e.slice(2),16),a=Tb(a,b),new Map(a);case "W":return b=parseInt(e.slice(2),16),a=Tb(a,b),new Set(a);case "K":b=e.slice(2);var d=a._prefix+b+"_",g=new FormData;a._formData.forEach(function(f,k){k.startsWith(d)&&g.append(k.slice(d.length),
f)});return g;case "I":return Infinity;case "-":return"$-0"===e?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(e.slice(2)));case "n":return BigInt(e.slice(2));default:e=parseInt(e.slice(1),16);a=Z(a,e);switch(a.status){case "resolved_model":Jb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return e=X,a.then(Nb(e,b,c),Ob(e)),null;default:throw a.reason;}}return e}
function Vb(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,e=new Map,d={_bundlerConfig:a,_prefix:b,_formData:c,_chunks:e,_fromJSON:function(g,f){return"string"===typeof f?Ub(d,this,g,f):f}};return d}function Wb(a){Pb(a,Error("Connection closed."))}function Xb(a,b,c){var e=Db(a,b);a=Hb(e);return c?Promise.all([c,a]).then(function(d){d=d[0];var g=W(e);return g.bind.apply(g,[null].concat(d))}):a?Promise.resolve(a).then(function(){return W(e)}):Promise.resolve(W(e))}
function Yb(a,b,c){a=Vb(b,c,a);Wb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}exports.createClientModuleProxy=function(a){a=t({},a,!1);return new Proxy(a,na)};
exports.decodeAction=function(a,b){var c=new FormData,e=null;a.forEach(function(d,g){g.startsWith("$ACTION_")?g.startsWith("$ACTION_REF_")?(d="$ACTION_"+g.slice(12)+":",d=Yb(a,b,d),e=Xb(b,d.id,d.bound)):g.startsWith("$ACTION_ID_")&&(d=g.slice(11),e=Xb(b,d,null)):c.append(g,d)});return null===e?null:e.then(function(d){return d.bind(null,c)})};exports.decodeReply=function(a,b){if("string"===typeof a){var c=new FormData;c.append("0",a);a=c}a=Vb(b,"",a);b=Z(a,0);Wb(a);return b};
exports.registerClientReference=function(a,b,c){return t(a,b+"#"+c,!1)};exports.registerServerReference=function(a,b,c){return Object.defineProperties(a,{$$typeof:{value:ea},$$id:{value:null===c?b:b+"#"+c,configurable:!0},$$bound:{value:null,configurable:!0},bind:{value:ia,configurable:!0}})};
exports.renderToReadableStream=function(a,b,c){var e=kb(a,b,c?c.onError:void 0,c?c.identifierPrefix:void 0,c?c.onPostpone:void 0);if(c&&c.signal){var d=c.signal;if(d.aborted)Cb(e,d.reason);else{var g=function(){Cb(e,d.reason);d.removeEventListener("abort",g)};d.addEventListener("abort",g)}}return new ReadableStream({type:"bytes",start:function(){Bb(e)},pull:function(f){if(1===e.status)e.status=2,da(f,e.fatalError);else if(2!==e.status&&null===e.destination){e.destination=f;try{Q(e,f)}catch(k){O(e,
k),Ab(e,k)}}},cancel:function(){}},{highWaterMark:0})};
//# sourceMappingURL=react-server-dom-turbopack-server.edge.production.min.js.map

View File

@ -0,0 +1,87 @@
/*
React
react-server-dom-turbopack-server.node.production.min.js
Copyright (c) Meta Platforms, Inc. and affiliates.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
'use strict';var aa=require("util");require("crypto");var ba=require("async_hooks"),ca=require("react"),da=require("react-dom"),l=null,n=0,q=!0;function r(a,b){a=a.write(b);q=q&&a}
function ea(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<n&&(r(a,l.subarray(0,n)),l=new Uint8Array(2048),n=0),r(a,fa.encode(b));else{var c=l;0<n&&(c=l.subarray(n));c=fa.encodeInto(b,c);var e=c.read;n+=c.written;e<b.length&&(r(a,l.subarray(0,n)),l=new Uint8Array(2048),n=fa.encodeInto(b.slice(e),l).written);2048===n&&(r(a,l),l=new Uint8Array(2048),n=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<n&&(r(a,l.subarray(0,n)),l=new Uint8Array(2048),n=0),r(a,b)):(c=l.length-n,c<b.byteLength&&
(0===c?r(a,l):(l.set(b.subarray(0,c),n),n+=c,r(a,l),b=b.subarray(c)),l=new Uint8Array(2048),n=0),l.set(b,n),n+=b.byteLength,2048===n&&(r(a,l),l=new Uint8Array(2048),n=0)));return q}var fa=new aa.TextEncoder,t=Symbol.for("react.client.reference"),ha=Symbol.for("react.server.reference");function v(a,b,c){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:b},$$async:{value:c}})}var ia=Function.prototype.bind,ka=Array.prototype.slice;
function la(){var a=ia.apply(this,arguments);if(this.$$typeof===ha){var b=ka.call(arguments,1);return Object.defineProperties(a,{$$typeof:{value:ha},$$id:{value:this.$$id},$$bound:{value:this.$$bound?this.$$bound.concat(b):b},bind:{value:la}})}return a}
var ma=Promise.prototype,na={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");
}throw Error("Cannot access "+(String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");},set:function(){throw Error("Cannot assign to a client module from a server module.");}};
function oa(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case "__esModule":var c=a.$$id;a.default=v(function(){throw Error("Attempted to call the default export of "+c+" 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.");
},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var e=v({},a.$$id,!0),d=new Proxy(e,pa);a.status="fulfilled";a.value=d;return a.then=v(function(f){return Promise.resolve(f(d))},a.$$id+"#then",!1)}if("symbol"===typeof b)throw Error("Cannot read Symbol exports. Only named exports are supported on a client module imported on the server.");e=a[b];e||(e=v(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" 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.");
},a.$$id+"#"+b,a.$$async),Object.defineProperty(e,"name",{value:b}),e=a[b]=new Proxy(e,na));return e}
var pa={get:function(a,b){return oa(a,b)},getOwnPropertyDescriptor:function(a,b){var c=Object.getOwnPropertyDescriptor(a,b);c||(c={value:oa(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,c));return c},getPrototypeOf:function(){return ma},set:function(){throw Error("Cannot assign to a client module from a server module.");}},xa={prefetchDNS:qa,preconnect:ra,preload:sa,preloadModule:ta,preinitStyle:ua,preinitScript:va,preinitModuleScript:wa};
function qa(a){if("string"===typeof a&&a){var b=w();if(b){var c=b.hints,e="D|"+a;c.has(e)||(c.add(e),x(b,"D",a))}}}function ra(a,b){if("string"===typeof a){var c=w();if(c){var e=c.hints,d="C|"+(null==b?"null":b)+"|"+a;e.has(d)||(e.add(d),"string"===typeof b?x(c,"C",[a,b]):x(c,"C",a))}}}
function sa(a,b,c){if("string"===typeof a){var e=w();if(e){var d=e.hints,f="L";if("image"===b&&c){var g=c.imageSrcSet,k=c.imageSizes,h="";"string"===typeof g&&""!==g?(h+="["+g+"]","string"===typeof k&&(h+="["+k+"]")):h+="[][]"+a;f+="[image]"+h}else f+="["+b+"]"+a;d.has(f)||(d.add(f),(c=y(c))?x(e,"L",[a,b,c]):x(e,"L",[a,b]))}}}function ta(a,b){if("string"===typeof a){var c=w();if(c){var e=c.hints,d="m|"+a;if(!e.has(d))return e.add(d),(b=y(b))?x(c,"m",[a,b]):x(c,"m",a)}}}
function ua(a,b,c){if("string"===typeof a){var e=w();if(e){var d=e.hints,f="S|"+a;if(!d.has(f))return d.add(f),(c=y(c))?x(e,"S",[a,"string"===typeof b?b:0,c]):"string"===typeof b?x(e,"S",[a,b]):x(e,"S",a)}}}function va(a,b){if("string"===typeof a){var c=w();if(c){var e=c.hints,d="X|"+a;if(!e.has(d))return e.add(d),(b=y(b))?x(c,"X",[a,b]):x(c,"X",a)}}}function wa(a,b){if("string"===typeof a){var c=w();if(c){var e=c.hints,d="M|"+a;if(!e.has(d))return e.add(d),(b=y(b))?x(c,"M",[a,b]):x(c,"M",a)}}}
function y(a){if(null==a)return null;var b=!1,c={},e;for(e in a)null!=a[e]&&(b=!0,c[e]=a[e]);return b?c:null}
var ya=da.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,za=new ba.AsyncLocalStorage,z=Symbol.for("react.element"),Aa=Symbol.for("react.fragment"),Ba=Symbol.for("react.context"),Ca=Symbol.for("react.forward_ref"),Da=Symbol.for("react.suspense"),Ea=Symbol.for("react.suspense_list"),Fa=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),Ga=Symbol.for("react.memo_cache_sentinel"),B=Symbol.for("react.postpone"),Ha=Symbol.iterator,Ia=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`");
function Ja(){}function Ka(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(Ja,Ja),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(e){if("pending"===b.status){var d=b;d.status="fulfilled";d.value=e}},function(e){if("pending"===b.status){var d=b;d.status="rejected";d.reason=e}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}La=b;throw Ia;}}var La=null;
function Ma(){if(null===La)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=La;La=null;return a}var C=null,Na=0,E=null;function Oa(){var a=E||[];E=null;return a}
var Ta={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:F,useTransition:F,readContext:Pa,useContext:Pa,useReducer:F,useRef:F,useState:F,useInsertionEffect:F,useLayoutEffect:F,useImperativeHandle:F,useEffect:F,useId:Qa,useSyncExternalStore:F,useCacheRefresh:function(){return Ra},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=Ga;return b},use:Sa};
function F(){throw Error("This Hook is not supported in Server Components.");}function Ra(){throw Error("Refreshing the cache is not supported in Server Components.");}function Pa(){throw Error("Cannot read a Client Context from a Server Component.");}function Qa(){if(null===C)throw Error("useId can only be used while React is rendering");var a=C.identifierCount++;return":"+C.identifierPrefix+"S"+a.toString(32)+":"}
function Sa(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=Na;Na+=1;null===E&&(E=[]);return Ka(E,a,b)}a.$$typeof===Ba&&Pa()}if(a.$$typeof===t){if(null!=a.value&&a.value.$$typeof===Ba)throw Error("Cannot read a Client Context from a Server Component.");throw Error("Cannot use() an already resolved Client Reference.");}throw Error("An unsupported type was passed to use(): "+String(a));}function Ua(){return(new AbortController).signal}
function Va(){var a=w();return a?a.cache:new Map}var Wa={getCacheSignal:function(){var a=Va(),b=a.get(Ua);void 0===b&&(b=Ua(),a.set(Ua,b));return b},getCacheForType:function(a){var b=Va(),c=b.get(a);void 0===c&&(c=a(),b.set(a,c));return c}},Xa=Array.isArray,Ya=Object.getPrototypeOf;function Za(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,c){return c})}
function $a(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Xa(a))return"[...]";if(null!==a&&a.$$typeof===ab)return"client";a=Za(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===ab?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}}
function bb(a){if("string"===typeof a)return a;switch(a){case Da:return"Suspense";case Ea:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Ca:return bb(a.render);case Fa:return bb(a.type);case A:var b=a._payload;a=a._init;try{return bb(a(b))}catch(c){}}return""}var ab=Symbol.for("react.client.reference");
function G(a,b){var c=Za(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var e=0;if(Xa(a)){var d="[";for(var f=0;f<a.length;f++){0<f&&(d+=", ");var g=a[f];g="object"===typeof g&&null!==g?G(g):$a(g);""+f===b?(c=d.length,e=g.length,d+=g):d=10>g.length&&40>d.length+g.length?d+g:d+"..."}d+="]"}else if(a.$$typeof===z)d="<"+bb(a.type)+"/>";else{if(a.$$typeof===ab)return"client";d="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(d+=", ");var k=f[g],h=JSON.stringify(k);d+=('"'+k+'"'===h?k:h)+": ";h=a[k];
h="object"===typeof h&&null!==h?G(h):$a(h);k===b?(c=d.length,e=h.length,d+=h):d=10>h.length&&40>d.length+h.length?d+h:d+"..."}d+="}"}return void 0===b?d:-1<c&&0<e?(a=" ".repeat(c)+"^".repeat(e),"\n "+d+"\n "+a):"\n "+d}var cb=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,H=ca.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
if(!H)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.');var db=Object.prototype,I=JSON.stringify,eb=H.TaintRegistryObjects,J=H.TaintRegistryValues,fb=H.TaintRegistryByteLengths,gb=H.TaintRegistryPendingRequests,hb=H.ReactCurrentCache,ib=cb.ReactCurrentDispatcher;function K(a){throw Error(a);}
function jb(a){a=a.taintCleanupQueue;gb.delete(a);for(var b=0;b<a.length;b++){var c=a[b],e=J.get(c);void 0!==e&&(1===e.count?J.delete(c):e.count--)}a.length=0}function kb(a){console.error(a)}function lb(){}
function mb(a,b,c,e,d){if(null!==hb.current&&hb.current!==Wa)throw Error("Currently React only supports one RSC renderer at a time.");ya.current=xa;hb.current=Wa;var f=new Set,g=[],k=[];gb.add(k);var h=new Set;b={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:h,abortableTasks:f,pingedTasks:g,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map,
writtenServerReferences:new Map,writtenObjects:new WeakMap,identifierPrefix:e||"",identifierCount:1,taintCleanupQueue:k,onError:void 0===c?kb:c,onPostpone:void 0===d?lb:d};a=nb(b,a,null,!1,f);g.push(a);return b}var L=null;function w(){if(L)return L;var a=za.getStore();return a?a:null}
function ob(a,b,c){var e=nb(a,null,b.keyPath,b.implicitSlot,a.abortableTasks);switch(c.status){case "fulfilled":return e.model=c.value,pb(a,e),e.id;case "rejected":return b=c.reason,"object"===typeof b&&null!==b&&b.$$typeof===B?(M(a,b.message),N(a,e.id)):(b=O(a,b),P(a,e.id,b)),e.id;default:"string"!==typeof c.status&&(c.status="pending",c.then(function(d){"pending"===c.status&&(c.status="fulfilled",c.value=d)},function(d){"pending"===c.status&&(c.status="rejected",c.reason=d)}))}c.then(function(d){e.model=
d;pb(a,e)},function(d){"object"===typeof d&&null!==d&&d.$$typeof===B?(M(a,d.message),N(a,e.id)):(e.status=4,d=O(a,d),P(a,e.id,d));a.abortableTasks.delete(e);null!==a.destination&&Q(a,a.destination)});return e.id}function x(a,b,c){c=I(c);var e=a.nextChunkId++;b="H"+b;b=e.toString(16)+":"+b;a.completedHintChunks.push(b+c+"\n");qb(a)}function rb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}
function sb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:A,_payload:a,_init:rb}}
function tb(a,b,c,e,d){var f=b.thenableState;b.thenableState=null;Na=0;E=f;e=e(d,void 0);if("object"===typeof e&&null!==e&&"function"===typeof e.then){d=e;if("fulfilled"===d.status)return d.value;e=sb(e)}d=b.keyPath;f=b.implicitSlot;null!==c?b.keyPath=null===d?c:d+","+c:null===d&&(b.implicitSlot=!0);a=R(a,b,ub,"",e);b.keyPath=d;b.implicitSlot=f;return a}function vb(a,b,c){return null!==b.keyPath?(a=[z,Aa,b.keyPath,{children:c}],b.implicitSlot?[a]:a):c}
function wb(a,b,c,e){var d=a.keyPath;null===c?c=d:null!==d&&(c=d+","+c);b=[z,b,c,e];return a.implicitSlot&&null!==c?[b]:b}
function xb(a,b,c,e,d,f){if(null!==d&&void 0!==d)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof c)return c.$$typeof===t?wb(b,c,e,f):tb(a,b,e,c,f);if("string"===typeof c)return wb(b,c,e,f);if("symbol"===typeof c)return c===Aa&&null===e?(e=b.implicitSlot,null===b.keyPath&&(b.implicitSlot=!0),a=R(a,b,ub,"",f.children),b.implicitSlot=e,a):wb(b,c,e,f);if(null!=c&&"object"===typeof c){if(c.$$typeof===t)return wb(b,c,e,f);switch(c.$$typeof){case A:var g=
c._init;c=g(c._payload);return xb(a,b,c,e,d,f);case Ca:return tb(a,b,e,c.render,f);case Fa:return xb(a,b,c.type,e,d,f)}}throw Error("Unsupported Server Component type: "+$a(c));}function pb(a,b){var c=a.pingedTasks;c.push(b);1===c.length&&(a.flushScheduled=null!==a.destination,setImmediate(function(){return yb(a)}))}
function nb(a,b,c,e,d){a.pendingChunks++;var f=a.nextChunkId++;"object"!==typeof b||null===b||null!==c||e||a.writtenObjects.set(b,f);var g={id:f,status:0,model:b,keyPath:c,implicitSlot:e,ping:function(){return pb(a,g)},toJSON:function(k,h){a:{var p=g.keyPath,u=g.implicitSlot;try{var m=R(a,g,this,k,h)}catch(ja){k=ja===Ia?Ma():ja;h=g.model;h="object"===typeof h&&null!==h&&(h.$$typeof===z||h.$$typeof===A);if("object"===typeof k&&null!==k){if("function"===typeof k.then){m=nb(a,g.model,g.keyPath,g.implicitSlot,
a.abortableTasks);var D=m.ping;k.then(D,D);m.thenableState=Oa();g.keyPath=p;g.implicitSlot=u;m=h?"$L"+m.id.toString(16):S(m.id);break a}if(k.$$typeof===B){a.pendingChunks++;m=a.nextChunkId++;M(a,k.message);N(a,m);g.keyPath=p;g.implicitSlot=u;m=h?"$L"+m.toString(16):S(m);break a}}g.keyPath=p;g.implicitSlot=u;if(h)a.pendingChunks++,p=a.nextChunkId++,u=O(a,k),P(a,p,u),m="$L"+p.toString(16);else throw k;}}return m},thenableState:null};d.add(g);return g}function S(a){return"$"+a.toString(16)}
function zb(a,b,c){a=I(c);return b.toString(16)+":"+a+"\n"}
function Ab(a,b,c,e){var d=e.$$async?e.$$id+"#async":e.$$id,f=a.writtenClientReferences,g=f.get(d);if(void 0!==g)return b[0]===z&&"1"===c?"$L"+g.toString(16):S(g);try{var k=a.bundlerConfig,h=e.$$id;g="";var p=k[h];if(p)g=p.name;else{var u=h.lastIndexOf("#");-1!==u&&(g=h.slice(u+1),p=k[h.slice(0,u)]);if(!p)throw Error('Could not find the module "'+h+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var m=!0===e.$$async?[p.id,p.chunks,g,1]:[p.id,p.chunks,
g];a.pendingChunks++;var D=a.nextChunkId++,ja=I(m),Ub=D.toString(16)+":I"+ja+"\n";a.completedImportChunks.push(Ub);f.set(d,D);return b[0]===z&&"1"===c?"$L"+D.toString(16):S(D)}catch(Vb){return a.pendingChunks++,b=a.nextChunkId++,c=O(a,Vb),P(a,b,c),S(b)}}function T(a,b){b=nb(a,b,null,!1,a.abortableTasks);Bb(a,b);return b.id}
function U(a,b,c){if(fb.has(c.byteLength)){var e=J.get(String.fromCharCode.apply(String,new Uint8Array(c.buffer,c.byteOffset,c.byteLength)));void 0!==e&&K(e.message)}a.pendingChunks+=2;e=a.nextChunkId++;c=new Uint8Array(c.buffer,c.byteOffset,c.byteLength);var d=c.byteLength;b=e.toString(16)+":"+b+d.toString(16)+",";a.completedRegularChunks.push(b,c);return S(e)}var V=!1;
function R(a,b,c,e,d){b.model=d;if(d===z)return"$";if(null===d)return null;if("object"===typeof d){switch(d.$$typeof){case z:c=a.writtenObjects;e=c.get(d);if(void 0!==e){if(null===b.keyPath&&!b.implicitSlot)if(V===d)V=null;else return-1===e?(a=T(a,d),S(a)):S(e)}else c.set(d,-1);c=d.props;e=c.ref;return xb(a,b,d.type,d.key,void 0!==e?e:null,c);case A:return b.thenableState=null,c=d._init,d=c(d._payload),R(a,b,ub,"",d)}if(d.$$typeof===t)return Ab(a,c,e,d);c=eb.get(d);void 0!==c&&K(c);c=a.writtenObjects;
e=c.get(d);if("function"===typeof d.then){if(void 0!==e){if(null!==b.keyPath||b.implicitSlot)return"$@"+ob(a,b,d).toString(16);if(V===d)V=null;else return"$@"+e.toString(16)}a=ob(a,b,d);c.set(d,a);return"$@"+a.toString(16)}if(void 0!==e)if(V===d)V=null;else return-1===e?(a=T(a,d),S(a)):S(e);else c.set(d,-1);if(Xa(d))return vb(a,b,d);if(d instanceof Map){d=Array.from(d);for(b=0;b<d.length;b++)c=d[b][0],"object"===typeof c&&null!==c&&(e=a.writtenObjects,void 0===e.get(c)&&e.set(c,-1));return"$Q"+T(a,
d).toString(16)}if(d instanceof Set){d=Array.from(d);for(b=0;b<d.length;b++)c=d[b],"object"===typeof c&&null!==c&&(e=a.writtenObjects,void 0===e.get(c)&&e.set(c,-1));return"$W"+T(a,d).toString(16)}if(d instanceof ArrayBuffer)return U(a,"A",new Uint8Array(d));if(d instanceof Int8Array)return U(a,"C",d);if(d instanceof Uint8Array)return U(a,"c",d);if(d instanceof Uint8ClampedArray)return U(a,"U",d);if(d instanceof Int16Array)return U(a,"S",d);if(d instanceof Uint16Array)return U(a,"s",d);if(d instanceof
Int32Array)return U(a,"L",d);if(d instanceof Uint32Array)return U(a,"l",d);if(d instanceof Float32Array)return U(a,"F",d);if(d instanceof Float64Array)return U(a,"d",d);if(d instanceof BigInt64Array)return U(a,"N",d);if(d instanceof BigUint64Array)return U(a,"m",d);if(d instanceof DataView)return U(a,"V",d);null===d||"object"!==typeof d?c=null:(c=Ha&&d[Ha]||d["@@iterator"],c="function"===typeof c?c:null);if(c)return vb(a,b,Array.from(d));a=Ya(d);if(a!==db&&(null===a||null!==Ya(a)))throw Error("Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.");
return d}if("string"===typeof d){b=J.get(d);void 0!==b&&K(b.message);if("Z"===d[d.length-1]&&c[e]instanceof Date)return"$D"+d;if(1024<=d.length)return a.pendingChunks+=2,b=a.nextChunkId++,c="string"===typeof d?Buffer.byteLength(d,"utf8"):d.byteLength,c=b.toString(16)+":T"+c.toString(16)+",",a.completedRegularChunks.push(c,d),S(b);a="$"===d[0]?"$"+d:d;return a}if("boolean"===typeof d)return d;if("number"===typeof d)return Number.isFinite(d)?0===d&&-Infinity===1/d?"$-0":d:Infinity===d?"$Infinity":-Infinity===
d?"$-Infinity":"$NaN";if("undefined"===typeof d)return"$undefined";if("function"===typeof d){if(d.$$typeof===t)return Ab(a,c,e,d);if(d.$$typeof===ha)return b=a.writtenServerReferences,c=b.get(d),void 0!==c?a="$F"+c.toString(16):(c=d.$$bound,c={id:d.$$id,bound:c?Promise.resolve(c):null},a=T(a,c),b.set(d,a),a="$F"+a.toString(16)),a;a=eb.get(d);void 0!==a&&K(a);if(/^on[A-Z]/.test(e))throw Error("Event handlers cannot be passed to Client Component props."+G(c,e)+"\nIf you need interactivity, consider converting part of this to a Client Component.");
throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server". Or maybe you meant to call this function rather than return it.'+G(c,e));}if("symbol"===typeof d){b=a.writtenSymbols;var f=b.get(d);if(void 0!==f)return S(f);f=d.description;if(Symbol.for(f)!==d)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(d.description+") cannot be found among global symbols.")+
G(c,e));a.pendingChunks++;c=a.nextChunkId++;e=zb(a,c,"$S"+f);a.completedImportChunks.push(e);b.set(d,c);return S(c)}if("bigint"===typeof d)return a=J.get(d),void 0!==a&&K(a.message),"$n"+d.toString(10);throw Error("Type "+typeof d+" is not supported in Client Component props."+G(c,e));}function M(a,b){var c=L;L=null;try{za.run(void 0,a.onPostpone,b)}finally{L=c}}
function O(a,b){var c=L;L=null;try{var e=za.run(void 0,a.onError,b)}finally{L=c}if(null!=e&&"string"!==typeof e)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e||""}function Cb(a,b){jb(a);null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)}
function N(a,b){b=b.toString(16)+":P\n";a.completedErrorChunks.push(b)}function P(a,b,c){c={digest:c};b=b.toString(16)+":E"+I(c)+"\n";a.completedErrorChunks.push(b)}var ub={};
function Bb(a,b){if(0===b.status)try{V=b.model;var c=R(a,b,ub,"",b.model);V=c;b.keyPath=null;b.implicitSlot=!1;var e="object"===typeof c&&null!==c?I(c,b.toJSON):I(c),d=b.id.toString(16)+":"+e+"\n";a.completedRegularChunks.push(d);a.abortableTasks.delete(b);b.status=1}catch(h){var f=h===Ia?Ma():h;if("object"===typeof f&&null!==f){if("function"===typeof f.then){var g=b.ping;f.then(g,g);b.thenableState=Oa();return}if(f.$$typeof===B){a.abortableTasks.delete(b);b.status=4;M(a,f.message);N(a,b.id);return}}a.abortableTasks.delete(b);
b.status=4;var k=O(a,f);P(a,b.id,k)}finally{}}function yb(a){var b=ib.current;ib.current=Ta;var c=L;C=L=a;try{var e=a.pingedTasks;a.pingedTasks=[];for(var d=0;d<e.length;d++)Bb(a,e[d]);null!==a.destination&&Q(a,a.destination)}catch(f){O(a,f),Cb(a,f)}finally{ib.current=b,C=null,L=c}}
function Q(a,b){l=new Uint8Array(2048);n=0;q=!0;try{for(var c=a.completedImportChunks,e=0;e<c.length;e++)if(a.pendingChunks--,!ea(b,c[e])){a.destination=null;e++;break}c.splice(0,e);var d=a.completedHintChunks;for(e=0;e<d.length;e++)if(!ea(b,d[e])){a.destination=null;e++;break}d.splice(0,e);var f=a.completedRegularChunks;for(e=0;e<f.length;e++)if(a.pendingChunks--,!ea(b,f[e])){a.destination=null;e++;break}f.splice(0,e);var g=a.completedErrorChunks;for(e=0;e<g.length;e++)if(a.pendingChunks--,!ea(b,
g[e])){a.destination=null;e++;break}g.splice(0,e)}finally{a.flushScheduled=!1,l&&0<n&&b.write(l.subarray(0,n)),l=null,n=0,q=!0}"function"===typeof b.flush&&b.flush();0===a.pendingChunks&&(jb(a),b.end())}function Db(a){a.flushScheduled=null!==a.destination;setImmediate(function(){return za.run(a,yb,a)})}function qb(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setImmediate(function(){return Q(a,b)})}}
function Eb(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{Q(a,b)}catch(c){O(a,c),Cb(a,c)}}}
function Fb(a,b){try{var c=a.abortableTasks;if(0<c.size){a.pendingChunks++;var e=a.nextChunkId++;if("object"===typeof b&&null!==b&&b.$$typeof===B)M(a,b.message),N(a,e,b);else{var d=void 0===b?Error("The render was aborted by the server without a reason."):b,f=O(a,d);P(a,e,f,d)}c.forEach(function(g){g.status=3;var k=S(e);g=zb(a,g.id,k);a.completedErrorChunks.push(g)});c.clear()}null!==a.destination&&Q(a,a.destination)}catch(g){O(a,g),Cb(a,g)}}
function Gb(a,b){var c="",e=a[b];if(e)c=e.name;else{var d=b.lastIndexOf("#");-1!==d&&(c=b.slice(d+1),e=a[b.slice(0,d)]);if(!e)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[e.id,e.chunks,c]}var Hb=new Map;
function Ib(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function Jb(){}
function Kb(a){for(var b=a[1],c=[],e=0;e<b.length;e++){var d=b[e],f=Hb.get(d);if(void 0===f){f=globalThis.__next_chunk_load__(d);c.push(f);var g=Hb.set.bind(Hb,d,null);f.then(g,Jb);Hb.set(d,f)}else null!==f&&c.push(f)}return 4===a.length?0===c.length?Ib(a[0]):Promise.all(c).then(function(){return Ib(a[0])}):0<c.length?Promise.all(c):null}
function W(a){var b=globalThis.__next_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}function Lb(a,b,c,e){this.status=a;this.value=b;this.reason=c;this._response=e}Lb.prototype=Object.create(Promise.prototype);
Lb.prototype.then=function(a,b){switch(this.status){case "resolved_model":Mb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};function Nb(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}
function Ob(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&Nb(c,b)}}function Pb(a,b,c,e,d,f){var g=Gb(a._bundlerConfig,b);a=Kb(g);if(c)c=Promise.all([c,a]).then(function(k){k=k[0];var h=W(g);return h.bind.apply(h,[null].concat(k))});else if(a)c=Promise.resolve(a).then(function(){return W(g)});else return W(g);c.then(Qb(e,d,f),Rb(e));return null}var X=null,Y=null;
function Mb(a){var b=X,c=Y;X=a;Y=null;try{var e=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=e,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=e)}catch(d){a.status="rejected",a.reason=d}finally{X=b,Y=c}}function Sb(a,b){a._chunks.forEach(function(c){"pending"===c.status&&Ob(c,b)})}
function Z(a,b){var c=a._chunks,e=c.get(b);e||(e=a._formData.get(a._prefix+b),e=null!=e?new Lb("resolved_model",e,null,a):new Lb("pending",null,null,a),c.set(b,e));return e}function Qb(a,b,c){if(Y){var e=Y;e.deps++}else e=Y={deps:1,value:null};return function(d){b[c]=d;e.deps--;0===e.deps&&"blocked"===a.status&&(d=a.value,a.status="fulfilled",a.value=e.value,null!==d&&Nb(d,e.value))}}function Rb(a){return function(b){return Ob(a,b)}}
function Tb(a,b){a=Z(a,b);"resolved_model"===a.status&&Mb(a);if("fulfilled"!==a.status)throw a.reason;return a.value}
function Wb(a,b,c,e){if("$"===e[0])switch(e[1]){case "$":return e.slice(1);case "@":return b=parseInt(e.slice(2),16),Z(a,b);case "S":return Symbol.for(e.slice(2));case "F":return e=parseInt(e.slice(2),16),e=Tb(a,e),Pb(a,e.id,e.bound,X,b,c);case "Q":return b=parseInt(e.slice(2),16),a=Tb(a,b),new Map(a);case "W":return b=parseInt(e.slice(2),16),a=Tb(a,b),new Set(a);case "K":b=e.slice(2);var d=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,k){k.startsWith(d)&&f.append(k.slice(d.length),
g)});return f;case "I":return Infinity;case "-":return"$-0"===e?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(e.slice(2)));case "n":return BigInt(e.slice(2));default:e=parseInt(e.slice(1),16);a=Z(a,e);switch(a.status){case "resolved_model":Mb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return e=X,a.then(Qb(e,b,c),Rb(e)),null;default:throw a.reason;}}return e}
function Xb(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,e=new Map,d={_bundlerConfig:a,_prefix:b,_formData:c,_chunks:e,_fromJSON:function(f,g){return"string"===typeof g?Wb(d,this,f,g):g}};return d}
function Yb(a,b,c){a._formData.append(b,c);var e=a._prefix;if(b.startsWith(e)&&(a=a._chunks,b=+b.slice(e.length),(b=a.get(b))&&"pending"===b.status&&(e=b.value,a=b.reason,b.status="resolved_model",b.value=c,null!==e)))switch(Mb(b),b.status){case "fulfilled":Nb(e,b.value);break;case "pending":case "blocked":b.value=e;b.reason=a;break;case "rejected":a&&Nb(a,b.reason)}}function Zb(a){Sb(a,Error("Connection closed."))}
function $b(a,b,c){var e=Gb(a,b);a=Kb(e);return c?Promise.all([c,a]).then(function(d){d=d[0];var f=W(e);return f.bind.apply(f,[null].concat(d))}):a?Promise.resolve(a).then(function(){return W(e)}):Promise.resolve(W(e))}function ac(a,b,c){a=Xb(b,c,a);Zb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}function bc(a,b){return function(){return Eb(b,a)}}exports.createClientModuleProxy=function(a){a=v({},a,!1);return new Proxy(a,pa)};
exports.decodeAction=function(a,b){var c=new FormData,e=null;a.forEach(function(d,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(d="$ACTION_"+f.slice(12)+":",d=ac(a,b,d),e=$b(b,d.id,d.bound)):f.startsWith("$ACTION_ID_")&&(d=f.slice(11),e=$b(b,d,null)):c.append(f,d)});return null===e?null:e.then(function(d){return d.bind(null,c)})};exports.decodeReply=function(a,b){if("string"===typeof a){var c=new FormData;c.append("0",a);a=c}a=Xb(b,"",a);b=Z(a,0);Zb(a);return b};
exports.decodeReplyFromBusboy=function(a,b){var c=Xb(b,""),e=0,d=[];a.on("field",function(f,g){0<e?d.push(f,g):Yb(c,f,g)});a.on("file",function(f,g,k){var h=k.filename,p=k.mimeType;if("base64"===k.encoding.toLowerCase())throw Error("React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it.");e++;var u=[];g.on("data",function(m){u.push(m)});g.on("end",function(){var m=
new Blob(u,{type:p});c._formData.append(f,m,h);e--;if(0===e){for(m=0;m<d.length;m+=2)Yb(c,d[m],d[m+1]);d.length=0}})});a.on("finish",function(){Zb(c)});a.on("error",function(f){Sb(c,f)});return Z(c,0)};exports.registerClientReference=function(a,b,c){return v(a,b+"#"+c,!1)};exports.registerServerReference=function(a,b,c){return Object.defineProperties(a,{$$typeof:{value:ha},$$id:{value:null===c?b:b+"#"+c,configurable:!0},$$bound:{value:null,configurable:!0},bind:{value:la,configurable:!0}})};
exports.renderToPipeableStream=function(a,b,c){var e=mb(a,b,c?c.onError:void 0,c?c.identifierPrefix:void 0,c?c.onPostpone:void 0),d=!1;Db(e);return{pipe:function(f){if(d)throw Error("React currently only supports piping to one writable stream.");d=!0;Eb(e,f);f.on("drain",bc(f,e));return f},abort:function(f){Fb(e,f)}}};
//# sourceMappingURL=react-server-dom-turbopack-server.node.production.min.js.map

View File

@ -0,0 +1,85 @@
/*
React
react-server-dom-turbopack-server.node.unbundled.production.min.js
Copyright (c) Meta Platforms, Inc. and affiliates.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
'use strict';var aa=require("util");require("crypto");var ba=require("async_hooks"),ca=require("react"),da=require("react-dom"),l=null,n=0,q=!0;function r(a,b){a=a.write(b);q=q&&a}
function ea(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<n&&(r(a,l.subarray(0,n)),l=new Uint8Array(2048),n=0),r(a,fa.encode(b));else{var c=l;0<n&&(c=l.subarray(n));c=fa.encodeInto(b,c);var e=c.read;n+=c.written;e<b.length&&(r(a,l.subarray(0,n)),l=new Uint8Array(2048),n=fa.encodeInto(b.slice(e),l).written);2048===n&&(r(a,l),l=new Uint8Array(2048),n=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<n&&(r(a,l.subarray(0,n)),l=new Uint8Array(2048),n=0),r(a,b)):(c=l.length-n,c<b.byteLength&&
(0===c?r(a,l):(l.set(b.subarray(0,c),n),n+=c,r(a,l),b=b.subarray(c)),l=new Uint8Array(2048),n=0),l.set(b,n),n+=b.byteLength,2048===n&&(r(a,l),l=new Uint8Array(2048),n=0)));return q}var fa=new aa.TextEncoder,t=Symbol.for("react.client.reference"),ha=Symbol.for("react.server.reference");function v(a,b,c){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:b},$$async:{value:c}})}var ia=Function.prototype.bind,ka=Array.prototype.slice;
function la(){var a=ia.apply(this,arguments);if(this.$$typeof===ha){var b=ka.call(arguments,1);return Object.defineProperties(a,{$$typeof:{value:ha},$$id:{value:this.$$id},$$bound:{value:this.$$bound?this.$$bound.concat(b):b},bind:{value:la}})}return a}
var ma=Promise.prototype,na={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");
}throw Error("Cannot access "+(String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");},set:function(){throw Error("Cannot assign to a client module from a server module.");}};
function oa(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case "__esModule":var c=a.$$id;a.default=v(function(){throw Error("Attempted to call the default export of "+c+" 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.");
},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var e=v({},a.$$id,!0),d=new Proxy(e,pa);a.status="fulfilled";a.value=d;return a.then=v(function(f){return Promise.resolve(f(d))},a.$$id+"#then",!1)}if("symbol"===typeof b)throw Error("Cannot read Symbol exports. Only named exports are supported on a client module imported on the server.");e=a[b];e||(e=v(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" 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.");
},a.$$id+"#"+b,a.$$async),Object.defineProperty(e,"name",{value:b}),e=a[b]=new Proxy(e,na));return e}
var pa={get:function(a,b){return oa(a,b)},getOwnPropertyDescriptor:function(a,b){var c=Object.getOwnPropertyDescriptor(a,b);c||(c={value:oa(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,c));return c},getPrototypeOf:function(){return ma},set:function(){throw Error("Cannot assign to a client module from a server module.");}},xa={prefetchDNS:qa,preconnect:ra,preload:sa,preloadModule:ta,preinitStyle:ua,preinitScript:va,preinitModuleScript:wa};
function qa(a){if("string"===typeof a&&a){var b=w();if(b){var c=b.hints,e="D|"+a;c.has(e)||(c.add(e),x(b,"D",a))}}}function ra(a,b){if("string"===typeof a){var c=w();if(c){var e=c.hints,d="C|"+(null==b?"null":b)+"|"+a;e.has(d)||(e.add(d),"string"===typeof b?x(c,"C",[a,b]):x(c,"C",a))}}}
function sa(a,b,c){if("string"===typeof a){var e=w();if(e){var d=e.hints,f="L";if("image"===b&&c){var g=c.imageSrcSet,k=c.imageSizes,h="";"string"===typeof g&&""!==g?(h+="["+g+"]","string"===typeof k&&(h+="["+k+"]")):h+="[][]"+a;f+="[image]"+h}else f+="["+b+"]"+a;d.has(f)||(d.add(f),(c=y(c))?x(e,"L",[a,b,c]):x(e,"L",[a,b]))}}}function ta(a,b){if("string"===typeof a){var c=w();if(c){var e=c.hints,d="m|"+a;if(!e.has(d))return e.add(d),(b=y(b))?x(c,"m",[a,b]):x(c,"m",a)}}}
function ua(a,b,c){if("string"===typeof a){var e=w();if(e){var d=e.hints,f="S|"+a;if(!d.has(f))return d.add(f),(c=y(c))?x(e,"S",[a,"string"===typeof b?b:0,c]):"string"===typeof b?x(e,"S",[a,b]):x(e,"S",a)}}}function va(a,b){if("string"===typeof a){var c=w();if(c){var e=c.hints,d="X|"+a;if(!e.has(d))return e.add(d),(b=y(b))?x(c,"X",[a,b]):x(c,"X",a)}}}function wa(a,b){if("string"===typeof a){var c=w();if(c){var e=c.hints,d="M|"+a;if(!e.has(d))return e.add(d),(b=y(b))?x(c,"M",[a,b]):x(c,"M",a)}}}
function y(a){if(null==a)return null;var b=!1,c={},e;for(e in a)null!=a[e]&&(b=!0,c[e]=a[e]);return b?c:null}
var ya=da.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,za=new ba.AsyncLocalStorage,z=Symbol.for("react.element"),Aa=Symbol.for("react.fragment"),Ba=Symbol.for("react.context"),Ca=Symbol.for("react.forward_ref"),Da=Symbol.for("react.suspense"),Ea=Symbol.for("react.suspense_list"),Fa=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),Ga=Symbol.for("react.memo_cache_sentinel"),B=Symbol.for("react.postpone"),Ha=Symbol.iterator,Ia=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`");
function Ja(){}function Ka(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(Ja,Ja),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(e){if("pending"===b.status){var d=b;d.status="fulfilled";d.value=e}},function(e){if("pending"===b.status){var d=b;d.status="rejected";d.reason=e}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}La=b;throw Ia;}}var La=null;
function Ma(){if(null===La)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=La;La=null;return a}var C=null,Na=0,E=null;function Oa(){var a=E||[];E=null;return a}
var Ta={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:F,useTransition:F,readContext:Pa,useContext:Pa,useReducer:F,useRef:F,useState:F,useInsertionEffect:F,useLayoutEffect:F,useImperativeHandle:F,useEffect:F,useId:Qa,useSyncExternalStore:F,useCacheRefresh:function(){return Ra},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=Ga;return b},use:Sa};
function F(){throw Error("This Hook is not supported in Server Components.");}function Ra(){throw Error("Refreshing the cache is not supported in Server Components.");}function Pa(){throw Error("Cannot read a Client Context from a Server Component.");}function Qa(){if(null===C)throw Error("useId can only be used while React is rendering");var a=C.identifierCount++;return":"+C.identifierPrefix+"S"+a.toString(32)+":"}
function Sa(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=Na;Na+=1;null===E&&(E=[]);return Ka(E,a,b)}a.$$typeof===Ba&&Pa()}if(a.$$typeof===t){if(null!=a.value&&a.value.$$typeof===Ba)throw Error("Cannot read a Client Context from a Server Component.");throw Error("Cannot use() an already resolved Client Reference.");}throw Error("An unsupported type was passed to use(): "+String(a));}function Ua(){return(new AbortController).signal}
function Va(){var a=w();return a?a.cache:new Map}var Wa={getCacheSignal:function(){var a=Va(),b=a.get(Ua);void 0===b&&(b=Ua(),a.set(Ua,b));return b},getCacheForType:function(a){var b=Va(),c=b.get(a);void 0===c&&(c=a(),b.set(a,c));return c}},Xa=Array.isArray,Ya=Object.getPrototypeOf;function Za(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,c){return c})}
function $a(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Xa(a))return"[...]";if(null!==a&&a.$$typeof===ab)return"client";a=Za(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===ab?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}}
function bb(a){if("string"===typeof a)return a;switch(a){case Da:return"Suspense";case Ea:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Ca:return bb(a.render);case Fa:return bb(a.type);case A:var b=a._payload;a=a._init;try{return bb(a(b))}catch(c){}}return""}var ab=Symbol.for("react.client.reference");
function G(a,b){var c=Za(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var e=0;if(Xa(a)){var d="[";for(var f=0;f<a.length;f++){0<f&&(d+=", ");var g=a[f];g="object"===typeof g&&null!==g?G(g):$a(g);""+f===b?(c=d.length,e=g.length,d+=g):d=10>g.length&&40>d.length+g.length?d+g:d+"..."}d+="]"}else if(a.$$typeof===z)d="<"+bb(a.type)+"/>";else{if(a.$$typeof===ab)return"client";d="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(d+=", ");var k=f[g],h=JSON.stringify(k);d+=('"'+k+'"'===h?k:h)+": ";h=a[k];
h="object"===typeof h&&null!==h?G(h):$a(h);k===b?(c=d.length,e=h.length,d+=h):d=10>h.length&&40>d.length+h.length?d+h:d+"..."}d+="}"}return void 0===b?d:-1<c&&0<e?(a=" ".repeat(c)+"^".repeat(e),"\n "+d+"\n "+a):"\n "+d}var cb=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,H=ca.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
if(!H)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.');var db=Object.prototype,I=JSON.stringify,eb=H.TaintRegistryObjects,J=H.TaintRegistryValues,fb=H.TaintRegistryByteLengths,gb=H.TaintRegistryPendingRequests,hb=H.ReactCurrentCache,ib=cb.ReactCurrentDispatcher;function K(a){throw Error(a);}
function jb(a){a=a.taintCleanupQueue;gb.delete(a);for(var b=0;b<a.length;b++){var c=a[b],e=J.get(c);void 0!==e&&(1===e.count?J.delete(c):e.count--)}a.length=0}function kb(a){console.error(a)}function lb(){}
function mb(a,b,c,e,d){if(null!==hb.current&&hb.current!==Wa)throw Error("Currently React only supports one RSC renderer at a time.");ya.current=xa;hb.current=Wa;var f=new Set,g=[],k=[];gb.add(k);var h=new Set;b={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:h,abortableTasks:f,pingedTasks:g,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map,
writtenServerReferences:new Map,writtenObjects:new WeakMap,identifierPrefix:e||"",identifierCount:1,taintCleanupQueue:k,onError:void 0===c?kb:c,onPostpone:void 0===d?lb:d};a=nb(b,a,null,!1,f);g.push(a);return b}var L=null;function w(){if(L)return L;var a=za.getStore();return a?a:null}
function ob(a,b,c){var e=nb(a,null,b.keyPath,b.implicitSlot,a.abortableTasks);switch(c.status){case "fulfilled":return e.model=c.value,pb(a,e),e.id;case "rejected":return b=c.reason,"object"===typeof b&&null!==b&&b.$$typeof===B?(M(a,b.message),N(a,e.id)):(b=O(a,b),P(a,e.id,b)),e.id;default:"string"!==typeof c.status&&(c.status="pending",c.then(function(d){"pending"===c.status&&(c.status="fulfilled",c.value=d)},function(d){"pending"===c.status&&(c.status="rejected",c.reason=d)}))}c.then(function(d){e.model=
d;pb(a,e)},function(d){"object"===typeof d&&null!==d&&d.$$typeof===B?(M(a,d.message),N(a,e.id)):(e.status=4,d=O(a,d),P(a,e.id,d));a.abortableTasks.delete(e);null!==a.destination&&Q(a,a.destination)});return e.id}function x(a,b,c){c=I(c);var e=a.nextChunkId++;b="H"+b;b=e.toString(16)+":"+b;a.completedHintChunks.push(b+c+"\n");qb(a)}function rb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}
function sb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:A,_payload:a,_init:rb}}
function tb(a,b,c,e,d){var f=b.thenableState;b.thenableState=null;Na=0;E=f;e=e(d,void 0);if("object"===typeof e&&null!==e&&"function"===typeof e.then){d=e;if("fulfilled"===d.status)return d.value;e=sb(e)}d=b.keyPath;f=b.implicitSlot;null!==c?b.keyPath=null===d?c:d+","+c:null===d&&(b.implicitSlot=!0);a=R(a,b,ub,"",e);b.keyPath=d;b.implicitSlot=f;return a}function vb(a,b,c){return null!==b.keyPath?(a=[z,Aa,b.keyPath,{children:c}],b.implicitSlot?[a]:a):c}
function wb(a,b,c,e){var d=a.keyPath;null===c?c=d:null!==d&&(c=d+","+c);b=[z,b,c,e];return a.implicitSlot&&null!==c?[b]:b}
function xb(a,b,c,e,d,f){if(null!==d&&void 0!==d)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof c)return c.$$typeof===t?wb(b,c,e,f):tb(a,b,e,c,f);if("string"===typeof c)return wb(b,c,e,f);if("symbol"===typeof c)return c===Aa&&null===e?(e=b.implicitSlot,null===b.keyPath&&(b.implicitSlot=!0),a=R(a,b,ub,"",f.children),b.implicitSlot=e,a):wb(b,c,e,f);if(null!=c&&"object"===typeof c){if(c.$$typeof===t)return wb(b,c,e,f);switch(c.$$typeof){case A:var g=
c._init;c=g(c._payload);return xb(a,b,c,e,d,f);case Ca:return tb(a,b,e,c.render,f);case Fa:return xb(a,b,c.type,e,d,f)}}throw Error("Unsupported Server Component type: "+$a(c));}function pb(a,b){var c=a.pingedTasks;c.push(b);1===c.length&&(a.flushScheduled=null!==a.destination,setImmediate(function(){return yb(a)}))}
function nb(a,b,c,e,d){a.pendingChunks++;var f=a.nextChunkId++;"object"!==typeof b||null===b||null!==c||e||a.writtenObjects.set(b,f);var g={id:f,status:0,model:b,keyPath:c,implicitSlot:e,ping:function(){return pb(a,g)},toJSON:function(k,h){a:{var p=g.keyPath,u=g.implicitSlot;try{var m=R(a,g,this,k,h)}catch(ja){k=ja===Ia?Ma():ja;h=g.model;h="object"===typeof h&&null!==h&&(h.$$typeof===z||h.$$typeof===A);if("object"===typeof k&&null!==k){if("function"===typeof k.then){m=nb(a,g.model,g.keyPath,g.implicitSlot,
a.abortableTasks);var D=m.ping;k.then(D,D);m.thenableState=Oa();g.keyPath=p;g.implicitSlot=u;m=h?"$L"+m.id.toString(16):S(m.id);break a}if(k.$$typeof===B){a.pendingChunks++;m=a.nextChunkId++;M(a,k.message);N(a,m);g.keyPath=p;g.implicitSlot=u;m=h?"$L"+m.toString(16):S(m);break a}}g.keyPath=p;g.implicitSlot=u;if(h)a.pendingChunks++,p=a.nextChunkId++,u=O(a,k),P(a,p,u),m="$L"+p.toString(16);else throw k;}}return m},thenableState:null};d.add(g);return g}function S(a){return"$"+a.toString(16)}
function zb(a,b,c){a=I(c);return b.toString(16)+":"+a+"\n"}
function Ab(a,b,c,e){var d=e.$$async?e.$$id+"#async":e.$$id,f=a.writtenClientReferences,g=f.get(d);if(void 0!==g)return b[0]===z&&"1"===c?"$L"+g.toString(16):S(g);try{var k=a.bundlerConfig,h=e.$$id;g="";var p=k[h];if(p)g=p.name;else{var u=h.lastIndexOf("#");-1!==u&&(g=h.slice(u+1),p=k[h.slice(0,u)]);if(!p)throw Error('Could not find the module "'+h+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var m=!0===e.$$async?[p.id,p.chunks,g,1]:[p.id,p.chunks,
g];a.pendingChunks++;var D=a.nextChunkId++,ja=I(m),Tb=D.toString(16)+":I"+ja+"\n";a.completedImportChunks.push(Tb);f.set(d,D);return b[0]===z&&"1"===c?"$L"+D.toString(16):S(D)}catch(Ub){return a.pendingChunks++,b=a.nextChunkId++,c=O(a,Ub),P(a,b,c),S(b)}}function T(a,b){b=nb(a,b,null,!1,a.abortableTasks);Bb(a,b);return b.id}
function U(a,b,c){if(fb.has(c.byteLength)){var e=J.get(String.fromCharCode.apply(String,new Uint8Array(c.buffer,c.byteOffset,c.byteLength)));void 0!==e&&K(e.message)}a.pendingChunks+=2;e=a.nextChunkId++;c=new Uint8Array(c.buffer,c.byteOffset,c.byteLength);var d=c.byteLength;b=e.toString(16)+":"+b+d.toString(16)+",";a.completedRegularChunks.push(b,c);return S(e)}var V=!1;
function R(a,b,c,e,d){b.model=d;if(d===z)return"$";if(null===d)return null;if("object"===typeof d){switch(d.$$typeof){case z:c=a.writtenObjects;e=c.get(d);if(void 0!==e){if(null===b.keyPath&&!b.implicitSlot)if(V===d)V=null;else return-1===e?(a=T(a,d),S(a)):S(e)}else c.set(d,-1);c=d.props;e=c.ref;return xb(a,b,d.type,d.key,void 0!==e?e:null,c);case A:return b.thenableState=null,c=d._init,d=c(d._payload),R(a,b,ub,"",d)}if(d.$$typeof===t)return Ab(a,c,e,d);c=eb.get(d);void 0!==c&&K(c);c=a.writtenObjects;
e=c.get(d);if("function"===typeof d.then){if(void 0!==e){if(null!==b.keyPath||b.implicitSlot)return"$@"+ob(a,b,d).toString(16);if(V===d)V=null;else return"$@"+e.toString(16)}a=ob(a,b,d);c.set(d,a);return"$@"+a.toString(16)}if(void 0!==e)if(V===d)V=null;else return-1===e?(a=T(a,d),S(a)):S(e);else c.set(d,-1);if(Xa(d))return vb(a,b,d);if(d instanceof Map){d=Array.from(d);for(b=0;b<d.length;b++)c=d[b][0],"object"===typeof c&&null!==c&&(e=a.writtenObjects,void 0===e.get(c)&&e.set(c,-1));return"$Q"+T(a,
d).toString(16)}if(d instanceof Set){d=Array.from(d);for(b=0;b<d.length;b++)c=d[b],"object"===typeof c&&null!==c&&(e=a.writtenObjects,void 0===e.get(c)&&e.set(c,-1));return"$W"+T(a,d).toString(16)}if(d instanceof ArrayBuffer)return U(a,"A",new Uint8Array(d));if(d instanceof Int8Array)return U(a,"C",d);if(d instanceof Uint8Array)return U(a,"c",d);if(d instanceof Uint8ClampedArray)return U(a,"U",d);if(d instanceof Int16Array)return U(a,"S",d);if(d instanceof Uint16Array)return U(a,"s",d);if(d instanceof
Int32Array)return U(a,"L",d);if(d instanceof Uint32Array)return U(a,"l",d);if(d instanceof Float32Array)return U(a,"F",d);if(d instanceof Float64Array)return U(a,"d",d);if(d instanceof BigInt64Array)return U(a,"N",d);if(d instanceof BigUint64Array)return U(a,"m",d);if(d instanceof DataView)return U(a,"V",d);null===d||"object"!==typeof d?c=null:(c=Ha&&d[Ha]||d["@@iterator"],c="function"===typeof c?c:null);if(c)return vb(a,b,Array.from(d));a=Ya(d);if(a!==db&&(null===a||null!==Ya(a)))throw Error("Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.");
return d}if("string"===typeof d){b=J.get(d);void 0!==b&&K(b.message);if("Z"===d[d.length-1]&&c[e]instanceof Date)return"$D"+d;if(1024<=d.length)return a.pendingChunks+=2,b=a.nextChunkId++,c="string"===typeof d?Buffer.byteLength(d,"utf8"):d.byteLength,c=b.toString(16)+":T"+c.toString(16)+",",a.completedRegularChunks.push(c,d),S(b);a="$"===d[0]?"$"+d:d;return a}if("boolean"===typeof d)return d;if("number"===typeof d)return Number.isFinite(d)?0===d&&-Infinity===1/d?"$-0":d:Infinity===d?"$Infinity":-Infinity===
d?"$-Infinity":"$NaN";if("undefined"===typeof d)return"$undefined";if("function"===typeof d){if(d.$$typeof===t)return Ab(a,c,e,d);if(d.$$typeof===ha)return b=a.writtenServerReferences,c=b.get(d),void 0!==c?a="$F"+c.toString(16):(c=d.$$bound,c={id:d.$$id,bound:c?Promise.resolve(c):null},a=T(a,c),b.set(d,a),a="$F"+a.toString(16)),a;a=eb.get(d);void 0!==a&&K(a);if(/^on[A-Z]/.test(e))throw Error("Event handlers cannot be passed to Client Component props."+G(c,e)+"\nIf you need interactivity, consider converting part of this to a Client Component.");
throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server". Or maybe you meant to call this function rather than return it.'+G(c,e));}if("symbol"===typeof d){b=a.writtenSymbols;var f=b.get(d);if(void 0!==f)return S(f);f=d.description;if(Symbol.for(f)!==d)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(d.description+") cannot be found among global symbols.")+
G(c,e));a.pendingChunks++;c=a.nextChunkId++;e=zb(a,c,"$S"+f);a.completedImportChunks.push(e);b.set(d,c);return S(c)}if("bigint"===typeof d)return a=J.get(d),void 0!==a&&K(a.message),"$n"+d.toString(10);throw Error("Type "+typeof d+" is not supported in Client Component props."+G(c,e));}function M(a,b){var c=L;L=null;try{za.run(void 0,a.onPostpone,b)}finally{L=c}}
function O(a,b){var c=L;L=null;try{var e=za.run(void 0,a.onError,b)}finally{L=c}if(null!=e&&"string"!==typeof e)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e||""}function Cb(a,b){jb(a);null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)}
function N(a,b){b=b.toString(16)+":P\n";a.completedErrorChunks.push(b)}function P(a,b,c){c={digest:c};b=b.toString(16)+":E"+I(c)+"\n";a.completedErrorChunks.push(b)}var ub={};
function Bb(a,b){if(0===b.status)try{V=b.model;var c=R(a,b,ub,"",b.model);V=c;b.keyPath=null;b.implicitSlot=!1;var e="object"===typeof c&&null!==c?I(c,b.toJSON):I(c),d=b.id.toString(16)+":"+e+"\n";a.completedRegularChunks.push(d);a.abortableTasks.delete(b);b.status=1}catch(h){var f=h===Ia?Ma():h;if("object"===typeof f&&null!==f){if("function"===typeof f.then){var g=b.ping;f.then(g,g);b.thenableState=Oa();return}if(f.$$typeof===B){a.abortableTasks.delete(b);b.status=4;M(a,f.message);N(a,b.id);return}}a.abortableTasks.delete(b);
b.status=4;var k=O(a,f);P(a,b.id,k)}finally{}}function yb(a){var b=ib.current;ib.current=Ta;var c=L;C=L=a;try{var e=a.pingedTasks;a.pingedTasks=[];for(var d=0;d<e.length;d++)Bb(a,e[d]);null!==a.destination&&Q(a,a.destination)}catch(f){O(a,f),Cb(a,f)}finally{ib.current=b,C=null,L=c}}
function Q(a,b){l=new Uint8Array(2048);n=0;q=!0;try{for(var c=a.completedImportChunks,e=0;e<c.length;e++)if(a.pendingChunks--,!ea(b,c[e])){a.destination=null;e++;break}c.splice(0,e);var d=a.completedHintChunks;for(e=0;e<d.length;e++)if(!ea(b,d[e])){a.destination=null;e++;break}d.splice(0,e);var f=a.completedRegularChunks;for(e=0;e<f.length;e++)if(a.pendingChunks--,!ea(b,f[e])){a.destination=null;e++;break}f.splice(0,e);var g=a.completedErrorChunks;for(e=0;e<g.length;e++)if(a.pendingChunks--,!ea(b,
g[e])){a.destination=null;e++;break}g.splice(0,e)}finally{a.flushScheduled=!1,l&&0<n&&b.write(l.subarray(0,n)),l=null,n=0,q=!0}"function"===typeof b.flush&&b.flush();0===a.pendingChunks&&(jb(a),b.end())}function Db(a){a.flushScheduled=null!==a.destination;setImmediate(function(){return za.run(a,yb,a)})}function qb(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setImmediate(function(){return Q(a,b)})}}
function Eb(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{Q(a,b)}catch(c){O(a,c),Cb(a,c)}}}
function Fb(a,b){try{var c=a.abortableTasks;if(0<c.size){a.pendingChunks++;var e=a.nextChunkId++;if("object"===typeof b&&null!==b&&b.$$typeof===B)M(a,b.message),N(a,e,b);else{var d=void 0===b?Error("The render was aborted by the server without a reason."):b,f=O(a,d);P(a,e,f,d)}c.forEach(function(g){g.status=3;var k=S(e);g=zb(a,g.id,k);a.completedErrorChunks.push(g)});c.clear()}null!==a.destination&&Q(a,a.destination)}catch(g){O(a,g),Cb(a,g)}}
function Gb(a,b){var c=b.lastIndexOf("#");a=b.slice(0,c);b=b.slice(c+1);return{specifier:a,name:b}}var Hb=new Map;function Ib(a){var b=Hb.get(a.specifier);if(b)return"fulfilled"===b.status?null:b;var c=import(a.specifier);a.async&&(c=c.then(function(e){return e.default}));c.then(function(e){var d=c;d.status="fulfilled";d.value=e},function(e){var d=c;d.status="rejected";d.reason=e});Hb.set(a.specifier,c);return c}
function W(a){var b=Hb.get(a.specifier);if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a.name?b:""===a.name?b.default:b[a.name]}function Jb(a,b,c,e){this.status=a;this.value=b;this.reason=c;this._response=e}Jb.prototype=Object.create(Promise.prototype);
Jb.prototype.then=function(a,b){switch(this.status){case "resolved_model":Kb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};function Lb(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}
function Mb(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&Lb(c,b)}}function Nb(a,b,c,e,d,f){var g=Gb(a._bundlerConfig,b);a=Ib(g);if(c)c=Promise.all([c,a]).then(function(k){k=k[0];var h=W(g);return h.bind.apply(h,[null].concat(k))});else if(a)c=Promise.resolve(a).then(function(){return W(g)});else return W(g);c.then(Ob(e,d,f),Pb(e));return null}var X=null,Y=null;
function Kb(a){var b=X,c=Y;X=a;Y=null;try{var e=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=e,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=e)}catch(d){a.status="rejected",a.reason=d}finally{X=b,Y=c}}function Qb(a,b){a._chunks.forEach(function(c){"pending"===c.status&&Mb(c,b)})}
function Z(a,b){var c=a._chunks,e=c.get(b);e||(e=a._formData.get(a._prefix+b),e=null!=e?new Jb("resolved_model",e,null,a):new Jb("pending",null,null,a),c.set(b,e));return e}function Ob(a,b,c){if(Y){var e=Y;e.deps++}else e=Y={deps:1,value:null};return function(d){b[c]=d;e.deps--;0===e.deps&&"blocked"===a.status&&(d=a.value,a.status="fulfilled",a.value=e.value,null!==d&&Lb(d,e.value))}}function Pb(a){return function(b){return Mb(a,b)}}
function Rb(a,b){a=Z(a,b);"resolved_model"===a.status&&Kb(a);if("fulfilled"!==a.status)throw a.reason;return a.value}
function Sb(a,b,c,e){if("$"===e[0])switch(e[1]){case "$":return e.slice(1);case "@":return b=parseInt(e.slice(2),16),Z(a,b);case "S":return Symbol.for(e.slice(2));case "F":return e=parseInt(e.slice(2),16),e=Rb(a,e),Nb(a,e.id,e.bound,X,b,c);case "Q":return b=parseInt(e.slice(2),16),a=Rb(a,b),new Map(a);case "W":return b=parseInt(e.slice(2),16),a=Rb(a,b),new Set(a);case "K":b=e.slice(2);var d=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,k){k.startsWith(d)&&f.append(k.slice(d.length),
g)});return f;case "I":return Infinity;case "-":return"$-0"===e?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(e.slice(2)));case "n":return BigInt(e.slice(2));default:e=parseInt(e.slice(1),16);a=Z(a,e);switch(a.status){case "resolved_model":Kb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return e=X,a.then(Ob(e,b,c),Pb(e)),null;default:throw a.reason;}}return e}
function Vb(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,e=new Map,d={_bundlerConfig:a,_prefix:b,_formData:c,_chunks:e,_fromJSON:function(f,g){return"string"===typeof g?Sb(d,this,f,g):g}};return d}
function Wb(a,b,c){a._formData.append(b,c);var e=a._prefix;if(b.startsWith(e)&&(a=a._chunks,b=+b.slice(e.length),(b=a.get(b))&&"pending"===b.status&&(e=b.value,a=b.reason,b.status="resolved_model",b.value=c,null!==e)))switch(Kb(b),b.status){case "fulfilled":Lb(e,b.value);break;case "pending":case "blocked":b.value=e;b.reason=a;break;case "rejected":a&&Lb(a,b.reason)}}function Xb(a){Qb(a,Error("Connection closed."))}
function Yb(a,b,c){var e=Gb(a,b);a=Ib(e);return c?Promise.all([c,a]).then(function(d){d=d[0];var f=W(e);return f.bind.apply(f,[null].concat(d))}):a?Promise.resolve(a).then(function(){return W(e)}):Promise.resolve(W(e))}function Zb(a,b,c){a=Vb(b,c,a);Xb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}function $b(a,b){return function(){return Eb(b,a)}}exports.createClientModuleProxy=function(a){a=v({},a,!1);return new Proxy(a,pa)};
exports.decodeAction=function(a,b){var c=new FormData,e=null;a.forEach(function(d,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(d="$ACTION_"+f.slice(12)+":",d=Zb(a,b,d),e=Yb(b,d.id,d.bound)):f.startsWith("$ACTION_ID_")&&(d=f.slice(11),e=Yb(b,d,null)):c.append(f,d)});return null===e?null:e.then(function(d){return d.bind(null,c)})};exports.decodeReply=function(a,b){if("string"===typeof a){var c=new FormData;c.append("0",a);a=c}a=Vb(b,"",a);b=Z(a,0);Xb(a);return b};
exports.decodeReplyFromBusboy=function(a,b){var c=Vb(b,""),e=0,d=[];a.on("field",function(f,g){0<e?d.push(f,g):Wb(c,f,g)});a.on("file",function(f,g,k){var h=k.filename,p=k.mimeType;if("base64"===k.encoding.toLowerCase())throw Error("React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it.");e++;var u=[];g.on("data",function(m){u.push(m)});g.on("end",function(){var m=
new Blob(u,{type:p});c._formData.append(f,m,h);e--;if(0===e){for(m=0;m<d.length;m+=2)Wb(c,d[m],d[m+1]);d.length=0}})});a.on("finish",function(){Xb(c)});a.on("error",function(f){Qb(c,f)});return Z(c,0)};exports.registerClientReference=function(a,b,c){return v(a,b+"#"+c,!1)};exports.registerServerReference=function(a,b,c){return Object.defineProperties(a,{$$typeof:{value:ha},$$id:{value:null===c?b:b+"#"+c,configurable:!0},$$bound:{value:null,configurable:!0},bind:{value:la,configurable:!0}})};
exports.renderToPipeableStream=function(a,b,c){var e=mb(a,b,c?c.onError:void 0,c?c.identifierPrefix:void 0,c?c.onPostpone:void 0),d=!1;Db(e);return{pipe:function(f){if(d)throw Error("React currently only supports piping to one writable stream.");d=!0;Eb(e,f);f.on("drain",$b(f,e));return f},abort:function(f){Fb(e,f)}}};
//# sourceMappingURL=react-server-dom-turbopack-server.node.unbundled.production.min.js.map

View File

@ -0,0 +1,7 @@
'use strict';
if (process.env.NODE_ENV === 'production') {
module.exports = require('./cjs/react-server-dom-turbopack-client.browser.production.min.js');
} else {
module.exports = require('./cjs/react-server-dom-turbopack-client.browser.development.js');
}

View File

@ -0,0 +1,7 @@
'use strict';
if (process.env.NODE_ENV === 'production') {
module.exports = require('./cjs/react-server-dom-turbopack-client.edge.production.min.js');
} else {
module.exports = require('./cjs/react-server-dom-turbopack-client.edge.development.js');
}

View File

@ -0,0 +1,3 @@
'use strict';
module.exports = require('./client.browser');

View File

@ -0,0 +1,7 @@
'use strict';
if (process.env.NODE_ENV === 'production') {
module.exports = require('./cjs/react-server-dom-turbopack-client.node.production.min.js');
} else {
module.exports = require('./cjs/react-server-dom-turbopack-client.node.development.js');
}

View File

@ -0,0 +1,7 @@
'use strict';
if (process.env.NODE_ENV === 'production') {
module.exports = require('./cjs/react-server-dom-turbopack-client.node.unbundled.production.min.js');
} else {
module.exports = require('./cjs/react-server-dom-turbopack-client.node.unbundled.development.js');
}

View File

@ -0,0 +1,12 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
'use strict';
throw new Error('Use react-server-dom-turbopack/client instead.');

View File

@ -0,0 +1,3 @@
'use strict';
module.exports = require('./cjs/react-server-dom-turbopack-node-register.js');

View File

@ -0,0 +1,54 @@
{
"name": "react-server-dom-turbopack-experimental-builtin",
"main": "index.js",
"exports": {
".": "./index.js",
"./client": {
"workerd": "./client.edge.js",
"deno": "./client.edge.js",
"worker": "./client.edge.js",
"node": {
"turbopack": "./client.node.js",
"webpack": "./client.node.js",
"default": "./client.node.unbundled.js"
},
"edge-light": "./client.edge.js",
"browser": "./client.browser.js",
"default": "./client.browser.js"
},
"./client.browser": "./client.browser.js",
"./client.edge": "./client.edge.js",
"./client.node": "./client.node.js",
"./client.node.unbundled": "./client.node.unbundled.js",
"./server": {
"react-server": {
"workerd": "./server.edge.js",
"deno": "./server.browser.js",
"node": {
"turbopack": "./server.node.js",
"webpack": "./server.node.js",
"default": "./server.node.unbundled.js"
},
"edge-light": "./server.edge.js",
"browser": "./server.browser.js"
},
"default": "./server.js"
},
"./server.browser": "./server.browser.js",
"./server.edge": "./server.edge.js",
"./server.node": "./server.node.js",
"./server.node.unbundled": "./server.node.unbundled.js",
"./node-loader": "./esm/react-server-dom-turbopack-node-loader.production.min.js",
"./node-register": "./node-register.js",
"./package.json": "./package.json"
},
"dependencies": {
"acorn-loose": "^8.3.0",
"neo-async": "^2.6.1",
"loose-envify": "^1.1.0"
},
"peerDependencies": {
"react": "0.0.0-experimental-14898b6a9-20240318",
"react-dom": "0.0.0-experimental-14898b6a9-20240318"
}
}

View File

@ -0,0 +1,7 @@
'use strict';
if (process.env.NODE_ENV === 'production') {
module.exports = require('./cjs/react-server-dom-turbopack-server.browser.production.min.js');
} else {
module.exports = require('./cjs/react-server-dom-turbopack-server.browser.development.js');
}

View File

@ -0,0 +1,7 @@
'use strict';
if (process.env.NODE_ENV === 'production') {
module.exports = require('./cjs/react-server-dom-turbopack-server.edge.production.min.js');
} else {
module.exports = require('./cjs/react-server-dom-turbopack-server.edge.development.js');
}

View File

@ -0,0 +1,6 @@
'use strict';
throw new Error(
'The React Server Writer cannot be used outside a react-server environment. ' +
'You must configure Node.js using the `--conditions react-server` flag.'
);

View File

@ -0,0 +1,7 @@
'use strict';
if (process.env.NODE_ENV === 'production') {
module.exports = require('./cjs/react-server-dom-turbopack-server.node.production.min.js');
} else {
module.exports = require('./cjs/react-server-dom-turbopack-server.node.development.js');
}

View File

@ -0,0 +1,7 @@
'use strict';
if (process.env.NODE_ENV === 'production') {
module.exports = require('./cjs/react-server-dom-turbopack-server.node.unbundled.production.min.js');
} else {
module.exports = require('./cjs/react-server-dom-turbopack-server.node.unbundled.development.js');
}