@arcgis/core 5.2.0 → 5.2.2

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 (164) hide show
  1. package/assets/esri/core/workers/RemoteClient.js +1 -1
  2. package/assets/esri/core/workers/chunks/{67e533748435253aaba6.js → 0284f608d25c654fcc11.js} +1 -1
  3. package/assets/esri/core/workers/chunks/{2d9a1f23ec6ce90723ac.js → 0d99bfb75dcb9fa29080.js} +1 -1
  4. package/assets/esri/core/workers/chunks/0fa29352f2ecf0c515e8.js +1 -0
  5. package/assets/esri/core/workers/chunks/10ad7b35b6800d40444e.js +1 -0
  6. package/assets/esri/core/workers/chunks/1132e28aaa5825b10b6e.js +1 -0
  7. package/assets/esri/core/workers/chunks/{10878932826ddb60fac4.js → 1fcc998421c7c16de2ca.js} +1 -1
  8. package/assets/esri/core/workers/chunks/21e1d423ee33f916547e.js +1 -0
  9. package/assets/esri/core/workers/chunks/251f706d226b1d47ba99.js +1 -0
  10. package/assets/esri/core/workers/chunks/{ba38231193919e093917.js → 2529f12fc16e98c014ca.js} +1 -1
  11. package/assets/esri/core/workers/chunks/2b4dd42920d37b1ff0a9.js +2 -0
  12. package/assets/esri/core/workers/chunks/2b804b5d7ce10f0f0cf0.js +1 -0
  13. package/assets/esri/core/workers/chunks/3537fe95b83a13b156cc.js +1 -0
  14. package/assets/esri/core/workers/chunks/36f31416132de434ec00.js +1 -0
  15. package/assets/esri/core/workers/chunks/3e29ab5ec136e669b633.js +1 -0
  16. package/assets/esri/core/workers/chunks/{36c780a9527c75b36725.js → 40d7e54529d13fdd2bf1.js} +1 -1
  17. package/assets/esri/core/workers/chunks/{2cb209bc51a19487692d.js → 43aef67452fa6ff8d8f9.js} +2 -2
  18. package/assets/esri/core/workers/chunks/449a2dee17b54946f245.js +1 -0
  19. package/assets/esri/core/workers/chunks/{5d42f0898bf30ae940ea.js → 46071e59290bf06bb614.js} +1 -1
  20. package/assets/esri/core/workers/chunks/46d91cd99558304da0c7.js +1 -0
  21. package/assets/esri/core/workers/chunks/4cf72dcccf2be353a701.js +1 -0
  22. package/assets/esri/core/workers/chunks/{e3a742dc0c291b47ba56.js → 510c2eb78f5e12f77bbc.js} +1 -1
  23. package/assets/esri/core/workers/chunks/{98d1efb6f2439c6344cf.js → 5b2d1c8763a1716677c0.js} +1 -1
  24. package/assets/esri/core/workers/chunks/5bf7de2e2faa55e53629.js +1 -0
  25. package/assets/esri/core/workers/chunks/{042614bf65b7d63025cb.js → 5f49233d5b67a9ad71d7.js} +1 -1
  26. package/assets/esri/core/workers/chunks/604433b02a165d187953.js +1 -0
  27. package/assets/esri/core/workers/chunks/61d36730564c5ac5edab.js +1 -0
  28. package/assets/esri/core/workers/chunks/{094eb9677cdebfaa9e1b.js → 648d5cdfc3e92be3db55.js} +1 -1
  29. package/assets/esri/core/workers/chunks/{bc6fdd9faf8ed54be0cb.js → 6694e2b27fd6ddf44e21.js} +1 -1
  30. package/assets/esri/core/workers/chunks/70268d790c2f1cb83d43.js +1 -0
  31. package/assets/esri/core/workers/chunks/7b45ac83e279fe9516a5.js +1 -0
  32. package/assets/esri/core/workers/chunks/8102f0bf5707c3be3310.js +1 -0
  33. package/assets/esri/core/workers/chunks/{d56fdf5ce5ff53dc0e69.js → 84495695313b01832369.js} +1 -1
  34. package/assets/esri/core/workers/chunks/{31640b41e0ecdff892fa.js → 85b63811ae7bcb6f74b6.js} +2 -2
  35. package/assets/esri/core/workers/chunks/{c4bbe4707e90b7cd0379.js → 8ac4a043a4f185db271f.js} +1 -1
  36. package/assets/esri/core/workers/chunks/8d01dd92f5c897193ab5.js +1 -0
  37. package/assets/esri/core/workers/chunks/900c8569596609183f19.js +2 -0
  38. package/assets/esri/core/workers/chunks/{d1d6154b4af1c9cc497b.js → 934e1f2153e6fad6ed23.js} +1 -1
  39. package/assets/esri/core/workers/chunks/95c9c5677bbe7fd0420a.js +1 -0
  40. package/assets/esri/core/workers/chunks/{b70885deebc6106597ad.js → 983b85727e09c54bede0.js} +1 -1
  41. package/assets/esri/core/workers/chunks/{d20dcd4ce4b0111d924f.js → 9bbc8e5d42921a8050bb.js} +1 -1
  42. package/assets/esri/core/workers/chunks/a07070de96e143a329a4.js +1 -0
  43. package/assets/esri/core/workers/chunks/a17fb26d6ac4895e51a3.js +2 -0
  44. package/assets/esri/core/workers/chunks/{0d52e1b6d38f2670658c.js → a6f74bd1a9c87b9836ca.js} +1 -1
  45. package/assets/esri/core/workers/chunks/{a85cdafbaf1848bb924b.js → a846c94d49df8d4cd5be.js} +1 -1
  46. package/assets/esri/core/workers/chunks/aa4f12fcb9f4ed3dba18.js +1 -0
  47. package/assets/esri/core/workers/chunks/ac10c7d2c4829a150037.js +1 -0
  48. package/assets/esri/core/workers/chunks/{509a74e9334f31b931d4.js → b54ba2bd6b1b90dcc0cc.js} +1 -1
  49. package/assets/esri/core/workers/chunks/bde8f3b3ce5b1d3ee774.js +1 -0
  50. package/assets/esri/core/workers/chunks/c25ae83fd790f181bb42.js +1 -0
  51. package/assets/esri/core/workers/chunks/{dc51dcaa4e2f9a90f5bd.js → c2cbe0f5e8958cf18e58.js} +2 -2
  52. package/assets/esri/core/workers/chunks/c4c55d8a98ba3f51f63c.js +1 -0
  53. package/assets/esri/core/workers/chunks/c5bf19da62a3d31009fe.js +2 -0
  54. package/assets/esri/core/workers/chunks/{2226c20c38e20713bcb5.js.LICENSE.txt → c5bf19da62a3d31009fe.js.LICENSE.txt} +1 -1
  55. package/assets/esri/core/workers/chunks/{2a2a4650dd9b953d317c.js → c93343a91161c4e40c28.js} +1 -1
  56. package/assets/esri/core/workers/chunks/cb4c5544382eb8c4a87f.js +1 -0
  57. package/assets/esri/core/workers/chunks/{2d83ba260dd6bbe38206.js → d05665ddc8d31403aed3.js} +1 -1
  58. package/assets/esri/core/workers/chunks/d24dea0bdb17db07e2b3.js +1 -0
  59. package/assets/esri/core/workers/chunks/d3412518a7b518860fbb.js +1 -0
  60. package/assets/esri/core/workers/chunks/d4bc6d65dff5d0cc93ba.js +1 -0
  61. package/assets/esri/core/workers/chunks/{3048e74e6246324ce6fc.js → d5916500514a41a4758f.js} +1 -1
  62. package/assets/esri/core/workers/chunks/{aea44253c80493ef5755.js → e7b168ba31142c00f765.js} +1 -1
  63. package/assets/esri/core/workers/chunks/{a504a5e06cb89a620799.js → ec8b7476eac4718eb0ac.js} +1 -1
  64. package/assets/esri/core/workers/chunks/f497968055af459c5da4.js +1 -0
  65. package/assets/esri/core/workers/chunks/{d53cc574a21031436c45.js → f79494829a5b65b5b4c9.js} +1 -1
  66. package/assets/esri/core/workers/chunks/{26261b21d1edf476ea49.js → f7ec3b7f2eccd9c4c2e5.js} +1 -1
  67. package/assets/esri/core/workers/chunks/{20ee2f36f0fd0ae01e15.js → f88cbf9b1d1d7400c060.js} +1 -1
  68. package/assets/esri/core/workers/chunks/{bf4d913e523eae2fda28.js → fa7b189e9b2cc8d4a77f.js} +1 -1
  69. package/assets/esri/core/workers/chunks/fcb4707c2e95099b9f30.js +1 -0
  70. package/assets/esri/core/workers/chunks/{735c1dffc3439bdba3cc.js → fd172c96d2b36032a1d9.js} +1 -1
  71. package/config.js +1 -1
  72. package/core/workers.d.ts +1 -0
  73. package/kernel.js +1 -1
  74. package/layers/CSVLayer.js +1 -1
  75. package/layers/SceneLayer.js +1 -1
  76. package/layers/graphics/sources/CSVSource.js +1 -1
  77. package/layers/graphics/sources/GeoJSONSource.js +1 -1
  78. package/layers/graphics/sources/MemorySource.js +2 -2
  79. package/layers/graphics/sources/support/QueryTask.js +1 -1
  80. package/layers/graphics/sources/support/timeQueryUtils.js +2 -0
  81. package/layers/mixins/ArcGISImageService.js +1 -1
  82. package/layers/orientedImagery/transformations/imageToWorld.js +1 -1
  83. package/layers/orientedImagery/transformations/rectifyMapPoint.js +1 -1
  84. package/layers/orientedImagery/transformations/utils.js +1 -1
  85. package/layers/raster/functions/rasterProjectionHelper.js +1 -1
  86. package/layers/support/TimeInformation.js +1 -1
  87. package/layers/support/timeInfoUtils.js +2 -0
  88. package/package.json +4 -4
  89. package/rest/query/executeAttributeBinsQuery.js +1 -1
  90. package/rest/query/executeForExtent.js +1 -1
  91. package/rest/query/executeForTopCount.js +1 -1
  92. package/rest/query/executeForTopExtents.js +1 -1
  93. package/rest/query/executeForTopIds.js +1 -1
  94. package/rest/query/executeTopFeaturesQuery.js +1 -1
  95. package/rest/query/operations/query.js +1 -1
  96. package/rest/query/operations/queryAttributeBins.js +1 -1
  97. package/rest/query/operations/queryTopFeatures.js +1 -1
  98. package/rest/support/timeUtils.js +1 -1
  99. package/support/timeUtils.js +1 -1
  100. package/symbols/TextSymbol.d.ts +0 -1
  101. package/views/2d/layers/ImageryLayerView2D.js +1 -1
  102. package/views/3d/analysis/LineOfSight/LineOfSightConfiguration.js +1 -1
  103. package/views/3d/analysis/LineOfSight/LineOfSightEditTool.js +1 -1
  104. package/views/3d/analysis/LineOfSight/LineOfSightItemTool.js +1 -1
  105. package/views/3d/analysis/LineOfSight/LineOfSightManipulators.js +1 -1
  106. package/views/3d/environment/SunLighting.d.ts +10 -8
  107. package/views/3d/environment/VirtualLighting.d.ts +10 -8
  108. package/views/interactive/snapping/FeatureSnappingEngine.js +1 -1
  109. package/webscene/Environment.d.ts +1 -1
  110. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
  111. package/widgets/BatchAttributeForm/expressions/ExpressionsManager.js +1 -1
  112. package/widgets/BatchAttributeForm/inputs/RelationshipElementInput.js +1 -1
  113. package/widgets/BatchAttributeForm/inputs/support/createBatchFormInputs.js +1 -1
  114. package/widgets/BatchAttributeForm.js +1 -1
  115. package/widgets/FeatureForm.js +1 -1
  116. package/widgets/FeatureTable/AttachmentsColumn.js +1 -1
  117. package/widgets/FeatureTable/RelationshipColumn.js +1 -1
  118. package/widgets/OrientedImageryViewer/navigation/NavigationManager.js +1 -1
  119. package/widgets/OrientedImageryViewer/navigation/queries.js +1 -1
  120. package/widgets/OrientedImageryViewer/navigation/utils.js +1 -1
  121. package/widgets/OrientedImageryViewer/utils.js +1 -1
  122. package/widgets/OrientedImageryViewer.js +2 -2
  123. package/assets/esri/core/workers/chunks/20a698709c3c11ff2c16.js +0 -1
  124. package/assets/esri/core/workers/chunks/2226c20c38e20713bcb5.js +0 -2
  125. package/assets/esri/core/workers/chunks/2a570ce6b99dac6ee996.js +0 -1
  126. package/assets/esri/core/workers/chunks/2b6684d057d9ad17ac13.js +0 -1
  127. package/assets/esri/core/workers/chunks/2e66c969bf4209c957b5.js +0 -2
  128. package/assets/esri/core/workers/chunks/377595b23379b0c8fe95.js +0 -1
  129. package/assets/esri/core/workers/chunks/379ef56f6b32494832a6.js +0 -1
  130. package/assets/esri/core/workers/chunks/38d852676677e5697864.js +0 -1
  131. package/assets/esri/core/workers/chunks/3c881b1adc8a5dea9a90.js +0 -1
  132. package/assets/esri/core/workers/chunks/4e6656a5f29e31902fca.js +0 -2
  133. package/assets/esri/core/workers/chunks/50e8943d2c0b96fab2c1.js +0 -1
  134. package/assets/esri/core/workers/chunks/5a9b7eb26f936f03d02e.js +0 -1
  135. package/assets/esri/core/workers/chunks/5f07f52bb8b7721f08d3.js +0 -1
  136. package/assets/esri/core/workers/chunks/60c79934799927114074.js +0 -1
  137. package/assets/esri/core/workers/chunks/63b5418a1c3fe0a97a86.js +0 -1
  138. package/assets/esri/core/workers/chunks/6ddc29a144640acb1192.js +0 -1
  139. package/assets/esri/core/workers/chunks/6f73e41e14817acfaead.js +0 -1
  140. package/assets/esri/core/workers/chunks/7dfbc31f3b56728485a4.js +0 -1
  141. package/assets/esri/core/workers/chunks/822f83d7c09ef0a9bbdf.js +0 -1
  142. package/assets/esri/core/workers/chunks/844eedda8f749972f707.js +0 -2
  143. package/assets/esri/core/workers/chunks/8b8118ab56cc808b5a71.js +0 -1
  144. package/assets/esri/core/workers/chunks/8d86b0cb0e004ad72040.js +0 -1
  145. package/assets/esri/core/workers/chunks/98760040f0c9d47c718d.js +0 -1
  146. package/assets/esri/core/workers/chunks/a2f0894218e665780a21.js +0 -1
  147. package/assets/esri/core/workers/chunks/a65951f1d5702cfd996e.js +0 -1
  148. package/assets/esri/core/workers/chunks/ab6506a3c16f8717fc00.js +0 -1
  149. package/assets/esri/core/workers/chunks/c45edd0a7d57263bb7d6.js +0 -1
  150. package/assets/esri/core/workers/chunks/c52466eb1f3c33ae1f5a.js +0 -1
  151. package/assets/esri/core/workers/chunks/c570b90995c65bbb2e14.js +0 -1
  152. package/assets/esri/core/workers/chunks/c576bef77e34920af188.js +0 -1
  153. package/assets/esri/core/workers/chunks/c80a3b039e510c118399.js +0 -1
  154. package/assets/esri/core/workers/chunks/c88a70f68c8ce8c30e9b.js +0 -1
  155. package/assets/esri/core/workers/chunks/cf1ec61eb2ad147bb931.js +0 -1
  156. package/assets/esri/core/workers/chunks/daae21cf77864f3293ef.js +0 -1
  157. package/assets/esri/core/workers/chunks/e9cdb0b0f074583edebd.js +0 -1
  158. package/assets/esri/core/workers/chunks/f5cc78291b53931b91e8.js +0 -1
  159. /package/assets/esri/core/workers/chunks/{844eedda8f749972f707.js.LICENSE.txt → 2b4dd42920d37b1ff0a9.js.LICENSE.txt} +0 -0
  160. /package/assets/esri/core/workers/chunks/{2cb209bc51a19487692d.js.LICENSE.txt → 43aef67452fa6ff8d8f9.js.LICENSE.txt} +0 -0
  161. /package/assets/esri/core/workers/chunks/{31640b41e0ecdff892fa.js.LICENSE.txt → 85b63811ae7bcb6f74b6.js.LICENSE.txt} +0 -0
  162. /package/assets/esri/core/workers/chunks/{4e6656a5f29e31902fca.js.LICENSE.txt → 900c8569596609183f19.js.LICENSE.txt} +0 -0
  163. /package/assets/esri/core/workers/chunks/{2e66c969bf4209c957b5.js.LICENSE.txt → a17fb26d6ac4895e51a3.js.LICENSE.txt} +0 -0
  164. /package/assets/esri/core/workers/chunks/{dc51dcaa4e2f9a90f5bd.js.LICENSE.txt → c2cbe0f5e8958cf18e58.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5613],{22429(e,a,t){t.d(a,{v:()=>n});var r=t(7861);class n{constructor(){this._serviceMetadatas=new Map,this._itemDatas=new Map}async fetchServiceMetadata(e,a){let t=this._serviceMetadatas.get(e);if(t)return t;let n=await(0,r.L)(e,a);return this._serviceMetadatas.set(e,n),n}async fetchItemData(e){let{id:a}=e;if(!a)return null;let{_itemDatas:t}=this;if(t.has(a))return t.get(a);let r=await e.fetchData();return t.set(a,r),r}async fetchCustomParameters(e,a){let t=await this.fetchItemData(e);return t&&"object"==typeof t&&(a?a(t):t.customParameters)||null}}},92009(e,a,t){t.d(a,{L:()=>o});var r=t(70333),n=t(56507),l=t(49186),s=t(17676),i=t(60694),u=t(20655),c=t(80812);async function o(e,a){let t=(0,i.qg)(e);if(!t)throw new l.A("invalid-url","Invalid scene service url");let o={...a,sceneServerUrl:t.url.path,layerId:t.sublayer??void 0};if(o.sceneLayerItem??=await async function(e){let a=(await y(e)).serviceItemId;if(!a)return null;let t=new c.default({id:a,apiKey:e.apiKey}),l=await async function(e){let a=r.id?.findServerInfo(e.sceneServerUrl);if(a?.owningSystemUrl)return a.owningSystemUrl;let t=e.sceneServerUrl.replace(/(.*\/rest)\/.*/i,"$1")+"/info";try{let a=(await(0,n.A)(t,{query:{f:"json"},responseType:"json",signal:e.signal})).data.owningSystemUrl;if(a)return a}catch(e){(0,s.QP)(e)}return null}(e);null!=l&&(t.portal=new u.A({url:l}));try{return await t.load({signal:e.signal})}catch(e){return(0,s.QP)(e),null}}(o),null==o.sceneLayerItem)return f(o.sceneServerUrl.replace("/SceneServer","/FeatureServer"),o);let m=await async function({sceneLayerItem:e,signal:a}){if(!e)return null;try{let t=(await e.fetchRelatedItems({relationshipType:"Service2Service",direction:"reverse"},{signal:a})).find(e=>"Feature Service"===e.type)||null;if(!t)return null;let r=new c.default({portal:t.portal,id:t.id});return await r.load(),r}catch(e){return(0,s.QP)(e),null}}(o);if(!m?.url)throw new l.A("related-service-not-found","Could not find feature service through portal item relationship");o.featureServiceItem=m;let d=await f(m.url,o);return d.portalItem=m,d}async function y(e){if(e.rootDocument)return e.rootDocument;let a={query:{f:"json",...e.customParameters,token:e.apiKey},responseType:"json",signal:e.signal};try{e.rootDocument=(await(0,n.A)(e.sceneServerUrl,a)).data}catch{e.rootDocument={}}return e.rootDocument}async function f(e,a){let t=(0,i.qg)(e);if(!t)throw new l.A("invalid-feature-service-url","Invalid feature service url");let r=t.url.path,s=a.layerId;if(null==s)return{serverUrl:r};let u=y(a),c=a.featureServiceItem?await a.featureServiceItem.fetchData("json"):null,o=(c?.layers?.[0]||c?.tables?.[0])?.customParameters,f=e=>{let t={query:{f:"json",...o},responseType:"json",authMode:e,signal:a.signal};return(0,n.A)(r,t)},m=f("anonymous").catch(()=>f("no-prompt")),[d,L]=await Promise.all([m,u]),p=L?.layers,w=d.data&&d.data.layers;if(!Array.isArray(w))throw Error("expected layers array");if(Array.isArray(p)){for(let e=0;e<Math.min(p.length,w.length);e++)if(p[e].id===s)return{serverUrl:r,layerId:w[e].id}}else if(null!=s&&s<w.length)return{serverUrl:r,layerId:w[s].id};throw Error("could not find matching associated sublayer")}},23154(e,a,t){t.d(a,{A6:()=>i,Aq:()=>L,Jo:()=>d,QM:()=>s});var r=t(77548),n=t(7861);const l=new Set(["Annotation Layer","Catalog Layer","Dimension Layer","Feature Layer","Oriented Imagery Layer"]);async function s(e,a){let{serviceJSON:t,layersJSON:r,...n}=await i(e,a);o(t);let l={serviceJSON:t,...n};return r&&(o(r),l.layersJSON=r),l}async function i(e,a){let{loadContext:t,...l}=a||{},s=t?await t.fetchServiceMetadata(e,l):await(0,n.L)(e,l),i=(0,r.G$)();m(s);let u={serviceJSON:s,preferredHost:i};if((s.currentVersion??0)<10.5)return u;let c=`${(0,r.$x)()??e}/layers`,o=t?await t.fetchServiceMetadata(c,l):await(0,n.L)(c,l);return m(o),u.layersJSON={layers:o.layers,tables:o.tables},u}function u(e){return l.has(e.type)}function c(e){return"Table"===e.type}function o(e){e.layers=e.layers?.filter(u),e.tables=e.tables?.filter(c)}function y(e){e.type||="Feature Layer"}function f(e){e.type||="Table"}function m(e){e.layers?.forEach(y),e.tables?.forEach(f)}function d(e){if(!e)return"FeatureLayer";switch(e){case"Feature Layer":case"Table":return"FeatureLayer";case"Oriented Imagery Layer":return"OrientedImageryLayer";case"Catalog Layer":return"CatalogLayer";case"Dimension Layer":return"DimensionFeatureLayer";case"Annotation Layer":return"AnnotationFeatureLayer"}return null}function L(e,a){if(!e)return a?"Table":"ArcGISFeatureLayer";switch(e){case"Annotation Layer":return"ArcGISAnnotationLayer";case"Catalog Layer":return"CatalogLayer";case"Dimension Layer":return"ArcGISDimensionLayer";case"Feature Layer":return"ArcGISFeatureLayer";case"Oriented Imagery Layer":return"OrientedImageryLayer";case"Parcel Layer":return"ParcelLayer";case"Table":return"Table";case"Topology Layer":return"TopologyLayer";case"Trace Network Layer":return"TraceNetworkLayer";case"Utility Network Layer":return"UtilityNetworkLayer";default:return null}}},2976(e,a,t){const r={AnnotationFeatureLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(7865),t.e(6554),t.e(9407),t.e(3910),t.e(5128),t.e(5566),t.e(7552),t.e(2889),t.e(4674),t.e(5087),t.e(7420)]).then(()=>t(20737))).default,BingMapsLayer:async()=>(await Promise.all([t.e(8278),t.e(7865),t.e(6554),t.e(6684)]).then(()=>t(17029))).default,BuildingSceneLayer:async()=>(await Promise.all([t.e(8673),t.e(9917),t.e(8278),t.e(7865),t.e(6554),t.e(9407),t.e(9953),t.e(3910),t.e(5128),t.e(5566),t.e(1722),t.e(7552),t.e(1214),t.e(2889),t.e(1017),t.e(9789),t.e(4674),t.e(5087),t.e(8589),t.e(7005),t.e(9480),t.e(3080),t.e(9459)]).then(()=>t(82411))).default,CSVLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(7865),t.e(6554),t.e(9407),t.e(9953),t.e(3910),t.e(5128),t.e(5566),t.e(1722),t.e(7552),t.e(1214),t.e(2889),t.e(1017),t.e(6880)]).then(()=>t(68695))).default,CatalogLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(7865),t.e(6554),t.e(9407),t.e(3910),t.e(5128),t.e(5566),t.e(1722),t.e(7552),t.e(1214),t.e(2889),t.e(9789),t.e(4674),t.e(5087),t.e(893),t.e(7),t.e(8218),t.e(8305)]).then(()=>t(83508))).default,DimensionFeatureLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(7865),t.e(6554),t.e(9407),t.e(3910),t.e(5128),t.e(5566),t.e(7552),t.e(2889),t.e(4674),t.e(5087),t.e(8826)]).then(()=>t(25077))).default,DimensionLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(3813)]).then(()=>t(71493))).default,ElevationLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(9953),t.e(6874)]).then(()=>t(38732))).default,FeatureLayer:async()=>(await Promise.all([t.e(8673),t.e(9917),t.e(8278),t.e(7865),t.e(6554),t.e(9407),t.e(9953),t.e(3910),t.e(5128),t.e(5566),t.e(1722),t.e(7552),t.e(1214),t.e(2889),t.e(1017),t.e(9789),t.e(4674),t.e(5087),t.e(8589),t.e(7366)]).then(()=>t(18589))).default,GaussianSplatLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(9177),t.e(6475)]).then(()=>t(36475))).default,GeoJSONLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(7865),t.e(6554),t.e(9407),t.e(9953),t.e(3910),t.e(5128),t.e(5566),t.e(1722),t.e(7552),t.e(1214),t.e(2889),t.e(1017),t.e(5954)]).then(()=>t(15481))).default,GeoRSSLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(7865),t.e(6554),t.e(9657)]).then(()=>t(63201))).default,GroupLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(7865),t.e(6569)]).then(()=>t(85989))).default,ImageryLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(7865),t.e(6554),t.e(9407),t.e(9953),t.e(3910),t.e(5128),t.e(5566),t.e(7552),t.e(893),t.e(9075),t.e(9800),t.e(3242)]).then(()=>t(87772))).default,ImageryTileLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(7865),t.e(6554),t.e(9407),t.e(9953),t.e(3910),t.e(5128),t.e(5566),t.e(9075),t.e(9800),t.e(9235),t.e(8595),t.e(1137)]).then(()=>t(11137))).default,IntegratedMesh3DTilesLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(9953),t.e(9177),t.e(6451),t.e(8241)]).then(()=>t(61528))).default,IntegratedMeshLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(9953),t.e(7552),t.e(1843),t.e(7005),t.e(9480),t.e(9177),t.e(8197),t.e(6451),t.e(3527)]).then(()=>t(49013))).default,KMLLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(7865),t.e(6554),t.e(9407),t.e(3910),t.e(5128),t.e(5566),t.e(1722),t.e(1214),t.e(1504)]).then(()=>t(162))).default,KnowledgeGraphLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(7865),t.e(6554),t.e(9407),t.e(9953),t.e(3910),t.e(5128),t.e(5566),t.e(1722),t.e(7552),t.e(1214),t.e(2889),t.e(1017),t.e(9789),t.e(359),t.e(5752),t.e(6744),t.e(3902),t.e(4934),t.e(8692)]).then(()=>t(28692))).default,LineOfSightLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(1588),t.e(9695)]).then(()=>t(49695))).default,LinkChartLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(7865),t.e(6554),t.e(9407),t.e(9953),t.e(3910),t.e(5128),t.e(5566),t.e(1722),t.e(7552),t.e(1214),t.e(2889),t.e(1017),t.e(9789),t.e(359),t.e(5752),t.e(6744),t.e(3902),t.e(4934),t.e(3309)]).then(()=>t(93309))).default,MapImageLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(7865),t.e(6554),t.e(9407),t.e(3910),t.e(5128),t.e(5566),t.e(1722),t.e(7552),t.e(1214),t.e(2889),t.e(4674),t.e(893),t.e(2486),t.e(6023)]).then(()=>t(7656))).default,MapNotesLayer:async()=>(await Promise.all([t.e(8673),t.e(9917),t.e(8278),t.e(7865),t.e(6554),t.e(9407),t.e(9953),t.e(3910),t.e(5128),t.e(5566),t.e(1722),t.e(7552),t.e(1214),t.e(2889),t.e(1017),t.e(9789),t.e(4674),t.e(5087),t.e(8589),t.e(6744),t.e(2257)]).then(()=>t(96299))).default,MediaLayer:async()=>(await Promise.all([t.e(8673),t.e(9917),t.e(8278),t.e(7865),t.e(9894),t.e(2491)]).then(()=>t(90182))).default,OGCFeatureLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(7865),t.e(6554),t.e(9407),t.e(3910),t.e(5128),t.e(5566),t.e(1722),t.e(7552),t.e(1214),t.e(2889),t.e(1017),t.e(3080),t.e(5977)]).then(()=>t(65977))).default,OpenStreetMapLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(7865),t.e(6554),t.e(7269),t.e(349)]).then(()=>t(40349))).default,OrientedImageryLayer:async()=>(await Promise.all([t.e(8673),t.e(9917),t.e(8278),t.e(7865),t.e(6554),t.e(9407),t.e(9953),t.e(3910),t.e(5128),t.e(5566),t.e(1722),t.e(7552),t.e(1214),t.e(2889),t.e(1017),t.e(9789),t.e(4674),t.e(5087),t.e(8589),t.e(4506),t.e(8169)]).then(()=>t(9352))).default,ParquetLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(7865),t.e(6554),t.e(9407),t.e(9953),t.e(3910),t.e(5128),t.e(5566),t.e(1722),t.e(7552),t.e(1214),t.e(2889),t.e(1017),t.e(3819),t.e(6185),t.e(4085)]).then(()=>t(99680))).default,PointCloudLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(9407),t.e(7984),t.e(7885)]).then(()=>t(77885))).default,RouteLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(7865),t.e(9407),t.e(3910),t.e(5128),t.e(5566),t.e(1722),t.e(1214),t.e(7380)]).then(()=>t(39622))).default,SceneLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(9407),t.e(3910),t.e(5128),t.e(5566),t.e(1722),t.e(7552),t.e(1214),t.e(2889),t.e(7005),t.e(9480),t.e(3080),t.e(4844)]).then(()=>t(2e4))).default,SketchLayer:async()=>(await Promise.all([t.e(8673),t.e(9917),t.e(8278),t.e(7865),t.e(6554),t.e(9407),t.e(9953),t.e(3910),t.e(5128),t.e(5566),t.e(1722),t.e(7552),t.e(1214),t.e(2889),t.e(1017),t.e(9789),t.e(4674),t.e(5087),t.e(8589),t.e(6744),t.e(1630)]).then(()=>t(15056))).default,StreamLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(7865),t.e(6554),t.e(9407),t.e(3910),t.e(5128),t.e(5566),t.e(1722),t.e(7552),t.e(1214),t.e(2889),t.e(1017),t.e(86)]).then(()=>t(79457))).default,SubtypeGroupLayer:async()=>(await Promise.all([t.e(8673),t.e(9917),t.e(8278),t.e(7865),t.e(6554),t.e(9407),t.e(3910),t.e(5128),t.e(5566),t.e(7552),t.e(2889),t.e(9789),t.e(4674),t.e(5087),t.e(1951)]).then(()=>t(97483))).default,TileLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(7865),t.e(6554),t.e(9407),t.e(3910),t.e(5128),t.e(5566),t.e(1722),t.e(7552),t.e(1214),t.e(2889),t.e(4674),t.e(893),t.e(2486),t.e(2223)]).then(()=>t(71756))).default,UnknownLayer:async()=>(await Promise.all([t.e(9917),t.e(146)]).then(()=>t(146))).default,UnsupportedLayer:async()=>(await Promise.all([t.e(9917),t.e(5165)]).then(()=>t(45165))).default,VectorTileLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(7865),t.e(6554),t.e(9953),t.e(5228),t.e(7499),t.e(700)]).then(()=>t(67190))).default,VideoLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(7865),t.e(3910),t.e(5128),t.e(4674),t.e(9894),t.e(6875)]).then(()=>t(86875))).default,ViewshedLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(1588),t.e(6650)]).then(()=>t(96650))).default,VoxelLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(9407),t.e(167)]).then(()=>t(90167))).default,WCSLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(7865),t.e(6554),t.e(9407),t.e(9953),t.e(3910),t.e(5128),t.e(5566),t.e(9075),t.e(9800),t.e(9235),t.e(8595),t.e(521)]).then(()=>t(20521))).default,WFSLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(7865),t.e(6554),t.e(9407),t.e(9953),t.e(3910),t.e(5128),t.e(5566),t.e(1722),t.e(7552),t.e(1214),t.e(2889),t.e(1017),t.e(9110)]).then(()=>t(21901))).default,WMSLayer:async()=>(await Promise.all([t.e(8673),t.e(9917),t.e(8278),t.e(7865),t.e(6554),t.e(9407),t.e(3910),t.e(5128),t.e(1904)]).then(()=>t(51904))).default,WMTSLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(7865),t.e(6554),t.e(7269),t.e(309)]).then(()=>t(20309))).default,WebTileLayer:async()=>(await Promise.all([t.e(9917),t.e(8278),t.e(7865),t.e(6554),t.e(7269)]).then(()=>t(47314))).default};t.d(a,["U",0,r])},66964(e,a,t){t.d(a,{Ju:()=>w,K8:()=>g,XH:()=>h,Y5:()=>p,_r:()=>i,bO:()=>c,l:()=>P,nu:()=>v,pJ:()=>o,rc:()=>y});var r=t(60694),n=t(92009),l=t(23154),s=t(77548);function i(e,a){let{id:t,name:r}=e,n={id:t,name:r};return u(n,e,a),n}function u(e,a,t){let r=(0,l.Aq)(a.type,t);r&&(e.layerType=r)}async function c(e,a,t){let r,n;if(function(e){return!!e&&Array.isArray(e.layers)&&Array.isArray(e.tables)}(e)&&f(e))n=e;else{let l=await t.fetchServiceMetadata(a,{customParameters:o(e)?.customParameters});r=(0,s.G$)(),n=m(e,l),d(n,l)}return L(n),{data:n,preferredHost:r}}function o(e){if(!e)return null;let{layers:a,tables:t}=e;return a?.[0]??t?.[0]??null}function y(e,a){return null==a?null:[...e.layers??[],...e.tables??[]].find(e=>e.id===a)}function f(e){return[...e.layers??[],...e.tables??[]].every(e=>!!e.layerType)}function m(e,a){return{...e,layers:e?.layers??a.layers?.map(e=>i(e))??[],tables:e?.tables??a.tables?.map(e=>i(e,!0))??[]}}function d(e,a){let t=e.layers??[],r=e.tables??[],n=[...a.layers??[],...a.tables??[]];for(let e of[...t,...r]){let{id:a,layerType:t}=e;if(t)continue;let l=n.find(({id:e})=>e===a);l&&u(e,l,r.includes(e))}}function L(e){e.layers=e.layers?.filter(I),e.tables=e.tables?.filter(I)}async function p(e,a,t){if(e?.layers?.length||e?.tables?.length){if(!f(e)){let n=(0,r.qg)(a)?.url.path;if(!n)return;d(e,await t.fetchServiceMetadata(n,{customParameters:o(e)?.customParameters}))}L(e)}}function w(e,a){return[...e.layers??[],...e.tables??[]].filter(({layerType:e})=>e?a.includes(e):a.includes("ArcGISFeatureLayer"))}function h(e){return(e?.layers?.length??0)+(e?.tables?.length??0)}const S=new Set(["ArcGISAnnotationLayer","ArcGISDimensionLayer","ArcGISFeatureLayer","CatalogLayer","OrientedImageryLayer","SubtypeGroupLayer","SubtypeGroupTable","Table"]);function I(e){return!!e.layerType&&S.has(e.layerType)}function P(e){switch(e){case"annotation-feature":return["ArcGISAnnotationLayer"];case"catalog":return["CatalogLayer"];case"dimension-feature":return["ArcGISDimensionLayer"];case"feature":return["ArcGISFeatureLayer","Table"];case"oriented-imagery":return["OrientedImageryLayer"];case"subtype-group":return["SubtypeGroupLayer","SubtypeGroupTable"]}return null}function g(e){switch(e){case"ArcGISAnnotationLayer":return"AnnotationFeatureLayer";case"ArcGISDimensionLayer":return"DimensionFeatureLayer";case"ArcGISFeatureLayer":case"Table":return"FeatureLayer";case"CatalogLayer":return"CatalogLayer";case"OrientedImageryLayer":return"OrientedImageryLayer";case"SubtypeGroupLayer":case"SubtypeGroupTable":return"SubtypeGroupLayer"}return null}async function v(e,a,t){if(!e?.url)return a??{};if(a??={},!a.layers){let r=await t.fetchServiceMetadata(e.url);a.layers=r.layers?.map(e=>i(e))}let{serverUrl:r,portalItem:l}=await(0,n.L)(e.url,{sceneLayerItem:e,customParameters:o(a)?.customParameters}).catch(()=>({serverUrl:null,portalItem:null}));if(null==r)return a.tables=[],a;if(!a.tables&&l){let e=await l.fetchData().catch(()=>null);if(e?.tables)a.tables=e.tables.map(({id:e,name:a})=>({id:e,name:a}));else{let n=await t.fetchServiceMetadata(r,{customParameters:o(e)?.customParameters}).catch(()=>null);a.tables=n?.tables?.map(e=>i(e,!0))}}if(a.tables)for(let e of a.tables)e.url=`${r}/${e.id}`;return a}},10407(e,a,t){t.d(a,{It:()=>m,LG:()=>s,OM:()=>c,Sm:()=>o,Y:()=>i,bK:()=>u,sQ:()=>y});var r=t(99917),n=t(16930),l=t(28735);function s(e,a){if(!i(e,a)){let t=e.typeKeywords;t?t.push(a):e.typeKeywords=[a]}}function i(e,a){return!!e.typeKeywords?.includes(a)}function u(e){return i(e,f.HOSTED_SERVICE)}function c(e,a){let t=e.typeKeywords;if(t){let e=t.indexOf(a);e>-1&&t.splice(e,1)}}function o(e,a,t){t?s(e,a):c(e,a)}async function y(e){let a,t=e.clone().normalize();if(t.length>1)for(let e of t)a?e.width>a.width&&(a=e):a=e;else a=t[0];return async function(e){let a=e.spatialReference;if(a.isWGS84)return e.clone();if(a.isWebMercator)return(0,l.ci)(e);let t=n.A.WGS84;return await(0,r.initializeProjection)(a,t),(0,r.project)(e,t)}(a)}const f={CHARTS:"Charts",CATALOG_LAYER:"CatalogLayer",DYNAMIC:"Dynamic",DEVELOPER_BASEMAP:"DeveloperBasemap",GROUP_LAYER_MAP:"Map",HOSTED_SERVICE:"Hosted Service",JSAPI:"ArcGIS API for JavaScript",LOCAL_SCENE:"ViewingMode-Local",METADATA:"Metadata",MULTI_LAYER:"Multilayer",ORIENTED_IMAGERY_LAYER:"OrientedImageryLayer",PARCEL_FABRIC:"ParcelFabric",SINGLE_LAYER:"Singlelayer",SUBTYPE_GROUP_LAYER:"SubtypeGroupLayer",SUBTYPE_GROUP_TABLE:"SubtypeGroupTable",TABLE:"Table",TILED_IMAGERY:"Tiled Imagery",UTILITY_NETWORK:"UtilityNetwork"};function m(e){let{portal:a,isOrgItem:t,itemControl:r}=e,n=a.user?.privileges,l=!n||n.includes("features:user:edit"),s=!!t&&!!n?.includes("features:user:fullEdit"),i="update"===r||"admin"===r;return i?s=l=!0:s&&(l=!0),{features:{edit:l,fullEdit:s},content:{updateItem:i}}}t.d(a,["mm",0,f])},45613(e,a,t){t.d(a,{fromItem:()=>m,n:()=>d});var r=t(49186),n=t(44208),l=t(92009),s=t(23154),i=t(22429),u=t(2976),c=t(77548),o=t(80812),y=t(66964),f=t(10407);async function m(e){let{portalItem:a}=e;a&&!(a instanceof o.default)&&(a=new o.default(a));let t=await async function(e){return await e.load(),async function(e){let a=e.className,t=u.U[a];return{constructor:await t(),properties:e.properties}}(await d(e,new i.v))}(a);return new(0,t.constructor)({portalItem:a,...t.properties})}async function d(e,a){switch(e.type){case"3DTiles Service":return e.typeKeywords.includes("3DObject")?{className:"UnsupportedLayer"}:e.typeKeywords.includes("GaussianSplat")?{className:"GaussianSplatLayer"}:{className:"IntegratedMesh3DTilesLayer"};case"CSV":return{className:"CSVLayer"};case"Feature Collection":return async function(e){await e.load();let a=(0,f.Y)(e,"Map Notes"),t=(0,f.Y)(e,"Markup");if(a||t)return{className:(0,n.A)("sketch-layer-enabled")?"SketchLayer":"MapNotesLayer"};if((0,f.Y)(e,"Route Layer"))return{className:"RouteLayer"};let r=await e.fetchData();return 1===(0,y.XH)(r)?{className:"FeatureLayer"}:{className:"GroupLayer"}}(e);case"Feature Service":return async function(e,a){let t=await L(e,a);if("object"==typeof t){let{sourceJSON:e,className:a}=t,r={sourceJSON:e};return null!=t.id&&(r.layerId=t.id),{className:a||"FeatureLayer",properties:r}}return{className:"GroupLayer"}}(e,a);case"Feed":case"Stream Service":return{className:"StreamLayer"};case"GeoJson":return{className:"GeoJSONLayer"};case"Group Layer":return{className:"GroupLayer"};case"Image Service":return async function(e,a){await e.load();let t=e.typeKeywords?.map(e=>e.toLowerCase())??[];if(t.includes("elevation 3d layer"))return{className:"ElevationLayer"};if(t.includes("tiled imagery"))return{className:"ImageryTileLayer"};let r=(await a.fetchItemData(e))?.layerType;if("ArcGISTiledImageServiceLayer"===r)return{className:"ImageryTileLayer"};if("ArcGISImageServiceLayer"===r)return{className:"ImageryLayer"};let n=await a.fetchServiceMetadata(e.url,{customParameters:await a.fetchCustomParameters(e)}),l=n.cacheType?.toLowerCase(),s=n.capabilities?.toLowerCase().includes("tilesonly"),i=n.tileInfo?.format?.toLowerCase()??"",u=null==l&&["jpg","jpeg","png","png8","png24","png32","mixed"].includes(i);return"map"===l||u||s?{className:"ImageryTileLayer"}:{className:"ImageryLayer"}}(e,a);case"KML":return{className:"KMLLayer"};case"Knowledge Graph Layer":return{className:"KnowledgeGraphLayer"};case"Map Service":return async function(e,a){return await async function(e,a){let{tileInfo:t}=await a.fetchServiceMetadata(e.url,{customParameters:await a.fetchCustomParameters(e)});return t}(e,a)?{className:"TileLayer"}:{className:"MapImageLayer"}}(e,a);case"Media Layer":return{className:"MediaLayer"};case"Parquet Feature Layer":return{className:"ParquetLayer"};case"Scene Service":return async function(e,a){let t=await L(e,a,async()=>{try{if(!e.url)return[];let{serverUrl:t}=await(0,l.L)(e.url,{sceneLayerItem:e});return(await a.fetchServiceMetadata(t))?.tables??[]}catch{return[]}});if("object"==typeof t){let r,n={};if(null==t.id?r=e.url:(n.layerId=t.id,r=`${e.url}/layers/${t.id}`),e.typeKeywords?.length)for(let a of Object.keys(c.XX))if(e.typeKeywords.includes(a))return{className:c.XX[a]};let l=await a.fetchServiceMetadata(r,{customParameters:await a.fetchCustomParameters(e,e=>(0,y.pJ)(e)?.customParameters)});return{className:c.XX[l?.layerType]||"SceneLayer",properties:n}}return!1===t&&"Voxel"===(await a.fetchServiceMetadata(e.url))?.layerType?{className:"VoxelLayer"}:{className:"GroupLayer"}}(e,a);case"Video Service":return async function(e,a){return"object"==typeof await L(e,a)?{className:"VideoLayer"}:{className:"GroupLayer"}}(e,a);case"Vector Tile Service":return{className:"VectorTileLayer"};case"WCS":return{className:"WCSLayer"};case"WFS":return{className:"WFSLayer"};case"WMS":return{className:"WMSLayer"};case"WMTS":return{className:"WMTSLayer"};default:throw new r.A("portal:unknown-item-type","Unknown item type '${type}'",{type:e.type})}}async function L(e,a,t){let{url:n,type:l}=e,i="Feature Service"===l;if(!n)return{};if(/\/\d+$/.test(n)){if(i){let t=await a.fetchServiceMetadata(n,{customParameters:await a.fetchCustomParameters(e,e=>(0,y.pJ)(e)?.customParameters)});(0,c.Gh)(e,(0,c.G$)());let{id:l,type:i}=t,u=(0,s.Jo)(i);if(!u)throw new r.A("from-portal-item:unsupported",`'${n}' has unsupported type: '${i}'`);return{id:l,className:u,sourceJSON:t}}return{}}if("Video Service"===l)return!(((await a.fetchServiceMetadata(n)).layers?.length??0)>1)&&{};await e.load();let u=await a.fetchItemData(e);if(i){let{data:t,preferredHost:l}=await(0,y.bO)(u,n,a);if(0===(0,y.XH)(t))throw new r.A("from-portal-item:no-data",`The feature service '${n}' does not have any supported layers or tables`);(0,c.Gh)(e,l);let s=p(t);if("object"==typeof s){let e=(0,y.rc)(t,s.id);return{id:s.id,className:(0,y.K8)(e?.layerType)}}return s}if("Scene Service"===l&&(u=await(0,y.nu)(e,u,a)),(0,y.XH)(u)>0)return p(u);let o=await a.fetchServiceMetadata(n);return t&&(o.tables=await t()),p(o)}function p(e){return 1===(0,y.XH)(e)&&{id:(0,y.pJ)(e)?.id}}},7861(e,a,t){t.d(a,{L:()=>n});var r=t(56507);async function n(e,a){return(await(0,r.A)(e,{responseType:"json",query:{f:"json",...a?.customParameters,token:a?.apiKey}})).data}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3275,4059,6440],{3110(e,t,n){n.d(t,{a:()=>k});var a=n(74059),s=n(42950);const o=(0,a.aK)((e,t)=>{t.onConnected(()=>{m(e)}),t.onDisconnected(()=>{!function(e){if(!e)return;if(p.delete(e),document.removeEventListener(i,u.get(e)),document.removeEventListener(c,b.get(e)),u.delete(e),b.delete(e),!e.labelEl)return;const t=d.get(e.labelEl);1===t.length&&(e.labelEl.removeEventListener(l,h.get(e.labelEl)),h.delete(e.labelEl)),d.set(e.labelEl,t.filter(t=>t!==e).sort(g)),e.labelEl=void 0}(e)})}),l="calciteInternalLabelClick",i="calciteInternalLabelConnected",c="calciteInternalLabelDisconnected",r="calcite-label",d=new WeakMap,h=new WeakMap,u=new WeakMap,b=new WeakMap,p=new Set;function m(e){if(!e)return;const t=(e=>{const{id:t}=e,n=t&&(0,s.q)(e,{selector:`${r}[for="${t}"]`});if(n)return n;const a=(0,s.c)(e,r);return!a||function(e,t){let n;const a="custom-element-ancestor-check",s=a=>{a.stopImmediatePropagation();const s=a.composedPath();n=s.slice(s.indexOf(t),s.indexOf(e))};return e.addEventListener(a,s,{once:!0}),t.dispatchEvent(new CustomEvent(a,{composed:!0,bubbles:!0})),e.removeEventListener(a,s),n.filter(n=>n!==t&&n!==e).filter(e=>e.tagName?.includes("-")).length>0}(a,e)?null:a})(e.el);if(t&&h.has(t)&&t===e.labelEl||!t&&p.has(e))return;const n=y.bind(e);if(t){e.labelEl=t;const a=d.get(t)||[];a.push(e),d.set(t,a.sort(g)),h.has(e.labelEl)||(h.set(e.labelEl,v),e.labelEl.addEventListener(l,v)),p.delete(e),document.removeEventListener(i,u.get(e)),b.set(e,n),document.addEventListener(c,n)}else p.has(e)||(n(),document.removeEventListener(c,b.get(e)))}function g(e,t){return(0,s.i)(e.el,t.el)?-1:1}function v(e){const t=e.detail.sourceEvent.target,n=d.get(this),a=n.find(e=>e.el===t);if(a&&n.includes(a))return;const s=n[0];s.disabled||s.onLabelClick(e)}function f(){p.has(this)&&m(this)}function y(){p.add(this);const e=u.get(this)||f.bind(this);u.set(this,e),document.addEventListener(i,e)}async function k(e){if(await e.componentOnReady(),d.has(e))return;const t=e.for&&e.ownerDocument?.getElementById(e.for);t&&requestAnimationFrame(()=>{for(const e of p)if(e.el===t){m(e);break}})}n.d(t,["b",0,c,"l",0,i,"u",0,o])},73275(e,t,n){n.r(t),n.d(t,{Label:()=>r});var a=n(27469),s=n(58933),o=n(32012),l=n(64336),i=n(3110);const c=s.AH`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:.25rem;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm);margin-block-end:var(--calcite-label-margin-bottom, .5rem)}:host([scale=m]) .container{gap:.5rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base);margin-block-end:var(--calcite-label-margin-bottom, .75rem)}:host([scale=l]) .container{gap:.5rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);margin-block-end:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-inline:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-color-text-1);color:var(--calcite-label-text-color, var(--calcite-color-text-1))}:host([layout=block]) .container,:host([layout=default]) .container{display:flex;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:flex;flex-direction:row;align-items:center;gap:.5rem}:host([layout=inline][scale=l]) .container{gap:.75rem}:host([layout=inline-space-between]) .container{justify-content:space-between}:host([disabled])>.container{opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity: 1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity: 0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;class r extends o.WF{constructor(){super(),this.alignment="start",this.layout="block",this.scale="m",this.calciteInternalLabelClick=(0,l.b)({bubbles:!1,cancelable:!1}),this.listen("click",this.labelClickHandler)}static{this.properties={alignment:[3,{},{reflect:!0}],for:[3,{},{reflect:!0}],layout:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}]}}static{this.styles=c}connectedCallback(){super.connectedCallback(),document.dispatchEvent(new CustomEvent(i.l))}willUpdate(e){e.has("for")&&(0,i.a)(this.el)}disconnectedCallback(){super.disconnectedCallback(),document.dispatchEvent(new CustomEvent(i.b))}labelClickHandler(e){"Range"===window.getSelection()?.type||e.defaultPrevented||this.calciteInternalLabelClick.emit({sourceEvent:e})}render(){return s.qy`<div class=${(0,o.CP)("container")}><slot></slot></div>`}}(0,a.c)("calcite-label",r)},74059(e,t,n){n.d(t,{Dk:()=>f,aK:()=>y,yr:()=>$,jH:()=>C,oW:()=>w});var a=n(64336),s=n(59231);var o=n(58933),l=n(14246),i=n(44613);const c=e=>{const t=(0,l.a)(e,"lang",globalThis.navigator?.language||u);return{lang:t,t9nLocale:v(t)}},r=async(e,t,n=e.localName.split("-").slice(1).join("-"))=>{const{lang:a,t9nLocale:s}=c(e),o=`${t}/${n}/t9n`;return{lang:a,t9nLocale:s,t9nStrings:null===n?{}:await p(s,o,"messages.")}},d="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),h=new Set(d),u="en",b={pt:"pt-BR",nb:"no",nn:"no",zh:"zh-CN"},p=async(e,t,n="")=>{const a=`${t}/${n}`,s=`${a}${e}.json`;return m[s]??=g(e,a),await m[s]},m={},g=async(e,t)=>{const n=`${t}${e}.json`;try{const e=await fetch(n);if(e.ok)return await e.json()}catch(e){return(0,i.Rm)("error","intl",`An unknown error occurred while fetching localization strings at ${n}`,{detail:{error:e}}),{}}return e===u?{}:await g(u,t)},v=e=>{const[t,n]=e.split("-"),a=t.toLowerCase();let s=a;return n&&(s=`${a}-${n.toUpperCase()}`),s=b[s]??s,h.has(s)?s:n?v(a):u},f=e=>x(void 0,e),y=e=>t=>x(t,e);class k extends a.C{constructor(e,t){super(e);const n=this.exports;try{(0,s.s)(this.component);const e=t(this.component,this),a=this.exports!==n;if((0,s.i)(e)){a||this.setProvisionalExports(e);const t=e.then(e=>{this.exports=e,super.catchUpLifecycle()}).catch(e=>{this.P.reject(e)});this.onLoad(async()=>await t)}else a&&void 0===e||(this.exports=e),queueMicrotask(()=>super.catchUpLifecycle())}catch(e){this.P.reject(e)}}catchUpLifecycle(){}}const x=(E=k,(...e)=>{const t=(0,s.b)(),n=new E(...e),o=n.exports;(0,s.a)(t.at(-1));const l=n.component.manager;l.W(n,o),n.watchExports(l.W.bind(l,n)),(0,s.f)(n);const i=[n.component,...t].reverse();return(0,a.a)(i,e=>void 0===e?void 0:((e,{host:t,key:n,isReactive:a},o)=>{const l=t,i=l[n]!==e.exports,c=l[n]!==o,r=o!==e.exports;if(i&&!c&&r&&(l[n]=e.exports),t===e.component){if(a){const t=e.component.manager;c&&t.W(e,l[n]),e.onUpdate(a=>{if(a.has(n)){const a=l[n];a!==e.exports&&t.W(e,a)}})}e.O=a?void 0:n}const d=e.component.constructor.elementProperties.get(n)?.readOnly;e.watchExports(()=>{l[n]!==e.exports&&(d?(0,s.c)(()=>{l[n]=e.exports}):l[n]=e.exports)})})(n,e,o),o)});var E;const w=(e,t)=>new L(e,t);class L extends a.C{#e;#t;#n;constructor(e,t){super(),o.S$||(this.#t=e,this.#n=t,this.#e=new MutationObserver(n=>{n.forEach(n=>{e.includes(n.attributeName)&&t.call(this.component,this.component.el.getAttribute(n.attributeName),n.oldValue,n.attributeName)})}))}hostConnected(){this.#t.forEach(e=>{this.component.el.hasAttribute(e)&&this.#n.call(this.component,this.component.el.getAttribute(e),null,e)}),this.#e.observe(this.component.el,{attributes:!0,attributeOldValue:!0,attributeFilter:this.#t})}hostDisconnected(){this.#e.disconnect()}}const C=()=>f((e,t)=>{t.exports="ltr",t.onLifecycle(()=>{const n=()=>{const n=(0,l.a)(e.el,"dir","ltr");t.exports="rtl"===n?"rtl":"ltr"};return n(),(0,l.o)(e.el,["dir"],n)})}),$=e=>(t={})=>f((n,a)=>{const s=c(n.el),o={_lang:s.lang,_t9nLocale:s.t9nLocale,_loading:!0},d=n;a.onLifecycle(()=>((e,t,n,a)=>{let s;const o=()=>r(e,t(),a).then(e=>{s?.lang===e.lang&&s.t9nLocale===e.t9nLocale&&s.t9nStrings===e.t9nStrings||n(e),s=e}).catch(e=>{(0,i.Rm)("error","intl","Error updating component locale state",{detail:{error:e}})});return queueMicrotask(o),(0,l.o)(e,["lang"],o)})(n.el,()=>e("./assets"),({t9nLocale:e,t9nStrings:t,lang:s})=>{const o={...t,_lang:s,_t9nLocale:e,_loading:!1};a.exports=o;const l=t.componentLabel;"string"==typeof l&&"label"in n&&null==n.label&&(n.label??=l),h(d.messageOverrides)},t.name));const h=e=>{const t=a.exports,n=t._original??t,s=z(n,e);e&&(s._original=n),a.exports=s};return"messageOverrides"in d&&a.onUpdate(e=>{e.has("messageOverrides")&&h(d.messageOverrides)}),t.blocking?(a.setProvisionalExports(o,!1),a.ready):o}),z=(e,t)=>{if(!t)return e;const n={...e};return Object.entries(t).forEach(([t,a])=>{void 0!==e[t]&&(n[t]="object"==typeof a?z(e[t],a):a??e[t])}),n}}}]);
@@ -1,2 +1,2 @@
1
- /*! For license information please see dc51dcaa4e2f9a90f5bd.js.LICENSE.txt */
2
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6475],{27994(t,e,s){s.d(e,{a:()=>A,b:()=>p}),Object(function(){const t=new Error("Cannot find module '../cdn/main.css'");throw t.code="MODULE_NOT_FOUND",t}());var i=s(32012),n=s(58933);function r(){const{classList:t}=document.body,e=window.matchMedia("(prefers-color-scheme: dark)").matches,s=()=>t.contains("calcite-mode-dark")||t.contains("calcite-mode-auto")&&e?"dark":"light",i=t=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:t}})),n=t=>{r!==t&&i(t),r=t};let r=s();i(r),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",t=>n(t.matches?"dark":"light")),new MutationObserver(()=>n(s())).observe(document.body,{attributes:!0,attributeFilter:["class"]})}const o=new Set,h={trace:0,debug:1,info:2,warn:4,error:8,off:10};function a(t,...e){(function(t){return"off"!==t&&h[t]>=h[p().logLevel]})(t)&&console[t]("%ccalcite","background: #007AC2; color: #fff; border-radius: 4px; padding: 2px 4px;",...e)}let c;const l={debug:(t,...e)=>a("debug",t,...e),info:(t,...e)=>a("info",t,...e),warn:(t,...e)=>a("warn",t,...e),error:(t,...e)=>a("error",t,...e),trace:(t,...e)=>a("trace",t,...e),deprecated:function(t,{component:e,name:s,suggested:i,removalVersion:n}){const r=`${t}:${"component"===t?"":e}${s}`,h="future"===n?"a future version":`v${n}`;if(o.has(r))return;o.add(r);let l="";l="component"===t?`This component is deprecated and will be removed in ${h}.`:`The [${s}] ${t} is deprecated and will be removed in ${h}.`,i&&(c=new Intl.ListFormat("en",{style:"long",type:"disjunction"}),l+=` Use ${c.format([i].flat().map(t=>`"${t}"`))} instead.`),a("warn",`[${e.el.tagName.toLocaleLowerCase().slice(8)}] - ${l}`)}};let d;const u={focusTrapStack:[],logLevel:"info"};function p(){return d||(d={...u,...globalThis.calciteConfig??{}}),d}const $="5.2.0";n.S$||("interactive"===document.readyState?r():document.addEventListener("DOMContentLoaded",r,{once:!0})),queueMicrotask(function(){const t=p();t&&t.version||(l.info(`Using Calcite Components ${$} [Date: 2026-10-20, Revision: 18bc37f6b]`),Object.defineProperty(t,"version",{value:$,writable:!1}),globalThis.calciteConfig=t)});const _=(0,i.le)({defaultAssetPath:"https://js.arcgis.com/calcite-components/5.2.0/",hydratedAttribute:"calcite-hydrated"}),f=_.setAssetPath;_.setAssetPath=t=>(A=!0,f.call(_,t));let A=!1;const{customElement:m,getAssetPath:g,setAssetPath:v}=_;s.d(e,["C",0,{rtl:"calcite--rtl",calciteAnimate:"calcite-animate",calciteAnimateInUp:"calcite-animate__in-up",calciteAnimateInDown:"calcite-animate__in-down",calciteAnimateInRight:"calcite-animate__in-right",calciteAnimateInLeft:"calcite-animate__in-left",screenReaderText:"screen-reader-text"},"D",0,{filter:250,nextTick:0,resize:150,reposition:100},"c",0,m,"g",0,g,"l",0,l,"s",0,v])},34819(t,e,s){s.d(e,{Qu:()=>i.s,qu:()=>i.a});var i=s(27994)},16823(t,e,s){s(39043)},39043(t,e,s){s.d(e,{mN:()=>S,AH:()=>a,Ec:()=>b});const i=globalThis,n=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),o=new WeakMap;class h{constructor(t,e,s){if(this._$cssResult$=!0,s!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(n&&void 0===t){const s=void 0!==e&&1===e.length;s&&(t=o.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&o.set(e,t))}return t}toString(){return this.cssText}}const a=(t,...e)=>{const s=1===t.length?t[0]:e.reduce((e,s,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[i+1],t[0]);return new h(s,t,r)},c=(t,e)=>{if(n)t.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const s of e){const e=document.createElement("style"),n=i.litNonce;void 0!==n&&e.setAttribute("nonce",n),e.textContent=s.cssText,t.appendChild(e)}},l=n?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return(t=>new h("string"==typeof t?t:t+"",void 0,r))(e)})(t):t,{is:d,defineProperty:u,getOwnPropertyDescriptor:p,getOwnPropertyNames:$,getOwnPropertySymbols:_,getPrototypeOf:f}=Object,A=globalThis,m=A.trustedTypes,g=m?m.emptyScript:"",v=A.reactiveElementPolyfillSupport,y=(t,e)=>t,E={toAttribute(t,e){switch(e){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let s=t;switch(e){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},b=(t,e)=>!d(t,e),w={attribute:!0,type:String,converter:E,reflect:!1,useDefault:!1,hasChanged:b};Symbol.metadata??=Symbol("metadata"),A.litPropertyMetadata??=new WeakMap;class S extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=w){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);void 0!==i&&u(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:n}=p(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:i,set(e){const r=i?.call(this);n?.call(this,e),this.requestUpdate(t,r,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??w}static _$Ei(){if(this.hasOwnProperty(y("elementProperties")))return;const t=f(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(y("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(y("properties"))){const t=this.properties,e=[...$(t),..._(t)];for(const s of e)this.createProperty(s,t[s])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,s]of e)this.elementProperties.set(t,s)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const s=this._$Eu(t,e);void 0!==s&&this._$Eh.set(s,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const t of s)e.unshift(l(t))}else void 0!==t&&e.push(l(t));return e}static _$Eu(t,e){const s=e.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return c(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(void 0!==i&&!0===s.reflect){const n=(void 0!==s.converter?.toAttribute?s.converter:E).toAttribute(e,s.type);this._$Em=t,null==n?this.removeAttribute(i):this.setAttribute(i,n),this._$Em=null}}_$AK(t,e){const s=this.constructor,i=s._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=s.getPropertyOptions(i),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:E;this._$Em=i;const r=n.fromAttribute(e,t.type);this[i]=r??this._$Ej?.get(i)??r,this._$Em=null}}requestUpdate(t,e,s,i=!1,n){if(void 0!==t){const r=this.constructor;if(!1===i&&(n=this[t]),s??=r.getPropertyOptions(t),!((s.hasChanged??b)(n,e)||s.useDefault&&s.reflect&&n===this._$Ej?.get(t)&&!this.hasAttribute(r._$Eu(t,s))))return;this.C(t,e,s)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:i,wrapped:n},r){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,r??e??this[t]),!0!==n||void 0!==r)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),!0===i&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,s]of t){const{wrapped:t}=s,i=this[e];!0!==t||this._$AL.has(e)||void 0===i||this.C(e,void 0,s,i)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(t=>t.hostUpdate?.()),this.update(e)):this._$EM()}catch(e){throw t=!1,this._$EM(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(t=>this._$ET(t,this[t])),this._$EM()}updated(t){}firstUpdated(t){}}S.elementStyles=[],S.shadowRootOptions={mode:"open"},S[y("elementProperties")]=new Map,S[y("finalized")]=new Map,v?.({ReactiveElement:S}),(A.reactiveElementVersions??=[]).push("2.1.2")},58887(t,e,s){var i=s(7261);const{I:n}=i.ge,r={};s.d(e,["Rt",0,t=>void 0===t.strings,"mY",0,(t,e=r)=>t._$AH=e])},66567(t,e,s){s.d(e,{WL:()=>i});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}s.d(e,["OA",0,{ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},"u$",0,t=>(...e)=>({_$litDirective$:t,values:e})])},7261(t,e,s){const i=globalThis,n=t=>t,r=i.trustedTypes,o=r?r.createPolicy("lit-html",{createHTML:t=>t}):void 0,h="$lit$",a=`lit$${Math.random().toFixed(9).slice(2)}$`,c="?"+a,l=`<${c}>`,d=document,u=()=>d.createComment(""),p=t=>null===t||"object"!=typeof t&&"function"!=typeof t,$=Array.isArray,_=t=>$(t)||"function"==typeof t?.[Symbol.iterator],f="[ \t\n\f\r]",A=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,m=/-->/g,g=/>/g,v=RegExp(`>|${f}(?:([^\\s"'>=/]+)(${f}*=${f}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),y=/'/g,E=/"/g,b=/^(?:script|style|textarea|title)$/i,w=t=>(e,...s)=>({_$litType$:t,strings:e,values:s}),S=w(1),C=w(2),T=w(3),O=Symbol.for("lit-noChange"),P=Symbol.for("lit-nothing"),U=new WeakMap,x=d.createTreeWalker(d,129);function R(t,e){if(!$(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==o?o.createHTML(e):e}const M=(t,e)=>{const s=t.length-1,i=[];let n,r=2===e?"<svg>":3===e?"<math>":"",o=A;for(let e=0;e<s;e++){const s=t[e];let c,d,u=-1,p=0;for(;p<s.length&&(o.lastIndex=p,d=o.exec(s),null!==d);)p=o.lastIndex,o===A?"!--"===d[1]?o=m:void 0!==d[1]?o=g:void 0!==d[2]?(b.test(d[2])&&(n=RegExp("</"+d[2],"g")),o=v):void 0!==d[3]&&(o=v):o===v?">"===d[0]?(o=n??A,u=-1):void 0===d[1]?u=-2:(u=o.lastIndex-d[2].length,c=d[1],o=void 0===d[3]?v:'"'===d[3]?E:y):o===E||o===y?o=v:o===m||o===g?o=A:(o=v,n=void 0);const $=o===v&&t[e+1].startsWith("/>")?" ":"";r+=o===A?s+l:u>=0?(i.push(c),s.slice(0,u)+h+s.slice(u)+a+$):s+a+(-2===u?e:$)}return[R(t,r+(t[s]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),i]};class N{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let n=0,o=0;const l=t.length-1,d=this.parts,[p,$]=M(t,e);if(this.el=N.createElement(p,s),x.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=x.nextNode())&&d.length<l;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(h)){const e=$[o++],s=i.getAttribute(t).split(a),r=/([.?@])?(.*)/.exec(e);d.push({type:1,index:n,name:r[2],strings:s,ctor:"."===r[1]?D:"?"===r[1]?j:"@"===r[1]?B:I}),i.removeAttribute(t)}else t.startsWith(a)&&(d.push({type:6,index:n}),i.removeAttribute(t));if(b.test(i.tagName)){const t=i.textContent.split(a),e=t.length-1;if(e>0){i.textContent=r?r.emptyScript:"";for(let s=0;s<e;s++)i.append(t[s],u()),x.nextNode(),d.push({type:2,index:++n});i.append(t[e],u())}}}else if(8===i.nodeType)if(i.data===c)d.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(a,t+1));)d.push({type:7,index:n}),t+=a.length-1}n++}}static createElement(t,e){const s=d.createElement("template");return s.innerHTML=t,s}}function H(t,e,s=t,i){if(e===O)return e;let n=void 0!==i?s._$Co?.[i]:s._$Cl;const r=p(e)?void 0:e._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),void 0===r?n=void 0:(n=new r(t),n._$AT(t,s,i)),void 0!==i?(s._$Co??=[])[i]=n:s._$Cl=n),void 0!==n&&(e=H(t,n._$AS(t,e.values),n,i)),e}class k{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,i=(t?.creationScope??d).importNode(e,!0);x.currentNode=i;let n=x.nextNode(),r=0,o=0,h=s[0];for(;void 0!==h;){if(r===h.index){let e;2===h.type?e=new L(n,n.nextSibling,this,t):1===h.type?e=new h.ctor(n,h.name,h.strings,this,t):6===h.type&&(e=new W(n,this,t)),this._$AV.push(e),h=s[++o]}r!==h?.index&&(n=x.nextNode(),r++)}return x.currentNode=d,i}p(t){let e=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class L{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=P,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=H(this,t,e),p(t)?t===P||null==t||""===t?(this._$AH!==P&&this._$AR(),this._$AH=P):t!==this._$AH&&t!==O&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):_(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==P&&p(this._$AH)?this._$AA.nextSibling.data=t:this.T(d.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:s}=t,i="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N.createElement(R(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new k(i,this),s=t.u(this.options);t.p(e),this.T(s),this._$AH=t}}_$AC(t){let e=U.get(t.strings);return void 0===e&&U.set(t.strings,e=new N(t)),e}k(t){$(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const n of t)i===e.length?e.push(s=new L(this.O(u()),this.O(u()),this,this.options)):s=e[i],s._$AI(n),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){const e=n(t).nextSibling;n(t).remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class I{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,n){this.type=1,this._$AH=P,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=P}_$AI(t,e=this,s,i){const n=this.strings;let r=!1;if(void 0===n)t=H(this,t,e,0),r=!p(t)||t!==this._$AH&&t!==O,r&&(this._$AH=t);else{const i=t;let o,h;for(t=n[0],o=0;o<n.length-1;o++)h=H(this,i[s+o],e,o),h===O&&(h=this._$AH[o]),r||=!p(h)||h!==this._$AH[o],h===P?t=P:t!==P&&(t+=(h??"")+n[o+1]),this._$AH[o]=h}r&&!i&&this.j(t)}j(t){t===P?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class D extends I{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===P?void 0:t}}class j extends I{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==P)}}class B extends I{constructor(t,e,s,i,n){super(t,e,s,i,n),this.type=5}_$AI(t,e=this){if((t=H(this,t,e,0)??P)===O)return;const s=this._$AH,i=t===P&&s!==P||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==P&&(s===P||i);i&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class W{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){H(this,t)}}const z={M:h,P:a,A:c,C:1,L:M,R:k,D:_,V:H,I:L,H:I,N:j,U:B,B:D,F:W},G=i.litHtmlPolyfillSupport;G?.(N,L),(i.litHtmlVersions??=[]).push("3.3.2"),s.d(e,["JW",0,C,"XX",0,(t,e,s)=>{const i=s?.renderBefore??e;let n=i._$litPart$;if(void 0===n){const t=s?.renderBefore??null;i._$litPart$=n=new L(e.insertBefore(u(),t),t,void 0,s??{})}return n._$AI(t),n},"c0",0,O,"ej",0,T,"ge",0,z,"qy",0,S,"s6",0,P])},66047(t,e,s){s(16823)},25856(t,e,s){s(16823)},10845(t,e,s){s.d(e,{H:()=>r});var i=s(7261),n=s(66567);const r=(0,n.u$)(class extends n.WL{constructor(t){if(super(t),t.type!==n.OA.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(t=>""!==t)));for(const t in e)e[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(e)}const s=t.element.classList;for(const t of this.st)t in e||(s.remove(t),this.st.delete(t));for(const t in e){const i=!!e[t];i===this.st.has(t)||this.nt?.has(t)||(i?(s.add(t),this.st.add(t)):(s.remove(t),this.st.delete(t)))}return i.c0}})},98171(t,e,s){s.d(e,{V:()=>o});var i=s(7261),n=s(66567),r=s(58887);const o=(0,n.u$)(class extends n.WL{constructor(t){if(super(t),t.type!==n.OA.PROPERTY&&t.type!==n.OA.ATTRIBUTE&&t.type!==n.OA.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!(0,r.Rt)(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===i.c0||e===i.s6)return e;const s=t.element,o=t.name;if(t.type===n.OA.PROPERTY){if(e===s[o])return i.c0}else if(t.type===n.OA.BOOLEAN_ATTRIBUTE){if(!!e===s.hasAttribute(o))return i.c0}else if(t.type===n.OA.ATTRIBUTE&&s.getAttribute(o)===e+"")return i.c0;return(0,r.mY)(t),e}})},83435(t,e,s){s.d(e,{_:()=>p,K:()=>f});var i=s(7261),n=s(58887),r=s(66567);const o=(t,e)=>{const s=t._$AN;if(void 0===s)return!1;for(const t of s)t._$AO?.(e,!1),o(t,e);return!0},h=t=>{let e,s;do{if(void 0===(e=t._$AM))break;s=e._$AN,s.delete(t),t=e}while(0===s?.size)},a=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(void 0===s)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),d(e)}};function c(t){void 0!==this._$AN?(h(this),this._$AM=t,a(this)):this._$AM=t}function l(t,e=!1,s=0){const i=this._$AH,n=this._$AN;if(void 0!==n&&0!==n.size)if(e)if(Array.isArray(i))for(let t=s;t<i.length;t++)o(i[t],!1),h(i[t]);else null!=i&&(o(i,!1),h(i));else o(this,t)}const d=t=>{t.type==r.OA.CHILD&&(t._$AP??=l,t._$AQ??=c)};class u extends r.WL{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),a(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(o(this,t),h(this))}setValue(t){if((0,n.Rt)(this._$Ct))this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}}const p=()=>new $;class ${}const _=new WeakMap,f=(0,r.u$)(class extends u{render(t){return i.s6}update(t,[e]){const s=e!==this.G;return s&&void 0!==this.G&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.G=e,this.ht=t.options?.host,this.rt(this.ct=t.element)),i.s6}rt(t){if(this.isConnected||(t=void 0),"function"==typeof this.G){const e=this.ht??globalThis;let s=_.get(e);void 0===s&&(s=new WeakMap,_.set(e,s)),void 0!==s.get(this.G)&&this.G.call(this.ht,void 0),s.set(this.G,t),void 0!==t&&this.G.call(this.ht,t)}else this.G.value=t}get lt(){return"function"==typeof this.G?_.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}})},84(t,e,s){s.d(e,{W:()=>h});var i=s(7261),n=s(66567);const r="important",o=" !"+r,h=(0,n.u$)(class extends n.WL{constructor(t){if(super(t),t.type!==n.OA.ATTRIBUTE||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,s)=>{const i=t[s];return null==i?e:e+`${s=s.includes("-")?s:s.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`},"")}update(t,[e]){const{style:s}=t.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(e)),this.render(e);for(const t of this.ft)null==e[t]&&(this.ft.delete(t),t.includes("-")?s.removeProperty(t):s[t]=null);for(const t in e){const i=e[t];if(null!=i){this.ft.add(t);const e="string"==typeof i&&i.endsWith(o);t.includes("-")||e?s.setProperty(t,e?i.slice(0,-11):i,e?r:""):s[t]=i}}return i.c0}})},58933(t,e,s){s.d(e,{WF:()=>o,AH:()=>i.AH,qy:()=>n.qy,S$:()=>!1,Ec:()=>i.Ec,s6:()=>n.s6,JW:()=>n.JW});var i=s(39043),n=s(7261);const r=globalThis;class o extends i.mN{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,n.XX)(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return n.c0}}o._$litElement$=!0,o.finalized=!0,r.litElementHydrateSupport?.({LitElement:o});const h=r.litElementPolyfillSupport;h?.({LitElement:o}),(r.litElementVersions??=[]).push("4.2.2")}}]);
1
+ /*! For license information please see c2cbe0f5e8958cf18e58.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7956],{27469(t,e,s){s.d(e,{a:()=>A,b:()=>p}),Object(function(){const t=new Error("Cannot find module '../cdn/main.css'");throw t.code="MODULE_NOT_FOUND",t}());var i=s(32012),n=s(58933);function r(){const{classList:t}=document.body,e=window.matchMedia("(prefers-color-scheme: dark)").matches,s=()=>t.contains("calcite-mode-dark")||t.contains("calcite-mode-auto")&&e?"dark":"light",i=t=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:t}})),n=t=>{r!==t&&i(t),r=t};let r=s();i(r),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",t=>n(t.matches?"dark":"light")),new MutationObserver(()=>n(s())).observe(document.body,{attributes:!0,attributeFilter:["class"]})}const o=new Set,h={trace:0,debug:1,info:2,warn:4,error:8,off:10};function a(t,...e){(function(t){return"off"!==t&&h[t]>=h[p().logLevel]})(t)&&console[t]("%ccalcite","background: #007AC2; color: #fff; border-radius: 4px; padding: 2px 4px;",...e)}let c;const l={debug:(t,...e)=>a("debug",t,...e),info:(t,...e)=>a("info",t,...e),warn:(t,...e)=>a("warn",t,...e),error:(t,...e)=>a("error",t,...e),trace:(t,...e)=>a("trace",t,...e),deprecated:function(t,{component:e,name:s,suggested:i,removalVersion:n}){const r=`${t}:${"component"===t?"":e}${s}`,h="future"===n?"a future version":`v${n}`;if(o.has(r))return;o.add(r);let l="";l="component"===t?`This component is deprecated and will be removed in ${h}.`:`The [${s}] ${t} is deprecated and will be removed in ${h}.`,i&&(c=new Intl.ListFormat("en",{style:"long",type:"disjunction"}),l+=` Use ${c.format([i].flat().map(t=>`"${t}"`))} instead.`),a("warn",`[${e.el.tagName.toLocaleLowerCase().slice(8)}] - ${l}`)}};let d;const u={focusTrapStack:[],logLevel:"info"};function p(){return d||(d={...u,...globalThis.calciteConfig??{}}),d}const $="5.2.1";n.S$||("interactive"===document.readyState?r():document.addEventListener("DOMContentLoaded",r,{once:!0})),queueMicrotask(function(){const t=p();t&&t.version||(l.info(`Using Calcite Components ${$} [Date: 2026-11-04, Revision: 48c565dff]`),Object.defineProperty(t,"version",{value:$,writable:!1}),globalThis.calciteConfig=t)});const _=(0,i.le)({defaultAssetPath:"https://js.arcgis.com/calcite-components/5.2.1/",hydratedAttribute:"calcite-hydrated"}),f=_.setAssetPath;_.setAssetPath=t=>(A=!0,f.call(_,t));let A=!1;const{customElement:m,getAssetPath:g,setAssetPath:v}=_;s.d(e,["C",0,{rtl:"calcite--rtl",calciteAnimate:"calcite-animate",calciteAnimateInUp:"calcite-animate__in-up",calciteAnimateInDown:"calcite-animate__in-down",calciteAnimateInRight:"calcite-animate__in-right",calciteAnimateInLeft:"calcite-animate__in-left",screenReaderText:"screen-reader-text"},"D",0,{filter:250,nextTick:0,resize:150,reposition:100},"c",0,m,"g",0,g,"l",0,l,"s",0,v])},42226(t,e,s){s.d(e,{Qu:()=>i.s,qu:()=>i.a});var i=s(27469)},16823(t,e,s){s(39043)},39043(t,e,s){s.d(e,{mN:()=>S,AH:()=>a,Ec:()=>b});const i=globalThis,n=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),o=new WeakMap;class h{constructor(t,e,s){if(this._$cssResult$=!0,s!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(n&&void 0===t){const s=void 0!==e&&1===e.length;s&&(t=o.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&o.set(e,t))}return t}toString(){return this.cssText}}const a=(t,...e)=>{const s=1===t.length?t[0]:e.reduce((e,s,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[i+1],t[0]);return new h(s,t,r)},c=(t,e)=>{if(n)t.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const s of e){const e=document.createElement("style"),n=i.litNonce;void 0!==n&&e.setAttribute("nonce",n),e.textContent=s.cssText,t.appendChild(e)}},l=n?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return(t=>new h("string"==typeof t?t:t+"",void 0,r))(e)})(t):t,{is:d,defineProperty:u,getOwnPropertyDescriptor:p,getOwnPropertyNames:$,getOwnPropertySymbols:_,getPrototypeOf:f}=Object,A=globalThis,m=A.trustedTypes,g=m?m.emptyScript:"",v=A.reactiveElementPolyfillSupport,y=(t,e)=>t,E={toAttribute(t,e){switch(e){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let s=t;switch(e){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},b=(t,e)=>!d(t,e),w={attribute:!0,type:String,converter:E,reflect:!1,useDefault:!1,hasChanged:b};Symbol.metadata??=Symbol("metadata"),A.litPropertyMetadata??=new WeakMap;class S extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=w){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);void 0!==i&&u(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:n}=p(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:i,set(e){const r=i?.call(this);n?.call(this,e),this.requestUpdate(t,r,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??w}static _$Ei(){if(this.hasOwnProperty(y("elementProperties")))return;const t=f(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(y("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(y("properties"))){const t=this.properties,e=[...$(t),..._(t)];for(const s of e)this.createProperty(s,t[s])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,s]of e)this.elementProperties.set(t,s)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const s=this._$Eu(t,e);void 0!==s&&this._$Eh.set(s,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const t of s)e.unshift(l(t))}else void 0!==t&&e.push(l(t));return e}static _$Eu(t,e){const s=e.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return c(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(void 0!==i&&!0===s.reflect){const n=(void 0!==s.converter?.toAttribute?s.converter:E).toAttribute(e,s.type);this._$Em=t,null==n?this.removeAttribute(i):this.setAttribute(i,n),this._$Em=null}}_$AK(t,e){const s=this.constructor,i=s._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=s.getPropertyOptions(i),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:E;this._$Em=i;const r=n.fromAttribute(e,t.type);this[i]=r??this._$Ej?.get(i)??r,this._$Em=null}}requestUpdate(t,e,s,i=!1,n){if(void 0!==t){const r=this.constructor;if(!1===i&&(n=this[t]),s??=r.getPropertyOptions(t),!((s.hasChanged??b)(n,e)||s.useDefault&&s.reflect&&n===this._$Ej?.get(t)&&!this.hasAttribute(r._$Eu(t,s))))return;this.C(t,e,s)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:i,wrapped:n},r){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,r??e??this[t]),!0!==n||void 0!==r)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),!0===i&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,s]of t){const{wrapped:t}=s,i=this[e];!0!==t||this._$AL.has(e)||void 0===i||this.C(e,void 0,s,i)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(t=>t.hostUpdate?.()),this.update(e)):this._$EM()}catch(e){throw t=!1,this._$EM(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(t=>this._$ET(t,this[t])),this._$EM()}updated(t){}firstUpdated(t){}}S.elementStyles=[],S.shadowRootOptions={mode:"open"},S[y("elementProperties")]=new Map,S[y("finalized")]=new Map,v?.({ReactiveElement:S}),(A.reactiveElementVersions??=[]).push("2.1.2")},58887(t,e,s){var i=s(7261);const{I:n}=i.ge,r={};s.d(e,["Rt",0,t=>void 0===t.strings,"mY",0,(t,e=r)=>t._$AH=e])},66567(t,e,s){s.d(e,{WL:()=>i});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}s.d(e,["OA",0,{ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},"u$",0,t=>(...e)=>({_$litDirective$:t,values:e})])},7261(t,e,s){const i=globalThis,n=t=>t,r=i.trustedTypes,o=r?r.createPolicy("lit-html",{createHTML:t=>t}):void 0,h="$lit$",a=`lit$${Math.random().toFixed(9).slice(2)}$`,c="?"+a,l=`<${c}>`,d=document,u=()=>d.createComment(""),p=t=>null===t||"object"!=typeof t&&"function"!=typeof t,$=Array.isArray,_=t=>$(t)||"function"==typeof t?.[Symbol.iterator],f="[ \t\n\f\r]",A=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,m=/-->/g,g=/>/g,v=RegExp(`>|${f}(?:([^\\s"'>=/]+)(${f}*=${f}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),y=/'/g,E=/"/g,b=/^(?:script|style|textarea|title)$/i,w=t=>(e,...s)=>({_$litType$:t,strings:e,values:s}),S=w(1),C=w(2),T=w(3),O=Symbol.for("lit-noChange"),P=Symbol.for("lit-nothing"),U=new WeakMap,x=d.createTreeWalker(d,129);function R(t,e){if(!$(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==o?o.createHTML(e):e}const M=(t,e)=>{const s=t.length-1,i=[];let n,r=2===e?"<svg>":3===e?"<math>":"",o=A;for(let e=0;e<s;e++){const s=t[e];let c,d,u=-1,p=0;for(;p<s.length&&(o.lastIndex=p,d=o.exec(s),null!==d);)p=o.lastIndex,o===A?"!--"===d[1]?o=m:void 0!==d[1]?o=g:void 0!==d[2]?(b.test(d[2])&&(n=RegExp("</"+d[2],"g")),o=v):void 0!==d[3]&&(o=v):o===v?">"===d[0]?(o=n??A,u=-1):void 0===d[1]?u=-2:(u=o.lastIndex-d[2].length,c=d[1],o=void 0===d[3]?v:'"'===d[3]?E:y):o===E||o===y?o=v:o===m||o===g?o=A:(o=v,n=void 0);const $=o===v&&t[e+1].startsWith("/>")?" ":"";r+=o===A?s+l:u>=0?(i.push(c),s.slice(0,u)+h+s.slice(u)+a+$):s+a+(-2===u?e:$)}return[R(t,r+(t[s]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),i]};class N{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let n=0,o=0;const l=t.length-1,d=this.parts,[p,$]=M(t,e);if(this.el=N.createElement(p,s),x.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=x.nextNode())&&d.length<l;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(h)){const e=$[o++],s=i.getAttribute(t).split(a),r=/([.?@])?(.*)/.exec(e);d.push({type:1,index:n,name:r[2],strings:s,ctor:"."===r[1]?D:"?"===r[1]?j:"@"===r[1]?B:I}),i.removeAttribute(t)}else t.startsWith(a)&&(d.push({type:6,index:n}),i.removeAttribute(t));if(b.test(i.tagName)){const t=i.textContent.split(a),e=t.length-1;if(e>0){i.textContent=r?r.emptyScript:"";for(let s=0;s<e;s++)i.append(t[s],u()),x.nextNode(),d.push({type:2,index:++n});i.append(t[e],u())}}}else if(8===i.nodeType)if(i.data===c)d.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(a,t+1));)d.push({type:7,index:n}),t+=a.length-1}n++}}static createElement(t,e){const s=d.createElement("template");return s.innerHTML=t,s}}function H(t,e,s=t,i){if(e===O)return e;let n=void 0!==i?s._$Co?.[i]:s._$Cl;const r=p(e)?void 0:e._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),void 0===r?n=void 0:(n=new r(t),n._$AT(t,s,i)),void 0!==i?(s._$Co??=[])[i]=n:s._$Cl=n),void 0!==n&&(e=H(t,n._$AS(t,e.values),n,i)),e}class k{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,i=(t?.creationScope??d).importNode(e,!0);x.currentNode=i;let n=x.nextNode(),r=0,o=0,h=s[0];for(;void 0!==h;){if(r===h.index){let e;2===h.type?e=new L(n,n.nextSibling,this,t):1===h.type?e=new h.ctor(n,h.name,h.strings,this,t):6===h.type&&(e=new W(n,this,t)),this._$AV.push(e),h=s[++o]}r!==h?.index&&(n=x.nextNode(),r++)}return x.currentNode=d,i}p(t){let e=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class L{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=P,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=H(this,t,e),p(t)?t===P||null==t||""===t?(this._$AH!==P&&this._$AR(),this._$AH=P):t!==this._$AH&&t!==O&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):_(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==P&&p(this._$AH)?this._$AA.nextSibling.data=t:this.T(d.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:s}=t,i="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N.createElement(R(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new k(i,this),s=t.u(this.options);t.p(e),this.T(s),this._$AH=t}}_$AC(t){let e=U.get(t.strings);return void 0===e&&U.set(t.strings,e=new N(t)),e}k(t){$(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const n of t)i===e.length?e.push(s=new L(this.O(u()),this.O(u()),this,this.options)):s=e[i],s._$AI(n),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){const e=n(t).nextSibling;n(t).remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class I{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,n){this.type=1,this._$AH=P,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=P}_$AI(t,e=this,s,i){const n=this.strings;let r=!1;if(void 0===n)t=H(this,t,e,0),r=!p(t)||t!==this._$AH&&t!==O,r&&(this._$AH=t);else{const i=t;let o,h;for(t=n[0],o=0;o<n.length-1;o++)h=H(this,i[s+o],e,o),h===O&&(h=this._$AH[o]),r||=!p(h)||h!==this._$AH[o],h===P?t=P:t!==P&&(t+=(h??"")+n[o+1]),this._$AH[o]=h}r&&!i&&this.j(t)}j(t){t===P?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class D extends I{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===P?void 0:t}}class j extends I{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==P)}}class B extends I{constructor(t,e,s,i,n){super(t,e,s,i,n),this.type=5}_$AI(t,e=this){if((t=H(this,t,e,0)??P)===O)return;const s=this._$AH,i=t===P&&s!==P||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==P&&(s===P||i);i&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class W{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){H(this,t)}}const z={M:h,P:a,A:c,C:1,L:M,R:k,D:_,V:H,I:L,H:I,N:j,U:B,B:D,F:W},G=i.litHtmlPolyfillSupport;G?.(N,L),(i.litHtmlVersions??=[]).push("3.3.2"),s.d(e,["JW",0,C,"XX",0,(t,e,s)=>{const i=s?.renderBefore??e;let n=i._$litPart$;if(void 0===n){const t=s?.renderBefore??null;i._$litPart$=n=new L(e.insertBefore(u(),t),t,void 0,s??{})}return n._$AI(t),n},"c0",0,O,"ej",0,T,"ge",0,z,"qy",0,S,"s6",0,P])},66047(t,e,s){s(16823)},25856(t,e,s){s(16823)},10845(t,e,s){s.d(e,{H:()=>r});var i=s(7261),n=s(66567);const r=(0,n.u$)(class extends n.WL{constructor(t){if(super(t),t.type!==n.OA.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(t=>""!==t)));for(const t in e)e[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(e)}const s=t.element.classList;for(const t of this.st)t in e||(s.remove(t),this.st.delete(t));for(const t in e){const i=!!e[t];i===this.st.has(t)||this.nt?.has(t)||(i?(s.add(t),this.st.add(t)):(s.remove(t),this.st.delete(t)))}return i.c0}})},98171(t,e,s){s.d(e,{V:()=>o});var i=s(7261),n=s(66567),r=s(58887);const o=(0,n.u$)(class extends n.WL{constructor(t){if(super(t),t.type!==n.OA.PROPERTY&&t.type!==n.OA.ATTRIBUTE&&t.type!==n.OA.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!(0,r.Rt)(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===i.c0||e===i.s6)return e;const s=t.element,o=t.name;if(t.type===n.OA.PROPERTY){if(e===s[o])return i.c0}else if(t.type===n.OA.BOOLEAN_ATTRIBUTE){if(!!e===s.hasAttribute(o))return i.c0}else if(t.type===n.OA.ATTRIBUTE&&s.getAttribute(o)===e+"")return i.c0;return(0,r.mY)(t),e}})},83435(t,e,s){s.d(e,{_:()=>p,K:()=>f});var i=s(7261),n=s(58887),r=s(66567);const o=(t,e)=>{const s=t._$AN;if(void 0===s)return!1;for(const t of s)t._$AO?.(e,!1),o(t,e);return!0},h=t=>{let e,s;do{if(void 0===(e=t._$AM))break;s=e._$AN,s.delete(t),t=e}while(0===s?.size)},a=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(void 0===s)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),d(e)}};function c(t){void 0!==this._$AN?(h(this),this._$AM=t,a(this)):this._$AM=t}function l(t,e=!1,s=0){const i=this._$AH,n=this._$AN;if(void 0!==n&&0!==n.size)if(e)if(Array.isArray(i))for(let t=s;t<i.length;t++)o(i[t],!1),h(i[t]);else null!=i&&(o(i,!1),h(i));else o(this,t)}const d=t=>{t.type==r.OA.CHILD&&(t._$AP??=l,t._$AQ??=c)};class u extends r.WL{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),a(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(o(this,t),h(this))}setValue(t){if((0,n.Rt)(this._$Ct))this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}}const p=()=>new $;class ${}const _=new WeakMap,f=(0,r.u$)(class extends u{render(t){return i.s6}update(t,[e]){const s=e!==this.G;return s&&void 0!==this.G&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.G=e,this.ht=t.options?.host,this.rt(this.ct=t.element)),i.s6}rt(t){if(this.isConnected||(t=void 0),"function"==typeof this.G){const e=this.ht??globalThis;let s=_.get(e);void 0===s&&(s=new WeakMap,_.set(e,s)),void 0!==s.get(this.G)&&this.G.call(this.ht,void 0),s.set(this.G,t),void 0!==t&&this.G.call(this.ht,t)}else this.G.value=t}get lt(){return"function"==typeof this.G?_.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}})},84(t,e,s){s.d(e,{W:()=>h});var i=s(7261),n=s(66567);const r="important",o=" !"+r,h=(0,n.u$)(class extends n.WL{constructor(t){if(super(t),t.type!==n.OA.ATTRIBUTE||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,s)=>{const i=t[s];return null==i?e:e+`${s=s.includes("-")?s:s.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`},"")}update(t,[e]){const{style:s}=t.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(e)),this.render(e);for(const t of this.ft)null==e[t]&&(this.ft.delete(t),t.includes("-")?s.removeProperty(t):s[t]=null);for(const t in e){const i=e[t];if(null!=i){this.ft.add(t);const e="string"==typeof i&&i.endsWith(o);t.includes("-")||e?s.setProperty(t,e?i.slice(0,-11):i,e?r:""):s[t]=i}}return i.c0}})},58933(t,e,s){s.d(e,{WF:()=>o,AH:()=>i.AH,qy:()=>n.qy,S$:()=>!1,Ec:()=>i.Ec,s6:()=>n.s6,JW:()=>n.JW});var i=s(39043),n=s(7261);const r=globalThis;class o extends i.mN{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,n.XX)(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return n.c0}}o._$litElement$=!0,o.finalized=!0,r.litElementHydrateSupport?.({LitElement:o});const h=r.litElementPolyfillSupport;h?.({LitElement:o}),(r.litElementVersions??=[]).push("4.2.2")}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2769],{69052(e,t,r){r.d(t,{hr:()=>i});var n=r(34727);class i{constructor(e,t){this.min=e,this.max=t,this.range=t-e}normalize(e,t=0,r=!1){return o(this.range,this.min,this.max,e,t,r)}clamp(e,t=0){return(0,n.qE)(e-t,this.min,this.max)+t}monotonic(e,t,r){return e<t?t:t+l(this.range,e-t,r)}minimalMonotonic(e,t,r){return o(this.range,e,e+this.range,t,r)}center(e,t,r){return t=this.monotonic(e,t,r),this.normalize((e+t)/2,r)}diff(e,t,r){return this.monotonic(e,t,r)-e}shortestSignedDiff(e,t){e=this.normalize(e);let r=(t=this.normalize(t))-e,n=t<e?this.minimalMonotonic(e,t)-e:t-this.minimalMonotonic(t,e);return Math.abs(r)<Math.abs(n)?r:n}contains(e,t,r){return t=this.minimalMonotonic(e,t),(r=this.minimalMonotonic(e,r))>e&&r<t}}function o(e,t,r,n,i=0,o=!1){return(n-=i)<t?n+=l(e,t-n):n>r&&(n-=l(e,n-r)),o&&n===r&&(n=t),n+i}function l(e,t,r=0){return Math.ceil((t-r)/e)*e+r}const s=new i(0,2*Math.PI),a=(new i(-Math.PI,Math.PI),new i(0,360));r.d(t,["ie",0,a,"uC",0,s])},18370(e,t,r){r.d(t,{z:()=>i});class n{constructor(e){this._import=e,this.module=null,this._promise=null}getImportPromise(){return this._promise??=this._import().then(async e=>(this.module=e,e)),this._promise}}function i(e){return new n(e)}},52039(e,t,r){r.d(t,{O7:()=>p,el:()=>u});var n=r(69052),i=(r(49186),r(18370)),o=r(17676),l=(r(5443),r(39829)),s=(r(82799),r(16930)),a=(r(80754),r(21325));async function u(e,t,r){Array.isArray(e)||(e=[e]),"object"==typeof t&&t&&"authMode"in t&&(r=t);let n=null;for(let t of e)n??=t?.spatialReference;if(!n)return e;let i=(0,a.Vp)(n);if(!i)return e;if(1===e.length&&"extent"===e[0]?.type){let t=e[0].clone().normalizeAsSingleGeometry(i);return["xmin"in t?t:new l.A(t)]}let[s,u]=i.valid,p=!1;for(let t of e){if(!t)continue;if("point"===t.type){p||=t.x>=u,p||=t.x<=s;continue}let{extent:e}=t;if(null==e){p=!0;break}p||=e.xmin>=u,p||=e.xmin<=s,p||=e.xmax>=u,p||=e.xmax<=s}if(!p)return e;let[{foldInto360Range:c},y]=await(0,o.qr)(Promise.all([f.getImportPromise(),m.getImportPromise()]),r),h=y.fromSpatialReference(n);return e.map(e=>{if(null==e||"mesh"===e.type)return e;let t=y.fromGeometry(e),r=y.toGeometry(c(t,h),n);return"extent"===e.type&&1===r?.rings.length?r.extent:r})}const f=(0,i.z)(()=>r.e(4144).then(()=>r(4144)).then(e=>e.load().then(()=>e))),m=(0,i.z)(()=>Promise.all([r.e(9187),r.e(8885),r.e(9117),r.e(3299),r.e(1550)]).then(()=>r(78125)));function p(e,t,r){let n=(0,a.Vp)(r);if(null==n)return e;let[i,o]=n.valid,l=2*o,s=0,u=0;t>o?s=Math.ceil(Math.abs(t-o)/l):t<i&&(s=-Math.ceil(Math.abs(t-i)/l)),e>o?u=Math.ceil(Math.abs(e-o)/l):e<i&&(u=-Math.ceil(Math.abs(e-i)/l));let f=e+(s-u)*l,m=f-t;return m>o?f-=l:m<i&&(f+=l),f}function c(e){let t=(0,a.Vp)(e);if(null==t)return null;let[r,i]=t.valid;return new n.hr(r,i)}const y=c(s.A.WGS84);c(s.A.WebMercator),r.d(t,["Y_",0,y])},80754(e,t,r){r.d(t,{kS:()=>u,kd:()=>a});var n=r(82799),i=r(16930),o=r(60408),l=r(52006);const s={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new n.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:i.A.WebMercator}),minus180Line:new n.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:i.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new n.A({paths:[[[180,-180],[180,180]]],spatialReference:i.A.WGS84}),minus180Line:new n.A({paths:[[[-180,-180],[-180,180]]],spatialReference:i.A.WGS84})}};function a(e,t){return Math.ceil((e-t)/(2*t))}function u(e,t){if((0,l.Ed)(e))for(let r of function(e){return(0,o.Bi)(e)?e.curveRings:e.curvePaths}(e))for(let e of r){if((0,l.aO)(e)){let[r,n]=e.c;r[0]+=t,n[0]+=t;continue}if((0,l.FG)(e)){let[r,n]=e.a;r[0]+=t,n[0]+=t;continue}if((0,l.n1)(e)){let[r,n,i]=e.b;r[0]+=t,n[0]+=t,i[0]+=t;continue}e[0]+=t}for(let r of function(e){return(0,o.Bi)(e)?e.rings:e.paths}(e))for(let e of r)e[0]+=t;return e}r.d(t,["j7",0,s])},41653(e,t,r){r.r(t),r.d(t,{queryModel:()=>g,queryModels:()=>d});var n=r(56507),i=r(4576),o=r(49186),l=r(91869),s=r(84952),a=r(32198),u=r(69622),f=r(91429);let m=class extends u.A{constructor(e){super(e),this.name="",this.size=0}arrayBuffer(e){return this.loadArrayBuffer(e)}};(0,a.Cg)([(0,f.MZ)({constructOnly:!0})],m.prototype,"flags",void 0),(0,a.Cg)([(0,f.MZ)({constructOnly:!0})],m.prototype,"loadArrayBuffer",void 0),(0,a.Cg)([(0,f.MZ)({constructOnly:!0})],m.prototype,"name",void 0),(0,a.Cg)([(0,f.MZ)({constructOnly:!0})],m.prototype,"size",void 0),m=(0,a.Cg)([(0,f.$K)("esri.layers.scene.ModelFileInfo")],m);let p=class extends u.A{constructor(e){super(e),this.files=[],this.format="",this.isSource=!1,this.name="",this.size=0}};(0,a.Cg)([(0,f.MZ)({constructOnly:!0})],p.prototype,"files",void 0),(0,a.Cg)([(0,f.MZ)({constructOnly:!0})],p.prototype,"format",void 0),(0,a.Cg)([(0,f.MZ)({constructOnly:!0})],p.prototype,"isSource",void 0),(0,a.Cg)([(0,f.MZ)({constructOnly:!0})],p.prototype,"name",void 0),(0,a.Cg)([(0,f.MZ)({constructOnly:!0})],p.prototype,"size",void 0),p=(0,a.Cg)([(0,f.$K)("esri.layers.scene.ModelInfo")],p);var c=r(20557),y=r(99199),h=r(97552);async function d(e,t,r,n){let a=e.infoFor3D;if(!a)throw new o.A("scenelayer:query-models-not-available","Model queries are not available without 3D object metadata",{layer:e});let{objectIdField:u,globalIdField:f}=t;if(!u||!f)throw new o.A("scenelayer:query-models-not-available","Missing required fields for model queries",{layer:e});let m=function(e,t,r,n){let i=function(e,t){let r=h.A.from(t)?.clone()??e.createQuery();return r.outFields=null,r.formatOf3DObjects=null,r.returnGeometry=!1,r}(e,t);return i.outFields=[r,n],i.returnGeometry=!1,i}(e,r,u,f),p=await t.queryFeatures(m,n);return await async function(e){let{infoFor3D:t,associatedLayer:r,options:n}=e,o=r.globalIdField,a=r.parsedUrl;if(!o||!a)return new Map;let u=await async function(e){let{options:t,infoFor3D:r,featureInfos:n}=e,o=[...n.keys()];if(t?.requestedFormat){let e=(0,c.fE)(t.requestedFormat,r.supportedFormats);return e?[{formatId:e,objectIds:o}]:[]}return await async function({options:e,infoFor3D:t,featureInfos:r,requestQuery:n,associatedLayer:o},a){let u=t.assetMapFieldRoles.parentGlobalId,f=t.assetMapFieldRoles.assetType,m=t.assetMapFieldRoles.flags,p=new Map;for(let[e,{globalId:t}]of r)t&&p.set(e,t);let d=(0,i.Am)(p.values()),g=(0,c.JZ)(t);if(!g||!d.length)return[];let M=(0,s.fj)(o.parsedUrl?.path??"",`../${g.id}`),w=!!e?.sourceOnly,A=new h.A({where:`${u} IN (${d.map(b).join(",")})`,outFields:w?[u,f,m]:[u,f],returnDistinctValues:!0,returnGeometry:!1}),{features:F}=await(0,y.s)(M,A,{query:n,signal:e?.signal}),x=new Set(a),v=new Map;for(let e of F){let t=e.getAttribute(u),r=e.getAttribute(f),n=e.getAttribute(m)??0;!r||!x.has(r)||!t||1&n||(0,l.tE)(v,t,()=>new Set).add(r)}let q=new Map;for(let[e,t]of p)for(let r of v.get(t)??[])(0,l.tE)(q,r,()=>[]).push(e);return a.map(e=>({formatId:e,objectIds:q.get(e)??[]})).filter(({objectIds:e})=>e.length>0)}(e,(0,i.Am)([...r.queryFormats,...r.editFormats]))}(e),f=new Map,m=await Promise.all(u.map(async({formatId:i,objectIds:l})=>{let s=(0,c.be)(i,t.supportedFormats),a=r.parsedUrl;if(null==s||!a||!l.length)return null;let u=(0,c._h)(i,t.supportedFormats),f=(0,c.qv)(u),m=r.createQuery();return m.objectIds=l,m.outFields=[o],m.formatOf3DObjects=i,m.returnGeometry=!0,{modelFormat:s,modelFileExtensions:f,featureSetJSON:await(0,y.e)(a.path,m,{query:e.requestQuery,signal:n?.signal},{uniqueIdFields:r.uniqueIdFields})}}));for(let t of m)t&&M(e,t.modelFormat,t.modelFileExtensions,t.featureSetJSON,f);return f}(new x(e,t,function(e){let t=new Map;for(let r of e.features){let e=r.getObjectId(),n=r.getGlobalId();null!=e&&null!=n&&t.set(e,{globalId:n})}return t}(p),a,n))}async function g(e,t,r,n){let i=n?.format;return((await d(e,t,{objectIds:[r]},{...n,requestedFormat:i,sourceOnly:null==i})).get(r)??[]).find(e=>i&&e.format===i||!i&&e.isSource)}function M({featureInfos:e,requestQuery:t,infoFor3D:r},n,i,o,s){let a=new Map;for(let e of o.assetMaps??[])(0,l.tE)(a,e.parentGlobalId,()=>[]).push(e);for(let[o,u]of e){let e=a.get(u.globalId);if(!e?.length)continue;let f=w(e,t,r);if(!f.length)continue;let m=f.reduce((e,t)=>e+t.size,0),c=F(f,i),y=!c.flags.includes("DERIVED");(0,l.tE)(s,o,()=>[]).push(new p({name:c.name,size:m,format:n,isSource:y,files:f}))}}function w(e,t,r){let n=new Map,i=({assetType:e})=>null!=(0,c.be)(e,r.supportedFormats),o=e.some(e=>i(e)&&!e.flags.includes("DERIVED"));for(let t of e)o&&i(t)&&t.flags.includes("DERIVED")||(0,l.tE)(n,t.assetName,()=>[]).push(t);let s=[];for(let[e,r]of n){r.sort((e,t)=>e.seqNo-t.seqNo);let n=r.reduce((e,t)=>e+t.size,0),i=r.map(({assetURL:e})=>e).filter(e=>!!e);i.length&&s.push(new m({name:e,size:n,flags:r[0].flags,loadArrayBuffer:e=>A(i,t,e)}))}return s}async function A(e,t,r){let i=await Promise.all(e.map(e=>(0,n.A)(e,{responseType:"array-buffer",query:t,signal:r?.signal}).then(({data:e})=>e)));return 1===i.length?i[0]:function(e){let t=e.reduce((e,t)=>e+t.byteLength,0),r=new Uint8Array(t),n=0;for(let t of e)r.set(new Uint8Array(t),n),n+=t.byteLength;return r.buffer}(i)}function F(e,t){return e.find(({name:e})=>t.some(t=>e.toLowerCase().endsWith(`.${t}`)))??e[0]}function b(e){return`'${e.replaceAll("'","''")}'`}class x{constructor(e,t,r,n,i){this.layer=e,this.associatedLayer=t,this.featureInfos=r,this.infoFor3D=n,this.options=i,this.requestQuery={...t.parsedUrl?.query,...e.customParameters,...e.apiKey?{token:e.apiKey}:{}}}}},99199(e,t,r){r.d(t,{e:()=>a,s:()=>s});var n=r(2272),i=r(80893),o=r(22671),l=r(97552);async function s(e,t,r,n){let i=await a(e,t,r,n);return o.A.fromJSON(i)}function a(e,t,r,o){let s=(0,n.Dl)(e),a={...r},u=l.A.from(t);return(0,i.eW)(s,u,u.sourceSpatialReference,a,o)}},22671(e,t,r){r.d(t,{A:()=>M});var n,i=r(32198),o=r(52106),l=r(66552),s=r(25482),a=r(4718),u=r(91429),f=r(16930),m=r(60408),p=r(65864),c=r(50498),y=r(20437),h=r(36005),d=r(43937);const g=new l.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let M=n=class extends s.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,o.A)}writeGeometryType(e,t,r,n){if(e)return void g.write(e,t,r,n);let{features:i}=this;if(i)for(let e of i)if(null!=e?.geometry)return void g.write(e.geometry.type,t,r,n)}readQueryGeometry(e,t){if(!e)return null;let r=!!e.spatialReference,n=(0,p.rS)(e);return n&&!r&&t.spatialReference&&(n.spatialReference=f.A.fromJSON(t.spatialReference)),n}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());let{features:r}=this;if(r)for(let e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new n(this.cloneProperties())}cloneProperties(){return(0,a.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){let t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){let n=t.features[r];n.geometry&&=(e?.[r])?.toJSON()||n.geometry}return t}quantize(e){let{scale:[t,r],translate:[n,i]}=e,o=this.features,l=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-n)/t),e=>Math.round((i-e)/r));for(let e=0,t=o.length;e<t;e++)l?.(o[e].geometry)||(o.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){let{geometryType:e,features:t,transform:r}=this;if(!r)return this;let{translate:[n,i],scale:[o,l]}=r,s=null,a=null;if(this.hasZ&&null!=r?.scale?.[2]){let{translate:[,,e],scale:[,,t]}=r;s=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){let{translate:[,,,e],scale:[,,,t]}=r;a=r=>null==r?r:r*t+e}let u=this._getHydrationFunction(e,e=>e*o+n,e=>i-e*l,s,a);for(let{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){let n=f.A.fromJSON(t.spatialReference),i=[];for(let t=0;t<e.length;t++){let o=e[t],l=r.fromJSON(o),s=o.geometry?.spatialReference;null!=l.geometry&&!s&&(l.geometry.spatialReference=n);let a=o.aggregateGeometries,u=l.aggregateGeometries;if(a&&null!=u)for(let e in u){let t=u[e],r=a[e]?.spatialReference;null!=t&&!r&&(t.spatialReference=n)}i.push(l)}return i}_quantizePoints(e,t,r){let n,i,o=[];for(let l=0,s=e.length;l<s;l++){let s=e[l];if(l>0){let e=t(s[0]),l=r(s[1]);(e!==n||l!==i)&&(o.push([e-n,l-i]),n=e,i=l)}else n=t(s[0]),i=r(s[1]),o.push([n,i])}return o.length>0?o:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{let n=(0,m.Bi)(e)?e.rings:e.paths,i=[];for(let e=0,o=n.length;e<o;e++){let o=n[e],l=this._quantizePoints(o,t,r);l&&i.push(l)}return i.length>0?((0,m.Bi)(e)?e.rings=i:e.paths=i,e):null}:"multipoint"===e?e=>{let n=this._quantizePoints(e.points,t,r);return n&&n.length>0?(e.points=n,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,n,i){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),n&&(e.z=n(e.z))}:"polyline"===e||"polygon"===e?e=>{let o,l,s=(0,m.Bi)(e)?e.rings:e.paths;for(let e=0,n=s.length;e<n;e++){let n=s[e];for(let e=0,i=n.length;e<i;e++){let i=n[e];e>0?(o+=i[0],l+=i[1]):(o=i[0],l=i[1]),i[0]=t(o),i[1]=r(l)}}if(n&&i)for(let e=0,t=s.length;e<t;e++){let t=s[e];for(let e=0,r=t.length;e<r;e++){let r=t[e];r[2]=n(r[2]),r[3]=i(r[3])}}else if(n)for(let e=0,t=s.length;e<t;e++){let t=s[e];for(let e=0,r=t.length;e<r;e++){let r=t[e];r[2]=n(r[2])}}else if(i)for(let e=0,t=s.length;e<t;e++){let t=s[e];for(let e=0,r=t.length;e<r;e++){let r=t[e];r[2]=i(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),n&&null!=e.zmax&&null!=e.zmin&&(e.zmax=n(e.zmax),e.zmin=n(e.zmin)),i&&null!=e.mmax&&null!=e.mmin&&(e.mmax=i(e.mmax),e.mmin=i(e.mmin))}:"multipoint"===e?e=>{let o,l,s=e.points;for(let e=0,n=s.length;e<n;e++){let n=s[e];e>0?(o+=n[0],l+=n[1]):(o=n[0],l=n[1]),n[0]=t(o),n[1]=r(l)}if(n&&i)for(let e=0,t=s.length;e<t;e++){let t=s[e];t[2]=n(t[2]),t[3]=i(t[3])}else if(n)for(let e=0,t=s.length;e<t;e++){let t=s[e];t[2]=n(t[2])}else if(i)for(let e=0,t=s.length;e<t;e++){let t=s[e];t[2]=i(t[2])}}:null}};(0,i.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],M.prototype,"displayFieldName",void 0),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],M.prototype,"exceededTransferLimit",void 0),(0,i.Cg)([(0,u.MZ)({type:[o.A],json:{write:!0}})],M.prototype,"features",void 0),(0,i.Cg)([(0,h.w)("features")],M.prototype,"readFeatures",null),(0,i.Cg)([(0,u.MZ)({type:[y.A],json:{write:!0}})],M.prototype,"fields",void 0),(0,i.Cg)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],M.prototype,"geometryType",void 0),(0,i.Cg)([(0,d.K)("geometryType")],M.prototype,"writeGeometryType",null),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],M.prototype,"hasM",void 0),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],M.prototype,"hasZ",void 0),(0,i.Cg)([(0,u.MZ)({types:c.yR,json:{write:!0}})],M.prototype,"queryGeometry",void 0),(0,i.Cg)([(0,h.w)("queryGeometry")],M.prototype,"readQueryGeometry",null),(0,i.Cg)([(0,u.MZ)({type:f.A,json:{write:!0}})],M.prototype,"spatialReference",void 0),(0,i.Cg)([(0,d.K)("spatialReference")],M.prototype,"writeSpatialReference",null),(0,i.Cg)([(0,u.MZ)({json:{write:!0}})],M.prototype,"transform",void 0),M=n=(0,i.Cg)([(0,u.$K)("esri.rest.support.FeatureSet")],M),M.prototype.toJSON.isDefaultToJSON=!0},2991(e,t,r){r.d(t,{G9:()=>u,RZ:()=>a});var n=r(39516);const i="=",o=">=",l="<=";function s(e,t,r,i){let o=i.get(e)?.type,l=i.getTimeZone(e);return`${(0,n.iA)(e)} ${t} ${(0,n.YG)(r,{type:"date"},{type:o,timeZone:l})}`}function a(e,t,r,a){if(!t||!r)return;let{startField:u,endField:f}=t,{start:m,end:p}=e;if(!m&&!p||!u&&!f)return;let c=u??f,y=f??u;if(c&&y){if(m&&p){if(m.getTime()===p.getTime())return(0,n.mA)(a,s(c,i,m,r));if(!u||!f){let e=s(c,o,m,r),t=s(c,l,p,r);return(0,n.mA)(a,(0,n.mA)(e,t))}let e=s(u,o,m,r),t=s(f,l,p,r);return(0,n.mA)(a,(0,n.mA)(e,t))}if(m)return(0,n.mA)(a,s(c,o,m,r));if(p)return(0,n.mA)(a,s(y,l,p,r))}}function u(e){let{start:t,end:r}=e;if(t||r){if(!t&&r)return`null,${r.getTime()}`;if(!r&&t)return`${t.getTime()},null`;if(r&&t)return t.getTime()===r.getTime()?`${t.getTime()}`:`${t.getTime()},${r.getTime()}`}}},2272(e,t,r){r.d(t,{Dl:()=>u,gf:()=>m,jV:()=>a,lF:()=>f});var n=r(92602),i=r(70333),o=r(4718),l=r(84952),s=r(926);function a(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function u(e){return"string"==typeof e?(0,l.An)(e):(0,o.o8)(e)}function f(e,t,r){let n={};for(let i in e){if("declaredClass"===i)continue;let o=e[i];if(null!=o&&"function"!=typeof o)if(Array.isArray(o))n[i]=o.map(e=>f(e));else if("object"==typeof o)if(o.toJSON){let e=o.toJSON(r?.[i]);n[i]=t?e:JSON.stringify(e)}else n[i]=t?o:JSON.stringify(o);else n[i]=o}return n}async function m(e,t,o){return function(e,t){return e?t&&(0,s.Qc)(e)?t:(0,s.getApiKey)(e)??i.id?.findCredential(e)?.token:null}(e,t)||(!i.id&&n.A.request.useIdentity&&await Promise.all([r.e(8673),r.e(7956),r.e(7715)]).then(()=>r(50148)),(await i.id.getCredential(e,o))?.token)}}}]);
@@ -0,0 +1,2 @@
1
+ /*! For license information please see c5bf19da62a3d31009fe.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8673],{8673(t,e,i){i.d(e,{I:()=>ft});var r=function(){return r=Object.assign||function(t){for(var e,i=1,r=arguments.length;i<r;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},r.apply(this,arguments)},o={exports:{}},n={},a={exports:{}},s={};function l(){return{"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice":!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1}}var c=/javascript\s*\:/gim;s.whiteList={"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice":!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1},s.getDefaultWhiteList=l,s.onAttr=function(t,e,i){},s.onIgnoreAttr=function(t,e,i){},s.safeAttrValue=function(t,e){return c.test(e)?"":e};var u=function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},g=function(t){return String.prototype.trimRight?t.trimRight():t.replace(/(\s*$)/g,"")},p=s,d=function(t,e){";"!==(t=g(t))[t.length-1]&&(t+=";");var i=t.length,r=!1,o=0,n=0,a="";function s(){if(!r){var i=u(t.slice(o,n)),s=i.indexOf(":");if(-1!==s){var l=u(i.slice(0,s)),c=u(i.slice(s+1));if(l){var g=e(o,a.length,l,c,i);g&&(a+=g+"; ")}}}o=n+1}for(;n<i;n++){var l=t[n];if("/"===l&&"*"===t[n+1]){var c=t.indexOf("*/",n+2);if(-1===c)break;o=(n=c+1)+1,r=!1}else"("===l?r=!0:")"===l?r=!1:";"===l?r||s():"\n"===l&&s()}return u(a)};function f(t){return null==t}function h(t){(t=function(t){var e={};for(var i in t)e[i]=t[i];return e}(t||{})).whiteList=t.whiteList||p.whiteList,t.onAttr=t.onAttr||p.onAttr,t.onIgnoreAttr=t.onIgnoreAttr||p.onIgnoreAttr,t.safeAttrValue=t.safeAttrValue||p.safeAttrValue,this.options=t}h.prototype.process=function(t){if(!(t=(t=t||"").toString()))return"";var e=this.options,i=e.whiteList,r=e.onAttr,o=e.onIgnoreAttr,n=e.safeAttrValue;return d(t,function(t,e,a,s,l){var c=i[a],u=!1;if(!0===c?u=c:"function"==typeof c?u=c(s):c instanceof RegExp&&(u=c.test(s)),!0!==u&&(u=!1),s=n(a,s)){var g,p={position:e,sourcePosition:t,source:l,isWhite:u};return u?f(g=r(a,s,p))?a+":"+s:g:f(g=o(a,s,p))?void 0:g}})};var m=h;!function(t,e){var i=s,r=m;for(var o in(e=t.exports=function(t,e){return new r(e).process(t)}).FilterCSS=r,i)e[o]=i[o]}(a,a.exports);var b=a.exports,y={indexOf:function(t,e){var i,r;if(Array.prototype.indexOf)return t.indexOf(e);for(i=0,r=t.length;i<r;i++)if(t[i]===e)return i;return-1},forEach:function(t,e,i){var r,o;if(Array.prototype.forEach)return t.forEach(e,i);for(r=0,o=t.length;r<o;r++)e.call(i,t[r],r,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(t){var e=/\s|\n|\t/.exec(t);return e?e.index:-1}},v=b.FilterCSS,w=b.getDefaultWhiteList,x=y;var k=new v;function A(t){return t.replace(O,"&lt;").replace(j,"&gt;")}var O=/</g,j=/>/g,S=/"/g,T=/&quot;/g,L=/&#([a-zA-Z0-9]*);?/gim,C=/&colon;?/gim,z=/&newline;?/gim,I=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,V=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,F=/u\s*r\s*l\s*\(.*/gi;function W(t){return t.replace(S,"&quot;")}function E(t){return t.replace(T,'"')}function P(t){return t.replace(L,function(t,e){return"x"===e[0]||"X"===e[0]?String.fromCharCode(parseInt(e.substr(1),16)):String.fromCharCode(parseInt(e,10))})}function _(t){return t.replace(C,":").replace(z," ")}function q(t){for(var e="",i=0,r=t.length;i<r;i++)e+=t.charCodeAt(i)<32?" ":t.charAt(i);return x.trim(e)}function H(t){return q(t=_(t=P(t=E(t))))}function B(t){return A(t=W(t))}n.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]},n.getDefaultWhiteList=function(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}},n.onTag=function(t,e,i){},n.onIgnoreTag=function(t,e,i){},n.onTagAttr=function(t,e,i){},n.onIgnoreTagAttr=function(t,e,i){},n.safeAttrValue=function(t,e,i,r){if(i=H(i),"href"===e||"src"===e){if("#"===(i=x.trim(i)))return"#";if("http://"!==i.substr(0,7)&&"https://"!==i.substr(0,8)&&"mailto:"!==i.substr(0,7)&&"tel:"!==i.substr(0,4)&&"data:image/"!==i.substr(0,11)&&"ftp://"!==i.substr(0,6)&&"./"!==i.substr(0,2)&&"../"!==i.substr(0,3)&&"#"!==i[0]&&"/"!==i[0])return""}else if("background"===e){if(I.lastIndex=0,I.test(i))return""}else if("style"===e){if(V.lastIndex=0,V.test(i))return"";if(F.lastIndex=0,F.test(i)&&(I.lastIndex=0,I.test(i)))return"";!1!==r&&(i=(r=r||k).process(i))}return B(i)},n.escapeHtml=A,n.escapeQuote=W,n.unescapeQuote=E,n.escapeHtmlEntities=P,n.escapeDangerHtml5Entities=_,n.clearNonPrintableCharacter=q,n.friendlyAttrValue=H,n.escapeAttrValue=B,n.onIgnoreTagStripAll=function(){return""},n.StripTagBody=function(t,e){"function"!=typeof e&&(e=function(){});var i=!Array.isArray(t),r=[],o=!1;return{onIgnoreTag:function(n,a,s){if(function(e){return!!i||-1!==x.indexOf(t,e)}(n)){if(s.isClosing){var l=s.position+10;return r.push([!1!==o?o:s.position,l]),o=!1,"[/removed]"}return o||(o=s.position),"[removed]"}return e(n,a,s)},remove:function(t){var e="",i=0;return x.forEach(r,function(r){e+=t.slice(i,r[0]),i=r[1]}),e+=t.slice(i)}}},n.stripCommentTag=function(t){for(var e="",i=0;i<t.length;){var r=t.indexOf("\x3c!--",i);if(-1===r){e+=t.slice(i);break}e+=t.slice(i,r);var o=t.indexOf("--\x3e",r);if(-1===o)break;i=o+3}return e},n.stripBlankChar=function(t){var e=t.split("");return(e=e.filter(function(t){var e=t.charCodeAt(0);return!(127===e||e<=31&&10!==e&&13!==e)})).join("")},n.cssFilter=k,n.getDefaultCSSWhiteList=w;var D={},R=y;function N(t){var e,i=R.spaceIndex(t);return e=-1===i?t.slice(1,-1):t.slice(1,i+1),"/"===(e=R.trim(e).toLowerCase()).slice(0,1)&&(e=e.slice(1)),"/"===e.slice(-1)&&(e=e.slice(0,-1)),e}function X(t){return"</"===t.slice(0,2)}var $=/[^a-zA-Z0-9\\_:.-]/gim;function M(t,e){for(;e<t.length;e++){var i=t[e];if(" "!==i)return"="===i?e:-1}}function U(t,e){for(;e<t.length;e++){var i=t[e];if(" "!==i)return"'"===i||'"'===i?e:-1}}function Z(t,e){for(;e>0;e--){var i=t[e];if(" "!==i)return"="===i?e:-1}}function G(t){return function(t){return'"'===t[0]&&'"'===t[t.length-1]||"'"===t[0]&&"'"===t[t.length-1]}(t)?t.substr(1,t.length-2):t}D.parseTag=function(t,e,i){var r="",o=0,n=!1,a=!1,s=0,l=t.length,c="",u="";t:for(s=0;s<l;s++){var g=t.charAt(s);if(!1===n){if("<"===g){n=s;continue}}else if(!1===a){if("<"===g){r+=i(t.slice(o,s)),n=s,o=s;continue}if(">"===g){r+=i(t.slice(o,n)),c=N(u=t.slice(n,s+1)),r+=e(n,r.length,c,u,X(u)),o=s+1,n=!1;continue}if('"'===g||"'"===g)for(var p=1,d=t.charAt(s-p);""===d.trim()||"="===d;){if("="===d){a=g;continue t}d=t.charAt(s-++p)}}else if(g===a){a=!1;continue}}return o<t.length&&(r+=i(t.substr(o))),r},D.parseAttr=function(t,e){var i=0,r=0,o=[],n=!1,a=t.length;function s(t,i){if(!((t=(t=R.trim(t)).replace($,"").toLowerCase()).length<1)){var r=e(t,i||"");r&&o.push(r)}}for(var l=0;l<a;l++){var c,u=t.charAt(l);if(!1!==n||"="!==u)if(!1===n||l!==r){if(/\s|\n|\t/.test(u)){if(t=t.replace(/\s|\n|\t/g," "),!1===n){if(-1===(c=M(t,l))){s(R.trim(t.slice(i,l))),n=!1,i=l+1;continue}l=c-1;continue}if(-1===(c=Z(t,l-1))){s(n,G(R.trim(t.slice(i,l)))),n=!1,i=l+1;continue}}}else{if(-1===(c=t.indexOf(u,l+1)))break;s(n,R.trim(t.slice(r+1,c))),n=!1,i=(l=c)+1}else n=t.slice(i,l),i=l+1,r='"'===t.charAt(i)||"'"===t.charAt(i)?i:U(t,l+1)}return i<t.length&&(!1===n?s(t.slice(i)):s(n,G(R.trim(t.slice(i))))),R.trim(o.join(" "))};var Q=b.FilterCSS,J=n,K=D,Y=K.parseTag,tt=K.parseAttr,et=y;function it(t){return null==t}function rt(t){(t=function(t){var e={};for(var i in t)e[i]=t[i];return e}(t||{})).stripIgnoreTag&&(t.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),t.onIgnoreTag=J.onIgnoreTagStripAll),t.whiteList||t.allowList?t.whiteList=function(t){var e={};for(var i in t)Array.isArray(t[i])?e[i.toLowerCase()]=t[i].map(function(t){return t.toLowerCase()}):e[i.toLowerCase()]=t[i];return e}(t.whiteList||t.allowList):t.whiteList=J.whiteList,t.onTag=t.onTag||J.onTag,t.onTagAttr=t.onTagAttr||J.onTagAttr,t.onIgnoreTag=t.onIgnoreTag||J.onIgnoreTag,t.onIgnoreTagAttr=t.onIgnoreTagAttr||J.onIgnoreTagAttr,t.safeAttrValue=t.safeAttrValue||J.safeAttrValue,t.escapeHtml=t.escapeHtml||J.escapeHtml,this.options=t,!1===t.css?this.cssFilter=!1:(t.css=t.css||{},this.cssFilter=new Q(t.css))}rt.prototype.process=function(t){if(!(t=(t=t||"").toString()))return"";var e=this.options,i=e.whiteList,r=e.onTag,o=e.onIgnoreTag,n=e.onTagAttr,a=e.onIgnoreTagAttr,s=e.safeAttrValue,l=e.escapeHtml,c=this.cssFilter;e.stripBlankChar&&(t=J.stripBlankChar(t)),e.allowCommentTag||(t=J.stripCommentTag(t));var u=!1;e.stripIgnoreTagBody&&(u=J.StripTagBody(e.stripIgnoreTagBody,o),o=u.onIgnoreTag);var g=Y(t,function(t,e,u,g,p){var d={sourcePosition:t,position:e,isClosing:p,isWhite:Object.prototype.hasOwnProperty.call(i,u)},f=r(u,g,d);if(!it(f))return f;if(d.isWhite){if(d.isClosing)return"</"+u+">";var h=function(t){var e=et.spaceIndex(t);if(-1===e)return{html:"",closing:"/"===t[t.length-2]};var i="/"===(t=et.trim(t.slice(e+1,-1)))[t.length-1];return i&&(t=et.trim(t.slice(0,-1))),{html:t,closing:i}}(g),m=i[u],b=tt(h.html,function(t,e){var i=-1!==et.indexOf(m,t),r=n(u,t,e,i);return it(r)?i?(e=s(u,t,e,c))?t+'="'+e+'"':t:it(r=a(u,t,e,i))?void 0:r:r});return g="<"+u,b&&(g+=" "+b),h.closing&&(g+=" /"),g+">"}return it(f=o(u,g,d))?l(g):f},l);return u&&(g=u.remove(g)),g};var ot=rt;!function(t,e){var i=n,r=D,o=ot;function a(t,e){return new o(e).process(t)}(e=t.exports=a).filterXSS=a,e.FilterXSS=o,function(){for(var t in i)e[t]=i[t];for(var o in r)e[o]=r[o]}(),"undefined"!=typeof self&&"undefined"!=typeof DedicatedWorkerGlobalScope&&self instanceof DedicatedWorkerGlobalScope&&(self.filterXSS=t.exports)}(o,o.exports);var nt=o.exports,at=["align","alink","alt","bgcolor","border","cellpadding","cellspacing","color","cols","colspan","coords","d","dir","face","height","hspace","ismap","lang","marginheight","marginwidth","multiple","nohref","noresize","noshade","nowrap","ref","rel","rev","rows","rowspan","scrolling","shape","span","summary","tabindex","title","usemap","valign","value","vlink","vspace","width"],st=["color","display","fill-opacity","font-family","font-size","font-style","font-weight","opacity","shape-rendering","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-rendering","transform","visibility"],lt=["cx","cy","r"],ct=["cx","cy","rx","ry"],ut=["x1","x2","y1","y2"],gt=["points"],pt=["rx","ry","x","y"],dt=["dx","dy","x","y"],ft=function(){function t(t,e){var i,o=this;this.arcgisWhiteList={a:["href","style","target"],abbr:["title"],animate:[],animatetransform:[],article:["style"],aside:["style"],audio:["autoplay","controls","loop","muted","preload"],b:[],blockquote:["style"],br:[],circle:lt.concat(st),clippath:[],code:["style"],dd:["style"],defs:[],del:["style"],details:["open","style"],div:["align","aria-hidden","aria-label","style"],dl:["style"],dt:["style"],ellipse:ct.concat(st),em:[],figcaption:["style"],figure:["style"],font:["color","face","size","style"],footer:["style"],g:st.slice(),h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],header:["style"],hr:[],i:[],image:[],img:["alt","border","height","src","style","width"],li:[],line:ut.concat(st),lineargradient:[],main:["style"],mark:["style"],marker:[],mask:[],nav:["style"],ol:[],p:["style"],path:["d"].concat(st),pattern:[],polygon:gt.concat(st),polyline:gt.concat(st),pre:["style"],radialgradient:[],rect:pt.concat(st),section:["style"],source:["media","src","type"],span:["aria-hidden","aria-label","style"],stop:["offset","stop-color","stop-opacity"],strong:[],sub:["style"],summary:["style"],sup:["style"],svg:["height","preserveaspectratio","viewbox","width","xmlns"].concat(st),switch:[],symbol:[],table:["border","cellpadding","cellspacing","height","style","width"],tbody:[],tr:["align","height","style","valign"],td:["align","colspan","height","nowrap","rowspan","style","valign","width"],th:["align","colspan","height","nowrap","rowspan","style","valign","width"],text:dt.concat(st),textpath:[],time:["style"],tspan:dt.concat(st),u:[],ul:[],use:[],video:["autoplay","controls","height","loop","muted","poster","preload","width"]},this.arcgisCSSWhiteList=r(r({},nt.getDefaultCSSWhiteList()),{"align-items":!0,"align-self":!0,flex:!0,"flex-basis":!0,"flex-direction":!0,"flex-flow":!0,"flex-grow":!0,"flex-shrink":!0,"flex-wrap":!0,float:!0,gap:!0,grid:!0,"grid-area":!0,"grid-auto-columns":!0,"grid-auto-flow":!0,"grid-auto-rows":!0,"grid-column":!0,"grid-column-end":!0,"grid-column-start":!0,"grid-row":!0,"grid-row-end":!0,"grid-row-start":!0,"grid-template":!0,"grid-template-areas":!0,"grid-template-columns":!0,"grid-template-rows":!0,"justify-content":!0,"justify-items":!0,"justify-self":!0,"line-height":!0,overflow:!0,"row-gap":!0}),this.allowedProtocols=["http","https","mailto","iform","tel","flow","lfmobile","arcgis-navigator","arcgis-appstudio-player","arcgis-survey123","arcgis-collector","arcgis-workforce","arcgis-explorer","arcgis-trek2there","arcgis-quickcapture","mspbi","comgooglemaps","pdfefile","pdfehttp","pdfehttps","boxapp","boxemm","awb","awbs","gropen","radarscope","clickmobile","com.salesforce.fieldservice"],this.arcgisFilterOptions={allowCommentTag:!0,onTagAttr:function(t,e,i){if("svg"===t){if("viewbox"===e)return'viewBox="'.concat(nt.escapeAttrValue(i),'"');if("preserveaspectratio"===e)return'preserveAspectRatio="'.concat(nt.escapeAttrValue(i),'"')}if(at.indexOf(e)>-1)return"".concat(e,'="').concat(nt.escapeAttrValue(i),'"')},safeAttrValue:function(t,e,i,r){return"a"===t&&"href"===e||("img"===t||"source"===t)&&"src"===e?o.sanitizeUrl(i):nt.safeAttrValue(t,e,i,r)}},this._entityMap={"&":"&#x38;","<":"&#x3C;",">":"&#x3E;",'"':"&#x22;","'":"&#x27;","/":"&#x2F;"},t&&!e?i=t:t&&e?((i=Object.create(this.arcgisFilterOptions)).css={whiteList:this.arcgisCSSWhiteList},Object.keys(t).forEach(function(e){if("whiteList"===e)i.whiteList=o._extendObjectOfArrays([o.arcgisWhiteList,t.whiteList||{}]);else if("css"===e){var r=t.css.whiteList;null!=r&&t.css instanceof Object&&Object.keys(r).forEach(function(t){return i.css.whiteList[t]=r[t]})}else i[e]=t[e]})):((i=Object.create(this.arcgisFilterOptions)).whiteList=this.arcgisWhiteList,i.css={whiteList:this.arcgisCSSWhiteList}),this.xssFilterOptions=i,this._xssFilter=new nt.FilterXSS(i)}return t.prototype.sanitize=function(t,e){switch(void 0===e&&(e={}),typeof t){case"number":return isNaN(t)||!isFinite(t)?null:t;case"boolean":return t;case"string":return this._xssFilter.process(t);case"object":return this._iterateOverObject(t,e);default:if(e.allowUndefined&&void 0===t)return;return null}},t.prototype.sanitizeUrl=function(t,e){var i=(null!=e?e:{}).isProtocolRequired,r=void 0===i||i,o=this._trim(t.substring(0,t.indexOf(":"))),n="/"===t,a=/^#/.test(t),s=o&&this.allowedProtocols.indexOf(o.toLowerCase())>-1;return n||a||s?nt.escapeAttrValue(t):o||r?"":nt.escapeAttrValue("https://".concat(t))},t.prototype.sanitizeHTMLAttribute=function(t,e,i,r){return"function"==typeof this.xssFilterOptions.safeAttrValue?this.xssFilterOptions.safeAttrValue(t,e,i,r):nt.safeAttrValue(t,e,i,r)},t.prototype.validate=function(t,e){void 0===e&&(e={});var i=this.sanitize(t,e);return{isValid:t===i,sanitized:i}},t.prototype.encodeHTML=function(t){var e=this;return String(t).replace(/[&<>"'\/]/g,function(t){return e._entityMap[t]})},t.prototype.encodeAttrValue=function(t){var e=/^[a-zA-Z0-9]$/;return String(t).replace(/[\x00-\xFF]/g,function(i,r){return e.test(i)?i:"&#x".concat(Number(t.charCodeAt(r)).toString(16),";")})},t.prototype._extendObjectOfArrays=function(t){var e={};return t.forEach(function(t){Object.keys(t).forEach(function(i){Array.isArray(t[i])&&Array.isArray(e[i])?e[i]=e[i].concat(t[i]):e[i]=t[i]})}),e},t.prototype._iterateOverObject=function(t,e){var i=this;void 0===e&&(e={});try{var r=!1,o=void 0;if(Array.isArray(t))o=t.reduce(function(t,o){var n=i.validate(o,e);return n.isValid?t.concat([o]):(r=!0,t.concat([n.sanitized]))},[]);else{if(!function(t){if("object"!=typeof t||null===t)return!1;if("[object Object]"!==Object.prototype.toString.call(t))return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t)){if(e.allowUndefined&&void 0===t)return;return null}o=Object.keys(t).reduce(function(o,n){var a=t[n],s=i.validate(a,e);return s.isValid?o[n]=a:(r=!0,o[n]=s.sanitized),o},{})}return r?o:t}catch(t){return null}},t.prototype._trim=function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},t}()}}]);
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @esri/arcgis-html-sanitizer - v4.2.0-next.2 - Wed Sep 30 2026 16:36:33 GMT-0400 (Eastern Daylight Time)
2
+ * @esri/arcgis-html-sanitizer - v4.2.0 - Fri Nov 06 2026 16:31:47 GMT-0500 (Eastern Standard Time)
3
3
  * Copyright (c) 2026 - Environmental Systems Research Institute, Inc.
4
4
  * Apache-2.0
5
5
  *