'use strict';var i=typeof Element!="undefined",c=typeof Map=="function",l=typeof Set=="function",y=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function o(e,r){if(e===r)return  true;if(y&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer)&&(ArrayBuffer.isView(r)||r instanceof ArrayBuffer)){if(f=e.byteLength,f!=r.byteLength)return  false;let s=new Int32Array(e),a=new Int32Array(r);for(t=f;t--!==0;)if(s[t]!==a[t])return  false;return  true}if(e&&r&&typeof e=="object"&&typeof r=="object"){if(e.constructor!==r.constructor)return  false;var f,t,n;if(Array.isArray(e)){if(f=e.length,f!=r.length)return  false;for(t=f;t--!==0;)if(!o(e[t],r[t]))return  false;return  true}var u;if(c&&e instanceof Map&&r instanceof Map){if(e.size!==r.size)return  false;for(u=e.entries();!(t=u.next()).done;)if(!r.has(t.value[0]))return  false;for(u=e.entries();!(t=u.next()).done;)if(!o(t.value[1],r.get(t.value[0])))return  false;return  true}if(l&&e instanceof Set&&r instanceof Set){if(e.size!==r.size)return  false;for(u=e.entries();!(t=u.next()).done;)if(!r.has(t.value[0]))return  false;return  true}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof r.valueOf=="function")return e.valueOf()===r.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof r.toString=="function")return e.toString()===r.toString();if(n=Object.keys(e),f=n.length,f!==Object.keys(r).length)return  false;for(t=f;t--!==0;)if(!Object.prototype.hasOwnProperty.call(r,n[t]))return  false;if(i&&e instanceof Element)return  false;for(t=f;t--!==0;)if(!((n[t]==="_owner"||n[t]==="__v"||n[t]==="__o")&&e.$$typeof)&&!o(e[n[t]],r[n[t]]))return  false;return  true}return e!==e&&r!==r}function p(e,r){try{return o(e,r)}catch(f){}return  false}exports.areEquals=p;