function a(t,r={}){let n=window.FleetCart.langs[t];for(let e in r)n=n.replace(`:${e}`,r[e]);return n}function o(t){return new Intl.NumberFormat(FleetCart.locale.replace("_","-"),{...FleetCart.locale==="ar"&&{numberingSystem:"arab"},style:"currency",currency:FleetCart.currency,minimumFractionDigits:2,maximumFractionDigits:2}).format(t)}function i(){const t=Math.floor(Math.random()*Date.now()).toString(36),r=Math.random().toString(36).substring(2,8);return(t+r).substring(0,12)}export{o as f,i as g,a as t};
