{"version":3,"sources":["node_modules/@arcgis/core/layers/mixins/APIKeyMixin.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 { 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\";\nfunction t(r) {\n return \"portalItem\" in r;\n}\nconst i = i => {\n let o = class extends i {\n get apiKey() {\n return this._isOverridden(\"apiKey\") ? this._get(\"apiKey\") : t(this) ? this.portalItem?.apiKey : null;\n }\n set apiKey(r) {\n null != r ? this._override(\"apiKey\", r) : (this._clearOverride(\"apiKey\"), this.clear(\"apiKey\", \"user\"));\n }\n };\n return r([e({\n type: String\n })], o.prototype, \"apiKey\", null), o = r([s(\"esri.layers.mixins.APIKeyMixin\")], o), o;\n};\nexport { i as APIKeyMixin };"],"mappings":";;;;;;;;;;;AAUA,SAAS,EAAE,GAAG;AACZ,SAAO,gBAAgB;AACzB;AACA,IAAM,IAAI,CAAAA,OAAK;AACb,MAAI,IAAI,cAAcA,GAAE;AAAA,IACtB,IAAI,SAAS;AACX,aAAO,KAAK,cAAc,QAAQ,IAAI,KAAK,KAAK,QAAQ,IAAI,EAAE,IAAI,IAAI,KAAK,YAAY,SAAS;AAAA,IAClG;AAAA,IACA,IAAI,OAAO,GAAG;AACZ,cAAQ,IAAI,KAAK,UAAU,UAAU,CAAC,KAAK,KAAK,eAAe,QAAQ,GAAG,KAAK,MAAM,UAAU,MAAM;AAAA,IACvG;AAAA,EACF;AACA,SAAO,EAAE,CAAC,EAAE;AAAA,IACV,MAAM;AAAA,EACR,CAAC,CAAC,GAAG,EAAE,WAAW,UAAU,IAAI,GAAG,IAAI,EAAE,CAAC,EAAE,gCAAgC,CAAC,GAAG,CAAC,GAAG;AACtF;","names":["i"],"x_google_ignoreList":[0]}