chunk-WWXZOC2Y.js 718 B

123456789101112131415161718192021222324252627
  1. import {
  2. e,
  3. n5 as n,
  4. y3 as y
  5. } from "./chunk-2Z2TG5CU.js";
  6. // node_modules/@arcgis/core/layers/mixins/APIKeyMixin.js
  7. function t(e2) {
  8. return "portalItem" in e2;
  9. }
  10. var i = (i2) => {
  11. let o = class extends i2 {
  12. get apiKey() {
  13. var _a;
  14. return this._isOverridden("apiKey") ? this._get("apiKey") : t(this) ? (_a = this.portalItem) == null ? void 0 : _a.apiKey : null;
  15. }
  16. set apiKey(e2) {
  17. null != e2 ? this._override("apiKey", e2) : (this._clearOverride("apiKey"), this.clear("apiKey", "user"));
  18. }
  19. };
  20. return e([y({ type: String })], o.prototype, "apiKey", null), o = e([n("esri.layers.mixins.APIKeyMixin")], o), o;
  21. };
  22. export {
  23. i
  24. };
  25. //# sourceMappingURL=chunk-WWXZOC2Y.js.map