import { A3 as A, a4 as a, c3 as c, e2 as e, f2 as f, i2 as i, i3 as i2, r, s3 as s, t3 as t, u2 as u, y3 as y } from "./chunk-GZT4BVFP.js"; // node_modules/@arcgis/core/core/lang.js function y2(t3, n3) { let e4; if (n3) for (e4 in t3) t3.hasOwnProperty(e4) && (t3[e4] === void 0 ? delete t3[e4] : t3[e4] instanceof Object && y2(t3[e4], true)); else for (e4 in t3) t3.hasOwnProperty(e4) && t3[e4] === void 0 && delete t3[e4]; return t3; } function m(t3) { if (!t3 || typeof t3 != "object" || typeof t3 == "function") return t3; const n3 = w(t3); if (r(n3)) return n3; if (g(t3)) return t3.clone(); if (j(t3)) return t3.map(m); if (O(t3)) return t3.clone(); const r3 = {}; for (const e4 of Object.getOwnPropertyNames(t3)) r3[e4] = m(t3[e4]); return r3; } function b(t3) { if (!t3 || typeof t3 != "object" || typeof t3 == "function") return t3; const n3 = w(t3); if (r(n3)) return n3; if (j(t3)) { let n4 = true; const e4 = t3.map((t4) => { const e5 = b(t4); return t4 != null && e5 == null && (n4 = false), e5; }); return n4 ? e4 : null; } if (g(t3)) return t3.clone(); if (!O(t3)) { const n4 = new (0, Object.getPrototypeOf(t3).constructor)(); for (const e4 of Object.getOwnPropertyNames(t3)) { const r3 = t3[e4], o3 = b(r3); if (r3 != null && o3 == null) return null; n4[e4] = o3; } return n4; } return null; } function g(t3) { return typeof t3.clone == "function"; } function j(t3) { return typeof t3.map == "function" && typeof t3.forEach == "function"; } function O(t3) { return typeof t3.notifyChange == "function" && typeof t3.watch == "function"; } function h(t3) { if (Object.prototype.toString.call(t3) !== "[object Object]") return false; const n3 = Object.getPrototypeOf(t3); return n3 === null || n3 === Object.prototype; } function w(t3) { if (c(t3) || e(t3) || a(t3) || u(t3) || i2(t3) || f(t3) || s(t3) || y(t3) || A(t3)) return t(t3); if (t3 instanceof Date) return new Date(t3.getTime()); if (t3 instanceof ArrayBuffer) { return t3.slice(0, t3.byteLength); } if (t3 instanceof Map) { const n3 = new Map(); return t3.forEach((t4, e4) => { n3.set(e4, m(t4)); }), n3; } if (t3 instanceof Set) { const n3 = new Set(); return t3.forEach((t4) => { n3.add(m(t4)); }), n3; } return null; } function d(t3, n3) { return t3 === n3 || typeof t3 == "number" && isNaN(t3) && typeof n3 == "number" && isNaN(n3) || typeof (t3 || {}).getTime == "function" && typeof (n3 || {}).getTime == "function" && t3.getTime() === n3.getTime() || false; } function N(n3, e4) { return n3 === e4 || (n3 == null || typeof n3 == "string" ? n3 === e4 : typeof n3 == "number" ? n3 === e4 || typeof e4 == "number" && isNaN(n3) && isNaN(e4) : n3 instanceof Date ? e4 instanceof Date && n3.getTime() === e4.getTime() : Array.isArray(n3) ? Array.isArray(e4) && i(n3, e4) : n3 instanceof Set ? e4 instanceof Set && T(n3, e4) : n3 instanceof Map ? e4 instanceof Map && A2(n3, e4) : !!h(n3) && (h(e4) && P(n3, e4))); } function P(t3, n3) { if (t3 === null || n3 === null) return false; const e4 = Object.keys(t3); if (n3 === null || Object.keys(n3).length !== e4.length) return false; for (const r3 of e4) if (t3[r3] !== n3[r3] || !Object.prototype.hasOwnProperty.call(n3, r3)) return false; return true; } function T(t3, n3) { if (t3.size !== n3.size) return false; for (const e4 of t3) if (!n3.has(e4)) return false; return true; } function A2(t3, n3) { if (t3.size !== n3.size) return false; for (const [e4, r3] of t3) { const t4 = n3.get(e4); if (t4 !== r3 || t4 === void 0 && !n3.has(e4)) return false; } return true; } // node_modules/@arcgis/core/core/object.js function n(r3, n3, t3 = false) { return i3(r3, n3, t3); } function t2(r3, n3) { if (n3 != null) return n3[r3] || e2(r3.split("."), false, n3); } function o(r3, n3, t3) { const o3 = r3.split("."), i4 = o3.pop(), u3 = e2(o3, true, t3); u3 && i4 && (u3[i4] = n3); } function e2(r3, n3, t3) { let o3 = t3; for (const e4 of r3) { if (o3 == null) return; if (!(e4 in o3)) { if (!n3) return; o3[e4] = {}; } o3 = o3[e4]; } return o3; } function i3(n3, t3, o3) { return t3 ? Object.keys(t3).reduce((n4, e4) => { let u3 = n4[e4], c3 = t3[e4]; return u3 === c3 ? n4 : u3 === void 0 ? (n4[e4] = m(c3), n4) : (Array.isArray(c3) || Array.isArray(n4) ? (u3 = u3 ? Array.isArray(u3) ? n4[e4] = u3.concat() : n4[e4] = [u3] : n4[e4] = [], c3 && (Array.isArray(c3) || (c3 = [c3]), o3 ? c3.forEach((r3) => { u3.includes(r3) || u3.push(r3); }) : n4[e4] = c3.concat())) : c3 && typeof c3 == "object" ? n4[e4] = i3(u3, c3, o3) : n4.hasOwnProperty(e4) && !t3.hasOwnProperty(e4) || (n4[e4] = c3), n4); }, n3 || {}) : n3; } // node_modules/@arcgis/core/core/string.js var e3 = /\{([^\}]+)\}/g; function n2(t3) { return t3 == null ? "" : t3; } function r2(r3, o3) { return r3.replace(e3, typeof o3 == "object" ? (e4, r4) => n2(t2(r4, o3)) : (t3, e4) => n2(o3(e4))); } function o2(t3, e4) { return t3.replace(/([\.$?*|{}\(\)\[\]\\\/\+\-^])/g, (t4) => e4 && e4.includes(t4) ? t4 : `\\${t4}`); } function c2(t3) { let e4 = 0; for (let n3 = 0; n3 < t3.length; n3++) e4 = (e4 << 5) - e4 + t3.charCodeAt(n3), e4 |= 0; return e4; } function u2(t3) { return new DOMParser().parseFromString(t3 || "", "text/html").body.innerText || ""; } export { y2 as y, m, b, d, N, n, t2 as t, o, r2 as r, o2, c2 as c, u2 as u }; //# sourceMappingURL=chunk-IKP3YN53.js.map