| 12846 | (_.tailMode = u)) |
| 12847 | } |
| 12848 | function xj(s, o, i) { |
| 12849 | var a = o.pendingProps, |
| 12850 | u = a.revealOrder, |
| 12851 | _ = a.tail |
| 12852 | if ((Xi(s, o, a.children, i), 2 & (a = Zn.current))) |
| 12853 | ((a = (1 & a) | 2), (o.flags |= 128)) |
| 12854 | else { |
| 12855 | if (null !== s && 128 & s.flags) |
| 12856 | e: for (s = o.child; null !== s; ) { |
| 12857 | if (13 === s.tag) null !== s.memoizedState && vj(s, i, o) |
| 12858 | else if (19 === s.tag) vj(s, i, o) |
| 12859 | else if (null !== s.child) { |
| 12860 | ;((s.child.return = s), (s = s.child)) |
| 12861 | continue |
| 12862 | } |
| 12863 | if (s === o) break e |
| 12864 | for (; null === s.sibling; ) { |
| 12865 | if (null === s.return || s.return === o) break e |
| 12866 | s = s.return |
| 12867 | } |
| 12868 | ;((s.sibling.return = s.return), (s = s.sibling)) |
| 12869 | } |
| 12870 | a &= 1 |
| 12871 | } |
| 12872 | if ((G(Zn, a), 1 & o.mode)) |
| 12873 | switch (u) { |
| 12874 | case 'forwards': |
| 12875 | for (i = o.child, u = null; null !== i; ) |
| 12876 | (null !== (s = i.alternate) && null === Ch(s) && (u = i), (i = i.sibling)) |
| 12877 | ;(null === (i = u) |
| 12878 | ? ((u = o.child), (o.child = null)) |
| 12879 | : ((u = i.sibling), (i.sibling = null)), |
| 12880 | wj(o, !1, u, i, _)) |
| 12881 | break |
| 12882 | case 'backwards': |
| 12883 | for (i = null, u = o.child, o.child = null; null !== u; ) { |
| 12884 | if (null !== (s = u.alternate) && null === Ch(s)) { |
| 12885 | o.child = u |
| 12886 | break |
| 12887 | } |
| 12888 | ;((s = u.sibling), (u.sibling = i), (i = u), (u = s)) |
| 12889 | } |
| 12890 | wj(o, !0, i, null, _) |
| 12891 | break |
| 12892 | case 'together': |
| 12893 | wj(o, !1, null, null, void 0) |
| 12894 | break |
| 12895 | default: |
| 12896 | o.memoizedState = null |
| 12897 | } |
| 12898 | else o.memoizedState = null |
| 12899 | return o.child |
| 12900 | } |
| 12901 | function ij(s, o) { |
| 12902 | !(1 & o.mode) && |
| 12903 | null !== s && |