/*! * FilePondPluginImageValidateSize 1.0.4 * Licensed under MIT, https://opensource.org/licenses/MIT/ * Please visit https://pqina.nl/filepond/ for details. */ /* eslint-disable */ !function(r){"function"==typeof define&&define.amd?define(r):r()}(function(){"use strict";var r,e,t,n;Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(r){if(null==this)throw new TypeError('"this" is null or not defined');var e=Object(this),t=e.length>>>0;if("function"!=typeof r)throw new TypeError("predicate must be a function");for(var n=arguments[1],o=0;o>>0;if("function"!=typeof r)throw new TypeError("predicate must be a function");for(var n=arguments[1],o=0;o0?1:-1)*Math.floor(Math.abs(e)):e}(r);return Math.min(Math.max(e,0),t)},function(r){var t=Object(r);if(null==r)throw new TypeError("Array.from requires an array-like object - not null or undefined");var o,i=arguments.length>1?arguments[1]:void 0;if(void 0!==i){if(!e(i))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(o=arguments[2])}for(var f,a=n(t.length),u=e(this)?Object(new this(a)):new Array(a),l=0;l>>0;if(0===n)return!1;var o,i,f=0|e,a=Math.max(f>=0?f:n-Math.abs(f),0);for(;a>>0,n=arguments.length>=2?arguments[1]:void 0,o=0;o>>0;if("function"!=typeof r)throw new TypeError;for(arguments.length>1&&(t=e),n=0;n