/*
 Eloquence WEBDLG v2
 (C) Copyright Marxmeier Software AG, 2020-2025
 Version: 2.1.2
 $Id: 00-load.js,v 29.22 2025/06/18 11:26:11 rhg Exp $
*/
var eq={};
(function(){var d=window.location,b=d.href,a,c,f;try{var e=/[?&]app=([^&#]+)/i.exec(b)[1]}catch(g){}if(e)(a=window.sessionStorage).setItem("eq-webdlg.app",e),a.removeItem("eq-webdlg.uat"),a.removeItem("eq-webdlg.sid"),eq.redirected=!0,(c=(e=/^([^?#]+)([?][^#]*)?(#.*)?$/.exec(b))[2])&&c.match(f=/([?&])app=[^&#]*/i)&&(c=c.replace(f,""),c.length&&"&"===c.charAt(0)&&(c=c.replace("&","?"))),b=e[1],c&&(b+=c),e[3]&&(b+=e[3]),d.replace(b);else try{b=document.querySelector("script#eq-webdlg").src,a=document.createElement("SCRIPT"),
a.src=/^([^?#]+\/)[^/?#]+/.exec(b)[1]+"eq-webdlg-ui.js",a.defer=!0,document.head.appendChild(a)}catch(g){throw Error('WEBDLG: <script id="eq-webdlg"> not found');}})();eq.plugin=function(d,b){var a=this.plugin.m;void 0===a&&(a=this.plugin.m=new Map);a.set(d,b)};eq.strings=function(d,b){var a=this.strings.m,c,f;void 0===a&&(a=this.strings.m=new Map);b?(1<(c=b.split("-")).length&&!a.has(f=c[0])&&a.set(f,d),a.set(b,d)):a.set("default",d)};
//# sourceMappingURL=eq-webdlg.src.map
