import{bL as u,bg as C,bM as j,bN as E,bO as G,bP as N,bQ as R,bR as v,bS as h,bT as S,bU as K,bV as B,bW as l,bX as L,bY as y,bZ as W,b_ as Y,b$ as Q,c0 as V,c1 as X,c2 as Z,c3 as q,c4 as H,c5 as J}from"./index-DOFLUERq.js";import{a as z}from"./_arrayEach-DpGxo2Of.js";function k(r,e){return r&&u(e,C(e),r)}function rr(r,e){return r&&u(e,j(e),r)}function er(r,e){return u(r,E(r),e)}var tr=Object.getOwnPropertySymbols,M=tr?function(r){for(var e=[];r;)N(e,E(r)),r=R(r);return e}:G;function ar(r,e){return u(r,M(r),e)}function nr(r){return v(r,j,M)}var or=Object.prototype,cr=or.hasOwnProperty;function sr(r){var e=r.length,n=new r.constructor(e);return e&&typeof r[0]=="string"&&cr.call(r,"index")&&(n.index=r.index,n.input=r.input),n}function br(r,e){var n=e?h(r.buffer):r.buffer;return new r.constructor(n,r.byteOffset,r.byteLength)}var ir=/\w*$/;function gr(r){var e=new r.constructor(r.source,ir.exec(r));return e.lastIndex=r.lastIndex,e}var O=S?S.prototype:void 0,I=O?O.valueOf:void 0;function fr(r){return I?Object(I.call(r)):{}}var yr="[object Boolean]",ur="[object Date]",Tr="[object Map]",jr="[object Number]",lr="[object RegExp]",pr="[object Set]",Ar="[object String]",dr="[object Symbol]",$r="[object ArrayBuffer]",mr="[object DataView]",Sr="[object Float32Array]",Or="[object Float64Array]",Ir="[object Int8Array]",wr="[object Int16Array]",Fr="[object Int32Array]",Cr="[object Uint8Array]",Er="[object Uint8ClampedArray]",hr="[object Uint16Array]",Br="[object Uint32Array]";function Lr(r,e,n){var i=r.constructor;switch(e){case $r:return h(r);case yr:case ur:return new i(+r);case mr:return br(r,n);case Sr:case Or:case Ir:case wr:case Fr:case Cr:case Er:case hr:case Br:return K(r,n);case Tr:return new i;case jr:case Ar:return new i(r);case lr:return gr(r);case pr:return new i;case dr:return fr(r)}}var Mr="[object Map]";function Ur(r){return B(r)&&l(r)==Mr}var w=y&&y.isMap,xr=w?L(w):Ur,Pr="[object Set]";function _r(r){return B(r)&&l(r)==Pr}var F=y&&y.isSet,Dr=F?L(F):_r,Gr=1,Nr=2,Rr=4,U="[object Arguments]",vr="[object Array]",Kr="[object Boolean]",Wr="[object Date]",Yr="[object Error]",x="[object Function]",Qr="[object GeneratorFunction]",Vr="[object Map]",Xr="[object Number]",P="[object Object]",Zr="[object RegExp]",qr="[object Set]",Hr="[object String]",Jr="[object Symbol]",zr="[object WeakMap]",kr="[object ArrayBuffer]",re="[object DataView]",ee="[object Float32Array]",te="[object Float64Array]",ae="[object Int8Array]",ne="[object Int16Array]",oe="[object Int32Array]",ce="[object Uint8Array]",se="[object Uint8ClampedArray]",be="[object Uint16Array]",ie="[object Uint32Array]",t={};t[U]=t[vr]=t[kr]=t[re]=t[Kr]=t[Wr]=t[ee]=t[te]=t[ae]=t[ne]=t[oe]=t[Vr]=t[Xr]=t[P]=t[Zr]=t[qr]=t[Hr]=t[Jr]=t[ce]=t[se]=t[be]=t[ie]=!0;t[Yr]=t[x]=t[zr]=!1;function T(r,e,n,i,p,c){var a,g=e&Gr,f=e&Nr,_=e&Rr;if(a!==void 0)return a;if(!W(r))return r;var A=Z(r);if(A){if(a=sr(r),!g)return H(r,a)}else{var b=l(r),d=b==x||b==Qr;if(Y(r))return Q(r,g);if(b==P||b==U||d&&!p){if(a=f||d?{}:V(r),!g)return f?ar(r,rr(a,r)):er(r,k(a,r))}else{if(!t[b])return p?r:{};a=Lr(r,b,g)}}c||(c=new X);var $=c.get(r);if($)return $;c.set(r,a),Dr(r)?r.forEach(function(o){a.add(T(o,e,n,o,r,c))}):xr(r)&&r.forEach(function(o,s){a.set(s,T(o,e,n,s,r,c))});var D=_?f?nr:q:f?j:C,m=A?void 0:D(r);return z(m||r,function(o,s){m&&(s=o,o=r[s]),J(a,s,T(o,e,n,s,r,c))}),a}export{T as b};
