md/assets/min-Bi8tGfsh.js

2 lines
1.4 KiB
JavaScript
Raw Normal View History

import{aP as x,aB as I,aQ as l,aR as w,aS as M,aT as m,aU as h,aG as O,aV as A,aW as E,aX as F,aY as N,aZ as P}from"./index-0tCg_rzL.js";import{c as p}from"./_baseUniq-O-q_K-Ow.js";var g=1/0,R=17976931348623157e292;function T(n){if(!n)return n===0?n:0;if(n=x(n),n===g||n===-g){var a=n<0?-1:1;return a*R}return n===n?n:0}function G(n){var a=T(n),r=a%1;return a===a?r?a-r:a:0}var b=Object.prototype,L=b.hasOwnProperty,V=I(function(n,a){n=Object(n);var r=-1,e=a.length,t=e>2?a[2]:void 0;for(t&&l(a[0],a[1],t)&&(e=1);++r<e;)for(var f=a[r],i=w(f),s=-1,d=i.length;++s<d;){var u=i[s],v=n[u];(v===void 0||M(v,b[u])&&!L.call(n,u))&&(n[u]=f[u])}return n});function W(n){var a=n==null?0:n.length;return a?n[a-1]:void 0}function S(n){return function(a,r,e){var t=Object(a);if(!m(a)){var f=h(r);a=O(a),r=function(s){return f(t[s],s,t)}}var i=n(a,r,e);return i>-1?t[f?a[i]:i]:void 0}}var X=Math.max;function Y(n,a,r){var e=n==null?0:n.length;if(!e)return-1;var t=r==null?0:G(r);return t<0&&(t=X(e+t,0)),A(n,h(a),t)}var Z=S(Y);function q(n,a){var r=-1,e=m(n)?Array(n.length):[];return p(n,function(t,f,i){e[++r]=a(t,f,i)}),e}function _(n,a){var r=E(n)?F:q;return r(n,h(a))}function B(n,a){return n<a}function C(n,a,r){for(var e=-1,t=n.length;++e<t;){var f=n[e],i=a(f);if(i!=null&&(s===void 0?i===i&&!N(i):r(i,s)))var s=i,d=f}return d}function o(n){return n&&n.length?C(n,P,B):void 0}export{B as a,C as b,q as c,o as d,V as e,Z as f,G as g,W as l,_ as m,T as t};