{"version":3,"sources":["node_modules/@arcgis/core/core/accessorSupport/MultiOriginStore.js","node_modules/@arcgis/core/core/ReadOnlyMultiOriginJSONSupport.js","node_modules/@arcgis/core/core/MultiOriginJSONSupport.js"],"sourcesContent":["/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nimport { clone as t } from \"../lang.js\";\nimport { originIdNum as s, OriginId as e } from \"./PropertyOrigin.js\";\nclass r {\n constructor() {\n this._propertyOriginMap = new Map(), this._originStores = new Array(s), this._values = new Map(), this.multipleOriginsSupported = !0;\n }\n clone(i) {\n const o = new r(),\n n = this._originStores[e.DEFAULTS];\n n && n.forEach((s, r) => {\n o.set(r, t(s), e.DEFAULTS);\n });\n for (let r = e.SERVICE; r < s; r++) {\n const s = this._originStores[r];\n s && s.forEach((s, e) => {\n i && i.has(e) || o.set(e, t(s), r);\n });\n }\n return o;\n }\n get(t, s) {\n const e = void 0 === s ? this._values : this._originStores[s];\n return e ? e.get(t) : void 0;\n }\n keys(t) {\n const s = null == t ? this._values : this._originStores[t];\n return s ? [...s.keys()] : [];\n }\n set(t, s, r = e.USER) {\n let i = this._originStores[r];\n if (i || (i = new Map(), this._originStores[r] = i), i.set(t, s), !this._values.has(t) || this._propertyOriginMap.get(t) <= r) {\n const e = this._values.get(t);\n return this._values.set(t, s), this._propertyOriginMap.set(t, r), e !== s;\n }\n return !1;\n }\n delete(t, s = e.USER) {\n const r = this._originStores[s];\n if (!r) return;\n const i = r.get(t);\n if (r.delete(t), this._values.has(t) && this._propertyOriginMap.get(t) === s) {\n this._values.delete(t);\n for (let e = s - 1; e >= 0; e--) {\n const s = this._originStores[e];\n if (s && s.has(t)) {\n this._values.set(t, s.get(t)), this._propertyOriginMap.set(t, e);\n break;\n }\n }\n }\n return i;\n }\n has(t, s) {\n const e = void 0 === s ? this._values : this._originStores[s];\n return !!e && e.has(t);\n }\n revert(t, s) {\n for (; s > 0 && !this.has(t, s);) --s;\n const e = this._originStores[s],\n r = e?.get(t),\n i = this._values.get(t);\n return this._values.set(t, r), this._propertyOriginMap.set(t, s), i !== r;\n }\n originOf(t) {\n return this._propertyOriginMap.get(t) || e.DEFAULTS;\n }\n forEach(t) {\n this._values.forEach(t);\n }\n}\nexport { r as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nimport { _ as r } from \"../chunks/tslib.es6.js\";\nimport t from \"./Accessor.js\";\nimport { setupConstructedDefaults as s } from \"./accessorSupport/defaultsStoreUtils.js\";\nimport o from \"./accessorSupport/MultiOriginStore.js\";\nimport { nameToId as e, idToName as i } from \"./accessorSupport/PropertyOrigin.js\";\nimport { read as c } from \"./accessorSupport/read.js\";\nimport { getProperties as n } from \"./accessorSupport/utils.js\";\nimport { subclass as p } from \"./accessorSupport/decorators/subclass.js\";\nconst u = t => {\n let u = class extends t {\n constructor(...r) {\n super(...r);\n const t = n(this),\n e = t.store,\n i = new o();\n t.store = i, s(t, e, i);\n }\n read(r, t) {\n c(this, r, t);\n }\n getAtOrigin(r, t) {\n const s = a(this),\n o = e(t);\n if (\"string\" == typeof r) return s.get(r, o);\n const i = {};\n return r.forEach(r => {\n i[r] = s.get(r, o);\n }), i;\n }\n originOf(r) {\n return i(this.originIdOf(r));\n }\n originIdOf(r) {\n return a(this).originOf(r);\n }\n revert(r, t) {\n const s = a(this),\n o = e(t),\n i = n(this);\n let c;\n c = \"string\" == typeof r ? \"*\" === r ? s.keys(o) : [r] : r, c.forEach(r => {\n i.invalidate(r), s.revert(r, o), i.commit(r);\n });\n }\n };\n return u = r([p(\"esri.core.ReadOnlyMultiOriginJSONSupport\")], u), u;\n};\nfunction a(r) {\n return n(r).store;\n}\nlet f = class extends u(t) {};\nf = r([p(\"esri.core.ReadOnlyMultiOriginJSONSupport\")], f);\nexport { u as ReadOnlyMultiOriginJSONMixin, f as ReadOnlyMultiOriginJSONSupport };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nimport { _ as r } from \"../chunks/tslib.es6.js\";\nimport t from \"./Accessor.js\";\nimport { ReadOnlyMultiOriginJSONMixin as s } from \"./ReadOnlyMultiOriginJSONSupport.js\";\nimport { get as e } from \"./accessorSupport/get.js\";\nimport { nameToId as o, OriginId as i, originIdNum as p } from \"./accessorSupport/PropertyOrigin.js\";\nimport { getProperties as c } from \"./accessorSupport/utils.js\";\nimport { write as u } from \"./accessorSupport/write.js\";\nimport { subclass as n } from \"./accessorSupport/decorators/subclass.js\";\nconst l = t => {\n let s = class extends t {\n constructor(...r) {\n super(...r);\n }\n clear(r, t = \"user\") {\n return O(this).delete(r, o(t));\n }\n write(r, t) {\n return u(this, r = r || {}, t), r;\n }\n setAtOrigin(r, t, s) {\n c(this).setAtOrigin(r, t, o(s));\n }\n removeOrigin(r) {\n const t = O(this),\n s = o(r),\n e = t.keys(s);\n for (const o of e) t.originOf(o) === s && t.set(o, t.get(o, s), i.USER);\n }\n updateOrigin(r, t) {\n const s = O(this),\n i = o(t),\n c = e(this, r);\n for (let e = i + 1; e < p; ++e) s.delete(r, e);\n s.set(r, c, i);\n }\n toJSON(r) {\n return this.write({}, r);\n }\n };\n return s = r([n(\"esri.core.MultiOriginJSONSupport.WriteableMultiOriginJSONSupport\")], s), s.prototype.toJSON.isDefaultToJSON = !0, s;\n};\nfunction O(r) {\n return c(r).store;\n}\nconst S = t => {\n let e = class extends l(s(t)) {\n constructor(...r) {\n super(...r);\n }\n };\n return e = r([n(\"esri.core.MultiOriginJSONSupport\")], e), e;\n};\nlet m = class extends S(t) {};\nm = r([n(\"esri.core.MultiOriginJSONSupport\")], m);\nexport { S as MultiOriginJSONMixin, m as MultiOriginJSONSupport };"],"mappings":"gQAMA,IAAMA,EAAN,MAAMC,CAAE,CACN,aAAc,CACZ,KAAK,mBAAqB,IAAI,IAAO,KAAK,cAAgB,IAAI,MAAMD,CAA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AEZ,CAAC,CAAC,CAAE,CAC5B,eAAeE,EAAG,CAChB,MAAM,GAAGA,CAAC,CACZ,CACF,EACA,OAAOI,EAAIJ,EAAE,CAACQ,EAAE,kCAAkC,CAAC,EAAGJ,CAAC,EAAGA,CAC5D,EACIO,EAAI,cAAcF,EAAEG,CAAC,CAAE,CAAC,EAC5BD,EAAIX,EAAE,CAACQ,EAAE,kCAAkC,CAAC,EAAGG,CAAC","names":["r","_r","i","o","n","e","s","a","t","u","t","r","i","e","s","a","o","n","c","f","b","l","t","s","r","O","n","d","e","i","c","o","a","S","u","m","b"],"x_google_ignoreList":[0,1,2]}