| 952 | e.$$typeof === p || e.getModuleId !== void 0)); |
| 953 | } |
| 954 | function S(e, r) { |
| 955 | E(e) || l("memo: The first argument must be a component. Instead received: %s", e === null ? "null" : typeof e); |
| 956 | var a = { |
| 957 | $$typeof: Q, |
| 958 | type: e, |
| 959 | compare: r === void 0 ? null : r |
| 960 | }; |
| 961 | { |
| 962 | var o; |
| 963 | Object.defineProperty(a, "displayName", { |
| 964 | enumerable: !1, |
| 965 | configurable: !0, |
| 966 | get: function() { |
| 967 | return o; |
| 968 | }, |
| 969 | set: function(i) { |
| 970 | o = i, !e.name && !e.displayName && (e.displayName = i); |
| 971 | } |
| 972 | }); |
| 973 | } |
| 974 | return a; |
| 975 | } |
| 976 | function v() { |
| 977 | var e = me.current; |
| 978 | return e === null && l(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: |