@@ -64,10 +64,8 @@ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
64
64
REACT_MEMO_TYPE = Symbol . for ( "react.memo" ) ,
65
65
REACT_LAZY_TYPE = Symbol . for ( "react.lazy" ) ,
66
66
REACT_SCOPE_TYPE = Symbol . for ( "react.scope" ) ,
67
- REACT_DEBUG_TRACING_MODE_TYPE = Symbol . for ( "react.debug_trace_mode" ) ,
68
67
REACT_OFFSCREEN_TYPE = Symbol . for ( "react.offscreen" ) ,
69
68
REACT_LEGACY_HIDDEN_TYPE = Symbol . for ( "react.legacy_hidden" ) ,
70
- REACT_MEMO_CACHE_SENTINEL = Symbol . for ( "react.memo_cache_sentinel" ) ,
71
69
REACT_POSTPONE_TYPE = Symbol . for ( "react.postpone" ) ,
72
70
MAYBE_ITERATOR_SYMBOL = Symbol . iterator ,
73
71
ASYNC_ITERATOR = Symbol . asyncIterator ,
@@ -2668,16 +2666,16 @@ function createRenderState(resumableState, generateStaticMarkup) {
2668
2666
"\x3c/script>"
2669
2667
) ;
2670
2668
bootstrapScriptContent = idPrefix + "P:" ;
2671
- var JSCompiler_object_inline_segmentPrefix_1643 = idPrefix + "S:" ;
2669
+ var JSCompiler_object_inline_segmentPrefix_1640 = idPrefix + "S:" ;
2672
2670
idPrefix += "B:" ;
2673
- var JSCompiler_object_inline_preconnects_1657 = new Set ( ) ,
2674
- JSCompiler_object_inline_fontPreloads_1658 = new Set ( ) ,
2675
- JSCompiler_object_inline_highImagePreloads_1659 = new Set ( ) ,
2676
- JSCompiler_object_inline_styles_1660 = new Map ( ) ,
2677
- JSCompiler_object_inline_bootstrapScripts_1661 = new Set ( ) ,
2678
- JSCompiler_object_inline_scripts_1662 = new Set ( ) ,
2679
- JSCompiler_object_inline_bulkPreloads_1663 = new Set ( ) ,
2680
- JSCompiler_object_inline_preloads_1664 = {
2671
+ var JSCompiler_object_inline_preconnects_1654 = new Set ( ) ,
2672
+ JSCompiler_object_inline_fontPreloads_1655 = new Set ( ) ,
2673
+ JSCompiler_object_inline_highImagePreloads_1656 = new Set ( ) ,
2674
+ JSCompiler_object_inline_styles_1657 = new Map ( ) ,
2675
+ JSCompiler_object_inline_bootstrapScripts_1658 = new Set ( ) ,
2676
+ JSCompiler_object_inline_scripts_1659 = new Set ( ) ,
2677
+ JSCompiler_object_inline_bulkPreloads_1660 = new Set ( ) ,
2678
+ JSCompiler_object_inline_preloads_1661 = {
2681
2679
images : new Map ( ) ,
2682
2680
stylesheets : new Map ( ) ,
2683
2681
scripts : new Map ( ) ,
@@ -2714,7 +2712,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
2714
2712
scriptConfig . moduleScriptResources [ href ] = null ;
2715
2713
scriptConfig = [ ] ;
2716
2714
pushLinkImpl ( scriptConfig , props ) ;
2717
- JSCompiler_object_inline_bootstrapScripts_1661 . add ( scriptConfig ) ;
2715
+ JSCompiler_object_inline_bootstrapScripts_1658 . add ( scriptConfig ) ;
2718
2716
bootstrapChunks . push ( '<script src="' , escapeTextForBrowser ( src ) ) ;
2719
2717
"string" === typeof integrity &&
2720
2718
bootstrapChunks . push ( '" integrity="' , escapeTextForBrowser ( integrity ) ) ;
@@ -2755,7 +2753,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
2755
2753
( props . moduleScriptResources [ scriptConfig ] = null ) ,
2756
2754
( props = [ ] ) ,
2757
2755
pushLinkImpl ( props , integrity ) ,
2758
- JSCompiler_object_inline_bootstrapScripts_1661 . add ( props ) ,
2756
+ JSCompiler_object_inline_bootstrapScripts_1658 . add ( props ) ,
2759
2757
bootstrapChunks . push (
2760
2758
'<script type="module" src="' ,
2761
2759
escapeTextForBrowser ( i )
@@ -2770,7 +2768,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
2770
2768
bootstrapChunks . push ( '" async="">\x3c/script>' ) ;
2771
2769
return {
2772
2770
placeholderPrefix : bootstrapScriptContent ,
2773
- segmentPrefix : JSCompiler_object_inline_segmentPrefix_1643 ,
2771
+ segmentPrefix : JSCompiler_object_inline_segmentPrefix_1640 ,
2774
2772
boundaryPrefix : idPrefix ,
2775
2773
startInlineScript : "<script>" ,
2776
2774
htmlChunks : null ,
@@ -2790,14 +2788,14 @@ function createRenderState(resumableState, generateStaticMarkup) {
2790
2788
charsetChunks : [ ] ,
2791
2789
viewportChunks : [ ] ,
2792
2790
hoistableChunks : [ ] ,
2793
- preconnects : JSCompiler_object_inline_preconnects_1657 ,
2794
- fontPreloads : JSCompiler_object_inline_fontPreloads_1658 ,
2795
- highImagePreloads : JSCompiler_object_inline_highImagePreloads_1659 ,
2796
- styles : JSCompiler_object_inline_styles_1660 ,
2797
- bootstrapScripts : JSCompiler_object_inline_bootstrapScripts_1661 ,
2798
- scripts : JSCompiler_object_inline_scripts_1662 ,
2799
- bulkPreloads : JSCompiler_object_inline_bulkPreloads_1663 ,
2800
- preloads : JSCompiler_object_inline_preloads_1664 ,
2791
+ preconnects : JSCompiler_object_inline_preconnects_1654 ,
2792
+ fontPreloads : JSCompiler_object_inline_fontPreloads_1655 ,
2793
+ highImagePreloads : JSCompiler_object_inline_highImagePreloads_1656 ,
2794
+ styles : JSCompiler_object_inline_styles_1657 ,
2795
+ bootstrapScripts : JSCompiler_object_inline_bootstrapScripts_1658 ,
2796
+ scripts : JSCompiler_object_inline_scripts_1659 ,
2797
+ bulkPreloads : JSCompiler_object_inline_bulkPreloads_1660 ,
2798
+ preloads : JSCompiler_object_inline_preloads_1661 ,
2801
2799
stylesToHoist : ! 1 ,
2802
2800
generateStaticMarkup : generateStaticMarkup
2803
2801
} ;
@@ -3247,101 +3245,92 @@ function readPreviousThenableFromState() {
3247
3245
index
3248
3246
) ;
3249
3247
}
3250
- function unsupportedRefresh ( ) {
3251
- throw Error ( formatProdErrorMessage ( 393 ) ) ;
3252
- }
3253
3248
function noop$1 ( ) { }
3254
3249
var HooksDispatcher = {
3255
- readContext : function ( context ) {
3256
- return context . _currentValue2 ;
3257
- } ,
3258
- use : function ( usable ) {
3259
- if ( null !== usable && "object" === typeof usable ) {
3260
- if ( "function" === typeof usable . then ) return unwrapThenable ( usable ) ;
3261
- if ( usable . $$typeof === REACT_CONTEXT_TYPE ) return usable . _currentValue2 ;
3250
+ readContext : function ( context ) {
3251
+ return context . _currentValue2 ;
3252
+ } ,
3253
+ use : function ( usable ) {
3254
+ if ( null !== usable && "object" === typeof usable ) {
3255
+ if ( "function" === typeof usable . then ) return unwrapThenable ( usable ) ;
3256
+ if ( usable . $$typeof === REACT_CONTEXT_TYPE )
3257
+ return usable . _currentValue2 ;
3258
+ }
3259
+ throw Error ( formatProdErrorMessage ( 438 , String ( usable ) ) ) ;
3260
+ } ,
3261
+ useContext : function ( context ) {
3262
+ resolveCurrentlyRenderingComponent ( ) ;
3263
+ return context . _currentValue2 ;
3264
+ } ,
3265
+ useMemo : useMemo ,
3266
+ useReducer : useReducer ,
3267
+ useRef : function ( initialValue ) {
3268
+ currentlyRenderingComponent = resolveCurrentlyRenderingComponent ( ) ;
3269
+ workInProgressHook = createWorkInProgressHook ( ) ;
3270
+ var previousRef = workInProgressHook . memoizedState ;
3271
+ return null === previousRef
3272
+ ? ( ( initialValue = { current : initialValue } ) ,
3273
+ ( workInProgressHook . memoizedState = initialValue ) )
3274
+ : previousRef ;
3275
+ } ,
3276
+ useState : function ( initialState ) {
3277
+ return useReducer ( basicStateReducer , initialState ) ;
3278
+ } ,
3279
+ useInsertionEffect : noop$1 ,
3280
+ useLayoutEffect : noop$1 ,
3281
+ useCallback : function ( callback , deps ) {
3282
+ return useMemo ( function ( ) {
3283
+ return callback ;
3284
+ } , deps ) ;
3285
+ } ,
3286
+ useImperativeHandle : noop$1 ,
3287
+ useEffect : noop$1 ,
3288
+ useDebugValue : noop$1 ,
3289
+ useDeferredValue : function ( value , initialValue ) {
3290
+ resolveCurrentlyRenderingComponent ( ) ;
3291
+ return void 0 !== initialValue ? initialValue : value ;
3292
+ } ,
3293
+ useTransition : function ( ) {
3294
+ resolveCurrentlyRenderingComponent ( ) ;
3295
+ return [ ! 1 , unsupportedStartTransition ] ;
3296
+ } ,
3297
+ useId : function ( ) {
3298
+ var JSCompiler_inline_result = currentlyRenderingTask . treeContext ;
3299
+ var overflow = JSCompiler_inline_result . overflow ;
3300
+ JSCompiler_inline_result = JSCompiler_inline_result . id ;
3301
+ JSCompiler_inline_result =
3302
+ (
3303
+ JSCompiler_inline_result &
3304
+ ~ ( 1 << ( 32 - clz32 ( JSCompiler_inline_result ) - 1 ) )
3305
+ ) . toString ( 32 ) + overflow ;
3306
+ var resumableState = currentResumableState ;
3307
+ if ( null === resumableState ) throw Error ( formatProdErrorMessage ( 404 ) ) ;
3308
+ overflow = localIdCounter ++ ;
3309
+ JSCompiler_inline_result =
3310
+ ":" + resumableState . idPrefix + "R" + JSCompiler_inline_result ;
3311
+ 0 < overflow && ( JSCompiler_inline_result += "H" + overflow . toString ( 32 ) ) ;
3312
+ return JSCompiler_inline_result + ":" ;
3313
+ } ,
3314
+ useSyncExternalStore : function ( subscribe , getSnapshot , getServerSnapshot ) {
3315
+ if ( void 0 === getServerSnapshot )
3316
+ throw Error ( formatProdErrorMessage ( 407 ) ) ;
3317
+ return getServerSnapshot ( ) ;
3318
+ } ,
3319
+ useOptimistic : function ( passthrough ) {
3320
+ resolveCurrentlyRenderingComponent ( ) ;
3321
+ return [ passthrough , unsupportedSetOptimisticState ] ;
3322
+ } ,
3323
+ useActionState : useActionState ,
3324
+ useFormState : useActionState ,
3325
+ useHostTransitionStatus : function ( ) {
3326
+ resolveCurrentlyRenderingComponent ( ) ;
3327
+ return sharedNotPendingObject ;
3328
+ } ,
3329
+ useEffectEvent : function ( ) {
3330
+ return throwOnUseEffectEventCall ;
3262
3331
}
3263
- throw Error ( formatProdErrorMessage ( 438 , String ( usable ) ) ) ;
3264
3332
} ,
3265
- useContext : function ( context ) {
3266
- resolveCurrentlyRenderingComponent ( ) ;
3267
- return context . _currentValue2 ;
3268
- } ,
3269
- useMemo : useMemo ,
3270
- useReducer : useReducer ,
3271
- useRef : function ( initialValue ) {
3272
- currentlyRenderingComponent = resolveCurrentlyRenderingComponent ( ) ;
3273
- workInProgressHook = createWorkInProgressHook ( ) ;
3274
- var previousRef = workInProgressHook . memoizedState ;
3275
- return null === previousRef
3276
- ? ( ( initialValue = { current : initialValue } ) ,
3277
- ( workInProgressHook . memoizedState = initialValue ) )
3278
- : previousRef ;
3279
- } ,
3280
- useState : function ( initialState ) {
3281
- return useReducer ( basicStateReducer , initialState ) ;
3282
- } ,
3283
- useInsertionEffect : noop$1 ,
3284
- useLayoutEffect : noop$1 ,
3285
- useCallback : function ( callback , deps ) {
3286
- return useMemo ( function ( ) {
3287
- return callback ;
3288
- } , deps ) ;
3289
- } ,
3290
- useImperativeHandle : noop$1 ,
3291
- useEffect : noop$1 ,
3292
- useDebugValue : noop$1 ,
3293
- useDeferredValue : function ( value , initialValue ) {
3294
- resolveCurrentlyRenderingComponent ( ) ;
3295
- return void 0 !== initialValue ? initialValue : value ;
3296
- } ,
3297
- useTransition : function ( ) {
3298
- resolveCurrentlyRenderingComponent ( ) ;
3299
- return [ ! 1 , unsupportedStartTransition ] ;
3300
- } ,
3301
- useId : function ( ) {
3302
- var JSCompiler_inline_result = currentlyRenderingTask . treeContext ;
3303
- var overflow = JSCompiler_inline_result . overflow ;
3304
- JSCompiler_inline_result = JSCompiler_inline_result . id ;
3305
- JSCompiler_inline_result =
3306
- (
3307
- JSCompiler_inline_result &
3308
- ~ ( 1 << ( 32 - clz32 ( JSCompiler_inline_result ) - 1 ) )
3309
- ) . toString ( 32 ) + overflow ;
3310
- var resumableState = currentResumableState ;
3311
- if ( null === resumableState ) throw Error ( formatProdErrorMessage ( 404 ) ) ;
3312
- overflow = localIdCounter ++ ;
3313
- JSCompiler_inline_result =
3314
- ":" + resumableState . idPrefix + "R" + JSCompiler_inline_result ;
3315
- 0 < overflow && ( JSCompiler_inline_result += "H" + overflow . toString ( 32 ) ) ;
3316
- return JSCompiler_inline_result + ":" ;
3317
- } ,
3318
- useSyncExternalStore : function ( subscribe , getSnapshot , getServerSnapshot ) {
3319
- if ( void 0 === getServerSnapshot ) throw Error ( formatProdErrorMessage ( 407 ) ) ;
3320
- return getServerSnapshot ( ) ;
3321
- } ,
3322
- useCacheRefresh : function ( ) {
3323
- return unsupportedRefresh ;
3324
- } ,
3325
- useEffectEvent : function ( ) {
3326
- return throwOnUseEffectEventCall ;
3327
- } ,
3328
- useMemoCache : function ( size ) {
3329
- for ( var data = Array ( size ) , i = 0 ; i < size ; i ++ )
3330
- data [ i ] = REACT_MEMO_CACHE_SENTINEL ;
3331
- return data ;
3332
- } ,
3333
- useHostTransitionStatus : function ( ) {
3334
- resolveCurrentlyRenderingComponent ( ) ;
3335
- return sharedNotPendingObject ;
3336
- } ,
3337
- useOptimistic : function ( passthrough ) {
3338
- resolveCurrentlyRenderingComponent ( ) ;
3339
- return [ passthrough , unsupportedSetOptimisticState ] ;
3340
- }
3341
- } ;
3342
- HooksDispatcher . useFormState = useActionState ;
3343
- HooksDispatcher . useActionState = useActionState ;
3344
- var currentResumableState = null ,
3333
+ currentResumableState = null ,
3345
3334
DefaultAsyncDispatcher = {
3346
3335
getCacheForType : function ( ) {
3347
3336
throw Error ( formatProdErrorMessage ( 248 ) ) ;
@@ -3503,7 +3492,7 @@ function describeComponentStackByType(type) {
3503
3492
if ( "string" === typeof type ) return describeBuiltInComponentFrame ( type ) ;
3504
3493
if ( "function" === typeof type )
3505
3494
return type . prototype && type . prototype . isReactComponent
3506
- ? ( ( type = describeNativeComponentFrame ( type , ! 0 ) ) , type )
3495
+ ? describeNativeComponentFrame ( type , ! 0 )
3507
3496
: describeNativeComponentFrame ( type , ! 1 ) ;
3508
3497
if ( "object" === typeof type && null !== type ) {
3509
3498
switch ( type . $$typeof ) {
@@ -4071,7 +4060,6 @@ function renderElement(request, task, keyPath, type, props, ref) {
4071
4060
else {
4072
4061
switch ( type ) {
4073
4062
case REACT_LEGACY_HIDDEN_TYPE :
4074
- case REACT_DEBUG_TRACING_MODE_TYPE :
4075
4063
case REACT_STRICT_MODE_TYPE :
4076
4064
case REACT_PROFILER_TYPE :
4077
4065
case REACT_FRAGMENT_TYPE :
@@ -6060,4 +6048,4 @@ exports.renderToString = function (children, options) {
6060
6048
'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'
6061
6049
) ;
6062
6050
} ;
6063
- exports . version = "19.0 .0-experimental-372ec00c-20241209 " ;
6051
+ exports . version = "19.1 .0-experimental-ef979d47-20241218 " ;
0 commit comments