관리-도구
편집 파일: _baseClone.nbrz7zdx.js
import{D as y,E as p,S as $,h as F,F as b,G as x,i as G,H as N,c as R,x as v,b as K,q as W}from"./helpers.fdpg7vgg.js";import{a as q}from"./_arrayEach.n8ou32wp.js";import{k as E,d as h,s as H,a as V,e as Y,g as T,c as J}from"./_getTag.h6v5trhq.js";import{R as Q,T as C,U as X,V as Z,W as z}from"./index.nsvc8vqf.js";function k(r,t){return r&&y(t,E(t),r)}function rr(r,t){return r&&y(t,p(t),r)}function tr(r,t){return y(r,h(r),t)}var er=Object.getOwnPropertySymbols,L=er?function(r){for(var t=[];r;)V(t,h(r)),r=Q(r);return t}:H;function nr(r,t){return y(r,L(r),t)}function ar(r){return Y(r,p,L)}var or=Object.prototype,sr=or.hasOwnProperty;function cr(r){var t=r.length,a=new r.constructor(t);return t&&typeof r[0]=="string"&&sr.call(r,"index")&&(a.index=r.index,a.input=r.input),a}function ir(r,t){var a=t?C(r.buffer):r.buffer;return new r.constructor(a,r.byteOffset,r.byteLength)}var fr=/\w*$/;function ur(r){var t=new r.constructor(r.source,fr.exec(r));return t.lastIndex=r.lastIndex,t}var O=$?$.prototype:void 0,_=O?O.valueOf:void 0;function gr(r){return _?Object(_.call(r)):{}}var br="[object Boolean]",yr="[object Date]",lr="[object Map]",pr="[object Number]",Tr="[object RegExp]",jr="[object Set]",Ar="[object String]",mr="[object Symbol]",dr="[object ArrayBuffer]",Sr="[object DataView]",$r="[object Float32Array]",Or="[object Float64Array]",_r="[object Int8Array]",Ir="[object Int16Array]",wr="[object Int32Array]",Fr="[object Uint8Array]",xr="[object Uint8ClampedArray]",Er="[object Uint16Array]",hr="[object Uint32Array]";function Cr(r,t,a){var f=r.constructor;switch(t){case dr:return C(r);case br:case yr:return new f(+r);case Sr:return ir(r,a);case $r:case Or:case _r:case Ir:case wr:case Fr:case xr:case Er:case hr:return X(r,a);case lr:return new f;case pr:case Ar:return new f(r);case Tr:return ur(r);case jr:return new f;case mr:return gr(r)}}var Lr="[object Map]";function Ur(r){return F(r)&&T(r)==Lr}var I=b&&b.isMap,Br=I?x(I):Ur,Mr="[object Set]";function Pr(r){return F(r)&&T(r)==Mr}var w=b&&b.isSet,Dr=w?x(w):Pr,Gr=1,Nr=2,Rr=4,U="[object Arguments]",vr="[object Array]",Kr="[object Boolean]",Wr="[object Date]",qr="[object Error]",B="[object Function]",Hr="[object GeneratorFunction]",Vr="[object Map]",Yr="[object Number]",M="[object Object]",Jr="[object RegExp]",Qr="[object Set]",Xr="[object String]",Zr="[object Symbol]",zr="[object WeakMap]",kr="[object ArrayBuffer]",rt="[object DataView]",tt="[object Float32Array]",et="[object Float64Array]",nt="[object Int8Array]",at="[object Int16Array]",ot="[object Int32Array]",st="[object Uint8Array]",ct="[object Uint8ClampedArray]",it="[object Uint16Array]",ft="[object Uint32Array]",e={};e[U]=e[vr]=e[kr]=e[rt]=e[Kr]=e[Wr]=e[tt]=e[et]=e[nt]=e[at]=e[ot]=e[Vr]=e[Yr]=e[M]=e[Jr]=e[Qr]=e[Xr]=e[Zr]=e[st]=e[ct]=e[it]=e[ft]=!0;e[qr]=e[B]=e[zr]=!1;function l(r,t,a,f,j,s){var n,u=t&Gr,g=t&Nr,P=t&Rr;if(n!==void 0)return n;if(!G(r))return r;var A=K(r);if(A){if(n=cr(r),!u)return N(r,n)}else{var i=T(r),m=i==B||i==Hr;if(R(r))return Z(r,u);if(i==M||i==U||m&&!j){if(n=g||m?{}:z(r),!u)return g?nr(r,rr(n,r)):tr(r,k(n,r))}else{if(!e[i])return j?r:{};n=Cr(r,i,u)}}s||(s=new v);var d=s.get(r);if(d)return d;s.set(r,n),Dr(r)?r.forEach(function(o){n.add(l(o,t,a,o,r,s))}):Br(r)&&r.forEach(function(o,c){n.set(c,l(o,t,a,c,r,s))});var D=P?g?ar:J:g?p:E,S=A?void 0:D(r);return q(S||r,function(o,c){S&&(c=o,o=r[c]),W(n,c,l(o,t,a,c,r,s))}),n}export{l as b};