????

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/74.a9e0a0610dc6ded80be5.js

(function(){var e={"esri/views/layers/support/Path":"20TT","esri/views/2d/layers/LayerView2D":"6i4F","esri/views/layers/support/ClipRect":"7MXx","esri/views/2d/layers/WMTSLayerView2D":"Hkro","esri/views/layers/LayerView":"WsO6","esri/views/layers/support/ClipArea":"ZMIQ","esri/views/layers/support/Geometry":"ts8o"},t=this||window,i=t.webpackJsonp=t.webpackJsonp||[];i.registerAbsMids?i.registerAbsMids(e):(i.absMidsWaiting=i.absMidsWaiting||[]).push(e)})(),(window.webpackJsonp=window.webpackJsonp||[]).push([[74],{"20TT":function(e,t,i){var r,n;r=[i.dj.c(e.i),t,i("zOht"),i("Vx27"),i("ZMIQ")],n=(function(e,t,i,r,n){return function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="path",t.path=[],t}return i.__extends(t,e),Object.defineProperty(t.prototype,"version",{get:function(){return(this._get("version")||0)+1},enumerable:!0,configurable:!0}),i.__decorate([r.property({type:[[[Number]]],json:{write:!0}})],t.prototype,"path",void 0),i.__decorate([r.property({readOnly:!0,dependsOn:["path"]})],t.prototype,"version",null),i.__decorate([r.subclass("esri.views.layers.support.Path")],t)}(n)}).apply(null,r),void 0===n||(e.exports=n)},"6i4F":function(e,t,i){var r,n;r=[i.dj.c(e.i),t,i("zOht"),i("y4WC"),i("K2Kz"),i("8MXS"),i("Vx27"),i("YaB4"),i("ZMIQ"),i("7MXx"),i("ts8o"),i("20TT")],n=(function(e,t,i,r,n,o,s,a,p,l,u,d){Object.defineProperty(t,"__esModule",{value:!0});var c=r.ofType({key:"type",base:p,typeMap:{rect:l,path:d,geometry:u}});t.LayerView2DMixin=function(e){return function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.clips=new c,t.moving=!1,t.attached=!1,t.lastUpdateId=-1,t.updateRequested=!1,t}return i.__extends(t,e),t.prototype.initialize=function(){var e,t=this;this.container||(this.container=new a.Container),this.handles.add([o.init(this,"suspended",(function(e){t.container&&(t.container.visible=!e),t.view&&!e&&t.updateRequested&&t.view.requestUpdate()}),!0),o.init(this,["layer.opacity","container"],(function(){var e,i;t.container&&(t.container.opacity=null!==(i=null===(e=t.layer)||void 0===e?void 0:e.opacity)&&void 0!==i?i:1)}),!0),o.init(this,["layer.blendMode"],(function(e){t.container&&(t.container.blendMode=e)}),!0),this.clips.on("change",(function(){t.container.clips=t.clips,t.notifyChange("clips")}))]),this.container.clips=this.clips,(null===(e=this.view)||void 0===e?void 0:e.whenLayerView)?this.view.whenLayerView(this.layer).then((function(e){e!==t||t.attached||t.destroyed||(t.attach(),t.requestUpdate(),t.attached=!0)}),(function(){})):this.when().then((function(){t.attached||t.destroyed||(t.attach(),t.requestUpdate(),t.attached=!0)}),(function(){}))},t.prototype.destroy=function(){this.attached&&(this.detach(),this.attached=!1),this.handles.remove("initialize"),this.updateRequested=!1,this.layer=null,this.view=null},Object.defineProperty(t.prototype,"updating",{get:function(){return!this.attached||!this.suspended&&(this.updateRequested||this.isUpdating())},enumerable:!0,configurable:!0}),t.prototype.isVisibleAtScale=function(e){var t=!0,i=this.layer,r=i.minScale,n=i.maxScale;if(null!=r&&null!=n){var o=!r,s=!n;!o&&e<=r&&(o=!0),!s&&e>=n&&(s=!0),t=o&&s}return t},t.prototype.requestUpdate=function(){this.updateRequested||(this.updateRequested=!0,this.suspended||this.view.requestUpdate())},t.prototype.processUpdate=function(e){!this.isFulfilled()||this.isResolved()?(this._set("updateParameters",e),this.updateRequested&&!this.suspended&&(this.updateRequested=!1,this.update(e))):this.updateRequested=!1},t.prototype.isUpdating=function(){return!1},t.prototype.isRendering=function(){return!1},t.prototype.canResume=function(){return!!e.prototype.canResume.call(this)&&this.isVisibleAtScale(this.view.scale)},i.__decorate([s.property({type:c,set:function(e){var t=n.referenceSetter(e,this._get("clips"),c);this._set("clips",t)}})],t.prototype,"clips",void 0),i.__decorate([s.property()],t.prototype,"moving",void 0),i.__decorate([s.property()],t.prototype,"attached",void 0),i.__decorate([s.property()],t.prototype,"container",void 0),i.__decorate([s.property({dependsOn:["view.scale","layer.minScale","layer.maxScale"]})],t.prototype,"suspended",void 0),i.__decorate([s.property({readOnly:!0})],t.prototype,"updateParameters",void 0),i.__decorate([s.property()],t.prototype,"updateRequested",void 0),i.__decorate([s.property({dependsOn:["attached","updateRequested","suspended"]})],t.prototype,"updating",null),i.__decorate([s.property()],t.prototype,"view",void 0),i.__decorate([s.subclass("esri.views.2d.layers.LayerView2D")],t)}(e)}}).apply(null,r),void 0===n||(e.exports=n)},"7MXx":function(e,t,i){var r,n;r=[i.dj.c(e.i),t,i("zOht"),i("Vx27"),i("ZMIQ")],n=(function(e,t,i,r,n){return function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="rect",t.left=null,t.right=null,t.top=null,t.bottom=null,t}var n;return i.__extends(t,e),n=t,t.prototype.clone=function(){return new n({left:this.left,right:this.right,top:this.top,bottom:this.bottom})},Object.defineProperty(t.prototype,"version",{get:function(){return(this._get("version")||0)+1},enumerable:!0,configurable:!0}),i.__decorate([r.property({type:[Number,String],json:{write:!0}})],t.prototype,"left",void 0),i.__decorate([r.property({type:[Number,String],json:{write:!0}})],t.prototype,"right",void 0),i.__decorate([r.property({type:[Number,String],json:{write:!0}})],t.prototype,"top",void 0),i.__decorate([r.property({type:[Number,String],json:{write:!0}})],t.prototype,"bottom",void 0),i.__decorate([r.property({readOnly:!0,dependsOn:["left","right","top","bottom"]})],t.prototype,"version",null),n=i.__decorate([r.subclass("esri.views.layers.support.ClipRect")],t)}(n)}).apply(null,r),void 0===n||(e.exports=n)},Hkro:function(e,t,i){var r,n;r=[i.dj.c(e.i),t,i("zOht"),i("eIBl"),i("Vx27"),i("vtMp"),i("APHm"),i("6i4F"),i("M3W5"),i("EBSo"),i("ovos"),i("WsO6"),i("7XLS")],n=(function(e,t,i,r,n,o,s,a,p,l,u,d,c){var y=[102113,102100,3857,3785,900913];return function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._handles=new r,t._tileStrategy=null,t._fetchQueue=null,t._tileRequests=new Map,t.layer=null,t}return i.__extends(t,e),Object.defineProperty(t.prototype,"tileMatrixSet",{get:function(){if(this.layer.activeLayer.tileMatrixSetId)return this.layer.activeLayer.tileMatrixSet;var e=this._getTileMatrixSetBySpatialReference(this.layer.activeLayer);return e?(this.layer.activeLayer.tileMatrixSetId=e.id,e):null},enumerable:!0,configurable:!0}),t.prototype.hitTest=function(){return null},t.prototype.update=function(e){this._fetchQueue.pause(),this._fetchQueue.state=e.state,this._tileStrategy.update(e),this._fetchQueue.resume(),this.notifyChange("updating")},t.prototype.attach=function(){var t=this,i=this.layer.activeLayer,r=this.tileMatrixSet;if(r){var n=r.tileInfo.spatialReference,s=i.fullExtent&&i.fullExtent.clone();n.isWebMercator?s=o.geographicToWebMercator(s):n.isWGS84||(s=r.fullExtent),this._tileInfoView=new p(r.tileInfo,s),this._fetchQueue=new l({tileInfoView:this._tileInfoView,process:function(e){return t.fetchTile(e)}}),this._tileStrategy=new u({cachePolicy:"keep",acquireTile:function(e){return t.acquireTile(e)},releaseTile:function(e){return t.releaseTile(e)},tileInfoView:this._tileInfoView}),this._handles.add(this.watch("layer.activeLayer.styleId, tileMatrixSet",(function(){return t._refresh()}))),e.prototype.attach.call(this)}},t.prototype.detach=function(){e.prototype.detach.call(this),this._handles.removeAll(),this._tileStrategy.destroy(),this._fetchQueue.clear(),this._fetchQueue=this._tileStrategy=this._tileInfoView=null},t.prototype.moveStart=function(){this.requestUpdate()},t.prototype.viewChange=function(){this.requestUpdate()},t.prototype.moveEnd=function(){this.requestUpdate()},t.prototype.doRefresh=function(){return i.__awaiter(this,void 0,void 0,(function(){return i.__generator(this,(function(e){return this.updateRequested||this.suspended||this._refresh(),[2]}))}))},t.prototype.isUpdating=function(){return this._fetchQueue.length>0},t.prototype.acquireTile=function(e){var t,i,r=this,n=this._bitmapView.createTile(e),o=n.bitmap;t=this._tileInfoView.getTileCoords([0,0],n.key),o.x=t[0],o.y=t[1],o.resolution=this._tileInfoView.getTileResolution(n.key),o.width=(i=this._tileInfoView.tileInfo.size)[0],o.height=i[1],this._tileInfoView.getTileCoords(o,n.key);var s={id:e.id,fulfilled:!1,promise:this._fetchQueue.push(n.key).then((function(e){n.bitmap.source=e,n.once("attach",(function(){return r.requestUpdate()})),r._bitmapView.addChild(n)})).catch((function(){n.bitmap.source=null,n.once("attach",(function(){return r.requestUpdate()})),r._bitmapView.addChild(n)}))};return s.promise.then((function(){return s.fulfilled=!0}),(function(){return s.fulfilled=!0})),this._tileRequests.set(n,s),this.requestUpdate(),n},t.prototype.releaseTile=function(e){var t=this._tileRequests.get(e);t.fulfilled||this._fetchQueue.abort(t.id),this._tileRequests.delete(e),this._bitmapView.removeChild(e),this.requestUpdate()},t.prototype.fetchTile=function(e){return i.__awaiter(this,void 0,void 0,(function(){return i.__generator(this,(function(t){return[2,this.layer.fetchTile(e.level,e.row,e.col)]}))}))},t.prototype.canResume=function(){var t=e.prototype.canResume.call(this);return t?null!==this.tileMatrixSet:t},t.prototype._refresh=function(){var e=this;this._fetchQueue.reset(),this._tileStrategy.tiles.forEach((function(t){if(t.bitmap.source){t.bitmap.source=null;var i={id:t.key.id,fulfilled:!1,promise:e._fetchQueue.push(t.key).then((function(i){t.bitmap.source=i,t.requestRender(),e.notifyChange("updating")}))};i.promise.then((function(){return i.fulfilled=!0}),(function(){return i.fulfilled=!0})),e._tileRequests.set(t,i)}})),this.notifyChange("updating")},t.prototype._getTileMatrixSetBySpatialReference=function(e){var t=this.view.spatialReference;if(!e.tileMatrixSets)return null;var i=e.tileMatrixSets.find((function(e){return e.tileInfo.spatialReference.wkid===t.wkid}));return!i&&t.isWebMercator&&(i=e.tileMatrixSets.find((function(e){return y.indexOf(e.tileInfo.spatialReference.wkid)>-1}))),i},i.__decorate([n.property({dependsOn:["tileMatrixSet"]})],t.prototype,"suspended",void 0),i.__decorate([n.property({readOnly:!0,dependsOn:["view.spatialReference","layer.activeLayer"]})],t.prototype,"tileMatrixSet",null),i.__decorate([n.subclass("esri.views.2d.layers.WMTSLayerView2D")],t)}(c.RefreshableLayerView(s.BitmapTileLayerView2D(a.LayerView2DMixin(d))))}).apply(null,r),void 0===n||(e.exports=n)},WsO6:function(e,t,i){var r,n;r=[i.dj.c(e.i),t,i("zOht"),i("Gtr7"),i("BcWh"),i("7MDj"),i("NfRO"),i("qsST"),i("SZNs"),i("Vx27")],void 0===(n=(function(e,t,i,r,n,o,s,a,p,l){return function(e){function t(t){var i=e.call(this,t)||this;return i.layer=null,i.parent=null,i}return i.__extends(t,e),t.prototype.initialize=function(){var e=this;this.when().catch((function(t){if("layerview:create-error"!==t.name){var i=e.layer&&e.layer.id||"no id",r=e.layer&&e.layer.title||"no title";throw a.getLogger(e.declaredClass).error("#resolve()","Failed to resolve layer view (layer title: '"+r+"', id: '"+i+"')",t),t}}))},t.prototype.destroy=function(){this.layer=this.parent=null},Object.defineProperty(t.prototype,"fullOpacity",{get:function(){var e=function(e){return null==e?1:e};return e(this.get("layer.opacity"))*e(this.get("parent.fullOpacity"))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"suspended",{get:function(){return!this.canResume()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"suspendInfo",{get:function(){return this.getSuspendInfo()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"updating",{get:function(){return!!(this.updatingHandles&&this.updatingHandles.updating||this.isUpdating())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"visible",{get:function(){return!0===this.get("layer.visible")},set:function(e){void 0!==e?this._override("visible",e):this._clearOverride("visible")},enumerable:!0,configurable:!0}),t.prototype.canResume=function(){return!this.get("parent.suspended")&&this.get("view.ready")&&this.get("layer.loaded")&&this.visible||!1},t.prototype.getSuspendInfo=function(){var e=this.parent&&this.parent.suspended?this.parent.suspendInfo:{};return this.view&&this.view.ready||(e.viewNotReady=!0),this.layer&&this.layer.loaded||(e.layerNotLoaded=!0),this.visible||(e.layerInvisible=!0),e},t.prototype.isUpdating=function(){return!1},i.__decorate([l.property({dependsOn:["layer.opacity","parent.fullOpacity"]})],t.prototype,"fullOpacity",null),i.__decorate([l.property()],t.prototype,"layer",void 0),i.__decorate([l.property()],t.prototype,"parent",void 0),i.__decorate([l.property({readOnly:!0,dependsOn:["visible","layer.loaded","parent.suspended","view?.ready"]})],t.prototype,"suspended",null),i.__decorate([l.property({readOnly:!0,dependsOn:["visible","layer.loaded","parent.suspended","view?.ready"]})],t.prototype,"suspendInfo",null),i.__decorate([l.property({type:Boolean,dependsOn:["updatingHandles.updating"],readOnly:!0})],t.prototype,"updating",null),i.__decorate([l.property({dependsOn:["layer.visible"]})],t.prototype,"visible",null),i.__decorate([l.subclass("esri.views.layers.LayerView")],t)}(o.HandleOwnerMixin(s.IdentifiableMixin(p.EsriPromiseMixin(n.EventedMixin(r)))))}).apply(null,r))||(e.exports=n)},ZMIQ:function(e,t,i){var r,n;r=[i.dj.c(e.i),t,i("zOht"),i("ycL1"),i("Vx27")],n=(function(e,t,i,r,n){return function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i.__extends(t,e),i.__decorate([n.subclass("esri.views.layers.support.ClipArea")],t)}(r.JSONSupport)}).apply(null,r),void 0===n||(e.exports=n)},ts8o:function(e,t,i){var r,n;r=[i.dj.c(e.i),t,i("zOht"),i("TMur"),i("Vx27"),i("YADd"),i("Lzvl"),i("ZMIQ")],n=(function(e,t,i,r,n,o,s,a){var p={base:o,key:"type",typeMap:{extent:r.Extent,polygon:r.Polygon}};return function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="geometry",t.geometry=null,t}var r;return i.__extends(t,e),r=t,Object.defineProperty(t.prototype,"version",{get:function(){return(this._get("version")||0)+1},enumerable:!0,configurable:!0}),t.prototype.clone=function(){return new r({geometry:this.geometry.clone()})},i.__decorate([n.property({types:p,json:{read:s.fromJSON,write:!0}})],t.prototype,"geometry",void 0),i.__decorate([n.property({readOnly:!0,dependsOn:["geometry"]})],t.prototype,"version",null),r=i.__decorate([n.subclass("esri.views.layers.support.Geometry")],t)}(a)}).apply(null,r),void 0===n||(e.exports=n)}}]);