| 12962 | return ((s.subtreeFlags |= a), (s.childLanes = i), o) |
| 12963 | } |
| 12964 | function Ej(s, o, i) { |
| 12965 | var a = o.pendingProps |
| 12966 | switch ((wg(o), o.tag)) { |
| 12967 | case 2: |
| 12968 | case 16: |
| 12969 | case 15: |
| 12970 | case 0: |
| 12971 | case 11: |
| 12972 | case 7: |
| 12973 | case 8: |
| 12974 | case 12: |
| 12975 | case 9: |
| 12976 | case 14: |
| 12977 | return (S(o), null) |
| 12978 | case 1: |
| 12979 | case 17: |
| 12980 | return (Zf(o.type) && $f(), S(o), null) |
| 12981 | case 3: |
| 12982 | return ( |
| 12983 | (a = o.stateNode), |
| 12984 | zh(), |
| 12985 | E(En), |
| 12986 | E(Sn), |
| 12987 | Eh(), |
| 12988 | a.pendingContext && ((a.context = a.pendingContext), (a.pendingContext = null)), |
| 12989 | (null !== s && null !== s.child) || |
| 12990 | (Gg(o) |
| 12991 | ? (o.flags |= 4) |
| 12992 | : null === s || |
| 12993 | (s.memoizedState.isDehydrated && !(256 & o.flags)) || |
| 12994 | ((o.flags |= 1024), null !== Bn && (Fj(Bn), (Bn = null)))), |
| 12995 | Ss(s, o), |
| 12996 | S(o), |
| 12997 | null |
| 12998 | ) |
| 12999 | case 5: |
| 13000 | Bh(o) |
| 13001 | var u = xh(Qn.current) |
| 13002 | if (((i = o.type), null !== s && null != o.stateNode)) |
| 13003 | (Es(s, o, i, a, u), s.ref !== o.ref && ((o.flags |= 512), (o.flags |= 2097152))) |
| 13004 | else { |
| 13005 | if (!a) { |
| 13006 | if (null === o.stateNode) throw Error(p(166)) |
| 13007 | return (S(o), null) |
| 13008 | } |
| 13009 | if (((s = xh(Yn.current)), Gg(o))) { |
| 13010 | ;((a = o.stateNode), (i = o.type)) |
| 13011 | var _ = o.memoizedProps |
| 13012 | switch (((a[hn] = o), (a[dn] = _), (s = !!(1 & o.mode)), i)) { |
| 13013 | case 'dialog': |
| 13014 | ;(D('cancel', a), D('close', a)) |
| 13015 | break |
| 13016 | case 'iframe': |
| 13017 | case 'object': |
| 13018 | case 'embed': |
| 13019 | D('load', a) |
| 13020 | break |
| 13021 | case 'video': |