jQuery((function(e){var c={usd:"$",eur:"€",gbp:"£",chf:"€"},t={usd:"$",eur:"€",gbp:"£",chf:"CHF",aud:"$",cad:"$"};(async function(){let c;if(document.cookie.indexOf("xcxWebVisitor=")<0)try{await e.ajax({type:"GET",url:"https://webapi.3cx.com/api/v1/webvisitor",dataType:"json"}).done((function(e){var t=new Date;t.setTime(t.getTime()+9e5),document.cookie="xcxWebVisitor="+JSON.stringify(e)+"; expires="+t.toUTCString()+";secure;path=/",c=e}))}catch(e){console.error(e)}else data=JSON.parse(document.cookie.split("; ").find((e=>e.startsWith("xcxWebVisitor"))).split("=")[1]),c=data;return c})().then((o=>function(o){0==o.Hosted&&(e(".cta_option_hosted").remove(),e("input[name=cta_deployment_method][value=owncloud]").prop("checked",!0)),o.Currency&&e(".pricing-currency").text(t[o.Currency]),e(".pricing-currency-basic").text(c[o.Currency]),document.cookie.indexOf("cookie-accept=")<0&&"EUROPE"===o.Continent&&(document.cookie.indexOf("cookie-accept=")<0&&e("#cookie-message").css("display","block"),e("#cookie-accept").click((function(){document.cookie="cookie-accept=true; expires=Fri, 31 Dec 2030 23:59:59 GMT;path=/",e("#cookie-message").hide()})))}(o)))}));