chunk-4HL6BBWO.js 782 B

123456789101112131415161718
  1. // node_modules/@arcgis/core/core/devEnvironmentUtils.js
  2. function c(c2) {
  3. return c2 = c2 || globalThis.location.hostname, m.some((a2) => null != (c2 == null ? void 0 : c2.match(a2)));
  4. }
  5. function a(c2, a2) {
  6. return c2 && (a2 = a2 || globalThis.location.hostname) ? null != a2.match(t) || null != a2.match(l) ? c2.replace("static.arcgis.com", "staticdev.arcgis.com") : null != a2.match(s) || null != a2.match(i) ? c2.replace("static.arcgis.com", "staticqa.arcgis.com") : c2 : c2;
  7. }
  8. var t = /^devext.arcgis.com$/;
  9. var s = /^qaext.arcgis.com$/;
  10. var l = /^[\w-]*\.mapsdevext.arcgis.com$/;
  11. var i = /^[\w-]*\.mapsqa.arcgis.com$/;
  12. var m = [/^([\w-]*\.)?[\w-]*\.zrh-dev-local.esri.com$/, t, s, /^jsapps.esri.com$/, l, i];
  13. export {
  14. c,
  15. a
  16. };
  17. //# sourceMappingURL=chunk-4HL6BBWO.js.map