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