{"version":3,"sources":["webpack:///./node_modules/react-fast-compare/index.js"],"names":["isArray","Array","keyList","Object","keys","hasProp","prototype","hasOwnProperty","hasElementType","Element","module","exports","a","b","equal","i","length","key","arrA","arrB","dateA","Date","dateB","getTime","regexpA","RegExp","regexpB","toString","call","$$typeof","error","message","match","number","console","warn","name"],"mappings":"2FAEA,IAAIA,EAAUC,MAAMD,QAChBE,EAAUC,OAAOC,KACjBC,EAAUF,OAAOG,UAAUC,eAC3BC,EAAoC,oBAAZC,QAwE5BC,EAAOC,QAAU,SAAuBC,EAAGC,GACzC,IACE,OAxEJ,SAASC,EAAMF,EAAGC,GAEhB,GAAID,IAAMC,EAAG,OAAO,EAEpB,GAAID,GAAKC,GAAiB,iBAALD,GAA6B,iBAALC,EAAe,CAC1D,IAEIE,EACAC,EACAC,EAJAC,EAAOlB,EAAQY,GACfO,EAAOnB,EAAQa,GAKnB,GAAIK,GAAQC,EAAM,CAEhB,IADAH,EAASJ,EAAEI,SACGH,EAAEG,OAAQ,OAAO,EAC/B,IAAKD,EAAIC,EAAgB,GAARD,KACf,IAAKD,EAAMF,EAAEG,GAAIF,EAAEE,IAAK,OAAO,EACjC,OAAO,EAGT,GAAIG,GAAQC,EAAM,OAAO,EAEzB,IAAIC,EAAQR,aAAaS,KACrBC,EAAQT,aAAaQ,KACzB,GAAID,GAASE,EAAO,OAAO,EAC3B,GAAIF,GAASE,EAAO,OAAOV,EAAEW,WAAaV,EAAEU,UAE5C,IAAIC,EAAUZ,aAAaa,OACvBC,EAAUb,aAAaY,OAC3B,GAAID,GAAWE,EAAS,OAAO,EAC/B,GAAIF,GAAWE,EAAS,OAAOd,EAAEe,YAAcd,EAAEc,WAEjD,IAAIvB,EAAOF,EAAQU,GAGnB,IAFAI,EAASZ,EAAKY,UAECd,EAAQW,GAAGG,OACxB,OAAO,EAET,IAAKD,EAAIC,EAAgB,GAARD,KACf,IAAKV,EAAQuB,KAAKf,EAAGT,EAAKW,IAAK,OAAO,EAKxC,GAAIP,GAAkBI,aAAaH,SAAWI,aAAaJ,QACzD,OAAOG,IAAMC,EAGf,IAAKE,EAAIC,EAAgB,GAARD,KAEf,KAAY,YADZE,EAAMb,EAAKW,KACaH,EAAEiB,UAQnBf,EAAMF,EAAEK,GAAMJ,EAAEI,KAAO,OAAO,EAMvC,OAAO,EAGT,OAAOL,GAAMA,GAAKC,GAAMA,EAMfC,CAAMF,EAAGC,GAChB,MAAOiB,GACP,GAAKA,EAAMC,SAAWD,EAAMC,QAAQC,MAAM,sBAA2C,aAAlBF,EAAMG,OAOvE,OADAC,QAAQC,KAAK,mEAAoEL,EAAMM,KAAMN,EAAMC,UAC5F,EAGT,MAAMD","file":"npm.react-fast-compare.c920b4ddeb9b68365139.js","sourcesContent":["'use strict';\n\nvar isArray = Array.isArray;\nvar keyList = Object.keys;\nvar hasProp = Object.prototype.hasOwnProperty;\nvar hasElementType = typeof Element !== 'undefined';\n\nfunction equal(a, b) {\n // fast-deep-equal index.js 2.0.1\n if (a === b) return true;\n\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n var arrA = isArray(a)\n , arrB = isArray(b)\n , i\n , length\n , key;\n\n if (arrA && arrB) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;)\n if (!equal(a[i], b[i])) return false;\n return true;\n }\n\n if (arrA != arrB) return false;\n\n var dateA = a instanceof Date\n , dateB = b instanceof Date;\n if (dateA != dateB) return false;\n if (dateA && dateB) return a.getTime() == b.getTime();\n\n var regexpA = a instanceof RegExp\n , regexpB = b instanceof RegExp;\n if (regexpA != regexpB) return false;\n if (regexpA && regexpB) return a.toString() == b.toString();\n\n var keys = keyList(a);\n length = keys.length;\n\n if (length !== keyList(b).length)\n return false;\n\n for (i = length; i-- !== 0;)\n if (!hasProp.call(b, keys[i])) return false;\n // end fast-deep-equal\n\n // start react-fast-compare\n // custom handling for DOM elements\n if (hasElementType && a instanceof Element && b instanceof Element)\n return a === b;\n\n // custom handling for React\n for (i = length; i-- !== 0;) {\n key = keys[i];\n if (key === '_owner' && a.$$typeof) {\n // React-specific: avoid traversing React elements' _owner.\n // _owner contains circular references\n // and is not needed when comparing the actual elements (and not their owners)\n // .$$typeof and ._store on just reasonable markers of a react element\n continue;\n } else {\n // all other properties should be traversed as usual\n if (!equal(a[key], b[key])) return false;\n }\n }\n // end react-fast-compare\n\n // fast-deep-equal index.js 2.0.1\n return true;\n }\n\n return a !== a && b !== b;\n}\n// end fast-deep-equal\n\nmodule.exports = function exportedEqual(a, b) {\n try {\n return equal(a, b);\n } catch (error) {\n if ((error.message && error.message.match(/stack|recursion/i)) || (error.number === -2146828260)) {\n // warn on circular references, don't crash\n // browsers give this different errors name and messages:\n // chrome/safari: \"RangeError\", \"Maximum call stack size exceeded\"\n // firefox: \"InternalError\", too much recursion\"\n // edge: \"Error\", \"Out of stack space\"\n console.warn('Warning: react-fast-compare does not handle circular references.', error.name, error.message);\n return false;\n }\n // some other error. we should definitely know about these\n throw error;\n }\n};\n"],"sourceRoot":""}