react-server-dom-webpack 19.0.0-canary-96c584661-20240412 → 19.0.0-canary-657428a9e-20240416

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.
Files changed (37) hide show
  1. package/cjs/react-server-dom-webpack-client.browser.development.js +40 -7
  2. package/cjs/react-server-dom-webpack-client.browser.production.js +37 -6
  3. package/cjs/react-server-dom-webpack-client.browser.production.min.js +7 -7
  4. package/cjs/react-server-dom-webpack-client.browser.production.min.js.map +1 -1
  5. package/cjs/react-server-dom-webpack-client.edge.development.js +40 -7
  6. package/cjs/react-server-dom-webpack-client.edge.production.js +37 -6
  7. package/cjs/react-server-dom-webpack-client.edge.production.min.js +18 -18
  8. package/cjs/react-server-dom-webpack-client.edge.production.min.js.map +1 -1
  9. package/cjs/react-server-dom-webpack-client.node.development.js +40 -7
  10. package/cjs/react-server-dom-webpack-client.node.production.js +37 -6
  11. package/cjs/react-server-dom-webpack-client.node.production.min.js +4 -4
  12. package/cjs/react-server-dom-webpack-client.node.production.min.js.map +1 -1
  13. package/cjs/react-server-dom-webpack-client.node.unbundled.development.js +40 -7
  14. package/cjs/react-server-dom-webpack-client.node.unbundled.production.js +37 -6
  15. package/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js +16 -16
  16. package/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js.map +1 -1
  17. package/cjs/react-server-dom-webpack-server.browser.development.js +127 -86
  18. package/cjs/react-server-dom-webpack-server.browser.production.js +95 -64
  19. package/cjs/react-server-dom-webpack-server.browser.production.min.js +59 -58
  20. package/cjs/react-server-dom-webpack-server.browser.production.min.js.map +1 -1
  21. package/cjs/react-server-dom-webpack-server.edge.development.js +127 -86
  22. package/cjs/react-server-dom-webpack-server.edge.production.js +95 -64
  23. package/cjs/react-server-dom-webpack-server.edge.production.min.js +60 -60
  24. package/cjs/react-server-dom-webpack-server.edge.production.min.js.map +1 -1
  25. package/cjs/react-server-dom-webpack-server.node.development.js +127 -86
  26. package/cjs/react-server-dom-webpack-server.node.production.js +95 -64
  27. package/cjs/react-server-dom-webpack-server.node.production.min.js +60 -61
  28. package/cjs/react-server-dom-webpack-server.node.production.min.js.map +1 -1
  29. package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +127 -86
  30. package/cjs/react-server-dom-webpack-server.node.unbundled.production.js +95 -64
  31. package/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js +58 -58
  32. package/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js.map +1 -1
  33. package/package.json +3 -3
  34. package/umd/react-server-dom-webpack-client.browser.development.js +40 -7
  35. package/umd/react-server-dom-webpack-client.browser.production.min.js +19 -19
  36. package/umd/react-server-dom-webpack-server.browser.development.js +127 -86
  37. package/umd/react-server-dom-webpack-server.browser.production.min.js +55 -54
@@ -853,7 +853,14 @@ function trackUsedThenable(thenableState, thenable, index) {
853
853
 
854
854
  default:
855
855
  {
856
- if (typeof thenable.status === 'string') ; else {
856
+ if (typeof thenable.status === 'string') {
857
+ // Only instrument the thenable if the status if not defined. If
858
+ // it's defined, but an unknown value, assume it's been instrumented by
859
+ // some custom userspace implementation. We treat it as "pending".
860
+ // Attach a dummy listener, to ensure that any lazy initialization can
861
+ // happen. Flight lazily parses JSON when the value is actually awaited.
862
+ thenable.then(noop, noop);
863
+ } else {
857
864
  const pendingThenable = thenable;
858
865
  pendingThenable.status = 'pending';
859
866
  pendingThenable.then(fulfilledValue => {
@@ -868,21 +875,22 @@ function trackUsedThenable(thenableState, thenable, index) {
868
875
  rejectedThenable.status = 'rejected';
869
876
  rejectedThenable.reason = error;
870
877
  }
871
- }); // Check one more time in case the thenable resolved synchronously
872
-
873
- switch (thenable.status) {
874
- case 'fulfilled':
875
- {
876
- const fulfilledThenable = thenable;
877
- return fulfilledThenable.value;
878
- }
879
-
880
- case 'rejected':
881
- {
882
- const rejectedThenable = thenable;
883
- throw rejectedThenable.reason;
884
- }
885
- }
878
+ });
879
+ } // Check one more time in case the thenable resolved synchronously
880
+
881
+
882
+ switch (thenable.status) {
883
+ case 'fulfilled':
884
+ {
885
+ const fulfilledThenable = thenable;
886
+ return fulfilledThenable.value;
887
+ }
888
+
889
+ case 'rejected':
890
+ {
891
+ const rejectedThenable = thenable;
892
+ throw rejectedThenable.reason;
893
+ }
886
894
  } // Suspend.
887
895
  //
888
896
  // Throwing here is an implementation detail that allows us to unwind the
@@ -1318,6 +1326,7 @@ function createRequest(model, bundlerConfig, onError, identifierPrefix, onPostpo
1318
1326
  nextChunkId: 0,
1319
1327
  pendingChunks: 0,
1320
1328
  hints,
1329
+ abortListeners: new Set(),
1321
1330
  abortableTasks: abortSet,
1322
1331
  pingedTasks: pingedTasks,
1323
1332
  completedImportChunks: [],
@@ -1410,10 +1419,7 @@ function serializeThenable(request, task, thenable) {
1410
1419
  }
1411
1420
 
1412
1421
  request.abortableTasks.delete(newTask);
1413
-
1414
- if (request.destination !== null) {
1415
- flushCompletedChunks(request, request.destination);
1416
- }
1422
+ enqueueFlush(request);
1417
1423
  });
1418
1424
  return newTask.id;
1419
1425
  }
@@ -1539,7 +1545,6 @@ function renderFunctionComponent(request, task, key, Component, props, owner) {
1539
1545
  }
1540
1546
 
1541
1547
  function renderFragment(request, task, children) {
1542
-
1543
1548
  if (task.keyPath !== null) {
1544
1549
  // We have a Server Component that specifies a key but we're now splitting
1545
1550
  // the tree using a fragment.
@@ -1566,10 +1571,6 @@ function renderFragment(request, task, children) {
1566
1571
 
1567
1572
  return [fragment];
1568
1573
  } // Since we're yielding here, that implicitly resets the keyPath context on the
1569
- // way up. Which is what we want since we've consumed it. If this changes to
1570
- // be recursive serialization, we need to reset the keyPath and implicitSlot,
1571
- // before recursing here.
1572
-
1573
1574
 
1574
1575
  return children;
1575
1576
  }
@@ -1860,13 +1861,9 @@ function serializeTemporaryReference(request, temporaryReference) {
1860
1861
  }
1861
1862
 
1862
1863
  function serializeLargeTextString(request, text) {
1863
- request.pendingChunks += 2;
1864
+ request.pendingChunks++;
1864
1865
  const textId = request.nextChunkId++;
1865
- const textChunk = stringToChunk(text);
1866
- const binaryLength = byteLengthOfChunk(textChunk);
1867
- const row = textId.toString(16) + ':T' + binaryLength.toString(16) + ',';
1868
- const headerChunk = stringToChunk(row);
1869
- request.completedRegularChunks.push(headerChunk, textChunk);
1866
+ emitTextChunk(request, textId, text);
1870
1867
  return serializeByValueID(textId);
1871
1868
  }
1872
1869
 
@@ -2143,7 +2140,7 @@ function renderModelDestructive(request, task, parent, parentPropertyName, value
2143
2140
 
2144
2141
  if (iteratorFn) {
2145
2142
  return renderFragment(request, task, Array.from(value));
2146
- } // Verify that this is a simple plain object.
2143
+ }
2147
2144
 
2148
2145
 
2149
2146
  const proto = getPrototypeOf(value);
@@ -2346,6 +2343,32 @@ function emitModelChunk(request, id, json) {
2346
2343
  request.completedRegularChunks.push(processedChunk);
2347
2344
  }
2348
2345
 
2346
+ function emitTextChunk(request, id, text) {
2347
+ request.pendingChunks++; // Extra chunk for the header.
2348
+
2349
+ const textChunk = stringToChunk(text);
2350
+ const binaryLength = byteLengthOfChunk(textChunk);
2351
+ const row = id.toString(16) + ':T' + binaryLength.toString(16) + ',';
2352
+ const headerChunk = stringToChunk(row);
2353
+ request.completedRegularChunks.push(headerChunk, textChunk);
2354
+ }
2355
+
2356
+ function emitChunk(request, task, value) {
2357
+ const id = task.id; // For certain types we have special types, we typically outlined them but
2358
+ // we can emit them directly for this row instead of through an indirection.
2359
+
2360
+ if (typeof value === 'string') {
2361
+
2362
+ emitTextChunk(request, id, value);
2363
+ return;
2364
+ }
2365
+ // $FlowFixMe[incompatible-type] stringify can return null for undefined but we never do
2366
+
2367
+
2368
+ const json = stringify(value, task.toJSON);
2369
+ emitModelChunk(request, task.id, json);
2370
+ }
2371
+
2349
2372
  const emptyRoot = {};
2350
2373
 
2351
2374
  function retryTask(request, task) {
@@ -2373,21 +2396,19 @@ function retryTask(request, task) {
2373
2396
 
2374
2397
  task.keyPath = null;
2375
2398
  task.implicitSlot = false;
2376
- let json;
2377
2399
 
2378
2400
  if (typeof resolvedModel === 'object' && resolvedModel !== null) {
2379
2401
  // Object might contain unresolved values like additional elements.
2380
2402
  // This is simulating what the JSON loop would do if this was part of it.
2381
- // $FlowFixMe[incompatible-type] stringify can return null for undefined but we never do
2382
- json = stringify(resolvedModel, task.toJSON);
2403
+ emitChunk(request, task, resolvedModel);
2383
2404
  } else {
2384
2405
  // If the value is a string, it means it's a terminal value and we already escaped it
2385
2406
  // We don't need to escape it again so it's not passed the toJSON replacer.
2386
2407
  // $FlowFixMe[incompatible-type] stringify can return null for undefined but we never do
2387
- json = stringify(resolvedModel);
2408
+ const json = stringify(resolvedModel);
2409
+ emitModelChunk(request, task.id, json);
2388
2410
  }
2389
2411
 
2390
- emitModelChunk(request, task.id, json);
2391
2412
  request.abortableTasks.delete(task);
2392
2413
  task.status = COMPLETED;
2393
2414
  } catch (thrownValue) {
@@ -2521,6 +2542,7 @@ function flushCompletedChunks(request, destination) {
2521
2542
  if (request.pendingChunks === 0) {
2522
2543
 
2523
2544
  close$1(destination);
2545
+ request.destination = null;
2524
2546
  }
2525
2547
  }
2526
2548
 
@@ -2574,11 +2596,10 @@ function stopFlowing(request) {
2574
2596
 
2575
2597
  function abort(request, reason) {
2576
2598
  try {
2577
- const abortableTasks = request.abortableTasks;
2599
+ const abortableTasks = request.abortableTasks; // We have tasks to abort. We'll emit one error row and then emit a reference
2600
+ // to that row from every row that's still remaining.
2578
2601
 
2579
2602
  if (abortableTasks.size > 0) {
2580
- // We have tasks to abort. We'll emit one error row and then emit a reference
2581
- // to that row from every row that's still remaining.
2582
2603
  request.pendingChunks++;
2583
2604
  const errorId = request.nextChunkId++;
2584
2605
 
@@ -2592,6 +2613,19 @@ function abort(request, reason) {
2592
2613
  abortableTasks.clear();
2593
2614
  }
2594
2615
 
2616
+ const abortListeners = request.abortListeners;
2617
+
2618
+ if (abortListeners.size > 0) {
2619
+ let error;
2620
+
2621
+ if (enablePostpone && typeof reason === 'object' && reason !== null && reason.$$typeof === REACT_POSTPONE_TYPE) ; else {
2622
+ error = reason === undefined ? new Error('The render was aborted by the server without a reason.') : reason;
2623
+ }
2624
+
2625
+ abortListeners.forEach(callback => callback(error));
2626
+ abortListeners.clear();
2627
+ }
2628
+
2595
2629
  if (request.destination !== null) {
2596
2630
  flushCompletedChunks(request, request.destination);
2597
2631
  }
@@ -3019,7 +3053,7 @@ function getOutlinedModel(response, id) {
3019
3053
  return chunk.value;
3020
3054
  }
3021
3055
 
3022
- function parseModelString(response, parentObject, key, value) {
3056
+ function parseModelString(response, obj, key, value) {
3023
3057
  if (value[0] === '$') {
3024
3058
  switch (value[1]) {
3025
3059
  case '$':
@@ -3042,7 +3076,7 @@ function parseModelString(response, parentObject, key, value) {
3042
3076
  const id = parseInt(value.slice(2), 16); // TODO: Just encode this in the reference inline instead of as a model.
3043
3077
 
3044
3078
  const metaData = getOutlinedModel(response, id);
3045
- return loadServerReference$1(response, metaData.id, metaData.bound, initializingChunk, parentObject, key);
3079
+ return loadServerReference$1(response, metaData.id, metaData.bound, initializingChunk, obj, key);
3046
3080
  }
3047
3081
 
3048
3082
  case 'T':
@@ -3126,34 +3160,31 @@ function parseModelString(response, parentObject, key, value) {
3126
3160
  // BigInt
3127
3161
  return BigInt(value.slice(2));
3128
3162
  }
3163
+ }
3129
3164
 
3130
- default:
3131
- {
3132
- // We assume that anything else is a reference ID.
3133
- const id = parseInt(value.slice(1), 16);
3134
- const chunk = getChunk(response, id);
3135
3165
 
3136
- switch (chunk.status) {
3137
- case RESOLVED_MODEL:
3138
- initializeModelChunk(chunk);
3139
- break;
3140
- } // The status might have changed after initialization.
3166
+ const id = parseInt(value.slice(1), 16);
3167
+ const chunk = getChunk(response, id);
3141
3168
 
3169
+ switch (chunk.status) {
3170
+ case RESOLVED_MODEL:
3171
+ initializeModelChunk(chunk);
3172
+ break;
3173
+ } // The status might have changed after initialization.
3142
3174
 
3143
- switch (chunk.status) {
3144
- case INITIALIZED:
3145
- return chunk.value;
3146
3175
 
3147
- case PENDING:
3148
- case BLOCKED:
3149
- const parentChunk = initializingChunk;
3150
- chunk.then(createModelResolver(parentChunk, parentObject, key), createModelReject(parentChunk));
3151
- return null;
3176
+ switch (chunk.status) {
3177
+ case INITIALIZED:
3178
+ return chunk.value;
3152
3179
 
3153
- default:
3154
- throw chunk.reason;
3155
- }
3156
- }
3180
+ case PENDING:
3181
+ case BLOCKED:
3182
+ const parentChunk = initializingChunk;
3183
+ chunk.then(createModelResolver(parentChunk, obj, key), createModelReject(parentChunk));
3184
+ return null;
3185
+
3186
+ default:
3187
+ throw chunk.reason;
3157
3188
  }
3158
3189
  }
3159
3190
 
@@ -12,70 +12,71 @@ var r=Symbol.for("react.client.reference"),t=Symbol.for("react.server.reference"
12
12
  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.");
13
13
  }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.");}};
14
14
  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.");
15
- },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.");
16
- },a.$$id+"#"+b,a.$$async),Object.defineProperty(e,"name",{value:b}),e=a[b]=new Proxy(e,ja));return e}
15
+ },a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var d=v({},a.$$id,!0),e=new Proxy(d,la);a.status="fulfilled";a.value=e;return a.then=v(function(g){return Promise.resolve(g(e))},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.");d=a[b];d||(d=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.");
16
+ },a.$$id+"#"+b,a.$$async),Object.defineProperty(d,"name",{value:b}),d=a[b]=new Proxy(d,ja));return d}
17
17
  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.");}},ma=ba.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,w=ma.d;ma.d={f:w.f,r:w.r,D:na,C:oa,L:pa,m:qa,X:ra,S:sa,M:ta};
18
- function na(a){if("string"===typeof a&&a){var b=x?x:null;if(b){var c=b.hints,e="D|"+a;c.has(e)||(c.add(e),y(b,"D",a))}else w.D(a)}}function oa(a,b){if("string"===typeof a){var c=x?x:null;if(c){var e=c.hints,d="C|"+(null==b?"null":b)+"|"+a;e.has(d)||(e.add(d),"string"===typeof b?y(c,"C",[a,b]):y(c,"C",a))}else w.C(a,b)}}
19
- function pa(a,b,c){if("string"===typeof a){var e=x?x:null;if(e){var d=e.hints,g="L";if("image"===b&&c){var f=c.imageSrcSet,h=c.imageSizes,k="";"string"===typeof f&&""!==f?(k+="["+f+"]","string"===typeof h&&(k+="["+h+"]")):k+="[][]"+a;g+="[image]"+k}else g+="["+b+"]"+a;d.has(g)||(d.add(g),(c=A(c))?y(e,"L",[a,b,c]):y(e,"L",[a,b]))}else w.L(a,b,c)}}
20
- function qa(a,b){if("string"===typeof a){var c=x?x:null;if(c){var e=c.hints,d="m|"+a;if(e.has(d))return;e.add(d);return(b=A(b))?y(c,"m",[a,b]):y(c,"m",a)}w.m(a,b)}}function sa(a,b,c){if("string"===typeof a){var e=x?x:null;if(e){var d=e.hints,g="S|"+a;if(d.has(g))return;d.add(g);return(c=A(c))?y(e,"S",[a,"string"===typeof b?b:0,c]):"string"===typeof b?y(e,"S",[a,b]):y(e,"S",a)}w.S(a,b,c)}}
21
- function ra(a,b){if("string"===typeof a){var c=x?x:null;if(c){var e=c.hints,d="X|"+a;if(e.has(d))return;e.add(d);return(b=A(b))?y(c,"X",[a,b]):y(c,"X",a)}w.X(a,b)}}function ta(a,b){if("string"===typeof a){var c=x?x:null;if(c){var e=c.hints,d="M|"+a;if(e.has(d))return;e.add(d);return(b=A(b))?y(c,"M",[a,b]):y(c,"M",a)}w.M(a,b)}}function A(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}
18
+ function na(a){if("string"===typeof a&&a){var b=x?x:null;if(b){var c=b.hints,d="D|"+a;c.has(d)||(c.add(d),y(b,"D",a))}else w.D(a)}}function oa(a,b){if("string"===typeof a){var c=x?x:null;if(c){var d=c.hints,e="C|"+(null==b?"null":b)+"|"+a;d.has(e)||(d.add(e),"string"===typeof b?y(c,"C",[a,b]):y(c,"C",a))}else w.C(a,b)}}
19
+ function pa(a,b,c){if("string"===typeof a){var d=x?x:null;if(d){var e=d.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;e.has(g)||(e.add(g),(c=A(c))?y(d,"L",[a,b,c]):y(d,"L",[a,b]))}else w.L(a,b,c)}}
20
+ function qa(a,b){if("string"===typeof a){var c=x?x:null;if(c){var d=c.hints,e="m|"+a;if(d.has(e))return;d.add(e);return(b=A(b))?y(c,"m",[a,b]):y(c,"m",a)}w.m(a,b)}}function sa(a,b,c){if("string"===typeof a){var d=x?x:null;if(d){var e=d.hints,g="S|"+a;if(e.has(g))return;e.add(g);return(c=A(c))?y(d,"S",[a,"string"===typeof b?b:0,c]):"string"===typeof b?y(d,"S",[a,b]):y(d,"S",a)}w.S(a,b,c)}}
21
+ function ra(a,b){if("string"===typeof a){var c=x?x:null;if(c){var d=c.hints,e="X|"+a;if(d.has(e))return;d.add(e);return(b=A(b))?y(c,"X",[a,b]):y(c,"X",a)}w.X(a,b)}}function ta(a,b){if("string"===typeof a){var c=x?x:null;if(c){var d=c.hints,e="M|"+a;if(d.has(e))return;d.add(e);return(b=A(b))?y(c,"M",[a,b]):y(c,"M",a)}w.M(a,b)}}function A(a){if(null==a)return null;var b=!1,c={},d;for(d in a)null!=a[d]&&(b=!0,c[d]=a[d]);return b?c:null}
22
22
  var ua=Symbol.for("react.temporary.reference"),va={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return;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.");
23
23
  }throw Error("Cannot access "+String(b)+" on the server. You cannot dot into a temporary client reference from a server component. You can only pass the value through to the client.");},set:function(){throw Error("Cannot assign to a temporary client reference from a server module.");}};
24
24
  function wa(a){a=Object.defineProperties(function(){throw Error("Attempted to call a temporary Client Reference from the server but it 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.");},{$$typeof:{value:ua},$$id:{value:a}});return new Proxy(a,va)}
25
25
  var B=Symbol.for("react.element"),xa=Symbol.for("react.fragment"),ya=Symbol.for("react.context"),za=Symbol.for("react.forward_ref"),Aa=Symbol.for("react.suspense"),Ba=Symbol.for("react.suspense_list"),Ca=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),Da=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.postpone");var Ea=Symbol.iterator,Fa=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`");
26
- function Ga(){}function Ha(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(Ga,Ga),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;}E=b;throw Fa;}}var E=null;
27
- function Ia(){if(null===E)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=E;E=null;return a}var F=null,Ja=0,G=null;function Ka(){var a=G||[];G=null;return a}
28
- var Pa={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:H,useTransition:H,readContext:La,useContext:La,useReducer:H,useRef:H,useState:H,useInsertionEffect:H,useLayoutEffect:H,useImperativeHandle:H,useEffect:H,useId:Ma,useSyncExternalStore:H,useCacheRefresh:function(){return Na},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=Da;return b},use:Oa};
29
- function H(){throw Error("This Hook is not supported in Server Components.");}function Na(){throw Error("Refreshing the cache is not supported in Server Components.");}function La(){throw Error("Cannot read a Client Context from a Server Component.");}function Ma(){if(null===F)throw Error("useId can only be used while React is rendering");var a=F.identifierCount++;return":"+F.identifierPrefix+"S"+a.toString(32)+":"}
30
- function Oa(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=Ja;Ja+=1;null===G&&(G=[]);return Ha(G,a,b)}a.$$typeof===ya&&La()}if(a.$$typeof===r){if(null!=a.value&&a.value.$$typeof===ya)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));}
31
- var Qa={getCacheForType:function(a){var b=(b=x?x:null)?b.cache:new Map;var c=b.get(a);void 0===c&&(c=a(),b.set(a,c));return c}},Ra=Array.isArray,Sa=Object.getPrototypeOf;function Ta(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,c){return c})}
32
- function Ua(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Ra(a))return"[...]";if(null!==a&&a.$$typeof===Va)return"client";a=Ta(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===Va?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}}
33
- function I(a){if("string"===typeof a)return a;switch(a){case Aa:return"Suspense";case Ba:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case za:return I(a.render);case Ca:return I(a.type);case C:var b=a._payload;a=a._init;try{return I(a(b))}catch(c){}}return""}var Va=Symbol.for("react.client.reference");
34
- function J(a,b){var c=Ta(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var e=0;if(Ra(a)){var d="[";for(var g=0;g<a.length;g++){0<g&&(d+=", ");var f=a[g];f="object"===typeof f&&null!==f?J(f):Ua(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===B)d="<"+I(a.type)+"/>";else{if(a.$$typeof===Va)return"client";d="{";g=Object.keys(a);for(f=0;f<g.length;f++){0<f&&(d+=", ");var h=g[f],k=JSON.stringify(h);d+=('"'+h+'"'===k?h:k)+": ";k=a[h];k=
35
- "object"===typeof k&&null!==k?J(k):Ua(k);h===b?(c=d.length,e=k.length,d+=k):d=10>k.length&&40>d.length+k.length?d+k:d+"..."}d+="}"}return void 0===b?d:-1<c&&0<e?(a=" ".repeat(c)+"^".repeat(e),"\n "+d+"\n "+a):"\n "+d}var K=ca.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;if(!K)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.');
36
- var Wa=Object.prototype,L=JSON.stringify;function Xa(a){console.error(a)}function Ya(){}
37
- function Za(a,b,c,e,d){if(null!==K.C&&K.C!==Qa)throw Error("Currently React only supports one RSC renderer at a time.");K.C=Qa;var g=new Set,f=[],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,
38
- writtenObjects:new WeakMap,identifierPrefix:e||"",identifierCount:1,taintCleanupQueue:[],onError:void 0===c?Xa:c,onPostpone:void 0===d?Ya:d};a=M(b,a,null,!1,g);f.push(a);return b}var x=null;
39
- function $a(a,b,c){var e=M(a,null,b.keyPath,b.implicitSlot,a.abortableTasks);switch(c.status){case "fulfilled":return e.model=c.value,ab(a,e),e.id;case "rejected":return b=N(a,c.reason),O(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;ab(a,e)},function(d){e.status=4;d=N(a,d);O(a,e.id,d);a.abortableTasks.delete(e);
40
- null!==a.destination&&P(a,a.destination)});return e.id}function y(a,b,c){c=L(c);var e=a.nextChunkId++;b="H"+b;b=e.toString(16)+":"+b;c=q.encode(b+c+"\n");a.completedHintChunks.push(c);!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination&&(c=a.destination,a.flushScheduled=!0,P(a,c))}function bb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}
26
+ function E(){}function Ga(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(E,E),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:"string"===typeof b.status?b.then(E,E):(a=b,a.status="pending",a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}}));switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}F=b;throw Fa;}}
27
+ var F=null;function Ha(){if(null===F)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=F;F=null;return a}var G=null,Ia=0,H=null;function Ja(){var a=H||[];H=null;return a}
28
+ var Oa={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:I,useTransition:I,readContext:Ka,useContext:Ka,useReducer:I,useRef:I,useState:I,useInsertionEffect:I,useLayoutEffect:I,useImperativeHandle:I,useEffect:I,useId:La,useSyncExternalStore:I,useCacheRefresh:function(){return Ma},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=Da;return b},use:Na};
29
+ function I(){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===G)throw Error("useId can only be used while React is rendering");var a=G.identifierCount++;return":"+G.identifierPrefix+"S"+a.toString(32)+":"}
30
+ function Na(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=Ia;Ia+=1;null===H&&(H=[]);return Ga(H,a,b)}a.$$typeof===ya&&Ka()}if(a.$$typeof===r){if(null!=a.value&&a.value.$$typeof===ya)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));}
31
+ var Pa={getCacheForType:function(a){var b=(b=x?x:null)?b.cache:new Map;var c=b.get(a);void 0===c&&(c=a(),b.set(a,c));return c}},Qa=Array.isArray,Ra=Object.getPrototypeOf;function Sa(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,c){return c})}
32
+ function Ta(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Qa(a))return"[...]";if(null!==a&&a.$$typeof===Ua)return"client";a=Sa(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===Ua?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}}
33
+ function J(a){if("string"===typeof a)return a;switch(a){case Aa:return"Suspense";case Ba:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case za:return J(a.render);case Ca:return J(a.type);case C:var b=a._payload;a=a._init;try{return J(a(b))}catch(c){}}return""}var Ua=Symbol.for("react.client.reference");
34
+ function K(a,b){var c=Sa(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(Qa(a)){var e="[";for(var g=0;g<a.length;g++){0<g&&(e+=", ");var f=a[g];f="object"===typeof f&&null!==f?K(f):Ta(f);""+g===b?(c=e.length,d=f.length,e+=f):e=10>f.length&&40>e.length+f.length?e+f:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+J(a.type)+"/>";else{if(a.$$typeof===Ua)return"client";e="{";g=Object.keys(a);for(f=0;f<g.length;f++){0<f&&(e+=", ");var k=g[f],h=JSON.stringify(k);e+=('"'+k+'"'===h?k:h)+": ";h=a[k];h=
35
+ "object"===typeof h&&null!==h?K(h):Ta(h);k===b?(c=e.length,d=h.length,e+=h):e=10>h.length&&40>e.length+h.length?e+h:e+"..."}e+="}"}return void 0===b?e:-1<c&&0<d?(a=" ".repeat(c)+"^".repeat(d),"\n "+e+"\n "+a):"\n "+e}var L=ca.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;if(!L)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.');
36
+ var Va=Object.prototype,M=JSON.stringify;function Wa(a){console.error(a)}function Xa(){}
37
+ function Ya(a,b,c,d,e){if(null!==L.C&&L.C!==Pa)throw Error("Currently React only supports one RSC renderer at a time.");L.C=Pa;var g=new Set,f=[],k=new Set;b={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortListeners:new Set,abortableTasks:g,pingedTasks:f,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map,writtenServerReferences:new Map,
38
+ writtenObjects:new WeakMap,identifierPrefix:d||"",identifierCount:1,taintCleanupQueue:[],onError:void 0===c?Wa:c,onPostpone:void 0===e?Xa:e};a=N(b,a,null,!1,g);f.push(a);return b}var x=null;
39
+ function Za(a,b,c){var d=N(a,null,b.keyPath,b.implicitSlot,a.abortableTasks);switch(c.status){case "fulfilled":return d.model=c.value,$a(a,d),d.id;case "rejected":return b=O(a,c.reason),P(a,d.id,b),d.id;default:"string"!==typeof c.status&&(c.status="pending",c.then(function(e){"pending"===c.status&&(c.status="fulfilled",c.value=e)},function(e){"pending"===c.status&&(c.status="rejected",c.reason=e)}))}c.then(function(e){d.model=e;$a(a,d)},function(e){d.status=4;e=O(a,e);P(a,d.id,e);a.abortableTasks.delete(d);
40
+ ab(a)});return d.id}function y(a,b,c){c=M(c);var d=a.nextChunkId++;b="H"+b;b=d.toString(16)+":"+b;c=q.encode(b+c+"\n");a.completedHintChunks.push(c);ab(a)}function bb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}
41
41
  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:C,_payload:a,_init:bb}}
42
- function db(a,b,c,e,d){var g=b.thenableState;b.thenableState=null;Ja=0;G=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=cb(e)}d=b.keyPath;g=b.implicitSlot;null!==c?b.keyPath=null===d?c:d+","+c:null===d&&(b.implicitSlot=!0);a=Q(a,b,R,"",e);b.keyPath=d;b.implicitSlot=g;return a}function eb(a,b,c){return null!==b.keyPath?(a=[B,xa,b.keyPath,{children:c}],b.implicitSlot?[a]:a):c}
43
- function S(a,b,c,e){var d=a.keyPath;null===c?c=d:null!==d&&(c=d+","+c);b=[B,b,c,e];return a.implicitSlot&&null!==c?[b]:b}
44
- function fb(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||c.$$typeof===ua?S(b,c,e,g):db(a,b,e,c,g);if("string"===typeof c)return S(b,c,e,g);if("symbol"===typeof c)return c===xa&&null===e?(e=b.implicitSlot,null===b.keyPath&&(b.implicitSlot=!0),a=Q(a,b,R,"",g.children),b.implicitSlot=e,a):S(b,c,e,g);if(null!=c&&"object"===typeof c){if(c.$$typeof===r)return S(b,c,e,g);switch(c.$$typeof){case C:var f=
45
- c._init;c=f(c._payload);return fb(a,b,c,e,d,g);case za:return db(a,b,e,c.render,g);case Ca:return fb(a,b,c.type,e,d,g)}}throw Error("Unsupported Server Component type: "+Ua(c));}function ab(a,b){var c=a.pingedTasks;c.push(b);1===c.length&&(a.flushScheduled=null!==a.destination,gb(a))}
46
- function M(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 ab(a,f)},toJSON:function(h,k){var m=f.keyPath,z=f.implicitSlot;try{var u=Q(a,f,this,h,k)}catch(aa){if(h=aa===Fa?Ia():aa,k=f.model,k="object"===typeof k&&null!==k&&(k.$$typeof===B||k.$$typeof===C),"object"===typeof h&&null!==h&&"function"===typeof h.then){u=M(a,f.model,f.keyPath,f.implicitSlot,
47
- a.abortableTasks);var D=u.ping;h.then(D,D);u.thenableState=Ka();f.keyPath=m;f.implicitSlot=z;u=k?"$L"+u.id.toString(16):T(u.id)}else if(f.keyPath=m,f.implicitSlot=z,k)a.pendingChunks++,m=a.nextChunkId++,z=N(a,h),O(a,m,z),u="$L"+m.toString(16);else throw h;}return u},thenableState:null};d.add(f);return f}function T(a){return"$"+a.toString(16)}function hb(a,b,c){a=L(c);b=b.toString(16)+":"+a+"\n";return q.encode(b)}
48
- function ib(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]===B&&"1"===c?"$L"+f.toString(16):T(f);try{var h=a.bundlerConfig,k=e.$$id;f="";var m=h[k];if(m)f=m.name;else{var z=k.lastIndexOf("#");-1!==z&&(f=k.slice(z+1),m=h[k.slice(0,z)]);if(!m)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 u=!0===e.$$async?[m.id,m.chunks,f,1]:[m.id,m.chunks,
49
- f];a.pendingChunks++;var D=a.nextChunkId++,aa=L(u),Cb=D.toString(16)+":I"+aa+"\n",Db=q.encode(Cb);a.completedImportChunks.push(Db);g.set(d,D);return b[0]===B&&"1"===c?"$L"+D.toString(16):T(D)}catch(Eb){return a.pendingChunks++,b=a.nextChunkId++,c=N(a,Eb),O(a,b,c),T(b)}}function U(a,b){b=M(a,b,null,!1,a.abortableTasks);jb(a,b);return b.id}var V=!1;
50
- function Q(a,b,c,e,d){b.model=d;if(d===B)return"$";if(null===d)return null;if("object"===typeof d){switch(d.$$typeof){case B: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=U(a,d),T(a)):T(e)}else c.set(d,-1),c.set(d.props,-2);c=d.props;e=c.ref;return fb(a,b,d.type,d.key,void 0!==e?e:null,c);case C:return b.thenableState=null,c=d._init,d=c(d._payload),Q(a,b,R,"",d)}if(d.$$typeof===r)return ib(a,c,e,d);c=a.writtenObjects;e=c.get(d);
51
- if("function"===typeof d.then){if(void 0!==e){if(null!==b.keyPath||b.implicitSlot)return"$@"+$a(a,b,d).toString(16);if(V===d)V=null;else return"$@"+e.toString(16)}a=$a(a,b,d);c.set(d,a);return"$@"+a.toString(16)}if(void 0!==e)if(V===d)V=null;else{if(-1===e)return a=U(a,d),T(a);if(-2!==e)return T(e)}else c.set(d,-1);if(Ra(d))return eb(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"+
52
- U(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"+U(a,d).toString(16)}if("function"===typeof FormData&&d instanceof FormData)return d=Array.from(d.entries()),"$K"+U(a,d).toString(16);null===d||"object"!==typeof d?c=null:(c=Ea&&d[Ea]||d["@@iterator"],c="function"===typeof c?c:null);if(c)return eb(a,b,Array.from(d));a=Sa(d);if(a!==Wa&&(null===a||null!==Sa(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.");
53
- return d}if("string"===typeof d){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),T(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";
54
- if("function"===typeof d){if(d.$$typeof===r)return ib(a,c,e,d);if(d.$$typeof===t)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=U(a,c),b.set(d,a),a="$F"+a.toString(16)),a;if(d.$$typeof===ua)return"$T"+d.$$id;if(/^on[A-Z]/.test(e))throw Error("Event handlers cannot be passed to Client Component props."+J(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.'+
55
- J(c,e));}if("symbol"===typeof d){b=a.writtenSymbols;var g=b.get(d);if(void 0!==g)return T(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.")+J(c,e));a.pendingChunks++;c=a.nextChunkId++;e=hb(a,c,"$S"+g);a.completedImportChunks.push(e);b.set(d,c);return T(c)}if("bigint"===typeof d)return"$n"+d.toString(10);throw Error("Type "+typeof d+
56
- " is not supported in Client Component props."+J(c,e));}function N(a,b){var c=x;x=null;try{var e=a.onError;var d=e(b)}finally{x=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||""}
57
- function kb(a,b){null!==a.destination?(a.status=2,da(a.destination,b)):(a.status=1,a.fatalError=b)}function O(a,b,c){c={digest:c};b=b.toString(16)+":E"+L(c)+"\n";b=q.encode(b);a.completedErrorChunks.push(b)}var R={};
58
- function jb(a,b){if(0===b.status)try{V=b.model;var c=Q(a,b,R,"",b.model);V=c;b.keyPath=null;b.implicitSlot=!1;var e="object"===typeof c&&null!==c?L(c,b.toJSON):L(c),d=b.id.toString(16)+":"+e+"\n",g=q.encode(d);a.completedRegularChunks.push(g);a.abortableTasks.delete(b);b.status=1}catch(m){var f=m===Fa?Ia():m;if("object"===typeof f&&null!==f&&"function"===typeof f.then){var h=b.ping;f.then(h,h);b.thenableState=Ka()}else{a.abortableTasks.delete(b);b.status=4;var k=N(a,f);O(a,b.id,k)}}finally{}}
59
- function gb(a){var b=K.H;K.H=Pa;var c=x;F=x=a;try{var e=a.pingedTasks;a.pingedTasks=[];for(var d=0;d<e.length;d++)jb(a,e[d]);null!==a.destination&&P(a,a.destination)}catch(g){N(a,g),kb(a,g)}finally{K.H=b,F=null,x=c}}
60
- function P(a,b){l=new Uint8Array(2048);n=0;try{for(var c=a.completedImportChunks,e=0;e<c.length;e++)a.pendingChunks--,p(b,c[e]);c.splice(0,e);var d=a.completedHintChunks;for(e=0;e<d.length;e++)p(b,d[e]);d.splice(0,e);var g=a.completedRegularChunks;for(e=0;e<g.length;e++)a.pendingChunks--,p(b,g[e]);g.splice(0,e);var f=a.completedErrorChunks;for(e=0;e<f.length;e++)a.pendingChunks--,p(b,f[e]);f.splice(0,e)}finally{a.flushScheduled=!1,l&&0<n&&(b.enqueue(new Uint8Array(l.buffer,0,n)),l=null,n=0)}0===a.pendingChunks&&
61
- b.close()}function lb(a,b){try{var c=a.abortableTasks;if(0<c.size){a.pendingChunks++;var e=a.nextChunkId++,d=void 0===b?Error("The render was aborted by the server without a reason."):b,g=N(a,d);O(a,e,g,d);c.forEach(function(f){f.status=3;var h=T(e);f=hb(a,f.id,h);a.completedErrorChunks.push(f)});c.clear()}null!==a.destination&&P(a,a.destination)}catch(f){N(a,f),kb(a,f)}}
62
- function mb(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 nb=new Map;
63
- function ob(a){var b=__webpack_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 pb(){}
64
- function qb(a){for(var b=a[1],c=[],e=0;e<b.length;){var d=b[e++],g=b[e++],f=nb.get(d);void 0===f?(rb.set(d,g),g=__webpack_chunk_load__(d),c.push(g),f=nb.set.bind(nb,d,null),g.then(f,pb),nb.set(d,g)):null!==f&&c.push(f)}return 4===a.length?0===c.length?ob(a[0]):Promise.all(c).then(function(){return ob(a[0])}):0<c.length?Promise.all(c):null}
65
- function W(a){var b=__webpack_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]]}var rb=new Map,sb=__webpack_require__.u;__webpack_require__.u=function(a){var b=rb.get(a);return void 0!==b?b:sb(a)};function tb(a,b,c,e){this.status=a;this.value=b;this.reason=c;this._response=e}tb.prototype=Object.create(Promise.prototype);
66
- tb.prototype.then=function(a,b){switch(this.status){case "resolved_model":ub(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 vb(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}
67
- function wb(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&vb(c,b)}}function xb(a,b,c,e,d,g){var f=mb(a._bundlerConfig,b);a=qb(f);if(c)c=Promise.all([c,a]).then(function(h){h=h[0];var k=W(f);return k.bind.apply(k,[null].concat(h))});else if(a)c=Promise.resolve(a).then(function(){return W(f)});else return W(f);c.then(yb(e,d,g),zb(e));return null}var X=null,Y=null;
68
- function ub(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 Ab(a,b){a._chunks.forEach(function(c){"pending"===c.status&&wb(c,b)})}
69
- function Z(a,b){var c=a._chunks,e=c.get(b);e||(e=a._formData.get(a._prefix+b),e=null!=e?new tb("resolved_model",e,null,a):new tb("pending",null,null,a),c.set(b,e));return e}function yb(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&&vb(d,e.value))}}function zb(a){return function(b){return wb(a,b)}}
70
- function Bb(a,b){a=Z(a,b);"resolved_model"===a.status&&ub(a);if("fulfilled"!==a.status)throw a.reason;return a.value}
71
- function Fb(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 "F":return e=parseInt(e.slice(2),16),e=Bb(a,e),xb(a,e.id,e.bound,X,b,c);case "T":return wa(e.slice(2));case "Q":return b=parseInt(e.slice(2),16),a=Bb(a,b),new Map(a);case "W":return b=parseInt(e.slice(2),16),a=Bb(a,b),new Set(a);case "K":b=e.slice(2);var d=a._prefix+b+"_",g=new FormData;a._formData.forEach(function(f,h){h.startsWith(d)&&g.append(h.slice(d.length),f)});return g;
72
- 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":ub(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return e=X,a.then(yb(e,b,c),zb(e)),null;default:throw a.reason;}}return e}
73
- function Gb(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?Fb(d,this,g,f):f}};return d}function Hb(a){Ab(a,Error("Connection closed."))}function Ib(a,b,c){var e=mb(a,b);a=qb(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))}
74
- function Jb(a,b,c){a=Gb(b,c,a);Hb(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)};
75
- 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=Jb(a,b,d),e=Ib(b,d.id,d.bound)):g.startsWith("$ACTION_ID_")&&(d=g.slice(11),e=Ib(b,d,null)):c.append(g,d)});return null===e?null:e.then(function(d){return d.bind(null,c)})};
76
- exports.decodeFormState=function(a,b,c){var e=b.get("$ACTION_KEY");if("string"!==typeof e)return Promise.resolve(null);var d=null;b.forEach(function(f,h){h.startsWith("$ACTION_REF_")&&(f="$ACTION_"+h.slice(12)+":",d=Jb(b,c,f))});if(null===d)return Promise.resolve(null);var g=d.id;return Promise.resolve(d.bound).then(function(f){return null===f?null:[a,e,g,f.length-1]})};exports.decodeReply=function(a,b){if("string"===typeof a){var c=new FormData;c.append("0",a);a=c}a=Gb(b,"",a);b=Z(a,0);Hb(a);return b};
42
+ function db(a,b,c,d,e){var g=b.thenableState;b.thenableState=null;Ia=0;H=g;d=d(e,void 0);if("object"===typeof d&&null!==d&&"function"===typeof d.then){e=d;if("fulfilled"===e.status)return e.value;d=cb(d)}e=b.keyPath;g=b.implicitSlot;null!==c?b.keyPath=null===e?c:e+","+c:null===e&&(b.implicitSlot=!0);a=Q(a,b,R,"",d);b.keyPath=e;b.implicitSlot=g;return a}function eb(a,b,c){return null!==b.keyPath?(a=[B,xa,b.keyPath,{children:c}],b.implicitSlot?[a]:a):c}
43
+ function S(a,b,c,d){var e=a.keyPath;null===c?c=e:null!==e&&(c=e+","+c);b=[B,b,c,d];return a.implicitSlot&&null!==c?[b]:b}
44
+ function fb(a,b,c,d,e,g){if(null!==e&&void 0!==e)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof c)return c.$$typeof===r||c.$$typeof===ua?S(b,c,d,g):db(a,b,d,c,g);if("string"===typeof c)return S(b,c,d,g);if("symbol"===typeof c)return c===xa&&null===d?(d=b.implicitSlot,null===b.keyPath&&(b.implicitSlot=!0),a=Q(a,b,R,"",g.children),b.implicitSlot=d,a):S(b,c,d,g);if(null!=c&&"object"===typeof c){if(c.$$typeof===r)return S(b,c,d,g);switch(c.$$typeof){case C:var f=
45
+ c._init;c=f(c._payload);return fb(a,b,c,d,e,g);case za:return db(a,b,d,c.render,g);case Ca:return fb(a,b,c.type,d,e,g)}}throw Error("Unsupported Server Component type: "+Ta(c));}function $a(a,b){var c=a.pingedTasks;c.push(b);1===c.length&&(a.flushScheduled=null!==a.destination,gb(a))}
46
+ function N(a,b,c,d,e){a.pendingChunks++;var g=a.nextChunkId++;"object"!==typeof b||null===b||null!==c||d||a.writtenObjects.set(b,g);var f={id:g,status:0,model:b,keyPath:c,implicitSlot:d,ping:function(){return $a(a,f)},toJSON:function(k,h){var m=f.keyPath,z=f.implicitSlot;try{var u=Q(a,f,this,k,h)}catch(aa){if(k=aa===Fa?Ha():aa,h=f.model,h="object"===typeof h&&null!==h&&(h.$$typeof===B||h.$$typeof===C),"object"===typeof k&&null!==k&&"function"===typeof k.then){u=N(a,f.model,f.keyPath,f.implicitSlot,
47
+ a.abortableTasks);var D=u.ping;k.then(D,D);u.thenableState=Ja();f.keyPath=m;f.implicitSlot=z;u=h?"$L"+u.id.toString(16):T(u.id)}else if(f.keyPath=m,f.implicitSlot=z,h)a.pendingChunks++,m=a.nextChunkId++,z=O(a,k),P(a,m,z),u="$L"+m.toString(16);else throw k;}return u},thenableState:null};e.add(f);return f}function T(a){return"$"+a.toString(16)}function hb(a,b,c){a=M(c);b=b.toString(16)+":"+a+"\n";return q.encode(b)}
48
+ function ib(a,b,c,d){var e=d.$$async?d.$$id+"#async":d.$$id,g=a.writtenClientReferences,f=g.get(e);if(void 0!==f)return b[0]===B&&"1"===c?"$L"+f.toString(16):T(f);try{var k=a.bundlerConfig,h=d.$$id;f="";var m=k[h];if(m)f=m.name;else{var z=h.lastIndexOf("#");-1!==z&&(f=h.slice(z+1),m=k[h.slice(0,z)]);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 u=!0===d.$$async?[m.id,m.chunks,f,1]:[m.id,m.chunks,
49
+ f];a.pendingChunks++;var D=a.nextChunkId++,aa=M(u),Fb=D.toString(16)+":I"+aa+"\n",Gb=q.encode(Fb);a.completedImportChunks.push(Gb);g.set(e,D);return b[0]===B&&"1"===c?"$L"+D.toString(16):T(D)}catch(Hb){return a.pendingChunks++,b=a.nextChunkId++,c=O(a,Hb),P(a,b,c),T(b)}}function U(a,b){b=N(a,b,null,!1,a.abortableTasks);jb(a,b);return b.id}var V=!1;
50
+ function Q(a,b,c,d,e){b.model=e;if(e===B)return"$";if(null===e)return null;if("object"===typeof e){switch(e.$$typeof){case B:c=a.writtenObjects;d=c.get(e);if(void 0!==d){if(null===b.keyPath&&!b.implicitSlot)if(V===e)V=null;else return-1===d?(a=U(a,e),T(a)):T(d)}else c.set(e,-1),c.set(e.props,-2);c=e.props;d=c.ref;return fb(a,b,e.type,e.key,void 0!==d?d:null,c);case C:return b.thenableState=null,c=e._init,e=c(e._payload),Q(a,b,R,"",e)}if(e.$$typeof===r)return ib(a,c,d,e);c=a.writtenObjects;d=c.get(e);
51
+ if("function"===typeof e.then){if(void 0!==d){if(null!==b.keyPath||b.implicitSlot)return"$@"+Za(a,b,e).toString(16);if(V===e)V=null;else return"$@"+d.toString(16)}a=Za(a,b,e);c.set(e,a);return"$@"+a.toString(16)}if(void 0!==d)if(V===e)V=null;else{if(-1===d)return a=U(a,e),T(a);if(-2!==d)return T(d)}else c.set(e,-1);if(Qa(e))return eb(a,b,e);if(e instanceof Map){e=Array.from(e);for(b=0;b<e.length;b++)c=e[b][0],"object"===typeof c&&null!==c&&(d=a.writtenObjects,void 0===d.get(c)&&d.set(c,-1));return"$Q"+
52
+ U(a,e).toString(16)}if(e instanceof Set){e=Array.from(e);for(b=0;b<e.length;b++)c=e[b],"object"===typeof c&&null!==c&&(d=a.writtenObjects,void 0===d.get(c)&&d.set(c,-1));return"$W"+U(a,e).toString(16)}if("function"===typeof FormData&&e instanceof FormData)return e=Array.from(e.entries()),"$K"+U(a,e).toString(16);null===e||"object"!==typeof e?c=null:(c=Ea&&e[Ea]||e["@@iterator"],c="function"===typeof c?c:null);if(c)return eb(a,b,Array.from(e));a=Ra(e);if(a!==Va&&(null===a||null!==Ra(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.");
53
+ return e}if("string"===typeof e){if("Z"===e[e.length-1]&&c[d]instanceof Date)return"$D"+e;if(1024<=e.length)return a.pendingChunks++,b=a.nextChunkId++,kb(a,b,e),T(b);a="$"===e[0]?"$"+e:e;return a}if("boolean"===typeof e)return e;if("number"===typeof e)return Number.isFinite(e)?0===e&&-Infinity===1/e?"$-0":e:Infinity===e?"$Infinity":-Infinity===e?"$-Infinity":"$NaN";if("undefined"===typeof e)return"$undefined";if("function"===typeof e){if(e.$$typeof===r)return ib(a,c,d,e);if(e.$$typeof===t)return b=
54
+ a.writtenServerReferences,c=b.get(e),void 0!==c?a="$F"+c.toString(16):(c=e.$$bound,c={id:e.$$id,bound:c?Promise.resolve(c):null},a=U(a,c),b.set(e,a),a="$F"+a.toString(16)),a;if(e.$$typeof===ua)return"$T"+e.$$id;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+K(c,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". Or maybe you meant to call this function rather than return it.'+
55
+ K(c,d));}if("symbol"===typeof e){b=a.writtenSymbols;var g=b.get(e);if(void 0!==g)return T(g);g=e.description;if(Symbol.for(g)!==e)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(e.description+") cannot be found among global symbols.")+K(c,d));a.pendingChunks++;c=a.nextChunkId++;d=hb(a,c,"$S"+g);a.completedImportChunks.push(d);b.set(e,c);return T(c)}if("bigint"===typeof e)return"$n"+e.toString(10);throw Error("Type "+typeof e+
56
+ " is not supported in Client Component props."+K(c,d));}function O(a,b){var c=x;x=null;try{var d=a.onError;var e=d(b)}finally{x=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||""}
57
+ function lb(a,b){null!==a.destination?(a.status=2,da(a.destination,b)):(a.status=1,a.fatalError=b)}function P(a,b,c){c={digest:c};b=b.toString(16)+":E"+M(c)+"\n";b=q.encode(b);a.completedErrorChunks.push(b)}function mb(a,b,c){b=b.toString(16)+":"+c+"\n";b=q.encode(b);a.completedRegularChunks.push(b)}function kb(a,b,c){a.pendingChunks++;c=q.encode(c);var d=c.byteLength;b=b.toString(16)+":T"+d.toString(16)+",";b=q.encode(b);a.completedRegularChunks.push(b,c)}var R={};
58
+ function jb(a,b){if(0===b.status)try{V=b.model;var c=Q(a,b,R,"",b.model);V=c;b.keyPath=null;b.implicitSlot=!1;if("object"===typeof c&&null!==c){var d=b.id;if("string"===typeof c)kb(a,d,c);else{var e=M(c,b.toJSON);mb(a,b.id,e)}}else{var g=M(c);mb(a,b.id,g)}a.abortableTasks.delete(b);b.status=1}catch(m){var f=m===Fa?Ha():m;if("object"===typeof f&&null!==f&&"function"===typeof f.then){var k=b.ping;f.then(k,k);b.thenableState=Ja()}else{a.abortableTasks.delete(b);b.status=4;var h=O(a,f);P(a,b.id,h)}}finally{}}
59
+ function gb(a){var b=L.H;L.H=Oa;var c=x;G=x=a;try{var d=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<d.length;e++)jb(a,d[e]);null!==a.destination&&nb(a,a.destination)}catch(g){O(a,g),lb(a,g)}finally{L.H=b,G=null,x=c}}
60
+ function nb(a,b){l=new Uint8Array(2048);n=0;try{for(var c=a.completedImportChunks,d=0;d<c.length;d++)a.pendingChunks--,p(b,c[d]);c.splice(0,d);var e=a.completedHintChunks;for(d=0;d<e.length;d++)p(b,e[d]);e.splice(0,d);var g=a.completedRegularChunks;for(d=0;d<g.length;d++)a.pendingChunks--,p(b,g[d]);g.splice(0,d);var f=a.completedErrorChunks;for(d=0;d<f.length;d++)a.pendingChunks--,p(b,f[d]);f.splice(0,d)}finally{a.flushScheduled=!1,l&&0<n&&(b.enqueue(new Uint8Array(l.buffer,0,n)),l=null,n=0)}0===
61
+ a.pendingChunks&&(b.close(),a.destination=null)}function ab(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;nb(a,b)}}
62
+ function ob(a,b){try{var c=a.abortableTasks;if(0<c.size){a.pendingChunks++;var d=a.nextChunkId++,e=void 0===b?Error("The render was aborted by the server without a reason."):b,g=O(a,e);P(a,d,g,e);c.forEach(function(h){h.status=3;var m=T(d);h=hb(a,h.id,m);a.completedErrorChunks.push(h)});c.clear()}var f=a.abortListeners;if(0<f.size){var k=void 0===b?Error("The render was aborted by the server without a reason."):b;f.forEach(function(h){return h(k)});f.clear()}null!==a.destination&&nb(a,a.destination)}catch(h){O(a,
63
+ h),lb(a,h)}}function pb(a,b){var c="",d=a[b];if(d)c=d.name;else{var e=b.lastIndexOf("#");-1!==e&&(c=b.slice(e+1),d=a[b.slice(0,e)]);if(!d)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[d.id,d.chunks,c]}var qb=new Map;
64
+ function rb(a){var b=__webpack_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 sb(){}
65
+ function tb(a){for(var b=a[1],c=[],d=0;d<b.length;){var e=b[d++],g=b[d++],f=qb.get(e);void 0===f?(ub.set(e,g),g=__webpack_chunk_load__(e),c.push(g),f=qb.set.bind(qb,e,null),g.then(f,sb),qb.set(e,g)):null!==f&&c.push(f)}return 4===a.length?0===c.length?rb(a[0]):Promise.all(c).then(function(){return rb(a[0])}):0<c.length?Promise.all(c):null}
66
+ function W(a){var b=__webpack_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]]}var ub=new Map,vb=__webpack_require__.u;__webpack_require__.u=function(a){var b=ub.get(a);return void 0!==b?b:vb(a)};function wb(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}wb.prototype=Object.create(Promise.prototype);
67
+ wb.prototype.then=function(a,b){switch(this.status){case "resolved_model":xb(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 yb(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}
68
+ function zb(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&yb(c,b)}}function Ab(a,b,c,d,e,g){var f=pb(a._bundlerConfig,b);a=tb(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(Bb(d,e,g),Cb(d));return null}var X=null,Y=null;
69
+ function xb(a){var b=X,c=Y;X=a;Y=null;try{var d=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=d,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=d)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=c}}function Db(a,b){a._chunks.forEach(function(c){"pending"===c.status&&zb(c,b)})}
70
+ function Z(a,b){var c=a._chunks,d=c.get(b);d||(d=a._formData.get(a._prefix+b),d=null!=d?new wb("resolved_model",d,null,a):new wb("pending",null,null,a),c.set(b,d));return d}function Bb(a,b,c){if(Y){var d=Y;d.deps++}else d=Y={deps:1,value:null};return function(e){b[c]=e;d.deps--;0===d.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=d.value,null!==e&&yb(e,d.value))}}function Cb(a){return function(b){return zb(a,b)}}
71
+ function Eb(a,b){a=Z(a,b);"resolved_model"===a.status&&xb(a);if("fulfilled"!==a.status)throw a.reason;return a.value}
72
+ function Ib(a,b,c,d){if("$"===d[0]){switch(d[1]){case "$":return d.slice(1);case "@":return b=parseInt(d.slice(2),16),Z(a,b);case "F":return d=parseInt(d.slice(2),16),d=Eb(a,d),Ab(a,d.id,d.bound,X,b,c);case "T":return wa(d.slice(2));case "Q":return b=parseInt(d.slice(2),16),a=Eb(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=Eb(a,b),new Set(a);case "K":b=d.slice(2);var e=a._prefix+b+"_",g=new FormData;a._formData.forEach(function(f,k){k.startsWith(e)&&g.append(k.slice(e.length),f)});
73
+ return g;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))}d=parseInt(d.slice(1),16);a=Z(a,d);switch(a.status){case "resolved_model":xb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return d=X,a.then(Bb(d,b,c),Cb(d)),null;default:throw a.reason;}}return d}
74
+ function Jb(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,d=new Map,e={_bundlerConfig:a,_prefix:b,_formData:c,_chunks:d,_fromJSON:function(g,f){return"string"===typeof f?Ib(e,this,g,f):f}};return e}function Kb(a){Db(a,Error("Connection closed."))}function Lb(a,b,c){var d=pb(a,b);a=tb(d);return c?Promise.all([c,a]).then(function(e){e=e[0];var g=W(d);return g.bind.apply(g,[null].concat(e))}):a?Promise.resolve(a).then(function(){return W(d)}):Promise.resolve(W(d))}
75
+ function Mb(a,b,c){a=Jb(b,c,a);Kb(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)};
76
+ exports.decodeAction=function(a,b){var c=new FormData,d=null;a.forEach(function(e,g){g.startsWith("$ACTION_")?g.startsWith("$ACTION_REF_")?(e="$ACTION_"+g.slice(12)+":",e=Mb(a,b,e),d=Lb(b,e.id,e.bound)):g.startsWith("$ACTION_ID_")&&(e=g.slice(11),d=Lb(b,e,null)):c.append(g,e)});return null===d?null:d.then(function(e){return e.bind(null,c)})};
77
+ exports.decodeFormState=function(a,b,c){var d=b.get("$ACTION_KEY");if("string"!==typeof d)return Promise.resolve(null);var e=null;b.forEach(function(f,k){k.startsWith("$ACTION_REF_")&&(f="$ACTION_"+k.slice(12)+":",e=Mb(b,c,f))});if(null===e)return Promise.resolve(null);var g=e.id;return Promise.resolve(e.bound).then(function(f){return null===f?null:[a,d,g,f.length-1]})};exports.decodeReply=function(a,b){if("string"===typeof a){var c=new FormData;c.append("0",a);a=c}a=Jb(b,"",a);b=Z(a,0);Kb(a);return b};
77
78
  exports.registerClientReference=function(a,b,c){return v(a,b+"#"+c,!1)};exports.registerServerReference=function(a,b,c){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:null===c?b:b+"#"+c,configurable:!0},$$bound:{value:null,configurable:!0},bind:{value:ha,configurable:!0}})};
78
- exports.renderToReadableStream=function(a,b,c){var e=Za(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)lb(e,d.reason);else{var g=function(){lb(e,d.reason);d.removeEventListener("abort",g)};d.addEventListener("abort",g)}}return new ReadableStream({type:"bytes",start:function(){e.flushScheduled=null!==e.destination;gb(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=
79
- f;try{P(e,f)}catch(h){N(e,h),kb(e,h)}}},cancel:function(f){e.destination=null;lb(e,f)}},{highWaterMark:0})};
79
+ exports.renderToReadableStream=function(a,b,c){var d=Ya(a,b,c?c.onError:void 0,c?c.identifierPrefix:void 0,c?c.onPostpone:void 0);if(c&&c.signal){var e=c.signal;if(e.aborted)ob(d,e.reason);else{var g=function(){ob(d,e.reason);e.removeEventListener("abort",g)};e.addEventListener("abort",g)}}return new ReadableStream({type:"bytes",start:function(){d.flushScheduled=null!==d.destination;gb(d)},pull:function(f){if(1===d.status)d.status=2,da(f,d.fatalError);else if(2!==d.status&&null===d.destination){d.destination=
80
+ f;try{nb(d,f)}catch(k){O(d,k),lb(d,k)}}},cancel:function(f){d.destination=null;ob(d,f)}},{highWaterMark:0})};
80
81
 
81
82
  //# sourceMappingURL=react-server-dom-webpack-server.browser.production.min.js.map