// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See https://js.arcgis.com/4.19/esri/copyright.txt for details.
//>>built
(function(a, c) {
var b = function() {
return "undefined" !== typeof f && "function" !== typeof f ? f : "undefined" !== typeof window ? window : "undefined" !== typeof self ? self : this
}(),
n = function() {},
r = function(da) {
for (var na in da) return 0;
return 1
},
k = {}.toString,
d = function(da) {
return "[object Function]" == k.call(da)
},
h = function(da) {
return "[object String]" == k.call(da)
},
m = function(da) {
return "[object Array]" == k.call(da)
},
t = function(da, na) {
if (da)
for (var pa = 0; pa < da.length;) na(da[pa++])
},
p = function(da, na) {
for (var pa in na) da[pa] =
na[pa];
return da
},
q = function(da, na) {
return p(Error(da), {
src: "dojoLoader",
info: na
})
},
l = 1,
g = function() {
return "_" + l++
},
e = function(da, na, pa) {
return Z(da, na, pa, 0, e)
},
f = b,
u = f.document,
w = u && u.createElement("DiV"),
D = e.has = function(da) {
return d(v[da]) ? v[da] = v[da](f, u, w) : v[da]
},
v = D.cache = c.hasCache;
d(a) && (a = a(b));
D.add = function(da, na, pa, sa) {
(void 0 === v[da] || sa) && (v[da] = na);
return pa && D(da)
};
D.add("host-webworker", "undefined" !== typeof WorkerGlobalScope && self instanceof WorkerGlobalScope);
D("host-webworker") &&
(p(c.hasCache, {
"host-browser": 0,
dom: 0,
"dojo-dom-ready-api": 0,
"dojo-sniff": 0,
"dojo-inject-api": 1,
"host-webworker": 1,
"dojo-guarantee-console": 0
}), c.loaderPatch = {
injectUrl: function(da, na) {
try {
importScripts(da), na()
} catch (pa) {
console.info("failed to load resource (" + da + ")"), console.error(pa)
}
}
});
for (var y in a.has) D.add(y, a.has[y], 0, 1);
e.async = 1;
var A = D("csp-restrictions") ? function() {} : new Function("return eval(arguments[0]);");
e.eval = function(da, na) {
return A(da + "\r\n//# sourceURL\x3d" + na)
};
var E = {},
x = e.signal = function(da, na) {
da = E[da];
t(da && da.slice(0), function(pa) {
pa.apply(null, m(na) ? na : [na])
})
};
y = e.on = function(da, na) {
var pa = E[da] || (E[da] = []);
pa.push(na);
return {
remove: function() {
for (var sa = 0; sa < pa.length; sa++)
if (pa[sa] === na) {
pa.splice(sa, 1);
break
}
}
}
};
var F = [],
B = {},
C = [],
z = {},
G = e.map = {},
H = [],
I = {},
K = "",
L = {},
T = {};
b = {};
var O = 0;
if (!D("foreign-loader")) var U = function(da, na) {
na = !1 !== na;
var pa, sa;
for (pa in T) {
var za = T[pa];
if (sa = pa.match(/^url:(.+)/)) L["url:" + Ga(sa[1], da)] = za;
else if ("*now" == pa) var wa =
za;
else "*noref" != pa && (sa = Aa(pa, da, !0), L[sa.mid] = L["url:" + sa.url] = za)
}
wa && wa(V(da));
na && (T = {})
};
var W = function(da) {
return da.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, function(na) {
return "\\" + na
})
},
S = function(da, na) {
na.splice(0, na.length);
for (var pa in da) na.push([pa, da[pa], new RegExp("^" + W(pa) + "(/|$)"), pa.length]);
na.sort(function(sa, za) {
return za[3] - sa[3]
});
return na
},
N = function(da, na) {
t(da, function(pa) {
na.push([h(pa[0]) ? new RegExp("^" + W(pa[0]) + "$") : pa[0], pa[1]])
})
},
P = function(da) {
var na = da.name;
na ||
(na = da, da = {
name: na
});
da = p({
main: "main"
}, da);
da.location = da.location ? da.location : na;
da.packageMap && (G[na] = da.packageMap);
da.main.indexOf("./") || (da.main = da.main.substring(2));
z[na] = da
},
J = [],
M = function(da, na, pa) {
for (var sa in da) {
"waitSeconds" == sa && (e.waitms = 1E3 * (da[sa] || 0));
"cacheBust" == sa && (K = da[sa] ? h(da[sa]) ? da[sa] : (new Date).getTime() + "" : "");
if ("baseUrl" == sa || "combo" == sa) e[sa] = da[sa];
da[sa] !== v && (e.rawConfig[sa] = da[sa], "has" != sa && D.add("config-" + sa, da[sa], 0, na))
}
e.baseUrl || (e.baseUrl = "./");
/\/$/.test(e.baseUrl) ||
(e.baseUrl += "/");
for (sa in da.has) D.add(sa, da.has[sa], 0, na);
t(da.packages, P);
for (var za in da.packagePaths) t(da.packagePaths[za], function(wa) {
var Ia = za + "/" + wa;
h(wa) && (wa = {
name: wa
});
wa.location = Ia;
P(wa)
});
S(p(G, da.map), H);
t(H, function(wa) {
wa[1] = S(wa[1], []);
"*" == wa[0] && (H.star = wa)
});
S(p(B, da.paths), C);
N(da.aliases, F);
if (!D("foreign-loader")) {
if (na) J.push({
config: da.config
});
else
for (sa in da.config) na = Ea(sa, pa), na.config = p(na.config || {}, da.config[sa]);
da.cache && (U(), T = da.cache, U(0, !!da.cache["*noref"]))
}
x("config",
[da, e.rawConfig])
};
if (D("dojo-cdn")) {
var R = u.getElementsByTagName("script");
var X = 0;
for (var ia, ha, ja, ma; X < R.length;)
if (ia = R[X++], (ja = ia.getAttribute("src")) && (ma = ja.match(/(((.*)\/)|^)dojo\.js(\W|$)/i)) && (ha = ma[3] || "", c.baseUrl = c.baseUrl || ha, O = ia), ja = ia.getAttribute("data-dojo-config") || ia.getAttribute("djConfig")) b = e.eval("({ " + ja + " })", "data-dojo-config"), O = ia
}
e.rawConfig = {};
M(c, 1);
D("dojo-cdn") && ((z.dojo.location = ha) && (ha += "/"), z.dijit.location = ha + "../dijit/", z.dojox.location = ha + "../dojox/");
M(a,
1);
M(b, 1);
if (!D("foreign-loader")) var ta = function(da) {
Ta(function() {
t(da.deps, qa)
})
},
Z = function(da, na, pa, sa, za) {
var wa;
if (h(da)) {
if ((wa = Ea(da, sa, !0)) && wa.executed) return wa.result;
throw q("undefinedModule", da);
}
m(da) || (M(da, 0, sa), da = na, na = pa);
if (m(da))
if (da.length) {
pa = "require*" + g();
for (var Ia, Za = [], $a