var e=new Intl.NumberFormat(`en-IN`,{style:`currency`,currency:`INR`,minimumFractionDigits:2,maximumFractionDigits:2});function t(t){let n=typeof t==`string`?Number(t):t;return n==null||Number.isNaN(n)?`—`:e.format(n)}function n(e){if(e==null||e===``)return`—`;let t=Number(e);return String(Number.isNaN(t)?e:t)}function r(e){if(!e)return`—`;let t=e instanceof Date?e:new Date(e);return Number.isNaN(t.getTime())?`—`:t.toLocaleDateString(`en-IN`,{day:`2-digit`,month:`short`,year:`numeric`})}function i(e){if(!e)return`—`;let t=e instanceof Date?e:new Date(e);return Number.isNaN(t.getTime())?`—`:t.toLocaleString(`en-IN`,{day:`2-digit`,month:`short`,year:`numeric`,hour:`2-digit`,minute:`2-digit`})}function a(e){let n=Number(e);return Number.isNaN(n)?`—`:`${n>0?`+`:n<0?`−`:``}${t(Math.abs(n))}`}export{n as a,a as i,r as n,i as r,t};