/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["exports","../../../../../chunks/_rollupPluginBabelHelpers","../../../../../chunks/tslib.es6","../../../../../core/Accessor","../../../../../core/accessorSupport/decorators/property","../../../../../core/arrayUtils","../../../../../core/has","../../../../../core/accessorSupport/ensureType","../../../../../core/accessorSupport/decorators/subclass","../../../../../geometry/Point","../../../../../geometry/support/aaBoundingRect","../../../../../layers/support/LOD","../../../../../layers/support/TileInfo"],(function(e,r,t,i,o,l,s,c,n,a,p,u,y){"use strict";e.FeatureServiceTilesSimple=function(e){function t(r){var t;return(t=e.call(this,r)||this).pointOfInterest=null,t}return r._inheritsLoose(t,e),r._createClass(t,[{key:"tiles",get:function(){return[{id:"0/0/0",level:0,row:0,col:0,extent:p.fromValues(-1e8,-1e8,1e8,1e8)}]}},{key:"tileInfo",get:function(){return new y({origin:new a({x:-1e8,y:1e8,spatialReference:this.layer.spatialReference}),size:[512,512],lods:[new u({level:0,scale:1,resolution:390625})],spatialReference:this.layer.spatialReference})}},{key:"tileSize",get:function(){return this.tileInfo.size[0]}}]),t}(i),t.__decorate([o.property({readOnly:!0})],e.FeatureServiceTilesSimple.prototype,"tiles",null),t.__decorate([o.property({readOnly:!0})],e.FeatureServiceTilesSimple.prototype,"tileInfo",null),t.__decorate([o.property({readOnly:!0})],e.FeatureServiceTilesSimple.prototype,"tileSize",null),t.__decorate([o.property({constructOnly:!0})],e.FeatureServiceTilesSimple.prototype,"layer",void 0),t.__decorate([o.property()],e.FeatureServiceTilesSimple.prototype,"pointOfInterest",void 0),e.FeatureServiceTilesSimple=t.__decorate([n.subclass("esri.views.interactive.snapping.featureSources.featureServiceSource.FeatureServiceTilesSimple")],e.FeatureServiceTilesSimple),Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
