react-server-dom-webpack 18.3.0-canary-e1ad4aa36-20230601 → 18.3.0-canary-21a161fa3-20230609
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 +0 -42
- package/cjs/react-server-dom-webpack-client.browser.production.min.js +26 -26
- package/package.json +3 -3
- package/umd/react-server-dom-webpack-client.browser.development.js +0 -42
- package/umd/react-server-dom-webpack-client.browser.production.min.js +20 -21
@@ -1669,20 +1669,6 @@ function processFullRow(response, row) {
|
|
1669
1669
|
}
|
1670
1670
|
}
|
1671
1671
|
}
|
1672
|
-
|
1673
|
-
function processStringChunk(response, chunk, offset) {
|
1674
|
-
var linebreak = chunk.indexOf('\n', offset);
|
1675
|
-
|
1676
|
-
while (linebreak > -1) {
|
1677
|
-
var fullrow = response._partialRow + chunk.slice(offset, linebreak);
|
1678
|
-
processFullRow(response, fullrow);
|
1679
|
-
response._partialRow = '';
|
1680
|
-
offset = linebreak + 1;
|
1681
|
-
linebreak = chunk.indexOf('\n', offset);
|
1682
|
-
}
|
1683
|
-
|
1684
|
-
response._partialRow += chunk.slice(offset);
|
1685
|
-
}
|
1686
1672
|
function processBinaryChunk(response, chunk) {
|
1687
1673
|
|
1688
1674
|
var stringDecoder = response._stringDecoder;
|
@@ -1771,33 +1757,6 @@ function createFromFetch(promiseForResponse, options) {
|
|
1771
1757
|
return getRoot(response);
|
1772
1758
|
}
|
1773
1759
|
|
1774
|
-
function createFromXHR(request, options) {
|
1775
|
-
var response = createResponseFromOptions(options);
|
1776
|
-
var processedLength = 0;
|
1777
|
-
|
1778
|
-
function progress(e) {
|
1779
|
-
var chunk = request.responseText;
|
1780
|
-
processStringChunk(response, chunk, processedLength);
|
1781
|
-
processedLength = chunk.length;
|
1782
|
-
}
|
1783
|
-
|
1784
|
-
function load(e) {
|
1785
|
-
progress();
|
1786
|
-
close(response);
|
1787
|
-
}
|
1788
|
-
|
1789
|
-
function error(e) {
|
1790
|
-
reportGlobalError(response, new TypeError('Network error'));
|
1791
|
-
}
|
1792
|
-
|
1793
|
-
request.addEventListener('progress', progress);
|
1794
|
-
request.addEventListener('load', load);
|
1795
|
-
request.addEventListener('error', error);
|
1796
|
-
request.addEventListener('abort', error);
|
1797
|
-
request.addEventListener('timeout', error);
|
1798
|
-
return getRoot(response);
|
1799
|
-
}
|
1800
|
-
|
1801
1760
|
function encodeReply(value)
|
1802
1761
|
/* We don't use URLSearchParams yet but maybe */
|
1803
1762
|
{
|
@@ -1808,7 +1767,6 @@ function encodeReply(value)
|
|
1808
1767
|
|
1809
1768
|
exports.createFromFetch = createFromFetch;
|
1810
1769
|
exports.createFromReadableStream = createFromReadableStream;
|
1811
|
-
exports.createFromXHR = createFromXHR;
|
1812
1770
|
exports.createServerReference = createServerReference;
|
1813
1771
|
exports.encodeReply = encodeReply;
|
1814
1772
|
})();
|
@@ -7,29 +7,29 @@
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
9
9
|
*/
|
10
|
-
'use strict';var
|
11
|
-
function
|
12
|
-
var
|
13
|
-
function
|
14
|
-
|
15
|
-
|
16
|
-
function
|
17
|
-
function
|
18
|
-
var
|
19
|
-
|
20
|
-
function
|
21
|
-
function
|
22
|
-
function
|
23
|
-
function
|
24
|
-
function
|
25
|
-
function
|
26
|
-
function
|
27
|
-
}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=
|
28
|
-
function
|
29
|
-
function
|
30
|
-
|
31
|
-
function
|
32
|
-
|
33
|
-
|
34
|
-
exports.
|
35
|
-
exports.
|
10
|
+
'use strict';var q=require("react-dom"),t=require("react"),u={stream:!0};function v(a,b){if(a){var c=a[b.id];if(a=c[b.name])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b.id+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=b.name}return{id:a.id,chunks:a.chunks,name:c,async:!!b.async}}return b}var w=new Map,x=new Map;function z(){}
|
11
|
+
function A(a){for(var b=a.chunks,c=[],d=0;d<b.length;d++){var f=b[d],g=w.get(f);if(void 0===g){g=__webpack_chunk_load__(f);c.push(g);var n=w.set.bind(w,f,null);g.then(n,z);w.set(f,g)}else null!==g&&c.push(g)}if(a.async){if(b=x.get(a.id))return"fulfilled"===b.status?null:b;var l=Promise.all(c).then(function(){return __webpack_require__(a.id)});l.then(function(h){l.status="fulfilled";l.value=h},function(h){l.status="rejected";l.reason=h});x.set(a.id,l);return l}return 0<c.length?Promise.all(c):null}
|
12
|
+
var B=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,C=Symbol.for("react.element"),D=Symbol.for("react.lazy"),E=Symbol.for("react.default_value"),F=Symbol.iterator;function G(a){if(null===a||"object"!==typeof a)return null;a=F&&a[F]||a["@@iterator"];return"function"===typeof a?a:null}var H=Array.isArray,I=new WeakMap;function aa(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"}
|
13
|
+
function J(a,b,c,d){function f(h,e){if(null===e)return null;if("object"===typeof e){if("function"===typeof e.then){null===l&&(l=new FormData);n++;var k=g++;e.then(function(r){r=JSON.stringify(r,f);var y=l;y.append(b+k,r);n--;0===n&&c(y)},function(r){d(r)});return"$@"+k.toString(16)}if(e instanceof FormData){null===l&&(l=new FormData);var m=l;h=g++;var p=b+h+"_";e.forEach(function(r,y){m.append(p+y,r)});return"$K"+h.toString(16)}return!H(e)&&G(e)?Array.from(e):e}if("string"===typeof e){if("Z"===e[e.length-
|
14
|
+
1]&&this[h]instanceof Date)return"$D"+e;e="$"===e[0]?"$"+e:e;return e}if("boolean"===typeof e)return e;if("number"===typeof e)return aa(e);if("undefined"===typeof e)return"$undefined";if("function"===typeof e){e=I.get(e);if(void 0!==e)return e=JSON.stringify(e,f),null===l&&(l=new FormData),h=g++,l.set(b+h,e),"$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 e){h=e.description;
|
15
|
+
if(Symbol.for(h)!==e)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+(e.description+") cannot be found among global symbols."));return"$S"+h}if("bigint"===typeof e)return"$n"+e.toString(10);throw Error("Type "+typeof e+" is not supported as an argument to a Server Function.");}var g=1,n=0,l=null;a=JSON.stringify(a,f);null===l?c(a):(l.set(b+"0",a),0===n&&c(l))}var K=new WeakMap;
|
16
|
+
function ba(a){var b,c,d=new Promise(function(f,g){b=f;c=g});J(a,"",function(f){if("string"===typeof f){var g=new FormData;g.append("0",f);f=g}d.status="fulfilled";d.value=f;b(f)},function(f){d.status="rejected";d.reason=f;c(f)});return d}
|
17
|
+
function L(a){var b=I.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=K.get(b);c||(c=ba(b),K.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(f,g){d.append("$ACTION_"+a+":"+g,f)});c=d;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}}
|
18
|
+
var M=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function N(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}N.prototype=Object.create(Promise.prototype);
|
19
|
+
N.prototype.then=function(a,b){switch(this.status){case "resolved_model":O(this);break;case "resolved_module":P(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)}};
|
20
|
+
function ca(a){switch(a.status){case "resolved_model":O(a);break;case "resolved_module":P(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":throw a;default:throw a.reason;}}function Q(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function R(a,b,c){switch(a.status){case "fulfilled":Q(b,a.value);break;case "pending":case "blocked":a.value=b;a.reason=c;break;case "rejected":c&&Q(c,a.reason)}}
|
21
|
+
function S(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&Q(c,b)}}function T(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&&(P(a),R(a,c,d))}}var U=null,V=null;
|
22
|
+
function O(a){var b=U,c=V;U=a;V=null;try{var d=JSON.parse(a.value,a._response._fromJSON);null!==V&&0<V.deps?(V.value=d,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=d)}catch(f){a.status="rejected",a.reason=f}finally{U=b,V=c}}
|
23
|
+
function P(a){try{var b=a.value;if(b.async){var c=x.get(b.id);if("fulfilled"===c.status)var d=c.value;else throw c.reason;}else d=__webpack_require__(b.id);var f="*"===b.name?d:""===b.name?d.__esModule?d.default:d:d[b.name];a.status="fulfilled";a.value=f}catch(g){a.status="rejected",a.reason=g}}function W(a,b){a._chunks.forEach(function(c){"pending"===c.status&&S(c,b)})}function X(a,b){var c=a._chunks,d=c.get(b);d||(d=new N("pending",null,null,a),c.set(b,d));return d}
|
24
|
+
function da(a,b,c){if(V){var d=V;d.deps++}else d=V={deps:1,value:null};return function(f){b[c]=f;d.deps--;0===d.deps&&"blocked"===a.status&&(f=a.value,a.status="fulfilled",a.value=d.value,null!==f&&Q(f,d.value))}}function ea(a){return function(b){return S(a,b)}}
|
25
|
+
function fa(a,b){function c(){var f=Array.prototype.slice.call(arguments),g=b.bound;return g?"fulfilled"===g.status?d(b.id,g.value.concat(f)):Promise.resolve(g).then(function(n){return d(b.id,n.concat(f))}):d(b.id,f)}var d=a._callServer;c.$$FORM_ACTION=L;I.set(c,b);return c}
|
26
|
+
function ha(a,b,c,d){if("$"===d[0]){if("$"===d)return C;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=X(a,b),{$$typeof:D,_payload:a,_init:ca};case "@":return b=parseInt(d.slice(2),16),X(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),M[a]||(M[a]=t.createServerContext(a,E)),M[a].Provider;case "F":b=parseInt(d.slice(2),16);b=X(a,b);switch(b.status){case "resolved_model":O(b)}switch(b.status){case "fulfilled":return fa(a,b.value);default:throw b.reason;
|
27
|
+
}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=X(a,d);switch(a.status){case "resolved_model":O(a);break;case "resolved_module":P(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return d=U,a.then(da(d,b,c),ea(d)),null;default:throw a.reason;}}}return d}
|
28
|
+
function ia(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function Y(a,b){var c=new Map;a={_bundlerConfig:a,_callServer:void 0!==b?b:ia,_chunks:c,_partialRow:"",_stringDecoder:null,_fromJSON:null};a._stringDecoder=new TextDecoder;a._fromJSON=ja(a);return a}
|
29
|
+
function ka(a,b,c){var d=a._chunks,f=d.get(b);c=JSON.parse(c,a._fromJSON);var g=v(a._bundlerConfig,c);if(c=A(g)){if(f){var n=f;n.status="blocked"}else n=new N("blocked",null,null,a),d.set(b,n);c.then(function(){return T(n,g)},function(l){return S(n,l)})}else f?T(f,g):d.set(b,new N("resolved_module",g,null,a))}
|
30
|
+
function ja(a){return function(b,c){return"string"===typeof c?ha(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===C?{$$typeof:C,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}
|
31
|
+
function Z(a,b){function c(g){var n=g.value;if(g.done)W(a,Error("Connection closed."));else{g=n;n=a._stringDecoder;for(var l=g.indexOf(10);-1<l;){var h=a._partialRow;var e=g.subarray(0,l);e=n.decode(e);var k=h+e;h=a;if(""!==k){var m=k.indexOf(":",0);e=parseInt(k.slice(0,m),16);switch(k[m+1]){case "I":ka(h,e,k.slice(m+2));break;case "H":e=k[m+2];k=k.slice(m+3);h=JSON.parse(k,h._fromJSON);k=void 0;var p=B.current;if(p)switch("string"===typeof h?m=h:(m=h[0],k=h[1]),e){case "D":p.prefetchDNS(m,k);break;
|
32
|
+
case "C":p.preconnect(m,k);break;case "L":p.preload(m,k);break;case "I":p.preinit(m,k)}break;case "E":m=JSON.parse(k.slice(m+2)).digest;k=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.");k.stack="Error: "+k.message;k.digest=m;m=h._chunks;(p=m.get(e))?S(p,k):m.set(e,new N("rejected",
|
33
|
+
null,k,h));break;default:k=k.slice(m+1),m=h._chunks,(p=m.get(e))?(h=p,e=k,"pending"===h.status&&(k=h.value,m=h.reason,h.status="resolved_model",h.value=e,null!==k&&(O(h),R(h,k,m)))):m.set(e,new N("resolved_model",k,null,h))}}a._partialRow="";g=g.subarray(l+1);l=g.indexOf(10)}a._partialRow+=n.decode(g,u);return f.read().then(c).catch(d)}}function d(g){W(a,g)}var f=b.getReader();f.read().then(c).catch(d)}
|
34
|
+
exports.createFromFetch=function(a,b){var c=Y(null,b&&b.callServer?b.callServer:void 0);a.then(function(d){Z(c,d.body)},function(d){W(c,d)});return X(c,0)};exports.createFromReadableStream=function(a,b){b=Y(null,b&&b.callServer?b.callServer:void 0);Z(b,a);return X(b,0)};exports.createServerReference=function(a,b){function c(){var d=Array.prototype.slice.call(arguments);return b(a,d)}c.$$FORM_ACTION=L;I.set(c,{id:a,bound:null});return c};
|
35
|
+
exports.encodeReply=function(a){return new Promise(function(b,c){J(a,"",b,c)})};
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "react-server-dom-webpack",
|
3
3
|
"description": "React Server Components bindings for DOM using Webpack. This is intended to be integrated into meta-frameworks. It is not intended to be imported directly.",
|
4
|
-
"version": "18.3.0-canary-
|
4
|
+
"version": "18.3.0-canary-21a161fa3-20230609",
|
5
5
|
"keywords": [
|
6
6
|
"react"
|
7
7
|
],
|
@@ -78,8 +78,8 @@
|
|
78
78
|
"node": ">=0.10.0"
|
79
79
|
},
|
80
80
|
"peerDependencies": {
|
81
|
-
"react": "18.3.0-canary-
|
82
|
-
"react-dom": "18.3.0-canary-
|
81
|
+
"react": "18.3.0-canary-21a161fa3-20230609",
|
82
|
+
"react-dom": "18.3.0-canary-21a161fa3-20230609",
|
83
83
|
"webpack": "^5.59.0"
|
84
84
|
},
|
85
85
|
"dependencies": {
|
@@ -1665,20 +1665,6 @@
|
|
1665
1665
|
}
|
1666
1666
|
}
|
1667
1667
|
}
|
1668
|
-
|
1669
|
-
function processStringChunk(response, chunk, offset) {
|
1670
|
-
var linebreak = chunk.indexOf('\n', offset);
|
1671
|
-
|
1672
|
-
while (linebreak > -1) {
|
1673
|
-
var fullrow = response._partialRow + chunk.slice(offset, linebreak);
|
1674
|
-
processFullRow(response, fullrow);
|
1675
|
-
response._partialRow = '';
|
1676
|
-
offset = linebreak + 1;
|
1677
|
-
linebreak = chunk.indexOf('\n', offset);
|
1678
|
-
}
|
1679
|
-
|
1680
|
-
response._partialRow += chunk.slice(offset);
|
1681
|
-
}
|
1682
1668
|
function processBinaryChunk(response, chunk) {
|
1683
1669
|
|
1684
1670
|
var stringDecoder = response._stringDecoder;
|
@@ -1767,33 +1753,6 @@
|
|
1767
1753
|
return getRoot(response);
|
1768
1754
|
}
|
1769
1755
|
|
1770
|
-
function createFromXHR(request, options) {
|
1771
|
-
var response = createResponseFromOptions(options);
|
1772
|
-
var processedLength = 0;
|
1773
|
-
|
1774
|
-
function progress(e) {
|
1775
|
-
var chunk = request.responseText;
|
1776
|
-
processStringChunk(response, chunk, processedLength);
|
1777
|
-
processedLength = chunk.length;
|
1778
|
-
}
|
1779
|
-
|
1780
|
-
function load(e) {
|
1781
|
-
progress();
|
1782
|
-
close(response);
|
1783
|
-
}
|
1784
|
-
|
1785
|
-
function error(e) {
|
1786
|
-
reportGlobalError(response, new TypeError('Network error'));
|
1787
|
-
}
|
1788
|
-
|
1789
|
-
request.addEventListener('progress', progress);
|
1790
|
-
request.addEventListener('load', load);
|
1791
|
-
request.addEventListener('error', error);
|
1792
|
-
request.addEventListener('abort', error);
|
1793
|
-
request.addEventListener('timeout', error);
|
1794
|
-
return getRoot(response);
|
1795
|
-
}
|
1796
|
-
|
1797
1756
|
function encodeReply(value)
|
1798
1757
|
/* We don't use URLSearchParams yet but maybe */
|
1799
1758
|
{
|
@@ -1804,7 +1763,6 @@
|
|
1804
1763
|
|
1805
1764
|
exports.createFromFetch = createFromFetch;
|
1806
1765
|
exports.createFromReadableStream = createFromReadableStream;
|
1807
|
-
exports.createFromXHR = createFromXHR;
|
1808
1766
|
exports.createServerReference = createServerReference;
|
1809
1767
|
exports.encodeReply = encodeReply;
|
1810
1768
|
|
@@ -7,25 +7,24 @@
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
9
9
|
*/
|
10
|
-
(function(){'use strict';(function(
|
11
|
-
c=b.name}return{id:a.id,chunks:a.chunks,name:c,async:!!b.async}}return b}function T(){}function U(a){for(var b=a.chunks,c=[],d=0;d<b.length;d++){var
|
12
|
-
"rejected";
|
13
|
-
JSON.stringify(
|
14
|
-
if("function"===typeof
|
15
|
-
return"$S"+
|
16
|
-
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=
|
17
|
-
|
18
|
-
"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&
|
19
|
-
a.value;if(b.async){var c=
|
20
|
-
value:null};return function(
|
21
|
-
d[0]){if("$"===d)return
|
22
|
-
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=
|
23
|
-
}function
|
24
|
-
|
25
|
-
e
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
function(
|
30
|
-
0)};m.createServerReference=function(a,b){var c=function(){var d=Array.prototype.slice.call(arguments);return b(a,d)};c.$$FORM_ACTION=L;x.set(c,{id:a,bound:null});return c};m.encodeReply=function(a){return new Promise(function(b,c){J(a,"",b,c)})}});
|
10
|
+
(function(){'use strict';(function(q,w){"object"===typeof exports&&"undefined"!==typeof module?w(exports,require("react-dom"),require("react")):"function"===typeof define&&define.amd?define(["exports","react-dom","react"],w):(q="undefined"!==typeof globalThis?globalThis:q||self,w(q.ReactServerDOMClient={},q.ReactDOM,q.React))})(this,function(q,w,J){function S(a,b){if(a){var c=a[b.id];if(a=c[b.name])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b.id+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');
|
11
|
+
c=b.name}return{id:a.id,chunks:a.chunks,name:c,async:!!b.async}}return b}function T(){}function U(a){for(var b=a.chunks,c=[],d=0;d<b.length;d++){var f=b[d],g=y.get(f);if(void 0===g){g=__webpack_chunk_load__(f);c.push(g);var n=y.set.bind(y,f,null);g.then(n,T);y.set(f,g)}else null!==g&&c.push(g)}if(a.async){if(b=F.get(a.id))return"fulfilled"===b.status?null:b;var l=Promise.all(c).then(function(){return __webpack_require__(a.id)});l.then(function(h){l.status="fulfilled";l.value=h},function(h){l.status=
|
12
|
+
"rejected";l.reason=h});F.set(a.id,l);return l}return 0<c.length?Promise.all(c):null}function V(a){if(null===a||"object"!==typeof a)return null;a=K&&a[K]||a["@@iterator"];return"function"===typeof a?a:null}function W(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"}function L(a,b,c,d){function f(h,e){if(null===e)return null;if("object"===typeof e){if("function"===typeof e.then){null===l&&(l=new FormData);n++;var k=g++;e.then(function(t){t=
|
13
|
+
JSON.stringify(t,f);var z=l;z.append(b+k,t);n--;0===n&&c(z)},function(t){d(t)});return"$@"+k.toString(16)}if(e instanceof FormData){null===l&&(l=new FormData);var m=l;h=g++;var p=b+h+"_";e.forEach(function(t,z){m.append(p+z,t)});return"$K"+h.toString(16)}return!X(e)&&V(e)?Array.from(e):e}if("string"===typeof e){if("Z"===e[e.length-1]&&this[h]instanceof Date)return"$D"+e;e="$"===e[0]?"$"+e:e;return e}if("boolean"===typeof e)return e;if("number"===typeof e)return W(e);if("undefined"===typeof e)return"$undefined";
|
14
|
+
if("function"===typeof e){e=A.get(e);if(void 0!==e)return e=JSON.stringify(e,f),null===l&&(l=new FormData),h=g++,l.set(b+h,e),"$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 e){h=e.description;if(Symbol.for(h)!==e)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+(e.description+") cannot be found among global symbols."));
|
15
|
+
return"$S"+h}if("bigint"===typeof e)return"$n"+e.toString(10);throw Error("Type "+typeof e+" is not supported as an argument to a Server Function.");}var g=1,n=0,l=null;a=JSON.stringify(a,f);null===l?c(a):(l.set(b+"0",a),0===n&&c(l))}function Y(a){var b,c,d=new Promise(function(f,g){b=f;c=g});L(a,"",function(f){if("string"===typeof f){var g=new FormData;g.append("0",f);f=g}d.status="fulfilled";d.value=f;b(f)},function(f){d.status="rejected";d.reason=f;c(f)});return d}function M(a){var b=A.get(this);
|
16
|
+
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=N.get(b);c||(c=Y(b),N.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(f,g){d.append("$ACTION_"+a+":"+g,f)});c=d;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}}function u(a,b,c,d){this.status=a;
|
17
|
+
this.value=b;this.reason=c;this._response=d}function Z(a){switch(a.status){case "resolved_model":x(a);break;case "resolved_module":B(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":throw a;default:throw a.reason;}}function C(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function O(a,b,c){switch(a.status){case "fulfilled":C(b,a.value);break;case "pending":case "blocked":a.value=b;a.reason=c;break;case "rejected":c&&C(c,a.reason)}}function D(a,b){if("pending"===a.status||
|
18
|
+
"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&C(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&&(B(a),O(a,c,d))}}function x(a){var b=E,c=r;E=a;r=null;try{var d=JSON.parse(a.value,a._response._fromJSON);null!==r&&0<r.deps?(r.value=d,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=d)}catch(f){a.status="rejected",a.reason=f}finally{E=b,r=c}}function B(a){try{var b=
|
19
|
+
a.value;if(b.async){var c=F.get(b.id);if("fulfilled"===c.status)var d=c.value;else throw c.reason;}else d=__webpack_require__(b.id);var f="*"===b.name?d:""===b.name?d.__esModule?d.default:d:d[b.name];a.status="fulfilled";a.value=f}catch(g){a.status="rejected",a.reason=g}}function G(a,b){a._chunks.forEach(function(c){"pending"===c.status&&D(c,b)})}function v(a,b){var c=a._chunks,d=c.get(b);d||(d=new u("pending",null,null,a),c.set(b,d));return d}function aa(a,b,c){if(r){var d=r;d.deps++}else d=r={deps:1,
|
20
|
+
value:null};return function(f){b[c]=f;d.deps--;0===d.deps&&"blocked"===a.status&&(f=a.value,a.status="fulfilled",a.value=d.value,null!==f&&C(f,d.value))}}function ba(a){return function(b){return D(a,b)}}function ca(a,b){var c=a._callServer;a=function(){var d=Array.prototype.slice.call(arguments),f=b.bound;return f?"fulfilled"===f.status?c(b.id,f.value.concat(d)):Promise.resolve(f).then(function(g){return c(b.id,g.concat(d))}):c(b.id,d)};a.$$FORM_ACTION=M;A.set(a,b);return a}function da(a,b,c,d){if("$"===
|
21
|
+
d[0]){if("$"===d)return H;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=v(a,b),{$$typeof:ea,_payload:a,_init:Z};case "@":return b=parseInt(d.slice(2),16),v(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),I[a]||(I[a]=J.createServerContext(a,fa)),I[a].Provider;case "F":b=parseInt(d.slice(2),16);b=v(a,b);switch(b.status){case "resolved_model":x(b)}switch(b.status){case "fulfilled":return ca(a,b.value);default:throw b.reason;}case "I":return Infinity;
|
22
|
+
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=v(a,d);switch(a.status){case "resolved_model":x(a);break;case "resolved_module":B(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return d=E,a.then(aa(d,b,c),ba(d)),null;default:throw a.reason;}}}return d}function ha(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');
|
23
|
+
}function Q(a,b){var c=new Map;a={_bundlerConfig:a,_callServer:void 0!==b?b:ha,_chunks:c,_partialRow:"",_stringDecoder:null,_fromJSON:null};a._stringDecoder=new TextDecoder;a._fromJSON=ia(a);return a}function ja(a,b,c){var d=a._chunks,f=d.get(b);c=JSON.parse(c,a._fromJSON);var g=S(a._bundlerConfig,c);if(c=U(g)){if(f){var n=f;n.status="blocked"}else n=new u("blocked",null,null,a),d.set(b,n);c.then(function(){return P(n,g)},function(l){return D(n,l)})}else f?P(f,g):d.set(b,new u("resolved_module",g,
|
24
|
+
null,a))}function ia(a){return function(b,c){return"string"===typeof c?da(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===H?{$$typeof:H,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}function R(a,b){function c(g){var n=g.value;if(g.done)G(a,Error("Connection closed."));else{g=n;n=a._stringDecoder;for(var l=g.indexOf(10);-1<l;){var h=a._partialRow;var e=g.subarray(0,l);e=n.decode(e);var k=h+e;h=a;if(""!==k){var m=k.indexOf(":",0);e=parseInt(k.slice(0,m),16);switch(k[m+1]){case "I":ja(h,
|
25
|
+
e,k.slice(m+2));break;case "H":e=k[m+2];k=k.slice(m+3);h=JSON.parse(k,h._fromJSON);k=void 0;var p=ka.current;if(p)switch("string"===typeof h?m=h:(m=h[0],k=h[1]),e){case "D":p.prefetchDNS(m,k);break;case "C":p.preconnect(m,k);break;case "L":p.preload(m,k);break;case "I":p.preinit(m,k)}break;case "E":m=JSON.parse(k.slice(m+2)).digest;k=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.");
|
26
|
+
k.stack="Error: "+k.message;k.digest=m;m=h._chunks;(p=m.get(e))?D(p,k):m.set(e,new u("rejected",null,k,h));break;default:k=k.slice(m+1),m=h._chunks,(p=m.get(e))?(h=p,e=k,"pending"===h.status&&(k=h.value,m=h.reason,h.status="resolved_model",h.value=e,null!==k&&(x(h),O(h,k,m)))):m.set(e,new u("resolved_model",k,null,h))}}a._partialRow="";g=g.subarray(l+1);l=g.indexOf(10)}a._partialRow+=n.decode(g,la);return f.read().then(c).catch(d)}}function d(g){G(a,g)}var f=b.getReader();f.read().then(c).catch(d)}
|
27
|
+
var la={stream:!0},y=new Map,F=new Map,ka=w.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,H=Symbol.for("react.element"),ea=Symbol.for("react.lazy"),fa=Symbol.for("react.default_value"),K=Symbol.iterator,X=Array.isArray,A=new WeakMap,N=new WeakMap,I=J.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;u.prototype=Object.create(Promise.prototype);u.prototype.then=function(a,b){switch(this.status){case "resolved_model":x(this);break;case "resolved_module":B(this)}switch(this.status){case "fulfilled":a(this.value);
|
28
|
+
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)}};var E=null,r=null;q.createFromFetch=function(a,b){var c=Q(null,b&&b.callServer?b.callServer:void 0);a.then(function(d){R(c,d.body)},function(d){G(c,d)});return v(c,0)};q.createFromReadableStream=function(a,b){b=Q(null,b&&b.callServer?b.callServer:void 0);R(b,a);return v(b,0)};q.createServerReference=function(a,b){var c=
|
29
|
+
function(){var d=Array.prototype.slice.call(arguments);return b(a,d)};c.$$FORM_ACTION=M;A.set(c,{id:a,bound:null});return c};q.encodeReply=function(a){return new Promise(function(b,c){L(a,"",b,c)})}});
|
31
30
|
})();
|