????

Your IP : 18.188.91.70


Current Path : C:/inetpub/vhost/binhdinhinvest.gdtvietnam.com/www/
Upload File :
Current File : C:/inetpub/vhost/binhdinhinvest.gdtvietnam.com/www/166.51bb523234dec3c9b8f2.js

(function(){var e={"esri/views/2d/layers/StreamLayerView2D":"rLOj"},t=this||window,r=t.webpackJsonp=t.webpackJsonp||[];r.registerAbsMids?r.registerAbsMids(e):(r.absMidsWaiting=r.absMidsWaiting||[]).push(e)})(),(window.webpackJsonp=window.webpackJsonp||[]).push([[166],{rLOj:function(e,t,r){var n,i;n=[r.dj.c(e.i),t,r("zOht"),r("ma1f"),r("LxLY"),r("Vx27"),r("w1v0"),r("/Ck8"),r("+MAT")],i=(function(e,t,r,n,i,o,a,s,p){function c(e,t){if(i.isNone(e)&&i.isNone(t))return null;var r={};return i.isSome(t)&&(r.geometry=t.toJSON()),i.isSome(e)&&(r.where=e),r}return function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._enabledDataReceived=!1,t.errorString=null,t.connectionStatus="disconnected",t}return r.__extends(t,e),t.prototype.initialize=function(){var e=this;this.handles.add([this.layer.watch("purgeOptions",(function(){return e._renderingConfigHashChanged()}))])},t.prototype.destroy=function(){this.connectionStatus="disconnected"},Object.defineProperty(t.prototype,"connectionError",{get:function(){if(this.errorString)return new n("stream-controller",this.errorString)},enumerable:!0,configurable:!0}),t.prototype.on=function(t,r){"data-received"===t&&(this._enabledDataReceived=!0,this._proxy.enableEvent("data-received",!0));var n=e.prototype.on.call(this,t,r),i=this;return{remove:function(){n.remove(),"data-received"===t&&(i._proxy.closed||i.hasEventListener("data-received")||i._proxy.enableEvent("data-received",!1))}}},t.prototype.queryLatestObservations=function(e,t){var r=this;return this._proxy.queryLatestObservations(this._cleanUpQuery(e),t).then((function(e){var t=a.fromJSON(e);return t.features.forEach((function(e){e.layer=r.layer,e.sourceLayer=r.layer})),t}))},t.prototype._createClientOptions=function(){var t=this,n=e.prototype._createClientOptions.call(this);return r.__assign(r.__assign({},n),{setProperty:function(e){t.set(e.propertyName,e.value)}})},t.prototype._createTileRendererHash=function(t){var r=e.prototype._createTileRendererHash.call(this,t),n=this.layer;return r+"."+JSON.stringify(n.geometryDefinition)+"."+n.definitionExpression+"."+(n.purgeOptions&&JSON.stringify(n.purgeOptions))},t.prototype._createServiceOptions=function(){return r.__awaiter(this,void 0,void 0,(function(){var e,t,n,i,o,a;return r.__generator(this,(function(r){return t=(e=this.layer).objectIdField,n=e.fields.map((function(e){return e.toJSON()})),i=p.toJSONGeometryType(e.geometryType),o=e.timeInfo&&e.timeInfo.toJSON()||null,a=e.spatialReference?e.spatialReference.toJSON():null,[2,{type:"stream",fields:n,geometryType:i,objectIdField:t,timeInfo:o,source:this.layer.parsedUrl.path,content:this.layer.parsedUrl.query,serviceFilter:c(this.layer.definitionExpression,this.layer.geometryDefinition),purgeOptions:this.layer.purgeOptions.toJSON(),enableDataReceived:this._enabledDataReceived,spatialReference:a}]}))}))},r.__decorate([o.property()],t.prototype,"errorString",void 0),r.__decorate([o.property({dependsOn:["errorString"],readOnly:!0})],t.prototype,"connectionError",null),r.__decorate([o.property()],t.prototype,"connectionStatus",void 0),r.__decorate([o.subclass("esri.views.2d.layers.StreamLayerView2D")],t)}(s)}).apply(null,n),void 0===i||(e.exports=i)}}]);