//#region config.ts
function e(e) {
	return `${e.replace(/\/+$/, "")}/v1/amaster-digital`;
}
function t(e, t = "/v1/amaster-digital/ws") {
	let n = new URL(t, `${e.replace(/\/+$/, "")}/`);
	return n.protocol = n.protocol === "https:" ? "wss:" : "ws:", n.toString();
}
//#endregion
export { e as buildAmasterDigitalApiBase, t as buildAmasterDigitalWsUrl };
