/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
import{__decorate as e}from"tslib";import t from"../../core/Collection.js";import{createAbortError as i}from"../../core/promiseUtils.js";import{property as r,subclass as s}from"../../core/accessorSupport/decorators.js";const l=l=>{const o=l;let n=class extends o{constructor(...e){super(...e),this.layer=null}get interactive(){return this.analysisView?.interactive??!1}set interactive(e){null!=this.analysisView&&(this.analysisView.interactive=e)}get results(){return this.analysisView?.results??new t}place(e){if(null!=this.analysisView)return this.analysisView.place(e);throw i()}};return e([r()],n.prototype,"layer",void 0),e([r()],n.prototype,"interactive",null),e([r({readOnly:!0})],n.prototype,"results",null),n=e([s("esri.views.layers.LineOfSightLayerViewMixin")],n),n};export{l as LineOfSightLayerViewMixin};
