@arcgis/core 4.30.0-next.20240412 → 4.30.0-next.20240413

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/PopupTemplate.js +1 -1
  2. package/assets/esri/core/workers/RemoteClient.js +1 -1
  3. package/assets/esri/core/workers/chunks/2659f6ea7010b632df53.js +1 -0
  4. package/assets/esri/core/workers/chunks/{6587da4970568c8cf8b9.js → 361819e305105502926e.js} +1 -1
  5. package/assets/esri/core/workers/chunks/{dc481eedfd9cb01034f2.js → 8445662d7335066705fe.js} +1 -1
  6. package/assets/esri/core/workers/chunks/bcf09a990b16c7da6214.js +1 -0
  7. package/assets/esri/core/workers/chunks/{9d21b40b1086f87cc805.js → c26720584a6f5b05474e.js} +1 -1
  8. package/assets/esri/core/workers/chunks/d56297ebd21ff95ced40.js +1 -0
  9. package/assets/esri/core/workers/chunks/{ab2ff2c713b9b3825e3a.js → ef5db5c3be1dba954d74.js} +1 -1
  10. package/assets/esri/themes/base/widgets/_Expand.scss +38 -187
  11. package/assets/esri/themes/base/widgets/_Widget.scss +0 -10
  12. package/assets/esri/themes/dark/main.css +1 -1
  13. package/assets/esri/themes/light/main.css +1 -1
  14. package/assets/esri/themes/light/view.css +1 -1
  15. package/form/FormTemplate.js +1 -1
  16. package/geometry/support/heightModelInfoUtils.js +1 -1
  17. package/interfaces.d.ts +31 -5
  18. package/layers/CatalogLayer.js +1 -1
  19. package/layers/catalog/CatalogFootprintLayer.js +1 -1
  20. package/layers/support/featureLayerUtils.js +1 -1
  21. package/layers/support/fieldUtils.js +1 -1
  22. package/package.json +2 -2
  23. package/support/revision.js +1 -1
  24. package/symbols/cim/utils.js +1 -1
  25. package/views/2d/engine/webgl/Painter.js +1 -1
  26. package/views/2d/engine/webgl/cpuMapped/MappedMesh.js +1 -1
  27. package/views/2d/layers/CatalogDynamicGroupLayerView2D.js +1 -1
  28. package/views/2d/layers/features/layerAdapters/CatalogFootprintLayerAdapter.js +1 -1
  29. package/views/draw/support/tooltipUtils.js +1 -1
  30. package/views/layers/FeatureLayerView.js +1 -1
  31. package/widgets/BasemapLayerList/BasemapLayerListViewModel.js +1 -1
  32. package/widgets/Expand.js +1 -1
  33. package/widgets/FeatureForm/FeatureFormViewModel.js +1 -1
  34. package/widgets/FeatureForm/TextElementInput.js +5 -0
  35. package/widgets/FeatureForm/featureFormUtils.js +1 -1
  36. package/widgets/FeatureForm.js +1 -1
  37. package/widgets/LayerList/LayerListViewModel.js +1 -1
  38. package/widgets/LayerList/ListItem.js +1 -1
  39. package/widgets/TableList/TableListViewModel.js +1 -1
  40. package/widgets/TableList.js +1 -1
  41. package/assets/esri/core/workers/chunks/1d23efb0eb303123983e.js +0 -1
  42. package/assets/esri/core/workers/chunks/51a91227cbc5ffc031a8.js +0 -1
  43. package/assets/esri/core/workers/chunks/79bb7782fe59c108c397.js +0 -1
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3359],{13874:(t,e,i)=>{i.d(e,{A:()=>Q});var o=i(90237),s=i(69540),r=i(5503),n=i(25482),l=i(4718),p=i(53966),a=i(74887),d=i(10107),c=i(79901),u=i(36005),y=i(40608),h=i(43937),f=i(56507),v=i(30524),m=i(28122),_=i(84424),w=i(80737),M=i(96808),A=i(66159),x=i(67336),I=i(92094),b=i(23721);const g={base:null,key:"type",typeMap:{attachment:m.A,media:x.A,text:b.A,expression:M.A,field:A.A,relationship:I.A}};var Z,F=i(93705),j=i(41227);i(44208),i(87811);let N=Z=class extends n.oY{constructor(t){super(t),this.returnTopmostRaster=null,this.showNoDataRecords=null}clone(){return new Z({showNoDataRecords:this.showNoDataRecords,returnTopmostRaster:this.returnTopmostRaster})}};(0,o._)([(0,d.MZ)({type:Boolean,json:{write:!0}})],N.prototype,"returnTopmostRaster",void 0),(0,o._)([(0,d.MZ)({type:Boolean,json:{write:!0}})],N.prototype,"showNoDataRecords",void 0),N=Z=(0,o._)([(0,y.$)("esri.popup.LayerOptions")],N);const O=N;var S,R=i(49852);let C=S=class extends n.oY{constructor(t){super(t),this.showRelatedRecords=null,this.orderByFields=null}clone(){return new S({showRelatedRecords:this.showRelatedRecords,orderByFields:this.orderByFields?(0,l.o8)(this.orderByFields):null})}};(0,o._)([(0,d.MZ)({type:Boolean,json:{write:!0}})],C.prototype,"showRelatedRecords",void 0),(0,o._)([(0,d.MZ)({type:[R.A],json:{write:!0}})],C.prototype,"orderByFields",void 0),C=S=(0,o._)([(0,y.$)("esri.popup.RelatedRecordsInfo")],C);const T=C;var E,$=i(58280),B=i(69622),L=i(4902);let U=E=class extends((0,L.sA)(B.A)){constructor(t){super(t),this.active=!1,this.className=null,this.disabled=!1,this.icon=null,this.id=null,this.indicator=!1,this.title=null,this.type=null,this.visible=!0}clone(){return new E({active:this.active,className:this.className,disabled:this.disabled,icon:this.icon,id:this.id,indicator:this.indicator,title:this.title,visible:this.visible})}};(0,o._)([(0,d.MZ)()],U.prototype,"active",void 0),(0,o._)([(0,d.MZ)()],U.prototype,"className",void 0),(0,o._)([(0,d.MZ)()],U.prototype,"disabled",void 0),(0,o._)([(0,d.MZ)()],U.prototype,"icon",void 0),(0,o._)([(0,d.MZ)()],U.prototype,"id",void 0),(0,o._)([(0,d.MZ)()],U.prototype,"indicator",void 0),(0,o._)([(0,d.MZ)()],U.prototype,"title",void 0),(0,o._)([(0,d.MZ)()],U.prototype,"type",void 0),(0,o._)([(0,d.MZ)()],U.prototype,"visible",void 0),U=E=(0,o._)([(0,y.$)("esri.support.actions.ActionBase")],U);const J=U;var D;let k=D=class extends J{constructor(t){super(t),this.image=null,this.type="button"}clone(){return new D({active:this.active,className:this.className,disabled:this.disabled,icon:this.icon,id:this.id,indicator:this.indicator,title:this.title,visible:this.visible,image:this.image})}};(0,o._)([(0,d.MZ)()],k.prototype,"image",void 0),k=D=(0,o._)([(0,y.$)("esri.support.actions.ActionButton")],k);const P=k;var Y;let z=Y=class extends J{constructor(t){super(t),this.image=null,this.type="toggle",this.value=!1}clone(){return new Y({active:this.active,className:this.className,disabled:this.disabled,icon:this.icon,id:this.id,indicator:this.indicator,title:this.title,visible:this.visible,image:this.image,value:this.value})}};(0,o._)([(0,d.MZ)()],z.prototype,"image",void 0),(0,o._)([(0,d.MZ)()],z.prototype,"value",void 0),z=Y=(0,o._)([(0,y.$)("esri.support.actions.ActionToggle")],z);const K=z,V="relationships/",G="expression/",W=r.A.ofType({key:"type",defaultKeyValue:"button",base:J,typeMap:{button:P,toggle:K}}),q={base:_.A,key:"type",typeMap:{media:x.A,custom:w.A,text:b.A,attachments:m.A,fields:A.A,expression:M.A,relationship:I.A}},H=new Set(["attachments","fields","media","text","expression","relationship"]);let X=class extends((0,s.O)(n.oY)){constructor(){super(...arguments),this.actions=null,this.content="",this.expressionInfos=null,this.fieldInfos=null,this.layerOptions=null,this.lastEditInfoEnabled=!0,this.outFields=null,this.overwriteActions=!1,this.returnGeometry=!1,this.title=""}castContent(t){return Array.isArray(t)?t.map((t=>(0,f.aq)(q,t))):"string"==typeof t||"function"==typeof t||t instanceof HTMLElement||(0,a.$X)(t)?t:(p.A.getLogger(this).error("content error","unsupported content value",{value:t}),null)}readContent(t,e){const{popupElements:i}=e;return Array.isArray(i)&&i.length>0?this._readPopupInfoElements(e.description,e.mediaInfos,i):this._readPopupInfo(e)}writeContent(t,e,i,o){"string"!=typeof t?Array.isArray(t)&&(e.popupElements=t.filter((t=>H.has(t.type))).map((t=>t?.toJSON(o))),e.popupElements.forEach((t=>{"attachments"===t.type?this._writeAttachmentContent(e):"media"===t.type?this._writeMediaContent(t,e):"text"===t.type?this._writeTextContent(t,e):"relationship"===t.type&&this._writeRelationshipContent(t,e)}))):e.description=t}writeFieldInfos(t,e,i,o){const{content:s}=this,r=Array.isArray(s)?s:null;if(t){const i=r?r.filter((t=>"fields"===t.type)):[],s=i.length&&i.every((t=>t.fieldInfos?.length));e.fieldInfos=t.filter(Boolean).map((t=>{const e=t.toJSON(o);return s&&(e.visible=!1),e}))}if(r)for(const t of r)"fields"===t.type&&this._writeFieldsContent(t,e)}writeLayerOptions(t,e,i,o){e[i]=!t||null===t.showNoDataRecords&&null===t.returnTopmostRaster?null:t.toJSON(o)}writeTitle(t,e){e.title=t||""}async collectRequiredFields(t,e){const i=this.expressionInfos||[];await this._collectExpressionInfoFields(t,e,[...i,...this._getContentExpressionInfos(this.content,i)]),(0,v._w)(t,e,[...this.outFields||[],...this._getActionsFields(this.actions),...this._getTitleFields(this.title),...this._getContentFields(this.content)])}async getRequiredFields(t){const e=new Set;return await this.collectRequiredFields(e,t),[...e].sort()}_writeFieldsContent(t,e){if(!Array.isArray(t.fieldInfos)||!t.fieldInfos.length)return;const i=(0,l.o8)(t.fieldInfos);Array.isArray(e.fieldInfos)?i.forEach((t=>{const i=e.fieldInfos.find((e=>e.fieldName.toLowerCase()===t.fieldName.toLowerCase()));i?i.visible=!0:e.fieldInfos.push(t)})):e.fieldInfos=i}_writeAttachmentContent(t){t.showAttachments||(t.showAttachments=!0)}_writeRelationshipContent(t,e){const i=t.orderByFields?.map((e=>this._toFieldOrderJSON(e,t.relationshipId)))||[],o=[...e.relatedRecordsInfo?.orderByFields||[],...i];e.relatedRecordsInfo={showRelatedRecords:!0,...o?.length&&{orderByFields:o}}}_writeTextContent(t,e){!e.description&&t.text&&(e.description=t.text)}_writeMediaContent(t,e){if(!Array.isArray(t.mediaInfos)||!t.mediaInfos.length)return;const i=(0,l.o8)(t.mediaInfos);Array.isArray(e.mediaInfos)?e.mediaInfos=[...e.mediaInfos,...i]:e.mediaInfos=i}_readPopupInfoElements(t,e,i){const o={description:!1,mediaInfos:!1};return i.map((i=>"media"===i.type?(i.mediaInfos||!e||o.mediaInfos||(i.mediaInfos=e,o.mediaInfos=!0),x.A.fromJSON(i)):"text"===i.type?(i.text||!t||o.description||(i.text=t,o.description=!0),b.A.fromJSON(i)):"attachments"===i.type?m.A.fromJSON(i):"fields"===i.type?A.A.fromJSON(i):"expression"===i.type?M.A.fromJSON(i):"relationship"===i.type?I.A.fromJSON(i):void 0)).filter(Boolean)}_toRelationshipContent(t){const{field:e,order:i}=t;if(!e?.startsWith(V))return null;const o=e.replace(V,"").split("/");if(2!==o.length)return null;const s=parseInt(o[0],10),r=o[1];return"number"==typeof s&&r?I.A.fromJSON({relationshipId:s,orderByFields:[{field:r,order:i}]}):null}_toFieldOrderJSON(t,e){const{order:i,field:o}=t;return{field:`${V}${e}/${o}`,order:i}}_readPopupInfo({description:t,mediaInfos:e,showAttachments:i,relatedRecordsInfo:o={showRelatedRecords:!1}}){const s=[];t?s.push(new b.A({text:t})):s.push(new A.A),Array.isArray(e)&&e.length&&s.push(x.A.fromJSON({mediaInfos:e})),i&&s.push(m.A.fromJSON({displayType:"auto"}));const{showRelatedRecords:r,orderByFields:n}=o;return r&&n?.length&&n.forEach((t=>{const e=this._toRelationshipContent(t);e&&s.push(e)})),s.length?s:t}_getContentElementFields(t){const e=t?.type;if("attachments"===e)return[...this._extractFieldNames(t.title),...this._extractFieldNames(t.description)];if("custom"===e)return t.outFields||[];if("fields"===e)return[...this._extractFieldNames(t.title),...this._extractFieldNames(t.description),...this._getFieldInfoFields(t.fieldInfos??this.fieldInfos)];if("media"===e){const e=t.mediaInfos||[];return[...this._extractFieldNames(t.title),...this._extractFieldNames(t.description),...e.reduce(((t,e)=>[...t,...this._getMediaInfoFields(e)]),[])]}return"text"===e?this._extractFieldNames(t.text):[]}_getMediaInfoFields(t){const{caption:e,title:i,value:o}=t,s=o||{},{fields:r,normalizeField:n,tooltipField:l,sourceURL:p,linkURL:a}=s,d=[...this._extractFieldNames(i),...this._extractFieldNames(e),...this._extractFieldNames(p),...this._extractFieldNames(a),...r??[]];return n&&d.push(n),l&&d.push(l),d}_getContentExpressionInfos(t,e){return Array.isArray(t)?t.reduce(((t,e)=>[...t,..."expression"===e.type&&e.expressionInfo?[e.expressionInfo]:[]]),e):[]}_getContentFields(t){return"string"==typeof t?this._extractFieldNames(t):Array.isArray(t)?t.reduce(((t,e)=>[...t,...this._getContentElementFields(e)]),[]):[]}async _collectExpressionInfoFields(t,e,i){i&&await Promise.all(i.map((i=>(0,v.Dx)(t,e,i.expression))))}_getFieldInfoFields(t){return t?t.filter((t=>void 0===t.visible||!!t.visible)).map((t=>t.fieldName)).filter((t=>!t.startsWith(V)&&!t.startsWith(G))):[]}_getActionsFields(t){return t?t.toArray().reduce(((t,e)=>[...t,...this._getActionFields(e)]),[]):[]}_getActionFields(t){const{className:e,title:i,type:o}=t,s="button"===o||"toggle"===o?t.image:"";return[...this._extractFieldNames(i),...this._extractFieldNames(e),...this._extractFieldNames(s)]}_getTitleFields(t){return"string"==typeof t?this._extractFieldNames(t):[]}_extractFieldNames(t){return(0,v.GZ)(t).filter((t=>!(0===t.indexOf(V)||0===t.indexOf(G))))}};(0,o._)([(0,d.MZ)({type:W})],X.prototype,"actions",void 0),(0,o._)([(0,d.MZ)()],X.prototype,"content",void 0),(0,o._)([(0,c.w)("content")],X.prototype,"castContent",null),(0,o._)([(0,u.w)("content",["description","fieldInfos","popupElements","mediaInfos","showAttachments","relatedRecordsInfo"])],X.prototype,"readContent",null),(0,o._)([(0,h.K)("content",{popupElements:{type:r.A.ofType(g)},showAttachments:{type:Boolean},mediaInfos:{type:r.A.ofType($.g)},description:{type:String},relatedRecordsInfo:{type:T}})],X.prototype,"writeContent",null),(0,o._)([(0,d.MZ)({type:[F.A],json:{write:!0}})],X.prototype,"expressionInfos",void 0),(0,o._)([(0,d.MZ)({type:[j.A]})],X.prototype,"fieldInfos",void 0),(0,o._)([(0,h.K)("fieldInfos")],X.prototype,"writeFieldInfos",null),(0,o._)([(0,d.MZ)({type:O})],X.prototype,"layerOptions",void 0),(0,o._)([(0,h.K)("layerOptions")],X.prototype,"writeLayerOptions",null),(0,o._)([(0,d.MZ)({type:Boolean,json:{read:{source:"showLastEditInfo"},write:{target:"showLastEditInfo"},default:!0}})],X.prototype,"lastEditInfoEnabled",void 0),(0,o._)([(0,d.MZ)()],X.prototype,"outFields",void 0),(0,o._)([(0,d.MZ)()],X.prototype,"overwriteActions",void 0),(0,o._)([(0,d.MZ)()],X.prototype,"returnGeometry",void 0),(0,o._)([(0,d.MZ)({json:{type:String}})],X.prototype,"title",void 0),(0,o._)([(0,h.K)("title")],X.prototype,"writeTitle",null),X=(0,o._)([(0,y.$)("esri.PopupTemplate")],X);const Q=X},4902:(t,e,i)=>{i.d(e,{PH:()=>l,sA:()=>n});var o=i(90237),s=i(40608);let r=0;const n=t=>{let e=class extends t{constructor(...t){super(...t),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+r++})}};return e=(0,o._)([(0,s.$)("esri.core.Identifiable")],e),e},l=t=>{let e=class extends t{constructor(...t){super(...t),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:r++})}};return e=(0,o._)([(0,s.$)("esri.core.Identifiable.NumericIdentifiable")],e),e};let p=class extends(n(class{})){};p=(0,o._)([(0,s.$)("esri.core.Identifiable")],p)},4146:(t,e,i)=>{i.d(e,{A:()=>w});var o=i(90237),s=(i(59456),i(78888)),r=i(49186),n=i(65529),l=i(4902),p=i(92474),a=i(53966),d=i(74887),c=i(84952),u=i(10107),y=(i(44208),i(87811),i(40608)),h=i(92602),f=i(5443),v=i(16930);let m=0,_=class extends(n.A.EventedMixin((0,l.sA)(p.A))){constructor(){super(...arguments),this.attributionDataUrl=null,this.fullExtent=new f.A(-180,-90,180,90,v.A.WGS84),this.id=Date.now().toString(16)+"-layer-"+m++,this.legendEnabled=!0,this.listMode="show",this.opacity=1,this.parent=null,this.persistenceEnabled=!1,this.popupEnabled=!0,this.attributionVisible=!0,this.spatialReference=v.A.WGS84,this.title=null,this.type=null,this.url=null,this.visible=!0}static async fromArcGISServerUrl(t){const e="string"==typeof t?{url:t}:t;return(await i.e(7982).then(i.bind(i,27982))).fromUrl(e)}static fromPortalItem(t){return async function(t){const e="portalItem"in t?t:{portalItem:t},{fromItem:o}=await i.e(5613).then(i.bind(i,45613));try{return await o(e)}catch(t){const i=e?.portalItem,o=i?.id||"unset",s=i?.portal?.url||h.A.portalUrl;throw a.A.getLogger("esri.layers.support.fromPortalItem").error("#fromPortalItem()","Failed to create layer from portal item (portal: '"+s+"', id: '"+o+"')",t),t}}(t)}initialize(){this.when().catch((t=>{(0,d.zf)(t)||a.A.getLogger(this).error("#load()",`Failed to load layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}')`,{error:t})}))}destroy(){const t=this.parent;if(t){const e=this;"layers"in t&&t.layers.includes(e)?t.layers.remove(e):"tables"in t&&t.tables.includes(e)?t.tables.remove(e):"baseLayers"in t&&t.baseLayers.includes(e)?t.baseLayers.remove(e):"referenceLayers"in t&&t.referenceLayers.includes(e)&&t.referenceLayers.remove(e),this._set("parent",null)}}get hasAttributionData(){return null!=this.attributionDataUrl}get parsedUrl(){return(0,c.An)(this.url)}async fetchAttributionData(){const t=this.attributionDataUrl;if(this.hasAttributionData&&t)return(await(0,s.A)(t,{query:{f:"json"},responseType:"json"})).data;throw new r.A("layer:no-attribution-data","Layer does not have attribution data")}};(0,o._)([(0,u.MZ)({type:String})],_.prototype,"attributionDataUrl",void 0),(0,o._)([(0,u.MZ)({type:f.A})],_.prototype,"fullExtent",void 0),(0,o._)([(0,u.MZ)({readOnly:!0})],_.prototype,"hasAttributionData",null),(0,o._)([(0,u.MZ)({type:String,clonable:!1})],_.prototype,"id",void 0),(0,o._)([(0,u.MZ)({type:Boolean,nonNullable:!0})],_.prototype,"legendEnabled",void 0),(0,o._)([(0,u.MZ)({type:["show","hide","hide-children"]})],_.prototype,"listMode",void 0),(0,o._)([(0,u.MZ)({type:Number,range:{min:0,max:1},nonNullable:!0})],_.prototype,"opacity",void 0),(0,o._)([(0,u.MZ)({clonable:!1})],_.prototype,"parent",void 0),(0,o._)([(0,u.MZ)({readOnly:!0})],_.prototype,"parsedUrl",null),(0,o._)([(0,u.MZ)({type:Boolean,readOnly:!0})],_.prototype,"persistenceEnabled",void 0),(0,o._)([(0,u.MZ)({type:Boolean})],_.prototype,"popupEnabled",void 0),(0,o._)([(0,u.MZ)({type:Boolean})],_.prototype,"attributionVisible",void 0),(0,o._)([(0,u.MZ)({type:v.A})],_.prototype,"spatialReference",void 0),(0,o._)([(0,u.MZ)({type:String})],_.prototype,"title",void 0),(0,o._)([(0,u.MZ)({readOnly:!0,json:{read:!1}})],_.prototype,"type",void 0),(0,o._)([(0,u.MZ)()],_.prototype,"url",void 0),(0,o._)([(0,u.MZ)({type:Boolean,nonNullable:!0})],_.prototype,"visible",void 0),_=(0,o._)([(0,y.$)("esri.layers.Layer")],_);const w=_},93705:(t,e,i)=>{i.d(e,{A:()=>a});var o,s=i(90237),r=i(25482),n=i(10107),l=(i(44208),i(53966),i(87811),i(40608));let p=o=class extends r.oY{constructor(t){super(t),this.name=null,this.title=null,this.expression=null,this.returnType=null}clone(){return new o({name:this.name,title:this.title,expression:this.expression,returnType:this.returnType})}};(0,s._)([(0,n.MZ)({type:String,json:{write:!0}})],p.prototype,"name",void 0),(0,s._)([(0,n.MZ)({type:String,json:{write:!0}})],p.prototype,"title",void 0),(0,s._)([(0,n.MZ)({type:String,json:{write:!0}})],p.prototype,"expression",void 0),(0,s._)([(0,n.MZ)({type:["string","number"],json:{write:!0}})],p.prototype,"returnType",void 0),p=o=(0,s._)([(0,l.$)("esri.popup.ExpressionInfo")],p);const a=p},41227:(t,e,i)=>{i.d(e,{A:()=>y});var o,s=i(90237),r=i(66552),n=i(25482),l=i(4718),p=i(10107),a=(i(44208),i(53966),i(93223)),d=i(40608),c=i(68780);let u=o=class extends n.oY{constructor(t){super(t),this.fieldName=null,this.format=null,this.isEditable=!0,this.label=null,this.stringFieldOption="text-box",this.statisticType=null,this.tooltip=null,this.visible=!0}clone(){return new o({fieldName:this.fieldName,format:this.format?(0,l.o8)(this.format):null,isEditable:this.isEditable,label:this.label,stringFieldOption:this.stringFieldOption,statisticType:this.statisticType,tooltip:this.tooltip,visible:this.visible})}};(0,s._)([(0,p.MZ)({type:String,json:{write:!0}})],u.prototype,"fieldName",void 0),(0,s._)([(0,p.MZ)({type:c.A,json:{write:!0}})],u.prototype,"format",void 0),(0,s._)([(0,p.MZ)({type:Boolean,json:{write:{alwaysWriteDefaults:!0},default:!0}})],u.prototype,"isEditable",void 0),(0,s._)([(0,p.MZ)({type:String,json:{write:!0}})],u.prototype,"label",void 0),(0,s._)([(0,a.e)(new r.J({richtext:"rich-text",textarea:"text-area",textbox:"text-box"}),{default:"text-box"})],u.prototype,"stringFieldOption",void 0),(0,s._)([(0,p.MZ)({type:["count","sum","min","max","avg","stddev","var"],json:{write:!0}})],u.prototype,"statisticType",void 0),(0,s._)([(0,p.MZ)({type:String,json:{write:!0}})],u.prototype,"tooltip",void 0),(0,s._)([(0,p.MZ)({type:Boolean,json:{write:!0}})],u.prototype,"visible",void 0),u=o=(0,s._)([(0,d.$)("esri.popup.FieldInfo")],u);const y=u},28122:(t,e,i)=>{i.d(e,{A:()=>a});var o,s=i(90237),r=i(10107),n=(i(44208),i(53966),i(87811),i(40608)),l=i(84424);let p=o=class extends l.A{constructor(t){super(t),this.description=null,this.displayType="auto",this.title=null,this.type="attachments"}clone(){return new o({description:this.description,displayType:this.displayType,title:this.title})}};(0,s._)([(0,r.MZ)({type:String,json:{write:!0}})],p.prototype,"description",void 0),(0,s._)([(0,r.MZ)({type:["auto","preview","list"],json:{write:!0}})],p.prototype,"displayType",void 0),(0,s._)([(0,r.MZ)({type:String,json:{write:!0}})],p.prototype,"title",void 0),(0,s._)([(0,r.MZ)({type:["attachments"],readOnly:!0,json:{read:!1,write:!0}})],p.prototype,"type",void 0),p=o=(0,s._)([(0,n.$)("esri.popup.content.AttachmentsContent")],p);const a=p},71468:(t,e,i)=>{i.d(e,{A:()=>d});var o,s=i(90237),r=i(10107),n=(i(44208),i(53966),i(87811),i(40608)),l=i(39740),p=i(38152);let a=o=class extends l.A{constructor(t){super(t),this.type="bar-chart"}clone(){return new o({altText:this.altText,title:this.title,caption:this.caption,value:this.value?this.value.clone():null})}};(0,s._)([(0,r.MZ)({type:["bar-chart"],readOnly:!0,json:{type:["barchart"],read:!1,write:p.U.write}})],a.prototype,"type",void 0),a=o=(0,s._)([(0,n.$)("esri.popup.content.BarChartMediaInfo")],a);const d=a},81663:(t,e,i)=>{i.d(e,{A:()=>d});var o,s=i(90237),r=i(10107),n=(i(44208),i(53966),i(87811),i(40608)),l=i(39740),p=i(38152);let a=o=class extends l.A{constructor(t){super(t),this.type="column-chart"}clone(){return new o({altText:this.altText,title:this.title,caption:this.caption,value:this.value?this.value.clone():null})}};(0,s._)([(0,r.MZ)({type:["column-chart"],readOnly:!0,json:{type:["columnchart"],read:!1,write:p.U.write}})],a.prototype,"type",void 0),a=o=(0,s._)([(0,n.$)("esri.popup.content.ColumnChartMediaInfo")],a);const d=a},84424:(t,e,i)=>{i.d(e,{A:()=>p});var o=i(90237),s=i(25482),r=i(10107),n=(i(44208),i(53966),i(87811),i(40608));let l=class extends s.oY{constructor(t){super(t),this.type=null}};(0,o._)([(0,r.MZ)({type:["attachments","custom","fields","media","text","expression","relationship"],readOnly:!0,json:{read:!1,write:!0}})],l.prototype,"type",void 0),l=(0,o._)([(0,n.$)("esri.popup.content.Content")],l);const p=l},80737:(t,e,i)=>{i.d(e,{A:()=>d});var o,s=i(90237),r=i(4718),n=i(10107),l=(i(44208),i(53966),i(40608)),p=i(84424);let a=o=class extends p.A{constructor(t){super(t),this.creator=null,this.destroyer=null,this.outFields=null,this.type="custom"}clone(){return new o({creator:this.creator,destroyer:this.destroyer,outFields:Array.isArray(this.outFields)?(0,r.o8)(this.outFields):null})}};(0,s._)([(0,n.MZ)()],a.prototype,"creator",void 0),(0,s._)([(0,n.MZ)()],a.prototype,"destroyer",void 0),(0,s._)([(0,n.MZ)()],a.prototype,"outFields",void 0),(0,s._)([(0,n.MZ)({type:["custom"],readOnly:!0})],a.prototype,"type",void 0),a=o=(0,s._)([(0,l.$)("esri.popup.content.CustomContent")],a);const d=a},96808:(t,e,i)=>{i.d(e,{A:()=>y});var o,s=i(90237),r=i(10107),n=(i(44208),i(53966),i(87811),i(40608)),l=i(25482);let p=o=class extends l.oY{constructor(t){super(t),this.title=null,this.expression=null,this.returnType="dictionary"}clone(){return new o({title:this.title,expression:this.expression})}};(0,s._)([(0,r.MZ)({type:String,json:{write:!0}})],p.prototype,"title",void 0),(0,s._)([(0,r.MZ)({type:String,json:{write:!0}})],p.prototype,"expression",void 0),(0,s._)([(0,r.MZ)({type:["dictionary"],readOnly:!0,json:{read:!1,write:!0}})],p.prototype,"returnType",void 0),p=o=(0,s._)([(0,n.$)("esri.popup.ElementExpressionInfo")],p);const a=p;var d,c=i(84424);let u=d=class extends c.A{constructor(t){super(t),this.expressionInfo=null,this.type="expression"}clone(){return new d({expressionInfo:this.expressionInfo?.clone()})}};(0,s._)([(0,r.MZ)({type:a,json:{write:!0}})],u.prototype,"expressionInfo",void 0),(0,s._)([(0,r.MZ)({type:["expression"],readOnly:!0,json:{read:!1,write:!0}})],u.prototype,"type",void 0),u=d=(0,s._)([(0,n.$)("esri.popup.content.ExpressionContent")],u);const y=u},66159:(t,e,i)=>{i.d(e,{A:()=>u});var o,s=i(90237),r=i(4718),n=i(10107),l=(i(44208),i(53966),i(40608)),p=i(43937),a=i(41227),d=i(84424);let c=o=class extends d.A{constructor(t){super(t),this.attributes=null,this.description=null,this.fieldInfos=null,this.title=null,this.type="fields"}writeFieldInfos(t,e){e.fieldInfos=t&&t.map((t=>t.toJSON()))}clone(){return new o((0,r.o8)({attributes:this.attributes,description:this.description,fieldInfos:this.fieldInfos,title:this.title}))}};(0,s._)([(0,n.MZ)({type:Object,json:{write:!0}})],c.prototype,"attributes",void 0),(0,s._)([(0,n.MZ)({type:String,json:{write:!0}})],c.prototype,"description",void 0),(0,s._)([(0,n.MZ)({type:[a.A]})],c.prototype,"fieldInfos",void 0),(0,s._)([(0,p.K)("fieldInfos")],c.prototype,"writeFieldInfos",null),(0,s._)([(0,n.MZ)({type:String,json:{write:!0}})],c.prototype,"title",void 0),(0,s._)([(0,n.MZ)({type:["fields"],readOnly:!0,json:{read:!1,write:!0}})],c.prototype,"type",void 0),c=o=(0,s._)([(0,l.$)("esri.popup.content.FieldsContent")],c);const u=c},96922:(t,e,i)=>{i.d(e,{A:()=>y});var o,s=i(90237),r=i(10107),n=(i(44208),i(53966),i(87811),i(40608)),l=i(22756),p=i(25482);let a=o=class extends p.oY{constructor(t){super(t),this.linkURL=null,this.sourceURL=null}clone(){return new o({linkURL:this.linkURL,sourceURL:this.sourceURL})}};(0,s._)([(0,r.MZ)({type:String,json:{write:!0}})],a.prototype,"linkURL",void 0),(0,s._)([(0,r.MZ)({type:String,json:{write:!0}})],a.prototype,"sourceURL",void 0),a=o=(0,s._)([(0,n.$)("esri.popup.content.support.ImageMediaInfoValue")],a);const d=a;var c;let u=c=class extends l.A{constructor(t){super(t),this.refreshInterval=null,this.type="image",this.value=null}clone(){return new c({altText:this.altText,title:this.title,caption:this.caption,refreshInterval:this.refreshInterval,value:this.value?this.value.clone():null})}};(0,s._)([(0,r.MZ)({type:Number,json:{write:!0}})],u.prototype,"refreshInterval",void 0),(0,s._)([(0,r.MZ)({type:["image"],readOnly:!0,json:{read:!1,write:!0}})],u.prototype,"type",void 0),(0,s._)([(0,r.MZ)({type:d,json:{write:!0}})],u.prototype,"value",void 0),u=c=(0,s._)([(0,n.$)("esri.popup.content.ImageMediaInfo")],u);const y=u},92799:(t,e,i)=>{i.d(e,{A:()=>d});var o,s=i(90237),r=i(10107),n=(i(44208),i(53966),i(87811),i(40608)),l=i(39740),p=i(38152);let a=o=class extends l.A{constructor(t){super(t),this.type="line-chart"}clone(){return new o({altText:this.altText,title:this.title,caption:this.caption,value:this.value?this.value.clone():null})}};(0,s._)([(0,r.MZ)({type:["line-chart"],readOnly:!0,json:{type:["linechart"],read:!1,write:p.U.write}})],a.prototype,"type",void 0),a=o=(0,s._)([(0,n.$)("esri.popup.content.LineChartMediaInfo")],a);const d=a},67336:(t,e,i)=>{i.d(e,{A:()=>_});var o,s=i(90237),r=i(4718),n=i(10107),l=(i(44208),i(53966),i(36005)),p=i(40608),a=i(43937),d=i(71468),c=i(81663),u=i(84424),y=i(96922),h=i(92799),f=i(53535),v=i(58280);let m=o=class extends u.A{constructor(t){super(t),this.activeMediaInfoIndex=null,this.attributes=null,this.description=null,this.mediaInfos=null,this.title=null,this.type="media"}readMediaInfos(t){return t&&t.map((t=>"image"===t.type?y.A.fromJSON(t):"barchart"===t.type?d.A.fromJSON(t):"columnchart"===t.type?c.A.fromJSON(t):"linechart"===t.type?h.A.fromJSON(t):"piechart"===t.type?f.A.fromJSON(t):void 0)).filter(Boolean)}writeMediaInfos(t,e){e.mediaInfos=t&&t.map((t=>t.toJSON()))}clone(){return new o((0,r.o8)({activeMediaInfoIndex:this.activeMediaInfoIndex,attributes:this.attributes,description:this.description,mediaInfos:this.mediaInfos,title:this.title}))}};(0,s._)([(0,n.MZ)()],m.prototype,"activeMediaInfoIndex",void 0),(0,s._)([(0,n.MZ)({type:Object,json:{write:!0}})],m.prototype,"attributes",void 0),(0,s._)([(0,n.MZ)({type:String,json:{write:!0}})],m.prototype,"description",void 0),(0,s._)([(0,n.MZ)({types:[v.g]})],m.prototype,"mediaInfos",void 0),(0,s._)([(0,l.w)("mediaInfos")],m.prototype,"readMediaInfos",null),(0,s._)([(0,a.K)("mediaInfos")],m.prototype,"writeMediaInfos",null),(0,s._)([(0,n.MZ)({type:String,json:{write:!0}})],m.prototype,"title",void 0),(0,s._)([(0,n.MZ)({type:["media"],readOnly:!0,json:{read:!1,write:!0}})],m.prototype,"type",void 0),m=o=(0,s._)([(0,p.$)("esri.popup.content.MediaContent")],m);const _=m},53535:(t,e,i)=>{i.d(e,{A:()=>d});var o,s=i(90237),r=i(10107),n=(i(44208),i(53966),i(87811),i(40608)),l=i(39740),p=i(38152);let a=o=class extends l.A{constructor(t){super(t),this.type="pie-chart"}clone(){return new o({altText:this.altText,title:this.title,caption:this.caption,value:this.value?this.value.clone():null})}};(0,s._)([(0,r.MZ)({type:["pie-chart"],readOnly:!0,json:{type:["piechart"],read:!1,write:p.U.write}})],a.prototype,"type",void 0),a=o=(0,s._)([(0,n.$)("esri.popup.content.PieChartMediaInfo")],a);const d=a},92094:(t,e,i)=>{i.d(e,{A:()=>c});var o=i(90237),s=i(69540),r=i(10107),n=i(56507),l=(i(87811),i(44208),i(40608)),p=i(84424),a=i(49852);let d=class extends((0,s.O)(p.A)){constructor(t){super(t),this.description=null,this.displayCount=null,this.displayType="list",this.orderByFields=null,this.relationshipId=null,this.title=null,this.type="relationship"}};(0,o._)([(0,r.MZ)({type:String,json:{write:!0}})],d.prototype,"description",void 0),(0,o._)([(0,r.MZ)({type:Number,json:{type:n.jz,write:!0}})],d.prototype,"displayCount",void 0),(0,o._)([(0,r.MZ)({type:["list"],json:{write:!0}})],d.prototype,"displayType",void 0),(0,o._)([(0,r.MZ)({type:[a.A],json:{write:!0}})],d.prototype,"orderByFields",void 0),(0,o._)([(0,r.MZ)({type:Number,json:{type:n.jz,write:!0}})],d.prototype,"relationshipId",void 0),(0,o._)([(0,r.MZ)({type:String,json:{write:!0}})],d.prototype,"title",void 0),(0,o._)([(0,r.MZ)({type:["relationship"],readOnly:!0,json:{read:!1,write:!0}})],d.prototype,"type",void 0),d=(0,o._)([(0,l.$)("esri.popup.content.RelationshipContent")],d);const c=d},23721:(t,e,i)=>{i.d(e,{A:()=>a});var o,s=i(90237),r=i(10107),n=(i(44208),i(53966),i(87811),i(40608)),l=i(84424);let p=o=class extends l.A{constructor(t){super(t),this.text=null,this.type="text"}clone(){return new o({text:this.text})}};(0,s._)([(0,r.MZ)({type:String,json:{write:!0}})],p.prototype,"text",void 0),(0,s._)([(0,r.MZ)({type:["text"],readOnly:!0,json:{read:!1,write:!0}})],p.prototype,"type",void 0),p=o=(0,s._)([(0,n.$)("esri.popup.content.TextContent")],p);const a=p},39740:(t,e,i)=>{i.d(e,{A:()=>w});var o,s=i(90237),r=i(10107),n=(i(44208),i(53966),i(87811),i(40608)),l=i(22756),p=i(68197),a=i(25482),d=i(4718),c=i(56507),u=i(69622);let y=o=class extends u.A{constructor(t){super(t),this.color=null,this.fieldName=null,this.tooltip=null,this.value=null}clone(){return new o({fieldName:this.fieldName,tooltip:this.tooltip,value:this.value})}};(0,s._)([(0,r.MZ)()],y.prototype,"color",void 0),(0,s._)([(0,r.MZ)()],y.prototype,"fieldName",void 0),(0,s._)([(0,r.MZ)()],y.prototype,"tooltip",void 0),(0,s._)([(0,r.MZ)()],y.prototype,"value",void 0),y=o=(0,s._)([(0,n.$)("esri.popup.content.support.ChartMediaInfoValueSeries")],y);const h=y;var f;let v=f=class extends a.oY{constructor(t){super(t),this.colors=null,this.fields=[],this.normalizeField=null,this.series=[],this.tooltipField=null}clone(){return new f({colors:(0,d.o8)(this.colors),fields:(0,d.o8)(this.fields),normalizeField:this.normalizeField,tooltipField:this.tooltipField})}};(0,s._)([(0,r.MZ)({type:[p.A],json:{type:[[c.jz]],write:!0}})],v.prototype,"colors",void 0),(0,s._)([(0,r.MZ)({type:[String],json:{write:!0}})],v.prototype,"fields",void 0),(0,s._)([(0,r.MZ)({type:String,json:{write:!0}})],v.prototype,"normalizeField",void 0),(0,s._)([(0,r.MZ)({type:[h],json:{read:!1}})],v.prototype,"series",void 0),(0,s._)([(0,r.MZ)({type:String,json:{write:!0}})],v.prototype,"tooltipField",void 0),v=f=(0,s._)([(0,n.$)("esri.popup.content.support.ChartMediaInfoValue")],v);const m=v;let _=class extends l.A{constructor(t){super(t),this.type=null,this.value=null}};(0,s._)([(0,r.MZ)({type:["bar-chart","column-chart","line-chart","pie-chart"],readOnly:!0,json:{read:!1,write:!0}})],_.prototype,"type",void 0),(0,s._)([(0,r.MZ)({type:m,json:{write:!0}})],_.prototype,"value",void 0),_=(0,s._)([(0,n.$)("esri.popup.content.mixins.ChartMediaInfo")],_);const w=_},22756:(t,e,i)=>{i.d(e,{A:()=>p});var o=i(90237),s=i(25482),r=i(10107),n=(i(44208),i(53966),i(87811),i(40608));let l=class extends s.oY{constructor(t){super(t),this.altText=null,this.caption="",this.title="",this.type=null}};(0,o._)([(0,r.MZ)({type:String,json:{write:!0}})],l.prototype,"altText",void 0),(0,o._)([(0,r.MZ)({type:String,json:{write:!0}})],l.prototype,"caption",void 0),(0,o._)([(0,r.MZ)({type:String,json:{write:!0}})],l.prototype,"title",void 0),(0,o._)([(0,r.MZ)({type:["image","bar-chart","column-chart","line-chart","pie-chart"],readOnly:!0,json:{read:!1,write:!0}})],l.prototype,"type",void 0),l=(0,o._)([(0,n.$)("esri.popup.content.mixins.MediaInfo")],l);const p=l},38152:(t,e,i)=>{i.d(e,{U:()=>o});const o=(0,i(66552).O)()({barchart:"bar-chart",columnchart:"column-chart",linechart:"line-chart",piechart:"pie-chart"})},58280:(t,e,i)=>{i.d(e,{g:()=>p});var o=i(71468),s=i(81663),r=i(96922),n=i(92799),l=i(53535);const p={base:i(22756).A,key:"type",defaultKeyValue:"image",typeMap:{"bar-chart":o.A,"column-chart":s.A,"line-chart":n.A,"pie-chart":l.A,image:r.A}}},68780:(t,e,i)=>{i.d(e,{A:()=>u});var o=i(90237),s=i(69540),r=i(25482),n=i(10107),l=i(56507),p=(i(87811),i(44208),i(93223)),a=i(40608),d=i(97770);let c=class extends((0,s.O)(r.oY)){constructor(t){super(t),this.dateFormat=null,this.digitSeparator=!1,this.places=null}};(0,o._)([(0,p.e)(d._v)],c.prototype,"dateFormat",void 0),(0,o._)([(0,n.MZ)({type:Boolean,json:{write:!0}})],c.prototype,"digitSeparator",void 0),(0,o._)([(0,n.MZ)({type:l.jz,json:{write:!0}})],c.prototype,"places",void 0),c=(0,o._)([(0,a.$)("esri.popup.support.FieldInfoFormat")],c);const u=c},49852:(t,e,i)=>{i.d(e,{A:()=>a});var o,s=i(90237),r=i(25482),n=i(10107),l=(i(44208),i(53966),i(87811),i(40608));let p=o=class extends r.oY{constructor(t){super(t),this.field=null,this.order=null}clone(){return new o({field:this.field,order:this.order})}};(0,s._)([(0,n.MZ)({type:String,json:{write:!0}})],p.prototype,"field",void 0),(0,s._)([(0,n.MZ)({type:["asc","desc"],json:{write:!0}})],p.prototype,"order",void 0),p=o=(0,s._)([(0,l.$)("esri.popup.support.RelatedRecordsInfoFieldOrder")],p);const a=p}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3359],{13874:(t,e,i)=>{i.d(e,{A:()=>Q});var o=i(90237),s=i(69540),r=i(5503),n=i(25482),l=i(4718),p=i(53966),a=i(74887),d=i(10107),c=i(79901),u=i(36005),y=i(40608),h=i(43937),f=i(56507),v=i(30524),m=i(28122),_=i(84424),w=i(80737),M=i(96808),A=i(66159),x=i(67336),I=i(92094),b=i(23721);const g={base:null,key:"type",typeMap:{attachment:m.A,media:x.A,text:b.A,expression:M.A,field:A.A,relationship:I.A}};var Z,F=i(93705),j=i(41227);i(44208),i(87811);let N=Z=class extends n.oY{constructor(t){super(t),this.returnTopmostRaster=null,this.showNoDataRecords=null}clone(){return new Z({showNoDataRecords:this.showNoDataRecords,returnTopmostRaster:this.returnTopmostRaster})}};(0,o._)([(0,d.MZ)({type:Boolean,json:{write:!0}})],N.prototype,"returnTopmostRaster",void 0),(0,o._)([(0,d.MZ)({type:Boolean,json:{write:!0}})],N.prototype,"showNoDataRecords",void 0),N=Z=(0,o._)([(0,y.$)("esri.popup.LayerOptions")],N);const O=N;var S,R=i(49852);let C=S=class extends n.oY{constructor(t){super(t),this.showRelatedRecords=null,this.orderByFields=null}clone(){return new S({showRelatedRecords:this.showRelatedRecords,orderByFields:this.orderByFields?(0,l.o8)(this.orderByFields):null})}};(0,o._)([(0,d.MZ)({type:Boolean,json:{write:!0}})],C.prototype,"showRelatedRecords",void 0),(0,o._)([(0,d.MZ)({type:[R.A],json:{write:!0}})],C.prototype,"orderByFields",void 0),C=S=(0,o._)([(0,y.$)("esri.popup.RelatedRecordsInfo")],C);const T=C;var E,$=i(58280),B=i(69622),L=i(4902);let U=E=class extends((0,L.sA)(B.A)){constructor(t){super(t),this.active=!1,this.className=null,this.disabled=!1,this.icon=null,this.id=null,this.indicator=!1,this.title=null,this.type=null,this.visible=!0}clone(){return new E({active:this.active,className:this.className,disabled:this.disabled,icon:this.icon,id:this.id,indicator:this.indicator,title:this.title,visible:this.visible})}};(0,o._)([(0,d.MZ)()],U.prototype,"active",void 0),(0,o._)([(0,d.MZ)()],U.prototype,"className",void 0),(0,o._)([(0,d.MZ)()],U.prototype,"disabled",void 0),(0,o._)([(0,d.MZ)()],U.prototype,"icon",void 0),(0,o._)([(0,d.MZ)()],U.prototype,"id",void 0),(0,o._)([(0,d.MZ)()],U.prototype,"indicator",void 0),(0,o._)([(0,d.MZ)()],U.prototype,"title",void 0),(0,o._)([(0,d.MZ)()],U.prototype,"type",void 0),(0,o._)([(0,d.MZ)()],U.prototype,"visible",void 0),U=E=(0,o._)([(0,y.$)("esri.support.actions.ActionBase")],U);const J=U;var D;let k=D=class extends J{constructor(t){super(t),this.image=null,this.type="button"}clone(){return new D({active:this.active,className:this.className,disabled:this.disabled,icon:this.icon,id:this.id,indicator:this.indicator,title:this.title,visible:this.visible,image:this.image})}};(0,o._)([(0,d.MZ)()],k.prototype,"image",void 0),k=D=(0,o._)([(0,y.$)("esri.support.actions.ActionButton")],k);const P=k;var Y;let z=Y=class extends J{constructor(t){super(t),this.image=null,this.type="toggle",this.value=!1}clone(){return new Y({active:this.active,className:this.className,disabled:this.disabled,icon:this.icon,id:this.id,indicator:this.indicator,title:this.title,visible:this.visible,image:this.image,value:this.value})}};(0,o._)([(0,d.MZ)()],z.prototype,"image",void 0),(0,o._)([(0,d.MZ)()],z.prototype,"value",void 0),z=Y=(0,o._)([(0,y.$)("esri.support.actions.ActionToggle")],z);const K=z,V="relationships/",W="expression/",q=r.A.ofType({key:"type",defaultKeyValue:"button",base:J,typeMap:{button:P,toggle:K}}),G={base:_.A,key:"type",typeMap:{media:x.A,custom:w.A,text:b.A,attachments:m.A,fields:A.A,expression:M.A,relationship:I.A}},H=new Set(["attachments","fields","media","text","expression","relationship"]);let X=class extends((0,s.O)(n.oY)){constructor(){super(...arguments),this.actions=null,this.content="",this.expressionInfos=null,this.fieldInfos=null,this.layerOptions=null,this.lastEditInfoEnabled=!0,this.outFields=null,this.overwriteActions=!1,this.returnGeometry=!1,this.title=""}castContent(t){return Array.isArray(t)?t.map((t=>(0,f.aq)(G,t))):"string"==typeof t||"function"==typeof t||t instanceof HTMLElement||(0,a.$X)(t)?t:(p.A.getLogger(this).error("content error","unsupported content value",{value:t}),null)}readContent(t,e){const{popupElements:i}=e;return Array.isArray(i)&&i.length>0?this._readPopupInfoElements(e.description,e.mediaInfos,i):this._readPopupInfo(e)}writeContent(t,e,i,o){"string"!=typeof t?Array.isArray(t)&&(e.popupElements=t.filter((t=>H.has(t.type))).map((t=>t?.toJSON(o))),e.popupElements.forEach((t=>{"attachments"===t.type?this._writeAttachmentContent(e):"media"===t.type?this._writeMediaContent(t,e):"text"===t.type?this._writeTextContent(t,e):"relationship"===t.type&&this._writeRelationshipContent(t,e)}))):e.description=t}writeFieldInfos(t,e,i,o){const{content:s}=this,r=Array.isArray(s)?s:null;if(t){const i=r?r.filter((t=>"fields"===t.type)):[],s=i.length&&i.every((t=>t.fieldInfos?.length));e.fieldInfos=t.filter(Boolean).map((t=>{const e=t.toJSON(o);return s&&(e.visible=!1),e}))}if(r)for(const t of r)"fields"===t.type&&this._writeFieldsContent(t,e)}writeLayerOptions(t,e,i,o){e[i]=!t||null===t.showNoDataRecords&&null===t.returnTopmostRaster?null:t.toJSON(o)}writeTitle(t,e){e.title=t||""}async collectRequiredFields(t,e){const i=this.expressionInfos||[];await this._collectExpressionInfoFields(t,e,[...i,...this._getContentExpressionInfos(this.content,i)]),(0,v._w)(t,e,[...this.outFields||[],...this._getActionsFields(this.actions),...this._getTitleFields(this.title),...this._getContentFields(this.content)])}async getRequiredFields(t){const e=new Set;return await this.collectRequiredFields(e,t),[...e].sort()}_writeFieldsContent(t,e){if(!Array.isArray(t.fieldInfos)||!t.fieldInfos.length)return;const i=(0,l.o8)(t.fieldInfos);Array.isArray(e.fieldInfos)?i.forEach((t=>{const i=e.fieldInfos.find((e=>e.fieldName.toLowerCase()===t.fieldName.toLowerCase()));i?i.visible=!0:e.fieldInfos.push(t)})):e.fieldInfos=i}_writeAttachmentContent(t){t.showAttachments||(t.showAttachments=!0)}_writeRelationshipContent(t,e){const i=t.orderByFields?.map((e=>this._toFieldOrderJSON(e,t.relationshipId)))||[],o=[...e.relatedRecordsInfo?.orderByFields||[],...i];e.relatedRecordsInfo={showRelatedRecords:!0,...o?.length&&{orderByFields:o}}}_writeTextContent(t,e){!e.description&&t.text&&(e.description=t.text)}_writeMediaContent(t,e){if(!Array.isArray(t.mediaInfos)||!t.mediaInfos.length)return;const i=(0,l.o8)(t.mediaInfos);Array.isArray(e.mediaInfos)?e.mediaInfos=[...e.mediaInfos,...i]:e.mediaInfos=i}_readPopupInfoElements(t,e,i){const o={description:!1,mediaInfos:!1};return i.map((i=>"media"===i.type?(i.mediaInfos||!e||o.mediaInfos||(i.mediaInfos=e,o.mediaInfos=!0),x.A.fromJSON(i)):"text"===i.type?(i.text||!t||o.description||(i.text=t,o.description=!0),b.A.fromJSON(i)):"attachments"===i.type?m.A.fromJSON(i):"fields"===i.type?A.A.fromJSON(i):"expression"===i.type?M.A.fromJSON(i):"relationship"===i.type?I.A.fromJSON(i):void 0)).filter(Boolean)}_toRelationshipContent(t){const{field:e,order:i}=t;if(!e?.startsWith(V))return null;const o=e.replace(V,"").split("/");if(2!==o.length)return null;const s=parseInt(o[0],10),r=o[1];return"number"==typeof s&&r?I.A.fromJSON({relationshipId:s,orderByFields:[{field:r,order:i}]}):null}_toFieldOrderJSON(t,e){const{order:i,field:o}=t;return{field:`${V}${e}/${o}`,order:i}}_readPopupInfo({description:t,mediaInfos:e,showAttachments:i,relatedRecordsInfo:o={showRelatedRecords:!1}}){const s=[];t?s.push(new b.A({text:t})):s.push(new A.A),Array.isArray(e)&&e.length&&s.push(x.A.fromJSON({mediaInfos:e})),i&&s.push(m.A.fromJSON({displayType:"auto"}));const{showRelatedRecords:r,orderByFields:n}=o;return r&&n?.length&&n.forEach((t=>{const e=this._toRelationshipContent(t);e&&s.push(e)})),s.length?s:t}_getContentElementFields(t){const e=t?.type;if("attachments"===e)return[...this._extractFieldNames(t.title),...this._extractFieldNames(t.description)];if("custom"===e)return t.outFields||[];if("fields"===e)return[...this._extractFieldNames(t.title),...this._extractFieldNames(t.description),...this._getFieldInfoFields(t.fieldInfos??this.fieldInfos)];if("media"===e){const e=t.mediaInfos||[];return[...this._extractFieldNames(t.title),...this._extractFieldNames(t.description),...e.reduce(((t,e)=>[...t,...this._getMediaInfoFields(e)]),[])]}return"text"===e?this._extractFieldNames(t.text):[]}_getMediaInfoFields(t){const{caption:e,title:i,value:o}=t,s=o||{},{fields:r,normalizeField:n,tooltipField:l,sourceURL:p,linkURL:a}=s,d=[...this._extractFieldNames(i),...this._extractFieldNames(e),...this._extractFieldNames(p),...this._extractFieldNames(a),...r??[]];return n&&d.push(n),l&&d.push(l),d}_getContentExpressionInfos(t,e){return Array.isArray(t)?t.reduce(((t,e)=>[...t,..."expression"===e.type&&e.expressionInfo?[e.expressionInfo]:[]]),e):[]}_getContentFields(t){return"string"==typeof t?this._extractFieldNames(t):Array.isArray(t)?t.reduce(((t,e)=>[...t,...this._getContentElementFields(e)]),[]):[]}async _collectExpressionInfoFields(t,e,i){i&&await Promise.all(i.map((i=>(0,v.Dx)(t,e,i.expression))))}_getFieldInfoFields(t){return t?t.filter((t=>void 0===t.visible||!!t.visible)).map((t=>t.fieldName)).filter((t=>!t.startsWith(V)&&!t.startsWith(W))):[]}_getActionsFields(t){return t?t.toArray().reduce(((t,e)=>[...t,...this._getActionFields(e)]),[]):[]}_getActionFields(t){const{className:e,title:i,type:o}=t,s="button"===o||"toggle"===o?t.image:"";return[...this._extractFieldNames(i),...this._extractFieldNames(e),...this._extractFieldNames(s)]}_getTitleFields(t){return"string"==typeof t?this._extractFieldNames(t):[]}_extractFieldNames(t){return(0,v.nw)(t).filter((t=>!(0===t.indexOf(V)||0===t.indexOf(W))))}};(0,o._)([(0,d.MZ)({type:q})],X.prototype,"actions",void 0),(0,o._)([(0,d.MZ)()],X.prototype,"content",void 0),(0,o._)([(0,c.w)("content")],X.prototype,"castContent",null),(0,o._)([(0,u.w)("content",["description","fieldInfos","popupElements","mediaInfos","showAttachments","relatedRecordsInfo"])],X.prototype,"readContent",null),(0,o._)([(0,h.K)("content",{popupElements:{type:r.A.ofType(g)},showAttachments:{type:Boolean},mediaInfos:{type:r.A.ofType($.g)},description:{type:String},relatedRecordsInfo:{type:T}})],X.prototype,"writeContent",null),(0,o._)([(0,d.MZ)({type:[F.A],json:{write:!0}})],X.prototype,"expressionInfos",void 0),(0,o._)([(0,d.MZ)({type:[j.A]})],X.prototype,"fieldInfos",void 0),(0,o._)([(0,h.K)("fieldInfos")],X.prototype,"writeFieldInfos",null),(0,o._)([(0,d.MZ)({type:O})],X.prototype,"layerOptions",void 0),(0,o._)([(0,h.K)("layerOptions")],X.prototype,"writeLayerOptions",null),(0,o._)([(0,d.MZ)({type:Boolean,json:{read:{source:"showLastEditInfo"},write:{target:"showLastEditInfo"},default:!0}})],X.prototype,"lastEditInfoEnabled",void 0),(0,o._)([(0,d.MZ)()],X.prototype,"outFields",void 0),(0,o._)([(0,d.MZ)()],X.prototype,"overwriteActions",void 0),(0,o._)([(0,d.MZ)()],X.prototype,"returnGeometry",void 0),(0,o._)([(0,d.MZ)({json:{type:String}})],X.prototype,"title",void 0),(0,o._)([(0,h.K)("title")],X.prototype,"writeTitle",null),X=(0,o._)([(0,y.$)("esri.PopupTemplate")],X);const Q=X},4902:(t,e,i)=>{i.d(e,{PH:()=>l,sA:()=>n});var o=i(90237),s=i(40608);let r=0;const n=t=>{let e=class extends t{constructor(...t){super(...t),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+r++})}};return e=(0,o._)([(0,s.$)("esri.core.Identifiable")],e),e},l=t=>{let e=class extends t{constructor(...t){super(...t),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:r++})}};return e=(0,o._)([(0,s.$)("esri.core.Identifiable.NumericIdentifiable")],e),e};let p=class extends(n(class{})){};p=(0,o._)([(0,s.$)("esri.core.Identifiable")],p)},4146:(t,e,i)=>{i.d(e,{A:()=>w});var o=i(90237),s=(i(59456),i(78888)),r=i(49186),n=i(65529),l=i(4902),p=i(92474),a=i(53966),d=i(74887),c=i(84952),u=i(10107),y=(i(44208),i(87811),i(40608)),h=i(92602),f=i(5443),v=i(16930);let m=0,_=class extends(n.A.EventedMixin((0,l.sA)(p.A))){constructor(){super(...arguments),this.attributionDataUrl=null,this.fullExtent=new f.A(-180,-90,180,90,v.A.WGS84),this.id=Date.now().toString(16)+"-layer-"+m++,this.legendEnabled=!0,this.listMode="show",this.opacity=1,this.parent=null,this.persistenceEnabled=!1,this.popupEnabled=!0,this.attributionVisible=!0,this.spatialReference=v.A.WGS84,this.title=null,this.type=null,this.url=null,this.visible=!0}static async fromArcGISServerUrl(t){const e="string"==typeof t?{url:t}:t;return(await i.e(7982).then(i.bind(i,27982))).fromUrl(e)}static fromPortalItem(t){return async function(t){const e="portalItem"in t?t:{portalItem:t},{fromItem:o}=await i.e(5613).then(i.bind(i,45613));try{return await o(e)}catch(t){const i=e?.portalItem,o=i?.id||"unset",s=i?.portal?.url||h.A.portalUrl;throw a.A.getLogger("esri.layers.support.fromPortalItem").error("#fromPortalItem()","Failed to create layer from portal item (portal: '"+s+"', id: '"+o+"')",t),t}}(t)}initialize(){this.when().catch((t=>{(0,d.zf)(t)||a.A.getLogger(this).error("#load()",`Failed to load layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}')`,{error:t})}))}destroy(){const t=this.parent;if(t){const e=this;"layers"in t&&t.layers.includes(e)?t.layers.remove(e):"tables"in t&&t.tables.includes(e)?t.tables.remove(e):"baseLayers"in t&&t.baseLayers.includes(e)?t.baseLayers.remove(e):"referenceLayers"in t&&t.referenceLayers.includes(e)&&t.referenceLayers.remove(e),this._set("parent",null)}}get hasAttributionData(){return null!=this.attributionDataUrl}get parsedUrl(){return(0,c.An)(this.url)}async fetchAttributionData(){const t=this.attributionDataUrl;if(this.hasAttributionData&&t)return(await(0,s.A)(t,{query:{f:"json"},responseType:"json"})).data;throw new r.A("layer:no-attribution-data","Layer does not have attribution data")}};(0,o._)([(0,u.MZ)({type:String})],_.prototype,"attributionDataUrl",void 0),(0,o._)([(0,u.MZ)({type:f.A})],_.prototype,"fullExtent",void 0),(0,o._)([(0,u.MZ)({readOnly:!0})],_.prototype,"hasAttributionData",null),(0,o._)([(0,u.MZ)({type:String,clonable:!1})],_.prototype,"id",void 0),(0,o._)([(0,u.MZ)({type:Boolean,nonNullable:!0})],_.prototype,"legendEnabled",void 0),(0,o._)([(0,u.MZ)({type:["show","hide","hide-children"]})],_.prototype,"listMode",void 0),(0,o._)([(0,u.MZ)({type:Number,range:{min:0,max:1},nonNullable:!0})],_.prototype,"opacity",void 0),(0,o._)([(0,u.MZ)({clonable:!1})],_.prototype,"parent",void 0),(0,o._)([(0,u.MZ)({readOnly:!0})],_.prototype,"parsedUrl",null),(0,o._)([(0,u.MZ)({type:Boolean,readOnly:!0})],_.prototype,"persistenceEnabled",void 0),(0,o._)([(0,u.MZ)({type:Boolean})],_.prototype,"popupEnabled",void 0),(0,o._)([(0,u.MZ)({type:Boolean})],_.prototype,"attributionVisible",void 0),(0,o._)([(0,u.MZ)({type:v.A})],_.prototype,"spatialReference",void 0),(0,o._)([(0,u.MZ)({type:String})],_.prototype,"title",void 0),(0,o._)([(0,u.MZ)({readOnly:!0,json:{read:!1}})],_.prototype,"type",void 0),(0,o._)([(0,u.MZ)()],_.prototype,"url",void 0),(0,o._)([(0,u.MZ)({type:Boolean,nonNullable:!0})],_.prototype,"visible",void 0),_=(0,o._)([(0,y.$)("esri.layers.Layer")],_);const w=_},93705:(t,e,i)=>{i.d(e,{A:()=>a});var o,s=i(90237),r=i(25482),n=i(10107),l=(i(44208),i(53966),i(87811),i(40608));let p=o=class extends r.oY{constructor(t){super(t),this.name=null,this.title=null,this.expression=null,this.returnType=null}clone(){return new o({name:this.name,title:this.title,expression:this.expression,returnType:this.returnType})}};(0,s._)([(0,n.MZ)({type:String,json:{write:!0}})],p.prototype,"name",void 0),(0,s._)([(0,n.MZ)({type:String,json:{write:!0}})],p.prototype,"title",void 0),(0,s._)([(0,n.MZ)({type:String,json:{write:!0}})],p.prototype,"expression",void 0),(0,s._)([(0,n.MZ)({type:["string","number"],json:{write:!0}})],p.prototype,"returnType",void 0),p=o=(0,s._)([(0,l.$)("esri.popup.ExpressionInfo")],p);const a=p},41227:(t,e,i)=>{i.d(e,{A:()=>y});var o,s=i(90237),r=i(66552),n=i(25482),l=i(4718),p=i(10107),a=(i(44208),i(53966),i(93223)),d=i(40608),c=i(68780);let u=o=class extends n.oY{constructor(t){super(t),this.fieldName=null,this.format=null,this.isEditable=!0,this.label=null,this.stringFieldOption="text-box",this.statisticType=null,this.tooltip=null,this.visible=!0}clone(){return new o({fieldName:this.fieldName,format:this.format?(0,l.o8)(this.format):null,isEditable:this.isEditable,label:this.label,stringFieldOption:this.stringFieldOption,statisticType:this.statisticType,tooltip:this.tooltip,visible:this.visible})}};(0,s._)([(0,p.MZ)({type:String,json:{write:!0}})],u.prototype,"fieldName",void 0),(0,s._)([(0,p.MZ)({type:c.A,json:{write:!0}})],u.prototype,"format",void 0),(0,s._)([(0,p.MZ)({type:Boolean,json:{write:{alwaysWriteDefaults:!0},default:!0}})],u.prototype,"isEditable",void 0),(0,s._)([(0,p.MZ)({type:String,json:{write:!0}})],u.prototype,"label",void 0),(0,s._)([(0,a.e)(new r.J({richtext:"rich-text",textarea:"text-area",textbox:"text-box"}),{default:"text-box"})],u.prototype,"stringFieldOption",void 0),(0,s._)([(0,p.MZ)({type:["count","sum","min","max","avg","stddev","var"],json:{write:!0}})],u.prototype,"statisticType",void 0),(0,s._)([(0,p.MZ)({type:String,json:{write:!0}})],u.prototype,"tooltip",void 0),(0,s._)([(0,p.MZ)({type:Boolean,json:{write:!0}})],u.prototype,"visible",void 0),u=o=(0,s._)([(0,d.$)("esri.popup.FieldInfo")],u);const y=u},28122:(t,e,i)=>{i.d(e,{A:()=>a});var o,s=i(90237),r=i(10107),n=(i(44208),i(53966),i(87811),i(40608)),l=i(84424);let p=o=class extends l.A{constructor(t){super(t),this.description=null,this.displayType="auto",this.title=null,this.type="attachments"}clone(){return new o({description:this.description,displayType:this.displayType,title:this.title})}};(0,s._)([(0,r.MZ)({type:String,json:{write:!0}})],p.prototype,"description",void 0),(0,s._)([(0,r.MZ)({type:["auto","preview","list"],json:{write:!0}})],p.prototype,"displayType",void 0),(0,s._)([(0,r.MZ)({type:String,json:{write:!0}})],p.prototype,"title",void 0),(0,s._)([(0,r.MZ)({type:["attachments"],readOnly:!0,json:{read:!1,write:!0}})],p.prototype,"type",void 0),p=o=(0,s._)([(0,n.$)("esri.popup.content.AttachmentsContent")],p);const a=p},71468:(t,e,i)=>{i.d(e,{A:()=>d});var o,s=i(90237),r=i(10107),n=(i(44208),i(53966),i(87811),i(40608)),l=i(39740),p=i(38152);let a=o=class extends l.A{constructor(t){super(t),this.type="bar-chart"}clone(){return new o({altText:this.altText,title:this.title,caption:this.caption,value:this.value?this.value.clone():null})}};(0,s._)([(0,r.MZ)({type:["bar-chart"],readOnly:!0,json:{type:["barchart"],read:!1,write:p.U.write}})],a.prototype,"type",void 0),a=o=(0,s._)([(0,n.$)("esri.popup.content.BarChartMediaInfo")],a);const d=a},81663:(t,e,i)=>{i.d(e,{A:()=>d});var o,s=i(90237),r=i(10107),n=(i(44208),i(53966),i(87811),i(40608)),l=i(39740),p=i(38152);let a=o=class extends l.A{constructor(t){super(t),this.type="column-chart"}clone(){return new o({altText:this.altText,title:this.title,caption:this.caption,value:this.value?this.value.clone():null})}};(0,s._)([(0,r.MZ)({type:["column-chart"],readOnly:!0,json:{type:["columnchart"],read:!1,write:p.U.write}})],a.prototype,"type",void 0),a=o=(0,s._)([(0,n.$)("esri.popup.content.ColumnChartMediaInfo")],a);const d=a},84424:(t,e,i)=>{i.d(e,{A:()=>p});var o=i(90237),s=i(25482),r=i(10107),n=(i(44208),i(53966),i(87811),i(40608));let l=class extends s.oY{constructor(t){super(t),this.type=null}};(0,o._)([(0,r.MZ)({type:["attachments","custom","fields","media","text","expression","relationship"],readOnly:!0,json:{read:!1,write:!0}})],l.prototype,"type",void 0),l=(0,o._)([(0,n.$)("esri.popup.content.Content")],l);const p=l},80737:(t,e,i)=>{i.d(e,{A:()=>d});var o,s=i(90237),r=i(4718),n=i(10107),l=(i(44208),i(53966),i(40608)),p=i(84424);let a=o=class extends p.A{constructor(t){super(t),this.creator=null,this.destroyer=null,this.outFields=null,this.type="custom"}clone(){return new o({creator:this.creator,destroyer:this.destroyer,outFields:Array.isArray(this.outFields)?(0,r.o8)(this.outFields):null})}};(0,s._)([(0,n.MZ)()],a.prototype,"creator",void 0),(0,s._)([(0,n.MZ)()],a.prototype,"destroyer",void 0),(0,s._)([(0,n.MZ)()],a.prototype,"outFields",void 0),(0,s._)([(0,n.MZ)({type:["custom"],readOnly:!0})],a.prototype,"type",void 0),a=o=(0,s._)([(0,l.$)("esri.popup.content.CustomContent")],a);const d=a},96808:(t,e,i)=>{i.d(e,{A:()=>y});var o,s=i(90237),r=i(10107),n=(i(44208),i(53966),i(87811),i(40608)),l=i(25482);let p=o=class extends l.oY{constructor(t){super(t),this.title=null,this.expression=null,this.returnType="dictionary"}clone(){return new o({title:this.title,expression:this.expression})}};(0,s._)([(0,r.MZ)({type:String,json:{write:!0}})],p.prototype,"title",void 0),(0,s._)([(0,r.MZ)({type:String,json:{write:!0}})],p.prototype,"expression",void 0),(0,s._)([(0,r.MZ)({type:["dictionary"],readOnly:!0,json:{read:!1,write:!0}})],p.prototype,"returnType",void 0),p=o=(0,s._)([(0,n.$)("esri.popup.ElementExpressionInfo")],p);const a=p;var d,c=i(84424);let u=d=class extends c.A{constructor(t){super(t),this.expressionInfo=null,this.type="expression"}clone(){return new d({expressionInfo:this.expressionInfo?.clone()})}};(0,s._)([(0,r.MZ)({type:a,json:{write:!0}})],u.prototype,"expressionInfo",void 0),(0,s._)([(0,r.MZ)({type:["expression"],readOnly:!0,json:{read:!1,write:!0}})],u.prototype,"type",void 0),u=d=(0,s._)([(0,n.$)("esri.popup.content.ExpressionContent")],u);const y=u},66159:(t,e,i)=>{i.d(e,{A:()=>u});var o,s=i(90237),r=i(4718),n=i(10107),l=(i(44208),i(53966),i(40608)),p=i(43937),a=i(41227),d=i(84424);let c=o=class extends d.A{constructor(t){super(t),this.attributes=null,this.description=null,this.fieldInfos=null,this.title=null,this.type="fields"}writeFieldInfos(t,e){e.fieldInfos=t&&t.map((t=>t.toJSON()))}clone(){return new o((0,r.o8)({attributes:this.attributes,description:this.description,fieldInfos:this.fieldInfos,title:this.title}))}};(0,s._)([(0,n.MZ)({type:Object,json:{write:!0}})],c.prototype,"attributes",void 0),(0,s._)([(0,n.MZ)({type:String,json:{write:!0}})],c.prototype,"description",void 0),(0,s._)([(0,n.MZ)({type:[a.A]})],c.prototype,"fieldInfos",void 0),(0,s._)([(0,p.K)("fieldInfos")],c.prototype,"writeFieldInfos",null),(0,s._)([(0,n.MZ)({type:String,json:{write:!0}})],c.prototype,"title",void 0),(0,s._)([(0,n.MZ)({type:["fields"],readOnly:!0,json:{read:!1,write:!0}})],c.prototype,"type",void 0),c=o=(0,s._)([(0,l.$)("esri.popup.content.FieldsContent")],c);const u=c},96922:(t,e,i)=>{i.d(e,{A:()=>y});var o,s=i(90237),r=i(10107),n=(i(44208),i(53966),i(87811),i(40608)),l=i(22756),p=i(25482);let a=o=class extends p.oY{constructor(t){super(t),this.linkURL=null,this.sourceURL=null}clone(){return new o({linkURL:this.linkURL,sourceURL:this.sourceURL})}};(0,s._)([(0,r.MZ)({type:String,json:{write:!0}})],a.prototype,"linkURL",void 0),(0,s._)([(0,r.MZ)({type:String,json:{write:!0}})],a.prototype,"sourceURL",void 0),a=o=(0,s._)([(0,n.$)("esri.popup.content.support.ImageMediaInfoValue")],a);const d=a;var c;let u=c=class extends l.A{constructor(t){super(t),this.refreshInterval=null,this.type="image",this.value=null}clone(){return new c({altText:this.altText,title:this.title,caption:this.caption,refreshInterval:this.refreshInterval,value:this.value?this.value.clone():null})}};(0,s._)([(0,r.MZ)({type:Number,json:{write:!0}})],u.prototype,"refreshInterval",void 0),(0,s._)([(0,r.MZ)({type:["image"],readOnly:!0,json:{read:!1,write:!0}})],u.prototype,"type",void 0),(0,s._)([(0,r.MZ)({type:d,json:{write:!0}})],u.prototype,"value",void 0),u=c=(0,s._)([(0,n.$)("esri.popup.content.ImageMediaInfo")],u);const y=u},92799:(t,e,i)=>{i.d(e,{A:()=>d});var o,s=i(90237),r=i(10107),n=(i(44208),i(53966),i(87811),i(40608)),l=i(39740),p=i(38152);let a=o=class extends l.A{constructor(t){super(t),this.type="line-chart"}clone(){return new o({altText:this.altText,title:this.title,caption:this.caption,value:this.value?this.value.clone():null})}};(0,s._)([(0,r.MZ)({type:["line-chart"],readOnly:!0,json:{type:["linechart"],read:!1,write:p.U.write}})],a.prototype,"type",void 0),a=o=(0,s._)([(0,n.$)("esri.popup.content.LineChartMediaInfo")],a);const d=a},67336:(t,e,i)=>{i.d(e,{A:()=>_});var o,s=i(90237),r=i(4718),n=i(10107),l=(i(44208),i(53966),i(36005)),p=i(40608),a=i(43937),d=i(71468),c=i(81663),u=i(84424),y=i(96922),h=i(92799),f=i(53535),v=i(58280);let m=o=class extends u.A{constructor(t){super(t),this.activeMediaInfoIndex=null,this.attributes=null,this.description=null,this.mediaInfos=null,this.title=null,this.type="media"}readMediaInfos(t){return t&&t.map((t=>"image"===t.type?y.A.fromJSON(t):"barchart"===t.type?d.A.fromJSON(t):"columnchart"===t.type?c.A.fromJSON(t):"linechart"===t.type?h.A.fromJSON(t):"piechart"===t.type?f.A.fromJSON(t):void 0)).filter(Boolean)}writeMediaInfos(t,e){e.mediaInfos=t&&t.map((t=>t.toJSON()))}clone(){return new o((0,r.o8)({activeMediaInfoIndex:this.activeMediaInfoIndex,attributes:this.attributes,description:this.description,mediaInfos:this.mediaInfos,title:this.title}))}};(0,s._)([(0,n.MZ)()],m.prototype,"activeMediaInfoIndex",void 0),(0,s._)([(0,n.MZ)({type:Object,json:{write:!0}})],m.prototype,"attributes",void 0),(0,s._)([(0,n.MZ)({type:String,json:{write:!0}})],m.prototype,"description",void 0),(0,s._)([(0,n.MZ)({types:[v.g]})],m.prototype,"mediaInfos",void 0),(0,s._)([(0,l.w)("mediaInfos")],m.prototype,"readMediaInfos",null),(0,s._)([(0,a.K)("mediaInfos")],m.prototype,"writeMediaInfos",null),(0,s._)([(0,n.MZ)({type:String,json:{write:!0}})],m.prototype,"title",void 0),(0,s._)([(0,n.MZ)({type:["media"],readOnly:!0,json:{read:!1,write:!0}})],m.prototype,"type",void 0),m=o=(0,s._)([(0,p.$)("esri.popup.content.MediaContent")],m);const _=m},53535:(t,e,i)=>{i.d(e,{A:()=>d});var o,s=i(90237),r=i(10107),n=(i(44208),i(53966),i(87811),i(40608)),l=i(39740),p=i(38152);let a=o=class extends l.A{constructor(t){super(t),this.type="pie-chart"}clone(){return new o({altText:this.altText,title:this.title,caption:this.caption,value:this.value?this.value.clone():null})}};(0,s._)([(0,r.MZ)({type:["pie-chart"],readOnly:!0,json:{type:["piechart"],read:!1,write:p.U.write}})],a.prototype,"type",void 0),a=o=(0,s._)([(0,n.$)("esri.popup.content.PieChartMediaInfo")],a);const d=a},92094:(t,e,i)=>{i.d(e,{A:()=>c});var o=i(90237),s=i(69540),r=i(10107),n=i(56507),l=(i(87811),i(44208),i(40608)),p=i(84424),a=i(49852);let d=class extends((0,s.O)(p.A)){constructor(t){super(t),this.description=null,this.displayCount=null,this.displayType="list",this.orderByFields=null,this.relationshipId=null,this.title=null,this.type="relationship"}};(0,o._)([(0,r.MZ)({type:String,json:{write:!0}})],d.prototype,"description",void 0),(0,o._)([(0,r.MZ)({type:Number,json:{type:n.jz,write:!0}})],d.prototype,"displayCount",void 0),(0,o._)([(0,r.MZ)({type:["list"],json:{write:!0}})],d.prototype,"displayType",void 0),(0,o._)([(0,r.MZ)({type:[a.A],json:{write:!0}})],d.prototype,"orderByFields",void 0),(0,o._)([(0,r.MZ)({type:Number,json:{type:n.jz,write:!0}})],d.prototype,"relationshipId",void 0),(0,o._)([(0,r.MZ)({type:String,json:{write:!0}})],d.prototype,"title",void 0),(0,o._)([(0,r.MZ)({type:["relationship"],readOnly:!0,json:{read:!1,write:!0}})],d.prototype,"type",void 0),d=(0,o._)([(0,l.$)("esri.popup.content.RelationshipContent")],d);const c=d},23721:(t,e,i)=>{i.d(e,{A:()=>a});var o,s=i(90237),r=i(10107),n=(i(44208),i(53966),i(87811),i(40608)),l=i(84424);let p=o=class extends l.A{constructor(t){super(t),this.text=null,this.type="text"}clone(){return new o({text:this.text})}};(0,s._)([(0,r.MZ)({type:String,json:{write:!0}})],p.prototype,"text",void 0),(0,s._)([(0,r.MZ)({type:["text"],readOnly:!0,json:{read:!1,write:!0}})],p.prototype,"type",void 0),p=o=(0,s._)([(0,n.$)("esri.popup.content.TextContent")],p);const a=p},39740:(t,e,i)=>{i.d(e,{A:()=>w});var o,s=i(90237),r=i(10107),n=(i(44208),i(53966),i(87811),i(40608)),l=i(22756),p=i(68197),a=i(25482),d=i(4718),c=i(56507),u=i(69622);let y=o=class extends u.A{constructor(t){super(t),this.color=null,this.fieldName=null,this.tooltip=null,this.value=null}clone(){return new o({fieldName:this.fieldName,tooltip:this.tooltip,value:this.value})}};(0,s._)([(0,r.MZ)()],y.prototype,"color",void 0),(0,s._)([(0,r.MZ)()],y.prototype,"fieldName",void 0),(0,s._)([(0,r.MZ)()],y.prototype,"tooltip",void 0),(0,s._)([(0,r.MZ)()],y.prototype,"value",void 0),y=o=(0,s._)([(0,n.$)("esri.popup.content.support.ChartMediaInfoValueSeries")],y);const h=y;var f;let v=f=class extends a.oY{constructor(t){super(t),this.colors=null,this.fields=[],this.normalizeField=null,this.series=[],this.tooltipField=null}clone(){return new f({colors:(0,d.o8)(this.colors),fields:(0,d.o8)(this.fields),normalizeField:this.normalizeField,tooltipField:this.tooltipField})}};(0,s._)([(0,r.MZ)({type:[p.A],json:{type:[[c.jz]],write:!0}})],v.prototype,"colors",void 0),(0,s._)([(0,r.MZ)({type:[String],json:{write:!0}})],v.prototype,"fields",void 0),(0,s._)([(0,r.MZ)({type:String,json:{write:!0}})],v.prototype,"normalizeField",void 0),(0,s._)([(0,r.MZ)({type:[h],json:{read:!1}})],v.prototype,"series",void 0),(0,s._)([(0,r.MZ)({type:String,json:{write:!0}})],v.prototype,"tooltipField",void 0),v=f=(0,s._)([(0,n.$)("esri.popup.content.support.ChartMediaInfoValue")],v);const m=v;let _=class extends l.A{constructor(t){super(t),this.type=null,this.value=null}};(0,s._)([(0,r.MZ)({type:["bar-chart","column-chart","line-chart","pie-chart"],readOnly:!0,json:{read:!1,write:!0}})],_.prototype,"type",void 0),(0,s._)([(0,r.MZ)({type:m,json:{write:!0}})],_.prototype,"value",void 0),_=(0,s._)([(0,n.$)("esri.popup.content.mixins.ChartMediaInfo")],_);const w=_},22756:(t,e,i)=>{i.d(e,{A:()=>p});var o=i(90237),s=i(25482),r=i(10107),n=(i(44208),i(53966),i(87811),i(40608));let l=class extends s.oY{constructor(t){super(t),this.altText=null,this.caption="",this.title="",this.type=null}};(0,o._)([(0,r.MZ)({type:String,json:{write:!0}})],l.prototype,"altText",void 0),(0,o._)([(0,r.MZ)({type:String,json:{write:!0}})],l.prototype,"caption",void 0),(0,o._)([(0,r.MZ)({type:String,json:{write:!0}})],l.prototype,"title",void 0),(0,o._)([(0,r.MZ)({type:["image","bar-chart","column-chart","line-chart","pie-chart"],readOnly:!0,json:{read:!1,write:!0}})],l.prototype,"type",void 0),l=(0,o._)([(0,n.$)("esri.popup.content.mixins.MediaInfo")],l);const p=l},38152:(t,e,i)=>{i.d(e,{U:()=>o});const o=(0,i(66552).O)()({barchart:"bar-chart",columnchart:"column-chart",linechart:"line-chart",piechart:"pie-chart"})},58280:(t,e,i)=>{i.d(e,{g:()=>p});var o=i(71468),s=i(81663),r=i(96922),n=i(92799),l=i(53535);const p={base:i(22756).A,key:"type",defaultKeyValue:"image",typeMap:{"bar-chart":o.A,"column-chart":s.A,"line-chart":n.A,"pie-chart":l.A,image:r.A}}},68780:(t,e,i)=>{i.d(e,{A:()=>u});var o=i(90237),s=i(69540),r=i(25482),n=i(10107),l=i(56507),p=(i(87811),i(44208),i(93223)),a=i(40608),d=i(97770);let c=class extends((0,s.O)(r.oY)){constructor(t){super(t),this.dateFormat=null,this.digitSeparator=!1,this.places=null}};(0,o._)([(0,p.e)(d._v)],c.prototype,"dateFormat",void 0),(0,o._)([(0,n.MZ)({type:Boolean,json:{write:!0}})],c.prototype,"digitSeparator",void 0),(0,o._)([(0,n.MZ)({type:l.jz,json:{write:!0}})],c.prototype,"places",void 0),c=(0,o._)([(0,a.$)("esri.popup.support.FieldInfoFormat")],c);const u=c},49852:(t,e,i)=>{i.d(e,{A:()=>a});var o,s=i(90237),r=i(25482),n=i(10107),l=(i(44208),i(53966),i(87811),i(40608));let p=o=class extends r.oY{constructor(t){super(t),this.field=null,this.order=null}clone(){return new o({field:this.field,order:this.order})}};(0,s._)([(0,n.MZ)({type:String,json:{write:!0}})],p.prototype,"field",void 0),(0,s._)([(0,n.MZ)({type:["asc","desc"],json:{write:!0}})],p.prototype,"order",void 0),p=o=(0,s._)([(0,l.$)("esri.popup.support.RelatedRecordsInfoFieldOrder")],p);const a=p}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5516],{70668:(e,t,i)=>{i.d(t,{A:()=>y});var r=i(90237),o=i(69540),n=i(25482),s=i(88930),l=i(10107),p=(i(44208),i(53966),i(87811),i(93223)),a=i(40608),d=i(73133);let u=class extends((0,o.O)(n.oY)){constructor(e){super(e),this.unit="milliseconds",this.value=0}toMilliseconds(){return(0,s.t)(this.value,this.unit,"milliseconds")}};(0,r._)([(0,p.e)(d.j,{nonNullable:!0})],u.prototype,"unit",void 0),(0,r._)([(0,l.MZ)({type:Number,json:{write:!0},nonNullable:!0})],u.prototype,"value",void 0),u=(0,r._)([(0,a.$)("esri.TimeInterval")],u);const y=u},4206:(e,t,i)=>{i.d(t,{A:()=>Le});var r,o=i(90237),n=i(25482),s=i(4718),l=i(3483),p=i(10107),a=i(79901),d=i(36005),u=i(40608),y=i(43937);i(44208),i(53966),i(87811);let c=r=class extends n.oY{constructor(e){super(e),this.expression=null,this.name=null,this.returnType="boolean",this.title=null}clone(){return new r({name:this.name,title:this.title,expression:this.expression,returnType:this.returnType})}};(0,o._)([(0,p.MZ)({type:String,json:{write:!0}})],c.prototype,"expression",void 0),(0,o._)([(0,p.MZ)({type:String,json:{write:!0}})],c.prototype,"name",void 0),(0,o._)([(0,p.MZ)({type:["boolean","date","number","string"],json:{write:!0}})],c.prototype,"returnType",void 0),(0,o._)([(0,p.MZ)({type:String,json:{write:!0}})],c.prototype,"title",void 0),c=r=(0,o._)([(0,u.$)("esri.form.ExpressionInfo")],c);const h=c;let m=class extends n.oY{constructor(e){super(e),this.description=null,this.label=null,this.type=null,this.visibilityExpression=null}};(0,o._)([(0,p.MZ)({type:String,json:{write:!0}})],m.prototype,"description",void 0),(0,o._)([(0,p.MZ)({type:String,json:{write:!0}})],m.prototype,"label",void 0),(0,o._)([(0,p.MZ)()],m.prototype,"type",void 0),(0,o._)([(0,p.MZ)({type:String,json:{write:!0}})],m.prototype,"visibilityExpression",void 0),m=(0,o._)([(0,u.$)("esri.form.elements.Element")],m);const f=m;var v,w=i(56507);let M=v=class extends n.oY{constructor(e){super(e),this.type=null}clone(){return new v({type:this.type})}};(0,o._)([(0,p.MZ)({type:["attachment","audio","document","image","signature","video"],json:{write:!0}})],M.prototype,"type",void 0),M=v=(0,o._)([(0,u.$)("esri.form.elements.inputs.AttachmentInput")],M);const g=M;var _;let x=_=class extends f{constructor(e){super(e),this.attachmentKeyword=null,this.editableExpression=null,this.input=null,this.type="attachment"}clone(){return new _({attachmentKeyword:this.attachmentKeyword,description:this.description,editableExpression:this.editableExpression,input:this.input,label:this.label,visibilityExpression:this.visibilityExpression})}};(0,o._)([(0,p.MZ)({type:String,json:{write:!0}})],x.prototype,"attachmentKeyword",void 0),(0,o._)([(0,p.MZ)({type:String,json:{write:!0}})],x.prototype,"editableExpression",void 0),(0,o._)([(0,p.MZ)({type:g,json:{read:{source:"inputType"},write:{target:"inputType"}}})],x.prototype,"input",void 0),(0,o._)([(0,p.MZ)({type:["attachment"],json:{read:!1,write:!0}})],x.prototype,"type",void 0),x=_=(0,o._)([(0,u.$)("esri.form.elements.AttachmentElement")],x);const b=x;let Z=class extends n.oY{constructor(e){super(e),this.type=null}};(0,o._)([(0,p.MZ)()],Z.prototype,"type",void 0),Z=(0,o._)([(0,u.$)("esri.form.elements.inputs.Input")],Z);const j=Z;let S=class extends j{constructor(e){super(e),this.maxLength=null,this.minLength=0}};(0,o._)([(0,p.MZ)({type:Number,json:{write:!0}})],S.prototype,"maxLength",void 0),(0,o._)([(0,p.MZ)({type:Number,json:{write:!0}})],S.prototype,"minLength",void 0),S=(0,o._)([(0,u.$)("esri.form.elements.inputs.TextInput")],S);const I=S;var F;let E=F=class extends I{constructor(e){super(e),this.type="barcode-scanner"}clone(){return new F({maxLength:this.maxLength,minLength:this.minLength})}};(0,o._)([(0,p.MZ)({type:["barcode-scanner"],json:{read:!1,write:!0}})],E.prototype,"type",void 0),E=F=(0,o._)([(0,u.$)("esri.form.elements.inputs.BarcodeScannerInput")],E);const T=E;var O;let R=O=class extends j{constructor(e){super(e),this.noValueOptionLabel=null,this.showNoValueOption=!0,this.type="combo-box"}clone(){return new O({showNoValueOption:this.showNoValueOption,noValueOptionLabel:this.noValueOptionLabel})}};(0,o._)([(0,p.MZ)({type:String,json:{write:!0}})],R.prototype,"noValueOptionLabel",void 0),(0,o._)([(0,p.MZ)({type:Boolean,json:{write:!0}})],R.prototype,"showNoValueOption",void 0),(0,o._)([(0,p.MZ)({type:["combo-box"],json:{read:!1,write:!0}})],R.prototype,"type",void 0),R=O=(0,o._)([(0,u.$)("esri.form.elements.inputs.ComboBoxInput")],R);const k=R;var U;function A(e){return null!=e?e:null}function V(e){return null!=e?e:null}let D=U=class extends j{constructor(e){super(e),this.max=null,this.min=null,this.type="date-picker"}readMax(e,t){return A(t.max)}writeMax(e,t){t.max=V(e)}readMin(e,t){return A(t.min)}writeMin(e,t){t.min=V(e)}clone(){return new U({max:this.max,min:this.min})}};(0,o._)([(0,p.MZ)({type:String,json:{type:String,write:!0}})],D.prototype,"max",void 0),(0,o._)([(0,d.w)("max")],D.prototype,"readMax",null),(0,o._)([(0,y.K)("max")],D.prototype,"writeMax",null),(0,o._)([(0,p.MZ)({type:String,json:{type:String,write:!0}})],D.prototype,"min",void 0),(0,o._)([(0,d.w)("min")],D.prototype,"readMin",null),(0,o._)([(0,y.K)("min")],D.prototype,"writeMin",null),(0,o._)([(0,p.MZ)({type:["date-picker"],json:{read:!1,write:!0}})],D.prototype,"type",void 0),D=U=(0,o._)([(0,u.$)("esri.form.elements.inputs.DatePickerInput")],D);const N=D;var B;function C(e){return null!=e?e:null}function L(e){return null!=e?e:null}let $=B=class extends j{constructor(e){super(e),this.includeTimeOffset=!0,this.max=null,this.min=null,this.timeResolution="minutes",this.type="datetimeoffset-picker"}readMax(e,t){return C(t.max)}writeMax(e,t){t.max=L(e)}readMin(e,t){return C(t.min)}writeMin(e,t){t.min=L(e)}readTimeResolution(e,t){return C(t.timeResolution)}writeTimeResolution(e,t){t.timeResolution=L(e)}clone(){return new B({includeTimeOffset:this.includeTimeOffset,max:this.max,min:this.min,timeResolution:this.timeResolution})}};(0,o._)([(0,p.MZ)({type:Boolean,json:{write:!0}})],$.prototype,"includeTimeOffset",void 0),(0,o._)([(0,p.MZ)({type:String,json:{type:String,write:!0}})],$.prototype,"max",void 0),(0,o._)([(0,d.w)("max")],$.prototype,"readMax",null),(0,o._)([(0,y.K)("max")],$.prototype,"writeMax",null),(0,o._)([(0,p.MZ)({type:String,json:{type:String,write:!0}})],$.prototype,"min",void 0),(0,o._)([(0,d.w)("min")],$.prototype,"readMin",null),(0,o._)([(0,y.K)("min")],$.prototype,"writeMin",null),(0,o._)([(0,p.MZ)({type:String,json:{type:String,write:!0}})],$.prototype,"timeResolution",void 0),(0,o._)([(0,d.w)("timeResolution")],$.prototype,"readTimeResolution",null),(0,o._)([(0,y.K)("timeResolution")],$.prototype,"writeTimeResolution",null),(0,o._)([(0,p.MZ)({type:["datetimeoffset-picker"],json:{read:!1,write:!0}})],$.prototype,"type",void 0),$=B=(0,o._)([(0,u.$)("esri.form.elements.inputs.DateTimeOffsetPickerInput")],$);const H=$;var K;function G(e){return null!=e?new Date(e):null}function W(e){return e?e.getTime():null}let P=K=class extends j{constructor(e){super(e),this.includeTime=!1,this.max=null,this.min=null,this.type="datetime-picker"}readMax(e,t){return G(t.max)}writeMax(e,t){t.max=W(e)}readMin(e,t){return G(t.min)}writeMin(e,t){t.min=W(e)}clone(){return new K({includeTime:this.includeTime,max:this.max,min:this.min})}};(0,o._)([(0,p.MZ)({type:Boolean,json:{write:!0}})],P.prototype,"includeTime",void 0),(0,o._)([(0,p.MZ)({type:Date,json:{type:Number,write:!0}})],P.prototype,"max",void 0),(0,o._)([(0,d.w)("max")],P.prototype,"readMax",null),(0,o._)([(0,y.K)("max")],P.prototype,"writeMax",null),(0,o._)([(0,p.MZ)({type:Date,json:{type:Number,write:!0}})],P.prototype,"min",void 0),(0,o._)([(0,d.w)("min")],P.prototype,"readMin",null),(0,o._)([(0,y.K)("min")],P.prototype,"writeMin",null),(0,o._)([(0,p.MZ)({type:["datetime-picker"],json:{read:!1,write:!0}})],P.prototype,"type",void 0),P=K=(0,o._)([(0,u.$)("esri.form.elements.inputs.DateTimePickerInput")],P);const J=P;var Q;let Y=Q=class extends j{constructor(e){super(e),this.noValueOptionLabel=null,this.showNoValueOption=!0,this.type="radio-buttons"}clone(){return new Q({noValueOptionLabel:this.noValueOptionLabel,showNoValueOption:this.showNoValueOption})}};(0,o._)([(0,p.MZ)({type:String,json:{write:!0}})],Y.prototype,"noValueOptionLabel",void 0),(0,o._)([(0,p.MZ)({type:Boolean,json:{write:!0}})],Y.prototype,"showNoValueOption",void 0),(0,o._)([(0,p.MZ)({type:["radio-buttons"],json:{read:!1,write:!0}})],Y.prototype,"type",void 0),Y=Q=(0,o._)([(0,u.$)("esri.form.elements.inputs.RadioButtonsInput")],Y);const q=Y;var z;let X=z=class extends j{constructor(e){super(e),this.offValue=null,this.onValue=null,this.type="switch"}clone(){return new z({offValue:this.offValue,onValue:this.onValue})}};(0,o._)([(0,p.MZ)({type:[String,Number],json:{write:!0}})],X.prototype,"offValue",void 0),(0,o._)([(0,p.MZ)({type:[String,Number],json:{write:!0}})],X.prototype,"onValue",void 0),(0,o._)([(0,p.MZ)({type:["switch"],json:{read:!1,write:!0}})],X.prototype,"type",void 0),X=z=(0,o._)([(0,u.$)("esri.form.elements.inputs.SwitchInput")],X);const ee=X;var te;let ie=te=class extends I{constructor(e){super(e),this.type="text-area"}clone(){return new te({maxLength:this.maxLength,minLength:this.minLength})}};(0,o._)([(0,p.MZ)({type:["text-area"],json:{read:!1,write:!0}})],ie.prototype,"type",void 0),ie=te=(0,o._)([(0,u.$)("esri.form.elements.inputs.TextAreaInput")],ie);const re=ie;var oe;let ne=oe=class extends I{constructor(e){super(e),this.type="text-box"}clone(){return new oe({maxLength:this.maxLength,minLength:this.minLength})}};(0,o._)([(0,p.MZ)({type:["text-box"],json:{read:!1,write:!0}})],ne.prototype,"type",void 0),ne=oe=(0,o._)([(0,u.$)("esri.form.elements.inputs.TextBoxInput")],ne);const se=ne;var le;function pe(e){return null!=e?e:null}function ae(e){return null!=e?e:null}let de=le=class extends j{constructor(e){super(e),this.max=null,this.min=null,this.timeResolution="minutes",this.type="time-picker"}readMax(e,t){return pe(t.max)}writeMax(e,t){t.max=ae(e)}readMin(e,t){return pe(t.min)}writeMin(e,t){t.min=ae(e)}readTimeResolution(e,t){return pe(t.timeResolution)}writeTimeResolution(e,t){t.timeResolution=ae(e)}clone(){return new le({max:this.max,min:this.min,timeResolution:this.timeResolution})}};(0,o._)([(0,p.MZ)({type:String,json:{type:String,write:!0}})],de.prototype,"max",void 0),(0,o._)([(0,d.w)("max")],de.prototype,"readMax",null),(0,o._)([(0,y.K)("max")],de.prototype,"writeMax",null),(0,o._)([(0,p.MZ)({type:String,json:{type:String,write:!0}})],de.prototype,"min",void 0),(0,o._)([(0,d.w)("min")],de.prototype,"readMin",null),(0,o._)([(0,y.K)("min")],de.prototype,"writeMin",null),(0,o._)([(0,p.MZ)({type:String,json:{type:String,write:!0}})],de.prototype,"timeResolution",void 0),(0,o._)([(0,d.w)("timeResolution")],de.prototype,"readTimeResolution",null),(0,o._)([(0,y.K)("timeResolution")],de.prototype,"writeTimeResolution",null),(0,o._)([(0,p.MZ)({type:["time-picker"],json:{read:!1,write:!0}})],de.prototype,"type",void 0),de=le=(0,o._)([(0,u.$)("esri.form.elements.inputs.TimePickerInput")],de);const ue={base:j,key:"type",typeMap:{"barcode-scanner":T,"combo-box":k,"date-picker":N,"datetime-picker":J,"datetimeoffset-picker":H,"radio-buttons":q,switch:ee,"text-area":re,"text-box":se,"time-picker":de}};var ye,ce=i(72088);let he=ye=class extends f{constructor(e){super(e),this.domain=null,this.editableExpression=null,this.fieldName=null,this.hint=null,this.input=null,this.requiredExpression=null,this.type="field",this.valueExpression=null}get editable(){return this._get("editable")??!0}set editable(e){this._set("editable",e)}clone(){return new ye({description:this.description,domain:this.domain,editable:this.editable,editableExpression:this.editableExpression,fieldName:this.fieldName,hint:this.hint,input:this.input,label:this.label,requiredExpression:this.requiredExpression,valueExpression:this.valueExpression,visibilityExpression:this.visibilityExpression})}};(0,o._)([(0,p.MZ)({types:ce.gK,json:{read:{reader:ce.rS},write:!0}})],he.prototype,"domain",void 0),(0,o._)([(0,p.MZ)({type:Boolean,json:{write:!0}})],he.prototype,"editable",null),(0,o._)([(0,p.MZ)({type:String,json:{write:!0}})],he.prototype,"editableExpression",void 0),(0,o._)([(0,p.MZ)({type:String,json:{write:!0}})],he.prototype,"fieldName",void 0),(0,o._)([(0,p.MZ)({type:String,json:{write:!0}})],he.prototype,"hint",void 0),(0,o._)([(0,p.MZ)({types:ue,json:{read:{source:"inputType"},write:{target:"inputType"}}})],he.prototype,"input",void 0),(0,o._)([(0,p.MZ)({type:String,json:{write:!0}})],he.prototype,"requiredExpression",void 0),(0,o._)([(0,p.MZ)({type:String,json:{read:!1,write:!0}})],he.prototype,"type",void 0),(0,o._)([(0,p.MZ)({type:String,json:{write:!0}})],he.prototype,"valueExpression",void 0),he=ye=(0,o._)([(0,u.$)("esri.form.elements.FieldElement")],he);const me=he;var fe,ve=i(49852);let we=fe=class extends f{constructor(e){super(e),this.displayCount=null,this.displayType="list",this.editableExpression=null,this.orderByFields=null,this.relationshipId=null,this.type="relationship"}clone(){return new fe({description:this.description,displayCount:this.displayCount,displayType:this.displayType,editableExpression:this.editableExpression,label:this.label,orderByFields:(0,s.o8)(this.orderByFields),relationshipId:this.relationshipId,visibilityExpression:this.visibilityExpression})}};(0,o._)([(0,p.MZ)({type:Number,json:{write:!0}})],we.prototype,"displayCount",void 0),(0,o._)([(0,p.MZ)({type:["list"],json:{write:!0}})],we.prototype,"displayType",void 0),(0,o._)([(0,p.MZ)({type:String,json:{write:!0}})],we.prototype,"editableExpression",void 0),(0,o._)([(0,p.MZ)({type:[ve.A],json:{write:!0}})],we.prototype,"orderByFields",void 0),(0,o._)([(0,p.MZ)({type:Number,json:{write:!0}})],we.prototype,"relationshipId",void 0),(0,o._)([(0,p.MZ)({type:["relationship"],json:{read:!1,write:!0}})],we.prototype,"type",void 0),we=fe=(0,o._)([(0,u.$)("esri.form.elements.RelationshipElement")],we);const Me=we;var ge;let _e=ge=class extends f{constructor(e){super(e),this.text=null,this.textFormat="plain-text",this.type="text"}clone(){return new ge({text:this.text,textFormat:this.textFormat,visibilityExpression:this.visibilityExpression})}};(0,o._)([(0,p.MZ)({type:String,json:{write:!0}})],_e.prototype,"text",void 0),(0,o._)([(0,p.MZ)({type:String,json:{write:!0}})],_e.prototype,"textFormat",void 0),(0,o._)([(0,p.MZ)({type:["text"],readOnly:!0,json:{read:!1,write:!0}})],_e.prototype,"type",void 0),_e=ge=(0,o._)([(0,u.$)("esri.form.elements.TextElement")],_e);const xe=_e;function be(e){return{typesWithGroup:{base:f,key:"type",typeMap:{attachment:b,field:me,group:e,relationship:Me,text:xe}},typesWithoutGroup:{base:f,key:"type",typeMap:{attachment:b,field:me,relationship:Me,text:xe}}}}function Ze(e,t,i=!0){if(!e)return null;const r=i?t.typesWithGroup.typeMap:t.typesWithoutGroup.typeMap;return e.filter((e=>r[e.type])).map((e=>r[e.type].fromJSON(e)))}function je(e,t,i=!0){if(!e)return null;const r=i?t.typesWithGroup.typeMap:t.typesWithoutGroup.typeMap;return e.filter((e=>r[e.type])).map((e=>e.toJSON()))}function Se(e,t,i=!0){return e?e.map((e=>(0,w.aq)(i?t.typesWithGroup:t.typesWithoutGroup,e))):null}var Ie;let Fe=Ie=class extends f{constructor(e){super(e),this.elements=null,this.initialState="expanded",this.type="group"}castElements(e){return Se(e,Ee,!1)}readElements(e,t){return Ze(t.formElements,Ee,!1)}writeElements(e,t){t.formElements=je(e,Ee,!1)}clone(){return new Ie({description:this.description,elements:(0,s.o8)(this.elements),initialState:this.initialState,label:this.label,visibilityExpression:this.visibilityExpression})}};(0,o._)([(0,p.MZ)({json:{write:!0}})],Fe.prototype,"elements",void 0),(0,o._)([(0,a.w)("elements")],Fe.prototype,"castElements",null),(0,o._)([(0,d.w)("elements",["formElements"])],Fe.prototype,"readElements",null),(0,o._)([(0,y.K)("elements")],Fe.prototype,"writeElements",null),(0,o._)([(0,p.MZ)({type:["collapsed","expanded"],json:{write:!0}})],Fe.prototype,"initialState",void 0),(0,o._)([(0,p.MZ)({type:String,json:{read:!1,write:!0}})],Fe.prototype,"type",void 0),Fe=Ie=(0,o._)([(0,u.$)("esri.form.elements.GroupElement")],Fe);const Ee=be(Fe),Te=Fe,Oe=e=>"field"===e.type,Re=e=>"group"===e.type,ke=e=>"text"===e.type;var Ue,Ae=i(30524);const Ve=be(Te);let De=Ue=class extends n.oY{constructor(e){super(e),this.description=null,this.elements=null,this.expressionInfos=null,this.preserveFieldValuesWhenHidden=!1,this.title=null}castElements(e){return Se(e,Ve)}readElements(e,t){return Ze(t.formElements,Ve)}writeElements(e,t){t.formElements=je(e,Ve)}clone(){return new Ue({description:this.description,expressionInfos:(0,s.o8)(this.expressionInfos),elements:(0,s.o8)(this.elements),title:this.title,preserveFieldValuesWhenHidden:this.preserveFieldValuesWhenHidden})}async getFieldsUsed(e,t){const i=new Set,{description:r,elements:o,expressionInfos:n,title:s}=this;if(Ce(i,e,r),Ce(i,e,s),!o)return[];const l=function(e,t){if(!t||0===t.length)return[];const i=Be(e),r=[];for(const e of t)i.has(e.name)&&r.push(e.expression);return r}(o,n).map((t=>(0,Ae.Dx)(i,e,t)));await Promise.all(l);for(const r of o)Ne(i,{fieldsIndex:e,relationships:t},r);return Array.from(i).sort()}};function Ne(e,t,i){const{fieldsIndex:r}=t;if(!r||r.fields.length!==e.size)switch(Ce(e,r,i.label),Ce(e,r,i.description),i.type){case"field":(0,Ae.rq)(e,r,i.fieldName);break;case"group":i.elements.forEach((i=>Ne(e,t,i)));break;case"relationship":if(t.relationships){const o=t.relationships.find((e=>e.id===i.relationshipId));o&&(0,Ae.rq)(e,r,o.keyField)}(0,Ae._w)(e,r,i.orderByFields?.map((e=>e.field)));break;case"text":Ce(e,r,i.text)}}function Be(e){const t=new Set;for(const i of e)if((0,l.kb)(t,i.visibilityExpression),!ke(i))if(Re(i))(0,l.FB)(t,Be(i.elements));else if((0,l.kb)(t,i.editableExpression),Oe(i)){const{requiredExpression:e,valueExpression:r}=i;(0,l.FB)(t,[e,r])}return t}function Ce(e,t,i){(0,Ae._w)(e,t,(0,Ae.nw)(i))}(0,o._)([(0,p.MZ)({type:String,json:{write:!0}})],De.prototype,"description",void 0),(0,o._)([(0,p.MZ)({json:{write:!0}})],De.prototype,"elements",void 0),(0,o._)([(0,a.w)("elements")],De.prototype,"castElements",null),(0,o._)([(0,d.w)("elements",["formElements"])],De.prototype,"readElements",null),(0,o._)([(0,y.K)("elements")],De.prototype,"writeElements",null),(0,o._)([(0,p.MZ)({type:[h],json:{write:!0}})],De.prototype,"expressionInfos",void 0),(0,o._)([(0,p.MZ)({type:Boolean,json:{default:!1,write:!0}})],De.prototype,"preserveFieldValuesWhenHidden",void 0),(0,o._)([(0,p.MZ)({type:String,json:{write:!0}})],De.prototype,"title",void 0),De=Ue=(0,o._)([(0,u.$)("esri.form.FormTemplate")],De);const Le=De},54239:(e,t,i)=>{i.d(t,{A:()=>M});var r,o=i(90237),n=i(4576),s=i(66552),l=i(25482),p=i(83047),a=i(67076),d=i(10107),u=(i(44208),i(53966),i(36005)),y=i(40608),c=i(43937);const h=(0,s.O)()({orthometric:"gravity-related-height",gravity_related_height:"gravity-related-height",ellipsoidal:"ellipsoidal"}),m=h.jsonValues.slice();(0,n.Xy)(m,"orthometric");const f=(0,s.O)()({meter:"meters",foot:"feet","us-foot":"us-feet","clarke-foot":"clarke-feet","clarke-yard":"clarke-yards","clarke-link":"clarke-links","sears-yard":"sears-yards","sears-foot":"sears-feet","sears-chain":"sears-chains","benoit-1895-b-chain":"benoit-1895-b-chains","indian-yard":"indian-yards","indian-1937-yard":"indian-1937-yards","gold-coast-foot":"gold-coast-feet","sears-1922-truncated-chain":"sears-1922-truncated-chains","50-kilometers":"50-kilometers","150-kilometers":"150-kilometers"});let v=r=class extends l.oY{constructor(e){super(e),this.heightModel="gravity-related-height",this.heightUnit="meters",this.vertCRS=null}writeHeightModel(e,t,i){return h.write(e,t,i)}readHeightModel(e,t,i){return h.read(e)||(i?.messages&&i.messages.push(function(e,t){return new a.A("height-model:unsupported",`Height model of value '${e}' is not supported`,t)}(e,{context:i})),null)}readHeightUnit(e,t,i){return f.read(e)||(i?.messages&&i.messages.push(w(e,{context:i})),null)}readHeightUnitService(e,t,i){return(0,p.LA)(e)||f.read(e)||(i?.messages&&i.messages.push(w(e,{context:i})),null)}readVertCRS(e,t){return t.vertCRS||t.ellipsoid||t.geoid}clone(){return new r({heightModel:this.heightModel,heightUnit:this.heightUnit,vertCRS:this.vertCRS})}equals(e){return!!e&&(this===e||this.heightModel===e.heightModel&&this.heightUnit===e.heightUnit&&this.vertCRS===e.vertCRS)}static deriveUnitFromSR(e,t){const i=(0,p.k1)(t);return new r({heightModel:e.heightModel,heightUnit:i??void 0,vertCRS:e.vertCRS})}write(e,t){return t={origin:"web-scene",...t},super.write(e,t)}static fromJSON(e){if(!e)return null;const t=new r;return t.read(e,{origin:"web-scene"}),t}};function w(e,t){return new a.A("height-unit:unsupported",`Height unit of value '${e}' is not supported`,t)}(0,o._)([(0,d.MZ)({type:h.apiValues,constructOnly:!0,json:{origins:{"web-scene":{type:m,default:"ellipsoidal"}}}})],v.prototype,"heightModel",void 0),(0,o._)([(0,c.K)("web-scene","heightModel")],v.prototype,"writeHeightModel",null),(0,o._)([(0,u.w)(["web-scene","service"],"heightModel")],v.prototype,"readHeightModel",null),(0,o._)([(0,d.MZ)({type:f.apiValues,constructOnly:!0,json:{origins:{"web-scene":{type:f.jsonValues,write:f.write}}}})],v.prototype,"heightUnit",void 0),(0,o._)([(0,u.w)("web-scene","heightUnit")],v.prototype,"readHeightUnit",null),(0,o._)([(0,u.w)("service","heightUnit")],v.prototype,"readHeightUnitService",null),(0,o._)([(0,d.MZ)({type:String,constructOnly:!0,json:{origins:{"web-scene":{write:!0}}}})],v.prototype,"vertCRS",void 0),(0,o._)([(0,u.w)("service","vertCRS",["vertCRS","ellipsoid","geoid"])],v.prototype,"readVertCRS",null),v=r=(0,o._)([(0,y.$)("esri.geometry.HeightModelInfo")],v);const M=v},47685:(e,t,i)=>{i.d(t,{Mk:()=>y,Zk:()=>d,w6:()=>m});var r=i(90237),o=i(65529),n=i(4718),s=i(74887),l=(i(53966),i(44208),i(49186),i(40608)),p=i(20816);const a=new o.A.EventEmitter;function d(e,t,i=null,r=!1){const o=(0,s.Tw)();return r=null==t||r,a.emit("apply-edits",{serviceUrl:e,layerId:t,gdbVersion:i,mayReceiveServiceEdits:r,result:o.promise}),o}const u=Symbol();function y(e){return null!=e&&"object"==typeof e&&u in e}function c(e){return null!=e&&"object"==typeof e&&"gdbVersion"in e}function h(e,t,i){const r=new URL(e).host,o=p.Z3.get(r),n=e=>!e||e===o;return n(t)&&n(i)||t===i}const m=e=>{var t;let i=class extends e{constructor(...e){super(...e),this[t]=!0,this._applyEditsHandler=e=>{const{serviceUrl:t,layerId:i,gdbVersion:r,mayReceiveServiceEdits:o,result:s}=e,l=t===this.url,a=null!=i&&null!=this.layerId&&i===this.layerId,d=c(this),u=c(this)&&h(t,r,this.gdbVersion);if(!l||d&&!u||!a&&!o)return;const y=s.then((e=>{if(a&&(e.addedFeatures.length||e.updatedFeatures.length||e.deletedFeatures.length||e.addedAttachments.length||e.updatedAttachments.length||e.deletedAttachments.length))return this.emit("edits",(0,n.o8)(e)),e;const t=e.editedFeatures?.find((({layerId:e})=>e===this.layerId));if(t){const{adds:i,updates:r,deletes:o}=t.editedFeatures,s={edits:null,addedAttachments:[],deletedAttachments:[],updatedAttachments:[],addedFeatures:i?i.map((({attributes:e})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]}))):[],deletedFeatures:o?o.map((({attributes:e})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]}))):[],updatedFeatures:r?r.map((({current:{attributes:e}})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]}))):[],editedFeatures:(0,n.o8)(e.editedFeatures),exceededTransferLimit:!1,historicMoment:(0,n.o8)(e.historicMoment)};return this.emit("edits",s),s}return{edits:null,addedAttachments:[],deletedAttachments:[],updatedAttachments:[],addedFeatures:[],deletedFeatures:[],updatedFeatures:[],editedFeatures:(0,n.o8)(e.editedFeatures),exceededTransferLimit:!1,historicMoment:(0,n.o8)(e.historicMoment)}})).then((e=>("historicMoment"in this&&this.historicMoment!==e.historicMoment&&(0,p.w5)(t,r)&&(this.historicMoment=e.historicMoment),e)));this.emit("apply-edits",{result:y})},this._updateMomentHandler=e=>{const{serviceUrl:t,gdbVersion:i,moment:r}=e,o=t===this.url,n=c(this),s=c(this)&&h(t,i,this.gdbVersion),l=c(this)&&!h(t,this.gdbVersion,null);o&&n&&s&&l&&"historicMoment"in this&&this.historicMoment!==r&&(this.historicMoment=r)},this.when().then((()=>{this.addHandles(function(e){return a.on("apply-edits",new WeakRef(e))}(this._applyEditsHandler)),"historicMoment"in this&&this.addHandles(function(e){return a.on("update-moment",new WeakRef(e))}(this._updateMomentHandler))}),(()=>{}))}};return t=u,i=(0,r._)([(0,l.$)("esri.layers.mixins.EditBusLayer")],i),i}},72390:(e,t,i)=>{i.d(t,{j:()=>D});var r=i(90237),o=i(5503),n=i(4718),s=i(53966),l=i(10107),p=(i(44208),i(36005)),a=i(40608),d=i(43937),u=i(89317),y=i(5443),c=i(54239),h=i(16930),m=i(60694),f=i(10873),v=i(69540),w=i(25482),M=(i(87811),i(56400));let g=class extends((0,v.O)(w.oY)){constructor(e){super(e),this.creatorField=null,this.creationDateField=null,this.editorField=null,this.editDateField=null,this.realm=null,this.timeZone=null}};(0,r._)([(0,l.MZ)()],g.prototype,"creatorField",void 0),(0,r._)([(0,l.MZ)()],g.prototype,"creationDateField",void 0),(0,r._)([(0,l.MZ)()],g.prototype,"editorField",void 0),(0,r._)([(0,l.MZ)()],g.prototype,"editDateField",void 0),(0,r._)([(0,l.MZ)()],g.prototype,"realm",void 0),(0,r._)([(0,l.MZ)((0,M.P6)("dateFieldsTimeReference",!0))],g.prototype,"timeZone",void 0),g=(0,r._)([(0,a.$)("esri.layers.support.EditFieldsInfo")],g);const _=g;let x=class extends((0,v.O)(w.oY)){constructor(e){super(e)}};(0,r._)([(0,l.MZ)({constructOnly:!0,json:{write:!0}})],x.prototype,"name",void 0),(0,r._)([(0,l.MZ)({constructOnly:!0,json:{write:!0}})],x.prototype,"fields",void 0),(0,r._)([(0,l.MZ)({constructOnly:!0,json:{write:!0}})],x.prototype,"isAscending",void 0),(0,r._)([(0,l.MZ)({constructOnly:!0,json:{write:!0}})],x.prototype,"indexType",void 0),(0,r._)([(0,l.MZ)({constructOnly:!0,json:{write:!0}})],x.prototype,"isUnique",void 0),(0,r._)([(0,l.MZ)({constructOnly:!0,json:{write:!0}})],x.prototype,"description",void 0),x=(0,r._)([(0,a.$)("esri.layers.support.FeatureIndex")],x);var b=i(15426),Z=i(83047);let j=class extends((0,v.O)(w.oY)){constructor(e){super(e),this.shapeAreaField=null,this.shapeLengthField=null,this.units=null}};(0,r._)([(0,l.MZ)({type:String,json:{read:{source:"shapeAreaFieldName"}}})],j.prototype,"shapeAreaField",void 0),(0,r._)([(0,l.MZ)({type:String,json:{read:{source:"shapeLengthFieldName"}}})],j.prototype,"shapeLengthField",void 0),(0,r._)([(0,l.MZ)({type:String,json:{read:e=>Z.dk.read(e)||Z.Sk.read(e)}})],j.prototype,"units",void 0),j=(0,r._)([(0,a.$)("esri.layers.support.GeometryFieldsInfo")],j);const S=j;var I=i(37352),F=i(66552);const E=new F.J({esriRelCardinalityOneToOne:"one-to-one",esriRelCardinalityOneToMany:"one-to-many",esriRelCardinalityManyToMany:"many-to-many"}),T=new F.J({esriRelRoleOrigin:"origin",esriRelRoleDestination:"destination"});let O=class extends((0,v.O)(w.oY)){constructor(e){super(e),this.cardinality=null,this.composite=null,this.id=null,this.keyField=null,this.keyFieldInRelationshipTable=null,this.name=null,this.relatedTableId=null,this.relationshipTableId=null,this.role=null}};(0,r._)([(0,l.MZ)({json:{read:E.read,write:E.write}})],O.prototype,"cardinality",void 0),(0,r._)([(0,l.MZ)({json:{read:!0,write:!0}})],O.prototype,"composite",void 0),(0,r._)([(0,l.MZ)({json:{read:!0,write:!0}})],O.prototype,"id",void 0),(0,r._)([(0,l.MZ)({json:{read:!0,write:!0}})],O.prototype,"keyField",void 0),(0,r._)([(0,l.MZ)({json:{read:!0,write:!0}})],O.prototype,"keyFieldInRelationshipTable",void 0),(0,r._)([(0,l.MZ)({json:{read:!0,write:!0}})],O.prototype,"name",void 0),(0,r._)([(0,l.MZ)({json:{read:!0,write:!0}})],O.prototype,"relatedTableId",void 0),(0,r._)([(0,l.MZ)({json:{read:!0,write:!0}})],O.prototype,"relationshipTableId",void 0),(0,r._)([(0,l.MZ)({json:{read:T.read,write:T.write}})],O.prototype,"role",void 0),O=(0,r._)([(0,a.$)("esri.layers.support.Relationship")],O);const R=O;var k=i(22453),U=i(72088);let A=class extends((0,v.O)(w.oY)){constructor(e){super(e),this.code=null,this.defaultValues={},this.domains=null,this.name=null}readDomains(e){if(!e)return null;const t={};for(const i of Object.keys(e))t[i]=(0,U.rS)(e[i]);return t}writeDomains(e,t){if(!e)return;const i={};for(const t of Object.keys(e))e[t]&&(i[t]=e[t]?.toJSON());t.domains=i}};(0,r._)([(0,l.MZ)({type:Number,json:{write:!0}})],A.prototype,"code",void 0),(0,r._)([(0,l.MZ)({type:Object,json:{write:!0}})],A.prototype,"defaultValues",void 0),(0,r._)([(0,l.MZ)({json:{write:!0}})],A.prototype,"domains",void 0),(0,r._)([(0,p.w)("domains")],A.prototype,"readDomains",null),(0,r._)([(0,d.K)("domains")],A.prototype,"writeDomains",null),(0,r._)([(0,l.MZ)({type:String,json:{write:!0}})],A.prototype,"name",void 0),A=(0,r._)([(0,a.$)("esri.layers.support.Subtype")],A);const V=A,D=e=>{let t=class extends e{constructor(){super(...arguments),this.copyright=null,this.capabilities=null,this.dateFieldsTimeZone=null,this.datesInUnknownTimezone=!1,this.definitionExpression=null,this.displayField=null,this.editFieldsInfo=null,this.editingInfo=null,this.elevationInfo=null,this.floorInfo=null,this.fullExtent=null,this.gdbVersion=null,this.geometryFieldsInfo=null,this.geometryType=null,this.globalIdField=null,this.hasM=void 0,this.hasZ=void 0,this.heightModelInfo=null,this.historicMoment=null,this.indexes=new(o.A.ofType(x)),this.isTable=!1,this.layerId=void 0,this.maxScale=0,this.minScale=0,this.objectIdField=null,this.preferredTimeZone=null,this.relationships=null,this.returnM=void 0,this.returnZ=void 0,this.serviceDefinitionExpression=null,this.serviceItemId=null,this.sourceJSON=null,this.spatialReference=h.A.WGS84,this.subtypeField=null,this.subtypes=null,this.trackIdField=null,this.version=void 0}get authenticationTriggerEvent(){if(!this.url)return null;const{capabilities:e}=this;if(e){const{query:t,operations:i,editing:r}=e;if(!t.supportsQueryByOthers||!t.supportsQueryByAnonymous)return"load";if(i.supportsEditing&&!(r.supportsUpdateByOthers&&r.supportsUpdateByAnonymous&&r.supportsDeleteByOthers&&r.supportsDeleteByAnonymous))return"load"}if(this.userHasUpdateItemPrivileges){if((0,b.tG)(this))return"load";if(this.hasUpdateItemRestrictions)return e.operations.supportsQuery?"editing":"load"}if(this.userHasFullEditingPrivileges&&this.hasFullEditingRestrictions)return"editing";const t=this.editFieldsInfo;return(t?.creatorField||t?.editorField)&&e?.operations.supportsEditing?"editing":null}readCapabilitiesFromService(e,t){return(0,k.S)(t,this.url)}readEditingInfo(e,t){const{editingInfo:i}=t;return i?{lastEditDate:null!=i.lastEditDate?new Date(i.lastEditDate):null}:null}get effectiveCapabilities(){const e=this.capabilities;if(!e)return null;const t=(0,n.o8)(e),{operations:i,editing:r}=t;return this.sourceJSON?.isMultiServicesView?(this.userHasUpdateItemPrivileges&&(i.supportsQuery=!0),t):this.userHasUpdateItemPrivileges?(i.supportsAdd=i.supportsDelete=i.supportsEditing=i.supportsQuery=i.supportsUpdate=r.supportsDeleteByOthers=r.supportsGeometryUpdate=r.supportsUpdateByOthers=!0,t):(this.userHasFullEditingPrivileges&&i.supportsEditing&&(i.supportsAdd=i.supportsDelete=i.supportsUpdate=r.supportsGeometryUpdate=!0),t)}readGlobalIdFieldFromService(e,t){return(0,b.jD)(t)}get hasFullEditingRestrictions(){const e=this.capabilities;if(!e||this.sourceJSON?.isMultiServicesView)return!1;const{operations:t,editing:i}=e;return t.supportsEditing&&!(t.supportsAdd&&t.supportsDelete&&t.supportsUpdate&&i.supportsGeometryUpdate)}get hasUpdateItemRestrictions(){const e=this.capabilities;if(!e)return!1;const{operations:t,editing:i}=e;return this.sourceJSON?.isMultiServicesView?!t.supportsQuery:!(t.supportsAdd&&t.supportsDelete&&t.supportsEditing&&t.supportsQuery&&t.supportsUpdate&&i.supportsDeleteByOthers&&i.supportsGeometryUpdate&&i.supportsUpdateByOthers)}readIsTableFromService(e,t){return"Table"===t.type}readMaxScale(e,t){return t.effectiveMaxScale||e||0}readMinScale(e,t){return t.effectiveMinScale||e||0}readObjectIdFieldFromService(e,t){return(0,b.Zm)(t)}readServiceDefinitionExpression(e,t){return t.definitionQuery||t.definitionExpression}set url(e){const t=(0,m.HZ)({layer:this,url:e,nonStandardUrlAllowed:!0,logger:s.A.getLogger(this)});this._set("url",t.url),null!=t.layerId&&this._set("layerId",t.layerId)}writeUrl(e,t,i,r){(0,m.LS)(this,e,null,t,r)}readVersion(e,t){return(0,b.$4)(t)}};return(0,r._)([(0,l.MZ)({readOnly:!0})],t.prototype,"authenticationTriggerEvent",null),(0,r._)([(0,l.MZ)({type:String,json:{origins:{service:{read:{source:"copyrightText"}}}}})],t.prototype,"copyright",void 0),(0,r._)([(0,l.MZ)({readOnly:!0,json:{read:!1,origins:{service:{read:{source:["advancedQueryCapabilities","allowGeometryUpdates","allowUpdateWithoutMValues","archivingInfo","capabilities","datesInUnknownTimezone","hasAttachments","hasM","hasZ","maxRecordCount","maxRecordCountFactor","ownershipBasedAccessControlForFeatures","standardMaxRecordCount","supportedQueryFormats","supportsAdvancedQueries","supportsApplyEditsWithGlobalIds","supportsAttachmentsByUploadId","supportsAttachmentsResizing","supportsCalculate","supportsCoordinatesQuantization","supportsExceedsLimitStatistics","supportsFieldDescriptionProperty","supportsQuantizationEditMode","supportsRollbackOnFailureParameter","supportsStatistics","supportsTruncate","supportsValidateSql","tileMaxRecordCount","useStandardizedQueries"]}}}}})],t.prototype,"capabilities",void 0),(0,r._)([(0,p.w)("service","capabilities")],t.prototype,"readCapabilitiesFromService",null),(0,r._)([(0,l.MZ)((0,M.P6)("dateFieldsTimeReference"))],t.prototype,"dateFieldsTimeZone",void 0),(0,r._)([(0,l.MZ)({type:Boolean})],t.prototype,"datesInUnknownTimezone",void 0),(0,r._)([(0,l.MZ)({type:String,json:{origins:{service:{read:!1,write:!1}},name:"layerDefinition.definitionExpression",write:{enabled:!0,allowNull:!0}}})],t.prototype,"definitionExpression",void 0),(0,r._)([(0,l.MZ)({type:String,json:{origins:{service:{read:{source:"displayField"}}}}})],t.prototype,"displayField",void 0),(0,r._)([(0,l.MZ)({readOnly:!0,type:_})],t.prototype,"editFieldsInfo",void 0),(0,r._)([(0,l.MZ)({readOnly:!0})],t.prototype,"editingInfo",void 0),(0,r._)([(0,p.w)("editingInfo")],t.prototype,"readEditingInfo",null),(0,r._)([(0,l.MZ)({readOnly:!0})],t.prototype,"effectiveCapabilities",null),(0,r._)([(0,l.MZ)((()=>{const e=(0,n.o8)(f.Yj),t=e.json.origins;return t["web-map"]={read:!1,write:!1},t["portal-item"]={read:!1,write:!1},e})())],t.prototype,"elevationInfo",void 0),(0,r._)([(0,l.MZ)({type:I.A,json:{name:"layerDefinition.floorInfo",write:!0,origins:{"web-scene":{name:"layerDefinition.floorInfo",write:{enabled:!0,layerContainerTypes:u.K}}}}})],t.prototype,"floorInfo",void 0),(0,r._)([(0,l.MZ)({type:y.A,json:{origins:{service:{read:{source:"extent"}}}}})],t.prototype,"fullExtent",void 0),(0,r._)([(0,l.MZ)()],t.prototype,"gdbVersion",void 0),(0,r._)([(0,l.MZ)({readOnly:!0,type:S,json:{read:{source:"geometryProperties"}}})],t.prototype,"geometryFieldsInfo",void 0),(0,r._)([(0,l.MZ)({type:["point","polygon","polyline","multipoint","multipatch","mesh"],json:{origins:{service:{read:b.iX.read}}}})],t.prototype,"geometryType",void 0),(0,r._)([(0,l.MZ)({type:String})],t.prototype,"globalIdField",void 0),(0,r._)([(0,p.w)("service","globalIdField",["globalIdField","fields"])],t.prototype,"readGlobalIdFieldFromService",null),(0,r._)([(0,l.MZ)({readOnly:!0})],t.prototype,"hasFullEditingRestrictions",null),(0,r._)([(0,l.MZ)({type:Boolean,json:{origins:{service:{read:!0}}}})],t.prototype,"hasM",void 0),(0,r._)([(0,l.MZ)({readOnly:!0})],t.prototype,"hasUpdateItemRestrictions",null),(0,r._)([(0,l.MZ)({type:Boolean,json:{origins:{service:{read:!0}}}})],t.prototype,"hasZ",void 0),(0,r._)([(0,l.MZ)({readOnly:!0,type:c.A})],t.prototype,"heightModelInfo",void 0),(0,r._)([(0,l.MZ)({type:Date})],t.prototype,"historicMoment",void 0),(0,r._)([(0,l.MZ)({type:o.A.ofType(x),readOnly:!0})],t.prototype,"indexes",void 0),(0,r._)([(0,l.MZ)({readOnly:!0})],t.prototype,"isTable",void 0),(0,r._)([(0,p.w)("service","isTable",["type"])],t.prototype,"readIsTableFromService",null),(0,r._)([(0,l.MZ)({type:Number,json:{origins:{service:{read:{source:"id"}},"portal-item":{read:!1,write:{target:"id"}}},read:!1}})],t.prototype,"layerId",void 0),(0,r._)([(0,l.MZ)(f.hG)],t.prototype,"maxScale",void 0),(0,r._)([(0,p.w)("service","maxScale",["maxScale","effectiveMaxScale"])],t.prototype,"readMaxScale",null),(0,r._)([(0,l.MZ)(f.hn)],t.prototype,"minScale",void 0),(0,r._)([(0,p.w)("service","minScale",["minScale","effectiveMinScale"])],t.prototype,"readMinScale",null),(0,r._)([(0,l.MZ)({type:String})],t.prototype,"objectIdField",void 0),(0,r._)([(0,p.w)("service","objectIdField",["objectIdField","fields"])],t.prototype,"readObjectIdFieldFromService",null),(0,r._)([(0,l.MZ)((0,M.P6)("preferredTimeReference"))],t.prototype,"preferredTimeZone",void 0),(0,r._)([(0,l.MZ)({type:[R],readOnly:!0})],t.prototype,"relationships",void 0),(0,r._)([(0,l.MZ)({type:Boolean})],t.prototype,"returnM",void 0),(0,r._)([(0,l.MZ)({type:Boolean})],t.prototype,"returnZ",void 0),(0,r._)([(0,l.MZ)({readOnly:!0,json:{write:!1}})],t.prototype,"serverGens",void 0),(0,r._)([(0,l.MZ)({readOnly:!0})],t.prototype,"serviceDefinitionExpression",void 0),(0,r._)([(0,p.w)("service","serviceDefinitionExpression",["definitionQuery","definitionExpression"])],t.prototype,"readServiceDefinitionExpression",null),(0,r._)([(0,l.MZ)({type:String,readOnly:!0,json:{read:!1,origins:{service:{read:!0}}}})],t.prototype,"serviceItemId",void 0),(0,r._)([(0,l.MZ)()],t.prototype,"sourceJSON",void 0),(0,r._)([(0,l.MZ)({type:h.A,json:{origins:{service:{read:{source:"extent.spatialReference"}}}}})],t.prototype,"spatialReference",void 0),(0,r._)([(0,l.MZ)({type:String,readOnly:!0,json:{origins:{service:{read:!0}}}})],t.prototype,"subtypeField",void 0),(0,r._)([(0,l.MZ)({type:[V],readOnly:!0,json:{read:!1,origins:{service:{read:!0}}}})],t.prototype,"subtypes",void 0),(0,r._)([(0,l.MZ)({type:String,json:{read:{source:"timeInfo.trackIdField"}}})],t.prototype,"trackIdField",void 0),(0,r._)([(0,l.MZ)(f.OZ)],t.prototype,"url",null),(0,r._)([(0,d.K)("url")],t.prototype,"writeUrl",null),(0,r._)([(0,l.MZ)({json:{origins:{service:{read:!0}},read:!1}})],t.prototype,"version",void 0),(0,r._)([(0,p.w)("service","version",["currentVersion","capabilities","drawingInfo","hasAttachments","htmlPopupType","relationships","timeInfo","typeIdField","types"])],t.prototype,"readVersion",null),t=(0,r._)([(0,a.$)("esri.layers.mixins.FeatureLayerBase")],t),t}},82935:(e,t,i)=>{i.d(t,{e:()=>y});var r=i(90237),o=i(60945),n=i(70668),s=i(10107),l=(i(44208),i(53966),i(87811),i(36005)),p=i(40608),a=i(30524),d=i(96184),u=i(73133);const y=e=>{let t=class extends e{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const i=t.timeInfo.exportOptions;if(!i)return null;const r=i.timeOffset,o=u.j.fromJSON(i.timeOffsetUnits);return r&&o?new n.A({value:r,unit:o}):null}set timeInfo(e){(0,a.sv)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,r._)([(0,s.MZ)({type:o.A,json:{write:!1}})],t.prototype,"timeExtent",void 0),(0,r._)([(0,s.MZ)({type:n.A})],t.prototype,"timeOffset",void 0),(0,r._)([(0,l.w)("service","timeOffset",["timeInfo.exportOptions"])],t.prototype,"readOffset",null),(0,r._)([(0,s.MZ)({value:null,type:d.A,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],t.prototype,"timeInfo",null),(0,r._)([(0,s.MZ)({type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation"},origins:{"web-scene":{read:!1,write:!1}}}})],t.prototype,"useViewTime",void 0),t=(0,r._)([(0,p.$)("esri.layers.mixins.TemporalLayer")],t),t}},96184:(e,t,i)=>{i.d(t,{A:()=>m});var r=i(90237),o=i(60945),n=i(70668),s=i(69540),l=i(25482),p=i(10107),a=(i(44208),i(53966),i(87811),i(36005)),d=i(40608),u=i(43937),y=i(56400);function c(e,t){return n.A.fromJSON({value:e,unit:t})}let h=class extends((0,s.O)(l.oY)){constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeZone=null,this.trackIdField=null,this.useTime=!0}readFullTimeExtent(e,t){if(!t.timeExtent||!Array.isArray(t.timeExtent)||2!==t.timeExtent.length)return null;const i=new Date(t.timeExtent[0]),r=new Date(t.timeExtent[1]);return new o.A({start:i,end:r})}writeFullTimeExtent(e,t){null!=e?.start&&null!=e.end?t.timeExtent=[e.start.getTime(),e.end.getTime()]:t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?c(t.timeInterval,t.timeIntervalUnits):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?c(t.defaultTimeInterval,t.defaultTimeIntervalUnits):null}writeInterval(e,t){t.timeInterval=e?.toJSON().value??null,t.timeIntervalUnits=e?.toJSON().unit??null}};(0,r._)([(0,p.MZ)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],h.prototype,"cumulative",void 0),(0,r._)([(0,p.MZ)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],h.prototype,"endField",void 0),(0,r._)([(0,p.MZ)({type:o.A,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"fullTimeExtent",void 0),(0,r._)([(0,a.w)("fullTimeExtent",["timeExtent"])],h.prototype,"readFullTimeExtent",null),(0,r._)([(0,u.K)("fullTimeExtent")],h.prototype,"writeFullTimeExtent",null),(0,r._)([(0,p.MZ)({type:Boolean,json:{write:!0}})],h.prototype,"hasLiveData",void 0),(0,r._)([(0,p.MZ)({type:n.A,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"interval",void 0),(0,r._)([(0,a.w)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],h.prototype,"readInterval",null),(0,r._)([(0,u.K)("interval")],h.prototype,"writeInterval",null),(0,r._)([(0,p.MZ)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],h.prototype,"startField",void 0),(0,r._)([(0,p.MZ)((0,y.P6)("timeReference",!0))],h.prototype,"timeZone",void 0),(0,r._)([(0,p.MZ)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"trackIdField",void 0),(0,r._)([(0,p.MZ)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],h.prototype,"useTime",void 0),h=(0,r._)([(0,d.$)("esri.layers.support.TimeInfo")],h);const m=h},91908:(e,t,i)=>{i.d(t,{D:()=>n});var r=i(60694);const o=[];function n(e,t){if((0,r.Wo)(e.url??""))return!0;const{wkid:i}=t;for(const t of o){if((e.version??0)>=t[0])return!0;if("function"==typeof t[1]&&(t[1]=t[1]()),t[1].has(i))return!1}return!0}o.push([10.91,()=>{const e=new Set([9709,9716,9741,9761,9766]);for(let t=9712;t<=9713;t++)e.add(t);for(let t=9748;t<=9749;t++)e.add(t);for(let t=20904;t<=20932;t++)e.add(t);for(let t=21004;t<=21032;t++)e.add(t);for(let t=21207;t<=21264;t++)e.add(t);for(let t=21307;t<=21364;t++)e.add(t);for(let t=23301;t<=23333;t++)e.add(t);for(let t=102759;t<=102760;t++)e.add(t);for(let t=102934;t<=102955;t++)e.add(t);return e}]),o.push([10.9,()=>{const e=new Set([9300,9354,9364,9367,9373,9377,9387,9456,9473,9498,9678,9680,29874,103599,103872,104028]);for(let t=9356;t<=9360;t++)e.add(t);for(let t=9404;t<=9407;t++)e.add(t);for(let t=9476;t<=9482;t++)e.add(t);for(let t=9487;t<=9494;t++)e.add(t);for(let t=9697;t<=9699;t++)e.add(t);return e}]),o.push([10.81,()=>{const e=new Set([9265,9333,103598,103699]);for(let t=9248;t<=9254;t++)e.add(t);for(let t=9271;t<=9273;t++)e.add(t);for(let t=9284;t<=9285;t++)e.add(t);for(let t=21453;t<=21463;t++)e.add(t);return e}]),o.push([10.8,()=>{const e=new Set([8088,8395,8428,8433,8531,8687,8692,8694,8699,8900,9003,9006,9009,9012,9017,9191]);for(let t=8035;t<=8036;t++)e.add(t);for(let t=8455;t<=8456;t++)e.add(t);for(let t=8518;t<=8529;t++)e.add(t);for(let t=8533;t<=8536;t++)e.add(t);for(let t=8538;t<=8540;t++)e.add(t);for(let t=8677;t<=8679;t++)e.add(t);for(let t=8902;t<=8903;t++)e.add(t);for(let t=8907;t<=8910;t++)e.add(t);for(let t=8949;t<=8951;t++)e.add(t);for(let t=8972;t<=8987;t++)e.add(t);for(let t=9039;t<=9040;t++)e.add(t);for(let t=9068;t<=9069;t++)e.add(t);for(let t=9140;t<=9141;t++)e.add(t);for(let t=9148;t<=9150;t++)e.add(t);for(let t=9153;t<=9159;t++)e.add(t);for(let t=9205;t<=9218;t++)e.add(t);for(let t=9221;t<=9222;t++)e.add(t);for(let t=54098;t<=54101;t++)e.add(t);return e}]),o.push([10.71,()=>{const e=new Set([6316]);for(let t=8351;t<=8353;t++)e.add(t);for(let t=9294;t<=9297;t++)e.add(t);for(let t=22619;t<=22621;t++)e.add(t);for(let t=103586;t<=103594;t++)e.add(t);return e}]),o.push([10.7,()=>{const e=new Set([8387,8391,8427,8545,8682,8685,8818,31370,104022,104024,104975]);for(let t=8065;t<=8068;t++)e.add(t);for(let t=8082;t<=8083;t++)e.add(t);for(let t=8379;t<=8385;t++)e.add(t);for(let t=8836;t<=8840;t++)e.add(t);for(let t=8857;t<=8860;t++)e.add(t);for(let t=53035;t<=53037;t++)e.add(t);for(let t=54090;t<=54091;t++)e.add(t);for(let t=102498;t<=102499;t++)e.add(t);return e}]),o.push([10.61,()=>new Set([102497])]),o.push([10.6,()=>{const e=new Set([7803,7805,7887,8086,8232,8237,8240,8246,8249,8252,8255,9019,9391]);for(let t=7755;t<=7787;t++)e.add(t);for(let t=7791;t<=7795;t++)e.add(t);for(let t=7799;t<=7801;t++)e.add(t);for(let t=7825;t<=7831;t++)e.add(t);for(let t=7877;t<=7878;t++)e.add(t);for(let t=7882;t<=7883;t++)e.add(t);for(let t=7991;t<=7992;t++)e.add(t);for(let t=8042;t<=8043;t++)e.add(t);for(let t=8058;t<=8059;t++)e.add(t);for(let t=8311;t<=8348;t++)e.add(t);for(let t=9060;t<=9067;t++)e.add(t);for(let t=102562;t<=102568;t++)e.add(t);for(let t=102799;t<=102900;t++)e.add(t);return e}])},73133:(e,t,i)=>{i.d(t,{j:()=>r});const r=(0,i(66552).O)()({esriTimeUnitsMilliseconds:"milliseconds",esriTimeUnitsSeconds:"seconds",esriTimeUnitsMinutes:"minutes",esriTimeUnitsHours:"hours",esriTimeUnitsDays:"days",esriTimeUnitsWeeks:"weeks",esriTimeUnitsMonths:"months",esriTimeUnitsYears:"years",esriTimeUnitsDecades:"decades",esriTimeUnitsCenturies:"centuries",esriTimeUnitsUnknown:void 0})},20816:(e,t,i)=>{i.d(t,{TA:()=>o,We:()=>l,Z3:()=>n,ZJ:()=>p,w5:()=>a});var r=i(78888);const o=(0,i(13069).vD)(),n=new Map,s=new Map;async function l(e,t,i){if(!e||!i)return!1;if(!t)return!0;const o=new URL(e).host;let s=n.get(o);if(!s){const t=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,"");s=(await(0,r.A)(t,{responseType:"json",query:{f:"json"}})).data.defaultVersionName}return s===t}async function p(e,t,r=!1){if(!e||!t)return!0;const n=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,""),l=s.get(n)?.entries();if(l)for(const[e,s]of l)if(s.name===t){const t=!s.stack?.hasForwardEdits();if(!t&&r){const[{deleteForwardEdits:t},{default:r}]=await Promise.all([i.e(2186).then(i.bind(i,32186)),i.e(2558).then(i.bind(i,32558))]);return t(n,e,new r({sessionId:o,moment:s.moment}))}return t}return!0}function a(e,t){if(!e)return!1;const i=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,""),r=s.get(i)?.entries();if(r)for(const[e,i]of r)if(i.name===t)return"edit"===i.lockType;return!1}new Map}}]);