(function(e,d){typeof exports=="object"&&typeof module<"u"?d(exports):typeof define=="function"&&define.amd?define(["exports"],d):(e=typeof globalThis<"u"?globalThis:e||self,d(e.transdurex={}))})(this,function(e){"use strict";function d(u){return r=>(n,t)=>r(n,u(t))}function i(u){return r=>(n,t)=>u(t)?r(n,t):n}function f(...u){return u.reduce((r,n)=>(...t)=>r(n(...t)))}function c(u){return r=>n=>t=>t.reduce(u(r),n)}e.filterReducer=i,e.mapReducer=d,e.transduce=c,e.transducer=f,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});