"use strict";function T(){return!0}function fileToObject(e){return{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.filename||e.name,size:e.size,type:e.type,uid:e.uid,response:e.response,error:e.error,percent:0,originFileObj:e}}function genPercentAdd(){var r=.1;return function(e){var t=e;return.98<=t?t:(t+=r,(r-=.01)<.001&&(r=.001),100*t)}}function getFileItem(t,e){var r=void 0!==t.uid?"uid":"name";return e.filter(function(e){return e[r]===t[r]})[0]}function removeFileItem(t,e){var r=void 0!==t.uid?"uid":"name",i=e.filter(function(e){return e[r]!==t[r]});return i.length===e.length?null:i}Object.defineProperty(exports,"__esModule",{value:!0}),exports.T=T,exports.fileToObject=fileToObject,exports.genPercentAdd=genPercentAdd,exports.getFileItem=getFileItem,exports.removeFileItem=removeFileItem;