(
s,
o,
i,
{
pure: a,
areStatesEqual: u = strictEqual,
areOwnPropsEqual: _ = shallowEqual,
areStatePropsEqual: w = shallowEqual,
areMergedPropsEqual: x = shallowEqual,
forwardRef: C = !1,
context: j = pO,
} = {}
)
| 56888 | function strictEqual(s, o) { |
| 56889 | return s === o |
| 56890 | } |
| 56891 | var dO = function connect( |
| 56892 | s, |
| 56893 | o, |
| 56894 | i, |
| 56895 | { |
| 56896 | pure: a, |
| 56897 | areStatesEqual: u = strictEqual, |
| 56898 | areOwnPropsEqual: _ = shallowEqual, |
| 56899 | areStatePropsEqual: w = shallowEqual, |
| 56900 | areMergedPropsEqual: x = shallowEqual, |
| 56901 | forwardRef: C = !1, |
| 56902 | context: j = pO, |
| 56903 | } = {} |
| 56904 | ) { |
| 56905 | const L = j, |
| 56906 | B = (function mapStateToPropsFactory(s) { |
| 56907 | return s |
| 56908 | ? 'function' == typeof s |
| 56909 | ? wrapMapToPropsFunc(s) |
| 56910 | : createInvalidArgFactory(s, 'mapStateToProps') |
| 56911 | : wrapMapToPropsConstant(() => ({})) |
| 56912 | })(s), |
| 56913 | $ = (function mapDispatchToPropsFactory(s) { |
| 56914 | return s && 'object' == typeof s |
| 56915 | ? wrapMapToPropsConstant((o) => |
| 56916 | (function react_redux_bindActionCreators(s, o) { |
| 56917 | const i = {} |
| 56918 | for (const a in s) { |
| 56919 | const u = s[a] |
| 56920 | 'function' == typeof u && (i[a] = (...s) => o(u(...s))) |
| 56921 | } |
| 56922 | return i |
| 56923 | })(s, o) |
| 56924 | ) |
| 56925 | : s |
| 56926 | ? 'function' == typeof s |
| 56927 | ? wrapMapToPropsFunc(s) |
| 56928 | : createInvalidArgFactory(s, 'mapDispatchToProps') |
| 56929 | : wrapMapToPropsConstant((s) => ({ dispatch: s })) |
| 56930 | })(o), |
| 56931 | U = (function mergePropsFactory(s) { |
| 56932 | return s |
| 56933 | ? 'function' == typeof s |
| 56934 | ? (function wrapMergePropsFunc(s) { |
| 56935 | return function initMergePropsProxy( |
| 56936 | o, |
| 56937 | { displayName: i, areMergedPropsEqual: a } |
| 56938 | ) { |
| 56939 | let u, |
| 56940 | _ = !1 |
| 56941 | return function mergePropsProxy(o, i, w) { |
| 56942 | const x = s(o, i, w) |
| 56943 | return (_ ? a(x, u) || (u = x) : ((_ = !0), (u = x)), u) |
| 56944 | } |
| 56945 | } |
| 56946 | })(s) |
| 56947 | : createInvalidArgFactory(s, 'mergeProps') |
no test coverage detected