chunk-ILP23N26.js 759 B

123456789101112131415161718
  1. // node_modules/@arcgis/core/core/devEnvironmentUtils.js
  2. function c(c2) {
  3. return c2 = c2 || globalThis.location.hostname, m.some((a2) => c2?.match(a2) != null);
  4. }
  5. function a(c2, a2) {
  6. return c2 && (a2 = a2 || globalThis.location.hostname) ? a2.match(t) != null || a2.match(l) != null ? c2.replace("static.arcgis.com", "staticdev.arcgis.com") : a2.match(s) != null || a2.match(i) != null ? 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-ILP23N26.js.map