import { e as e2, l, v } from "./chunk-JM5OVQAD.js"; import { T } from "./chunk-VRLXUHP2.js"; import { x } from "./chunk-CRGY2SDS.js"; import { o } from "./chunk-6T6G6LCQ.js"; import { e, n5 as n, y3 as y } from "./chunk-2Z2TG5CU.js"; // node_modules/@arcgis/core/layers/mixins/TemporalLayer.js var a = (a2) => { let f = class extends a2 { constructor() { super(...arguments), this.timeExtent = null, this.timeOffset = null, this.useViewTime = true; } readOffset(e3, t) { const o2 = t.timeInfo.exportOptions; if (!o2) return null; const i = o2.timeOffset, s = e2.fromJSON(o2.timeOffsetUnits); return i && s ? new l({ value: i, unit: s }) : null; } set timeInfo(e3) { x(e3, this.fieldsIndex), this._set("timeInfo", e3); } }; return e([y({ type: T, json: { write: false } })], f.prototype, "timeExtent", void 0), e([y({ type: l })], f.prototype, "timeOffset", void 0), e([o("service", "timeOffset", ["timeInfo.exportOptions"])], f.prototype, "readOffset", null), e([y({ value: null, type: v, json: { write: true, origins: { "web-document": { read: false, write: false }, "portal-item": { read: false, write: false } } } })], f.prototype, "timeInfo", null), e([y({ type: Boolean, json: { read: { source: "timeAnimation" }, write: { target: "timeAnimation" }, origins: { "web-scene": { read: false, write: false } } } })], f.prototype, "useViewTime", void 0), f = e([n("esri.layers.mixins.TemporalLayer")], f), f; }; export { a }; //# sourceMappingURL=chunk-XEQ4FTFC.js.map