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