import{U as e,p as t,h as r,l as n,S as a,q as o}from"./_initCloneObject.fb8fbaea.js";import{cj as i,S as c,ck as f,Q as u,O as s}from"./index.286e9b79.js";function l(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new i;++t<r;)this.add(e[t])}function v(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}l.prototype.add=l.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},l.prototype.has=function(e){return this.__data__.has(e)};var b=1,h=2;function p(e,t,r,n,a,o){var i=r&b,c=e.length,f=t.length;if(c!=f&&!(i&&f>c))return!1;var u=o.get(e),s=o.get(t);if(u&&s)return u==t&&s==e;var p=-1,_=!0,d=r&h?new l:void 0;for(o.set(e,t),o.set(t,e);++p<c;){var j=e[p],y=t[p];if(n)var g=i?n(y,j,p,t,e,o):n(j,y,p,e,t,o);if(void 0!==g){if(g)continue;_=!1;break}if(d){if(!v(t,(function(e,t){if(i=t,!d.has(i)&&(j===e||a(j,e,r,n,o)))return d.push(t);var i}))){_=!1;break}}else if(j!==y&&!a(j,y,r,n,o)){_=!1;break}}return o.delete(e),o.delete(t),_}function _(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}function d(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}var j=1,y=2,g="[object Boolean]",w="[object Date]",m="[object Error]",O="[object Map]",k="[object Number]",A="[object RegExp]",S="[object Set]",z="[object String]",E="[object Symbol]",L="[object ArrayBuffer]",x="[object DataView]",B=c?c.prototype:void 0,D=B?B.valueOf:void 0;var P=1,q=Object.prototype.hasOwnProperty;var C=1,M="[object Arguments]",N="[object Array]",Q="[object Object]",R=Object.prototype.hasOwnProperty;function U(i,c,s,l,v,b){var h=u(i),B=u(c),U=h?N:r(i),V=B?N:r(c),F=(U=U==M?Q:U)==Q,G=(V=V==M?Q:V)==Q,H=U==V;if(H&&n(i)){if(!n(c))return!1;h=!0,F=!1}if(H&&!F)return b||(b=new a),h||o(i)?p(i,c,s,l,v,b):function(t,r,n,a,o,i,c){switch(n){case x:if(t.byteLength!=r.byteLength||t.byteOffset!=r.byteOffset)return!1;t=t.buffer,r=r.buffer;case L:return!(t.byteLength!=r.byteLength||!i(new e(t),new e(r)));case g:case w:case k:return f(+t,+r);case m:return t.name==r.name&&t.message==r.message;case A:case z:return t==r+"";case O:var u=_;case S:var s=a&j;if(u||(u=d),t.size!=r.size&&!s)return!1;var l=c.get(t);if(l)return l==r;a|=y,c.set(t,r);var v=p(u(t),u(r),a,o,i,c);return c.delete(t),v;case E:if(D)return D.call(t)==D.call(r)}return!1}(i,c,U,s,l,v,b);if(!(s&C)){var I=F&&R.call(i,"__wrapped__"),J=G&&R.call(c,"__wrapped__");if(I||J){var K=I?i.value():i,T=J?c.value():c;return b||(b=new a),v(K,T,s,l,b)}}return!!H&&(b||(b=new a),function(e,r,n,a,o,i){var c=n&P,f=t(e),u=f.length;if(u!=t(r).length&&!c)return!1;for(var s=u;s--;){var l=f[s];if(!(c?l in r:q.call(r,l)))return!1}var v=i.get(e),b=i.get(r);if(v&&b)return v==r&&b==e;var h=!0;i.set(e,r),i.set(r,e);for(var p=c;++s<u;){var _=e[l=f[s]],d=r[l];if(a)var j=c?a(d,_,l,r,e,i):a(_,d,l,e,r,i);if(!(void 0===j?_===d||o(_,d,n,a,i):j)){h=!1;break}p||(p="constructor"==l)}if(h&&!p){var y=e.constructor,g=r.constructor;y==g||!("constructor"in e)||!("constructor"in r)||"function"==typeof y&&y instanceof y&&"function"==typeof g&&g instanceof g||(h=!1)}return i.delete(e),i.delete(r),h}(i,c,s,l,v,b))}function V(e,t,r,n,a){return e===t||(null==e||null==t||!s(e)&&!s(t)?e!=e&&t!=t:U(e,t,r,n,V,a))}function F(e,t){return V(e,t)}export{V as b,F as i};
