51 lines
1.4 KiB
JavaScript
51 lines
1.4 KiB
JavaScript
// Metro module 3441 (f3442).
|
|
import * as _toDate from "./toDate";
|
|
import { __esModule } from "./toDate";
|
|
import * as _requiredArgs from "./requiredArgs";
|
|
let c1799_0, c1799_1;
|
|
const _typeof2 = function _typeof(a0) {
|
|
_typeof2 = typeof globalThis.Symbol === "function" && typeof Symbol.iterator === "symbol" ? function _typeof(a0) {
|
|
return typeof a0;
|
|
} : function _typeof(a0) {
|
|
return a0 && typeof globalThis.Symbol === "function" && a0.constructor === Symbol ? a0 === Symbol.prototype ? typeof a0 : "symbol" : typeof a0;
|
|
};
|
|
return _typeof2(a0);
|
|
};
|
|
export default function min(a0) {
|
|
let r13;
|
|
L9: {
|
|
(0, c1799_1.default)(1, arguments);
|
|
if (a0) {
|
|
const forEach = a0.forEach;
|
|
r13 = a0;
|
|
if (typeof forEach === "function") {
|
|
break L9;
|
|
}
|
|
}
|
|
if (!(_typeof2(a0) === "object" && a0 !== null)) {
|
|
return new Date(NaN);
|
|
}
|
|
r13 = Array.prototype.slice.call(a0);
|
|
}
|
|
let c13418_0;
|
|
r13.forEach(function(item) {
|
|
const r9 = (0, c1799_0.default)(item);
|
|
const r5 = c13418_0;
|
|
if (r5 === void 0 || r5 > r9 || isNaN(r9.getDate())) {
|
|
c13418_0 = r9;
|
|
}
|
|
});
|
|
return c13418_0 || new Date(NaN);
|
|
};
|
|
c1799_0 = _toDate ? __esModule ? _toDate : {
|
|
default: _toDate
|
|
} : {
|
|
default: _toDate
|
|
};
|
|
c1799_1 = _requiredArgs ? _requiredArgs.__esModule ? _requiredArgs : {
|
|
default: _requiredArgs
|
|
} : {
|
|
default: _requiredArgs
|
|
};
|
|
module.exports = exports.default;
|