{"version":3,"sources":["webpack:///./node_modules/arcgis-js-api/layers/UnsupportedLayer.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,2BAAe,CAAC,2BAAc,CAAC,2BAAgC,CAAC,2BAAsB,CAAC,2BAAoB,CAAC,2BAAoC,CAAC,2BAAS,CAAC,2BAAsB,CAAC,mCAAE,gCAAgC,aAAa,mBAAmB,cAAc,2BAA2B,kDAAkD,0DAA0D,WAAW,iDAAiD,uBAAuB,iGAAiG,wDAAwD,YAAY,GAAG,GAAG,IAAI,gCAAgC,OAAO,gBAAgB,yFAAyF,+BAA+B,oBAAoB,oBAAoB,WAAW,EAAE,2BAA2B,YAAY,gEAAgE,qBAAqB,4DAA4D,MAAM,QAAQ,iCAAiC,6FAA6F,2CAA2C;AAAA,oGAAE,C","file":"js/chunk-2d22cce4.7f0af9ce.js","sourcesContent":["// 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/lang\",\"../core/MultiOriginJSONSupport\",\"../core/promiseUtils\",\"../core/scheduling\",\"../core/accessorSupport/decorators\",\"./Layer\",\"./mixins/PortalLayer\"],(function(e,r,t,o,i,n,p,s,u,a,c){\"use strict\";return function(e){function r(r){var t=e.call(this,r)||this;return t.resourceInfo=null,t.type=\"unsupported\",t}return t.__extends(r,e),r.prototype.initialize=function(){var e=this;this.addResolvingPromise(p.create((function(r,t){s.schedule((function(){var r=e.resourceInfo&&(e.resourceInfo.layerType||e.resourceInfo.type),i=\"Unsupported layer type\";r&&(i+=\" \"+r),t(new o(\"layer:unsupported-layer-type\",i,{layerType:r}))}))})))},r.prototype.read=function(r,t){var o={resourceInfo:r};null!=r.id&&(o.id=r.id),null!=r.title&&(o.title=r.title),e.prototype.read.call(this,o,t)},r.prototype.write=function(e){return i.mixin(e||{},this.resourceInfo,{id:this.id})},t.__decorate([u.property({readOnly:!0})],r.prototype,\"resourceInfo\",void 0),t.__decorate([u.property({type:[\"show\",\"hide\"]})],r.prototype,\"listMode\",void 0),t.__decorate([u.property({json:{read:!1},readOnly:!0,value:\"unsupported\"})],r.prototype,\"type\",void 0),r=t.__decorate([u.subclass(\"esri.layers.UnsupportedLayer\")],r)}(c.PortalLayer(n.MultiOriginJSONMixin(a)))}));"],"sourceRoot":""}