"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function a(e){let n=!1,l=e.length;const r=[];return e.length?new Promise((o,i)=>{e.forEach((u,s)=>{u.catch(t=>(n=!0,t)).then(t=>{l-=1,r[s]=t,!(l>0)&&(n&&i(r),o(r))})})}):Promise.resolve([])}exports.allPromiseFinish=a;
