function deepExtend(r){r=r||{};for(var e=arguments.length,n=1;n=200&&i.status<400?(await g(),triggerEventCrossBrowser(window,"loadajax")):e.error&&e.error(i.responseText,i.status,e),ajaxPop(i)},i.onerror=function(){e.error&&e.error(i.responseText,i.status,e),ajaxPop(i)},e.abort&&(i.onabort=e.abort),"GET"===e.method?i.send():(t instanceof FormData||(i.setRequestHeader("Content-type","application/x-www-form-urlencoded"),t=httpBuildQuery(t)),i.send(t)),i.executePrecachedResult=function(){e.precacheOnly=!1,g()},i._showLoading=e.showLoading,g_arrAjaxRequests.push(i),e.showLoading&&ajaxShowLoading(e.showLoadingMessage),i}function ajaxAbort(e){e.abort(),ajaxPop(e)}function ajaxPop(e){var a=g_arrAjaxRequests.length;if(a>1){for(var t=0;t'+e+""),document.body.appendChild(a),a.classList.add("ajaxLoadingShow"),ajaxLoadingTimeout=null},400))}function ajaxHideLoading(){ajaxLoadingTimeout&&(clearTimeout(ajaxLoadingTimeout),ajaxLoadingTimeout=null);var e=document.getElementById("ajaxLoading");e&&(e.classList.add("ajaxLoadingHide"),ajaxLoadingHideTimeout&&clearTimeout(ajaxLoadingHideTimeout),ajaxLoadingHideTimeout=setTimeout(function(){e.parentNode&&e.parentNode.removeChild(e)},500))}async function ajaxEvalChunkedResponse(e){let a=0,t=[],n="\n\xa4\xa4\xa4\xa4\xa4\xa4\xa4\xa4\xa4\xa4\n\n",o=e.indexOf(n),r=0;for(;-1!==o;){let s=e.indexOf("\n"),i=e.substr(0,s),d=e.substr(s+1,o-s-1);if("js"==i)a?t.push(d):ajaxEvalResponse(d);else if("css"==i){let e=document.createElement("style");e.styleSheet?e.styleSheet.cssText=d:e.appendChild(document.createTextNode(d)),document.getElementsByTagName("head")[0].appendChild(e)}else if("cssRemote"==i){let e=JSON.parse(d);for(let a=0;a{let n=JSON.parse(d);for(let o=0;owindow.innerWidth-100&&t.offsetHeight>window.innerHeight-100&&t.classList.add("dialogBoxFullScreen");let e=void 0!==window.scrollY?window.scrollY:document.documentElement.scrollTop,i=Math.round(window.innerHeight/2.5-t.offsetHeight/2.5);if(i+=e,i=Math.max(e,i),t.style.top=i+"px","auto"===o.width&&(t.style.width="auto",t.style.left="auto",t.style.right="auto",t.style.left=window.innerWidth/2-t.offsetWidth/2+"px"),o.closable){t.addEventListener("keydown",function(e){27===e.keyCode&&(o.fnOnClose&&o.fnOnClose(),o.close())});let e=document.createElement("dialogboxclose");t.appendChild(e),e.addEventListener("click",function(){o.fnOnClose&&o.fnOnClose(),o.close()})}triggerEventCrossBrowser(window,"dialogboxopen")})}if(void 0!==this.noajax&&this.noajax)a();else{let e=null;this._GET&&(e=this._GET);let t=null;this.nSender&&(t=this.nSender),this.ajax(this.ajaxparams,e,function(){a(),o.onAjaxComplete&&setTimeout(function(){o.onAjaxComplete()},0)},t)}if(this.nSender){let e=this.nSender;for(;e=e.parentElement;)if(e.classList.contains("tableRow")){e.classList.add("tableRow-active"),t._dialogTableRow=e;break}if(this.nSender.parentNode&&this.nSender.parentNode.parentNode&&this.nSender.parentNode.parentNode._contextMenuTableRow){let e=this.nSender.parentNode.parentNode._contextMenuTableRow;e.classList.add("tableRow-active"),t._dialogTableRow=e}}t.style.zIndex=g_iDialogBoxZIndex+1,g_iDialogBoxZIndex+=2},DialogBox.prototype.close=function(){this.noajax=!1;let e=document.getElementById(this.id);if(!e||!e.classList.contains("dialogBoxOpen"))return;e.classList.remove("dialogBoxOpen"),e.classList.remove("dialogBoxFullScreen"),e.classList.add("dialogBoxClose");let o=document.getElementById(this.id+"_opened");o&&o.classList.remove("alwayspost");let t=e.previousSibling;t&&"dialogboxoverlay"===t.nodeName.toLowerCase()&&(t.classList.add("dialogBoxClose"),t.closeTimeout=setTimeout(function(){t.classList.remove("dialogBoxOpen"),t.parentNode&&t.parentNode.removeChild(t)},100)),setTimeout(function(){e.style.display="",e.innerHTML=""},100),triggerEventCrossBrowser(e,"close"),e._dialogTableRow&&e._dialogTableRow.classList.remove("tableRow-active"),g_iDialogBoxZIndex-=2},DialogBox.prototype.generateCacheKey=function(e,o){let t=this.id;return e&&(t+=httpBuildQuery(e)),o&&(t+=httpBuildQuery(o)),t},DialogBox.prototype.ajax=async function(e,o,t,i){let a=this.generateCacheKey(e,o);if(this.m_arrAJAXCache[a]){t&&this.m_arrAJAXCache[a].result?(await ajaxEvalChunkedResponse(this.m_arrAJAXCache[a].result),t(this.m_arrAJAXCache[a].result),delete this.m_arrAJAXCache[a],requestAnimationFrame(()=>{document.body.querySelector("#"+this.id+" *[autofocus]")?.focus()})):this.m_arrAJAXCache[a].fnSuccess=t;return}let l={};l.type="POST",l.url="/_public/Controls/Forms/DialogBox/dialogbox.php",l.dataIncludeURL=!0,l.dataIncludeJS=!0,l.dataIncludeCSS=!0,l.dataIncludeState=!0,l.evalResponse=!1,i&&(l.dataIncludeState=i),o&&(l._GET=o),l._POST={},l._POST.dialogid=this.id,l.ajaxparams=e;let s=this;l.success=async e=>{s.m_arrAJAXCache[a]&&(s.m_arrAJAXCache[a].fnSuccess?(await ajaxEvalChunkedResponse(e),s.m_arrAJAXCache[a].fnSuccess(e),delete s.m_arrAJAXCache[a],requestAnimationFrame(()=>{document.body.querySelector("#"+this.id+" *[autofocus]")?.focus()})):s.m_arrAJAXCache[a].result=e)},this.m_arrAJAXCache[a]={result:null,fnSuccess:t},ajaxRequest(l)},DialogBox.get=function(e){return g_arrDialogBoxes[e]},DialogBox.open=function(e,o){if(!g_arrDialogBoxes[e])throw"Could not find dialog box with id "+e;g_arrDialogBoxes[e].open(o)},DialogBox.cache=function(e,o,t){if(!g_arrDialogBoxes[e])throw"Could not find dialog box with id "+e;g_arrDialogBoxes[e].ajax(null,o,null,t)},DialogBox.close=function(e){if(!g_arrDialogBoxes[e])throw"Could not find dialog box with id "+e;g_arrDialogBoxes[e].close()},DialogBox.closeClosest=function(e){let o=getClosest(e,"dialogbox");o&&DialogBox.close(o.getAttribute("id"))},DialogBox.isOpen=function(e){if(!g_arrDialogBoxes[e])return!1;let o=document.getElementById(e);return!!o&&o.classList.contains("dialogBoxOpen")},DialogBox.linkCache=function(e){let o=e.getAttribute("data-dialog");DialogBox.cache(o,JSON.parse(e.getAttribute("data-dialogget")),e)},DialogBox.linkOpen=function(e){let o=DialogBox.get(e.getAttribute("data-dialog"));return o._GET=JSON.parse(e.getAttribute("data-dialogget")),o.nSender=e,o.open(),!1},window.addEventListener("ajaxNavigate",function(){for(let e in g_arrDialogBoxes)g_arrDialogBoxes[e].close()}); !function(){var t=/^hsla\(\s*([\d]{1,3})\s*\,\s*([\d]{1,3})%\s*,\s*([\d]{1,3})%\s*\,\s*(1|0\.[\d]+)\s*\)$/i,e=/^rgba\(\s*([\d]{1,3})\s*\,\s*([\d]{1,3})\s*\,\s*([\d]{1,3})\s*\,\s*(1|0\.[\d]+)\s*\)$/i,r=/^rgb\(\s*([\d]{1,3})\s*\,\s*([\d]{1,3})\s*\,\s*([\d]{1,3})\s*\)$/i,i=/^#([\da-f])([\da-f])([\da-f])$/i,a=/^#([\da-f]{2})([\da-f]{2})([\da-f]{2})$/i;function s(t,e,r){function i(t,e,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?t+(e-t)*6*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}if(t/=360,r/=100,e/=100){var a,s,n,o=r<.5?r*(1+e):r+e-r*e,l=2*r-o;a=i(l,o,t+1/3),s=i(l,o,t),n=i(l,o,t-1/3)}else a=s=n=r;return{r:Math.round(255*a),g:Math.round(255*s),b:Math.round(255*n)}}function n(t,e,r){var i,a,s=Math.max(t/=255,e/=255,r/=255),n=Math.min(t,e,r),o=(s+n)/2;if(s==n)i=0,a=0;else{var l=s-n;switch(a=o>.5?l/(2-s-n):l/(s+n),s){case t:i=(e-r)/l+(e=50?"rgba(0,0,0,1)":"rgba(255,255,255,1)")},o.prototype.createGradient=function(){var t=(this.h-25+360)%360,e=Math.min(Math.max(this.s-20,50),100),r=Math.min(Math.max(this.l+10,0),100),i=new o;return i.setHSLA(t,e,r,1),{strStartColor:this.getRGBAString(),strEndColor:i.getRGBAString(),bLightFont:128>this.getRelativeLuminance()}},o.prototype.createAnalogousPallate=function(){let t={},e=this.clone();e.hueShift(-30);let r=this.clone();return r.hueShift(30),t.pPrimary=this,t.pSecondary=e,t.pTertiary=r,t},o.prototype.createTriadicPallate=function(){let t={},e=this.clone();e.hueShift(-120);let r=this.clone();return r.hueShift(120),t.pPrimary=this,t.pSecondary=e,t.pTertiary=r,t},o.prototype.createSplitComplementaryPallate=function(){let t={},e=this.clone();e.hueShift(-72);let r=this.clone();return r.hueShift(72),t.pPrimary=this,t.pSecondary=e,t.pTertiary=r,t},window.Color=o}(),function(){let t={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#00FFFF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blue:"#0000FF",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgrey:"#A9A9A9",darkgreen:"#006400",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#FF00FF",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgrey:"#D3D3D3",lightgreen:"#90EE90",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#00FF00",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#FF0000",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFFFFF",whitesmoke:"#F5F5F5",yellow:"#FFFF00",yellowgreen:"#9ACD32"};window.CSSColorNames={getHexForName:function(e){return e&&t[e.toLowerCase()]||null}}}(); !function(){let t={LIST_ITEM_OPEN:"s8-navigationPrimaryLI-open",MOBILE_CLOSE_SHOW:"s8-navigationPrimary__mobileCloseButton--show",DISPLAY_STATE_MOBILE:"s8-navigationPrimary--displayStateMobile",DISPLAY_STATE_MOBILE_IS_OPEN:"s8-navigationPrimary--displayStateMobile-open"};function e(t,e){this.config={bOpenOnHover:e.bOpenOnHover,strOrientation:e.strOrientation,bPreventWrap:e.bPreventWrap,pMobileMediaQuery:window.matchMedia(`(max-width: ${parseInt(e.iMobileBreakPoint)}px)`)},this.classlicurrent=e.classlicurrent||"active",this.pNavList=new i(t),this.nMobileMenuUL=this.pNavList.getListNode().previousElementSibling,this.mouseoutCloseTimer=null,this.mobileMenuCloseTimer=null,this.init()}function i(t){this.nList=t,this.arrListItems=[],this.init()}function n(t){this.nListItem=t,t._pListItem=this,this.nLink=t.querySelector("a"),this.pSubNavList=null,this.init()}window.PrimaryNavigation=e,e.prototype={init:function(){let t=this.pNavList.getListNode();this.nMobileCloseButton=document.createElement("div"),this.nMobileCloseButton.classList.add("s8-navigationPrimary__mobileCloseButton"),this.nMobileCloseButton.setAttribute("tabindex","0"),t.parentElement.appendChild(this.nMobileCloseButton),this._fixColors(),this._bindInteractions();let e=null;"function"==typeof Event?e=new Event("initialised"):(e=document.createEvent("Event")).initEvent("initialised",!0,!0),t.dispatchEvent(e)},_bindInteractions:function(){for(let t=0,e=Object.keys(this.interactions);t50?t.classList.add("s8-navigationPrimary--fallback-bg-black"):t.classList.add("s8-navigationPrimary--fallback-bg-white"));let i=t.querySelector("ul");if(i){let e=window.getComputedStyle(i);("rgba(0, 0, 0, 0)"===e.backgroundColor||"transparent"===e.backgroundColor)&&(new Color(e.color).getRelativeLuminance()>50?t.classList.add("s8-navigationPrimary--fallback-submenus-bg-black"):t.classList.add("s8-navigationPrimary--fallback-submenus-bg-white"))}},_widthIsTooSmallForListItems:function(){let t=this.pNavList.getListNode();return t.scrollWidth>t.clientWidth}},i.prototype={init:function(){for(let t=0;t0;){i.pop();let t="/"+i.join("/")+"/";this.arrListItems.some(function(i){return e=i.getLinkByhref(t)})}}return e},setActiveLink:function(t,e){this.arrListItems.forEach(function(i){i.nLink===t||i.pSubNavList&&i.pSubNavList.getLinkByhref(t.href)?i.setActive(!0,e):i.setActive(!1,e)})},inMobileDisplay:function(){return this.nList.classList.contains(t.DISPLAY_STATE_MOBILE)}},n.prototype={init:function(){let t=this.nListItem.querySelector("ul");t&&(this.pSubNavList=new i(t))},open:function(){this.isOpen()||this.nListItem.classList.add(t.LIST_ITEM_OPEN)},close:function(){this.isOpen()&&this.nListItem.classList.remove(t.LIST_ITEM_OPEN),this.pSubNavList&&this.pSubNavList.closeAll()},isOpen:function(){return!this.pSubNavList||this.nListItem.classList.contains(t.LIST_ITEM_OPEN)},contains:function(t){return this.nListItem.contains(t.nListItem)},setActive:function(t,e){this.nListItem.classList[t?"add":"remove"](e),this.pSubNavList&&this.pSubNavList.arrListItems.forEach(function(i){i.setActive(t,e)})},getLinkByhref:function(t){return new window.URL(this.nLink.href).pathname===t||this.nLink.href===t?this.nLink:this.pSubNavList?this.pSubNavList.getLinkByhref(t):null}}}(); window.DataControls={showMore:function(a,e){var t=document.getElementById(a+"_rows");t.value=parseInt(t.value)+e,ajaxRequest({url:"/_public/Controls/Data/DataControlABC/datacontrol.php",dataIncludeURL:!0,dataIncludeJS:!0,dataIncludeCSS:!0,dataIncludeState:!0,evalChunkedResponse:!0,_POST:{_datacontrolid:a}});var o=RegExp(a+"_rows=[\\d]*"),l=location.search;l.match(o)?l=l.replace(o,a+"_rows="+t.value):l?l+="&"+a+"_rows="+t.value:l+="?"+a+"_rows="+t.value,history.replaceState(null,"",l)}}; !function(){let e=!1;function t(){if(e)return;e=!0;let t="sw="+screen.width+"&sh="+screen.height+"&ww="+(void 0!==window.innerHeight?window.innerHeight:document.documentElement.offsetHeight)+"&wh="+(void 0!==window.innerWidth?window.innerWidth:document.documentElement.offsetWidth)+"&dpr="+(void 0!==window.devicePixelRatio?window.devicePixelRatio:1);try{t+="&tzo="+encodeURIComponent(Intl.DateTimeFormat().resolvedOptions().timeZone)}catch(e){}fetch("/_public/Components/Website/t.php?"+t,{priority:"low"}).catch(e=>{})}document.onmousemove=t,document.onscroll=t,document.ontouchstart=t}(); (()=>{let e=Date.now();function t(){let t=Date.now();t-e<25e3||(fetch("/_public/Components/Website/_keepalive").catch(e=>{}),e=t)}document.addEventListener("mousemove",t),document.addEventListener("scroll",t),document.addEventListener("touchstart",t)})(); !function(){let e=/_\d*x\d*[ac]?\.[a-z]{3,5}$/,t=new MutationObserver(d),i="IntersectionObserver"in window?new IntersectionObserver(function(e){e.forEach(function(e){e.isIntersecting&&(o(e.target),i.unobserve(e.target))})},{root:null,rootMargin:"0px 0px 0px 0px",threshold:0}):null,n=[7056,16200,23256,32400,39456,46512,53568,64800,97200,129600,259200,388800,518400,648e3,777600,921600,2073600,3686400,8294400];function s(e){e._imageObserversBound||(e._imageObserversBound=!0,requestAnimationFrame(function(){t.observe(e,{attributes:!1,childList:!0,subtree:!0}),d([{type:"childList",addedNodes:e.body?e.body.childNodes:e.childNodes,removedNodes:[],target:e.body?e.body:e}])}))}function d(e){for(let t=0;t=s||r>=d)break;let l=parseInt(a)===a,h=parseInt(r)===r;i=(l&&h?"_"+a+"x"+r:l?"_"+a+"x":h?"_x"+r:o>=1?"_"+Math.ceil(a)+"x":"_x"+Math.ceil(r))+"a",window._s8Sqips[e].sizes.push({width:a,height:r,suffix:i})}}}(o,t.src);let r="",a=window.devicePixelRatio;a>2&&(a=2),e.width<10&&(e.width=400),window.innerWidth<450&&a>1.3&&(a=1.3);let l=parseInt(e.width)*a,h=parseInt(e.height)*a;for(let e=0;e{t.src=s,d.removeEventListener("load",o,!0)};d.addEventListener("load",o,!0),d.src=s}(t)})}"interactive"===document.readyState||"complete"===document.readyState?s(document):window.addEventListener("DOMContentLoaded",()=>s(document),!0)}(); if(typeof(g_arrLoadedJavaScript) == 'undefined') var g_arrLoadedJavaScript = [1893584319]; else g_arrLoadedJavaScript.push(1893584319); if(typeof(g_arrLoadedCSS) == 'undefined') var g_arrLoadedCSS = ["3466335622"]; else g_arrLoadedCSS.push("3466335622");