react-server-dom-webpack 18.3.0-next-fa4314841-20230502 → 19.0.0-beta-4508873393-20240430
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/react-server-dom-webpack-client.browser.development.js +1893 -1200
- package/cjs/react-server-dom-webpack-client.browser.production.js +931 -0
- package/cjs/react-server-dom-webpack-client.edge.development.js +1888 -241
- package/cjs/react-server-dom-webpack-client.edge.production.js +1093 -0
- package/cjs/react-server-dom-webpack-client.node.development.js +1876 -259
- package/cjs/react-server-dom-webpack-client.node.production.js +1070 -0
- package/cjs/react-server-dom-webpack-client.node.unbundled.development.js +1833 -212
- package/cjs/react-server-dom-webpack-client.node.unbundled.production.js +1049 -0
- package/cjs/react-server-dom-webpack-node-register.js +59 -10
- package/cjs/react-server-dom-webpack-plugin.js +389 -11
- package/cjs/react-server-dom-webpack-server.browser.development.js +2187 -937
- package/cjs/react-server-dom-webpack-server.browser.production.js +1935 -0
- package/cjs/react-server-dom-webpack-server.edge.development.js +2183 -941
- package/cjs/react-server-dom-webpack-server.edge.production.js +1956 -0
- package/cjs/react-server-dom-webpack-server.node.development.js +2169 -929
- package/cjs/react-server-dom-webpack-server.node.production.js +2083 -0
- package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +2116 -881
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.js +2051 -0
- package/client.browser.js +1 -1
- package/client.edge.js +1 -1
- package/client.node.js +1 -1
- package/client.node.unbundled.js +1 -1
- package/esm/{react-server-dom-webpack-node-loader.production.min.js → react-server-dom-webpack-node-loader.production.js} +20 -13
- package/package.json +8 -15
- package/server.browser.js +1 -1
- package/server.edge.js +1 -1
- package/server.node.js +1 -1
- package/server.node.unbundled.js +1 -1
- package/cjs/react-server-dom-webpack-client.browser.production.min.js +0 -34
- package/cjs/react-server-dom-webpack-client.edge.production.min.js +0 -28
- package/cjs/react-server-dom-webpack-client.node.production.min.js +0 -28
- package/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js +0 -26
- package/cjs/react-server-dom-webpack-server.browser.production.min.js +0 -62
- package/cjs/react-server-dom-webpack-server.edge.production.min.js +0 -62
- package/cjs/react-server-dom-webpack-server.node.production.min.js +0 -67
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js +0 -65
- package/umd/react-server-dom-webpack-client.browser.development.js +0 -1731
- package/umd/react-server-dom-webpack-client.browser.production.min.js +0 -29
- package/umd/react-server-dom-webpack-server.browser.development.js +0 -2904
- package/umd/react-server-dom-webpack-server.browser.production.min.js +0 -51
@@ -1,51 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license React
|
3
|
-
* react-server-dom-webpack-server.browser.production.min.js
|
4
|
-
*
|
5
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
6
|
-
*
|
7
|
-
* This source code is licensed under the MIT license found in the
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
9
|
-
*/
|
10
|
-
(function(){'use strict';(function(w,F){"object"===typeof exports&&"undefined"!==typeof module?F(exports,require("react-dom"),require("react")):"function"===typeof define&&define.amd?define(["exports","react-dom","react"],F):(w="undefined"!==typeof globalThis?globalThis:w||self,F(w.ReactServerDOMServer={},w.ReactDOM,w.React))})(this,function(w,F,pa){function N(a,b){if(0!==b.length)if(512<b.length)0<n&&(a.enqueue(new Uint8Array(p.buffer,0,n)),p=new Uint8Array(512),n=0),a.enqueue(b);else{var d=p.length-n;d<b.length&&
|
11
|
-
(0===d?a.enqueue(p):(p.set(b.subarray(0,d),n),a.enqueue(p),b=b.subarray(d)),p=new Uint8Array(512),n=0);p.set(b,n);n+=b.length}return!0}function qa(a,b){"function"===typeof a.error?a.error(b):a.close()}function ra(a,b,d){a=G(d,a.toJSON);b=b.toString(16)+":"+a+"\n";return H.encode(b)}function X(a,b,d){a=G(d);b=b.toString(16)+":"+a+"\n";return H.encode(b)}function O(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");
|
12
|
-
}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");O(a,d);b.context._currentValue=b.value}}}function sa(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&sa(a)}function ta(a){var b=a.parent;null!==b&&ta(b);a.context._currentValue=a.value}function ua(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?
|
13
|
-
O(a,b):ua(a,b)}function va(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?O(a,d):va(a,d);b.context._currentValue=b.value}function Y(a){var b=r;b!==a&&(null===b?ta(a):null===a?sa(b):b.depth===a.depth?O(b,a):b.depth>a.depth?ua(b,a):va(b,a),r=a)}function wa(a,b){var d=a._currentValue;a._currentValue=b;var c=r;return r=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:d,value:b}}function xa(){}
|
14
|
-
function Ra(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(xa,xa),b=d);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(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}P=b;throw Z;}}function ya(){if(null===P)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");
|
15
|
-
var a=P;P=null;return a}function za(){var a=x;x=null;return a}function Aa(a){return a._currentValue}function q(){throw Error("This Hook is not supported in Server Components.");}function Sa(){throw Error("Refreshing the cache is not supported in Server Components.");}function aa(){return(new AbortController).signal}function Ba(){var a=l?l:null;return a?a.cache:new Map}function Ca(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})}function ba(a){switch(typeof a){case "string":return JSON.stringify(10>=
|
16
|
-
a.length?a:a.slice(0,10)+"...");case "object":if(ca(a))return"[...]";a=Ca(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}}function Q(a){if("string"===typeof a)return a;switch(a){case Ta:return"Suspense";case Ua:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Da:return Q(a.render);case Ea:return Q(a.type);case I:var b=a._payload;a=a._init;try{return Q(a(b))}catch(d){}}return""}function C(a,b){var d=Ca(a);if("Object"!==d&&"Array"!==d)return d;
|
17
|
-
d=-1;var c=0;if(ca(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?C(g):ba(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===m)e="<"+Q(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var h=f[g],k=JSON.stringify(h);e+=('"'+h+'"'===k?h:k)+": ";k=a[h];k="object"===typeof k&&null!==k?C(k):ba(k);h===b?(d=e.length,c=k.length,e+=k):e=10>k.length&&40>e.length+
|
18
|
-
k.length?e+k:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}function Va(a){console.error(a)}function Wa(a,b,d,c,e){if(null!==da.current&&da.current!==Fa)throw Error("Currently React only supports one RSC renderer at a time.");Xa.current=Ya;da.current=Fa;var f=new Set,g=[],h=new Set,k={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:h,abortableTasks:f,pingedTasks:g,
|
19
|
-
completedImportChunks:[],completedHintChunks:[],completedJSONChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map,writtenServerReferences:new Map,writtenProviders:new Map,identifierPrefix:e||"",identifierCount:1,onError:void 0===d?Va:d,toJSON:function(t,y){return Za(k,this,t,y)}};k.pendingChunks++;b=$a(c);a=ea(k,a,b,f);g.push(a);return k}function ab(a,b){a.pendingChunks++;var d=ea(a,null,r,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,
|
20
|
-
fa(a,d),d.id;case "rejected":var c=u(a,b.reason);D(a,d.id,c);return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model=e;fa(a,d)},function(e){d.status=4;e=u(a,e);D(a,d.id,e);null!==a.destination&&J(a,a.destination)});return d.id}function bb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;
|
21
|
-
throw a;}function cb(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:I,_payload:a,_init:bb}}function K(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===R)return[m,
|
22
|
-
b,d,e];S=0;x=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:cb(e):e}if("string"===typeof b)return[m,b,d,e];if("symbol"===typeof b)return b===db?e.children:[m,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===R)return[m,b,d,e];switch(b.$$typeof){case I:var g=b._init;b=g(b._payload);return K(a,b,d,c,e,f);case Da:return a=b.render,S=0,x=f,a(e,void 0);case Ea:return K(a,b.type,d,c,e,f);case Ga:return wa(b._context,e.value),[m,b,d,{value:e.value,
|
23
|
-
children:e.children,__pop:Ha}]}}throw Error("Unsupported Server Component type: "+ba(b));}function fa(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,Ia(a))}function ea(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return fa(a,e)},thenableState:null};c.add(e);return e}function Ja(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===m&&"1"===d?"$L"+g.toString(16):"$"+
|
24
|
-
g.toString(16);try{var h=a.bundlerConfig,k=c.$$id;g="";var t=h[k];if(t)g=t.name;else{var y=k.lastIndexOf("#");-1!==y&&(g=k.slice(y+1),t=h[k.slice(0,y)]);if(!t)throw Error('Could not find the module "'+k+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var z={id:t.id,chunks:t.chunks,name:g,async:!!c.$$async};a.pendingChunks++;var A=a.nextChunkId++,ha=G(z),B=A.toString(16)+":I"+ha+"\n";var eb=H.encode(B);a.completedImportChunks.push(eb);f.set(e,A);return b[0]===
|
25
|
-
m&&"1"===d?"$L"+A.toString(16):"$"+A.toString(16)}catch(fb){return a.pendingChunks++,b=a.nextChunkId++,d=u(a,fb),D(a,b,d),"$"+b.toString(16)}}function Za(a,b,d,c){switch(c){case m:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===m||c.$$typeof===I);)try{switch(c.$$typeof){case m:var e=c;c=K(a,e.type,e.key,e.ref,e.props,null);break;case I:var f=c._init;c=f(c._payload)}}catch(g){d=g===Z?ya():g;if("object"===typeof d&&null!==d&&"function"===typeof d.then)return a.pendingChunks++,a=ea(a,c,r,
|
26
|
-
a.abortableTasks),c=a.ping,d.then(c,c),a.thenableState=za(),"$L"+a.id.toString(16);a.pendingChunks++;c=a.nextChunkId++;d=u(a,d);D(a,c,d);return"$L"+c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===R)return Ja(a,b,d,c);if("function"===typeof c.then)return"$@"+ab(a,c).toString(16);if(c.$$typeof===Ga)return c=c._context._globalName,b=a.writtenProviders,d=b.get(d),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(c,d),c=X(a,d,"$P"+c),a.completedJSONChunks.push(c)),"$"+
|
27
|
-
d.toString(16);if(c===Ha){a=r;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue=c===Ka?a.context._defaultValue:c;r=a.parent;return}return!ca(c)&&(null===c||"object"!==typeof c?a=null:(a=La&&c[La]||c["@@iterator"],a="function"===typeof a?a:null),a)?Array.from(c):c}if("string"===typeof c){if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;a="$"===c[0]?"$"+c:c;return a}if("boolean"===typeof c)return c;if("number"===
|
28
|
-
typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===R)return Ja(a,b,d,c);if(c.$$typeof===gb)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16):(b=c.$$bound,e={id:c.$$id,bound:b?Promise.resolve(b):null},a.pendingChunks++,b=a.nextChunkId++,e=ra(a,b,e),a.completedJSONChunks.push(e),d.set(c,b),a="$F"+b.toString(16)),
|
29
|
-
a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+C(b,d)+"\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".'+C(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!==f)return"$"+f.toString(16);f=c.description;if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+
|
30
|
-
(c.description+") cannot be found among global symbols.")+C(b,d));a.pendingChunks++;d=a.nextChunkId++;b=X(a,d,"$S"+f);a.completedImportChunks.push(b);e.set(c,d);return"$"+d.toString(16)}if("bigint"===typeof c)return"$n"+c.toString(10);throw Error("Type "+typeof c+" is not supported in Client Component props."+C(b,d));}function u(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)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 "'+
|
31
|
-
typeof b+'" instead');return b||""}function ia(a,b){null!==a.destination?(a.status=2,qa(a.destination,b)):(a.status=1,a.fatalError=b)}function D(a,b,d){d={digest:d};b=b.toString(16)+":E"+G(d)+"\n";b=H.encode(b);a.completedErrorChunks.push(b)}function E(a,b,d){var c=a.nextChunkId++;d=G(d);b="H"+b;c=c.toString(16)+":"+b;c=H.encode(c+d+"\n");a.completedHintChunks.push(c)}function Ia(a){var b=ja.current;ja.current=hb;var d=l;L=l=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++){var f=
|
32
|
-
c[e];var g=a;if(0===f.status){Y(f.context);try{var h=f.model;if("object"===typeof h&&null!==h&&h.$$typeof===m){var k=h,t=f.thenableState;f.model=h;h=K(g,k.type,k.key,k.ref,k.props,t);for(f.thenableState=null;"object"===typeof h&&null!==h&&h.$$typeof===m;)k=h,f.model=h,h=K(g,k.type,k.key,k.ref,k.props,null)}var y=ra(g,f.id,h);g.completedJSONChunks.push(y);g.abortableTasks.delete(f);f.status=1}catch(B){var z=B===Z?ya():B;if("object"===typeof z&&null!==z&&"function"===typeof z.then){var A=f.ping;z.then(A,
|
33
|
-
A);f.thenableState=za()}else{g.abortableTasks.delete(f);f.status=4;var ha=u(g,z);D(g,f.id,ha)}}}}null!==a.destination&&J(a,a.destination)}catch(B){u(a,B),ia(a,B)}finally{ja.current=b,L=null,l=d}}function J(a,b){p=new Uint8Array(512);n=0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)a.pendingChunks--,N(b,d[c]);d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)N(b,e[c]);e.splice(0,c);var f=a.completedJSONChunks;for(c=0;c<f.length;c++)a.pendingChunks--,N(b,f[c]);f.splice(0,
|
34
|
-
c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)a.pendingChunks--,N(b,g[c]);g.splice(0,c)}finally{a.flushScheduled=!1,p&&0<n&&(b.enqueue(new Uint8Array(p.buffer,0,n)),p=null,n=0)}0===a.pendingChunks&&b.close()}function T(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;J(a,b)}}function Ma(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=u(a,void 0===b?Error("The render was aborted by the server without a reason."):b);a.pendingChunks++;
|
35
|
-
var e=a.nextChunkId++;D(a,e,c);d.forEach(function(f){f.status=3;var g="$"+e.toString(16);f=X(a,f.id,g);a.completedErrorChunks.push(f)});d.clear()}null!==a.destination&&J(a,a.destination)}catch(f){u(a,f),ia(a,f)}}function $a(a){if(a){var b=r;Y(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];ka[e]||(ka[e]=pa.createServerContext(e,Ka));wa(ka[e],c)}a=r;Y(b);return a}return null}function ib(a,b){var d="",c=a[b];if(c)d=c.name;else{var e=b.lastIndexOf("#");-1!==e&&(d=b.slice(e+1),c=a[b.slice(0,
|
36
|
-
e)]);if(!c)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{id:c.id,chunks:c.chunks,name:d,async:!1}}function jb(){}function kb(a){for(var b=a.chunks,d=[],c=0;c<b.length;c++){var e=b[c],f=U.get(e);if(void 0===f){f=__webpack_chunk_load__(e);d.push(f);var g=U.set.bind(U,e,null);f.then(g,jb);U.set(e,f)}else null!==f&&d.push(f)}if(a.async){if(b=la.get(a.id))return"fulfilled"===b.status?null:b;var h=Promise.all(d).then(function(){return __webpack_require__(a.id)});
|
37
|
-
h.then(function(k){h.status="fulfilled";h.value=k},function(k){h.status="rejected";h.reason=k});la.set(a.id,h);return h}return 0<d.length?Promise.all(d):null}function ma(a){if(a.async){var b=la.get(a.id);if("fulfilled"===b.status)b=b.value;else throw b.reason;}else b=__webpack_require__(a.id);return"*"===a.name?b:""===a.name?b.__esModule?b.default:b:b[a.name]}function V(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}function Na(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)}function Oa(a,
|
38
|
-
b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Na(d,b)}}function lb(a,b,d,c,e,f){var g=ib(a._bundlerConfig,b);a=kb(g);if(d)d=Promise.all([d,a]).then(function(h){h=h[0];var k=ma(g);return k.bind.apply(k,[null].concat(h))});else if(a)d=Promise.resolve(a).then(function(){return ma(g)});else return ma(g);d.then(Pa(c,e,f),Qa(c));return null}function na(a){var b=M,d=v;M=a;v=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==v&&0<v.deps?
|
39
|
-
(v.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{M=b,v=d}}function mb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Oa(d,b)})}function W(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new V("resolved_model",c,null,a):new V("pending",null,null,a),d.set(b,c));return c}function Pa(a,b,d){if(v){var c=v;c.deps++}else c=v={deps:1,value:null};return function(e){b[d]=e;c.deps--;
|
40
|
-
0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&Na(e,c.value))}}function Qa(a){return function(b){return Oa(a,b)}}function nb(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),W(a,b);case "S":return Symbol.for(c.slice(2));case "F":c=parseInt(c.slice(2),16);c=W(a,c);"resolved_model"===c.status&&na(c);if("fulfilled"!==c.status)throw c.reason;c=c.value;return lb(a,c.id,c.bound,M,b,d);case "K":b=c.slice(2);
|
41
|
-
var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,h){h.startsWith(e)&&f.append(h.slice(e.length),g)});return f;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=W(a,c);switch(a.status){case "resolved_model":na(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=M,a.then(Pa(c,
|
42
|
-
b,d),Qa(c)),null;default:throw a.reason;}}return c}function ob(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?nb(e,this,f,g):g}};return e}var p=null,n=0,H=new TextEncoder,G=JSON.stringify,R=Symbol.for("react.client.reference"),gb=Symbol.for("react.server.reference"),Ya={prefetchDNS:function(a,b){if("string"===typeof a){var d=l?l:null;if(d){var c=d.hints,e=
|
43
|
-
"D"+a;c.has(e)||(c.add(e),b?E(d,"D",[a,b]):E(d,"D",a),T(d))}}},preconnect:function(a,b){if("string"===typeof a){var d=l?l:null;if(d){var c=d.hints,e=null==b||"string"!==typeof b.crossOrigin?null:"use-credentials"===b.crossOrigin?"use-credentials":"";e="C"+(null===e?"null":e)+"|"+a;c.has(e)||(c.add(e),b?E(d,"C",[a,b]):E(d,"C",a),T(d))}}},preload:function(a,b){if("string"===typeof a){var d=l?l:null;if(d){var c=d.hints,e="L"+a;c.has(e)||(c.add(e),E(d,"L",[a,b]),T(d))}}},preinit:function(a,b){if("string"===
|
44
|
-
typeof a){var d=l?l:null;if(d){var c=d.hints,e="I"+a;c.has(e)||(c.add(e),E(d,"I",[a,b]),T(d))}}}},Xa=F.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,m=Symbol.for("react.element"),db=Symbol.for("react.fragment"),Ga=Symbol.for("react.provider"),pb=Symbol.for("react.server_context"),Da=Symbol.for("react.forward_ref"),Ta=Symbol.for("react.suspense"),Ua=Symbol.for("react.suspense_list"),Ea=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),Ka=Symbol.for("react.default_value"),qb=Symbol.for("react.memo_cache_sentinel"),
|
45
|
-
La=Symbol.iterator,r=null,Z=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`"),P=null,L=null,S=0,x=null,hb={useMemo:function(a){return a()},
|
46
|
-
useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:q,useTransition:q,readContext:Aa,useContext:Aa,useReducer:q,useRef:q,useState:q,useInsertionEffect:q,useLayoutEffect:q,useImperativeHandle:q,useEffect:q,useId:function(){if(null===L)throw Error("useId can only be used while React is rendering");var a=L.identifierCount++;return":"+L.identifierPrefix+"S"+a.toString(32)+":"},useMutableSource:q,useSyncExternalStore:q,useCacheRefresh:function(){return Sa},useMemoCache:function(a){for(var b=
|
47
|
-
Array(a),d=0;d<a;d++)b[d]=qb;return b},use:function(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=S;S+=1;null===x&&(x=[]);return Ra(x,a,b)}if(a.$$typeof===pb)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}},Fa={getCacheSignal:function(){var a=Ba(),b=a.get(aa);void 0===b&&(b=aa(),a.set(aa,b));return b},getCacheForType:function(a){var b=Ba(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},ca=Array.isArray,
|
48
|
-
oa=pa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ka=oa.ContextRegistry,ja=oa.ReactCurrentDispatcher,da=oa.ReactCurrentCache,l=null,Ha={},U=new Map,la=new Map;V.prototype=Object.create(Promise.prototype);V.prototype.then=function(a,b){switch(this.status){case "resolved_model":na(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));
|
49
|
-
break;default:b(this.reason)}};var M=null,v=null;w.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=ob(b,"",a);mb(a,Error("Connection closed."));return W(a,0)};w.renderToReadableStream=function(a,b,d){var c=Wa(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0);if(d&&d.signal){var e=d.signal;if(e.aborted)Ma(c,e.reason);else{var f=function(){Ma(c,e.reason);e.removeEventListener("abort",f)};e.addEventListener("abort",f)}}return new ReadableStream({type:"bytes",
|
50
|
-
start:function(g){c.flushScheduled=null!==c.destination;Ia(c)},pull:function(g){if(1===c.status)c.status=2,qa(g,c.fatalError);else if(2!==c.status&&null===c.destination){c.destination=g;try{J(c,g)}catch(h){u(c,h),ia(c,h)}}},cancel:function(g){}},{highWaterMark:0})}});
|
51
|
-
})();
|