react-server-dom-webpack 18.3.0-next-189f70e17-20230216 → 18.3.0-next-ca2cf319f-20230223

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 (24) hide show
  1. package/cjs/react-server-dom-webpack-client.browser.development.js +11 -7
  2. package/cjs/react-server-dom-webpack-client.browser.production.min.js +17 -18
  3. package/cjs/react-server-dom-webpack-client.edge.development.js +14 -48
  4. package/cjs/react-server-dom-webpack-client.edge.production.min.js +16 -19
  5. package/cjs/react-server-dom-webpack-client.node.development.js +23 -69
  6. package/cjs/react-server-dom-webpack-client.node.production.min.js +17 -19
  7. package/cjs/react-server-dom-webpack-client.node.unbundled.development.js +52 -157
  8. package/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js +15 -19
  9. package/cjs/react-server-dom-webpack-node-register.js +9 -9
  10. package/cjs/react-server-dom-webpack-plugin.js +8 -8
  11. package/cjs/react-server-dom-webpack-server.browser.development.js +122 -142
  12. package/cjs/react-server-dom-webpack-server.browser.production.min.js +31 -31
  13. package/cjs/react-server-dom-webpack-server.edge.development.js +122 -142
  14. package/cjs/react-server-dom-webpack-server.edge.production.min.js +27 -27
  15. package/cjs/react-server-dom-webpack-server.node.development.js +122 -142
  16. package/cjs/react-server-dom-webpack-server.node.production.min.js +27 -27
  17. package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +122 -142
  18. package/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js +27 -27
  19. package/esm/{react-server-dom-webpack-node-loader.js → react-server-dom-webpack-node-loader.production.min.js} +4 -4
  20. package/package.json +4 -4
  21. package/umd/react-server-dom-webpack-client.browser.development.js +14 -10
  22. package/umd/react-server-dom-webpack-client.browser.production.min.js +14 -14
  23. package/umd/react-server-dom-webpack-server.browser.development.js +127 -146
  24. package/umd/react-server-dom-webpack-server.browser.production.min.js +42 -42
@@ -8,10 +8,10 @@
8
8
  * LICENSE file in the root directory of this source tree.
9
9
  */
10
10
  (function (global, factory) {
11
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('react-dom')) :
12
- typeof define === 'function' && define.amd ? define(['exports', 'react', 'react-dom'], factory) :
13
- (global = global || self, factory(global.ReactServerDOMServer = {}, global.React, global.ReactDOM));
14
- }(this, (function (exports, React, ReactDOM) { 'use strict';
11
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) :
12
+ typeof define === 'function' && define.amd ? define(['exports', 'react'], factory) :
13
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.ReactServerDOMServer = {}, global.React));
14
+ })(this, (function (exports, React) { 'use strict';
15
15
 
16
16
  var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
17
17
 
@@ -131,7 +131,7 @@
131
131
  function stringToChunk(content) {
132
132
  return textEncoder.encode(content);
133
133
  }
134
- var precomputedChunkSet = new Set() ;
134
+ var precomputedChunkSet = new Set() ;
135
135
  function stringToPrecomputedChunk(content) {
136
136
  var precomputedChunk = textEncoder.encode(content);
137
137
 
@@ -170,11 +170,6 @@
170
170
  // eslint-disable-next-line react-internal/prod-error-codes
171
171
  throw new Error('processErrorChunkProd should never be called while in development mode. Use processErrorChunkDev instead. This is a bug in React.');
172
172
  }
173
-
174
- var errorInfo = {
175
- digest: digest
176
- };
177
- var row = serializeRowHeader('E', id) + stringify(errorInfo) + '\n';
178
173
  }
179
174
  function processErrorChunkDev(request, id, digest, message, stack) {
180
175
 
@@ -289,11 +284,6 @@
289
284
  this.sanitizeURL = sanitizeURL;
290
285
  this.removeEmptyString = removeEmptyString;
291
286
  } // When adding attributes to this list, be sure to also add them to
292
- // the `possibleStandardNames` module to ensure casing and incorrect
293
- // name warnings.
294
-
295
-
296
- var properties = {}; // These props are reserved by React. They shouldn't be written to the DOM.
297
287
 
298
288
  var reservedProps = ['children', 'dangerouslySetInnerHTML', // TODO: This prevents the assignment of defaultValue to regular
299
289
  // elements (not just inputs). Now that ReactDOMInput assigns to the
@@ -302,7 +292,7 @@
302
292
 
303
293
  reservedProps.forEach(function (name) {
304
294
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
305
- properties[name] = new PropertyInfoRecord(name, RESERVED, false, // mustUseProperty
295
+ new PropertyInfoRecord(name, RESERVED, false, // mustUseProperty
306
296
  name, // attributeName
307
297
  null, // attributeNamespace
308
298
  false, // sanitizeURL
@@ -314,7 +304,7 @@
314
304
  var name = _ref[0],
315
305
  attributeName = _ref[1];
316
306
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
317
- properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
307
+ new PropertyInfoRecord(name, STRING, false, // mustUseProperty
318
308
  attributeName, // attributeName
319
309
  null, // attributeNamespace
320
310
  false, // sanitizeURL
@@ -325,7 +315,7 @@
325
315
 
326
316
  ['contentEditable', 'draggable', 'spellCheck', 'value'].forEach(function (name) {
327
317
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
328
- properties[name] = new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
318
+ new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
329
319
  name.toLowerCase(), // attributeName
330
320
  null, // attributeNamespace
331
321
  false, // sanitizeURL
@@ -337,7 +327,7 @@
337
327
 
338
328
  ['autoReverse', 'externalResourcesRequired', 'focusable', 'preserveAlpha'].forEach(function (name) {
339
329
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
340
- properties[name] = new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
330
+ new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
341
331
  name, // attributeName
342
332
  null, // attributeNamespace
343
333
  false, // sanitizeURL
@@ -349,7 +339,7 @@
349
339
  'autoFocus', 'autoPlay', 'controls', 'default', 'defer', 'disabled', 'disablePictureInPicture', 'disableRemotePlayback', 'formNoValidate', 'hidden', 'loop', 'noModule', 'noValidate', 'open', 'playsInline', 'readOnly', 'required', 'reversed', 'scoped', 'seamless', // Microdata
350
340
  'itemScope'].forEach(function (name) {
351
341
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
352
- properties[name] = new PropertyInfoRecord(name, BOOLEAN, false, // mustUseProperty
342
+ new PropertyInfoRecord(name, BOOLEAN, false, // mustUseProperty
353
343
  name.toLowerCase(), // attributeName
354
344
  null, // attributeNamespace
355
345
  false, // sanitizeURL
@@ -364,7 +354,7 @@
364
354
  // instead in the assignment below.
365
355
  ].forEach(function (name) {
366
356
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
367
- properties[name] = new PropertyInfoRecord(name, BOOLEAN, true, // mustUseProperty
357
+ new PropertyInfoRecord(name, BOOLEAN, true, // mustUseProperty
368
358
  name, // attributeName
369
359
  null, // attributeNamespace
370
360
  false, // sanitizeURL
@@ -377,7 +367,7 @@
377
367
  // instead in the assignment below.
378
368
  ].forEach(function (name) {
379
369
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
380
- properties[name] = new PropertyInfoRecord(name, OVERLOADED_BOOLEAN, false, // mustUseProperty
370
+ new PropertyInfoRecord(name, OVERLOADED_BOOLEAN, false, // mustUseProperty
381
371
  name, // attributeName
382
372
  null, // attributeNamespace
383
373
  false, // sanitizeURL
@@ -389,7 +379,7 @@
389
379
  // instead in the assignment below.
390
380
  ].forEach(function (name) {
391
381
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
392
- properties[name] = new PropertyInfoRecord(name, POSITIVE_NUMERIC, false, // mustUseProperty
382
+ new PropertyInfoRecord(name, POSITIVE_NUMERIC, false, // mustUseProperty
393
383
  name, // attributeName
394
384
  null, // attributeNamespace
395
385
  false, // sanitizeURL
@@ -398,7 +388,7 @@
398
388
 
399
389
  ['rowSpan', 'start'].forEach(function (name) {
400
390
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
401
- properties[name] = new PropertyInfoRecord(name, NUMERIC, false, // mustUseProperty
391
+ new PropertyInfoRecord(name, NUMERIC, false, // mustUseProperty
402
392
  name.toLowerCase(), // attributeName
403
393
  null, // attributeNamespace
404
394
  false, // sanitizeURL
@@ -421,7 +411,7 @@
421
411
  ].forEach(function (attributeName) {
422
412
  var name = attributeName.replace(CAMELIZE, capitalize); // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
423
413
 
424
- properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
414
+ new PropertyInfoRecord(name, STRING, false, // mustUseProperty
425
415
  attributeName, null, // attributeNamespace
426
416
  false, // sanitizeURL
427
417
  false);
@@ -433,7 +423,7 @@
433
423
  ].forEach(function (attributeName) {
434
424
  var name = attributeName.replace(CAMELIZE, capitalize); // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
435
425
 
436
- properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
426
+ new PropertyInfoRecord(name, STRING, false, // mustUseProperty
437
427
  attributeName, 'http://www.w3.org/1999/xlink', false, // sanitizeURL
438
428
  false);
439
429
  }); // String SVG attributes with the xml namespace.
@@ -444,7 +434,7 @@
444
434
  ].forEach(function (attributeName) {
445
435
  var name = attributeName.replace(CAMELIZE, capitalize); // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
446
436
 
447
- properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
437
+ new PropertyInfoRecord(name, STRING, false, // mustUseProperty
448
438
  attributeName, 'http://www.w3.org/XML/1998/namespace', false, // sanitizeURL
449
439
  false);
450
440
  }); // These attribute exists both in HTML and SVG.
@@ -453,22 +443,19 @@
453
443
 
454
444
  ['tabIndex', 'crossOrigin'].forEach(function (attributeName) {
455
445
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
456
- properties[attributeName] = new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
446
+ new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
457
447
  attributeName.toLowerCase(), // attributeName
458
448
  null, // attributeNamespace
459
449
  false, // sanitizeURL
460
450
  false);
461
451
  }); // These attributes accept URLs. These must not allow javascript: URLS.
462
- // These will also need to accept Trusted Types object in the future.
463
-
464
- var xlinkHref = 'xlinkHref'; // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
465
452
 
466
- properties[xlinkHref] = new PropertyInfoRecord('xlinkHref', STRING, false, // mustUseProperty
453
+ new PropertyInfoRecord('xlinkHref', STRING, false, // mustUseProperty
467
454
  'xlink:href', 'http://www.w3.org/1999/xlink', true, // sanitizeURL
468
455
  false);
469
456
  ['src', 'href', 'action', 'formAction'].forEach(function (attributeName) {
470
457
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
471
- properties[attributeName] = new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
458
+ new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
472
459
  attributeName.toLowerCase(), // attributeName
473
460
  null, // attributeNamespace
474
461
  true, // sanitizeURL
@@ -563,116 +550,112 @@
563
550
  var completeBoundaryWithStyles = '$RM=new Map;\n$RR=function(p,q,w){function r(l){this.s=l}for(var t=$RC,m=$RM,u=new Map,n=new Map,g=document,h,e,f=g.querySelectorAll("template[data-precedence]"),c=0;e=f[c++];){for(var b=e.content.firstChild;b;b=b.nextSibling)u.set(b.getAttribute("data-href"),b);e.parentNode.removeChild(e)}f=g.querySelectorAll("link[data-precedence],style[data-precedence]");for(c=0;e=f[c++];)m.set(e.getAttribute("STYLE"===e.nodeName?"data-href":"href"),e),n.set(e.dataset.precedence,h=e);e=0;f=[];for(var d,\nv,a;d=w[e++];){var k=0;b=d[k++];if(!(a=m.get(b))){if(a=u.get(b))c=a.getAttribute("data-precedence");else{a=g.createElement("link");a.href=b;a.rel="stylesheet";for(a.dataset.precedence=c=d[k++];v=d[k++];)a.setAttribute(v,d[k++]);d=a._p=new Promise(function(l,x){a.onload=l;a.onerror=x});d.then(r.bind(d,"l"),r.bind(d,"e"))}m.set(b,a);b=n.get(c)||h;b===h&&(h=a);n.set(c,a);b?b.parentNode.insertBefore(a,b.nextSibling):(c=g.head,c.insertBefore(a,c.firstChild))}d=a._p;c=a.getAttribute("media");!d||"l"===\nd.s||c&&!matchMedia(c).matches||f.push(d)}Promise.all(f).then(t.bind(null,p,q,""),t.bind(null,p,q,"Resource failed to load"))};';
564
551
  var completeSegment = '$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)};';
565
552
 
566
- var ReactDOMSharedInternals = ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
553
+ stringToPrecomputedChunk('"></template>');
554
+ stringToPrecomputedChunk('<script>');
555
+ stringToPrecomputedChunk('</script>');
556
+ stringToPrecomputedChunk('<script src="');
557
+ stringToPrecomputedChunk('<script type="module" src="');
558
+ stringToPrecomputedChunk('" integrity="');
559
+ stringToPrecomputedChunk('" async=""></script>');
567
560
 
568
- var ReactDOMCurrentDispatcher = ReactDOMSharedInternals.Dispatcher;
561
+ stringToPrecomputedChunk('<!-- -->');
569
562
 
570
- var dataElementQuotedEnd = stringToPrecomputedChunk('"></template>');
571
- var startInlineScript = stringToPrecomputedChunk('<script>');
572
- var endInlineScript = stringToPrecomputedChunk('</script>');
573
- var startScriptSrc = stringToPrecomputedChunk('<script src="');
574
- var startModuleSrc = stringToPrecomputedChunk('<script type="module" src="');
575
- var scriptIntegirty = stringToPrecomputedChunk('" integrity="');
576
- var endAsyncScript = stringToPrecomputedChunk('" async=""></script>');
563
+ stringToPrecomputedChunk(' style="');
564
+ stringToPrecomputedChunk(':');
565
+ stringToPrecomputedChunk(';');
577
566
 
578
- var textSeparator = stringToPrecomputedChunk('<!-- -->');
567
+ stringToPrecomputedChunk(' ');
568
+ stringToPrecomputedChunk('="');
569
+ stringToPrecomputedChunk('"');
570
+ stringToPrecomputedChunk('=""');
579
571
 
580
- var styleAttributeStart = stringToPrecomputedChunk(' style="');
581
- var styleAssign = stringToPrecomputedChunk(':');
582
- var styleSeparator = stringToPrecomputedChunk(';');
572
+ stringToPrecomputedChunk('>');
573
+ stringToPrecomputedChunk('/>');
583
574
 
584
- var attributeSeparator = stringToPrecomputedChunk(' ');
585
- var attributeAssign = stringToPrecomputedChunk('="');
586
- var attributeEnd = stringToPrecomputedChunk('"');
587
- var attributeEmptyString = stringToPrecomputedChunk('=""');
575
+ stringToPrecomputedChunk(' selected=""');
588
576
 
589
- var endOfStartTag = stringToPrecomputedChunk('>');
590
- var endOfStartTagSelfClosing = stringToPrecomputedChunk('/>');
577
+ stringToPrecomputedChunk('\n');
591
578
 
592
- var selectedMarkerAttribute = stringToPrecomputedChunk(' selected=""');
593
-
594
- var leadingNewline = stringToPrecomputedChunk('\n');
595
-
596
- var DOCTYPE = stringToPrecomputedChunk('<!DOCTYPE html>');
597
- var endTag1 = stringToPrecomputedChunk('</');
598
- var endTag2 = stringToPrecomputedChunk('>');
579
+ stringToPrecomputedChunk('<!DOCTYPE html>');
580
+ stringToPrecomputedChunk('</');
581
+ stringToPrecomputedChunk('>');
599
582
  // A placeholder is a node inside a hidden partial tree that can be filled in later, but before
600
583
  // display. It's never visible to users. We use the template tag because it can be used in every
601
584
  // type of parent. <script> tags also work in every other tag except <colgroup>.
602
585
 
603
- var placeholder1 = stringToPrecomputedChunk('<template id="');
604
- var placeholder2 = stringToPrecomputedChunk('"></template>');
605
-
606
- var startCompletedSuspenseBoundary = stringToPrecomputedChunk('<!--$-->');
607
- var startPendingSuspenseBoundary1 = stringToPrecomputedChunk('<!--$?--><template id="');
608
- var startPendingSuspenseBoundary2 = stringToPrecomputedChunk('"></template>');
609
- var startClientRenderedSuspenseBoundary = stringToPrecomputedChunk('<!--$!-->');
610
- var endSuspenseBoundary = stringToPrecomputedChunk('<!--/$-->');
611
- var clientRenderedSuspenseBoundaryError1 = stringToPrecomputedChunk('<template');
612
- var clientRenderedSuspenseBoundaryErrorAttrInterstitial = stringToPrecomputedChunk('"');
613
- var clientRenderedSuspenseBoundaryError1A = stringToPrecomputedChunk(' data-dgst="');
614
- var clientRenderedSuspenseBoundaryError1B = stringToPrecomputedChunk(' data-msg="');
615
- var clientRenderedSuspenseBoundaryError1C = stringToPrecomputedChunk(' data-stck="');
616
- var clientRenderedSuspenseBoundaryError2 = stringToPrecomputedChunk('></template>');
617
- var startSegmentHTML = stringToPrecomputedChunk('<div hidden id="');
618
- var startSegmentHTML2 = stringToPrecomputedChunk('">');
619
- var endSegmentHTML = stringToPrecomputedChunk('</div>');
620
- var startSegmentSVG = stringToPrecomputedChunk('<svg aria-hidden="true" style="display:none" id="');
621
- var startSegmentSVG2 = stringToPrecomputedChunk('">');
622
- var endSegmentSVG = stringToPrecomputedChunk('</svg>');
623
- var startSegmentMathML = stringToPrecomputedChunk('<math aria-hidden="true" style="display:none" id="');
624
- var startSegmentMathML2 = stringToPrecomputedChunk('">');
625
- var endSegmentMathML = stringToPrecomputedChunk('</math>');
626
- var startSegmentTable = stringToPrecomputedChunk('<table hidden id="');
627
- var startSegmentTable2 = stringToPrecomputedChunk('">');
628
- var endSegmentTable = stringToPrecomputedChunk('</table>');
629
- var startSegmentTableBody = stringToPrecomputedChunk('<table hidden><tbody id="');
630
- var startSegmentTableBody2 = stringToPrecomputedChunk('">');
631
- var endSegmentTableBody = stringToPrecomputedChunk('</tbody></table>');
632
- var startSegmentTableRow = stringToPrecomputedChunk('<table hidden><tr id="');
633
- var startSegmentTableRow2 = stringToPrecomputedChunk('">');
634
- var endSegmentTableRow = stringToPrecomputedChunk('</tr></table>');
635
- var startSegmentColGroup = stringToPrecomputedChunk('<table hidden><colgroup id="');
636
- var startSegmentColGroup2 = stringToPrecomputedChunk('">');
637
- var endSegmentColGroup = stringToPrecomputedChunk('</colgroup></table>');
638
- var completeSegmentScript1Full = stringToPrecomputedChunk(completeSegment + ';$RS("');
639
- var completeSegmentScript1Partial = stringToPrecomputedChunk('$RS("');
640
- var completeSegmentScript2 = stringToPrecomputedChunk('","');
641
- var completeSegmentScriptEnd = stringToPrecomputedChunk('")</script>');
642
- var completeSegmentData1 = stringToPrecomputedChunk('<template data-rsi="" data-sid="');
643
- var completeSegmentData2 = stringToPrecomputedChunk('" data-pid="');
644
- var completeBoundaryScript1Full = stringToPrecomputedChunk(completeBoundary + '$RC("');
645
- var completeBoundaryScript1Partial = stringToPrecomputedChunk('$RC("');
646
- var completeBoundaryWithStylesScript1FullBoth = stringToPrecomputedChunk(completeBoundary + completeBoundaryWithStyles + '$RR("');
647
- var completeBoundaryWithStylesScript1FullPartial = stringToPrecomputedChunk(completeBoundaryWithStyles + '$RR("');
648
- var completeBoundaryWithStylesScript1Partial = stringToPrecomputedChunk('$RR("');
649
- var completeBoundaryScript2 = stringToPrecomputedChunk('","');
650
- var completeBoundaryScript3a = stringToPrecomputedChunk('",');
651
- var completeBoundaryScript3b = stringToPrecomputedChunk('"');
652
- var completeBoundaryScriptEnd = stringToPrecomputedChunk(')</script>');
653
- var completeBoundaryData1 = stringToPrecomputedChunk('<template data-rci="" data-bid="');
654
- var completeBoundaryWithStylesData1 = stringToPrecomputedChunk('<template data-rri="" data-bid="');
655
- var completeBoundaryData2 = stringToPrecomputedChunk('" data-sid="');
656
- var completeBoundaryData3a = stringToPrecomputedChunk('" data-sty="');
657
- var clientRenderScript1Full = stringToPrecomputedChunk(clientRenderBoundary + ';$RX("');
658
- var clientRenderScript1Partial = stringToPrecomputedChunk('$RX("');
659
- var clientRenderScript1A = stringToPrecomputedChunk('"');
660
- var clientRenderErrorScriptArgInterstitial = stringToPrecomputedChunk(',');
661
- var clientRenderScriptEnd = stringToPrecomputedChunk(')</script>');
662
- var clientRenderData1 = stringToPrecomputedChunk('<template data-rxi="" data-bid="');
663
- var clientRenderData2 = stringToPrecomputedChunk('" data-dgst="');
664
- var clientRenderData3 = stringToPrecomputedChunk('" data-msg="');
665
- var clientRenderData4 = stringToPrecomputedChunk('" data-stck="');
666
-
667
- var styleTagTemplateOpen = stringToPrecomputedChunk('<template data-precedence="">');
668
- var styleTagTemplateClose = stringToPrecomputedChunk('</template>'); // Tracks whether we wrote any late style tags. We use this to determine
669
- var precedencePlaceholderStart = stringToPrecomputedChunk('<style data-precedence="');
670
- var precedencePlaceholderEnd = stringToPrecomputedChunk('"></style>');
671
-
672
- var arrayFirstOpenBracket = stringToPrecomputedChunk('[');
673
- var arraySubsequentOpenBracket = stringToPrecomputedChunk(',[');
674
- var arrayInterstitial = stringToPrecomputedChunk(',');
675
- var arrayCloseBracket = stringToPrecomputedChunk(']'); // This function writes a 2D array of strings to be embedded in javascript.
586
+ stringToPrecomputedChunk('<template id="');
587
+ stringToPrecomputedChunk('"></template>');
588
+
589
+ stringToPrecomputedChunk('<!--$-->');
590
+ stringToPrecomputedChunk('<!--$?--><template id="');
591
+ stringToPrecomputedChunk('"></template>');
592
+ stringToPrecomputedChunk('<!--$!-->');
593
+ stringToPrecomputedChunk('<!--/$-->');
594
+ stringToPrecomputedChunk('<template');
595
+ stringToPrecomputedChunk('"');
596
+ stringToPrecomputedChunk(' data-dgst="');
597
+ stringToPrecomputedChunk(' data-msg="');
598
+ stringToPrecomputedChunk(' data-stck="');
599
+ stringToPrecomputedChunk('></template>');
600
+ stringToPrecomputedChunk('<div hidden id="');
601
+ stringToPrecomputedChunk('">');
602
+ stringToPrecomputedChunk('</div>');
603
+ stringToPrecomputedChunk('<svg aria-hidden="true" style="display:none" id="');
604
+ stringToPrecomputedChunk('">');
605
+ stringToPrecomputedChunk('</svg>');
606
+ stringToPrecomputedChunk('<math aria-hidden="true" style="display:none" id="');
607
+ stringToPrecomputedChunk('">');
608
+ stringToPrecomputedChunk('</math>');
609
+ stringToPrecomputedChunk('<table hidden id="');
610
+ stringToPrecomputedChunk('">');
611
+ stringToPrecomputedChunk('</table>');
612
+ stringToPrecomputedChunk('<table hidden><tbody id="');
613
+ stringToPrecomputedChunk('">');
614
+ stringToPrecomputedChunk('</tbody></table>');
615
+ stringToPrecomputedChunk('<table hidden><tr id="');
616
+ stringToPrecomputedChunk('">');
617
+ stringToPrecomputedChunk('</tr></table>');
618
+ stringToPrecomputedChunk('<table hidden><colgroup id="');
619
+ stringToPrecomputedChunk('">');
620
+ stringToPrecomputedChunk('</colgroup></table>');
621
+ stringToPrecomputedChunk(completeSegment + ';$RS("');
622
+ stringToPrecomputedChunk('$RS("');
623
+ stringToPrecomputedChunk('","');
624
+ stringToPrecomputedChunk('")</script>');
625
+ stringToPrecomputedChunk('<template data-rsi="" data-sid="');
626
+ stringToPrecomputedChunk('" data-pid="');
627
+ stringToPrecomputedChunk(completeBoundary + '$RC("');
628
+ stringToPrecomputedChunk('$RC("');
629
+ stringToPrecomputedChunk(completeBoundary + completeBoundaryWithStyles + '$RR("');
630
+ stringToPrecomputedChunk(completeBoundaryWithStyles + '$RR("');
631
+ stringToPrecomputedChunk('$RR("');
632
+ stringToPrecomputedChunk('","');
633
+ stringToPrecomputedChunk('",');
634
+ stringToPrecomputedChunk('"');
635
+ stringToPrecomputedChunk(')</script>');
636
+ stringToPrecomputedChunk('<template data-rci="" data-bid="');
637
+ stringToPrecomputedChunk('<template data-rri="" data-bid="');
638
+ stringToPrecomputedChunk('" data-sid="');
639
+ stringToPrecomputedChunk('" data-sty="');
640
+ stringToPrecomputedChunk(clientRenderBoundary + ';$RX("');
641
+ stringToPrecomputedChunk('$RX("');
642
+ stringToPrecomputedChunk('"');
643
+ stringToPrecomputedChunk(',');
644
+ stringToPrecomputedChunk(')</script>');
645
+ stringToPrecomputedChunk('<template data-rxi="" data-bid="');
646
+ stringToPrecomputedChunk('" data-dgst="');
647
+ stringToPrecomputedChunk('" data-msg="');
648
+ stringToPrecomputedChunk('" data-stck="');
649
+
650
+ stringToPrecomputedChunk('<template data-precedence="">');
651
+ stringToPrecomputedChunk('</template>'); // Tracks whether we wrote any late style tags. We use this to determine
652
+ stringToPrecomputedChunk('<style data-precedence="');
653
+ stringToPrecomputedChunk('"></style>');
654
+
655
+ stringToPrecomputedChunk('[');
656
+ stringToPrecomputedChunk(',[');
657
+ stringToPrecomputedChunk(',');
658
+ stringToPrecomputedChunk(']'); // This function writes a 2D array of strings to be embedded in javascript.
676
659
 
677
660
  var rendererSigil;
678
661
 
@@ -861,8 +844,8 @@
861
844
  function getActiveContext() {
862
845
  return currentActiveSnapshot;
863
846
  }
864
- function readContext(context) {
865
- var value = context._currentValue ;
847
+ function readContext$1(context) {
848
+ var value = context._currentValue ;
866
849
  return value;
867
850
  }
868
851
 
@@ -999,7 +982,7 @@
999
982
  return state;
1000
983
  }
1001
984
 
1002
- function readContext$1(context) {
985
+ function readContext(context) {
1003
986
  {
1004
987
  if (context.$$typeof !== REACT_SERVER_CONTEXT_TYPE) {
1005
988
  if (isClientReference(context)) {
@@ -1014,7 +997,7 @@
1014
997
  }
1015
998
  }
1016
999
 
1017
- return readContext(context);
1000
+ return readContext$1(context);
1018
1001
  }
1019
1002
 
1020
1003
  var HooksDispatcher = {
@@ -1027,8 +1010,8 @@
1027
1010
  useDebugValue: function () {},
1028
1011
  useDeferredValue: unsupportedHook,
1029
1012
  useTransition: unsupportedHook,
1030
- readContext: readContext$1,
1031
- useContext: readContext$1,
1013
+ readContext: readContext,
1014
+ useContext: readContext,
1032
1015
  useReducer: unsupportedHook,
1033
1016
  useRef: unsupportedHook,
1034
1017
  useState: unsupportedHook,
@@ -1051,7 +1034,7 @@
1051
1034
 
1052
1035
  return data;
1053
1036
  },
1054
- use: use
1037
+ use: use
1055
1038
  };
1056
1039
 
1057
1040
  function unsupportedHook() {
@@ -1089,7 +1072,7 @@
1089
1072
  return trackUsedThenable(thenableState, thenable, index);
1090
1073
  } else if (usable.$$typeof === REACT_SERVER_CONTEXT_TYPE) {
1091
1074
  var context = usable;
1092
- return readContext$1(context);
1075
+ return readContext(context);
1093
1076
  }
1094
1077
  }
1095
1078
 
@@ -1751,7 +1734,7 @@
1751
1734
  var length = 0;
1752
1735
 
1753
1736
  if (isArray(objectOrArray)) {
1754
- if ( jsxChildrenParents.has(objectOrArray)) {
1737
+ if (jsxChildrenParents.has(objectOrArray)) {
1755
1738
  // Print JSX Children
1756
1739
  var type = jsxChildrenParents.get(objectOrArray);
1757
1740
  str = '<' + describeElementType(type) + '>';
@@ -1819,7 +1802,7 @@
1819
1802
  } else {
1820
1803
  if (objectOrArray.$$typeof === REACT_ELEMENT_TYPE) {
1821
1804
  str = '<' + describeElementType(objectOrArray.type) + '/>';
1822
- } else if ( jsxPropsParents.has(objectOrArray)) {
1805
+ } else if (jsxPropsParents.has(objectOrArray)) {
1823
1806
  // Print JSX
1824
1807
  var _type = jsxPropsParents.get(objectOrArray);
1825
1808
 
@@ -2172,7 +2155,7 @@
2172
2155
  }
2173
2156
 
2174
2157
  function emitErrorChunkProd(request, id, digest) {
2175
- var processedChunk = processErrorChunkProd(request, id, digest);
2158
+ var processedChunk = processErrorChunkProd();
2176
2159
  request.completedErrorChunks.push(processedChunk);
2177
2160
  }
2178
2161
 
@@ -2427,8 +2410,6 @@
2427
2410
  stack = _getErrorMessageAndSt6.stack;
2428
2411
 
2429
2412
  emitErrorChunkDev(request, errorId, digest, message, stack);
2430
- } else {
2431
- emitErrorChunkProd(request, errorId, digest);
2432
2413
  }
2433
2414
 
2434
2415
  abortableTasks.forEach(function (task) {
@@ -2503,4 +2484,4 @@
2503
2484
 
2504
2485
  exports.renderToReadableStream = renderToReadableStream;
2505
2486
 
2506
- })));
2487
+ }));