const r=(r,t)=>{const a=Number(r);return isNaN(a)?Number(t):a},t=r=>/^\d+(?:\.\d+)?%$/.test(r),a=(r,t,a)=>{let e=r;return"number"==typeof t&&(e=Math.max(t,e)),"number"==typeof a&&(e=Math.min(a,e)),e},e=(r,t)=>r+t,s=r=>r.split("").filter((r=>/\d/.test(r))).map((r=>Number(r))),n=(r,t)=>r.map(((r,a)=>{return t(a)?r:(e=2*r,Math.trunc(e/10)+e%10);var e})),u=r=>{const t=r.toString();return t.includes(".")?t.split(".")[1].length:0};export{n as a,u as b,r as c,t as i,s as m,a as n,e as s}