import{n as e,t}from"./utilityEvaluators-D7O7U3FY.js";import{t as n}from"./purryFromLazy-C1RBdBlx.js";function r(...e){return n(i,e)}function i(n){if(n.length===0)return e;let r=new Map;for(let e of n)r.set(e,(r.get(e)??0)+1);return e=>{let n=r.get(e);return n===void 0||n===0?t:(n===1?r.delete(e):r.set(e,n-1),{hasNext:!0,next:e,done:r.size===0})}}export{r as intersection};
//# sourceMappingURL=intersection.js.map