/*! ATOGOV - SPA 2025-03-18, Copyright (c) 2025 Australian Taxation Office */ !function(t){"function"==typeof bootstrap?bootstrap("promise",t):"object"==typeof exports?module.exports=t():"function"==typeof define&&define.amd?define(t):"undefined"!=typeof ses?ses.ok()&&(ses.makeQ=t):Q=t()}(function(){"use strict";var c=!1;try{throw new Error}catch(U){c=!!U.stack}var i,s,t,n,e,r,o,u,p,I=z(),f=function(){};r=e={task:void 0,next:null},u=void 0,p=o=!1,s=function(t){r=r.next={task:t,domain:p&&process.domain,next:null},o||(o=!0,u())},u="undefined"!=typeof process&&process.nextTick?(p=!0,function(){process.nextTick(a)}):"function"==typeof setImmediate?"undefined"!=typeof window?setImmediate.bind(window,a):function(){setImmediate(a)}:"undefined"!=typeof MessageChannel?((t=new MessageChannel).port1.onmessage=function(){u=n,(t.port1.onmessage=a)()},n=function(){t.port2.postMessage(0)},function(){setTimeout(a,0),n()}):function(){setTimeout(a,0)};function a(){for(;e.next;){var t=(e=e.next).task,n=(e.task=void 0,e.domain);n&&(e.domain=void 0,n.enter());try{t()}catch(U){if(p)throw n&&n.exit(),setTimeout(a,0),n&&n.enter(),U;setTimeout(function(){throw U},0)}n&&n.exit()}o=!1}var M=Function.call;function l(t){return function(){return M.apply(t,arguments)}}var d,h,y=l(Array.prototype.slice),v=l(Array.prototype.reduce||function(t,n){var e=0,r=this.length;if(1===arguments.length)for(;;){if(e in this){n=this[e++];break}if(++e>=r)throw new TypeError}for(;e