"use strict";var a=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var l=(o,e)=>{for(var r in e)a(o,r,{get:e[r],enumerable:!0})},m=(o,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of p(e))!i.call(o,t)&&t!==r&&a(o,t,{get:()=>e[t],enumerable:!(n=d(e,t))||n.enumerable});return o};var g=o=>m(a({},"__esModule",{value:!0}),o);var y={};l(y,{ScureBase32Plugin:()=>s,base32:()=>u,default:()=>f});module.exports=g(y);var c=require("@scure/base"),s=class{name="scure";encode(e,r={}){let{padding:n=!1}=r,t=c.base32.encode(e);return n?t:t.replace(/=+$/,"")}decode(e){try{let r=e.toUpperCase(),n=r.padEnd(Math.ceil(r.length/8)*8,"=");return c.base32.decode(n)}catch(r){throw new Error(`Invalid Base32 string: ${r.message}`)}}},u=Object.freeze(new s),f=s;0&&(module.exports={ScureBase32Plugin,base32});
//# sourceMappingURL=index.cjs.map