/*! ATOOnline 2023-10-31, Copyright (c) 2023 Australian Taxation Office */ !function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.returnExports=e()}(this,function(){"use strict";function e(t){try{return t(),!1}catch(t){return!0}}function o(t){try{return t()}catch(t){return!1}}function c(t,e,r,n){!n&&e in t||(h?Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:!0,value:r}):t[e]=r)}function w(r,n,o){v(l(n),function(t){var e=n[t];c(r,t,e,!!o)})}function t(n,t){return!!Object.setPrototypeOf&&o(function(){function r(t){var e=new n(t);return Object.setPrototypeOf(e,r.prototype),e}return Object.setPrototypeOf(r,n),r.prototype=C(n.prototype,{constructor:{value:r}}),t(r)})}function i(){}function r(t){return"[object Arguments]"===O(t)}function a(t,e,r){var n=t[e];c(t,e,r,!0),P(t[e],n)}var n,u,s=Function.call.bind(Function.apply),j=Function.call.bind(Function.call),f=Array.isArray,l=Object.keys,p=(n=e,function(){return!s(n,this,arguments)}),h=!!Object.defineProperty&&!e(function(){Object.defineProperty({},"x",{get:function(){}})}),y="foo"===function(){}.name,v=Function.call.bind(Array.prototype.forEach),b=Function.call.bind(Array.prototype.reduce),g=Function.call.bind(Array.prototype.filter),d=Function.call.bind(Array.prototype.some),O=Function.call.bind(Object.prototype.toString),m="function"==typeof/abc/?function(t){return"function"==typeof t&&"[object Function]"===O(t)}:function(t){return"function"==typeof t},S=function(t,e,r){if(!h)throw new TypeError("getters require true ES5 support");Object.defineProperty(t,e,{configurable:!0,enumerable:!1,get:r})},T=function(e,r,t){if(!h)throw new TypeError("getters require true ES5 support");var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,{configurable:n.configurable,enumerable:n.enumerable,get:function(){return e[r]},set:function(t){e[r]=t}})},E=function(t,e,r){if(h){var n=Object.getOwnPropertyDescriptor(t,e);n.value=r,Object.defineProperty(t,e,n)}else t[e]=r},I=function(t,e,r){h?Object.defineProperty(t,e,r):"value"in r&&(t[e]=r.value)},P=function(t,e){e&&m(e.toString)&&c(t,"toString",e.toString.bind(e),!0)},C=Object.create||function(t,e){function r(){}r.prototype=t;var n=new r;return void 0!==e&&l(e).forEach(function(t){I(n,t,e[t])}),n},M=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw new Error("unable to locate global object")}(),x=M.isFinite,N=Function.call.bind(String.prototype.indexOf),A=Function.apply.bind(Array.prototype.indexOf),R=Function.call.bind(Array.prototype.concat),_=(Function.call.bind(Array.prototype.sort),Function.call.bind(String.prototype.slice)),k=Function.call.bind(Array.prototype.push),L=Function.apply.bind(Array.prototype.push),F=Function.call.bind(Array.prototype.shift),D=Math.max,z=Math.min,q=Math.floor,G=Math.abs,H=Math.exp,W=Math.log,V=Math.sqrt,$=Function.call.bind(Object.prototype.hasOwnProperty),B=M.Symbol||{},U=B.species||"@@species",J=Number.isNaN||function(t){return t!=t},X=Number.isFinite||function(t){return"number"==typeof t&&x(t)},Z=m(Math.sign)?Math.sign:function(t){var e=Number(t);return 0===e?e:J(e)?e:e<0?-1:1},Y=r(arguments)?r:function(t){return null!==t&&"object"==typeof t&&"number"==typeof t.length&&0<=t.length&&"[object Array]"!==O(t)&&"[object Function]"===O(t.callee)},K=function(t){return null===t||"function"!=typeof t&&"object"!=typeof t},Q=function(t){return null!==t&&"object"==typeof t},tt=function(t){return"[object String]"===O(t)},et=function(t){return"[object RegExp]"===O(t)},rt=function(t){return"function"==typeof M.Symbol&&"symbol"==typeof t},nt="function"==typeof B&&"function"==typeof B.for&&rt(B()),ot=rt(B.iterator)?B.iterator:"_es6-shim iterator_";M.Set&&"function"==typeof(new M.Set)["@@iterator"]&&(ot="@@iterator"),M.Reflect||c(M,"Reflect",{},!0);var it,at=M.Reflect,ut=String,ct={Call:function(t,e,r){var n=2>0},ToUint32:function(t){return ct.ToNumber(t)>>>0},ToNumber:function(t){if("[object Symbol]"===O(t))throw new TypeError("Cannot convert a Symbol value to a number");return+t},ToInteger:function(t){var e=ct.ToNumber(t);return J(e)?0:0!==e&&X(e)?(0Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:e},SameValue:function(t,e){return t===e?0!==t||1/t==1/e:J(t)&&J(e)},SameValueZero:function(t,e){return t===e||J(t)&&J(e)},IsIterable:function(t){return ct.TypeIsObject(t)&&(void 0!==t[ot]||Y(t))},GetIterator:function(t){if(Y(t))return new u(t,"value");var e=ct.GetMethod(t,ot);if(!ct.IsCallable(e))throw new TypeError("value is not an iterable");var r=ct.Call(e,t);if(!ct.TypeIsObject(r))throw new TypeError("bad iterator");return r},GetMethod:function(t,e){var r=ct.ToObject(t)[e];if(null!=r){if(!ct.IsCallable(r))throw new TypeError("Method not callable: "+e);return r}},IteratorComplete:function(t){return!!t.done},IteratorClose:function(t,e){var r=ct.GetMethod(t,"return");if(void 0!==r){var n,o;try{n=ct.Call(r,t)}catch(t){o=t}if(!e){if(o)throw o;if(!ct.TypeIsObject(n))throw new TypeError("Iterator's return method returned a non-object.")}}},IteratorNext:function(t){var e=1"+o+""},IsRegExp:function(t){if(!ct.TypeIsObject(t))return!1;var e=t[B.match];return void 0!==e?!!e:et(t)},ToString:function(t){return ut(t)}};if(h&&nt){var st=function(t){if(rt(B[t]))return B[t];var e=B.for("Symbol."+t);return Object.defineProperty(B,t,{configurable:!1,enumerable:!1,writable:!1,value:e}),e};if(!rt(B.search)){var ft=st("search"),lt=String.prototype.search;c(RegExp.prototype,ft,function(t){return ct.Call(lt,t,[this])});a(String.prototype,"search",function(t){var e=ct.RequireObjectCoercible(this);if(null!=t){var r=ct.GetMethod(t,ft);if(void 0!==r)return ct.Call(r,t,[e])}return ct.Call(lt,e,[ct.ToString(t)])})}if(!rt(B.replace)){var pt=st("replace"),ht=String.prototype.replace;c(RegExp.prototype,pt,function(t,e){return ct.Call(ht,t,[this,e])});a(String.prototype,"replace",function(t,e){var r=ct.RequireObjectCoercible(this);if(null!=t){var n=ct.GetMethod(t,pt);if(void 0!==n)return ct.Call(n,t,[r,e])}return ct.Call(ht,r,[ct.ToString(t),e])})}if(!rt(B.split)){var yt=st("split"),vt=String.prototype.split;c(RegExp.prototype,yt,function(t,e){return ct.Call(vt,t,[this,e])});a(String.prototype,"split",function(t,e){var r=ct.RequireObjectCoercible(this);if(null!=t){var n=ct.GetMethod(t,yt);if(void 0!==n)return ct.Call(n,t,[r,e])}return ct.Call(vt,r,[ct.ToString(t),e])})}var bt=rt(B.match),gt=bt&&((it={})[B.match]=function(){return 42},42!=="a".match(it));if(!bt||gt){var dt=st("match"),Ot=String.prototype.match;c(RegExp.prototype,dt,function(t){return ct.Call(Ot,t,[this])});a(String.prototype,"match",function(t){var e=ct.RequireObjectCoercible(this);if(null!=t){var r=ct.GetMethod(t,dt);if(void 0!==r)return ct.Call(r,t,[e])}return ct.Call(Ot,e,[ct.ToString(t)])})}}function mt(e,r,n){P(r,e),Object.setPrototypeOf&&Object.setPrototypeOf(e,r),h?v(Object.getOwnPropertyNames(e),function(t){t in i||n[t]||T(e,t,r)}):v(Object.keys(e),function(t){t in i||n[t]||(r[t]=e[t])}),r.prototype=e.prototype,E(e.prototype,"constructor",r)}function wt(){return this}function jt(t){h&&!$(t,U)&&S(t,U,wt)}function St(t,e){var r=e||function(){return this};c(t,ot,r),!t[ot]&&rt(ot)&&(t[ot]=r)}function Tt(t,e,r){if(function(t,e,r){h?Object.defineProperty(t,e,{configurable:!0,enumerable:!0,writable:!0,value:r}):t[e]=r}(t,e,r),!ct.SameValue(t[e],r))throw new TypeError("property is nonconfigurable")}function Et(t,e,r,n){if(!ct.TypeIsObject(t))throw new TypeError("Constructor requires `new`: "+e.name);var o=e.prototype;ct.TypeIsObject(o)||(o=r);var i=C(o);for(var a in n)if($(n,a)){var u=n[a];c(i,a,u,!0)}return i}if(String.fromCodePoint&&1!==String.fromCodePoint.length){var It=String.fromCodePoint;a(String,"fromCodePoint",function(t){return ct.Call(It,this,arguments)})}var Pt={fromCodePoint:function(t){for(var e,r=[],n=0,o=arguments.length;n>10))),k(r,String.fromCharCode(e%1024+56320)))}return r.join("")},raw:function(t){var e=ct.ToObject(t,"bad callSite"),r=ct.ToObject(e.raw,"bad raw value"),n=r.length,o=ct.ToLength(n);if(o<=0)return"";for(var i,a,u,c,s=[],f=0;f=t.length)return{value:this._s=void 0,done:!0};var r,n,o=t.charCodeAt(e);return n=o<55296||56319>>0)-1:0]=!0,o(function(){return j(t,r,function(){throw new RangeError("should not reach here")},[]),!0})}var Ut=-(Math.pow(2,32)-1);if(!Bt(Array.prototype.forEach)){var Jt=Array.prototype.forEach;a(Array.prototype,"forEach",function(t){return ct.Call(Jt,0<=this.length?this:[],arguments)})}if(!Bt(Array.prototype.map)){var Xt=Array.prototype.map;a(Array.prototype,"map",function(t){return ct.Call(Xt,0<=this.length?this:[],arguments)})}if(!Bt(Array.prototype.filter)){var Zt=Array.prototype.filter;a(Array.prototype,"filter",function(t){return ct.Call(Zt,0<=this.length?this:[],arguments)})}if(!Bt(Array.prototype.some)){var Yt=Array.prototype.some;a(Array.prototype,"some",function(t){return ct.Call(Yt,0<=this.length?this:[],arguments)})}if(!Bt(Array.prototype.every)){var Kt=Array.prototype.every;a(Array.prototype,"every",function(t){return ct.Call(Kt,0<=this.length?this:[],arguments)})}if(!Bt(Array.prototype.reduce)){var Qt=Array.prototype.reduce;a(Array.prototype,"reduce",function(t){return ct.Call(Qt,0<=this.length?this:[],arguments)})}if(!Bt(Array.prototype.reduceRight,!0)){var te=Array.prototype.reduceRight;a(Array.prototype,"reduceRight",function(t){return ct.Call(te,0<=this.length?this:[],arguments)})}var ee,re=8!==Number("0o10"),ne=2!==Number("0b10"),oe=d(_t,function(t){return 0===Number(t+0+t)});if(re||ne||oe){var ie=Number,ae=/^0b[01]+$/i,ue=/^0o[0-7]+$/i,ce=ae.test.bind(ae),se=ue.test.bind(ue),fe=kt.test.bind(kt),le=Lt.test.bind(Lt),pe=ee=function(t){var e;"string"==typeof(e=0>>16&65535)*i+o*(n>>>16&65535)<<16>>>0)|0},fround:function(t){var e=Number(t);if(0===e||e===1/0||e===-1/0||J(e))return e;var r=Z(e),n=G(e);if(n