export const __webpack_esm_id__=74128;export const __webpack_esm_ids__=[74128];export const __webpack_esm_modules__={74128(e,i,s){s.d(i,{q:()=>r});var t=s(71912);class r{constructor(){this.filesPrefixRegistry={}}buildPrefixesRegistry(e){e.filter(e=>"file"===e.type).forEach(e=>{const i=t.i.getFilenameAndExtension(e.name).filename,s=i.lastIndexOf("-");let r=s<0?0:i.substring(s+1),n=i.substring(0,s);if(s<0?(r=0,n=i):(r=i.substring(s+1),n=i.substring(0,s)),r){r=parseInt(r);const e=this.filesPrefixRegistry[n]||0;this.filesPrefixRegistry[n]=e<r?r:e}else this.filesPrefixRegistry[n]=0})}prefixDuplicates(e){return e.map(e=>{const{filename:i,extension:s}=t.i.getFilenameAndExtension(e.name),r=`${i}-${this.getIndexForFile(i)}.${s}`;return new File([e],r,{type:e.type,lastModified:e.lastModified})})}getIndexForFile(e){let i=this.filesPrefixRegistry[e];return void 0!==i?i++:i=0,this.filesPrefixRegistry[e]=i,i}}}};
//# sourceMappingURL=74128.1224bab920584ca6f9c6.bundle.js.map