"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7546],{45165(e,t,r){r.r(t),r.d(t,{default:()=>a});var s=r(31635),o=r(49186),n=r(25728),i=r(76030),p=r(91429),l=r(4146),d=r(8303);let u=class extends((0,d.A)((0,n.M)(l.A))){constructor(e){super(e),this.resourceInfo=null,this.persistenceEnabled=!0,this.type="unsupported"}initialize(){this.addResolvingPromise(new Promise((e,t)=>{(0,i._)(()=>{const e=this.resourceInfo&&(this.resourceInfo.layerType||this.resourceInfo.type);let r="Unsupported layer type";e&&(r+=" "+e),t(new o.A("layer:unsupported-layer-type",r,{layerType:e}))})}))}read(e,t){const r={resourceInfo:e};null!=e.id&&(r.id=e.id),null!=e.title&&(r.title=e.title),super.read(r,t)}write(e,t){return Object.assign(e||{},this.resourceInfo,{id:this.id})}};(0,s.Cg)([(0,p.MZ)({readOnly:!0})],u.prototype,"resourceInfo",void 0),(0,s.Cg)([(0,p.MZ)({type:["show","hide"]})],u.prototype,"listMode",void 0),(0,s.Cg)([(0,p.MZ)({type:Boolean,readOnly:!1})],u.prototype,"persistenceEnabled",void 0),(0,s.Cg)([(0,p.MZ)({json:{read:!1},readOnly:!0,value:"unsupported"})],u.prototype,"type",void 0),u=(0,s.Cg)([(0,p.$K)("esri.layers.UnsupportedLayer")],u);const a=u}}]);