UNPKG

filepond

Version:

FilePond, where files go to stretch their bits.

39 lines (38 loc) • 673 B
/*! * FilePond v5.0.2 * Copyright (c) 2017-2026 Pqina B.V. * Released under the MIT License * https://filepond.com */ function e(i = 0, t = 0) { return { width: i, height: t }; } function n(i) { return { width: i.width, height: i.height }; } function u(i, t) { return i.width === t.width && i.height === t.height; } function d(i, t, h) { return i.width = t, i.height = h, i; } function r(i, t) { return i.width = t.width, i.height = t.height, i; } function w(i) { return i.width === 0 || i.height === 0; } export { e as sizeCreate, u as sizeEqual, n as sizeFromRect, w as sizeIsEmpty, d as sizeUpdate, r as sizeUpdateWithSize };