use-async-legacy-6ec257e8-1734950731618.js 809 B

1
  1. System.register(["./index-legacy-4630884d-1734950731618.js","./index-legacy-a561af25-1734950731618.js"],(function(e,t){"use strict";var r,a,n;return{setters:[e=>{r=e.a,a=e.q},e=>{n=e.S}],execute:function(){e("g",(e=>{const t=r(),c=new n(t.path).get(t.path);a((()=>{e(c)}))})),e("a",((e,t="current",r)=>{const a=new n(r.path);a.update({[t]:e},void 0,"form"),a.get(r.path)})),e("i",(e=>{const t=r();if(!e.current)return;e.key||(e.key="form"),e.saveKey||(e.saveKey=t.path);const c=new n(e.saveKey),s=c.get(e.saveKey),o=e.current,y=s[e.key];for(const r in y)if(Object.prototype.hasOwnProperty.call(o,r)){const e=y[r];o[r]=e}c.update({...o},void 0,e.key),a((()=>{e.callBack&&e.callBack(o)}))})),e("s",(e=>{e.current&&e.saveKey&&(e.key||(e.key="form"),new n(e.saveKey).update({...e.current},void 0,e.key))}))}}}));