import{bz as T,bE as Q,cr as U,cs as B,ct as X,bA as Z,cu as z,bD as M,cv as V,cw as D,cx as k,cy as ee,cz as re,cA as $,cB as m,bF as G,cC as d,cD as K,cE as l,bG as te,bL as ne,cF as ae,bI as oe}from"./index-5JUn9q7T.js";var S=Object.create,se=(function(){function e(){}return function(r){if(!T(r))return{};if(S)return S(r);e.prototype=r;var t=new e;return e.prototype=void 0,t}})();function ce(e,r){var t=-1,a=e.length;for(r||(r=Array(a));++t<a;)r[t]=e[t];return r}function ie(e,r){for(var t=-1,a=e==null?0:e.length;++t<a&&r(e[t],t,e)!==!1;);return e}function y(e,r,t,a){var g=!t;t||(t={});for(var s=-1,o=r.length;++s<o;){var i=r[s],c=void 0;c===void 0&&(c=e[i]),g?Q(t,i,c):U(t,i,c)}return t}function fe(e){var r=[];if(e!=null)for(var t in Object(e))r.push(t);return r}var ue=Object.prototype,ge=ue.hasOwnProperty;function be(e){if(!T(e))return fe(e);var r=B(e),t=[];for(var a in e)a=="constructor"&&(r||!ge.call(e,a))||t.push(a);return t}function A(e){return Z(e)?X(e,!0):be(e)}var N=z(Object.getPrototypeOf,Object);function le(e,r){return e&&y(r,M(r),e)}function ye(e,r){return e&&y(r,A(r),e)}var _=typeof exports=="object"&&exports&&!exports.nodeType&&exports,x=_&&typeof module=="object"&&module&&!module.nodeType&&module,pe=x&&x.exports===_,I=pe?V.Buffer:void 0,E=I?I.allocUnsafe:void 0;function Te(e,r){if(r)return e.slice();var t=e.length,a=E?E(t):new e.constructor(t);return e.copy(a),a}function de(e,r){return y(e,D(e),r)}var Ae=Object.getOwnPropertySymbols,R=Ae?function(e){for(var r=[];e;)ee(r,D(e)),e=N(e);return r}:k;function je(e,r){return y(e,R(e),r)}function he(e){return re(e,A,R)}var ve=Object.prototype,Oe=ve.hasOwnProperty;function we(e){var r=e.length,t=new e.constructor(r);return r&&typeof e[0]=="string"&&Oe.call(e,"index")&&(t.index=e.index,t.input=e.input),t}function j(e){var r=new e.constructor(e.byteLength);return new $(r).set(new $(e)),r}function $e(e,r){var t=r?j(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.byteLength)}var me=/\w*$/;function Se(e){var r=new e.constructor(e.source,me.exec(e));return r.lastIndex=e.lastIndex,r}var C=m?m.prototype:void 0,F=C?C.valueOf:void 0;function xe(e){return F?Object(F.call(e)):{}}function Ie(e,r){var t=r?j(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}var Ee="[object Boolean]",Ce="[object Date]",Fe="[object Map]",Le="[object Number]",Pe="[object RegExp]",Ue="[object Set]",Be="[object String]",Me="[object Symbol]",De="[object ArrayBuffer]",Ge="[object DataView]",Ke="[object Float32Array]",Ne="[object Float64Array]",_e="[object Int8Array]",Re="[object Int16Array]",We="[object Int32Array]",Ye="[object Uint8Array]",qe="[object Uint8ClampedArray]",He="[object Uint16Array]",Je="[object Uint32Array]";function Qe(e,r,t){var a=e.constructor;switch(r){case De:return j(e);case Ee:case Ce:return new a(+e);case Ge:return $e(e,t);case Ke:case Ne:case _e:case Re:case We:case Ye:case qe:case He:case Je:return Ie(e,t);case Fe:return new a;case Le:case Be:return new a(e);case Pe:return Se(e);case Ue:return new a;case Me:return xe(e)}}function Xe(e){return typeof e.constructor=="function"&&!B(e)?se(N(e)):{}}var Ze="[object Map]";function ze(e){return G(e)&&d(e)==Ze}var L=l&&l.isMap,Ve=L?K(L):ze,ke="[object Set]";function er(e){return G(e)&&d(e)==ke}var P=l&&l.isSet,rr=P?K(P):er,tr=1,nr=2,ar=4,W="[object Arguments]",or="[object Array]",sr="[object Boolean]",cr="[object Date]",ir="[object Error]",Y="[object Function]",fr="[object GeneratorFunction]",ur="[object Map]",gr="[object Number]",q="[object Object]",br="[object RegExp]",lr="[object Set]",yr="[object String]",pr="[object Symbol]",Tr="[object WeakMap]",dr="[object ArrayBuffer]",Ar="[object DataView]",jr="[object Float32Array]",hr="[object Float64Array]",vr="[object Int8Array]",Or="[object Int16Array]",wr="[object Int32Array]",$r="[object Uint8Array]",mr="[object Uint8ClampedArray]",Sr="[object Uint16Array]",xr="[object Uint32Array]",n={};n[W]=n[or]=n[dr]=n[Ar]=n[sr]=n[cr]=n[jr]=n[hr]=n[vr]=n[Or]=n[wr]=n[ur]=n[gr]=n[q]=n[br]=n[lr]=n[yr]=n[pr]=n[$r]=n[mr]=n[Sr]=n[xr]=!0;n[ir]=n[Y]=n[Tr]=!1;function p(e,r,t,a,g,s){var o,i=r&tr,c=r&nr,H=r&ar;if(t&&(o=g?t(e,a,g,s):t(e)),o!==void 0)return o;if(!T(e))return e;var h=oe(e);if(h){if(o=we(e),!i)return ce(e,o)}else{var b=d(e),v=b==Y||b==fr;if(te(e))return Te(e,i);if(b==q||b==W||v&&!g){if(o=c||v?{}:Xe(e),!i)return c?je(e,ye(o,e)):de(e,le(o,e))}else{if(!n[b])return g?e:{};o=Qe(e,b,i)}}s||(s=new ne);var O=s.get(e);if(O)return O;s.set(e,o),rr(e)?e.forEach(function(f){o.add(p(f,r,t,f,e,s))}):Ve(e)&&e.forEach(function(f,u){o.set(u,p(f,r,t,u,e,s))});var J=H?c?he:ae:c?A:M,w=h?void 0:J(e);return ie(w||e,function(f,u){w&&(u=f,f=e[u]),U(o,u,p(f,r,t,u,e,s))}),o}export{ce as a,p as b,y as c,Te as d,Ie as e,N as f,he as g,Xe as i,A as k};
