import{aG as g}from"./index-03b6134d.js";function C(h,c,a,t,o){return(n,s)=>{switch(h){case"scene":{const e=g(t,n,s);a.sceneChange(e.path,e.value);break}case"entity":{const e=s===void 0?t[n]:s;a.entityChange(c,n,e);break}case"component":{const e=s===void 0?t[n]:s;a.componentChange(c,n,e);break}case"asset":{const e=s===void 0?t[n]:s;a.assetChange(c,n,e,o);break}}}}export{C as c};
