{"version":3,"sources":["webpack:///./node_modules/arcgis-js-api/views/2d/layers/GroupLayerView2D.js","webpack:///./node_modules/arcgis-js-api/views/layers/GroupLayerView.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/ClippingInfo.js","webpack:///./node_modules/arcgis-js-api/views/layers/support/ClipArea.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/GroupContainer.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/Mesh2D.js","webpack:///./node_modules/arcgis-js-api/views/layers/support/Geometry.js","webpack:///./node_modules/arcgis-js-api/views/layers/support/Path.js","webpack:///./node_modules/arcgis-js-api/views/2d/layers/LayerView2D.js","webpack:///./node_modules/arcgis-js-api/views/layers/support/ClipRect.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLContainer.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,iCAAO,CAAC,kCAAS,CAAC,OAAS,CAAC,2BAAO,CAAC,2BAA0C,CAAC,2BAAgC,CAAC,2BAAe,CAAC,2BAA6B,CAAC,mCAAE,wBAAwB,aAAa,mBAAmB,aAAa,8CAA8C,0CAA0C,sDAAsD,WAAW,4FAA4F,gCAAgC,uBAAuB,+BAA+B,2EAA2E,mCAAmC,YAAY,iCAAiC,mCAAmC,oCAAoC,iCAAiC,6CAA6C,WAAW,0EAA0E,6CAA6C,GAAG,yEAAyE,wBAAwB;AAAA,oGAAE,C;;;;;;;ACxBxkC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,iCAAO,CAAC,kCAAS,CAAC,OAAS,CAAC,2BAAO,CAAC,2BAAuB,CAAC,2BAA4B,CAAC,2BAAuC,CA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":["// COPYRIGHT © 2020 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"tslib\",\"../../../core/accessorSupport/decorators\",\"../engine/webgl/GroupContainer\",\"./LayerView2D\",\"../../layers/GroupLayerView\"],(function(e,t,r,n,i,o,a){\"use strict\";return function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.container=new i.GroupContainer,t}return r.__extends(t,e),t.prototype.attach=function(){var e=this;this._updateStageChildren(),this.handles.add(this.layerViews.on(\"after-changes\",(function(){return e._updateStageChildren()})),\"grouplayerview2d\")},t.prototype.detach=function(){this.handles.remove(\"grouplayerview2d\"),this.container.removeAllChildren()},t.prototype.hitTest=function(e,t){return null},t.prototype.update=function(e){},t.prototype.moveStart=function(){},t.prototype.viewChange=function(){},t.prototype.moveEnd=function(){},t.prototype._updateStageChildren=function(){var e=this;this.container.removeAllChildren(),this.layerViews.forEach((function(t,r){return e.container.addChildAt(t.container,r)}))},t=r.__decorate([n.subclass(\"esri.views.2d.layers.GroupLayerView2D\")],t)}(o.LayerView2DMixin(a))}));","// COPYRIGHT © 2020 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"tslib\",\"../../core/Collection\",\"../../core/collectionUtils\",\"../../core/accessorSupport/decorators\",\"./LayerView\"],(function(e,i,r,t,s,n,a){\"use strict\";return function(e){function i(i){var r=e.call(this,i)||this;return r.layerViews=new t,r}return r.__extends(i,e),i.prototype.initialize=function(){var e=this;this.handles.add([this.layerViews.on(\"change\",(function(i){return e._layerViewsChangeHandler(i)})),this.layerViews.on(\"after-changes\",(function(){return e._layerViewsAfterChangesHandler()})),this.layer.watch(\"visibilityMode\",(function(){return e._visibilityModeHandler()}),!0),this.watch(\"visible\",(function(){return e._visibleHandler()}),!0)],\"grouplayerview\"),this._layerViewsChangeHandler({target:null,added:this.layerViews.toArray(),removed:[],moved:[]}),this._layerViewsAfterChangesHandler()},Object.defineProperty(i.prototype,\"layerViews\",{set:function(e){this._set(\"layerViews\",s.referenceSetter(e,this._get(\"layerViews\")))},enumerable:!1,configurable:!0}),i.prototype.isUpdating=function(){return this.layerViews.some((function(e){return e.updating}))},i.prototype._hasLayerViewVisibleOverrides=function(){return this.layerViews.some((function(e){return e._isOverridden(\"visible\")}))},i.prototype._findLayerViewForLayer=function(e){return e&&this.layerViews.find((function(i){return i.layer===e}))},i.prototype._firstVisibleOnLayerOrder=function(){var e=this,i=this.layer.layers.find((function(i){var r=e._findLayerViewForLayer(i);return r&&r.visible}));return i&&this._findLayerViewForLayer(i)},i.prototype._enforceExclusiveVisibility=function(e){this._hasLayerViewVisibleOverrides()&&(e||!(e=this._firstVisibleOnLayerOrder())&&this.layerViews.length>0&&(e=this._findLayerViewForLayer(this.layer.layers.getItemAt(0))),this.layerViews.forEach((function(i){i.visible=i===e})))},i.prototype._layerViewsChangeHandler=function(e){var i=this;this.handles.remove(\"grouplayerview:visible\"),this.handles.add(this.layerViews.map((function(e){return e.watch(\"visible\",(function(r){return i._layerViewVisibleHandler(r,e)}),!0)})).toArray(),\"grouplayerview:visible\");var r=e.added[e.added.length-1],t=null;r&&r.visible&&(t=r),this._enforceVisibility(t)},i.prototype._layerViewsAfterChangesHandler=function(){var e=this;this.handles.remove(\"grouplayerview:updating\"),this.handles.add(this.layerViews.map((function(i){return i.watch(\"updating\",(function(){return e._updateUpdating()}),!0)})).toArray(),\"grouplayerview:updating\"),this._updateUpdating()},i.prototype._enforceVisibility=function(e){if(this._hasLayerViewVisibleOverrides())switch(this.layer.visibilityMode){case\"inherited\":var i=this.visible;this.layerViews.forEach((function(e){e.visible=i}));break;case\"exclusive\":this._enforceExclusiveVisibility(e)}},i.prototype._visibilityModeHandler=function(){this._enforceVisibility()},i.prototype._layerViewVisibleHandler=function(e,i){if(this._hasLayerViewVisibleOverrides())switch(this.layer.visibilityMode){case\"inherited\":e!==this.visible&&(i.visible=this.visible);break;case\"exclusive\":this._enforceExclusiveVisibility(e&&i)}},i.prototype._visibleHandler=function(){var e;this._hasLayerViewVisibleOverrides()&&\"inherited\"===(null===(e=this.layer)||void 0===e?void 0:e.visibilityMode)&&this._enforceVisibility()},i.prototype._updateUpdating=function(){this.notifyChange(\"updating\")},r.__decorate([n.property({cast:s.castForReferenceSetter})],i.prototype,\"layerViews\",null),r.__decorate([n.property()],i.prototype,\"view\",void 0),i=r.__decorate([n.subclass(\"esri.views.layers.GroupLayerView\")],i)}(a)}));","// COPYRIGHT © 2020 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"tslib\",\"../../../../core/Error\",\"../../../../core/Logger\",\"../../../../core/maybe\",\"../DisplayObject\",\"./Mesh2D\",\"../../../webgl/VertexArrayObject\"],(function(e,t,r,i,o,s,a,c,h){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var n=o.getLogger(\"esri.views.2d.engine.webgl.ClippingInfo\"),p=function(e){return parseFloat(e)/100},f=function(e){function t(t,r){var i=e.call(this)||this;return i._clip=r,i._cache={},i.stage=t,i._handle=r.watch(\"version\",(function(){return i._invalidate()})),i.ready(),i}return r.__extends(t,e),t.fromClipArea=function(e,r){return new t(e,r)},t.prototype._destroyGL=function(){s.isSome(this._cache.mesh)&&(this._cache.mesh.destroy(),this._cache.mesh=null),s.isSome(this._cache.vao)&&(this._cache.vao.dispose(),this._cache.vao=null)},t.prototype.destroy=function(){this._destroyGL(),this._handle.remove()},t.prototype.getVAO=function(e,t,r,i){var o=t.size,a=o[0],c=o[1];if(\"geometry\"!==this._clip.type&&this._lastWidth===a&&this._lastHeight===c||(this._lastWidth=a,this._lastHeight=c,this._destroyGL()),s.isNone(this._cache.vao)){var n=this._createMesh(t,this._clip),p=n.getIndexBuffer(e),f=n.getVertexBuffers(e);this._cache.mesh=n,this._cache.vao=new h(e,r,i,f,p)}return this._cache.vao},t.prototype._invalidate=function(){this._destroyGL(),this.requestRender()},t.prototype._createScreenRect=function(e,t){var r=e.size,i=r[0],o=r[1],s=\"string\"==typeof t.left?p(t.left)*i:t.left,a=\"string\"==typeof t.right?p(t.right)*i:t.right,c=\"string\"==typeof t.top?p(t.top)*o:t.top,h=\"string\"==typeof t.bottom?p(t.bottom)*o:t.bottom,n=s,f=c;return{x:n,y:f,width:Math.max(i-a-n,0),height:Math.max(o-h-f,0)}},t.prototype._createMesh=function(e,t){switch(t.type){case\"rect\":return c.default.fromRect(this._createScreenRect(e,t));case\"path\":return c.default.fromPath(t);case\"geometry\":return c.default.fromGeometry(e,t);default:return n.error(new i(\"mapview-bad-type\",\"Unable to create ClippingInfo mesh from clip of type: ${clip.type}\")),c.default.fromRect({x:0,y:0,width:1,height:1})}},t}(a.DisplayObject);t.default=f}));","// COPYRIGHT © 2020 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"tslib\",\"../../../core/JSONSupport\",\"../../../core/accessorSupport/decorators\"],(function(r,e,t,s,o){\"use strict\";return function(r){function e(){return null!==r&&r.apply(this,arguments)||this}return t.__extends(e,r),e=t.__decorate([o.subclass(\"esri.views.layers.support.ClipArea\")],e)}(s.JSONSupport)}));","// COPYRIGHT © 2020 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"tslib\",\"../../../webgl\",\"./WGLContainer\"],(function(e,t,r,i,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.GroupContainer=void 0;var a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._lastWidth=0,t._lastHeight=0,t}return r.__extends(t,e),t.prototype.dispose=function(){this._renderTarget&&(this._renderTarget.dispose(),this._renderTarget=null)},t.prototype.doRender=function(e){var t=this.createRenderParams(e),r=t.context,i=t.painter,n=t.profiler;this._prevFBO=r.getBoundFramebufferObject(),n.recordContainerStart(this.name);var a=this._getFbo(t),s=i.getRenderTarget();r.bindFramebuffer(a),i.setRenderTarget(a),r.setDepthWriteEnabled(!0),r.setClearColor(0,0,0,0),r.setClearDepth(1),r.clear(r.gl.COLOR_BUFFER_BIT|r.gl.DEPTH_BUFFER_BIT),r.setDepthWriteEnabled(!1);for(var o=0,d=this.children;o0:o<0},v=function(e,r){for(var t=e.coords,n=e.lengths,o=[],i=0,a=0;i=o&&(a=!0),t=r&&a}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([a.property({type:l,set:function(e){var t=o.referenceSetter(e,this._get(\"clips\"),l);this._set(\"clips\",t)}})],t.prototype,\"clips\",void 0),i.__decorate([a.property()],t.prototype,\"moving\",void 0),i.__decorate([a.property()],t.prototype,\"attached\",void 0),i.__decorate([a.property()],t.prototype,\"container\",void 0),i.__decorate([a.property({dependsOn:[\"view.scale\",\"layer.minScale\",\"layer.maxScale\"]})],t.prototype,\"suspended\",void 0),i.__decorate([a.property({readOnly:!0})],t.prototype,\"updateParameters\",void 0),i.__decorate([a.property()],t.prototype,\"updateRequested\",void 0),i.__decorate([a.property({dependsOn:[\"attached\",\"updateRequested\",\"suspended\"]})],t.prototype,\"updating\",null),i.__decorate([a.property()],t.prototype,\"view\",void 0),t=i.__decorate([a.subclass(\"esri.views.2d.layers.LayerView2D\")],t)}(e)}}));","// COPYRIGHT © 2020 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"tslib\",\"../../../core/accessorSupport/decorators\",\"./ClipArea\"],(function(t,e,r,o,p){\"use strict\";return function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"rect\",e.left=null,e.right=null,e.top=null,e.bottom=null,e}var p;return r.__extends(e,t),p=e,e.prototype.clone=function(){return new p({left:this.left,right:this.right,top:this.top,bottom:this.bottom})},Object.defineProperty(e.prototype,\"version\",{get:function(){return(this._get(\"version\")||0)+1},enumerable:!1,configurable:!0}),r.__decorate([o.property({type:[Number,String],json:{write:!0}})],e.prototype,\"left\",void 0),r.__decorate([o.property({type:[Number,String],json:{write:!0}})],e.prototype,\"right\",void 0),r.__decorate([o.property({type:[Number,String],json:{write:!0}})],e.prototype,\"top\",void 0),r.__decorate([o.property({type:[Number,String],json:{write:!0}})],e.prototype,\"bottom\",void 0),r.__decorate([o.property({readOnly:!0,dependsOn:[\"left\",\"right\",\"top\",\"bottom\"]})],e.prototype,\"version\",null),e=p=r.__decorate([o.subclass(\"esri.views.layers.support.ClipRect\")],e)}(p)}));","// COPYRIGHT © 2020 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"tslib\",\"../../../../core/has\",\"../../../../core/maybe\",\"../brushes\",\"../Container\",\"./ClippingInfo\",\"./enums\"],(function(e,t,r,n,i,s,o,a,p){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.name=t.constructor.name,t}return r.__extends(t,e),Object.defineProperty(t.prototype,\"clips\",{set:function(e){this._clips=e,this.children.forEach((function(t){return t.clips=e})),this._updateClippingInfo()},enumerable:!1,configurable:!0}),t.prototype.doRender=function(e){this.updateTransitionProperties(e.deltaTime);var t=this.createRenderParams(e),r=t.painter,n=t.globalOpacity,i=t.profiler,s=t.drawPhase===p.WGLDrawPhase.LABEL?1:n*this.computedOpacity;i.recordContainerStart(this.name),r.beforeRenderLayer(t,this._clippingInfos?255:0,s),this.updateTransforms(e.state),this.renderChildren(t),r.compositeLayer(t,s),i.recordContainerEnd()},t.prototype.renderChildren=function(e){i.isNone(this._renderPasses)&&(this._renderPasses=this.prepareRenderPasses(e.painter));for(var t=0,r=this._renderPasses;t