{"version":3,"sources":["node_modules/@arcgis/core/widgets/LayerList/ListItemPanel.js","node_modules/@arcgis/core/widgets/LayerList/ListItem.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 { _ as e } from \"../../chunks/tslib.es6.js\";\nimport { IdentifiableMixin as t } from \"../../core/Identifiable.js\";\nimport { destroyMaybe as n } from \"../../core/maybe.js\";\nimport { watch as i, initial as r } from \"../../core/reactiveUtils.js\";\nimport { property as s } from \"../../core/accessorSupport/decorators/property.js\";\nimport \"../../core/has.js\";\nimport \"../../core/Logger.js\";\nimport \"../../core/RandomLCG.js\";\nimport { subclass as o } from \"../../core/accessorSupport/decorators/subclass.js\";\nimport l from \"../Widget.js\";\nimport { isSublayer as d } from \"./support/layerListUtils.js\";\nimport { isWidget as a } from \"../support/widget.js\";\nimport { tsx as p } from \"../support/jsxFactory.js\";\nlet g = class extends t(l) {\n constructor(e, t) {\n super(e, t), this._legend = null, this.className = null, this.content = null, this.flowEnabled = !1, this.image = null, this.listItem = null, this.open = !1, this.visible = !0;\n }\n initialize() {\n this.addHandles([i(() => this._canCreateLegend, () => this._createLegend(), r), i(() => [this._legend, this._legendOptions], () => this._updateLegend(), r)]);\n }\n destroy() {\n this._legend = n(this._legend);\n }\n get _canCreateLegend() {\n const {\n content: e,\n listItem: t\n } = this;\n if (!t) return !1;\n const n = \"legend\";\n return e === n || null != e && !!Array.isArray(e) && e.includes(n);\n }\n get _legendOptions() {\n const {\n listItem: e,\n _legendLayerInfo: t\n } = this,\n n = e?.view;\n return t && n ? {\n view: n,\n layerInfos: [t]\n } : {};\n }\n get _legendLayerInfo() {\n const e = this.listItem?.layer;\n if (!e || \"subtype-sublayer\" === e.type) return null;\n const t = d(e) ? e : null,\n n = e?.parent,\n i = null != n && \"type\" in n && \"map-image\" === n.type ? t?.source : null,\n r = \"\";\n return i && n ? {\n layer: n,\n title: r,\n sublayerIds: [i.mapLayerId]\n } : {\n layer: e,\n title: r\n };\n }\n get disabled() {\n const {\n listItem: e,\n _legend: t,\n content: n\n } = this;\n return !e || !(Array.isArray(n) && n.length > 1) && !!t && (!t.activeLayerInfos?.length || !e.visibleAtCurrentScale || !e.visible);\n }\n set disabled(e) {\n this._overrideIfSome(\"disabled\", e);\n }\n get icon() {\n const {\n image: e\n } = this,\n t = this._getFirstWidget();\n return this._get(\"icon\") ?? (!e && t ? t.icon : null);\n }\n set icon(e) {\n this._overrideIfSome(\"icon\", e);\n }\n get title() {\n return this._get(\"title\") || (this._getFirstWidget()?.label ?? \"\");\n }\n set title(e) {\n this._override(\"title\", e);\n }\n render() {\n return p(\"div\", {\n class: \"esri-list-item-panel\"\n }, this._renderContents());\n }\n _renderContent(e) {\n const {\n _legend: t,\n disabled: n,\n open: i\n } = this;\n return e && !n && i ? \"legend\" === e && t ? p(\"div\", {\n key: \"legend-widget\"\n }, t.render()) : \"string\" == typeof e ? p(\"div\", {\n innerHTML: e,\n key: e\n }) : a(e) ? p(\"div\", {\n key: \"content-widget\"\n }, e.render()) : e instanceof HTMLElement ? p(\"div\", {\n afterCreate: this._attachToNode,\n bind: e,\n key: \"content-element\"\n }) : null : null;\n }\n _renderContents() {\n const {\n content: e,\n open: t\n } = this;\n return t ? Array.isArray(e) ? e.map(e => this._renderContent(e)) : this._renderContent(e) : null;\n }\n async _createLegend() {\n if (n(this._legend), this._legend = null, !this._canCreateLegend) return;\n const {\n default: e\n } = await import(\"../Legend.js\"),\n t = new e(this._legendOptions);\n this._legend = t;\n }\n _attachToNode(e) {\n e.appendChild(this);\n }\n _updateLegend() {\n const e = this._legend;\n e && e.set(this._legendOptions);\n }\n _getWidget(e) {\n return \"legend\" === e ? this._legend : a(e) ? e : null;\n }\n _getFirstWidget() {\n const {\n content: e\n } = this;\n return Array.isArray(e) ? e.map(e => this._getWidget(e)).find(e => e) : this._getWidget(e);\n }\n};\ne([s()], g.prototype, \"_legend\", void 0), e([s()], g.prototype, \"_canCreateLegend\", null), e([s()], g.prototype, \"_legendOptions\", null), e([s()], g.prototype, \"_legendLayerInfo\", null), e([s()], g.prototype, \"className\", void 0), e([s()], g.prototype, \"content\", void 0), e([s()], g.prototype, \"disabled\", null), e([s()], g.prototype, \"flowEnabled\", void 0), e([s()], g.prototype, \"icon\", null), e([s()], g.prototype, \"image\", void 0), e([s()], g.prototype, \"listItem\", void 0), e([s()], g.prototype, \"open\", void 0), e([s()], g.prototype, \"title\", null), e([s()], g.prototype, \"visible\", void 0), g = e([o(\"esri.widgets.LayerList.ListItemPanel\")], g);\nconst c = g;\nexport { c 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 e } from \"../../chunks/tslib.es6.js\";\nimport t from \"../../core/Accessor.js\";\nimport { isSome as i } from \"../../core/arrayUtils.js\";\nimport s from \"../../core/Collection.js\";\nimport { IdentifiableMixin as r } from \"../../core/Identifiable.js\";\nimport { watch as l, initial as o } from \"../../core/reactiveUtils.js\";\nimport { property as n } from \"../../core/accessorSupport/decorators/property.js\";\nimport { cast as a } from \"../../core/accessorSupport/decorators/cast.js\";\nimport \"../../core/has.js\";\nimport { subclass as h } from \"../../core/accessorSupport/decorators/subclass.js\";\nimport { get as d } from \"../../core/accessorSupport/get.js\";\nimport p from \"../../support/actions/ActionBase.js\";\nimport c from \"../../support/actions/ActionButton.js\";\nimport u from \"../../support/actions/ActionSlider.js\";\nimport y from \"../../support/actions/ActionToggle.js\";\nimport b from \"./ListItemPanel.js\";\nimport { isLayerOutsideScaleRange as m, findLayerVisibilityMode as v, findLayerListMode as f, canDisplayLayer as C, getNormalizedChildLayerProperty as g } from \"./support/layerListUtils.js\";\nvar w;\nconst S = s.ofType({\n key: \"type\",\n defaultKeyValue: \"button\",\n base: p,\n typeMap: {\n button: c,\n toggle: y,\n slider: u\n }\n }),\n _ = s.ofType(S),\n M = \"layer\",\n P = \"child-list-mode\",\n O = \"hide\";\nlet I = w = class extends r(t) {\n constructor(e) {\n super(e), this.actionsSections = new _(), this.actionsOpen = !1, this.checkPublishStatusEnabled = !1, this.children = new (s.ofType(w))(), this.childrenSortable = !0, this.hidden = !1, this.layer = null, this.listItemCreatedFunction = null, this.listModeDisabled = !1, this.open = !1, this.panel = null, this.parent = null, this.view = null;\n }\n initialize() {\n if (this.addHandles([l(() => [this.layer, this.layer?.listMode, this.listModeDisabled], () => this._watchLayerProperties(this.layer), o), l(() => this.checkPublishStatusEnabled, e => this._updateChildrenPublishing(e), o), l(() => this.view, e => this._updateChildrenView(e), o), l(() => this.panel, e => this._setListItemOnPanel(e), o)]), \"function\" == typeof this.listItemCreatedFunction) {\n const e = {\n item: this\n };\n this.listItemCreatedFunction.call(null, e);\n }\n }\n destroy() {\n this.panel?.destroy(), this.children.destroyAll(), this.view = null;\n }\n get connectionStatus() {\n const {\n layerView: e,\n publishing: t\n } = this;\n if (!t && e && \"connectionStatus\" in e) return e.connectionStatus;\n }\n get error() {\n return this.layer?.loadError;\n }\n get incompatible() {\n const {\n layerView: e\n } = this;\n return !(!e || !(\"spatialReferenceSupported\" in e)) && !e.spatialReferenceSupported;\n }\n get layerView() {\n const {\n layer: e,\n view: t\n } = this;\n if (!e || !t || \"sublayer\" === e.type) return null;\n const i = \"subtype-sublayer\" === e.type ? e.parent : e;\n return t.allLayerViews.find(e => e.layer === i) ?? null;\n }\n castPanel(e) {\n return this.panel?.open && !e.hasOwnProperty(\"open\") && (e.open = !0), e ? new b(e) : null;\n }\n get sortable() {\n return \"knowledge-graph-sublayer\" !== this.layer?.type && this._get(\"sortable\");\n }\n set sortable(e) {\n this._set(\"sortable\", e);\n }\n get title() {\n const e = d(this, \"layer.layer\");\n return (!e || e && d(this, \"layer.layer.loaded\")) && d(this, \"layer.title\") || d(this, \"layer.attributes.title\") || \"\";\n }\n set title(e) {\n this._override(\"title\", e);\n }\n get publishing() {\n const {\n layer: e,\n checkPublishStatusEnabled: t\n } = this;\n return t && e && \"publishingInfo\" in e && \"publishing\" === e.publishingInfo?.status;\n }\n get updating() {\n const {\n layerView: e,\n connectionStatus: t,\n layer: i,\n publishing: s\n } = this;\n return !s && !t && (e ? e.updating : \"loading\" === i?.loadStatus || !1);\n }\n get visible() {\n return this.layer?.visible;\n }\n set visible(e) {\n const t = this.layer;\n t && (t.visible = e);\n }\n get visibleAtCurrentScale() {\n return this.layerView?.visibleAtCurrentScale ?? !m(this.layer, this.view?.scale);\n }\n get visibleAtCurrentTimeExtent() {\n return this.layerView?.visibleAtCurrentTimeExtent ?? !0;\n }\n get visibilityMode() {\n return v(this.layer);\n }\n clone() {\n return new w({\n actionsSections: this.actionsSections.clone(),\n actionsOpen: this.actionsOpen,\n checkPublishStatusEnabled: this.checkPublishStatusEnabled,\n children: this.children.clone(),\n childrenSortable: this.childrenSortable,\n hidden: this.hidden,\n layer: this.layer,\n listItemCreatedFunction: this.listItemCreatedFunction,\n listModeDisabled: this.listModeDisabled,\n open: this.open,\n panel: this.panel,\n parent: this.parent,\n sortable: this.sortable,\n title: this.title,\n view: this.view,\n visible: this.visible\n });\n }\n _setListItemOnPanel(e) {\n e && (e.listItem = this);\n }\n _updateChildrenPublishing(e) {\n const t = this.children;\n t && t.forEach(t => t.checkPublishStatusEnabled = e);\n }\n _updateChildrenView(e) {\n const t = this.children;\n t && t.forEach(t => t.view = e);\n }\n _createChildren(e) {\n const {\n listModeDisabled: t,\n children: i\n } = this,\n s = e.filter(e => !i.some(t => t.layer === e));\n i.addMany(this._createChildItems(s, t));\n }\n _destroyChildren(e) {\n const {\n children: t\n } = this,\n i = t.filter(t => !e.includes(t.layer));\n t.destroyMany(i);\n }\n _sortChildren(e) {\n this.children.sort((t, i) => e.indexOf(i.layer) - e.indexOf(t.layer));\n }\n _destroyAllChildren() {\n this.removeHandles(P), this.children.destroyAll();\n }\n _watchChildLayerListMode(e) {\n this.removeHandles(P), this.listModeDisabled || this.addHandles(e.toArray().map(t => l(() => t.listMode, () => this._compileChildren(e))), P);\n }\n _compileChildren(e) {\n const t = this.listModeDisabled ? e : e?.filter(e => f(e) !== O);\n t?.length ? (this._createChildren(t), this._destroyChildren(t), this._sortChildren(t), this._watchChildLayerListMode(e)) : this._destroyAllChildren();\n }\n _watchSublayerChanges(e) {\n e && this.addHandles(e.on(\"change\", () => this._compileChildren(e)), M);\n }\n _initializeChildLayers(e) {\n this._compileChildren(e), this._watchSublayerChanges(e);\n }\n _createChildItems(e, t) {\n return e.map(e => t || C(e) ? new w({\n layer: e,\n checkPublishStatusEnabled: this.checkPublishStatusEnabled,\n listItemCreatedFunction: this.listItemCreatedFunction,\n listModeDisabled: this.listModeDisabled,\n parent: this,\n view: this.view\n }) : null).filter(i).reverse();\n }\n _watchLayerProperties(e) {\n if (this.removeHandles(M), this.removeHandles(P), !e) return;\n if (\"hide-children\" === (!this.listModeDisabled && f(e))) return void this.children.destroyAll();\n const t = g(e);\n t && this.addHandles(l(() => e[t], i => {\n e.hasOwnProperty(t) && this._initializeChildLayers(i);\n }, o), M);\n }\n};\ne([n({\n type: _\n})], I.prototype, \"actionsSections\", void 0), e([n()], I.prototype, \"actionsOpen\", void 0), e([n()], I.prototype, \"checkPublishStatusEnabled\", void 0), e([n({\n type: s\n})], I.prototype, \"children\", void 0), e([n()], I.prototype, \"childrenSortable\", void 0), e([n({\n readOnly: !0\n})], I.prototype, \"connectionStatus\", null), e([n({\n readOnly: !0\n})], I.prototype, \"error\", null), e([n()], I.prototype, \"hidden\", void 0), e([n({\n readOnly: !0\n})], I.prototype, \"incompatible\", null), e([n()], I.prototype, \"layer\", void 0), e([n({\n readOnly: !0\n})], I.prototype, \"layerView\", null), e([n()], I.prototype, \"listItemCreatedFunction\", void 0), e([n({\n nonNullable: !0\n})], I.prototype, \"listModeDisabled\", void 0), e([n()], I.prototype, \"open\", void 0), e([n({\n type: b\n})], I.prototype, \"panel\", void 0), e([a(\"panel\")], I.prototype, \"castPanel\", null), e([n()], I.prototype, \"parent\", void 0), e([n({\n value: !0\n})], I.prototype, \"sortable\", null), e([n()], I.prototype, \"title\", null), e([n({\n readOnly: !0\n})], I.prototype, \"publishing\", null), e([n({\n readOnly: !0\n})], I.prototype, \"updating\", null), e([n()], I.prototype, \"view\", void 0), e([n()], I.prototype, \"visible\", null), e([n({\n readOnly: !0\n})], I.prototype, \"visibleAtCurrentScale\", null), e([n({\n readOnly: !0\n})], I.prototype, \"visibleAtCurrentTimeExtent\", null), e([n({\n readOnly: !0\n})], I.prototype, \"visibilityMode\", null), I = w = e([h(\"esri.widgets.LayerList.ListItem\")], I);\nconst j = I;\nexport { j as default };"],"mappings":"gqBAiBA,IAAIA,EAAI,cAAcC,EAAEC,CAAC,CAAE,CACzB,YAAY,EAAG,EAAG,CAChB,MAAM,EAAG,CAAC,EAAG,KAAK,QAAU,KAAM,KAAK,UAAY,KAAM,KAAK,QAAU,KAAM,KAAK,YAAc,GAAI,KAAK,MAAQ,KAAM,KAAK,SAAW,KAAM,KAAK,KAAO,GAAI,KAAK,QAAU,EAC/K,CACA,YAAa,CACX,KAAK,WAAW,CAACC,EAAE,IAAM,KAAK,iBAAkB,IAAM,KAAK,cAAc,EAAGC,CAAC,EAAGD,EAAE,IAAM,CAAC,KAAK,QAAS,KAAK,cAAc,EAAG,IAAM,KAAK,cAAc,EAAGC,CAAC,CAAC,CAAC,CAC9J,CACA,SAAU,CACR,KAAK,QAAUC,EAAE,KAAK,OAAO,CAC/B,CACA,IAAI,kBAAmB,CACrB,GAAM,CACJ,QAAS,EACT,SAAU,CACZ,EAAI,KACJ,GAAI,CAAC,EAAG,MAAO,GACf,IAAMC,EAAI,SACV,OAAO,IAAMA,GAAa,GAAR,MAAa,CAAC,CAAC,MAAM,QAAQ,CAAC,GAAK,EAAE,SAASA,CAAC,CACnE,CACA,IAAI,gBAAiB,CACnB,GAAM,CACF,SAAU,EACV,iBAAkB,CACpB,EAAI,KACJA,EAAI,GAAG,KACT,OAAO,GAAKA,EAAI,CACd,KAAMA,EACN,WAAY,CAAC,CAAC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AGY,EAAE,CAACX,EAAE,OAAO,CAAC,EAAGD,EAAE,UAAW,YAAa,IAAI,EAAGY,EAAE,CAACC,EAAE,CAAC,EAAGb,EAAE,UAAW,SAAU,MAAM,EAAGY,EAAE,CAACC,EAAE,CACjI,MAAO,EACT,CAAC,CAAC,EAAGb,EAAE,UAAW,WAAY,IAAI,EAAGY,EAAE,CAACC,EAAE,CAAC,EAAGb,EAAE,UAAW,QAAS,IAAI,EAAGY,EAAE,CAACC,EAAE,CAC9E,SAAU,EACZ,CAAC,CAAC,EAAGb,EAAE,UAAW,aAAc,IAAI,EAAGY,EAAE,CAACC,EAAE,CAC1C,SAAU,EACZ,CAAC,CAAC,EAAGb,EAAE,UAAW,WAAY,IAAI,EAAGY,EAAE,CAACC,EAAE,CAAC,EAAGb,EAAE,UAAW,OAAQ,MAAM,EAAGY,EAAE,CAACC,EAAE,CAAC,EAAGb,EAAE,UAAW,UAAW,IAAI,EAAGY,EAAE,CAACC,EAAE,CACvH,SAAU,EACZ,CAAC,CAAC,EAAGb,EAAE,UAAW,wBAAyB,IAAI,EAAGY,EAAE,CAACC,EAAE,CACrD,SAAU,EACZ,CAAC,CAAC,EAAGb,EAAE,UAAW,6BAA8B,IAAI,EAAGY,EAAE,CAACC,EAAE,CAC1D,SAAU,EACZ,CAAC,CAAC,EAAGb,EAAE,UAAW,iBAAkB,IAAI,EAAGA,EAAIV,EAAIsB,EAAE,CAACjB,EAAE,iCAAiC,CAAC,EAAGK,CAAC,EAC9F,IAAMc,GAAId","names":["g","s","B","d","P","u","n","v","i","r","e","__async","m","a","c","w","S","V","p","c","a","_","M","P","O","I","s","b","d","i","e","o","f","t","u","y","F","r","m","j"],"x_google_ignoreList":[0,1]}