{"version":3,"sources":["node_modules/@arcgis/core/popup/ExpressionInfo.js","node_modules/@arcgis/core/support/actions/ActionBase.js","node_modules/@arcgis/core/support/actions/ActionButton.js","node_modules/@arcgis/core/popup/content/Content.js","node_modules/@arcgis/core/popup/content/AttachmentsContent.js","node_modules/@arcgis/core/popup/content/CustomContent.js","node_modules/@arcgis/core/popup/ElementExpressionInfo.js","node_modules/@arcgis/core/popup/content/ExpressionContent.js","node_modules/@arcgis/core/popup/support/FieldInfoFormat.js","node_modules/@arcgis/core/popup/FieldInfo.js","node_modules/@arcgis/core/popup/content/FieldsContent.js","node_modules/@arcgis/core/popup/content/mixins/MediaInfo.js","node_modules/@arcgis/core/popup/content/support/ChartMediaInfoValueSeries.js","node_modules/@arcgis/core/popup/content/support/ChartMediaInfoValue.js","node_modules/@arcgis/core/popup/content/mixins/ChartMediaInfo.js","node_modules/@arcgis/core/popup/content/support/chartMediaInfoUtils.js","node_modules/@arcgis/core/popup/content/BarChartMediaInfo.js","node_modules/@arcgis/core/popup/content/ColumnChartMediaInfo.js","node_modules/@arcgis/core/popup/content/support/ImageMediaInfoValue.js","node_modules/@arcgis/core/popup/content/ImageMediaInfo.js","node_modules/@arcgis/core/popup/content/LineChartMediaInfo.js","node_modules/@arcgis/core/popup/content/PieChartMediaInfo.js","node_modules/@arcgis/core/popup/content/support/mediaInfoTypes.js","node_modules/@arcgis/core/popup/content/MediaContent.js","node_modules/@arcgis/core/popup/support/RelatedRecordsInfoFieldOrder.js","node_modules/@arcgis/core/popup/content/RelationshipContent.js","node_modules/@arcgis/core/popup/content/TextContent.js","node_modules/@arcgis/core/popup/content.js","node_modules/@arcgis/core/popup/LayerOptions.js","node_modules/@arcgis/core/popup/RelatedRecordsInfo.js","node_modules/@arcgis/core/support/actions/ActionToggle.js","node_modules/@arcgis/core/PopupTemplate.js"],"sourcesContent":["/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as r } from \"../chunks/tslib.es6.js\";\nimport { JSONSupport as e } from \"../core/JSONSupport.js\";\nimport { property as t } from \"../core/accessorSupport/decorators/property.js\";\nimport \"../core/accessorSupport/ensureType.js\";\nimport \"../core/arrayUtils.js\";\nimport \"../core/has.js\";\nimport { subclass as o } from \"../core/accessorSupport/decorators/subclass.js\";\nvar s;\nlet p = s = class extends e {\n constructor(r) {\n super(r), this.name = null, this.title = null, this.expression = null, this.returnType = null;\n }\n clone() {\n return new s({\n name: this.name,\n title: this.title,\n expression: this.expression,\n returnType: this.returnType\n });\n }\n};\nr([t({\n type: String,\n json: {\n write: !0\n }\n})], p.prototype, \"name\", void 0), r([t({\n type: String,\n json: {\n write: !0\n }\n})], p.prototype, \"title\", void 0), r([t({\n type: String,\n json: {\n write: !0\n }\n})], p.prototype, \"expression\", void 0), r([t({\n type: [\"string\", \"number\"],\n json: {\n write: !0\n }\n})], p.prototype, \"returnType\", void 0), p = s = r([o(\"esri.popup.ExpressionInfo\")], p);\nconst i = p;\nexport { i as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as t } from \"../../chunks/tslib.es6.js\";\nimport i from \"../../core/Accessor.js\";\nimport { IdentifiableMixin as o } from \"../../core/Identifiable.js\";\nimport { property as s } from \"../../core/accessorSupport/decorators/property.js\";\nimport \"../../core/accessorSupport/ensureType.js\";\nimport \"../../core/arrayUtils.js\";\nimport \"../../core/has.js\";\nimport { subclass as e } from \"../../core/accessorSupport/decorators/subclass.js\";\nvar r;\nlet c = r = class extends o(i) {\n constructor(t) {\n super(t), this.active = !1, this.className = null, this.disabled = !1, this.icon = null, this.id = null, this.indicator = !1, this.title = null, this.type = null, this.visible = !0;\n }\n clone() {\n return new r({\n active: this.active,\n className: this.className,\n disabled: this.disabled,\n icon: this.icon,\n id: this.id,\n indicator: this.indicator,\n title: this.title,\n visible: this.visible\n });\n }\n};\nt([s()], c.prototype, \"active\", void 0), t([s()], c.prototype, \"className\", void 0), t([s()], c.prototype, \"disabled\", void 0), t([s()], c.prototype, \"icon\", void 0), t([s()], c.prototype, \"id\", void 0), t([s()], c.prototype, \"indicator\", void 0), t([s()], c.prototype, \"title\", void 0), t([s()], c.prototype, \"type\", void 0), t([s()], c.prototype, \"visible\", void 0), c = r = t([e(\"esri.support.actions.ActionBase\")], c);\nconst p = c;\nexport { p as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as s } from \"../../chunks/tslib.es6.js\";\nimport { property as t } from \"../../core/accessorSupport/decorators/property.js\";\nimport \"../../core/accessorSupport/ensureType.js\";\nimport \"../../core/arrayUtils.js\";\nimport \"../../core/has.js\";\nimport { subclass as i } from \"../../core/accessorSupport/decorators/subclass.js\";\nimport o from \"./ActionBase.js\";\nvar r;\nlet e = r = class extends o {\n constructor(s) {\n super(s), this.image = null, this.type = \"button\";\n }\n clone() {\n return new r({\n active: this.active,\n className: this.className,\n disabled: this.disabled,\n icon: this.icon,\n id: this.id,\n indicator: this.indicator,\n title: this.title,\n visible: this.visible,\n image: this.image\n });\n }\n};\ns([t()], e.prototype, \"image\", void 0), e = r = s([i(\"esri.support.Action.ActionButton\")], e);\nconst c = e;\nexport { c as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as r } from \"../../chunks/tslib.es6.js\";\nimport { JSONSupport as o } from \"../../core/JSONSupport.js\";\nimport { property as s } from \"../../core/accessorSupport/decorators/property.js\";\nimport \"../../core/accessorSupport/ensureType.js\";\nimport \"../../core/arrayUtils.js\";\nimport \"../../core/has.js\";\nimport { subclass as t } from \"../../core/accessorSupport/decorators/subclass.js\";\nlet e = class extends o {\n constructor(r) {\n super(r), this.type = null;\n }\n};\nr([s({\n type: [\"attachments\", \"custom\", \"fields\", \"media\", \"text\", \"expression\", \"relationship\"],\n readOnly: !0,\n json: {\n read: !1,\n write: !0\n }\n})], e.prototype, \"type\", void 0), e = r([t(\"esri.popup.content.Content\")], e);\nconst p = e;\nexport { p as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as t } from \"../../chunks/tslib.es6.js\";\nimport { property as e } from \"../../core/accessorSupport/decorators/property.js\";\nimport \"../../core/accessorSupport/ensureType.js\";\nimport \"../../core/arrayUtils.js\";\nimport \"../../core/has.js\";\nimport { subclass as o } from \"../../core/accessorSupport/decorators/subclass.js\";\nimport r from \"./Content.js\";\nvar s;\nlet p = s = class extends r {\n constructor(t) {\n super(t), this.description = null, this.displayType = \"auto\", this.title = null, this.type = \"attachments\";\n }\n clone() {\n return new s({\n description: this.description,\n displayType: this.displayType,\n title: this.title\n });\n }\n};\nt([e({\n type: String,\n json: {\n write: !0\n }\n})], p.prototype, \"description\", void 0), t([e({\n type: [\"auto\", \"preview\", \"list\"],\n json: {\n write: !0\n }\n})], p.prototype, \"displayType\", void 0), t([e({\n type: String,\n json: {\n write: !0\n }\n})], p.prototype, \"title\", void 0), t([e({\n type: [\"attachments\"],\n readOnly: !0,\n json: {\n read: !1,\n write: !0\n }\n})], p.prototype, \"type\", void 0), p = s = t([o(\"esri.popup.content.AttachmentsContent\")], p);\nconst i = p;\nexport { i as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as o } from \"../../chunks/tslib.es6.js\";\nimport { clone as t } from \"../../core/lang.js\";\nimport { property as r } from \"../../core/accessorSupport/decorators/property.js\";\nimport \"../../core/accessorSupport/ensureType.js\";\nimport { subclass as e } from \"../../core/accessorSupport/decorators/subclass.js\";\nimport s from \"./Content.js\";\nvar p;\nlet c = p = class extends s {\n constructor(o) {\n super(o), this.creator = null, this.destroyer = null, this.outFields = null, this.type = \"custom\";\n }\n clone() {\n return new p({\n creator: this.creator,\n destroyer: this.destroyer,\n outFields: Array.isArray(this.outFields) ? t(this.outFields) : null\n });\n }\n};\no([r()], c.prototype, \"creator\", void 0), o([r()], c.prototype, \"destroyer\", void 0), o([r()], c.prototype, \"outFields\", void 0), o([r({\n type: [\"custom\"],\n readOnly: !0\n})], c.prototype, \"type\", void 0), c = p = o([e(\"esri.popup.content.CustomContent\")], c);\nconst i = c;\nexport { i as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as r } from \"../chunks/tslib.es6.js\";\nimport { JSONSupport as e } from \"../core/JSONSupport.js\";\nimport { property as t } from \"../core/accessorSupport/decorators/property.js\";\nimport \"../core/accessorSupport/ensureType.js\";\nimport \"../core/arrayUtils.js\";\nimport \"../core/has.js\";\nimport { subclass as o } from \"../core/accessorSupport/decorators/subclass.js\";\nvar s;\nlet p = s = class extends e {\n constructor(r) {\n super(r), this.title = null, this.expression = null, this.returnType = \"dictionary\";\n }\n clone() {\n return new s({\n title: this.title,\n expression: this.expression\n });\n }\n};\nr([t({\n type: String,\n json: {\n write: !0\n }\n})], p.prototype, \"title\", void 0), r([t({\n type: String,\n json: {\n write: !0\n }\n})], p.prototype, \"expression\", void 0), r([t({\n type: [\"dictionary\"],\n readOnly: !0,\n json: {\n read: !1,\n write: !0\n }\n})], p.prototype, \"returnType\", void 0), p = s = r([o(\"esri.popup.ElementExpressionInfo\")], p);\nconst i = p;\nexport { i as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as o } from \"../../chunks/tslib.es6.js\";\nimport { property as e } from \"../../core/accessorSupport/decorators/property.js\";\nimport \"../../core/accessorSupport/ensureType.js\";\nimport \"../../core/arrayUtils.js\";\nimport \"../../core/has.js\";\nimport { subclass as r } from \"../../core/accessorSupport/decorators/subclass.js\";\nimport s from \"../ElementExpressionInfo.js\";\nimport t from \"./Content.js\";\nvar p;\nlet n = p = class extends t {\n constructor(o) {\n super(o), this.expressionInfo = null, this.type = \"expression\";\n }\n clone() {\n return new p({\n expressionInfo: this.expressionInfo?.clone()\n });\n }\n};\no([e({\n type: s,\n json: {\n write: !0\n }\n})], n.prototype, \"expressionInfo\", void 0), o([e({\n type: [\"expression\"],\n readOnly: !0,\n json: {\n read: !1,\n write: !0\n }\n})], n.prototype, \"type\", void 0), n = p = o([r(\"esri.popup.content.ExpressionContent\")], n);\nconst i = n;\nexport { i as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as o } from \"../../chunks/tslib.es6.js\";\nimport { ClonableMixin as r } from \"../../core/Clonable.js\";\nimport { JSONSupport as t } from \"../../core/JSONSupport.js\";\nimport { property as s } from \"../../core/accessorSupport/decorators/property.js\";\nimport { Integer as e } from \"../../core/accessorSupport/ensureType.js\";\nimport \"../../core/arrayUtils.js\";\nimport \"../../core/has.js\";\nimport { enumeration as p } from \"../../core/accessorSupport/decorators/enumeration.js\";\nimport { subclass as a } from \"../../core/accessorSupport/decorators/subclass.js\";\nimport { dateFormatJSONMap as i } from \"../../intl/date.js\";\nlet c = class extends r(t) {\n constructor(o) {\n super(o), this.dateFormat = null, this.digitSeparator = !1, this.places = null;\n }\n};\no([p(i)], c.prototype, \"dateFormat\", void 0), o([s({\n type: Boolean,\n json: {\n write: !0\n }\n})], c.prototype, \"digitSeparator\", void 0), o([s({\n type: e,\n json: {\n write: !0\n }\n})], c.prototype, \"places\", void 0), c = o([a(\"esri.popup.support.FieldInfoFormat\")], c);\nconst m = c;\nexport { m as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as t } from \"../chunks/tslib.es6.js\";\nimport { JSONMap as o } from \"../core/jsonMap.js\";\nimport { JSONSupport as e } from \"../core/JSONSupport.js\";\nimport { clone as i } from \"../core/lang.js\";\nimport { property as r } from \"../core/accessorSupport/decorators/property.js\";\nimport \"../core/accessorSupport/ensureType.js\";\nimport { enumeration as s } from \"../core/accessorSupport/decorators/enumeration.js\";\nimport { subclass as p } from \"../core/accessorSupport/decorators/subclass.js\";\nimport l from \"./support/FieldInfoFormat.js\";\nvar a;\nlet n = a = class extends e {\n constructor(t) {\n super(t), this.fieldName = null, this.format = null, this.isEditable = !0, this.label = null, this.stringFieldOption = \"text-box\", this.statisticType = null, this.tooltip = null, this.visible = !0;\n }\n clone() {\n return new a({\n fieldName: this.fieldName,\n format: this.format ? i(this.format) : null,\n isEditable: this.isEditable,\n label: this.label,\n stringFieldOption: this.stringFieldOption,\n statisticType: this.statisticType,\n tooltip: this.tooltip,\n visible: this.visible\n });\n }\n};\nt([r({\n type: String,\n json: {\n write: !0\n }\n})], n.prototype, \"fieldName\", void 0), t([r({\n type: l,\n json: {\n write: !0\n }\n})], n.prototype, \"format\", void 0), t([r({\n type: Boolean,\n json: {\n write: {\n alwaysWriteDefaults: !0\n },\n default: !0\n }\n})], n.prototype, \"isEditable\", void 0), t([r({\n type: String,\n json: {\n write: !0\n }\n})], n.prototype, \"label\", void 0), t([s(new o({\n richtext: \"rich-text\",\n textarea: \"text-area\",\n textbox: \"text-box\"\n}), {\n default: \"text-box\"\n})], n.prototype, \"stringFieldOption\", void 0), t([r({\n type: [\"count\", \"sum\", \"min\", \"max\", \"avg\", \"stddev\", \"var\"],\n json: {\n write: !0\n }\n})], n.prototype, \"statisticType\", void 0), t([r({\n type: String,\n json: {\n write: !0\n }\n})], n.prototype, \"tooltip\", void 0), t([r({\n type: Boolean,\n json: {\n write: !0\n }\n})], n.prototype, \"visible\", void 0), n = a = t([p(\"esri.popup.FieldInfo\")], n);\nconst c = n;\nexport { c as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as t } from \"../../chunks/tslib.es6.js\";\nimport { clone as o } from \"../../core/lang.js\";\nimport { property as e } from \"../../core/accessorSupport/decorators/property.js\";\nimport \"../../core/accessorSupport/ensureType.js\";\nimport { subclass as r } from \"../../core/accessorSupport/decorators/subclass.js\";\nimport { writer as s } from \"../../core/accessorSupport/decorators/writer.js\";\nimport i from \"../FieldInfo.js\";\nimport p from \"./Content.js\";\nvar n;\nlet l = n = class extends p {\n constructor(t) {\n super(t), this.attributes = null, this.description = null, this.fieldInfos = null, this.title = null, this.type = \"fields\";\n }\n writeFieldInfos(t, o) {\n o.fieldInfos = t && t.map(t => t.toJSON());\n }\n clone() {\n return new n(o({\n attributes: this.attributes,\n description: this.description,\n fieldInfos: this.fieldInfos,\n title: this.title\n }));\n }\n};\nt([e({\n type: Object,\n json: {\n write: !0\n }\n})], l.prototype, \"attributes\", void 0), t([e({\n type: String,\n json: {\n write: !0\n }\n})], l.prototype, \"description\", void 0), t([e({\n type: [i]\n})], l.prototype, \"fieldInfos\", void 0), t([s(\"fieldInfos\")], l.prototype, \"writeFieldInfos\", null), t([e({\n type: String,\n json: {\n write: !0\n }\n})], l.prototype, \"title\", void 0), t([e({\n type: [\"fields\"],\n readOnly: !0,\n json: {\n read: !1,\n write: !0\n }\n})], l.prototype, \"type\", void 0), l = n = t([r(\"esri.popup.content.FieldsContent\")], l);\nconst c = l;\nexport { c as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as t } from \"../../../chunks/tslib.es6.js\";\nimport { JSONSupport as r } from \"../../../core/JSONSupport.js\";\nimport { property as o } from \"../../../core/accessorSupport/decorators/property.js\";\nimport \"../../../core/accessorSupport/ensureType.js\";\nimport \"../../../core/arrayUtils.js\";\nimport \"../../../core/has.js\";\nimport { subclass as e } from \"../../../core/accessorSupport/decorators/subclass.js\";\nlet s = class extends r {\n constructor(t) {\n super(t), this.altText = null, this.caption = \"\", this.title = \"\", this.type = null;\n }\n};\nt([o({\n type: String,\n json: {\n write: !0\n }\n})], s.prototype, \"altText\", void 0), t([o({\n type: String,\n json: {\n write: !0\n }\n})], s.prototype, \"caption\", void 0), t([o({\n type: String,\n json: {\n write: !0\n }\n})], s.prototype, \"title\", void 0), t([o({\n type: [\"image\", \"bar-chart\", \"column-chart\", \"line-chart\", \"pie-chart\"],\n readOnly: !0,\n json: {\n read: !1,\n write: !0\n }\n})], s.prototype, \"type\", void 0), s = t([e(\"esri.popup.content.mixins.MediaInfo\")], s);\nconst p = s;\nexport { p as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as o } from \"../../../chunks/tslib.es6.js\";\nimport r from \"../../../core/Accessor.js\";\nimport { property as t } from \"../../../core/accessorSupport/decorators/property.js\";\nimport \"../../../core/accessorSupport/ensureType.js\";\nimport \"../../../core/arrayUtils.js\";\nimport \"../../../core/has.js\";\nimport { subclass as e } from \"../../../core/accessorSupport/decorators/subclass.js\";\nvar s;\nlet p = s = class extends r {\n constructor(o) {\n super(o), this.color = null, this.fieldName = null, this.tooltip = null, this.value = null;\n }\n clone() {\n return new s({\n fieldName: this.fieldName,\n tooltip: this.tooltip,\n value: this.value\n });\n }\n};\no([t()], p.prototype, \"color\", void 0), o([t()], p.prototype, \"fieldName\", void 0), o([t()], p.prototype, \"tooltip\", void 0), o([t()], p.prototype, \"value\", void 0), p = s = o([e(\"esri.popup.content.support.ChartMediaInfoValueSeries\")], p);\nconst i = p;\nexport { i as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as o } from \"../../../chunks/tslib.es6.js\";\nimport r from \"../../../Color.js\";\nimport { JSONSupport as t } from \"../../../core/JSONSupport.js\";\nimport { clone as e } from \"../../../core/lang.js\";\nimport { property as s } from \"../../../core/accessorSupport/decorators/property.js\";\nimport { Integer as i } from \"../../../core/accessorSupport/ensureType.js\";\nimport { subclass as p } from \"../../../core/accessorSupport/decorators/subclass.js\";\nimport l from \"./ChartMediaInfoValueSeries.js\";\nvar n;\nlet c = n = class extends t {\n constructor(o) {\n super(o), this.colors = null, this.fields = [], this.normalizeField = null, this.series = [], this.tooltipField = null;\n }\n clone() {\n return new n({\n colors: e(this.colors),\n fields: e(this.fields),\n normalizeField: this.normalizeField,\n tooltipField: this.tooltipField\n });\n }\n};\no([s({\n type: [r],\n json: {\n type: [[i]],\n write: !0\n }\n})], c.prototype, \"colors\", void 0), o([s({\n type: [String],\n json: {\n write: !0\n }\n})], c.prototype, \"fields\", void 0), o([s({\n type: String,\n json: {\n write: !0\n }\n})], c.prototype, \"normalizeField\", void 0), o([s({\n type: [l],\n json: {\n read: !1\n }\n})], c.prototype, \"series\", void 0), o([s({\n type: String,\n json: {\n write: !0\n }\n})], c.prototype, \"tooltipField\", void 0), c = n = o([p(\"esri.popup.content.support.ChartMediaInfoValue\")], c);\nconst d = c;\nexport { d as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as r } from \"../../../chunks/tslib.es6.js\";\nimport { property as o } from \"../../../core/accessorSupport/decorators/property.js\";\nimport \"../../../core/accessorSupport/ensureType.js\";\nimport \"../../../core/arrayUtils.js\";\nimport \"../../../core/has.js\";\nimport { subclass as t } from \"../../../core/accessorSupport/decorators/subclass.js\";\nimport e from \"./MediaInfo.js\";\nimport s from \"../support/ChartMediaInfoValue.js\";\nlet p = class extends e {\n constructor(r) {\n super(r), this.type = null, this.value = null;\n }\n};\nr([o({\n type: [\"bar-chart\", \"column-chart\", \"line-chart\", \"pie-chart\"],\n readOnly: !0,\n json: {\n read: !1,\n write: !0\n }\n})], p.prototype, \"type\", void 0), r([o({\n type: s,\n json: {\n write: !0\n }\n})], p.prototype, \"value\", void 0), p = r([t(\"esri.popup.content.mixins.ChartMediaInfo\")], p);\nconst a = p;\nexport { a as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { strict as r } from \"../../../core/jsonMap.js\";\nconst c = r()({\n barchart: \"bar-chart\",\n columnchart: \"column-chart\",\n linechart: \"line-chart\",\n piechart: \"pie-chart\"\n});\nexport { c as chartTypeKebabDict };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as t } from \"../../chunks/tslib.es6.js\";\nimport { property as r } from \"../../core/accessorSupport/decorators/property.js\";\nimport \"../../core/accessorSupport/ensureType.js\";\nimport \"../../core/arrayUtils.js\";\nimport \"../../core/has.js\";\nimport { subclass as o } from \"../../core/accessorSupport/decorators/subclass.js\";\nimport e from \"./mixins/ChartMediaInfo.js\";\nimport { chartTypeKebabDict as s } from \"./support/chartMediaInfoUtils.js\";\nvar a;\nlet p = a = class extends e {\n constructor(t) {\n super(t), this.type = \"bar-chart\";\n }\n clone() {\n return new a({\n altText: this.altText,\n title: this.title,\n caption: this.caption,\n value: this.value ? this.value.clone() : null\n });\n }\n};\nt([r({\n type: [\"bar-chart\"],\n readOnly: !0,\n json: {\n type: [\"barchart\"],\n read: !1,\n write: s.write\n }\n})], p.prototype, \"type\", void 0), p = a = t([o(\"esri.popup.content.BarChartMediaInfo\")], p);\nconst i = p;\nexport { i as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as t } from \"../../chunks/tslib.es6.js\";\nimport { property as r } from \"../../core/accessorSupport/decorators/property.js\";\nimport \"../../core/accessorSupport/ensureType.js\";\nimport \"../../core/arrayUtils.js\";\nimport \"../../core/has.js\";\nimport { subclass as o } from \"../../core/accessorSupport/decorators/subclass.js\";\nimport e from \"./mixins/ChartMediaInfo.js\";\nimport { chartTypeKebabDict as s } from \"./support/chartMediaInfoUtils.js\";\nvar a;\nlet p = a = class extends e {\n constructor(t) {\n super(t), this.type = \"column-chart\";\n }\n clone() {\n return new a({\n altText: this.altText,\n title: this.title,\n caption: this.caption,\n value: this.value ? this.value.clone() : null\n });\n }\n};\nt([r({\n type: [\"column-chart\"],\n readOnly: !0,\n json: {\n type: [\"columnchart\"],\n read: !1,\n write: s.write\n }\n})], p.prototype, \"type\", void 0), p = a = t([o(\"esri.popup.content.ColumnChartMediaInfo\")], p);\nconst c = p;\nexport { c as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as r } from \"../../../chunks/tslib.es6.js\";\nimport { JSONSupport as o } from \"../../../core/JSONSupport.js\";\nimport { property as s } from \"../../../core/accessorSupport/decorators/property.js\";\nimport \"../../../core/accessorSupport/ensureType.js\";\nimport \"../../../core/arrayUtils.js\";\nimport \"../../../core/has.js\";\nimport { subclass as t } from \"../../../core/accessorSupport/decorators/subclass.js\";\nvar e;\nlet p = e = class extends o {\n constructor(r) {\n super(r), this.linkURL = null, this.sourceURL = null;\n }\n clone() {\n return new e({\n linkURL: this.linkURL,\n sourceURL: this.sourceURL\n });\n }\n};\nr([s({\n type: String,\n json: {\n write: !0\n }\n})], p.prototype, \"linkURL\", void 0), r([s({\n type: String,\n json: {\n write: !0\n }\n})], p.prototype, \"sourceURL\", void 0), p = e = r([t(\"esri.popup.content.support.ImageMediaInfoValue\")], p);\nconst c = p;\nexport { c as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as e } from \"../../chunks/tslib.es6.js\";\nimport { property as t } from \"../../core/accessorSupport/decorators/property.js\";\nimport \"../../core/accessorSupport/ensureType.js\";\nimport \"../../core/arrayUtils.js\";\nimport \"../../core/has.js\";\nimport { subclass as r } from \"../../core/accessorSupport/decorators/subclass.js\";\nimport o from \"./mixins/MediaInfo.js\";\nimport s from \"./support/ImageMediaInfoValue.js\";\nvar a;\nlet i = a = class extends o {\n constructor(e) {\n super(e), this.refreshInterval = null, this.type = \"image\", this.value = null;\n }\n clone() {\n return new a({\n altText: this.altText,\n title: this.title,\n caption: this.caption,\n refreshInterval: this.refreshInterval,\n value: this.value ? this.value.clone() : null\n });\n }\n};\ne([t({\n type: Number,\n json: {\n write: !0\n }\n})], i.prototype, \"refreshInterval\", void 0), e([t({\n type: [\"image\"],\n readOnly: !0,\n json: {\n read: !1,\n write: !0\n }\n})], i.prototype, \"type\", void 0), e([t({\n type: s,\n json: {\n write: !0\n }\n})], i.prototype, \"value\", void 0), i = a = e([r(\"esri.popup.content.ImageMediaInfo\")], i);\nconst p = i;\nexport { p as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as t } from \"../../chunks/tslib.es6.js\";\nimport { property as r } from \"../../core/accessorSupport/decorators/property.js\";\nimport \"../../core/accessorSupport/ensureType.js\";\nimport \"../../core/arrayUtils.js\";\nimport \"../../core/has.js\";\nimport { subclass as e } from \"../../core/accessorSupport/decorators/subclass.js\";\nimport o from \"./mixins/ChartMediaInfo.js\";\nimport { chartTypeKebabDict as s } from \"./support/chartMediaInfoUtils.js\";\nvar i;\nlet a = i = class extends o {\n constructor(t) {\n super(t), this.type = \"line-chart\";\n }\n clone() {\n return new i({\n altText: this.altText,\n title: this.title,\n caption: this.caption,\n value: this.value ? this.value.clone() : null\n });\n }\n};\nt([r({\n type: [\"line-chart\"],\n readOnly: !0,\n json: {\n type: [\"linechart\"],\n read: !1,\n write: s.write\n }\n})], a.prototype, \"type\", void 0), a = i = t([e(\"esri.popup.content.LineChartMediaInfo\")], a);\nconst p = a;\nexport { p as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as t } from \"../../chunks/tslib.es6.js\";\nimport { property as r } from \"../../core/accessorSupport/decorators/property.js\";\nimport \"../../core/accessorSupport/ensureType.js\";\nimport \"../../core/arrayUtils.js\";\nimport \"../../core/has.js\";\nimport { subclass as e } from \"../../core/accessorSupport/decorators/subclass.js\";\nimport o from \"./mixins/ChartMediaInfo.js\";\nimport { chartTypeKebabDict as s } from \"./support/chartMediaInfoUtils.js\";\nvar p;\nlet i = p = class extends o {\n constructor(t) {\n super(t), this.type = \"pie-chart\";\n }\n clone() {\n return new p({\n altText: this.altText,\n title: this.title,\n caption: this.caption,\n value: this.value ? this.value.clone() : null\n });\n }\n};\nt([r({\n type: [\"pie-chart\"],\n readOnly: !0,\n json: {\n type: [\"piechart\"],\n read: !1,\n write: s.write\n }\n})], i.prototype, \"type\", void 0), i = p = t([e(\"esri.popup.content.PieChartMediaInfo\")], i);\nconst a = i;\nexport { a as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport a from \"../BarChartMediaInfo.js\";\nimport r from \"../ColumnChartMediaInfo.js\";\nimport o from \"../ImageMediaInfo.js\";\nimport e from \"../LineChartMediaInfo.js\";\nimport i from \"../PieChartMediaInfo.js\";\nimport t from \"../mixins/MediaInfo.js\";\nconst m = {\n base: t,\n key: \"type\",\n defaultKeyValue: \"image\",\n typeMap: {\n \"bar-chart\": a,\n \"column-chart\": r,\n \"line-chart\": e,\n \"pie-chart\": i,\n image: o\n }\n};\nexport { m as types };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as t } from \"../../chunks/tslib.es6.js\";\nimport { clone as o } from \"../../core/lang.js\";\nimport { property as e } from \"../../core/accessorSupport/decorators/property.js\";\nimport \"../../core/accessorSupport/ensureType.js\";\nimport { reader as r } from \"../../core/accessorSupport/decorators/reader.js\";\nimport { subclass as i } from \"../../core/accessorSupport/decorators/subclass.js\";\nimport { writer as s } from \"../../core/accessorSupport/decorators/writer.js\";\nimport p from \"./BarChartMediaInfo.js\";\nimport a from \"./ColumnChartMediaInfo.js\";\nimport n from \"./Content.js\";\nimport d from \"./ImageMediaInfo.js\";\nimport m from \"./LineChartMediaInfo.js\";\nimport c from \"./PieChartMediaInfo.js\";\nimport { types as f } from \"./support/mediaInfoTypes.js\";\nvar l;\nlet u = l = class extends n {\n constructor(t) {\n super(t), this.activeMediaInfoIndex = null, this.attributes = null, this.description = null, this.mediaInfos = null, this.title = null, this.type = \"media\";\n }\n readMediaInfos(t) {\n return t && t.map(t => \"image\" === t.type ? d.fromJSON(t) : \"barchart\" === t.type ? p.fromJSON(t) : \"columnchart\" === t.type ? a.fromJSON(t) : \"linechart\" === t.type ? m.fromJSON(t) : \"piechart\" === t.type ? c.fromJSON(t) : void 0).filter(Boolean);\n }\n writeMediaInfos(t, o) {\n o.mediaInfos = t && t.map(t => t.toJSON());\n }\n clone() {\n return new l(o({\n activeMediaInfoIndex: this.activeMediaInfoIndex,\n attributes: this.attributes,\n description: this.description,\n mediaInfos: this.mediaInfos,\n title: this.title\n }));\n }\n};\nt([e()], u.prototype, \"activeMediaInfoIndex\", void 0), t([e({\n type: Object,\n json: {\n write: !0\n }\n})], u.prototype, \"attributes\", void 0), t([e({\n type: String,\n json: {\n write: !0\n }\n})], u.prototype, \"description\", void 0), t([e({\n types: [f]\n})], u.prototype, \"mediaInfos\", void 0), t([r(\"mediaInfos\")], u.prototype, \"readMediaInfos\", null), t([s(\"mediaInfos\")], u.prototype, \"writeMediaInfos\", null), t([e({\n type: String,\n json: {\n write: !0\n }\n})], u.prototype, \"title\", void 0), t([e({\n type: [\"media\"],\n readOnly: !0,\n json: {\n read: !1,\n write: !0\n }\n})], u.prototype, \"type\", void 0), u = l = t([i(\"esri.popup.content.MediaContent\")], u);\nconst I = u;\nexport { I as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as r } from \"../../chunks/tslib.es6.js\";\nimport { JSONSupport as o } from \"../../core/JSONSupport.js\";\nimport { property as e } from \"../../core/accessorSupport/decorators/property.js\";\nimport \"../../core/accessorSupport/ensureType.js\";\nimport \"../../core/arrayUtils.js\";\nimport \"../../core/has.js\";\nimport { subclass as s } from \"../../core/accessorSupport/decorators/subclass.js\";\nvar t;\nlet p = t = class extends o {\n constructor(r) {\n super(r), this.field = null, this.order = null;\n }\n clone() {\n return new t({\n field: this.field,\n order: this.order\n });\n }\n};\nr([e({\n type: String,\n json: {\n write: !0\n }\n})], p.prototype, \"field\", void 0), r([e({\n type: [\"asc\", \"desc\"],\n json: {\n write: !0\n }\n})], p.prototype, \"order\", void 0), p = t = r([s(\"esri.popup.support.RelatedRecordsInfoFieldOrder\")], p);\nconst c = p;\nexport { c as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as t } from \"../../chunks/tslib.es6.js\";\nimport { ClonableMixin as o } from \"../../core/Clonable.js\";\nimport { property as e } from \"../../core/accessorSupport/decorators/property.js\";\nimport { Integer as r } from \"../../core/accessorSupport/ensureType.js\";\nimport \"../../core/arrayUtils.js\";\nimport \"../../core/has.js\";\nimport { subclass as s } from \"../../core/accessorSupport/decorators/subclass.js\";\nimport p from \"./Content.js\";\nimport i from \"../support/RelatedRecordsInfoFieldOrder.js\";\nlet n = class extends o(p) {\n constructor(t) {\n super(t), this.description = null, this.displayCount = null, this.displayType = \"list\", this.orderByFields = null, this.relationshipId = null, this.title = null, this.type = \"relationship\";\n }\n};\nt([e({\n type: String,\n json: {\n write: !0\n }\n})], n.prototype, \"description\", void 0), t([e({\n type: Number,\n json: {\n type: r,\n write: !0\n }\n})], n.prototype, \"displayCount\", void 0), t([e({\n type: [\"list\"],\n json: {\n write: !0\n }\n})], n.prototype, \"displayType\", void 0), t([e({\n type: [i],\n json: {\n write: !0\n }\n})], n.prototype, \"orderByFields\", void 0), t([e({\n type: Number,\n json: {\n type: r,\n write: !0\n }\n})], n.prototype, \"relationshipId\", void 0), t([e({\n type: String,\n json: {\n write: !0\n }\n})], n.prototype, \"title\", void 0), t([e({\n type: [\"relationship\"],\n readOnly: !0,\n json: {\n read: !1,\n write: !0\n }\n})], n.prototype, \"type\", void 0), n = t([s(\"esri.popup.content.RelationshipContent\")], n);\nconst l = n;\nexport { l as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as t } from \"../../chunks/tslib.es6.js\";\nimport { property as r } from \"../../core/accessorSupport/decorators/property.js\";\nimport \"../../core/accessorSupport/ensureType.js\";\nimport \"../../core/arrayUtils.js\";\nimport \"../../core/has.js\";\nimport { subclass as e } from \"../../core/accessorSupport/decorators/subclass.js\";\nimport o from \"./Content.js\";\nvar s;\nlet p = s = class extends o {\n constructor(t) {\n super(t), this.text = null, this.type = \"text\";\n }\n clone() {\n return new s({\n text: this.text\n });\n }\n};\nt([r({\n type: String,\n json: {\n write: !0\n }\n})], p.prototype, \"text\", void 0), t([r({\n type: [\"text\"],\n readOnly: !0,\n json: {\n read: !1,\n write: !0\n }\n})], p.prototype, \"type\", void 0), p = s = t([e(\"esri.popup.content.TextContent\")], p);\nconst c = p;\nexport { c as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport t from \"./content/AttachmentsContent.js\";\nimport n from \"./content/Content.js\";\nexport { default as CustomContent } from \"./content/CustomContent.js\";\nimport o from \"./content/ExpressionContent.js\";\nimport e from \"./content/FieldsContent.js\";\nimport r from \"./content/MediaContent.js\";\nimport s from \"./content/RelationshipContent.js\";\nimport m from \"./content/TextContent.js\";\nfunction i(t) {\n return t instanceof n;\n}\nconst p = {\n base: null,\n key: \"type\",\n typeMap: {\n attachment: t,\n media: r,\n text: m,\n expression: o,\n field: e,\n relationship: s\n }\n};\nexport { t as AttachmentsContent, n as BaseContent, o as ExpressionContent, e as FieldsContent, r as MediaContent, s as RelationshipContent, m as TextContent, i as isContent, p as persistableTypes };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as o } from \"../chunks/tslib.es6.js\";\nimport { JSONSupport as r } from \"../core/JSONSupport.js\";\nimport { property as s } from \"../core/accessorSupport/decorators/property.js\";\nimport \"../core/accessorSupport/ensureType.js\";\nimport \"../core/arrayUtils.js\";\nimport \"../core/has.js\";\nimport { subclass as t } from \"../core/accessorSupport/decorators/subclass.js\";\nvar e;\nlet p = e = class extends r {\n constructor(o) {\n super(o), this.returnTopmostRaster = null, this.showNoDataRecords = null;\n }\n clone() {\n return new e({\n showNoDataRecords: this.showNoDataRecords,\n returnTopmostRaster: this.returnTopmostRaster\n });\n }\n};\no([s({\n type: Boolean,\n json: {\n write: !0\n }\n})], p.prototype, \"returnTopmostRaster\", void 0), o([s({\n type: Boolean,\n json: {\n write: !0\n }\n})], p.prototype, \"showNoDataRecords\", void 0), p = e = o([t(\"esri.popup.LayerOptions\")], p);\nconst a = p;\nexport { a as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as o } from \"../chunks/tslib.es6.js\";\nimport { JSONSupport as r } from \"../core/JSONSupport.js\";\nimport { clone as e } from \"../core/lang.js\";\nimport { property as s } from \"../core/accessorSupport/decorators/property.js\";\nimport \"../core/accessorSupport/ensureType.js\";\nimport { subclass as t } from \"../core/accessorSupport/decorators/subclass.js\";\nimport p from \"./support/RelatedRecordsInfoFieldOrder.js\";\nvar d;\nlet c = d = class extends r {\n constructor(o) {\n super(o), this.showRelatedRecords = null, this.orderByFields = null;\n }\n clone() {\n return new d({\n showRelatedRecords: this.showRelatedRecords,\n orderByFields: this.orderByFields ? e(this.orderByFields) : null\n });\n }\n};\no([s({\n type: Boolean,\n json: {\n write: !0\n }\n})], c.prototype, \"showRelatedRecords\", void 0), o([s({\n type: [p],\n json: {\n write: !0\n }\n})], c.prototype, \"orderByFields\", void 0), c = d = o([t(\"esri.popup.RelatedRecordsInfo\")], c);\nconst l = c;\nexport { l as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as s } from \"../../chunks/tslib.es6.js\";\nimport { property as t } from \"../../core/accessorSupport/decorators/property.js\";\nimport \"../../core/accessorSupport/ensureType.js\";\nimport \"../../core/arrayUtils.js\";\nimport \"../../core/has.js\";\nimport { subclass as i } from \"../../core/accessorSupport/decorators/subclass.js\";\nimport e from \"./ActionBase.js\";\nvar o;\nlet r = o = class extends e {\n constructor(s) {\n super(s), this.image = null, this.type = \"toggle\", this.value = !1;\n }\n clone() {\n return new o({\n active: this.active,\n className: this.className,\n disabled: this.disabled,\n icon: this.icon,\n id: this.id,\n indicator: this.indicator,\n title: this.title,\n visible: this.visible,\n image: this.image,\n value: this.value\n });\n }\n};\ns([t()], r.prototype, \"image\", void 0), s([t()], r.prototype, \"value\", void 0), r = o = s([i(\"esri.support.Action.ActionToggle\")], r);\nconst a = r;\nexport { a as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as t } from \"./chunks/tslib.es6.js\";\nimport { ClonableMixin as e } from \"./core/Clonable.js\";\nimport o from \"./core/Collection.js\";\nimport { JSONSupport as s } from \"./core/JSONSupport.js\";\nimport { clone as r } from \"./core/lang.js\";\nimport i from \"./core/Logger.js\";\nimport { isPromiseLike as n } from \"./core/promiseUtils.js\";\nimport { property as p } from \"./core/accessorSupport/decorators/property.js\";\nimport { cast as l } from \"./core/accessorSupport/decorators/cast.js\";\nimport { reader as a } from \"./core/accessorSupport/decorators/reader.js\";\nimport { subclass as d } from \"./core/accessorSupport/decorators/subclass.js\";\nimport { writer as c } from \"./core/accessorSupport/decorators/writer.js\";\nimport { ensureOneOfType as f } from \"./core/accessorSupport/ensureType.js\";\nimport { collectFields as m, collectArcadeFieldNames as u } from \"./layers/support/fieldUtils.js\";\nimport { persistableTypes as h } from \"./popup/content.js\";\nimport y from \"./popup/ExpressionInfo.js\";\nimport I from \"./popup/FieldInfo.js\";\nimport F from \"./popup/LayerOptions.js\";\nimport _ from \"./popup/RelatedRecordsInfo.js\";\nimport { types as x } from \"./popup/content/support/mediaInfoTypes.js\";\nimport g from \"./support/actions/ActionBase.js\";\nimport w from \"./support/actions/ActionButton.js\";\nimport A from \"./support/actions/ActionToggle.js\";\nimport C from \"./popup/content/MediaContent.js\";\nimport N from \"./popup/content/TextContent.js\";\nimport j from \"./popup/content/AttachmentsContent.js\";\nimport S from \"./popup/content/FieldsContent.js\";\nimport E from \"./popup/content/ExpressionContent.js\";\nimport O from \"./popup/content/RelationshipContent.js\";\nimport R from \"./popup/content/Content.js\";\nimport v from \"./popup/content/CustomContent.js\";\nconst T = \"esri.PopupTemplate\",\n b = i.getLogger(T),\n J = \"relationships/\",\n L = \"expression/\",\n B = o.ofType({\n key: \"type\",\n defaultKeyValue: \"button\",\n base: g,\n typeMap: {\n button: w,\n toggle: A\n }\n }),\n M = {\n base: R,\n key: \"type\",\n typeMap: {\n media: C,\n custom: v,\n text: N,\n attachments: j,\n fields: S,\n expression: E,\n relationship: O\n }\n },\n P = new Set([\"attachments\", \"fields\", \"media\", \"text\", \"expression\", \"relationship\"]);\nlet $ = class extends e(s) {\n constructor() {\n super(...arguments), this.actions = null, this.content = \"\", this.expressionInfos = null, this.fieldInfos = null, this.layerOptions = null, this.lastEditInfoEnabled = !0, this.outFields = null, this.overwriteActions = !1, this.returnGeometry = !1, this.title = \"\";\n }\n castContent(t) {\n return Array.isArray(t) ? t.map(t => f(M, t)) : \"string\" == typeof t || \"function\" == typeof t || t instanceof HTMLElement || n(t) ? t : (b.error(\"content error\", \"unsupported content value\", {\n value: t\n }), null);\n }\n readContent(t, e) {\n const {\n popupElements: o\n } = e;\n return Array.isArray(o) && o.length > 0 ? this._readPopupInfoElements(e.description, e.mediaInfos, o) : this._readPopupInfo(e);\n }\n writeContent(t, e, o, s) {\n \"string\" != typeof t ? Array.isArray(t) && (e.popupElements = t.filter(t => P.has(t.type)).map(t => t?.toJSON(s)), e.popupElements.forEach(t => {\n \"attachments\" === t.type ? this._writeAttachmentContent(e) : \"media\" === t.type ? this._writeMediaContent(t, e) : \"text\" === t.type ? this._writeTextContent(t, e) : \"relationship\" === t.type && this._writeRelationshipContent(t, e);\n })) : e.description = t;\n }\n writeFieldInfos(t, e, o, s) {\n const {\n content: r\n } = this,\n i = Array.isArray(r) ? r : null;\n if (t) {\n const o = i ? i.filter(t => \"fields\" === t.type) : [],\n r = o.length && o.every(t => t.fieldInfos?.length);\n e.fieldInfos = t.filter(Boolean).map(t => {\n const e = t.toJSON(s);\n return r && (e.visible = !1), e;\n });\n }\n if (i) for (const n of i) \"fields\" === n.type && this._writeFieldsContent(n, e);\n }\n writeLayerOptions(t, e, o, s) {\n e[o] = !t || null === t.showNoDataRecords && null === t.returnTopmostRaster ? null : t.toJSON(s);\n }\n writeTitle(t, e) {\n e.title = t || \"\";\n }\n async collectRequiredFields(t, e) {\n const o = this.expressionInfos || [];\n await this._collectExpressionInfoFields(t, e, [...o, ...this._getContentExpressionInfos(this.content, o)]), m(t, e, [...(this.outFields || []), ...this._getActionsFields(this.actions), ...this._getTitleFields(this.title), ...this._getContentFields(this.content)]);\n }\n async getRequiredFields(t) {\n const e = new Set();\n return await this.collectRequiredFields(e, t), [...e].sort();\n }\n _writeFieldsContent(t, e) {\n if (!Array.isArray(t.fieldInfos) || !t.fieldInfos.length) return;\n const o = r(t.fieldInfos);\n Array.isArray(e.fieldInfos) ? o.forEach(t => {\n const o = e.fieldInfos.find(e => e.fieldName.toLowerCase() === t.fieldName.toLowerCase());\n o ? o.visible = !0 : e.fieldInfos.push(t);\n }) : e.fieldInfos = o;\n }\n _writeAttachmentContent(t) {\n t.showAttachments || (t.showAttachments = !0);\n }\n _writeRelationshipContent(t, e) {\n const o = t.orderByFields?.map(e => this._toFieldOrderJSON(e, t.relationshipId)) || [],\n s = [...(e.relatedRecordsInfo?.orderByFields || []), ...o];\n e.relatedRecordsInfo = {\n showRelatedRecords: !0,\n ...(s?.length && {\n orderByFields: s\n })\n };\n }\n _writeTextContent(t, e) {\n !e.description && t.text && (e.description = t.text);\n }\n _writeMediaContent(t, e) {\n if (!Array.isArray(t.mediaInfos) || !t.mediaInfos.length) return;\n const o = r(t.mediaInfos);\n Array.isArray(e.mediaInfos) ? e.mediaInfos = [...e.mediaInfos, ...o] : e.mediaInfos = o;\n }\n _readPopupInfoElements(t, e, o) {\n const s = {\n description: !1,\n mediaInfos: !1\n };\n return o.map(o => \"media\" === o.type ? (o.mediaInfos || !e || s.mediaInfos || (o.mediaInfos = e, s.mediaInfos = !0), C.fromJSON(o)) : \"text\" === o.type ? (o.text || !t || s.description || (o.text = t, s.description = !0), N.fromJSON(o)) : \"attachments\" === o.type ? j.fromJSON(o) : \"fields\" === o.type ? S.fromJSON(o) : \"expression\" === o.type ? E.fromJSON(o) : \"relationship\" === o.type ? O.fromJSON(o) : void 0).filter(Boolean);\n }\n _toRelationshipContent(t) {\n const {\n field: e,\n order: o\n } = t;\n if (!e?.startsWith(J)) return null;\n const s = e.replace(J, \"\").split(\"/\");\n if (2 !== s.length) return null;\n const r = parseInt(s[0], 10),\n i = s[1];\n return \"number\" == typeof r && i ? O.fromJSON({\n relationshipId: r,\n orderByFields: [{\n field: i,\n order: o\n }]\n }) : null;\n }\n _toFieldOrderJSON(t, e) {\n const {\n order: o,\n field: s\n } = t;\n return {\n field: `${J}${e}/${s}`,\n order: o\n };\n }\n _readPopupInfo({\n description: t,\n mediaInfos: e,\n showAttachments: o,\n relatedRecordsInfo: s = {\n showRelatedRecords: !1\n }\n }) {\n const r = [];\n t ? r.push(new N({\n text: t\n })) : r.push(new S()), Array.isArray(e) && e.length && r.push(C.fromJSON({\n mediaInfos: e\n })), o && r.push(j.fromJSON({\n displayType: \"auto\"\n }));\n const {\n showRelatedRecords: i,\n orderByFields: n\n } = s;\n return i && n?.length && n.forEach(t => {\n const e = this._toRelationshipContent(t);\n e && r.push(e);\n }), r.length ? r : t;\n }\n _getContentElementFields(t) {\n const e = t?.type;\n if (\"attachments\" === e) return [...this._extractFieldNames(t.title), ...this._extractFieldNames(t.description)];\n if (\"custom\" === e) return t.outFields || [];\n if (\"fields\" === e) return [...this._extractFieldNames(t.title), ...this._extractFieldNames(t.description), ...this._getFieldInfoFields(t.fieldInfos ?? this.fieldInfos)];\n if (\"media\" === e) {\n const e = t.mediaInfos || [];\n return [...this._extractFieldNames(t.title), ...this._extractFieldNames(t.description), ...e.reduce((t, e) => [...t, ...this._getMediaInfoFields(e)], [])];\n }\n return \"text\" === e ? this._extractFieldNames(t.text) : [];\n }\n _getMediaInfoFields(t) {\n const {\n caption: e,\n title: o,\n value: s\n } = t,\n r = s || {},\n {\n fields: i,\n normalizeField: n,\n tooltipField: p,\n sourceURL: l,\n linkURL: a\n } = r,\n d = [...this._extractFieldNames(o), ...this._extractFieldNames(e), ...this._extractFieldNames(l), ...this._extractFieldNames(a), ...(i ?? [])];\n return n && d.push(n), p && d.push(p), d;\n }\n _getContentExpressionInfos(t, e) {\n return Array.isArray(t) ? t.reduce((t, e) => [...t, ...(\"expression\" === e.type && e.expressionInfo ? [e.expressionInfo] : [])], e) : [];\n }\n _getContentFields(t) {\n return \"string\" == typeof t ? this._extractFieldNames(t) : Array.isArray(t) ? t.reduce((t, e) => [...t, ...this._getContentElementFields(e)], []) : [];\n }\n async _collectExpressionInfoFields(t, e, o) {\n o && (await Promise.all(o.map(o => u(t, e, o.expression))));\n }\n _getFieldInfoFields(t) {\n return t ? t.filter(t => void 0 === t.visible || !!t.visible).map(t => t.fieldName).filter(t => !t.startsWith(J) && !t.startsWith(L)) : [];\n }\n _getActionsFields(t) {\n return t ? t.toArray().reduce((t, e) => [...t, ...this._getActionFields(e)], []) : [];\n }\n _getActionFields(t) {\n const {\n className: e,\n title: o,\n type: s\n } = t,\n r = \"button\" === s || \"toggle\" === s ? t.image : \"\";\n return [...this._extractFieldNames(o), ...this._extractFieldNames(e), ...this._extractFieldNames(r)];\n }\n _getTitleFields(t) {\n return \"string\" == typeof t ? this._extractFieldNames(t) : [];\n }\n _extractFieldNames(t) {\n if (!t || \"string\" != typeof t) return [];\n const e = /{[^}]*}/g,\n o = t.match(e);\n if (!o) return [];\n const s = /\\{(\\w+):.+\\}/,\n r = o.filter(t => !(0 === t.indexOf(`{${J}`) || 0 === t.indexOf(`{${L}`))).map(t => t.replace(s, \"{$1}\"));\n return r ? r.map(t => t.slice(1, -1)) : [];\n }\n};\nt([p({\n type: B\n})], $.prototype, \"actions\", void 0), t([p()], $.prototype, \"content\", void 0), t([l(\"content\")], $.prototype, \"castContent\", null), t([a(\"content\", [\"description\", \"fieldInfos\", \"popupElements\", \"mediaInfos\", \"showAttachments\", \"relatedRecordsInfo\"])], $.prototype, \"readContent\", null), t([c(\"content\", {\n popupElements: {\n type: o.ofType(h)\n },\n showAttachments: {\n type: Boolean\n },\n mediaInfos: {\n type: o.ofType(x)\n },\n description: {\n type: String\n },\n relatedRecordsInfo: {\n type: _\n }\n})], $.prototype, \"writeContent\", null), t([p({\n type: [y],\n json: {\n write: !0\n }\n})], $.prototype, \"expressionInfos\", void 0), t([p({\n type: [I]\n})], $.prototype, \"fieldInfos\", void 0), t([c(\"fieldInfos\")], $.prototype, \"writeFieldInfos\", null), t([p({\n type: F\n})], $.prototype, \"layerOptions\", void 0), t([c(\"layerOptions\")], $.prototype, \"writeLayerOptions\", null), t([p({\n type: Boolean,\n json: {\n read: {\n source: \"showLastEditInfo\"\n },\n write: {\n target: \"showLastEditInfo\"\n },\n default: !0\n }\n})], $.prototype, \"lastEditInfoEnabled\", void 0), t([p()], $.prototype, \"outFields\", void 0), t([p()], $.prototype, \"overwriteActions\", void 0), t([p()], $.prototype, \"returnGeometry\", void 0), t([p({\n json: {\n type: String\n }\n})], $.prototype, \"title\", void 0), t([c(\"title\")], $.prototype, \"writeTitle\", null), $ = t([d(\"esri.PopupTemplate\")], $);\nconst k = $;\nexport { k as default };"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,IAAIA;AACJ,IAAI,IAAIA,KAAI,cAAc,EAAE;AAAA,EAC1B,YAAYC,IAAG;AACb,UAAMA,EAAC,GAAG,KAAK,OAAO,MAAM,KAAK,QAAQ,MAAM,KAAK,aAAa,MAAM,KAAK,aAAa;AAAA,EAC3F;AAAA,EACA,QAAQ;AACN,WAAO,IAAID,GAAE;AAAA,MACX,MAAM,KAAK;AAAA,MACX,OAAO,KAAK;AAAA,MACZ,YAAY,KAAK;AAAA,MACjB,YAAY,KAAK;AAAA,IACnB,CAAC;AAAA,EACH;AACF;AACA,EAAE,CAAC,EAAE;AAAA,EACH,MAAM;AAAA,EACN,MAAM;AAAA,IACJ,OAAO;AAAA,EACT;AACF,CAAC,CAAC,GAAG,EAAE,WAAW,QAAQ,MAAM,GAAG,EAAE,CAAC,EAAE;AAAA,EACtC,MAAM;AAAA,EACN,MAAM;AAAA,IACJ,OAAO;AAAA,EACT;AACF,CAAC,CAAC,GAAG,EAAE,WAAW,SAAS,MAAM,GAAG,EAAE,CAAC,EAAE;AAAA,EACvC,MAAM;AAAA,EACN,MAAM;AAAA,IACJ,OAAO;AAAA,EACT;AACF,CAAC,CAAC,GAAG,EAAE,WAAW,cAAc,MAAM,GAAG,EAAE,CAAC,EAAE;AAAA,EAC5C,MAAM,CAAC,UAAU,QAAQ;AAAA,EACzB,MAAM;AAAA,IACJ,OAAO;AAAA,EACT;AACF,CAAC,CAAC,GAAG,EAAE,WAAW,cAAc,MAAM,GAAG,IAAIA,KAAI,EAAE,CAAC,EAA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,EACT;AACF,CAAC,CAAC,GAAG,EAAE,WAAW,mBAAmB,MAAM,GAAG,EAAE,CAAC,EAAE;AAAA,EACjD,MAAM,CAACF,EAAC;AACV,CAAC,CAAC,GAAG,EAAE,WAAW,cAAc,MAAM,GAAG,EAAE,CAAC,EAAE,YAAY,CAAC,GAAG,EAAE,WAAW,mBAAmB,IAAI,GAAG,EAAE,CAAC,EAAE;AAAA,EACxG,MAAMC;AACR,CAAC,CAAC,GAAG,EAAE,WAAW,gBAAgB,MAAM,GAAG,EAAE,CAAC,EAAE,cAAc,CAAC,GAAG,EAAE,WAAW,qBAAqB,IAAI,GAAG,EAAE,CAAC,EAAE;AAAA,EAC9G,MAAM;AAAA,EACN,MAAM;AAAA,IACJ,MAAM;AAAA,MACJ,QAAQ;AAAA,IACV;AAAA,IACA,OAAO;AAAA,MACL,QAAQ;AAAA,IACV;AAAA,IACA,SAAS;AAAA,EACX;AACF,CAAC,CAAC,GAAG,EAAE,WAAW,uBAAuB,MAAM,GAAG,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,aAAa,MAAM,GAAG,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,oBAAoB,MAAM,GAAG,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,kBAAkB,MAAM,GAAG,EAAE,CAAC,EAAE;AAAA,EACrM,MAAM;AAAA,IACJ,MAAM;AAAA,EACR;AACF,CAAC,CAAC,GAAG,EAAE,WAAW,SAAS,MAAM,GAAG,EAAE,CAAC,EAAE,OAAO,CAAC,GAAG,EAAE,WAAW,cAAc,IAAI,GAAG,IAAI,EAAE,CAAC,EAAE,oBAAoB,CAAC,GAAG,CAAC;AACxH,IAAM,IAAI;","names":["s","r","i","r","c","s","t","p","r","e","p","s","c","e","r","p","s","p","t","i","p","c","o","i","s","p","r","i","p","o","i","c","o","a","n","t","o","s","c","n","p","t","o","c","s","t","p","s","p","o","i","n","c","o","i","p","r","a","c","a","p","t","c","i","a","p","t","c","e","p","r","c","a","i","p","e","c","i","a","t","c","p","p","i","a","t","c","m","p","i","c","a","l","u","p","t","i","c","a","o","m","p","r","c","n","p","t","c","l","s","p","t","c","p","i","c","l","e","p","o","a","d","c","o","l","o","r","p","s","a","T","b","p","c","a","i","l","t","e","o","s","r","n","d","m"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]}