/*! All material copyright GeoScene, All Rights Reserved, unless otherwise specified.
See https://js.geoscene.cn/4.33/geoscene/copyright.txt for details.
v4.33.18 */
import{u as c,v as m,w as d,x as C,z as f}from"./3VKC6PRK.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};