react-server-dom-webpack 19.0.0-canary-4c12339ce-20240408 → 19.0.0-canary-96c584661-20240412

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 (38) hide show
  1. package/cjs/react-server-dom-webpack-client.browser.development.js +115 -100
  2. package/cjs/react-server-dom-webpack-client.browser.production.js +92 -72
  3. package/cjs/react-server-dom-webpack-client.browser.production.min.js +24 -24
  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 +123 -108
  6. package/cjs/react-server-dom-webpack-client.edge.production.js +100 -80
  7. package/cjs/react-server-dom-webpack-client.edge.production.min.js +24 -23
  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 +123 -108
  10. package/cjs/react-server-dom-webpack-client.node.production.js +100 -80
  11. package/cjs/react-server-dom-webpack-client.node.production.min.js +23 -22
  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 +123 -108
  14. package/cjs/react-server-dom-webpack-client.node.unbundled.production.js +100 -80
  15. package/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js +22 -21
  16. package/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js.map +1 -1
  17. package/cjs/react-server-dom-webpack-node-register.js.map +1 -1
  18. package/cjs/react-server-dom-webpack-server.browser.development.js +75 -39
  19. package/cjs/react-server-dom-webpack-server.browser.production.js +70 -32
  20. package/cjs/react-server-dom-webpack-server.browser.production.min.js +68 -68
  21. package/cjs/react-server-dom-webpack-server.browser.production.min.js.map +1 -1
  22. package/cjs/react-server-dom-webpack-server.edge.development.js +75 -39
  23. package/cjs/react-server-dom-webpack-server.edge.production.js +70 -32
  24. package/cjs/react-server-dom-webpack-server.edge.production.min.js +53 -53
  25. package/cjs/react-server-dom-webpack-server.edge.production.min.js.map +1 -1
  26. package/cjs/react-server-dom-webpack-server.node.development.js +75 -39
  27. package/cjs/react-server-dom-webpack-server.node.production.js +70 -32
  28. package/cjs/react-server-dom-webpack-server.node.production.min.js +56 -56
  29. package/cjs/react-server-dom-webpack-server.node.production.min.js.map +1 -1
  30. package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +75 -39
  31. package/cjs/react-server-dom-webpack-server.node.unbundled.production.js +70 -32
  32. package/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js +53 -53
  33. package/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js.map +1 -1
  34. package/package.json +3 -3
  35. package/umd/react-server-dom-webpack-client.browser.development.js +115 -100
  36. package/umd/react-server-dom-webpack-client.browser.production.min.js +24 -24
  37. package/umd/react-server-dom-webpack-server.browser.development.js +75 -39
  38. package/umd/react-server-dom-webpack-server.browser.production.min.js +53 -53
@@ -14,7 +14,12 @@
14
14
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.ReactServerDOMServer = {}, global.React, global.ReactDOM));
15
15
  })(this, (function (exports, React, ReactDOM) { 'use strict';
16
16
 
17
- var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
17
+ var ReactSharedInternalsServer = // $FlowFixMe: It's defined in the one we resolve to.
18
+ React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
19
+
20
+ if (!ReactSharedInternalsServer) {
21
+ throw new 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.');
22
+ }
18
23
 
19
24
  function error(format) {
20
25
  {
@@ -32,8 +37,7 @@
32
37
  // When changing this logic, you might want to also
33
38
  // update consoleWithStackDev.www.js as well.
34
39
  {
35
- var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
36
- var stack = ReactDebugCurrentFrame.getStackAddendum();
40
+ var stack = ReactSharedInternalsServer.getStackAddendum();
37
41
 
38
42
  if (stack !== '') {
39
43
  format += '%s';
@@ -450,19 +454,45 @@
450
454
  return serverReference.$$bound;
451
455
  }
452
456
 
453
- var ReactDOMSharedInternals = ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
454
-
455
- var ReactDOMCurrentDispatcher = ReactDOMSharedInternals.ReactDOMCurrentDispatcher;
456
- var previousDispatcher = ReactDOMCurrentDispatcher.current;
457
- ReactDOMCurrentDispatcher.current = {
458
- flushSyncWork: previousDispatcher.flushSyncWork,
459
- prefetchDNS: prefetchDNS,
460
- preconnect: preconnect,
461
- preload: preload,
462
- preloadModule: preloadModule$1,
463
- preinitStyle: preinitStyle,
464
- preinitScript: preinitScript,
465
- preinitModuleScript: preinitModuleScript
457
+ var ReactDOMSharedInternals = ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
458
+
459
+ var previousDispatcher = ReactDOMSharedInternals.d;
460
+ /* ReactDOMCurrentDispatcher */
461
+
462
+ ReactDOMSharedInternals.d
463
+ /* ReactDOMCurrentDispatcher */
464
+ = {
465
+ f
466
+ /* flushSyncWork */
467
+ : previousDispatcher.f
468
+ /* flushSyncWork */
469
+ ,
470
+ r
471
+ /* requestFormReset */
472
+ : previousDispatcher.r
473
+ /* requestFormReset */
474
+ ,
475
+ D
476
+ /* prefetchDNS */
477
+ : prefetchDNS,
478
+ C
479
+ /* preconnect */
480
+ : preconnect,
481
+ L
482
+ /* preload */
483
+ : preload,
484
+ m
485
+ /* preloadModule */
486
+ : preloadModule$1,
487
+ X
488
+ /* preinitScript */
489
+ : preinitScript,
490
+ S
491
+ /* preinitStyle */
492
+ : preinitStyle,
493
+ M
494
+ /* preinitModuleScript */
495
+ : preinitModuleScript
466
496
  };
467
497
 
468
498
  function prefetchDNS(href) {
@@ -481,7 +511,9 @@
481
511
  hints.add(key);
482
512
  emitHint(request, 'D', href);
483
513
  } else {
484
- previousDispatcher.prefetchDNS(href);
514
+ previousDispatcher.D(
515
+ /* prefetchDNS */
516
+ href);
485
517
  }
486
518
  }
487
519
  }
@@ -507,7 +539,9 @@
507
539
  emitHint(request, 'C', href);
508
540
  }
509
541
  } else {
510
- previousDispatcher.preconnect(href, crossOrigin);
542
+ previousDispatcher.C(
543
+ /* preconnect */
544
+ href, crossOrigin);
511
545
  }
512
546
  }
513
547
  }
@@ -540,7 +574,9 @@
540
574
  emitHint(request, 'L', [href, as]);
541
575
  }
542
576
  } else {
543
- previousDispatcher.preload(href, as, options);
577
+ previousDispatcher.L(
578
+ /* preload */
579
+ href, as, options);
544
580
  }
545
581
  }
546
582
  }
@@ -567,7 +603,9 @@
567
603
  return emitHint(request, 'm', href);
568
604
  }
569
605
  } else {
570
- previousDispatcher.preloadModule(href, options);
606
+ previousDispatcher.m(
607
+ /* preloadModule */
608
+ href, options);
571
609
  }
572
610
  }
573
611
  }
@@ -596,7 +634,9 @@
596
634
  return emitHint(request, 'S', href);
597
635
  }
598
636
  } else {
599
- previousDispatcher.preinitStyle(href, precedence, options);
637
+ previousDispatcher.S(
638
+ /* preinitStyle */
639
+ href, precedence, options);
600
640
  }
601
641
  }
602
642
  }
@@ -623,7 +663,9 @@
623
663
  return emitHint(request, 'X', src);
624
664
  }
625
665
  } else {
626
- previousDispatcher.preinitScript(src, options);
666
+ previousDispatcher.X(
667
+ /* preinitScript */
668
+ src, options);
627
669
  }
628
670
  }
629
671
  }
@@ -650,7 +692,9 @@
650
692
  return emitHint(request, 'M', src);
651
693
  }
652
694
  } else {
653
- previousDispatcher.preinitModuleScript(src, options);
695
+ previousDispatcher.M(
696
+ /* preinitModuleScript */
697
+ src, options);
654
698
  }
655
699
  }
656
700
  } // Flight normally encodes undefined as a special character however for directive option
@@ -1408,12 +1452,7 @@
1408
1452
  return '\n ' + str;
1409
1453
  }
1410
1454
 
1411
- var ReactSharedServerInternals = // $FlowFixMe: It's defined in the one we resolve to.
1412
- React.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
1413
-
1414
- if (!ReactSharedServerInternals) {
1415
- throw new 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.');
1416
- }
1455
+ var ReactSharedInternals = ReactSharedInternalsServer;
1417
1456
 
1418
1457
  var ObjectPrototype = Object.prototype;
1419
1458
  var stringify = JSON.stringify; // Serializable values
@@ -1427,9 +1466,6 @@
1427
1466
 
1428
1467
  var SEEN_BUT_NOT_YET_OUTLINED = -1;
1429
1468
  var NEVER_OUTLINED = -2;
1430
- var ReactCurrentCache = ReactSharedServerInternals.ReactCurrentCache;
1431
- var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;
1432
- var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
1433
1469
 
1434
1470
  function defaultErrorHandler(error) {
1435
1471
  console['error'](error); // Don't transform to our wrapper
@@ -1442,11 +1478,11 @@
1442
1478
  var CLOSING = 1;
1443
1479
  var CLOSED = 2;
1444
1480
  function createRequest(model, bundlerConfig, onError, identifierPrefix, onPostpone, environmentName) {
1445
- if (ReactCurrentCache.current !== null && ReactCurrentCache.current !== DefaultCacheDispatcher) {
1481
+ if (ReactSharedInternals.C !== null && ReactSharedInternals.C !== DefaultCacheDispatcher) {
1446
1482
  throw new Error('Currently React only supports one RSC renderer at a time.');
1447
1483
  }
1448
1484
 
1449
- ReactCurrentCache.current = DefaultCacheDispatcher;
1485
+ ReactSharedInternals.C = DefaultCacheDispatcher;
1450
1486
  var abortSet = new Set();
1451
1487
  var pingedTasks = [];
1452
1488
  var cleanupQueue = [];
@@ -1692,12 +1728,12 @@
1692
1728
  var result;
1693
1729
 
1694
1730
  {
1695
- ReactCurrentOwner.current = componentDebugInfo;
1731
+ ReactSharedInternals.owner = componentDebugInfo;
1696
1732
 
1697
1733
  try {
1698
1734
  result = Component(props, secondArg);
1699
1735
  } finally {
1700
- ReactCurrentOwner.current = null;
1736
+ ReactSharedInternals.owner = null;
1701
1737
  }
1702
1738
  }
1703
1739
 
@@ -3005,8 +3041,8 @@
3005
3041
  }
3006
3042
 
3007
3043
  function performWork(request) {
3008
- var prevDispatcher = ReactCurrentDispatcher.current;
3009
- ReactCurrentDispatcher.current = HooksDispatcher;
3044
+ var prevDispatcher = ReactSharedInternals.H;
3045
+ ReactSharedInternals.H = HooksDispatcher;
3010
3046
  var prevRequest = currentRequest;
3011
3047
  currentRequest = request;
3012
3048
  prepareToUseHooksForRequest(request);
@@ -3027,7 +3063,7 @@
3027
3063
  logRecoverableError(request, error);
3028
3064
  fatalError(request, error);
3029
3065
  } finally {
3030
- ReactCurrentDispatcher.current = prevDispatcher;
3066
+ ReactSharedInternals.H = prevDispatcher;
3031
3067
  resetHooksForRequest();
3032
3068
  currentRequest = prevRequest;
3033
3069
  }
@@ -8,58 +8,58 @@
8
8
  * LICENSE file in the root directory of this source tree.
9
9
  */
10
10
 
11
- 'use strict';(function(){(function(p,M){"object"===typeof exports&&"undefined"!==typeof module?M(exports,require("react-dom"),require("react")):"function"===typeof define&&define.amd?define(["exports","react-dom","react"],M):(p="undefined"!==typeof globalThis?globalThis:p||self,M(p.ReactServerDOMServer={},p.ReactDOM,p.React))})(this,function(p,M,ua){function U(a,b){if(0!==b.byteLength)if(2048<b.byteLength)0<q&&(a.enqueue(new Uint8Array(r.buffer,0,q)),r=new Uint8Array(2048),q=0),a.enqueue(b);else{var c=
12
- r.length-q;c<b.byteLength&&(0===c?a.enqueue(r):(r.set(b.subarray(0,c),q),a.enqueue(r),b=b.subarray(c)),r=new Uint8Array(2048),q=0);r.set(b,q);q+=b.byteLength}return!0}function va(a,b){"function"===typeof a.error?a.error(b):a.close()}function E(a,b,c){return Object.defineProperties(a,{$$typeof:{value:F},$$id:{value:b},$$async:{value:c}})}function wa(){var a=eb.apply(this,arguments);if(this.$$typeof===V){var b=fb.call(arguments,1);return Object.defineProperties(a,{$$typeof:{value:V},$$id:{value:this.$$id},
13
- $$bound:{value:this.$$bound?this.$$bound.concat(b):b},bind:{value:wa}})}return a}function xa(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=E(function(){throw Error("Attempted to call the default export of "+
14
- c+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var e=E({},a.$$id,!0),d=new Proxy(e,ya);a.status="fulfilled";a.value=d;return a.then=E(function(g,f){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.");
15
- e=a[b];e||(e=E(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#"+b,a.$$async),Object.defineProperty(e,"name",{value:b}),e=a[b]=new Proxy(e,gb));return e}function N(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}function hb(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.");
16
- },{$$typeof:{value:ea},$$id:{value:a}});return new Proxy(a,ib)}function za(){}function jb(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(za,za),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;
17
- case "rejected":throw b.reason;}W=b;throw fa;}}function Aa(){if(null===W)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=W;W=null;return a}function Ba(){var a=G||[];G=null;return a}function u(){throw Error("This Hook is not supported in Server Components.");}function kb(){throw Error("Refreshing the cache is not supported in Server Components.");}function ha(){throw Error("Cannot read a Client Context from a Server Component.");}function Ca(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,
18
- function(b,c){return c})}function ia(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(ja(a))return"[...]";if(null!==a&&a.$$typeof===ka)return"client";a=Ca(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===ka?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}}function X(a){if("string"===typeof a)return a;switch(a){case lb:return"Suspense";case mb:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Da:return X(a.render);
19
- case Ea:return X(a.type);case O:var b=a._payload;a=a._init;try{return X(a(b))}catch(c){}}return""}function H(a,b){var c=Ca(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var e=0;if(ja(a)){var d="[";for(var g=0;g<a.length;g++){0<g&&(d+=", ");var f=a[g];f="object"===typeof f&&null!==f?H(f):ia(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===y)d="<"+X(a.type)+"/>";else{if(a.$$typeof===ka)return"client";d="{";g=Object.keys(a);for(f=0;f<
20
- g.length;f++){0<f&&(d+=", ");var h=g[f],k=JSON.stringify(h);d+=('"'+h+'"'===k?h:k)+": ";k=a[h];k="object"===typeof k&&null!==k?H(k):ia(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}function nb(a){console.error(a)}function ob(a){}function pb(a,b,c,e,d,g){if(null!==la.current&&la.current!==Fa)throw Error("Currently React only supports one RSC renderer at a time.");
21
- la.current=Fa;var f=new Set;g=[];var h=new Set;b={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:h,abortableTasks:f,pingedTasks:g,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map,writtenServerReferences:new Map,writtenObjects:new WeakMap,identifierPrefix:e||"",identifierCount:1,taintCleanupQueue:[],onError:void 0===c?
22
- nb:c,onPostpone:void 0===d?ob:d};a=Y(b,a,null,!1,f);g.push(a);return b}function Ga(a,b,c){var e=Y(a,null,b.keyPath,b.implicitSlot,a.abortableTasks);switch(c.status){case "fulfilled":return e.model=c.value,ma(a,e),e.id;case "rejected":return b=w(a,c.reason),I(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=
23
- d;ma(a,e)},function(d){e.status=4;d=w(a,d);I(a,e.id,d);a.abortableTasks.delete(e);null!==a.destination&&P(a,a.destination)});return e.id}function n(a,b,c){c=J(c);var e=a.nextChunkId++;b="H"+b;b=e.toString(16)+":"+b;c=C.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 qb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}function rb(a){switch(a.status){case "fulfilled":case "rejected":break;
24
- 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:O,_payload:a,_init:qb}}function Ha(a,b,c,e,d,g){g=b.thenableState;b.thenableState=null;na=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=rb(e)}d=b.keyPath;g=b.implicitSlot;null!==c?b.keyPath=null===d?c:
25
- d+","+c:null===d&&(b.implicitSlot=!0);a=Q(a,b,Z,"",e);b.keyPath=d;b.implicitSlot=g;return a}function Ia(a,b,c){return null!==b.keyPath?(a=[y,Ja,b.keyPath,{children:c}],b.implicitSlot?[a]:a):c}function aa(a,b,c,e,d){d=a.keyPath;null===c?c=d:null!==d&&(c=d+","+c);b=[y,b,c,e];return a.implicitSlot&&null!==c?[b]:b}function oa(a,b,c,e,d,g,f){if(null!==d&&void 0!==d)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof c)return c.$$typeof===F||
26
- c.$$typeof===ea?aa(b,c,e,g):Ha(a,b,e,c,g);if("string"===typeof c)return aa(b,c,e,g);if("symbol"===typeof c)return c===Ja&&null===e?(e=b.implicitSlot,null===b.keyPath&&(b.implicitSlot=!0),a=Q(a,b,Z,"",g.children),b.implicitSlot=e,a):aa(b,c,e,g);if(null!=c&&"object"===typeof c){if(c.$$typeof===F)return aa(b,c,e,g);switch(c.$$typeof){case O:return f=c._init,c=f(c._payload),oa(a,b,c,e,d,g);case Da:return Ha(a,b,e,c.render,g);case Ea:return oa(a,b,c.type,e,d,g)}}throw Error("Unsupported Server Component type: "+
27
- ia(c));}function ma(a,b){var c=a.pingedTasks;c.push(b);1===c.length&&(a.flushScheduled=null!==a.destination,Ka(a))}function Y(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 ma(a,f)},toJSON:function(h,k){var m=f.keyPath,z=f.implicitSlot;try{var v=Q(a,f,this,h,k)}catch(ba){if(h=ba===fa?Aa():ba,k=f.model,k="object"===typeof k&&null!==k&&(k.$$typeof===
28
- y||k.$$typeof===O),"object"===typeof h&&null!==h&&"function"===typeof h.then){v=Y(a,f.model,f.keyPath,f.implicitSlot,a.abortableTasks);var D=v.ping;h.then(D,D);v.thenableState=Ba();f.keyPath=m;f.implicitSlot=z;v=k?"$L"+v.id.toString(16):t(v.id)}else if(f.keyPath=m,f.implicitSlot=z,k)a.pendingChunks++,m=a.nextChunkId++,z=w(a,h),I(a,m,z),v="$L"+m.toString(16);else throw h;}return v},thenableState:null};d.add(f);return f}function t(a){return"$"+a.toString(16)}function La(a,b,c){a=J(c);b=b.toString(16)+
29
- ":"+a+"\n";return C.encode(b)}function Ma(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]===y&&"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 v=!0===e.$$async?
30
- [m.id,m.chunks,f,1]:[m.id,m.chunks,f];a.pendingChunks++;var D=a.nextChunkId++,ba=J(v),sb=D.toString(16)+":I"+ba+"\n",tb=C.encode(sb);a.completedImportChunks.push(tb);g.set(d,D);return b[0]===y&&"1"===c?"$L"+D.toString(16):t(D)}catch(ub){return a.pendingChunks++,b=a.nextChunkId++,c=w(a,ub),I(a,b,c),t(b)}}function K(a,b){b=Y(a,b,null,!1,a.abortableTasks);Na(a,b);return b.id}function Q(a,b,c,e,d){b.model=d;if(d===y)return"$";if(null===d)return null;if("object"===typeof d){switch(d.$$typeof){case y:c=
31
- a.writtenObjects;e=c.get(d);if(void 0!==e){if(null===b.keyPath&&!b.implicitSlot)if(A===d)A=null;else return-1===e?(a=K(a,d),t(a)):t(e)}else c.set(d,-1),c.set(d.props,-2);c=d.props;e=c.ref;return oa(a,b,d.type,d.key,void 0!==e?e:null,c);case O:return b.thenableState=null,c=d._init,d=c(d._payload),Q(a,b,Z,"",d)}if(d.$$typeof===F)return Ma(a,c,e,d);c=a.writtenObjects;e=c.get(d);if("function"===typeof d.then){if(void 0!==e){if(null!==b.keyPath||b.implicitSlot)return"$@"+Ga(a,b,d).toString(16);if(A===
32
- d)A=null;else return"$@"+e.toString(16)}a=Ga(a,b,d);c.set(d,a);return"$@"+a.toString(16)}if(void 0!==e)if(A===d)A=null;else{if(-1===e)return a=K(a,d),t(a);if(-2!==e)return t(e)}else c.set(d,-1);if(ja(d))return Ia(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"+K(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&&
33
- (e=a.writtenObjects,void 0===e.get(c)&&e.set(c,-1));return"$W"+K(a,d).toString(16)}if("function"===typeof FormData&&d instanceof FormData)return d=Array.from(d.entries()),"$K"+K(a,d).toString(16);null===d||"object"!==typeof d?c=null:(c=Oa&&d[Oa]||d["@@iterator"],c="function"===typeof c?c:null);if(c)return Ia(a,b,Array.from(d));a=Pa(d);if(a!==vb&&(null===a||null!==Pa(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.");
11
+ 'use strict';(function(){(function(p,N){"object"===typeof exports&&"undefined"!==typeof module?N(exports,require("react-dom"),require("react")):"function"===typeof define&&define.amd?define(["exports","react-dom","react"],N):(p="undefined"!==typeof globalThis?globalThis:p||self,N(p.ReactServerDOMServer={},p.ReactDOM,p.React))})(this,function(p,N,cb){function V(a,b){if(0!==b.byteLength)if(2048<b.byteLength)0<q&&(a.enqueue(new Uint8Array(r.buffer,0,q)),r=new Uint8Array(2048),q=0),a.enqueue(b);else{var c=
12
+ r.length-q;c<b.byteLength&&(0===c?a.enqueue(r):(r.set(b.subarray(0,c),q),a.enqueue(r),b=b.subarray(c)),r=new Uint8Array(2048),q=0);r.set(b,q);q+=b.byteLength}return!0}function ta(a,b){"function"===typeof a.error?a.error(b):a.close()}function E(a,b,c){return Object.defineProperties(a,{$$typeof:{value:F},$$id:{value:b},$$async:{value:c}})}function ua(){var a=db.apply(this,arguments);if(this.$$typeof===W){var b=eb.call(arguments,1);return Object.defineProperties(a,{$$typeof:{value:W},$$id:{value:this.$$id},
13
+ $$bound:{value:this.$$bound?this.$$bound.concat(b):b},bind:{value:ua}})}return a}function va(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=E(function(){throw Error("Attempted to call the default export of "+
14
+ c+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var e=E({},a.$$id,!0),d=new Proxy(e,wa);a.status="fulfilled";a.value=d;return a.then=E(function(g,f){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.");
15
+ e=a[b];e||(e=E(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#"+b,a.$$async),Object.defineProperty(e,"name",{value:b}),e=a[b]=new Proxy(e,fb));return e}function O(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}function gb(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.");
16
+ },{$$typeof:{value:fa},$$id:{value:a}});return new Proxy(a,hb)}function xa(){}function ib(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(xa,xa),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;
17
+ case "rejected":throw b.reason;}X=b;throw ha;}}function ya(){if(null===X)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=X;X=null;return a}function za(){var a=G||[];G=null;return a}function u(){throw Error("This Hook is not supported in Server Components.");}function jb(){throw Error("Refreshing the cache is not supported in Server Components.");}function ia(){throw Error("Cannot read a Client Context from a Server Component.");}function Aa(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,
18
+ function(b,c){return c})}function ja(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(ka(a))return"[...]";if(null!==a&&a.$$typeof===la)return"client";a=Aa(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===la?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}}function Y(a){if("string"===typeof a)return a;switch(a){case kb:return"Suspense";case lb:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Ba:return Y(a.render);
19
+ case Ca:return Y(a.type);case P:var b=a._payload;a=a._init;try{return Y(a(b))}catch(c){}}return""}function H(a,b){var c=Aa(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var e=0;if(ka(a)){var d="[";for(var g=0;g<a.length;g++){0<g&&(d+=", ");var f=a[g];f="object"===typeof f&&null!==f?H(f):ja(f);""+g===b?(c=d.length,e=f.length,d+=f):d=10>f.length&&40>d.length+f.length?d+f:d+"..."}d+="]"}else if(a.$$typeof===z)d="<"+Y(a.type)+"/>";else{if(a.$$typeof===la)return"client";d="{";g=Object.keys(a);for(f=0;f<
20
+ g.length;f++){0<f&&(d+=", ");var h=g[f],k=JSON.stringify(h);d+=('"'+h+'"'===k?h:k)+": ";k=a[h];k="object"===typeof k&&null!==k?H(k):ja(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}function mb(a){console.error(a)}function nb(a){}function ob(a,b,c,e,d,g){if(null!==I.C&&I.C!==Da)throw Error("Currently React only supports one RSC renderer at a time.");I.C=Da;var f=new Set;
21
+ g=[];var h=new Set;b={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:h,abortableTasks:f,pingedTasks:g,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map,writtenServerReferences:new Map,writtenObjects:new WeakMap,identifierPrefix:e||"",identifierCount:1,taintCleanupQueue:[],onError:void 0===c?mb:c,onPostpone:void 0===d?
22
+ nb:d};a=Z(b,a,null,!1,f);g.push(a);return b}function Ea(a,b,c){var e=Z(a,null,b.keyPath,b.implicitSlot,a.abortableTasks);switch(c.status){case "fulfilled":return e.model=c.value,ma(a,e),e.id;case "rejected":return b=w(a,c.reason),J(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;ma(a,e)},function(d){e.status=
23
+ 4;d=w(a,d);J(a,e.id,d);a.abortableTasks.delete(e);null!==a.destination&&Q(a,a.destination)});return e.id}function n(a,b,c){c=K(c);var e=a.nextChunkId++;b="H"+b;b=e.toString(16)+":"+b;c=C.encode(b+c+"\n");a.completedHintChunks.push(c);!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination&&(c=a.destination,a.flushScheduled=!0,Q(a,c))}function pb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}function qb(a){switch(a.status){case "fulfilled":case "rejected":break;
24
+ 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:P,_payload:a,_init:pb}}function Fa(a,b,c,e,d,g){g=b.thenableState;b.thenableState=null;na=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=qb(e)}d=b.keyPath;g=b.implicitSlot;null!==c?b.keyPath=null===d?c:
25
+ d+","+c:null===d&&(b.implicitSlot=!0);a=R(a,b,aa,"",e);b.keyPath=d;b.implicitSlot=g;return a}function Ga(a,b,c){return null!==b.keyPath?(a=[z,Ha,b.keyPath,{children:c}],b.implicitSlot?[a]:a):c}function ba(a,b,c,e,d){d=a.keyPath;null===c?c=d:null!==d&&(c=d+","+c);b=[z,b,c,e];return a.implicitSlot&&null!==c?[b]:b}function oa(a,b,c,e,d,g,f){if(null!==d&&void 0!==d)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof c)return c.$$typeof===F||
26
+ c.$$typeof===fa?ba(b,c,e,g):Fa(a,b,e,c,g);if("string"===typeof c)return ba(b,c,e,g);if("symbol"===typeof c)return c===Ha&&null===e?(e=b.implicitSlot,null===b.keyPath&&(b.implicitSlot=!0),a=R(a,b,aa,"",g.children),b.implicitSlot=e,a):ba(b,c,e,g);if(null!=c&&"object"===typeof c){if(c.$$typeof===F)return ba(b,c,e,g);switch(c.$$typeof){case P:return f=c._init,c=f(c._payload),oa(a,b,c,e,d,g);case Ba:return Fa(a,b,e,c.render,g);case Ca:return oa(a,b,c.type,e,d,g)}}throw Error("Unsupported Server Component type: "+
27
+ ja(c));}function ma(a,b){var c=a.pingedTasks;c.push(b);1===c.length&&(a.flushScheduled=null!==a.destination,Ia(a))}function Z(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 ma(a,f)},toJSON:function(h,k){var m=f.keyPath,A=f.implicitSlot;try{var v=R(a,f,this,h,k)}catch(ca){if(h=ca===ha?ya():ca,k=f.model,k="object"===typeof k&&null!==k&&(k.$$typeof===
28
+ z||k.$$typeof===P),"object"===typeof h&&null!==h&&"function"===typeof h.then){v=Z(a,f.model,f.keyPath,f.implicitSlot,a.abortableTasks);var D=v.ping;h.then(D,D);v.thenableState=za();f.keyPath=m;f.implicitSlot=A;v=k?"$L"+v.id.toString(16):t(v.id)}else if(f.keyPath=m,f.implicitSlot=A,k)a.pendingChunks++,m=a.nextChunkId++,A=w(a,h),J(a,m,A),v="$L"+m.toString(16);else throw h;}return v},thenableState:null};d.add(f);return f}function t(a){return"$"+a.toString(16)}function Ja(a,b,c){a=K(c);b=b.toString(16)+
29
+ ":"+a+"\n";return C.encode(b)}function Ka(a,b,c,e){var d=e.$$async?e.$$id+"#async":e.$$id,g=a.writtenClientReferences,f=g.get(d);if(void 0!==f)return b[0]===z&&"1"===c?"$L"+f.toString(16):t(f);try{var h=a.bundlerConfig,k=e.$$id;f="";var m=h[k];if(m)f=m.name;else{var A=k.lastIndexOf("#");-1!==A&&(f=k.slice(A+1),m=h[k.slice(0,A)]);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 v=!0===e.$$async?
30
+ [m.id,m.chunks,f,1]:[m.id,m.chunks,f];a.pendingChunks++;var D=a.nextChunkId++,ca=K(v),rb=D.toString(16)+":I"+ca+"\n",sb=C.encode(rb);a.completedImportChunks.push(sb);g.set(d,D);return b[0]===z&&"1"===c?"$L"+D.toString(16):t(D)}catch(tb){return a.pendingChunks++,b=a.nextChunkId++,c=w(a,tb),J(a,b,c),t(b)}}function L(a,b){b=Z(a,b,null,!1,a.abortableTasks);La(a,b);return b.id}function R(a,b,c,e,d){b.model=d;if(d===z)return"$";if(null===d)return null;if("object"===typeof d){switch(d.$$typeof){case z:c=
31
+ a.writtenObjects;e=c.get(d);if(void 0!==e){if(null===b.keyPath&&!b.implicitSlot)if(B===d)B=null;else return-1===e?(a=L(a,d),t(a)):t(e)}else c.set(d,-1),c.set(d.props,-2);c=d.props;e=c.ref;return oa(a,b,d.type,d.key,void 0!==e?e:null,c);case P:return b.thenableState=null,c=d._init,d=c(d._payload),R(a,b,aa,"",d)}if(d.$$typeof===F)return Ka(a,c,e,d);c=a.writtenObjects;e=c.get(d);if("function"===typeof d.then){if(void 0!==e){if(null!==b.keyPath||b.implicitSlot)return"$@"+Ea(a,b,d).toString(16);if(B===
32
+ d)B=null;else return"$@"+e.toString(16)}a=Ea(a,b,d);c.set(d,a);return"$@"+a.toString(16)}if(void 0!==e)if(B===d)B=null;else{if(-1===e)return a=L(a,d),t(a);if(-2!==e)return t(e)}else c.set(d,-1);if(ka(d))return Ga(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"+L(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&&
33
+ (e=a.writtenObjects,void 0===e.get(c)&&e.set(c,-1));return"$W"+L(a,d).toString(16)}if("function"===typeof FormData&&d instanceof FormData)return d=Array.from(d.entries()),"$K"+L(a,d).toString(16);null===d||"object"!==typeof d?c=null:(c=Ma&&d[Ma]||d["@@iterator"],c="function"===typeof c?c:null);if(c)return Ga(a,b,Array.from(d));a=Na(d);if(a!==ub&&(null===a||null!==Na(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.");
34
34
  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=C.encode(d),c=d.byteLength,c=b.toString(16)+":T"+c.toString(16)+",",c=C.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";
35
- if("function"===typeof d){if(d.$$typeof===F)return Ma(a,c,e,d);if(d.$$typeof===V)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=K(a,c),b.set(d,a),a="$F"+a.toString(16)),a;if(d.$$typeof===ea)return"$T"+d.$$id;if(/^on[A-Z]/.test(e))throw Error("Event handlers cannot be passed to Client Component props."+H(c,e)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server". Or maybe you meant to call this function rather than return it.'+
36
- H(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.")+H(c,e));a.pendingChunks++;c=a.nextChunkId++;e=La(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+
37
- " is not supported in Client Component props."+H(c,e));}function w(a,b){var c=l;l=null;try{var e=a.onError;var d=e(b)}finally{l=c}if(null!=d&&"string"!==typeof d)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof d+'" instead');return d||""}function pa(a,b){null!==a.destination?(a.status=2,va(a.destination,b)):(a.status=1,a.fatalError=b)}
38
- function I(a,b,c,e){c={digest:c};b=b.toString(16)+":E"+J(c)+"\n";b=C.encode(b);a.completedErrorChunks.push(b)}function Na(a,b){if(0===b.status)try{A=b.model;var c=Q(a,b,Z,"",b.model);A=c;b.keyPath=null;b.implicitSlot=!1;var e="object"===typeof c&&null!==c?J(c,b.toJSON):J(c),d=b.id.toString(16)+":"+e+"\n",g=C.encode(d);a.completedRegularChunks.push(g);a.abortableTasks.delete(b);b.status=1}catch(m){var f=m===fa?Aa():m;if("object"===typeof f&&null!==f&&"function"===typeof f.then){var h=b.ping;f.then(h,
39
- h);b.thenableState=Ba()}else{a.abortableTasks.delete(b);b.status=4;var k=w(a,f);I(a,b.id,k)}}finally{}}function Ka(a){var b=qa.current;qa.current=wb;var c=l;R=l=a;try{var e=a.pingedTasks;a.pingedTasks=[];for(var d=0;d<e.length;d++)Na(a,e[d]);null!==a.destination&&P(a,a.destination)}catch(g){w(a,g),pa(a,g)}finally{qa.current=b,R=null,l=c}}function P(a,b){r=new Uint8Array(2048);q=0;try{for(var c=a.completedImportChunks,e=0;e<c.length;e++)a.pendingChunks--,U(b,c[e]);c.splice(0,e);var d=a.completedHintChunks;
40
- for(e=0;e<d.length;e++)U(b,d[e]);d.splice(0,e);var g=a.completedRegularChunks;for(e=0;e<g.length;e++)a.pendingChunks--,U(b,g[e]);g.splice(0,e);var f=a.completedErrorChunks;for(e=0;e<f.length;e++)a.pendingChunks--,U(b,f[e]);f.splice(0,e)}finally{a.flushScheduled=!1,r&&0<q&&(b.enqueue(new Uint8Array(r.buffer,0,q)),r=null,q=0)}0===a.pendingChunks&&b.close()}function ra(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."):
41
- b,g=w(a,d);I(a,e,g,d);c.forEach(function(f){f.status=3;var h=t(e);f=La(a,f.id,h);a.completedErrorChunks.push(f)});c.clear()}null!==a.destination&&P(a,a.destination)}catch(f){w(a,f),pa(a,f)}}function Qa(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]}function Ra(a){var b=
42
- __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 xb(){}function Sa(a){for(var b=a[1],c=[],e=0;e<b.length;){var d=b[e++],g=b[e++],f=ca.get(d);void 0===f?(Ta.set(d,g),g=__webpack_chunk_load__(d),c.push(g),f=ca.set.bind(ca,d,null),g.then(f,xb),ca.set(d,g)):null!==f&&c.push(f)}return 4===a.length?0===c.length?Ra(a[0]):Promise.all(c).then(function(){return Ra(a[0])}):
43
- 0<c.length?Promise.all(c):null}function L(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]]}function da(a,b,c,e){this.status=a;this.value=b;this.reason=c;this._response=e}function Ua(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function Va(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&Ua(c,b)}}
44
- function yb(a,b,c,e,d,g){var f=Qa(a._bundlerConfig,b);a=Sa(f);if(c)c=Promise.all([c,a]).then(function(h){h=h[0];var k=L(f);return k.bind.apply(k,[null].concat(h))});else if(a)c=Promise.resolve(a).then(function(){return L(f)});else return L(f);c.then(Wa(e,d,g),Xa(e));return null}function sa(a){var b=S,c=x;S=a;x=null;try{var e=JSON.parse(a.value,a._response._fromJSON);null!==x&&0<x.deps?(x.value=e,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=e)}catch(d){a.status="rejected",
45
- a.reason=d}finally{S=b,x=c}}function zb(a,b){a._chunks.forEach(function(c){"pending"===c.status&&Va(c,b)})}function T(a,b){var c=a._chunks,e=c.get(b);e||(e=a._formData.get(a._prefix+b),e=null!=e?new da("resolved_model",e,null,a):new da("pending",null,null,a),c.set(b,e));return e}function Wa(a,b,c){if(x){var e=x;e.deps++}else e=x={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&&Ua(d,e.value))}}function Xa(a){return function(b){return Va(a,
46
- b)}}function ta(a,b){a=T(a,b);"resolved_model"===a.status&&sa(a);if("fulfilled"!==a.status)throw a.reason;return a.value}function Ab(a,b,c,e){if("$"===e[0])switch(e[1]){case "$":return e.slice(1);case "@":return b=parseInt(e.slice(2),16),T(a,b);case "F":return e=parseInt(e.slice(2),16),e=ta(a,e),yb(a,e.id,e.bound,S,b,c);case "T":return hb(e.slice(2));case "Q":return b=parseInt(e.slice(2),16),a=ta(a,b),new Map(a);case "W":return b=parseInt(e.slice(2),16),a=ta(a,b),new Set(a);case "K":b=e.slice(2);
47
- 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;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=T(a,e);switch(a.status){case "resolved_model":sa(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return e=S,a.then(Wa(e,
48
- b,c),Xa(e)),null;default:throw a.reason;}}return e}function Ya(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?Ab(d,this,g,f):f}};return d}function Za(a){zb(a,Error("Connection closed."))}function $a(a,b,c){var e=Qa(a,b);a=Sa(e);return c?Promise.all([c,a]).then(function(d){d=d[0];var g=L(e);return g.bind.apply(g,[null].concat(d))}):a?Promise.resolve(a).then(function(){return L(e)}):
49
- Promise.resolve(L(e))}function ab(a,b,c){a=Ya(b,c,a);Za(a);a=T(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}var r=null,q=0,C=new TextEncoder,F=Symbol.for("react.client.reference"),V=Symbol.for("react.server.reference"),eb=Function.prototype.bind,fb=Array.prototype.slice,Bb=Promise.prototype,gb={get:function(a,b,c){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;
35
+ if("function"===typeof d){if(d.$$typeof===F)return Ka(a,c,e,d);if(d.$$typeof===W)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=L(a,c),b.set(d,a),a="$F"+a.toString(16)),a;if(d.$$typeof===fa)return"$T"+d.$$id;if(/^on[A-Z]/.test(e))throw Error("Event handlers cannot be passed to Client Component props."+H(c,e)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server". Or maybe you meant to call this function rather than return it.'+
36
+ H(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.")+H(c,e));a.pendingChunks++;c=a.nextChunkId++;e=Ja(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+
37
+ " is not supported in Client Component props."+H(c,e));}function w(a,b){var c=l;l=null;try{var e=a.onError;var d=e(b)}finally{l=c}if(null!=d&&"string"!==typeof d)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof d+'" instead');return d||""}function pa(a,b){null!==a.destination?(a.status=2,ta(a.destination,b)):(a.status=1,a.fatalError=b)}
38
+ function J(a,b,c,e){c={digest:c};b=b.toString(16)+":E"+K(c)+"\n";b=C.encode(b);a.completedErrorChunks.push(b)}function La(a,b){if(0===b.status)try{B=b.model;var c=R(a,b,aa,"",b.model);B=c;b.keyPath=null;b.implicitSlot=!1;var e="object"===typeof c&&null!==c?K(c,b.toJSON):K(c),d=b.id.toString(16)+":"+e+"\n",g=C.encode(d);a.completedRegularChunks.push(g);a.abortableTasks.delete(b);b.status=1}catch(m){var f=m===ha?ya():m;if("object"===typeof f&&null!==f&&"function"===typeof f.then){var h=b.ping;f.then(h,
39
+ h);b.thenableState=za()}else{a.abortableTasks.delete(b);b.status=4;var k=w(a,f);J(a,b.id,k)}}finally{}}function Ia(a){var b=I.H;I.H=vb;var c=l;S=l=a;try{var e=a.pingedTasks;a.pingedTasks=[];for(var d=0;d<e.length;d++)La(a,e[d]);null!==a.destination&&Q(a,a.destination)}catch(g){w(a,g),pa(a,g)}finally{I.H=b,S=null,l=c}}function Q(a,b){r=new Uint8Array(2048);q=0;try{for(var c=a.completedImportChunks,e=0;e<c.length;e++)a.pendingChunks--,V(b,c[e]);c.splice(0,e);var d=a.completedHintChunks;for(e=0;e<d.length;e++)V(b,
40
+ d[e]);d.splice(0,e);var g=a.completedRegularChunks;for(e=0;e<g.length;e++)a.pendingChunks--,V(b,g[e]);g.splice(0,e);var f=a.completedErrorChunks;for(e=0;e<f.length;e++)a.pendingChunks--,V(b,f[e]);f.splice(0,e)}finally{a.flushScheduled=!1,r&&0<q&&(b.enqueue(new Uint8Array(r.buffer,0,q)),r=null,q=0)}0===a.pendingChunks&&b.close()}function qa(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."):
41
+ b,g=w(a,d);J(a,e,g,d);c.forEach(function(f){f.status=3;var h=t(e);f=Ja(a,f.id,h);a.completedErrorChunks.push(f)});c.clear()}null!==a.destination&&Q(a,a.destination)}catch(f){w(a,f),pa(a,f)}}function Oa(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]}function Pa(a){var b=
42
+ __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 wb(){}function Qa(a){for(var b=a[1],c=[],e=0;e<b.length;){var d=b[e++],g=b[e++],f=da.get(d);void 0===f?(Ra.set(d,g),g=__webpack_chunk_load__(d),c.push(g),f=da.set.bind(da,d,null),g.then(f,wb),da.set(d,g)):null!==f&&c.push(f)}return 4===a.length?0===c.length?Pa(a[0]):Promise.all(c).then(function(){return Pa(a[0])}):
43
+ 0<c.length?Promise.all(c):null}function M(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]]}function ea(a,b,c,e){this.status=a;this.value=b;this.reason=c;this._response=e}function Sa(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function Ta(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&Sa(c,b)}}
44
+ function xb(a,b,c,e,d,g){var f=Oa(a._bundlerConfig,b);a=Qa(f);if(c)c=Promise.all([c,a]).then(function(h){h=h[0];var k=M(f);return k.bind.apply(k,[null].concat(h))});else if(a)c=Promise.resolve(a).then(function(){return M(f)});else return M(f);c.then(Ua(e,d,g),Va(e));return null}function ra(a){var b=T,c=x;T=a;x=null;try{var e=JSON.parse(a.value,a._response._fromJSON);null!==x&&0<x.deps?(x.value=e,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=e)}catch(d){a.status="rejected",
45
+ a.reason=d}finally{T=b,x=c}}function yb(a,b){a._chunks.forEach(function(c){"pending"===c.status&&Ta(c,b)})}function U(a,b){var c=a._chunks,e=c.get(b);e||(e=a._formData.get(a._prefix+b),e=null!=e?new ea("resolved_model",e,null,a):new ea("pending",null,null,a),c.set(b,e));return e}function Ua(a,b,c){if(x){var e=x;e.deps++}else e=x={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&&Sa(d,e.value))}}function Va(a){return function(b){return Ta(a,
46
+ b)}}function sa(a,b){a=U(a,b);"resolved_model"===a.status&&ra(a);if("fulfilled"!==a.status)throw a.reason;return a.value}function zb(a,b,c,e){if("$"===e[0])switch(e[1]){case "$":return e.slice(1);case "@":return b=parseInt(e.slice(2),16),U(a,b);case "F":return e=parseInt(e.slice(2),16),e=sa(a,e),xb(a,e.id,e.bound,T,b,c);case "T":return gb(e.slice(2));case "Q":return b=parseInt(e.slice(2),16),a=sa(a,b),new Map(a);case "W":return b=parseInt(e.slice(2),16),a=sa(a,b),new Set(a);case "K":b=e.slice(2);
47
+ 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;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=U(a,e);switch(a.status){case "resolved_model":ra(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return e=T,a.then(Ua(e,
48
+ b,c),Va(e)),null;default:throw a.reason;}}return e}function Wa(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?zb(d,this,g,f):f}};return d}function Xa(a){yb(a,Error("Connection closed."))}function Ya(a,b,c){var e=Oa(a,b);a=Qa(e);return c?Promise.all([c,a]).then(function(d){d=d[0];var g=M(e);return g.bind.apply(g,[null].concat(d))}):a?Promise.resolve(a).then(function(){return M(e)}):
49
+ Promise.resolve(M(e))}function Za(a,b,c){a=Wa(b,c,a);Xa(a);a=U(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}var r=null,q=0,C=new TextEncoder,F=Symbol.for("react.client.reference"),W=Symbol.for("react.server.reference"),db=Function.prototype.bind,eb=Array.prototype.slice,Ab=Promise.prototype,fb={get:function(a,b,c){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;
50
50
  case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");}throw Error("Cannot access "+(String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");
51
- },set:function(){throw Error("Cannot assign to a client module from a server module.");}},ya={get:function(a,b,c){return xa(a,b)},getOwnPropertyDescriptor:function(a,b){var c=Object.getOwnPropertyDescriptor(a,b);c||(c={value:xa(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,c));return c},getPrototypeOf:function(a){return Bb},set:function(){throw Error("Cannot assign to a client module from a server module.");}},bb=M.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDOMCurrentDispatcher,
52
- B=bb.current;bb.current={flushSyncWork:B.flushSyncWork,prefetchDNS:function(a){if("string"===typeof a&&a){var b=l?l:null;if(b){var c=b.hints,e="D|"+a;c.has(e)||(c.add(e),n(b,"D",a))}else B.prefetchDNS(a)}},preconnect:function(a,b){if("string"===typeof a){var c=l?l:null;if(c){var e=c.hints,d="C|"+(null==b?"null":b)+"|"+a;e.has(d)||(e.add(d),"string"===typeof b?n(c,"C",[a,b]):n(c,"C",a))}else B.preconnect(a,b)}},preload:function(a,b,c){if("string"===typeof a){var e=l?l:null;if(e){var d=e.hints,g="L";
53
- 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=N(c))?n(e,"L",[a,b,c]):n(e,"L",[a,b]))}else B.preload(a,b,c)}},preloadModule:function(a,b){if("string"===typeof a){var c=l?l:null;if(c){var e=c.hints,d="m|"+a;if(e.has(d))return;e.add(d);return(b=N(b))?n(c,"m",[a,b]):n(c,"m",a)}B.preloadModule(a,b)}},preinitStyle:function(a,b,c){if("string"===
54
- typeof a){var e=l?l:null;if(e){var d=e.hints,g="S|"+a;if(d.has(g))return;d.add(g);return(c=N(c))?n(e,"S",[a,"string"===typeof b?b:0,c]):"string"===typeof b?n(e,"S",[a,b]):n(e,"S",a)}B.preinitStyle(a,b,c)}},preinitScript:function(a,b){if("string"===typeof a){var c=l?l:null;if(c){var e=c.hints,d="X|"+a;if(e.has(d))return;e.add(d);return(b=N(b))?n(c,"X",[a,b]):n(c,"X",a)}B.preinitScript(a,b)}},preinitModuleScript:function(a,b){if("string"===typeof a){var c=l?l:null;if(c){var e=c.hints,d="M|"+a;if(e.has(d))return;
55
- e.add(d);return(b=N(b))?n(c,"M",[a,b]):n(c,"M",a)}B.preinitModuleScript(a,b)}}};var ea=Symbol.for("react.temporary.reference"),ib={get:function(a,b,c){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.");
56
- }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.");}},y=Symbol.for("react.element"),Ja=Symbol.for("react.fragment"),cb=Symbol.for("react.context"),Da=Symbol.for("react.forward_ref"),lb=Symbol.for("react.suspense"),mb=Symbol.for("react.suspense_list"),Ea=Symbol.for("react.memo"),
57
- O=Symbol.for("react.lazy"),Cb=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.postpone");var Oa=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`"),
58
- W=null,R=null,na=0,G=null,wb={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:u,useTransition:u,readContext:ha,useContext:ha,useReducer:u,useRef:u,useState:u,useInsertionEffect:u,useLayoutEffect:u,useImperativeHandle:u,useEffect:u,useId:function(){if(null===R)throw Error("useId can only be used while React is rendering");var a=R.identifierCount++;return":"+R.identifierPrefix+"S"+a.toString(32)+":"},useSyncExternalStore:u,useCacheRefresh:function(){return kb},
59
- useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=Cb;return b},use:function(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=na;na+=1;null===G&&(G=[]);return jb(G,a,b)}a.$$typeof===cb&&ha()}if(a.$$typeof===F){if(null!=a.value&&a.value.$$typeof===cb)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));
60
- }},Fa={getCacheForType:function(a){var b=(b=l?l:null)?b.cache:new Map;var c=b.get(a);void 0===c&&(c=a(),b.set(a,c));return c}},ja=Array.isArray,Pa=Object.getPrototypeOf,ka=Symbol.for("react.client.reference"),Db=ua.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,db=ua.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;if(!db)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.');
61
- var vb=Object.prototype,J=JSON.stringify,la=db.ReactCurrentCache,qa=Db.ReactCurrentDispatcher,l=null,A=!1,Z={},ca=new Map,Ta=new Map,Eb=__webpack_require__.u;__webpack_require__.u=function(a){var b=Ta.get(a);return void 0!==b?b:Eb(a)};da.prototype=Object.create(Promise.prototype);da.prototype.then=function(a,b){switch(this.status){case "resolved_model":sa(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));
62
- b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};var S=null,x=null;p.createClientModuleProxy=function(a){a=E({},a,!1);return new Proxy(a,ya)};p.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=ab(a,b,d),e=$a(b,d.id,d.bound)):g.startsWith("$ACTION_ID_")&&(d=g.slice(11),e=$a(b,d,null)):c.append(g,d)});return null===e?null:e.then(function(d){return d.bind(null,
63
- c)})};p.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=ab(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]})};p.decodeReply=function(a,b){if("string"===typeof a){var c=new FormData;c.append("0",a);a=c}a=Ya(b,"",a);b=T(a,0);Za(a);return b};
64
- p.registerClientReference=function(a,b,c){return E(a,b+"#"+c,!1)};p.registerServerReference=function(a,b,c){return Object.defineProperties(a,{$$typeof:{value:V},$$id:{value:null===c?b:b+"#"+c,configurable:!0},$$bound:{value:null,configurable:!0},bind:{value:wa,configurable:!0}})};p.renderToReadableStream=function(a,b,c){var e=pb(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)ra(e,d.reason);else{var g=function(){ra(e,d.reason);
65
- d.removeEventListener("abort",g)};d.addEventListener("abort",g)}}return new ReadableStream({type:"bytes",start:function(f){e.flushScheduled=null!==e.destination;Ka(e)},pull:function(f){if(1===e.status)e.status=2,va(f,e.fatalError);else if(2!==e.status&&null===e.destination){e.destination=f;try{P(e,f)}catch(h){w(e,h),pa(e,h)}}},cancel:function(f){e.destination=null;ra(e,f)}},{highWaterMark:0})}})})();
51
+ },set:function(){throw Error("Cannot assign to a client module from a server module.");}},wa={get:function(a,b,c){return va(a,b)},getOwnPropertyDescriptor:function(a,b){var c=Object.getOwnPropertyDescriptor(a,b);c||(c={value:va(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,c));return c},getPrototypeOf:function(a){return Ab},set:function(){throw Error("Cannot assign to a client module from a server module.");}},$a=N.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
52
+ y=$a.d;$a.d={f:y.f,r:y.r,D:function(a){if("string"===typeof a&&a){var b=l?l:null;if(b){var c=b.hints,e="D|"+a;c.has(e)||(c.add(e),n(b,"D",a))}else y.D(a)}},C:function(a,b){if("string"===typeof a){var c=l?l:null;if(c){var e=c.hints,d="C|"+(null==b?"null":b)+"|"+a;e.has(d)||(e.add(d),"string"===typeof b?n(c,"C",[a,b]):n(c,"C",a))}else y.C(a,b)}},L:function(a,b,c){if("string"===typeof a){var e=l?l:null;if(e){var d=e.hints,g="L";if("image"===b&&c){var f=c.imageSrcSet,h=c.imageSizes,k="";"string"===typeof f&&
53
+ ""!==f?(k+="["+f+"]","string"===typeof h&&(k+="["+h+"]")):k+="[][]"+a;g+="[image]"+k}else g+="["+b+"]"+a;d.has(g)||(d.add(g),(c=O(c))?n(e,"L",[a,b,c]):n(e,"L",[a,b]))}else y.L(a,b,c)}},m:function(a,b){if("string"===typeof a){var c=l?l:null;if(c){var e=c.hints,d="m|"+a;if(e.has(d))return;e.add(d);return(b=O(b))?n(c,"m",[a,b]):n(c,"m",a)}y.m(a,b)}},X:function(a,b){if("string"===typeof a){var c=l?l:null;if(c){var e=c.hints,d="X|"+a;if(e.has(d))return;e.add(d);return(b=O(b))?n(c,"X",[a,b]):n(c,"X",a)}y.X(a,
54
+ b)}},S:function(a,b,c){if("string"===typeof a){var e=l?l:null;if(e){var d=e.hints,g="S|"+a;if(d.has(g))return;d.add(g);return(c=O(c))?n(e,"S",[a,"string"===typeof b?b:0,c]):"string"===typeof b?n(e,"S",[a,b]):n(e,"S",a)}y.S(a,b,c)}},M:function(a,b){if("string"===typeof a){var c=l?l:null;if(c){var e=c.hints,d="M|"+a;if(e.has(d))return;e.add(d);return(b=O(b))?n(c,"M",[a,b]):n(c,"M",a)}y.M(a,b)}}};var fa=Symbol.for("react.temporary.reference"),hb={get:function(a,b,c){switch(b){case "$$typeof":return a.$$typeof;
55
+ 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.");}throw Error("Cannot access "+
56
+ 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.");}},z=Symbol.for("react.element"),Ha=Symbol.for("react.fragment"),ab=Symbol.for("react.context"),Ba=Symbol.for("react.forward_ref"),kb=Symbol.for("react.suspense"),lb=Symbol.for("react.suspense_list"),Ca=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),
57
+ Bb=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.postpone");var Ma=Symbol.iterator,ha=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`"),
58
+ X=null,S=null,na=0,G=null,vb={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:u,useTransition:u,readContext:ia,useContext:ia,useReducer:u,useRef:u,useState:u,useInsertionEffect:u,useLayoutEffect:u,useImperativeHandle:u,useEffect:u,useId:function(){if(null===S)throw Error("useId can only be used while React is rendering");var a=S.identifierCount++;return":"+S.identifierPrefix+"S"+a.toString(32)+":"},useSyncExternalStore:u,useCacheRefresh:function(){return jb},
59
+ useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=Bb;return b},use:function(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=na;na+=1;null===G&&(G=[]);return ib(G,a,b)}a.$$typeof===ab&&ia()}if(a.$$typeof===F){if(null!=a.value&&a.value.$$typeof===ab)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));
60
+ }},Da={getCacheForType:function(a){var b=(b=l?l:null)?b.cache:new Map;var c=b.get(a);void 0===c&&(c=a(),b.set(a,c));return c}},ka=Array.isArray,Na=Object.getPrototypeOf,la=Symbol.for("react.client.reference"),bb=cb.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;if(!bb)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.');var I=bb,ub=Object.prototype,K=JSON.stringify,
61
+ l=null,B=!1,aa={},da=new Map,Ra=new Map,Cb=__webpack_require__.u;__webpack_require__.u=function(a){var b=Ra.get(a);return void 0!==b?b:Cb(a)};ea.prototype=Object.create(Promise.prototype);ea.prototype.then=function(a,b){switch(this.status){case "resolved_model":ra(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)}};
62
+ var T=null,x=null;p.createClientModuleProxy=function(a){a=E({},a,!1);return new Proxy(a,wa)};p.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=Za(a,b,d),e=Ya(b,d.id,d.bound)):g.startsWith("$ACTION_ID_")&&(d=g.slice(11),e=Ya(b,d,null)):c.append(g,d)});return null===e?null:e.then(function(d){return d.bind(null,c)})};p.decodeFormState=function(a,b,c){var e=b.get("$ACTION_KEY");if("string"!==
63
+ typeof e)return Promise.resolve(null);var d=null;b.forEach(function(f,h){h.startsWith("$ACTION_REF_")&&(f="$ACTION_"+h.slice(12)+":",d=Za(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]})};p.decodeReply=function(a,b){if("string"===typeof a){var c=new FormData;c.append("0",a);a=c}a=Wa(b,"",a);b=U(a,0);Xa(a);return b};p.registerClientReference=function(a,b,c){return E(a,b+"#"+c,!1)};p.registerServerReference=
64
+ function(a,b,c){return Object.defineProperties(a,{$$typeof:{value:W},$$id:{value:null===c?b:b+"#"+c,configurable:!0},$$bound:{value:null,configurable:!0},bind:{value:ua,configurable:!0}})};p.renderToReadableStream=function(a,b,c){var e=ob(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)qa(e,d.reason);else{var g=function(){qa(e,d.reason);d.removeEventListener("abort",g)};d.addEventListener("abort",g)}}return new ReadableStream({type:"bytes",
65
+ start:function(f){e.flushScheduled=null!==e.destination;Ia(e)},pull:function(f){if(1===e.status)e.status=2,ta(f,e.fatalError);else if(2!==e.status&&null===e.destination){e.destination=f;try{Q(e,f)}catch(h){w(e,h),pa(e,h)}}},cancel:function(f){e.destination=null;qa(e,f)}},{highWaterMark:0})}})})();