import { isFireFox } from "./compatibility.js";
const jsonProxyUrl = { "ENV": "Browser" }.PROXY1;
const jsonProxyUrl2 = { "ENV": "Browser" }.PROXY2;
const jsonProxy = (url) => `${jsonProxyUrl}${encodeURIComponent(url)}`;
const jsonProxy2 = (url) => `${jsonProxyUrl2}${encodeURIComponent(url)}`;
const revokeJsonProxy = (url) => decodeURIComponent(
  url.replaceAll(jsonProxyUrl, "").replaceAll(encodeURIComponent(jsonProxyUrl), "")
);
const revokeJsonProxy2 = (url) => decodeURIComponent(
  url.replaceAll(jsonProxyUrl2, "").replaceAll(encodeURIComponent(jsonProxyUrl2), "")
);
if (isFireFox())
  ;
export {
  jsonProxy,
  jsonProxy2,
  revokeJsonProxy,
  revokeJsonProxy2
};
//# sourceMappingURL=constants.js.map
