/*! ATOGOV - SPA 2025-03-18, Copyright (c) 2025 Australian Taxation Office */ !function(h){h.reject=function(e){var u=h.extend(!0,{reject:{all:!1,msie:6},display:[],browserShow:!0,browserInfo:{chrome:{text:"Google Chrome",url:"http://www.google.com/chrome/"},firefox:{text:"Mozilla Firefox",url:"http://www.mozilla.com/firefox/"},safari:{text:"Safari",url:"http://www.apple.com/safari/download/"},opera:{text:"Opera",url:"http://www.opera.com/download/"},msie:{text:"Internet Explorer",url:"http://www.microsoft.com/windows/Internet-explorer/"}},header:"Did you know that your Internet Browser is out of date?",paragraph1:"Your browser is out of date, and may not be compatible with our website. A list of the most popular web browsers can be found below.",paragraph2:"Just click on the icons to get to the download page",close:!0,closeMessage:"By closing this window you acknowledge that your experience on this website may be degraded",closeLink:"Close This Window",closeURL:"#",closeESC:!0,closeCookie:!1,cookieSettings:{path:"/",expires:0},imagePath:"./images/",overlayBgColor:"#000",overlayOpacity:.8,fadeInTime:"fast",fadeOutTime:"fast",analytics:!1},e),o=(u.display.length<1&&(u.display=["chrome","firefox","safari","opera","msie"]),h.isFunction(u.beforeReject)&&u.beforeReject(),u.close||(u.closeESC=!1),function(e){var o=e[h.layout.name],r=e[h.browser.name];return!!(e.all||r&&(!0===r||h.browser.versionNumber<=r)||e[h.browser.className]||o&&(!0===o||h.layout.versionNumber<=o)||e[h.os.name])});if(!o(u.reject))return h.isFunction(u.onFail)&&u.onFail(),!1;if(u.close&&u.closeCookie){var r="jreject-close",t=function(e,o){var r,t,n;if(void 0!==o)return r="",0!==u.cookieSettings.expires&&((t=new Date).setTime(t.getTime()+1e3*u.cookieSettings.expires),r="; expires="+t.toGMTString()),n=u.cookieSettings.path||"/",document.cookie=e+"="+encodeURIComponent(o||"")+r+"; path="+n,!0;var i,a=null;if(document.cookie&&""!==document.cookie)for(var s=document.cookie.split(";"),c=s.length,d=0;d"+(""===u.paragraph1?"":"

"+u.paragraph1+"

")+(""===u.paragraph2?"":"

"+u.paragraph2+"

"),i=0;if(u.browserShow){for(var a in n+=""}n+='
'+(u.close?''+u.closeLink+"

"+u.closeMessage+"

":"")+"
";var d=h("
"+n+"
"),l=p(),m=w(),f=(d.bind("closejr",function(){if(!u.close)return!1;h.isFunction(u.beforeClose)&&u.beforeClose(),h(this).unbind("closejr"),h("#jr_overlay,#jr_wrap").fadeOut(u.fadeOutTime,function(){h(this).remove(),h.isFunction(u.afterClose)&&u.afterClose()});return h("embed.jr_hidden, object.jr_hidden, select.jr_hidden, applet.jr_hidden").show().removeClass("jr_hidden"),u.closeCookie&&t(r,"true"),!0}),function(e){return function(e){if(!u.analytics)return;var o=e.split(/\/+/g)[1];try{ga("send","event","External","Click",o,e)}catch(r){try{_gaq.push(["_trackEvent","External Links",o,e])}catch(r){}}}(e),window.open(e,"jr_"+Math.round(11*Math.random())),!1});return d.find("#jr_overlay").css({width:l[0],height:l[1],background:u.overlayBgColor,opacity:u.overlayOpacity}),d.find("#jr_wrap").css({top:m[1]+l[3]/4,left:m[0]}),d.find("#jr_inner").css({minWidth:100*i,maxWidth:140*i,width:"trident"==h.layout.name?155*i:"auto"}),d.find("#jr_inner li").css({background:'transparent url("'+u.imagePath+'background_browser.gif") no-repeat scroll left top'}),d.find("#jr_inner li .jr_icon").each(function(){var e=h(this);e.css("background","transparent url("+u.imagePath+"browser_"+e.parent("li").attr("id").replace(/jr_/,"")+".gif) no-repeat scroll left top"),e.click(function(){var e=h(this).next("div").children("a").attr("href");f(e)})}),d.find("#jr_inner li a").click(function(){return f(h(this).attr("href")),!1}),d.find("#jr_close a").click(function(){if(h(this).trigger("closejr"),"#"===u.closeURL)return!1}),h("#jr_overlay").focus(),h("embed, object, select, applet").each(function(){h(this).is(":visible")&&h(this).hide().addClass("jr_hidden")}),h("body").append(d.hide().fadeIn(u.fadeInTime)),h(window).bind("resize scroll",function(){var e=p(),o=(h("#jr_overlay").css({width:e[0],height:e[1]}),w());h("#jr_wrap").css({top:o[1]+e[3]/4,left:o[0]})}),u.closeESC&&h(document).bind("keydown",function(e){27==e.keyCode&&d.trigger("closejr")}),h.isFunction(u.afterReject)&&u.afterReject(),!0};var p=function(){var e=window.innerWidth&&window.scrollMaxX?window.innerWidth+window.scrollMaxX:document.body.scrollWidth>document.body.offsetWidth?document.body.scrollWidth:document.body.offsetWidth,o=window.innerHeight&&window.scrollMaxY?window.innerHeight+window.scrollMaxY:document.body.scrollHeight>document.body.offsetHeight?document.body.scrollHeight:document.body.offsetHeight,r=window.innerWidth||(document.documentElement&&document.documentElement.clientWidth?document.documentElement:document.body).clientWidth,t=window.innerHeight||(document.documentElement&&document.documentElement.clientHeight?document.documentElement:document.body).clientHeight;return[e