text: (function(){"use strict";function e(e,s,t){if(void 0===t&&(t=!1),e=String(e),s&&!/^\d{2} \d{3} \d{3} \d{3}$/.test(e))return!!t&&{success:!1,code:1,description:"ABN does not match the format 'XX XXX XXX XXX'"};var i=e.replace(/\s/g,"");if(11!==i.length)return!!t&&{success:!1,code:i.length<11?3:4,description:"ABN is "+(i.length<11?"less":"more")+" than 11 digits in length"};if(!/^\d+$/.test(i))return!!t&&{success:!1,code:2,description:"ABN contains non-numeric characters"};var n=i.split(""),c=[10,1,3,5,7,9,11,13,15,17,19];return n.reduce((function(e,s,t){return 0===t&&s--,e+parseInt(s,10)*c[t]}),0)%89==0?!t||{success:!0,code:0,description:"ABN is valid"}:!!t&&{success:!1,code:5,description:"ABN is not valid"}}"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=e),exports.isABN=e):this.isABN=e}).call(this);
  