function e(e,t,n=`0`){let r=String(e);for(;r.length<t;)r=`${n}${e}`;return r}var t=(...e)=>e;function n(e){return e==null?[]:Array.isArray(e)?e:[e]}function r(e){let t={};return Object.keys(e).forEach(n=>{(n.startsWith(`data-`)||n.startsWith(`aria-`)||n===`role`||n===`name`)&&!n.startsWith(`data-__`)&&(t[n]=e[n])}),t}function i(e,t){return e?e[t]:null}function a(e,t,n){let r=[i(e,0),i(e,1)];return r[n]=typeof t==`function`?t(r[n]):t,!r[0]&&!r[1]?null:r}exports.default=r,exports.getValue=i,exports.leftPad=e,exports.toArray=n,exports.tuple=t,exports.updateValues=a;