import{D as e,g as t,p as n,x as r}from"./_Uint8Array.DjkcCK1N.js";import{b as i,d as a,f as o,g as s,u as c}from"./_getTag.-mRH5aCm.js";import{l,u}from"./_initCloneObject.CsAKJ5eP.js";import{s as d}from"./_arrayIncludesWith.b4wEvreZ.js";import{a as f,n as p,r as m}from"./_baseEach.DRw6djL6.js";import{i as h,n as g}from"./last.BCKIXQQo.js";var _=/\s/;function v(e){for(var t=e.length;t--&&_.test(e.charAt(t)););return t}var y=/^\s+/;function b(e){return e&&e.slice(0,v(e)+1).replace(y,``)}var x=NaN,S=/^[-+]0x[0-9a-f]+$/i,C=/^0b[01]+$/i,w=/^0o[0-7]+$/i,T=parseInt;function E(e){if(typeof e==`number`)return e;if(i(e))return x;if(r(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=r(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=b(e);var n=C.test(e);return n||w.test(e)?T(e.slice(2),n?2:8):S.test(e)?x:+e}var D=1/0,O=17976931348623157e292;function k(e){return e?(e=E(e),e===D||e===-D?(e<0?-1:1)*O:e===e?e:0):e===0?e:0}function A(e){var t=k(e),n=t%1;return t===t?n?t-n:t:0}var j=1,M=4;function N(e){return g(e,j|M)}var P=function(){return e.Date.now()};function F(e){return function(t,r,i){var a=Object(t);if(!n(t)){var o=m(r,3);t=s(t),r=function(e){return o(a[e],e,a)}}var c=e(t,r,i);return c>-1?a[o?t[c]:c]:void 0}}var I=Math.max;function L(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var i=n==null?0:A(n);return i<0&&(i=I(r+i,0)),d(e,m(t,3),i)}var R=F(L);function z(e,t){var n={};return t=m(t,3),p(e,function(e,r,i){u(n,r,t(e,r,i))}),n}function B(e,n,i,s){if(!r(e))return e;n=o(n,e);for(var c=-1,u=n.length,d=u-1,f=e;f!=null&&++c<u;){var p=a(n[c]),m=i;if(p===`__proto__`||p===`constructor`||p===`prototype`)return e;if(c!=d){var h=f[p];m=s?s(h,p,f):void 0,m===void 0&&(m=r(h)?h:t(n[c+1])?[]:{})}l(f,p,m),f=f[p]}return e}function V(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var s=t[r],l=c(e,s);n(l,s)&&B(a,o(s,e),l)}return a}function H(e,t){return V(e,t,function(t,n){return f(e,n)})}var U=h(function(e,t){return e==null?{}:H(e,t)});export{R as a,N as c,E as d,b as f,z as i,A as l,V as n,L as o,B as r,P as s,U as t,k as u};