require(`../_virtual/_rolldown/runtime.cjs`);const e=require(`../functions/utils/amounts.utils.cjs`);let t=require(`ethers`),n=require(`circomlibjs-hinkal-fork`);var r=new class{poseidon=void 0;async init(){this.poseidon||=await(0,n.buildPoseidon)()}getPoseidon(){return this.poseidon}};function i(...t){let n=r.getPoseidon();return e.toBigInt(n.F.toString(n(t)))}var a=(...e)=>{let n=r.getPoseidon();return t.ethers.toBeHex(n.F.toString(n([...e])))};exports.poseidonFunction=i,exports.poseidonHash=a,exports.poseidonHolder=r;