import n from"../../warning.mjs";let t=0;class a{derivatives;id;constructor(r){this.derivatives=Array.isArray(r)?r:[r],this.id=t,r.length===0&&n(r.length>0),t+=1}getDerivativeToken(r){return this.derivatives.reduce((e,i)=>i(r,e),void 0)}}export{a as default};
