// Metro module 3527 (f3528). import * as _toDate from "./toDate"; import { __esModule } from "./toDate"; import * as _isValid from "./isValid"; import * as _addLeadingZeros from "./addLeadingZeros"; let c1879_0, c1879_1, c1879_2, _excluded, _excluded2; export default function formatRFC7231(a0) { if (arguments.length < 1) { throw new TypeError("1 arguments required, but only ".concat(arguments.length, " present")); } const r19 = (0, c1879_0.default)(a0); if ((0, c1879_1.default)(r19)) { const r12 = _excluded[r19.getUTCDay()]; const r11 = (0, c1879_2.default)(r19.getUTCDate(), 2); const r10 = _excluded2[r19.getUTCMonth()]; const uTCFullYear = r19.getUTCFullYear(); const r8 = (0, c1879_2.default)(r19.getUTCHours(), 2); const r44 = (0, c1879_2.default)(r19.getUTCMinutes(), 2); const r48 = (0, c1879_2.default)(r19.getUTCSeconds(), 2); return "".concat(r12, ", ").concat(r11, " ").concat(r10, " ").concat(uTCFullYear, " ").concat(r8, ":").concat(r44, ":").concat(r48, " GMT"); } throw new RangeError("Invalid time value"); }; c1879_0 = _toDate ? __esModule ? _toDate : { default: _toDate } : { default: _toDate }; c1879_1 = _isValid ? _isValid.__esModule ? _isValid : { default: _isValid } : { default: _isValid }; c1879_2 = _addLeadingZeros ? _addLeadingZeros.__esModule ? _addLeadingZeros : { default: _addLeadingZeros } : { default: _addLeadingZeros }; _excluded = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]; _excluded2 = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; module.exports = exports.default;