|
907 | 907 | );
|
908 | 908 | }
|
909 | 909 | function makeId(resumableState, treeId, localId) {
|
910 |
| - resumableState = "\u00ab" + resumableState.idPrefix + "R" + treeId; |
| 910 | + resumableState = "_" + resumableState.idPrefix + "R_" + treeId; |
911 | 911 | 0 < localId && (resumableState += "H" + localId.toString(32));
|
912 |
| - return resumableState + "\u00bb"; |
| 912 | + return resumableState + "_"; |
913 | 913 | }
|
914 | 914 | function pushViewTransitionAttributes(target, formatContext) {
|
915 | 915 | formatContext = formatContext.viewTransition;
|
|
3283 | 3283 | function writeCompletedShellIdAttribute(destination, resumableState) {
|
3284 | 3284 | (resumableState.instructions & SentCompletedShellId) === NothingSent &&
|
3285 | 3285 | ((resumableState.instructions |= SentCompletedShellId),
|
3286 |
| - (resumableState = "\u00ab" + resumableState.idPrefix + "R\u00bb"), |
| 3286 | + (resumableState = "_" + resumableState.idPrefix + "R_"), |
3287 | 3287 | destination.push(completedShellIdAttributeStart),
|
3288 | 3288 | (resumableState = escapeTextForBrowser(resumableState)),
|
3289 | 3289 | destination.push(resumableState),
|
|
3294 | 3294 | ((resumableState.instructions |= SentCompletedShellId),
|
3295 | 3295 | target.push(
|
3296 | 3296 | completedShellIdAttributeStart,
|
3297 |
| - escapeTextForBrowser("\u00ab" + resumableState.idPrefix + "R\u00bb"), |
| 3297 | + escapeTextForBrowser("_" + resumableState.idPrefix + "R_"), |
3298 | 3298 | attributeEnd
|
3299 | 3299 | ));
|
3300 | 3300 | }
|
|
5140 | 5140 | var resumeSlots = task.replay.slots;
|
5141 | 5141 | if (null !== resumeSlots && "object" === typeof resumeSlots)
|
5142 | 5142 | for (var n = 0; n < keyPath; n++) {
|
5143 |
| - var i = "backwards" !== revealOrder ? n : keyPath - 1 - n, |
| 5143 | + var i = |
| 5144 | + "backwards" !== revealOrder && |
| 5145 | + "unstable_legacy-backwards" !== revealOrder |
| 5146 | + ? n |
| 5147 | + : keyPath - 1 - n, |
5144 | 5148 | node = rows[i];
|
5145 | 5149 | task.row = previousSuspenseListRow = createSuspenseListRow(
|
5146 | 5150 | previousSuspenseListRow
|
|
5157 | 5161 | else
|
5158 | 5162 | for (resumeSlots = 0; resumeSlots < keyPath; resumeSlots++)
|
5159 | 5163 | (n =
|
5160 |
| - "backwards" !== revealOrder |
| 5164 | + "backwards" !== revealOrder && |
| 5165 | + "unstable_legacy-backwards" !== revealOrder |
5161 | 5166 | ? resumeSlots
|
5162 | 5167 | : keyPath - 1 - resumeSlots),
|
5163 | 5168 | (i = rows[n]),
|
|
5168 | 5173 | renderNode(request, task, i, n),
|
5169 | 5174 | 0 === --previousSuspenseListRow.pendingTasks &&
|
5170 | 5175 | finishSuspenseListRow(request, previousSuspenseListRow);
|
5171 |
| - } else if ("backwards" !== revealOrder) |
| 5176 | + } else if ( |
| 5177 | + "backwards" !== revealOrder && |
| 5178 | + "unstable_legacy-backwards" !== revealOrder |
| 5179 | + ) |
5172 | 5180 | for (revealOrder = 0; revealOrder < keyPath; revealOrder++)
|
5173 | 5181 | (resumeSlots = rows[revealOrder]),
|
5174 | 5182 | warnForMissingKey(request, task, resumeSlots),
|
|
5896 | 5904 | a: {
|
5897 | 5905 | var children$jscomp$0 = props.children,
|
5898 | 5906 | revealOrder = props.revealOrder;
|
5899 |
| - if ("forwards" === revealOrder || "backwards" === revealOrder) { |
| 5907 | + if ( |
| 5908 | + "forwards" === revealOrder || |
| 5909 | + "backwards" === revealOrder || |
| 5910 | + "unstable_legacy-backwards" === revealOrder |
| 5911 | + ) { |
5900 | 5912 | if (isArrayImpl(children$jscomp$0)) {
|
5901 | 5913 | renderSuspenseListRows(
|
5902 | 5914 | request,
|
|
8453 | 8465 | renderState.bulkPreloads.forEach(flushResource, destination);
|
8454 | 8466 | renderState.bulkPreloads.clear();
|
8455 | 8467 | if (htmlChunks || headChunks) {
|
8456 |
| - var shellId = "\u00ab" + resumableState.idPrefix + "R\u00bb"; |
| 8468 | + var shellId = "_" + resumableState.idPrefix + "R_"; |
8457 | 8469 | destination.push(blockingRenderChunkStart);
|
8458 | 8470 | var chunk$jscomp$0 = escapeTextForBrowser(shellId);
|
8459 | 8471 | destination.push(chunk$jscomp$0);
|
|
8816 | 8828 | : reason;
|
8817 | 8829 | request.fatalError = error;
|
8818 | 8830 | abortableTasks.forEach(function (task) {
|
8819 |
| - return abortTask(task, request, error); |
| 8831 | + var prevTaskInDEV = currentTaskInDEV, |
| 8832 | + prevGetCurrentStackImpl = ReactSharedInternals.getCurrentStack; |
| 8833 | + currentTaskInDEV = task; |
| 8834 | + ReactSharedInternals.getCurrentStack = getCurrentStackInDEV; |
| 8835 | + try { |
| 8836 | + abortTask(task, request, error); |
| 8837 | + } finally { |
| 8838 | + (currentTaskInDEV = prevTaskInDEV), |
| 8839 | + (ReactSharedInternals.getCurrentStack = |
| 8840 | + prevGetCurrentStackImpl); |
| 8841 | + } |
8820 | 8842 | });
|
8821 | 8843 | abortableTasks.clear();
|
8822 | 8844 | }
|
|
10061 | 10083 | completeBoundaryScriptFunctionOnly =
|
10062 | 10084 | '$RB=[];$RV=function(c){$RT=performance.now();for(var a=0;a<c.length;a+=2){var b=c[a],h=c[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var d=b.data;if("/$"===d||"/&"===d)if(0===g)break;else g--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||g++}d=b.nextSibling;e.removeChild(b);b=d}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}c.length=0};$RC=function(c,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),c=document.getElementById(c))c.previousSibling.data="$~",$RB.push(c,a),2===$RB.length&&setTimeout($RV.bind(null,$RB),("number"!==typeof $RT?0:$RT)+300-performance.now())};',
|
10063 | 10085 | completeBoundaryUpgradeToViewTransitionsInstruction =
|
10064 |
| - '$RV=function(w,f){function h(a,d){var k=a.getAttribute(d);k&&(d=a.style,l.push(a,d.viewTransitionName,d.viewTransitionClass),"auto"!==k&&(d.viewTransitionClass=k),(a=a.getAttribute("vt-name"))||(a="\\u00abT"+F++ +"\\u00bb"),d.viewTransitionName=a,x=!0)}var x=!1,F=0,l=[];try{var e=document.__reactViewTransition;if(e){e.finished.finally($RV.bind(null,f));return}var m=new Map;for(e=1;e<f.length;e+=2)for(var g=f[e].querySelectorAll("[vt-share]"),c=0;c<g.length;c++){var b=g[c];m.set(b.getAttribute("vt-name"),b)}for(g=0;g<f.length;g+=2){var y=f[g],t=y.parentNode;if(t){var r=t.getBoundingClientRect();if(r.left||r.top||r.width||r.height){b=y;for(e=0;b;){if(8===b.nodeType){var p=b.data;if("/$"===p)if(0===e)break;else e--;else"$"!==p&&"$?"!==p&&"$~"!==p&&"$!"!==p||e++}else if(1===b.nodeType){c=b;var z=c.getAttribute("vt-name"),u=m.get(z);h(c,u?"vt-share":"vt-exit");u&&(h(u,"vt-share"),m.set(z,null));var A=c.querySelectorAll("[vt-share]");for(c=0;c<A.length;c++){var B=A[c],C=B.getAttribute("vt-name"),D=m.get(C);\nD&&(h(B,"vt-share"),h(D,"vt-share"),m.set(C,null))}}b=b.nextSibling}for(var q=f[g+1].firstElementChild;q;)null!==m.get(q.getAttribute("vt-name"))&&h(q,"vt-enter"),q=q.nextElementSibling;b=t;do for(var n=b.firstElementChild;n;){var E=n.getAttribute("vt-update");E&&"none"!==E&&!l.includes(n)&&h(n,"vt-update");n=n.nextElementSibling}while((b=b.parentNode)&&1===b.nodeType&&"none"!==b.getAttribute("vt-update"))}}}if(x){var v=document.__reactViewTransition=document.startViewTransition({update:function(){w(f,\ndocument.documentElement.clientHeight);return Promise.race([document.fonts.ready,new Promise(function(a){return setTimeout(a,500)})])},types:[]});v.ready.finally(function(){for(var a=l.length-3;0<=a;a-=3){var d=l[a],k=d.style;k.viewTransitionName=l[a+1];k.viewTransitionClass=l[a+1];""===d.getAttribute("style")&&d.removeAttribute("style")}});v.finished.finally(function(){document.__reactViewTransition===v&&(document.__reactViewTransition=null)});$RB=[];return}}catch(a){}w(f)}.bind(null,$RV);', |
| 10086 | + '$RV=function(w,f){function h(a,d){var k=a.getAttribute(d);k&&(d=a.style,l.push(a,d.viewTransitionName,d.viewTransitionClass),"auto"!==k&&(d.viewTransitionClass=k),(a=a.getAttribute("vt-name"))||(a="_T_"+F++ +"_"),d.viewTransitionName=a,x=!0)}var x=!1,F=0,l=[];try{var e=document.__reactViewTransition;if(e){e.finished.finally($RV.bind(null,f));return}var m=new Map;for(e=1;e<f.length;e+=2)for(var g=f[e].querySelectorAll("[vt-share]"),c=0;c<g.length;c++){var b=g[c];m.set(b.getAttribute("vt-name"),b)}for(g=0;g<f.length;g+=2){var y=f[g],t=y.parentNode;if(t){var r=t.getBoundingClientRect();if(r.left||r.top||r.width||r.height){b=y;for(e=0;b;){if(8===b.nodeType){var p=b.data;if("/$"===p)if(0===e)break;else e--;else"$"!==p&&"$?"!==p&&"$~"!==p&&"$!"!==p||e++}else if(1===b.nodeType){c=b;var z=c.getAttribute("vt-name"),u=m.get(z);h(c,u?"vt-share":"vt-exit");u&&(h(u,"vt-share"),m.set(z,null));var A=c.querySelectorAll("[vt-share]");for(c=0;c<A.length;c++){var B=A[c],C=B.getAttribute("vt-name"),D=m.get(C);\nD&&(h(B,"vt-share"),h(D,"vt-share"),m.set(C,null))}}b=b.nextSibling}for(var q=f[g+1].firstElementChild;q;)null!==m.get(q.getAttribute("vt-name"))&&h(q,"vt-enter"),q=q.nextElementSibling;b=t;do for(var n=b.firstElementChild;n;){var E=n.getAttribute("vt-update");E&&"none"!==E&&!l.includes(n)&&h(n,"vt-update");n=n.nextElementSibling}while((b=b.parentNode)&&1===b.nodeType&&"none"!==b.getAttribute("vt-update"))}}}if(x){var v=document.__reactViewTransition=document.startViewTransition({update:function(){w(f,\ndocument.documentElement.clientHeight);return Promise.race([document.fonts.ready,new Promise(function(a){return setTimeout(a,500)})])},types:[]});v.ready.finally(function(){for(var a=l.length-3;0<=a;a-=3){var d=l[a],k=d.style;k.viewTransitionName=l[a+1];k.viewTransitionClass=l[a+1];""===d.getAttribute("style")&&d.removeAttribute("style")}});v.finished.finally(function(){document.__reactViewTransition===v&&(document.__reactViewTransition=null)});$RB=[];return}}catch(a){}w(f)}.bind(null,$RV);', |
10065 | 10087 | completeBoundaryScript1Partial = '$RC("',
|
10066 | 10088 | completeBoundaryWithStylesScript1FullPartial =
|
10067 | 10089 | '$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=\n"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=\n"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("',
|
|
10376 | 10398 | 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
10377 | 10399 | );
|
10378 | 10400 | };
|
10379 |
| - exports.version = "19.2.0-experimental-14094f80-20250529"; |
| 10401 | + exports.version = "19.2.0-experimental-37054867-20250604"; |
10380 | 10402 | })();
|
0 commit comments