react-server-dom-webpack 0.0.0-experimental-1d3fc9c9c-20221023 → 18.3.0-next-e7c5af45c-20221023

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.
@@ -289,10 +289,6 @@
289
289
  // defaultValue property -- do we need this?
290
290
  'defaultValue', 'defaultChecked', 'innerHTML', 'suppressContentEditableWarning', 'suppressHydrationWarning', 'style'];
291
291
 
292
- {
293
- reservedProps.push('innerText', 'textContent');
294
- }
295
-
296
292
  reservedProps.forEach(function (name) {
297
293
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
298
294
  properties[name] = new PropertyInfoRecord(name, RESERVED, false, // mustUseProperty
@@ -847,84 +843,80 @@
847
843
  // changes to one module should be reflected in the others.
848
844
  // TODO: Rename this module and the corresponding Fiber one to "Thenable"
849
845
  // instead of "Wakeable". Or some other more appropriate name.
850
- // TODO: Sparse arrays are bad for performance.
851
846
  function createThenableState() {
852
847
  // The ThenableState is created the first time a component suspends. If it
853
848
  // suspends again, we'll reuse the same state.
854
849
  return [];
855
- } // TODO: Unify this with trackSuspendedThenable. It needs to support not only
856
- // `use`, but async components, too.
857
-
858
- function trackSuspendedWakeable(wakeable) {
859
- // If this wakeable isn't already a thenable, turn it into one now. Then,
860
- // when we resume the work loop, we can check if its status is
861
- // still pending.
862
- // TODO: Get rid of the Wakeable type? It's superseded by UntrackedThenable.
863
- var thenable = wakeable; // We use an expando to track the status and result of a thenable so that we
850
+ }
851
+
852
+ function noop() {}
853
+
854
+ function trackUsedThenable(thenableState, thenable, index) {
855
+ var previous = thenableState[index];
856
+
857
+ if (previous === undefined) {
858
+ thenableState.push(thenable);
859
+ } else {
860
+ if (previous !== thenable) {
861
+ // Reuse the previous thenable, and drop the new one. We can assume
862
+ // they represent the same value, because components are idempotent.
863
+ // Avoid an unhandled rejection errors for the Promises that we'll
864
+ // intentionally ignore.
865
+ thenable.then(noop, noop);
866
+ thenable = previous;
867
+ }
868
+ } // We use an expando to track the status and result of a thenable so that we
864
869
  // can synchronously unwrap the value. Think of this as an extension of the
865
870
  // Promise API, or a custom interface that is a superset of Thenable.
866
871
  //
867
872
  // If the thenable doesn't have a status, set it to "pending" and attach
868
873
  // a listener that will update its status and result when it resolves.
869
874
 
875
+
870
876
  switch (thenable.status) {
871
877
  case 'fulfilled':
878
+ {
879
+ var fulfilledValue = thenable.value;
880
+ return fulfilledValue;
881
+ }
882
+
872
883
  case 'rejected':
873
- // A thenable that already resolved shouldn't have been thrown, so this is
874
- // unexpected. Suggests a mistake in a userspace data library. Don't track
875
- // this thenable, because if we keep trying it will likely infinite loop
876
- // without ever resolving.
877
- // TODO: Log a warning?
878
- break;
884
+ {
885
+ var rejectedError = thenable.reason;
886
+ throw rejectedError;
887
+ }
879
888
 
880
889
  default:
881
890
  {
882
- if (typeof thenable.status === 'string') {
883
- // Only instrument the thenable if the status if not defined. If
884
- // it's defined, but an unknown value, assume it's been instrumented by
885
- // some custom userspace implementation. We treat it as "pending".
886
- break;
887
- }
891
+ if (typeof thenable.status === 'string') ; else {
892
+ var pendingThenable = thenable;
893
+ pendingThenable.status = 'pending';
894
+ pendingThenable.then(function (fulfilledValue) {
895
+ if (thenable.status === 'pending') {
896
+ var fulfilledThenable = thenable;
897
+ fulfilledThenable.status = 'fulfilled';
898
+ fulfilledThenable.value = fulfilledValue;
899
+ }
900
+ }, function (error) {
901
+ if (thenable.status === 'pending') {
902
+ var rejectedThenable = thenable;
903
+ rejectedThenable.status = 'rejected';
904
+ rejectedThenable.reason = error;
905
+ }
906
+ });
907
+ } // Suspend.
908
+ // TODO: Throwing here is an implementation detail that allows us to
909
+ // unwind the call stack. But we shouldn't allow it to leak into
910
+ // userspace. Throw an opaque placeholder value instead of the
911
+ // actual thenable. If it doesn't get captured by the work loop, log
912
+ // a warning, because that means something in userspace must have
913
+ // caught it.
888
914
 
889
- var pendingThenable = thenable;
890
- pendingThenable.status = 'pending';
891
- pendingThenable.then(function (fulfilledValue) {
892
- if (thenable.status === 'pending') {
893
- var fulfilledThenable = thenable;
894
- fulfilledThenable.status = 'fulfilled';
895
- fulfilledThenable.value = fulfilledValue;
896
- }
897
- }, function (error) {
898
- if (thenable.status === 'pending') {
899
- var rejectedThenable = thenable;
900
- rejectedThenable.status = 'rejected';
901
- rejectedThenable.reason = error;
902
- }
903
- });
904
- break;
915
+
916
+ throw thenable;
905
917
  }
906
918
  }
907
919
  }
908
- function trackUsedThenable(thenableState, thenable, index) {
909
- // This is only a separate function from trackSuspendedWakeable for symmetry
910
- // with Fiber.
911
- // TODO: Disallow throwing a thenable directly. It must go through `use` (or
912
- // some equivalent for internal Suspense implementations). We can't do this in
913
- // Fiber yet because it's a breaking change but we can do it in Server
914
- // Components because Server Components aren't released yet.
915
- thenableState[index] = thenable;
916
- }
917
- function getPreviouslyUsedThenableAtIndex(thenableState, index) {
918
- if (thenableState !== null) {
919
- var thenable = thenableState[index];
920
-
921
- if (thenable !== undefined) {
922
- return thenable;
923
- }
924
- }
925
-
926
- return null;
927
- }
928
920
 
929
921
  var currentRequest = null;
930
922
  var thenableIndexCounter = 0;
@@ -1014,8 +1006,6 @@
1014
1006
  return ':' + currentRequest.identifierPrefix + 'S' + id.toString(32) + ':';
1015
1007
  }
1016
1008
 
1017
- function noop() {}
1018
-
1019
1009
  function use(usable) {
1020
1010
  if (usable !== null && typeof usable === 'object') {
1021
1011
  // $FlowFixMe[method-unbinding]
@@ -1026,70 +1016,11 @@
1026
1016
  var index = thenableIndexCounter;
1027
1017
  thenableIndexCounter += 1;
1028
1018
 
1029
- switch (thenable.status) {
1030
- case 'fulfilled':
1031
- {
1032
- var fulfilledValue = thenable.value;
1033
- return fulfilledValue;
1034
- }
1035
-
1036
- case 'rejected':
1037
- {
1038
- var rejectedError = thenable.reason;
1039
- throw rejectedError;
1040
- }
1041
-
1042
- default:
1043
- {
1044
- var prevThenableAtIndex = getPreviouslyUsedThenableAtIndex(thenableState, index);
1045
-
1046
- if (prevThenableAtIndex !== null) {
1047
- if (thenable !== prevThenableAtIndex) {
1048
- // Avoid an unhandled rejection errors for the Promises that we'll
1049
- // intentionally ignore.
1050
- thenable.then(noop, noop);
1051
- }
1052
-
1053
- switch (prevThenableAtIndex.status) {
1054
- case 'fulfilled':
1055
- {
1056
- var _fulfilledValue = prevThenableAtIndex.value;
1057
- return _fulfilledValue;
1058
- }
1059
-
1060
- case 'rejected':
1061
- {
1062
- var _rejectedError = prevThenableAtIndex.reason;
1063
- throw _rejectedError;
1064
- }
1065
-
1066
- default:
1067
- {
1068
- // The thenable still hasn't resolved. Suspend with the same
1069
- // thenable as last time to avoid redundant listeners.
1070
- throw prevThenableAtIndex;
1071
- }
1072
- }
1073
- } else {
1074
- // This is the first time something has been used at this index.
1075
- // Stash the thenable at the current index so we can reuse it during
1076
- // the next attempt.
1077
- if (thenableState === null) {
1078
- thenableState = createThenableState();
1079
- }
1080
-
1081
- trackUsedThenable(thenableState, thenable, index); // Suspend.
1082
- // TODO: Throwing here is an implementation detail that allows us to
1083
- // unwind the call stack. But we shouldn't allow it to leak into
1084
- // userspace. Throw an opaque placeholder value instead of the
1085
- // actual thenable. If it doesn't get captured by the work loop, log
1086
- // a warning, because that means something in userspace must have
1087
- // caught it.
1088
-
1089
- throw thenable;
1090
- }
1091
- }
1019
+ if (thenableState === null) {
1020
+ thenableState = createThenableState();
1092
1021
  }
1022
+
1023
+ return trackUsedThenable(thenableState, thenable, index);
1093
1024
  } else if (usable.$$typeof === REACT_SERVER_CONTEXT_TYPE) {
1094
1025
  var context = usable;
1095
1026
  return readContext$1(context);
@@ -1237,10 +1168,46 @@
1237
1168
  }
1238
1169
 
1239
1170
  function createLazyWrapperAroundWakeable(wakeable) {
1240
- trackSuspendedWakeable(wakeable);
1171
+ // This is a temporary fork of the `use` implementation until we accept
1172
+ // promises everywhere.
1173
+ var thenable = wakeable;
1174
+
1175
+ switch (thenable.status) {
1176
+ case 'fulfilled':
1177
+ case 'rejected':
1178
+ break;
1179
+
1180
+ default:
1181
+ {
1182
+ if (typeof thenable.status === 'string') {
1183
+ // Only instrument the thenable if the status if not defined. If
1184
+ // it's defined, but an unknown value, assume it's been instrumented by
1185
+ // some custom userspace implementation. We treat it as "pending".
1186
+ break;
1187
+ }
1188
+
1189
+ var pendingThenable = thenable;
1190
+ pendingThenable.status = 'pending';
1191
+ pendingThenable.then(function (fulfilledValue) {
1192
+ if (thenable.status === 'pending') {
1193
+ var fulfilledThenable = thenable;
1194
+ fulfilledThenable.status = 'fulfilled';
1195
+ fulfilledThenable.value = fulfilledValue;
1196
+ }
1197
+ }, function (error) {
1198
+ if (thenable.status === 'pending') {
1199
+ var rejectedThenable = thenable;
1200
+ rejectedThenable.status = 'rejected';
1201
+ rejectedThenable.reason = error;
1202
+ }
1203
+ });
1204
+ break;
1205
+ }
1206
+ }
1207
+
1241
1208
  var lazyType = {
1242
1209
  $$typeof: REACT_LAZY_TYPE,
1243
- _payload: wakeable,
1210
+ _payload: thenable,
1244
1211
  _init: readThenable
1245
1212
  };
1246
1213
  return lazyType;
@@ -1829,8 +1796,6 @@
1829
1796
  var newTask = createTask(request, value, getActiveContext(), request.abortableTasks);
1830
1797
  var ping = newTask.ping;
1831
1798
  x.then(ping, ping);
1832
- var wakeable = x;
1833
- trackSuspendedWakeable(wakeable);
1834
1799
  newTask.thenableState = getThenableStateAfterSuspending();
1835
1800
  return serializeByRefID(newTask.id);
1836
1801
  } else {
@@ -2075,8 +2040,6 @@
2075
2040
  // Something suspended again, let's pick it back up later.
2076
2041
  var ping = task.ping;
2077
2042
  x.then(ping, ping);
2078
- var wakeable = x;
2079
- trackSuspendedWakeable(wakeable);
2080
2043
  task.thenableState = getThenableStateAfterSuspending();
2081
2044
  return;
2082
2045
  } else {
@@ -7,42 +7,43 @@
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
9
  */
10
- (function(){'use strict';(function(v,B){"object"===typeof exports&&"undefined"!==typeof module?B(exports,require("react-dom")):"function"===typeof define&&define.amd?define(["exports","react","react-dom"],B):(v=v||self,B(v.ReactServerDOMServer={},v.React,v.ReactDOM))})(this,function(v,B,x){function M(a,d){if(0!==d.length)if(512<d.length)0<n&&(a.enqueue(new Uint8Array(p.buffer,0,n)),p=new Uint8Array(512),n=0),a.enqueue(d);else{var e=p.length-n;e<d.length&&(0===e?a.enqueue(p):(p.set(d.subarray(0,
11
- e),n),a.enqueue(p),d=d.subarray(e)),p=new Uint8Array(512),n=0);p.set(d,n);n+=d.length}return!0}function b(a){return y.encode(a)}function ba(a,d){"function"===typeof a.error?a.error(d):a.close()}function l(a,d,e,c,b,f,g){this.acceptsBooleans=2===d||3===d||4===d;this.attributeName=c;this.attributeNamespace=b;this.mustUseProperty=e;this.propertyName=a;this.type=d;this.sanitizeURL=f;this.removeEmptyString=g}function H(a,d){if(a!==d){a.context._currentValue=a.parentValue;a=a.parent;var e=d.parent;if(null===
12
- a){if(null!==e)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===e)throw Error("The stacks must reach the root at the same time. This is a bug in React.");H(a,e);d.context._currentValue=d.value}}}function ca(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&ca(a)}function da(a){var d=a.parent;null!==d&&da(d);a.context._currentValue=a.value}function ea(a,d){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");
13
- a.depth===d.depth?H(a,d):ea(a,d)}function fa(a,d){var e=d.parent;if(null===e)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===e.depth?H(a,e):fa(a,e);d.context._currentValue=d.value}function N(a){var d=u;d!==a&&(null===d?da(a):null===a?ca(d):d.depth===a.depth?H(d,a):d.depth>a.depth?ea(d,a):fa(d,a),u=a)}function ha(a,d){var e=a._currentValue;a._currentValue=d;var c=u;return u=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:e,
14
- value:d}}function O(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(d){"pending"===a.status&&(a.status="fulfilled",a.value=d)},function(d){"pending"===a.status&&(a.status="rejected",a.reason=d)}))}}function ia(){var a=t;t=null;return a}function ja(a){return a._currentValue}function q(){throw Error("This Hook is not supported in Server Components.");}function ya(){throw Error("Refreshing the cache is not supported in Server Components.");
15
- }function ka(){}function P(){return(new AbortController).signal}function la(){if(C)return C;if(Q){var a=ma.getStore();if(a)return a}return new Map}function za(a){console.error(a)}function Aa(a,d,e,c,b){if(null!==R.current&&R.current!==na)throw Error("Currently React only supports one RSC renderer at a time.");R.current=na;var m=new Set,g=[],h={status:0,fatalError:null,destination:null,bundlerConfig:d,cache:new Map,nextChunkId:0,pendingChunks:0,abortableTasks:m,pingedTasks:g,completedModuleChunks:[],
16
- completedJSONChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenModules:new Map,writtenProviders:new Map,identifierPrefix:b||"",identifierCount:1,onError:void 0===e?za:e,toJSON:function(a,d){return Ba(h,this,a,d)}};h.pendingChunks++;d=Ca(c);a=oa(h,a,d,m);g.push(a);return h}function Da(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}function D(a,d,e,c,b){if(null!==e&&void 0!==e)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");
17
- if("function"===typeof a){if(a.$$typeof===I)return[r,a,d,c];J=0;t=b;c=a(c);return"object"===typeof c&&null!==c&&"function"===typeof c.then?(O(c),{$$typeof:E,_payload:c,_init:Da}):c}if("string"===typeof a)return[r,a,d,c];if("symbol"===typeof a)return a===Ea?c.children:[r,a,d,c];if(null!=a&&"object"===typeof a){if(a.$$typeof===I)return[r,a,d,c];switch(a.$$typeof){case E:var m=a._init;a=m(a._payload);return D(a,d,e,c,b);case pa:return d=a.render,J=0,t=b,d(c,void 0);case qa:return D(a.type,d,e,c,b);case ra:return ha(a._context,
18
- c.value),[r,a,d,{value:c.value,children:c.children,__pop:sa}]}}throw Error("Unsupported Server Component type: "+S(a));}function oa(a,d,e,c){var b={id:a.nextChunkId++,status:0,model:d,context:e,ping:function(){var d=a.pingedTasks;d.push(b);1===d.length&&T(a)},thenableState:null};c.add(b);return b}function ta(a,d,e,c){var b=c.filepath+"#"+c.name+(c.async?"#async":""),f=a.writtenModules,g=f.get(b);if(void 0!==g)return d[0]===r&&"1"===e?"@"+g.toString(16):"$"+g.toString(16);try{var h=a.bundlerConfig[c.filepath][c.name];
19
- var k=c.async?{id:h.id,chunks:h.chunks,name:h.name,async:!0}:h;a.pendingChunks++;var l=a.nextChunkId++,n=F(k),p="M"+l.toString(16)+":"+n+"\n";var q=y.encode(p);a.completedModuleChunks.push(q);f.set(b,l);return d[0]===r&&"1"===e?"@"+l.toString(16):"$"+l.toString(16)}catch(Fa){return a.pendingChunks++,d=a.nextChunkId++,e=z(a,Fa),K(a,d,e),"$"+d.toString(16)}}function ua(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(a,e){return e})}function S(a){switch(typeof a){case "string":return JSON.stringify(10>=
20
- a.length?a:a.substr(0,10)+"...");case "object":if(va(a))return"[...]";a=ua(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}}function L(a){if("string"===typeof a)return a;switch(a){case Ga:return"Suspense";case Ha:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case pa:return L(a.render);case qa:return L(a.type);case E:var d=a._payload;a=a._init;try{return L(a(d))}catch(e){}}return""}function A(a,d){var e=ua(a);if("Object"!==e&&"Array"!==e)return e;
21
- e=-1;var c=0;if(va(a)){var b="[";for(var f=0;f<a.length;f++){0<f&&(b+=", ");var g=a[f];g="object"===typeof g&&null!==g?A(g):S(g);""+f===d?(e=b.length,c=g.length,b+=g):b=10>g.length&&40>b.length+g.length?b+g:b+"..."}b+="]"}else if(a.$$typeof===r)b="<"+L(a.type)+"/>";else{b="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(b+=", ");var h=f[g],k=JSON.stringify(h);b+=('"'+h+'"'===k?h:k)+": ";k=a[h];k="object"===typeof k&&null!==k?A(k):S(k);h===d?(e=b.length,c=k.length,b+=k):b=10>k.length&&40>b.length+
22
- k.length?b+k:b+"..."}b+="}"}return void 0===d?b:-1<e&&0<c?(a=" ".repeat(e)+"^".repeat(c),"\n "+b+"\n "+a):"\n "+b}function Ba(a,d,b,c){switch(c){case r:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===r||c.$$typeof===E);)try{switch(c.$$typeof){case r:var e=c;c=D(e.type,e.key,e.ref,e.props,null);break;case E:var f=c._init;c=f(c._payload)}}catch(g){if("object"===typeof g&&null!==g&&"function"===typeof g.then)return a.pendingChunks++,a=oa(a,c,u,a.abortableTasks),c=a.ping,g.then(c,c),O(g),
23
- a.thenableState=ia(),"@"+a.id.toString(16);a.pendingChunks++;c=a.nextChunkId++;b=z(a,g);K(a,c,b);return"@"+c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===I)return ta(a,d,b,c);if(c.$$typeof===ra)return e=c._context._globalName,d=a.writtenProviders,c=d.get(b),void 0===c&&(a.pendingChunks++,c=a.nextChunkId++,d.set(e,c),b="P"+c.toString(16)+":"+e+"\n",b=y.encode(b),a.completedJSONChunks.push(b)),"$"+c.toString(16);if(c===sa){a=u;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");
24
- c=a.parentValue;a.context._currentValue=c===wa?a.context._defaultValue:c;u=a.parent;return}return c}if("string"===typeof c)return a="$"===c[0]||"@"===c[0]?"$"+c:c,a;if("boolean"===typeof c||"number"===typeof c||"undefined"===typeof c)return c;if("function"===typeof c){if(c.$$typeof===I)return ta(a,d,b,c);if(/^on[A-Z]/.test(b))throw Error("Event handlers cannot be passed to Client Component props."+A(d,b)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error("Functions cannot be passed directly to Client Components because they're not serializable."+
25
- A(d,b));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!==f)return"$"+f.toString(16);f=c.description;if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+A(d,b));a.pendingChunks++;b=a.nextChunkId++;d=F(f);d="S"+b.toString(16)+":"+d+"\n";d=y.encode(d);a.completedModuleChunks.push(d);e.set(c,b);return"$"+b.toString(16)}if("bigint"===typeof c)throw Error("BigInt ("+
26
- c+") is not yet supported in Client Component props."+A(d,b));throw Error("Type "+typeof c+" is not supported in Client Component props."+A(d,b));}function z(a,d){a=a.onError;d=a(d);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 U(a,d){null!==a.destination?(a.status=
27
- 2,ba(a.destination,d)):(a.status=1,a.fatalError=d)}function K(a,d,b){b={digest:b};d="E"+d.toString(16)+":"+F(b)+"\n";d=y.encode(d);a.completedErrorChunks.push(d)}function T(a){var d=V.current,b=C;V.current=Ia;C=a.cache;G=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var m=0;m<c.length;m++){var f=c[m];var g=a;if(0===f.status){N(f.context);try{var h=f.model;if("object"===typeof h&&null!==h&&h.$$typeof===r){var k=h,l=f.thenableState;f.model=h;h=D(k.type,k.key,k.ref,k.props,l);for(f.thenableState=null;"object"===
28
- typeof h&&null!==h&&h.$$typeof===r;)k=h,f.model=h,h=D(k.type,k.key,k.ref,k.props,null)}var n=f.id,p=F(h,g.toJSON),q="J"+n.toString(16)+":"+p+"\n";var u=y.encode(q);g.completedJSONChunks.push(u);g.abortableTasks.delete(f);f.status=1}catch(w){if("object"===typeof w&&null!==w&&"function"===typeof w.then){var t=f.ping;w.then(t,t);O(w);f.thenableState=ia()}else{g.abortableTasks.delete(f);f.status=4;var v=z(g,w);K(g,f.id,v)}}}}null!==a.destination&&W(a,a.destination)}catch(w){z(a,w),U(a,w)}finally{V.current=
29
- d,C=b,G=null}}function W(a,d){p=new Uint8Array(512);n=0;try{for(var b=a.completedModuleChunks,c=0;c<b.length;c++)if(a.pendingChunks--,!M(d,b[c])){a.destination=null;c++;break}b.splice(0,c);var m=a.completedJSONChunks;for(c=0;c<m.length;c++)if(a.pendingChunks--,!M(d,m[c])){a.destination=null;c++;break}m.splice(0,c);var f=a.completedErrorChunks;for(c=0;c<f.length;c++)if(a.pendingChunks--,!M(d,f[c])){a.destination=null;c++;break}f.splice(0,c)}finally{p&&0<n&&(d.enqueue(new Uint8Array(p.buffer,0,n)),
30
- p=null,n=0)}0===a.pendingChunks&&d.close()}function xa(a,d){try{var b=a.abortableTasks;if(0<b.size){var c=z(a,void 0===d?Error("The render was aborted by the server without a reason."):d);a.pendingChunks++;var m=a.nextChunkId++;K(a,m,c);b.forEach(function(d){d.status=3;var b="$"+m.toString(16);d=d.id;b=F(b);b="J"+d.toString(16)+":"+b+"\n";b=y.encode(b);a.completedErrorChunks.push(b)});b.clear()}null!==a.destination&&W(a,a.destination)}catch(f){z(a,f),U(a,f)}}function Ca(a){if(a){var b=u;N(null);for(var e=
31
- 0;e<a.length;e++){var c=a[e],m=c[0];c=c[1];X[m]||(X[m]=B.createServerContext(m,wa));ha(X[m],c)}a=u;N(b);return a}return null}var Q="function"===typeof AsyncLocalStorage,ma=Q?new AsyncLocalStorage:null,p=null,n=0,y=new TextEncoder,F=JSON.stringify,I=Symbol.for("react.module.reference"),r=Symbol.for("react.element"),Ea=Symbol.for("react.fragment"),ra=Symbol.for("react.provider"),Ja=Symbol.for("react.server_context"),pa=Symbol.for("react.forward_ref"),Ga=Symbol.for("react.suspense"),Ha=Symbol.for("react.suspense_list"),
32
- qa=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),wa=Symbol.for("react.default_value"),Ka=Symbol.for("react.memo_cache_sentinel");x="children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ");x.push("innerText","textContent");x.forEach(function(a){new l(a,0,!1,a,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){new l(a[0],
33
- 1,!1,a[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){new l(a,2,!1,a.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){new l(a,2,!1,a,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){new l(a,
34
- 3,!1,a.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(a){new l(a,3,!0,a,null,!1,!1)});["capture","download"].forEach(function(a){new l(a,4,!1,a,null,!1,!1)});["cols","rows","size","span"].forEach(function(a){new l(a,6,!1,a,null,!1,!1)});["rowSpan","start"].forEach(function(a){new l(a,5,!1,a.toLowerCase(),null,!1,!1)});var Y=/[\-:]([a-z])/g,Z=function(a){return a[1].toUpperCase()};"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a){var b=
35
- a.replace(Y,Z);new l(b,1,!1,a,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(Y,Z);new l(b,1,!1,a,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(Y,Z);new l(b,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(a){new l(a,1,!1,a.toLowerCase(),null,!1,!1)});new l("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",
36
- !0,!1);["src","href","action","formAction"].forEach(function(a){new l(a,1,!1,a.toLowerCase(),null,!0,!0)});var aa={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,
37
- fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},La=["Webkit","ms","Moz","O"];Object.keys(aa).forEach(function(a){La.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);aa[b]=aa[a]})});var va=Array.isArray;b("<script>");b("\x3c/script>");b('<script src="');b('<script type="module" src="');
38
- b('" integrity="');b('" async="">\x3c/script>');b("\x3c!-- --\x3e");b(' style="');b(":");b(";");b(" ");b('="');b('"');b('=""');b(">");b("/>");b(' selected=""');b("\n");b("<!DOCTYPE html>");b("</");b(">");b('<template id="');b('"></template>');b("\x3c!--$--\x3e");b('\x3c!--$?--\x3e<template id="');b('"></template>');b("\x3c!--$!--\x3e");b("\x3c!--/$--\x3e");b("<template");b('"');b(' data-dgst="');b(' data-msg="');b(' data-stck="');b("></template>");b('<div hidden id="');b('">');b("</div>");b('<svg aria-hidden="true" style="display:none" id="');
39
- b('">');b("</svg>");b('<math aria-hidden="true" style="display:none" id="');b('">');b("</math>");b('<table hidden id="');b('">');b("</table>");b('<table hidden><tbody id="');b('">');b("</tbody></table>");b('<table hidden><tr id="');b('">');b("</tr></table>");b('<table hidden><colgroup id="');b('">');b("</colgroup></table>");b('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};;$RS("');
40
- b('$RS("');b('","');b('")\x3c/script>');b('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};;$RC("');
41
- b('$RC("');b('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};;$RM=new Map;\n$RR=function(p,q,v){function r(l){this.s=l}for(var t=$RC,u=$RM,m=new Map,n=document,g,e,f=n.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;e=f[d++];)m.set(e.dataset.precedence,g=e);e=0;f=[];for(var c,h,b,a;c=v[e++];){var k=0;h=c[k++];if(b=u.get(h))"l"!==b.s&&f.push(b);else{a=n.createElement("link");a.href=h;a.rel="stylesheet";for(a.dataset.precedence=d=c[k++];b=c[k++];)a.setAttribute(b,c[k++]);b=a._p=new Promise(function(l,w){a.onload=l;a.onerror=w});b.then(r.bind(b,\n"l"),r.bind(b,"e"));u.set(h,b);f.push(b);c=m.get(d)||g;c===g&&(g=a);m.set(d,a);c?c.parentNode.insertBefore(a,c.nextSibling):(d=n.head,d.insertBefore(a,d.firstChild))}}Promise.all(f).then(t.bind(null,p,q,""),t.bind(null,p,q,"Resource failed to load"))};;$RR("');
42
- b('$RM=new Map;\n$RR=function(p,q,v){function r(l){this.s=l}for(var t=$RC,u=$RM,m=new Map,n=document,g,e,f=n.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;e=f[d++];)m.set(e.dataset.precedence,g=e);e=0;f=[];for(var c,h,b,a;c=v[e++];){var k=0;h=c[k++];if(b=u.get(h))"l"!==b.s&&f.push(b);else{a=n.createElement("link");a.href=h;a.rel="stylesheet";for(a.dataset.precedence=d=c[k++];b=c[k++];)a.setAttribute(b,c[k++]);b=a._p=new Promise(function(l,w){a.onload=l;a.onerror=w});b.then(r.bind(b,\n"l"),r.bind(b,"e"));u.set(h,b);f.push(b);c=m.get(d)||g;c===g&&(g=a);m.set(d,a);c?c.parentNode.insertBefore(a,c.nextSibling):(d=n.head,d.insertBefore(a,d.firstChild))}}Promise.all(f).then(t.bind(null,p,q,""),t.bind(null,p,q,"Resource failed to load"))};;$RR("');
43
- b('$RR("');b('","');b('",');b('"');b(")\x3c/script>");b('$RX=function(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};;$RX("');b('$RX("');b('"');b(")\x3c/script>");b(",");b('<style data-precedence="');b('"></style>');b("[");b(",[");b(",");b("]");var u=null,G=null,J=0,t=null,Ia={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:q,
44
- useTransition:q,readContext:ja,useContext:ja,useReducer:q,useRef:q,useState:q,useInsertionEffect:q,useLayoutEffect:q,useImperativeHandle:q,useEffect:q,useId:function(){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)+":"},useMutableSource:q,useSyncExternalStore:q,useCacheRefresh:function(){return ya},useMemoCache:function(a){for(var b=Array(a),e=0;e<a;e++)b[e]=Ka;return b},use:function(a){if(null!==
45
- a&&"object"===typeof a)if("function"===typeof a.then){var b=J;J+=1;switch(a.status){case "fulfilled":return a.value;case "rejected":throw a.reason;default:a:{if(null!==t){var e=t[b];if(void 0!==e)break a}e=null}if(null!==e)switch(a!==e&&a.then(ka,ka),e.status){case "fulfilled":return e.value;case "rejected":throw e.reason;default:throw e;}else throw null===t&&(t=[]),t[b]=a,a;}}else if(a.$$typeof===Ja)return a._currentValue;throw Error("An unsupported type was passed to use(): "+String(a));}},na={getCacheSignal:function(){var a=
46
- la(),b=a.get(P);void 0===b&&(b=P(),a.set(P,b));return b},getCacheForType:function(a){var b=la(),e=b.get(a);void 0===e&&(e=a(),b.set(a,e));return e}},C=null;x=B.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;var X=x.ContextRegistry,V=x.ReactCurrentDispatcher,R=x.ReactCurrentCache,sa={};v.renderToReadableStream=function(a,b,e){var c=Aa(a,b,e?e.onError:void 0,e?e.context:void 0,e?e.identifierPrefix:void 0);if(e&&e.signal){var d=e.signal;if(d.aborted)xa(c,d.reason);else{var f=function(){xa(c,d.reason);
47
- d.removeEventListener("abort",f)};d.addEventListener("abort",f)}}return new ReadableStream({type:"bytes",start:function(a){Q?ma.run(c.cache,T,c):T(c)},pull:function(a){if(1===c.status)c.status=2,ba(a,c.fatalError);else if(2!==c.status&&null===c.destination){c.destination=a;try{W(c,a)}catch(h){z(c,h),U(c,h)}}},cancel:function(a){}},{highWaterMark:0})}});
10
+ (function(){'use strict';(function(u,A){"object"===typeof exports&&"undefined"!==typeof module?A(exports,require("react-dom")):"function"===typeof define&&define.amd?define(["exports","react","react-dom"],A):(u=u||self,A(u.ReactServerDOMServer={},u.React,u.ReactDOM))})(this,function(u,A,G){function M(a,b){if(0!==b.length)if(512<b.length)0<n&&(a.enqueue(new Uint8Array(p.buffer,0,n)),p=new Uint8Array(512),n=0),a.enqueue(b);else{var e=p.length-n;e<b.length&&(0===e?a.enqueue(p):(p.set(b.subarray(0,
11
+ e),n),a.enqueue(p),b=b.subarray(e)),p=new Uint8Array(512),n=0);p.set(b,n);n+=b.length}return!0}function c(a){return x.encode(a)}function aa(a,b){"function"===typeof a.error?a.error(b):a.close()}function m(a,b,e,d,c,f,g){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=c;this.mustUseProperty=e;this.propertyName=a;this.type=b;this.sanitizeURL=f;this.removeEmptyString=g}function H(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var e=b.parent;if(null===
12
+ a){if(null!==e)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===e)throw Error("The stacks must reach the root at the same time. This is a bug in React.");H(a,e);b.context._currentValue=b.value}}}function ba(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&ba(a)}function ca(a){var b=a.parent;null!==b&&ca(b);a.context._currentValue=a.value}function da(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");
13
+ a.depth===b.depth?H(a,b):da(a,b)}function ea(a,b){var e=b.parent;if(null===e)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===e.depth?H(a,e):ea(a,e);b.context._currentValue=b.value}function N(a){var b=t;b!==a&&(null===b?ca(a):null===a?ba(b):b.depth===a.depth?H(b,a):b.depth>a.depth?da(b,a):ea(b,a),t=a)}function fa(a,b){var e=a._currentValue;a._currentValue=b;var d=t;return t=a={parent:d,depth:null===d?0:d.depth+1,context:a,parentValue:e,
14
+ value:b}}function ha(){}function xa(a,b,e){e=a[e];void 0===e?a.push(b):e!==b&&(b.then(ha,ha),b=e);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:throw"string"!==typeof b.status&&(a=b,a.status="pending",a.then(function(a){if("pending"===b.status){var d=b;d.status="fulfilled";d.value=a}},function(a){if("pending"===b.status){var d=b;d.status="rejected";d.reason=a}})),b;}}function ia(){var a=v;v=null;return a}function ja(a){return a._currentValue}function q(){throw Error("This Hook is not supported in Server Components.");
15
+ }function ya(){throw Error("Refreshing the cache is not supported in Server Components.");}function O(){return(new AbortController).signal}function ka(){if(B)return B;if(P){var a=la.getStore();if(a)return a}return new Map}function za(a){console.error(a)}function Aa(a,b,e,d,c){if(null!==Q.current&&Q.current!==ma)throw Error("Currently React only supports one RSC renderer at a time.");Q.current=ma;var k=new Set,g=[],h={status:0,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,
16
+ pendingChunks:0,abortableTasks:k,pingedTasks:g,completedModuleChunks:[],completedJSONChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenModules:new Map,writtenProviders:new Map,identifierPrefix:c||"",identifierCount:1,onError:void 0===e?za:e,toJSON:function(a,b){return Ba(h,this,a,b)}};h.pendingChunks++;b=Ca(d);a=na(h,a,b,k);g.push(a);return h}function Da(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}function Ea(a){switch(a.status){case "fulfilled":case "rejected":break;
17
+ 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:Da}}function D(a,b,e,d,c){if(null!==e&&void 0!==e)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof a){if(a.$$typeof===I)return[r,a,b,d];J=0;v=c;d=a(d);return"object"===typeof d&&null!==d&&"function"===
18
+ typeof d.then?Ea(d):d}if("string"===typeof a)return[r,a,b,d];if("symbol"===typeof a)return a===Fa?d.children:[r,a,b,d];if(null!=a&&"object"===typeof a){if(a.$$typeof===I)return[r,a,b,d];switch(a.$$typeof){case C:var k=a._init;a=k(a._payload);return D(a,b,e,d,c);case oa:return b=a.render,J=0,v=c,b(d,void 0);case pa:return D(a.type,b,e,d,c);case qa:return fa(a._context,d.value),[r,a,b,{value:d.value,children:d.children,__pop:ra}]}}throw Error("Unsupported Server Component type: "+R(a));}function na(a,
19
+ b,e,d){var c={id:a.nextChunkId++,status:0,model:b,context:e,ping:function(){var b=a.pingedTasks;b.push(c);1===b.length&&S(a)},thenableState:null};d.add(c);return c}function sa(a,b,e,d){var c=d.filepath+"#"+d.name+(d.async?"#async":""),f=a.writtenModules,g=f.get(c);if(void 0!==g)return b[0]===r&&"1"===e?"@"+g.toString(16):"$"+g.toString(16);try{var h=a.bundlerConfig[d.filepath][d.name];var l=d.async?{id:h.id,chunks:h.chunks,name:h.name,async:!0}:h;a.pendingChunks++;var m=a.nextChunkId++,n=E(l),p="M"+
20
+ m.toString(16)+":"+n+"\n";var q=x.encode(p);a.completedModuleChunks.push(q);f.set(c,m);return b[0]===r&&"1"===e?"@"+m.toString(16):"$"+m.toString(16)}catch(Ga){return a.pendingChunks++,b=a.nextChunkId++,e=y(a,Ga),K(a,b,e),"$"+b.toString(16)}}function ta(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(a,e){return e})}function R(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.substr(0,10)+"...");case "object":if(ua(a))return"[...]";a=ta(a);return"Object"===
21
+ a?"{...}":a;case "function":return"function";default:return String(a)}}function L(a){if("string"===typeof a)return a;switch(a){case Ha:return"Suspense";case Ia:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case oa:return L(a.render);case pa:return L(a.type);case C:var b=a._payload;a=a._init;try{return L(a(b))}catch(e){}}return""}function z(a,b){var e=ta(a);if("Object"!==e&&"Array"!==e)return e;e=-1;var d=0;if(ua(a)){var c="[";for(var f=0;f<a.length;f++){0<f&&(c+=", ");var g=a[f];
22
+ g="object"===typeof g&&null!==g?z(g):R(g);""+f===b?(e=c.length,d=g.length,c+=g):c=10>g.length&&40>c.length+g.length?c+g:c+"..."}c+="]"}else if(a.$$typeof===r)c="<"+L(a.type)+"/>";else{c="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(c+=", ");var h=f[g],l=JSON.stringify(h);c+=('"'+h+'"'===l?h:l)+": ";l=a[h];l="object"===typeof l&&null!==l?z(l):R(l);h===b?(e=c.length,d=l.length,c+=l):c=10>l.length&&40>c.length+l.length?c+l:c+"..."}c+="}"}return void 0===b?c:-1<e&&0<d?(a=" ".repeat(e)+"^".repeat(d),
23
+ "\n "+c+"\n "+a):"\n "+c}function Ba(a,b,c,d){switch(d){case r:return"$"}for(;"object"===typeof d&&null!==d&&(d.$$typeof===r||d.$$typeof===C);)try{switch(d.$$typeof){case r:var e=d;d=D(e.type,e.key,e.ref,e.props,null);break;case C:var f=d._init;d=f(d._payload)}}catch(g){if("object"===typeof g&&null!==g&&"function"===typeof g.then)return a.pendingChunks++,a=na(a,d,t,a.abortableTasks),d=a.ping,g.then(d,d),a.thenableState=ia(),"@"+a.id.toString(16);a.pendingChunks++;d=a.nextChunkId++;c=y(a,g);K(a,
24
+ d,c);return"@"+d.toString(16)}if(null===d)return null;if("object"===typeof d){if(d.$$typeof===I)return sa(a,b,c,d);if(d.$$typeof===qa)return e=d._context._globalName,b=a.writtenProviders,d=b.get(c),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(e,d),c="P"+d.toString(16)+":"+e+"\n",c=x.encode(c),a.completedJSONChunks.push(c)),"$"+d.toString(16);if(d===ra){a=t;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");d=a.parentValue;a.context._currentValue=
25
+ d===va?a.context._defaultValue:d;t=a.parent;return}return d}if("string"===typeof d)return a="$"===d[0]||"@"===d[0]?"$"+d:d,a;if("boolean"===typeof d||"number"===typeof d||"undefined"===typeof d)return d;if("function"===typeof d){if(d.$$typeof===I)return sa(a,b,c,d);if(/^on[A-Z]/.test(c))throw Error("Event handlers cannot be passed to Client Component props."+z(b,c)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error("Functions cannot be passed directly to Client Components because they're not serializable."+
26
+ z(b,c));}if("symbol"===typeof d){e=a.writtenSymbols;f=e.get(d);if(void 0!==f)return"$"+f.toString(16);f=d.description;if(Symbol.for(f)!==d)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(d.description+") cannot be found among global symbols.")+z(b,c));a.pendingChunks++;c=a.nextChunkId++;b=E(f);b="S"+c.toString(16)+":"+b+"\n";b=x.encode(b);a.completedModuleChunks.push(b);e.set(d,c);return"$"+c.toString(16)}if("bigint"===typeof d)throw Error("BigInt ("+
27
+ d+") is not yet supported in Client Component props."+z(b,c));throw Error("Type "+typeof d+" is not supported in Client Component props."+z(b,c));}function y(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""}function T(a,b){null!==a.destination?(a.status=
28
+ 2,aa(a.destination,b)):(a.status=1,a.fatalError=b)}function K(a,b,c){c={digest:c};b="E"+b.toString(16)+":"+E(c)+"\n";b=x.encode(b);a.completedErrorChunks.push(b)}function S(a){var b=U.current,c=B;U.current=Ja;B=a.cache;F=a;try{var d=a.pingedTasks;a.pingedTasks=[];for(var k=0;k<d.length;k++){var f=d[k];var g=a;if(0===f.status){N(f.context);try{var h=f.model;if("object"===typeof h&&null!==h&&h.$$typeof===r){var l=h,m=f.thenableState;f.model=h;h=D(l.type,l.key,l.ref,l.props,m);for(f.thenableState=null;"object"===
29
+ typeof h&&null!==h&&h.$$typeof===r;)l=h,f.model=h,h=D(l.type,l.key,l.ref,l.props,null)}var n=f.id,p=E(h,g.toJSON),q="J"+n.toString(16)+":"+p+"\n";var t=x.encode(q);g.completedJSONChunks.push(t);g.abortableTasks.delete(f);f.status=1}catch(w){if("object"===typeof w&&null!==w&&"function"===typeof w.then){var u=f.ping;w.then(u,u);f.thenableState=ia()}else{g.abortableTasks.delete(f);f.status=4;var v=y(g,w);K(g,f.id,v)}}}}null!==a.destination&&V(a,a.destination)}catch(w){y(a,w),T(a,w)}finally{U.current=
30
+ b,B=c,F=null}}function V(a,b){p=new Uint8Array(512);n=0;try{for(var c=a.completedModuleChunks,d=0;d<c.length;d++)if(a.pendingChunks--,!M(b,c[d])){a.destination=null;d++;break}c.splice(0,d);var k=a.completedJSONChunks;for(d=0;d<k.length;d++)if(a.pendingChunks--,!M(b,k[d])){a.destination=null;d++;break}k.splice(0,d);var f=a.completedErrorChunks;for(d=0;d<f.length;d++)if(a.pendingChunks--,!M(b,f[d])){a.destination=null;d++;break}f.splice(0,d)}finally{p&&0<n&&(b.enqueue(new Uint8Array(p.buffer,0,n)),
31
+ p=null,n=0)}0===a.pendingChunks&&b.close()}function wa(a,b){try{var c=a.abortableTasks;if(0<c.size){var d=y(a,void 0===b?Error("The render was aborted by the server without a reason."):b);a.pendingChunks++;var k=a.nextChunkId++;K(a,k,d);c.forEach(function(b){b.status=3;var c="$"+k.toString(16);b=b.id;c=E(c);c="J"+b.toString(16)+":"+c+"\n";c=x.encode(c);a.completedErrorChunks.push(c)});c.clear()}null!==a.destination&&V(a,a.destination)}catch(f){y(a,f),T(a,f)}}function Ca(a){if(a){var b=t;N(null);for(var c=
32
+ 0;c<a.length;c++){var d=a[c],k=d[0];d=d[1];W[k]||(W[k]=A.createServerContext(k,va));fa(W[k],d)}a=t;N(b);return a}return null}var P="function"===typeof AsyncLocalStorage,la=P?new AsyncLocalStorage:null,p=null,n=0,x=new TextEncoder,E=JSON.stringify,I=Symbol.for("react.module.reference"),r=Symbol.for("react.element"),Fa=Symbol.for("react.fragment"),qa=Symbol.for("react.provider"),Ka=Symbol.for("react.server_context"),oa=Symbol.for("react.forward_ref"),Ha=Symbol.for("react.suspense"),Ia=Symbol.for("react.suspense_list"),
33
+ pa=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),va=Symbol.for("react.default_value"),La=Symbol.for("react.memo_cache_sentinel");"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){new m(a,0,!1,a,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){new m(a[0],1,!1,a[1],null,!1,!1)});["contentEditable",
34
+ "draggable","spellCheck","value"].forEach(function(a){new m(a,2,!1,a.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){new m(a,2,!1,a,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){new m(a,3,!1,a.toLowerCase(),
35
+ null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(a){new m(a,3,!0,a,null,!1,!1)});["capture","download"].forEach(function(a){new m(a,4,!1,a,null,!1,!1)});["cols","rows","size","span"].forEach(function(a){new m(a,6,!1,a,null,!1,!1)});["rowSpan","start"].forEach(function(a){new m(a,5,!1,a.toLowerCase(),null,!1,!1)});var X=/[\-:]([a-z])/g,Y=function(a){return a[1].toUpperCase()};"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a){var b=
36
+ a.replace(X,Y);new m(b,1,!1,a,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(X,Y);new m(b,1,!1,a,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(X,Y);new m(b,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(a){new m(a,1,!1,a.toLowerCase(),null,!1,!1)});new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",
37
+ !0,!1);["src","href","action","formAction"].forEach(function(a){new m(a,1,!1,a.toLowerCase(),null,!0,!0)});var Z={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,
38
+ fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ma=["Webkit","ms","Moz","O"];Object.keys(Z).forEach(function(a){Ma.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);Z[b]=Z[a]})});var ua=Array.isArray;c("<script>");c("\x3c/script>");c('<script src="');c('<script type="module" src="');c('" integrity="');
39
+ c('" async="">\x3c/script>');c("\x3c!-- --\x3e");c(' style="');c(":");c(";");c(" ");c('="');c('"');c('=""');c(">");c("/>");c(' selected=""');c("\n");c("<!DOCTYPE html>");c("</");c(">");c('<template id="');c('"></template>');c("\x3c!--$--\x3e");c('\x3c!--$?--\x3e<template id="');c('"></template>');c("\x3c!--$!--\x3e");c("\x3c!--/$--\x3e");c("<template");c('"');c(' data-dgst="');c(' data-msg="');c(' data-stck="');c("></template>");c('<div hidden id="');c('">');c("</div>");c('<svg aria-hidden="true" style="display:none" id="');
40
+ c('">');c("</svg>");c('<math aria-hidden="true" style="display:none" id="');c('">');c("</math>");c('<table hidden id="');c('">');c("</table>");c('<table hidden><tbody id="');c('">');c("</tbody></table>");c('<table hidden><tr id="');c('">');c("</tr></table>");c('<table hidden><colgroup id="');c('">');c("</colgroup></table>");c('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};;$RS("');
41
+ c('$RS("');c('","');c('")\x3c/script>');c('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};;$RC("');
42
+ c('$RC("');c('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};;$RM=new Map;\n$RR=function(p,q,v){function r(l){this.s=l}for(var t=$RC,u=$RM,m=new Map,n=document,g,e,f=n.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;e=f[d++];)m.set(e.dataset.precedence,g=e);e=0;f=[];for(var c,h,b,a;c=v[e++];){var k=0;h=c[k++];if(b=u.get(h))"l"!==b.s&&f.push(b);else{a=n.createElement("link");a.href=h;a.rel="stylesheet";for(a.dataset.precedence=d=c[k++];b=c[k++];)a.setAttribute(b,c[k++]);b=a._p=new Promise(function(l,w){a.onload=l;a.onerror=w});b.then(r.bind(b,\n"l"),r.bind(b,"e"));u.set(h,b);f.push(b);c=m.get(d)||g;c===g&&(g=a);m.set(d,a);c?c.parentNode.insertBefore(a,c.nextSibling):(d=n.head,d.insertBefore(a,d.firstChild))}}Promise.all(f).then(t.bind(null,p,q,""),t.bind(null,p,q,"Resource failed to load"))};;$RR("');
43
+ c('$RM=new Map;\n$RR=function(p,q,v){function r(l){this.s=l}for(var t=$RC,u=$RM,m=new Map,n=document,g,e,f=n.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;e=f[d++];)m.set(e.dataset.precedence,g=e);e=0;f=[];for(var c,h,b,a;c=v[e++];){var k=0;h=c[k++];if(b=u.get(h))"l"!==b.s&&f.push(b);else{a=n.createElement("link");a.href=h;a.rel="stylesheet";for(a.dataset.precedence=d=c[k++];b=c[k++];)a.setAttribute(b,c[k++]);b=a._p=new Promise(function(l,w){a.onload=l;a.onerror=w});b.then(r.bind(b,\n"l"),r.bind(b,"e"));u.set(h,b);f.push(b);c=m.get(d)||g;c===g&&(g=a);m.set(d,a);c?c.parentNode.insertBefore(a,c.nextSibling):(d=n.head,d.insertBefore(a,d.firstChild))}}Promise.all(f).then(t.bind(null,p,q,""),t.bind(null,p,q,"Resource failed to load"))};;$RR("');
44
+ c('$RR("');c('","');c('",');c('"');c(")\x3c/script>");c('$RX=function(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};;$RX("');c('$RX("');c('"');c(")\x3c/script>");c(",");c('<style data-precedence="');c('"></style>');c("[");c(",[");c(",");c("]");var t=null,F=null,J=0,v=null,Ja={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:q,
45
+ useTransition:q,readContext:ja,useContext:ja,useReducer:q,useRef:q,useState:q,useInsertionEffect:q,useLayoutEffect:q,useImperativeHandle:q,useEffect:q,useId:function(){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)+":"},useMutableSource:q,useSyncExternalStore:q,useCacheRefresh:function(){return ya},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=La;return b},use:function(a){if(null!==
46
+ a&&"object"===typeof a){if("function"===typeof a.then){var b=J;J+=1;null===v&&(v=[]);return xa(v,a,b)}if(a.$$typeof===Ka)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}},ma={getCacheSignal:function(){var a=ka(),b=a.get(O);void 0===b&&(b=O(),a.set(O,b));return b},getCacheForType:function(a){var b=ka(),c=b.get(a);void 0===c&&(c=a(),b.set(a,c));return c}},B=null;G=A.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;var W=G.ContextRegistry,U=G.ReactCurrentDispatcher,
47
+ Q=G.ReactCurrentCache,ra={};u.renderToReadableStream=function(a,c,e){var b=Aa(a,c,e?e.onError:void 0,e?e.context:void 0,e?e.identifierPrefix:void 0);if(e&&e.signal){var k=e.signal;if(k.aborted)wa(b,k.reason);else{var f=function(){wa(b,k.reason);k.removeEventListener("abort",f)};k.addEventListener("abort",f)}}return new ReadableStream({type:"bytes",start:function(a){P?la.run(b.cache,S,b):S(b)},pull:function(a){if(1===b.status)b.status=2,aa(a,b.fatalError);else if(2!==b.status&&null===b.destination){b.destination=
48
+ a;try{V(b,a)}catch(h){y(b,h),T(b,h)}}},cancel:function(a){}},{highWaterMark:0})}});
48
49
  })();