@arcgis/map-components
Version:
ArcGIS Map Components
5 lines (4 loc) • 867 B
JavaScript
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
v4.33.13 */
import{u as c,v as m,w as d,x as C,z as f}from"./HX57SHRL.js";var P=t=>(...p)=>{let s=m(),e=new t(...p),o=e.exports;c(s.at(-1));let n=e.component.manager;n.W(e,o),e.watchExports(n.W.bind(n,e)),d(e);let i=[e.component,...s].reverse();return f(i,a=>a===void 0?void 0:E(e,a,o),o)},E=(t,{host:p,key:s,isReactive:e},o)=>{let n=p,i=n[s]!==t.exports,a=n[s]!==o,h=o!==t.exports;if(i&&!a&&h&&(n[s]=t.exports),p===t.component){if(e){let r=t.component.manager;a&&r.W(t,n[s]),t.onUpdate(v=>{if(v.has(s)){let x=n[s];x!==t.exports&&r.W(t,x)}})}t.O=e?void 0:s}let g=t.component.constructor.elementProperties.get(s)?.readOnly;t.watchExports(()=>{n[s]!==t.exports&&(g?C(()=>{n[s]=t.exports}):n[s]=t.exports)})};export{P as a};