zeed 0.10.24 → 0.10.29

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.
@@ -8,9 +8,9 @@ ${o.stack}`:`${o.name||"Error"}: ${o.message}`;try{return r?JSON.stringify(o,nul
8
8
  `,`
9
9
  `).trim()}
10
10
  `;for(;i=n.exec(a);){let s=i[2]??i[3]??"";s=s.replaceAll('""','"'),o.push(s),i[4]===`
11
- `&&(r.push(o),o=[]);}return r}function Wa(e,t={}){let n=zr(e,t),r=n[0];return n.slice(1).map(o=>Object.fromEntries(o.map((i,a)=>[r[a],i])))}function Gr(e){let t;if(typeof e=="function"?t=e():P(e)?t=e:typeof e.dispose=="function"?t=e.dispose():P(e.dispose)?t=e.dispose:typeof e.cleanup=="function"?t=e.cleanup():P(e.cleanup)&&(t=e.cleanup),P(t))return t}function Be(e){let t=e;t!=null&&(ln(t)?t={name:t}:"debug"in t&&"label"in t&&(t={name:t.label,log:t}));let n=t?.name,r=t?.log??S("zeed:dispose"),o=[];function i(c){if(c!=null&&o.includes(c)){it(o,l=>l!==c);let f=Gr(c);if(P(f))return f}}function a(c){if(c!=null)return o.unshift(c),()=>i(c)}function s(c=!1){n&&r.debug(`dispose "${n}": ${o.length} entries`);let f=[];for(;o.length>0;){let l=o[0],d=i(l);if(P(d)){if(c)throw new Error(`Async disposable found: ${l} -> ${d}`);f.push(d);}}if(f.length>0)return Promise.all(f)}function u(){s(!0);}return Object.assign(s,{add:a,remove:i,track:a,untrack:i,dispose:s,disposeSync:u,sync:u,exec:s,getSize(){return o.length},isDisposed(){return o.length<=0}})}function eu(e={}){let{mode:t="fifo"}=e,n=[],r=async(i=!1)=>{for(;n.length>0;){let a=n[0];if(it(n,s=>s!==a),typeof a=="function"){let s=a();if(P(s)){if(i)throw new Error(`Expected sync only function, but found async: ${a}`);await s;}}else if(P(a)){if(i)throw new Error(`Expected sync only function, but found async: ${a}`);await a;}else throw new Error(`Unhandled disposable: ${a}`)}};return Object.assign(r,{add:i=>{t==="lifo"?n.unshift(i):n.push(i);},exec:r,getSize(){return n.length}})}function tu(e,t=0){let n=setTimeout(e,t);return ()=>{n&&(clearTimeout(n),n=void 0);}}function nu(e,t){let n=setInterval(e,t);return ()=>{n&&(clearInterval(n),n=void 0);}}function ru(e,t,n,...r){return e==null?()=>{}:(e.on?e.on(t,n,...r):e.addEventListener&&e.addEventListener(t,n,...r),()=>{e.off?e.off(t,n,...r):e.removeEventListener&&e.removeEventListener(t,n,...r);})}function su(){let e=!0;return (t,n)=>{let r=!1;if(e){e=!1;try{t(),r=!0;}finally{e=!0;}}else n!==void 0&&n();return r}}function au(){let e=!0;return async(t,n)=>{let r=!1;if(e){e=!1;try{let o=t();P(o)&&await o,r=!0;}finally{e=!0;}}else if(n!==void 0){let o=n();P(o)&&await o;}return r}}var M=class{constructor(){this.subscribers={};this.subscribersOnAny=[];this._logEmitter=S("zeed:emitter","error");this.dispose=Be();this.call=new Proxy({},{get:(t,n)=>async(...r)=>await this.emit(n,...r)});}async emit(t,...n){let r=!1;try{let o=this.subscribers[t]||[];if(this._logEmitter.debug("emit",this?.constructor?.name,t,...n,o),this.subscribersOnAny.forEach(i=>i(t,...n)),o.length>0){let i=o.map(a=>{try{return fe(a(...n))}catch(s){this._logEmitter.warn("emit warning:",s);}return null}).filter(a=>a!=null);r=!0,await Promise.all(i);}}catch(o){this._logEmitter.error("emit exception",o);}return r}onAny(t){this.subscribersOnAny.push(t);}on(t,n){let r=this.subscribers[t]||[];return r.push(n),this.subscribers[t]=r,()=>{this.off(t,n);}}onCall(t){for(let[n,r]of Object.entries(t))this.on(n,r);}once(t,n){let r=async(...o)=>(this.off(t,r),await fe(n(...o)));return this.on(t,r),()=>{this.off(t,n);}}off(t,n){return this.subscribers[t]=(this.subscribers[t]||[]).filter(r=>n&&r!==n),this}removeAllListeners(){return this.subscribers={},this}};function gu(){let e=Z().emitter;return e||(e=new M,Z().emitter=e),e}function yu(e,t){let n=Math.round(F()*100),r=[],o,i=(s,u)=>{let c={key:s,obj:u};r.push(c),o&&o();};return t?e.on?e.on(t,s=>{i(t,s);}):e.addEventListener?e.addEventListener(t,s=>{i(t,s);}):e.log.error(n,"Cannot listen to key"):e.onAny?e.onAny((s,u)=>{i(s,u);}):e.log.error(n,"cannot listen to all for",e),(s,u=!0)=>new Promise((c,f)=>{s||(s=t,s||r.length&&(s=r[0].key)),o=()=>{for(;r.length>0;){let l=r.shift();if(l.key===s)o=void 0,c(l.obj);else {if(u)continue;f(new Error(`Expected ${s}, but found ${l.key} with value=${l.obj}`));}break}},o();})}function Oe(){return Date.now()}function qr(e){return e>999?`${(e/1e3).toFixed(1)}s`:`${e.toFixed(2)}ms`}function hu(...e){for(let t of e){if(t instanceof Date)return t;if(typeof t=="string"){let n=null;if(t.includes(":"))try{n=new Date(t);}catch{}if(!(n instanceof Date)){let r=/(\d\d\d\d)-(\d\d)-(\d\d)/.exec(t);r&&(n=new Date(+r[1],+r[2]-1,+r[3],12,0));}if(n instanceof Date)return n}}}function Tn(){return typeof performance<"u"?performance.now():Date.now()}function xu(){let e=Tn();return function(){let t=Tn()-e;return qr(t)}}var _e=16;function yt(){return re(_e)}function Jr(e=yt()){return at(e,22)}function Wr(e){return at(e,22)}function Zr(e){return Qt(e,_e)}function Kr(e=yt()){return st(e,26)}function Yr(e){return st(e,26)}function Xr(e){return Xt(e,_e)}var Qr="10000000-1000-4000-8000-100000000000",eo=function(){return typeof crypto<"u"&&crypto.randomUUID!=null?crypto.randomUUID():Qr.replace(/[018]/g,e=>(e^re(1)[0]&15>>e/4).toString(16))};function to(e){let t=Ft(e);return `${t.slice(0,8)}-${t.slice(8,12)}-${t.slice(12,16)}-${t.slice(16)}`}function no(e){return Et(e.replaceAll("-",""))}var An=16e11;function ro(e){let t=new Uint8Array([0,0,0,0,0,0]),n=t.length-1;for(let r=0;r<t.length;r++){let o=e&255;t[n-r]=o,e=(e-o)/256;}return t}function Ln(){let e=Oe()-An;return new Uint8Array([...ro(e),...re(10)])}function Cu(){return io(Ln())}function Uu(e){return oo(Un(e))}function oo(e){return new Date(An+e.slice(0,6).reduce((t,n)=>t*256+n,0))}function vu(){return new Uint32Array(re(4))[0]}var mt={base62:{uuid:Jr,uuidDecode:Zr,uuidEncode:Wr},base32:{uuid:Kr,uuidDecode:Xr,uuidEncode:Yr},uuidv4:{uuid:eo,uuidDecode:no,uuidEncode:to}},$e="base62",Cn=!1;function Du(e,t=!1){$e=e,Cn=t;}function J(){return mt[$e].uuid(Cn?Ln():yt())}function Un(e){return mt[$e].uuidDecode(e)}function io(e){return mt[$e].uuidEncode(e)}function Fu(e){try{return Un(e).length===_e}catch{}return !1}var gt={};function k(e="id"){return gt[e]==null&&(gt[e]=0),`${e}-${gt[e]++}`}var so=0;function Eu(){return `id-${so++}`}var ht=class extends M{constructor(){super(...arguments);this.id=J();}close(){this.dispose();}},Ve=class extends ht{constructor(){super(...arguments);this.isConnected=!0;}postMessage(n){this.other?.emit("message",{data:n,origin:"local",lastEventId:J()});}};function Mu(){let e=new Ve,t=new Ve;return e.other=t,t.other=e,[e,t]}var vn=class{async encode(t){return t}async decode(t){return t}},ie=class{async encode(t){return He(t)}async decode(t){return ze(t)}},Dn=class{constructor(t){this.key=t;}async encode(t){let n=He(t);return await Wt(n,this.key)}async decode(t){let n=await Zt(t,this.key);return ze(n)}};function Fn(e,t,n={}){return new Proxy(n,{get:(r,o)=>o in r?r[o]:(...i)=>e(o,i,t)})}function Hu(e={}){let{name:t=k("hub"),encoder:n=new ie,retryAfter:r=1e3,ignoreUnhandled:o=!0,logLevel:i=!1}=e,a=S(t,i),s={},u,c=[],f,l={},d=()=>{clearTimeout(f);},g=async()=>{if(clearTimeout(f),u){if(u.isConnected)for(;c.length;){let x=c[0];try{u.postMessage(await n.encode(x)),c.shift();}catch(v){a.warn("postMessage",v);break}}c.length>0&&r>0&&(f=setTimeout(g,r));}},p=async x=>{a("enqueue postMessage",x),c.push(x),await g();},y=async x=>{u=x,u.on("connect",g),u.on("message",async v=>{a("onmessage",typeof v);let{name:E,args:O,id:h,result:m,error:T}=await n.decode(v.data);if(E){a(`name ${E} id ${h}`);try{if(s[E]==null)throw new Error(`handler for ${E} was not found`);let L=s[E](...O);P(L)&&(L=await L),a(`result ${L}`),h&&await p({id:h,result:L});}catch(L){let w=L instanceof Error?L:new Error(ut(L));a.warn("execution error",w.name),await p({id:h,error:{message:w.message,stack:w.stack,name:w.name}});}}else if(h)if(a(`response for id=${h}: result=${m}, error=${T}`),l[h]==null)m===void 0?a(`skip response for ${h}`):a.warn(`no response hook for ${h}`);else {let[L,w]=l[h];if(L&&w)if(delete l[h],T){let D=new Error(T.message);D.stack=T.stack,D.name=T.name,a.warn("reject",D.name),w(D);}else a("resolve",m),L(m);}else o||a.warn("Unhandled message",v);}),await g();},b=async(x,v,E={})=>{let{timeout:O=5e3}=E,h=J();return await p({name:x,args:v,id:h}),un(new Promise((m,T)=>l[h]=[m,T]),O)};return e.channel&&y(e.channel),{dispose:d,connect:y,listen(x){Object.assign(s,x);},send(){return Fn(b,{},{options(x){return Fn(b,{...x})}})}}}var xt=class extends M{constructor(n){super();this.publish=this.emit.bind(this);this.subscribe=this.on.bind(this);let{name:r,encoder:o=new ie,channel:i,debug:a=!1}=n;this.channel=i,this.encoder=o,this.debug=a,this.name=r??this.channel.id??k("pubsub"),this.log=S(`${this.shortId}`),this.debug&&(this.channel.on("connect",()=>{this.log("channel connected");}),this.channel.on("disconnect",()=>{this.log("channel disconnected");})),this.channel.on("message",async({data:s})=>{let u=await this.encoder.decode(s);if(this.debug?this.log(`channel message, event=${u?.event}, info=`,u):this.log(`channel message, event=${u?.event}`),u){let{event:c,args:f}=u;await this.emitSuper(c,...f);}});}get shortId(){return this.name.substr(0,6)}async emitSuper(n,...r){return await super.emit(n,...r)}async emit(n,...r){try{if(this.debug?this.log(`emit(${String(n)})`,n):this.log(`emit(${String(n)})`,r.length),!this.channel.isConnected)return this.log.warn("channel not connected"),!1;let o=await this.encoder.encode({event:n,args:r});return this.channel.postMessage(o),!0}catch(o){this.log.warn(`emit(${String(n)})`,o);}return !1}};function Zu(e){return new xt(e)}var En=1;var bt=e=>e,Pn=bt;function Yu(e,t){let{post:n,on:r,eventNames:o=[],serialize:i=bt,deserialize:a=Pn}=t,s=new Map;return r(async u=>{let c=a(u),[f,l,d,g]=c;if(f===1||f===2){let p,y;if(g!=null)try{let b=e[g];p=await b(...l);}catch(b){y=String(b);}else y="Method implementation missing";f===1&&d&&n(i(y?[4,y,d]:[3,p,d]));}else if(d){let p=s.get(d);p!=null&&(f===4?p.reject(l):p.resolve(l)),s.delete(d);}}),new Proxy({},{get(u,c){let f=(...d)=>{n(i([2,d,null,c]));};if(t.onlyEvents||o.includes(c))return f.asEvent=f,f;let l=(...d)=>new Promise((g,p)=>{let y=En++;s.set(y,{resolve:g,reject:p}),n(i([1,d,y,c]));});return l.asEvent=f,l}})}function Xu(e){let{post:t,on:n,serialize:r=bt,deserialize:o=Pn}=e,i=[],a={},s=new Map;n(async c=>{let f=o(c),[l,d,g,p]=f;if(l===1||l===2){let y,b;if(p!=null)try{let x=a[p];y=await x(...d);}catch(x){b=String(x);}else b="Method implementation missing";l===1&&g&&t(r(b?[4,b,g]:[3,y,g]));}else if(g){let y=s.get(g);y!=null&&(l===4?y.reject(d):y.resolve(d)),s.delete(g);}});function u(){return new Proxy({},{get(c,f){let l=(...g)=>{t(r([2,g,null,f]));};if(e.onlyEvents||i.includes(f))return l.asEvent=l,l;let d=(...g)=>new Promise((p,y)=>{let b=En++;s.set(b,{resolve:p,reject:y}),t(r([1,g,b,f]));});return d.asEvent=l,d}})}return function(c,f=[]){return Object.assign(a,c??{}),i.push(...f),u()}}var W=class extends M{constructor(n={}){super();this._isCancelled=!1;this._resetWhenFinished=!0;this._children=[];this._totalUnits=n.totalUnits??0,this._completedUnits=n.completeUnits??0,this._resetWhenFinished=n.resetWhenFinished??!0,this.name=n.name??k("progress"),this.dispose.add(async()=>{for(let r of this._children)await r.dispose();await this.emit("progressDispose",this);});}update(){this.emit("progressChanged",this),this._isCancelled&&this._resetWhenFinished&&this.getTotalUnits()<=this.getCompletedUnits()&&this.reset();}reset(){if(this._isCancelled){this._isCancelled=!1;for(let n of this._children)n.reset();this.update();}}async cancel(){if(!this._isCancelled){this._isCancelled=!0,await this.emit("progressCancelled",this);for(let n of this._children)await n.cancel();this.update();}}addChild(n){n.on("progressDispose",()=>this.removeChild(n)),n.on("progressChanged",()=>this.update()),this._children.includes(n)||this._children.push(n),this.update();}createChildProgress(n){let r=new W(n);return this.addChild(r),r}removeChild(n){Kt(this._children,n),this.update();}getTotalUnits(){if(this.isIndeterminate())return 0;let n=this._totalUnits;for(let r of this._children)n+=r.getTotalUnits();return n}getCompletedUnits(){if(this.isIndeterminate())return 0;let n=this._completedUnits;for(let r of this._children)n+=r.getCompletedUnits();return n}isIndeterminate(){return this._totalUnits<=0&&this._children.length<=0}isCancelled(){return this._isCancelled}isFinished(){return this.dispose.isDisposed()||!this.isIndeterminate()&&this.getTotalUnits()<=this.getCompletedUnits()}getFraction(){if(this.isIndeterminate())return 0;let n=this.getCompletedUnits()/this.getTotalUnits();return isNaN(n)&&(n=0),Math.min(1,Math.max(0,n))}getChildrenCount(){return this._children.length}setTotalUnits(n,r){this._totalUnits=n,r!=null&&(this._completedUnits=r),this.update();}incTotalUnits(n=1){this._totalUnits+=n,this.update();}setCompletetedUnits(n){this._completedUnits=n,this.update();}setCompleted(){this._completedUnits=this._totalUnits,this.update();}incCompletedUnits(n=1){this._completedUnits+=n,this.update();}toString(n=0){let r=`${" ".repeat(n)}${this.name}: ${this._completedUnits} of ${this._totalUnits} units, ${Math.floor(this.getFraction()*100)} %, cancel=${this._isCancelled}
11
+ `&&(r.push(o),o=[]);}return r}function Wa(e,t={}){let n=zr(e,t),r=n[0];return n.slice(1).map(o=>Object.fromEntries(o.map((i,a)=>[r[a],i])))}function Gr(e){let t;if(typeof e=="function"?t=e():P(e)?t=e:typeof e.dispose=="function"?t=e.dispose():P(e.dispose)?t=e.dispose:typeof e.cleanup=="function"?t=e.cleanup():P(e.cleanup)&&(t=e.cleanup),P(t))return t}function Be(e){let t=e;t!=null&&(ln(t)?t={name:t}:"debug"in t&&"label"in t&&(t={name:t.label,log:t}));let n=t?.name,r=t?.log??S("zeed:dispose"),o=[];function i(c){if(c!=null&&o.includes(c)){it(o,l=>l!==c);let f=Gr(c);if(P(f))return f}}function a(c){if(c!=null)return o.unshift(c),()=>i(c)}function s(c=!1){n&&r.debug(`dispose "${n}": ${o.length} entries`);let f=[];for(;o.length>0;){let l=o[0],d=i(l);if(P(d)){if(c)throw new Error(`Async disposable found: ${l} -> ${d}`);f.push(d);}}if(f.length>0)return Promise.all(f)}function u(){s(!0);}return Object.assign(s,{add:a,remove:i,track:a,untrack:i,dispose:s,disposeSync:u,sync:u,exec:s,getSize(){return o.length},isDisposed(){return o.length<=0}})}function eu(e={}){let{mode:t="fifo"}=e,n=[],r=async(i=!1)=>{for(;n.length>0;){let a=n[0];if(it(n,s=>s!==a),typeof a=="function"){let s=a();if(P(s)){if(i)throw new Error(`Expected sync only function, but found async: ${a}`);await s;}}else if(P(a)){if(i)throw new Error(`Expected sync only function, but found async: ${a}`);await a;}else throw new Error(`Unhandled disposable: ${a}`)}};return Object.assign(r,{add:i=>{t==="lifo"?n.unshift(i):n.push(i);},exec:r,getSize(){return n.length}})}function tu(e,t=0){let n=setTimeout(e,t);return ()=>{n&&(clearTimeout(n),n=void 0);}}function nu(e,t){let n=setInterval(e,t);return ()=>{n&&(clearInterval(n),n=void 0);}}function ru(e,t,n,...r){return e==null?()=>{}:(e.on?e.on(t,n,...r):e.addEventListener&&e.addEventListener(t,n,...r),()=>{e.off?e.off(t,n,...r):e.removeEventListener&&e.removeEventListener(t,n,...r);})}function su(){let e=!0;return (t,n)=>{let r=!1;if(e){e=!1;try{t(),r=!0;}finally{e=!0;}}else n!==void 0&&n();return r}}function au(){let e=!0;return async(t,n)=>{let r=!1;if(e){e=!1;try{let o=t();P(o)&&await o,r=!0;}finally{e=!0;}}else if(n!==void 0){let o=n();P(o)&&await o;}return r}}var M=class{constructor(){this.subscribers={};this.subscribersOnAny=[];this._logEmitter=S("zeed:emitter","warn");this.dispose=Be();this.call=new Proxy({},{get:(t,n)=>async(...r)=>await this.emit(n,...r)});}async emit(t,...n){let r=!1;try{let o=this.subscribers[t]||[];if(this._logEmitter.debug("emit",this?.constructor?.name,t,...n,o),this.subscribersOnAny.forEach(i=>i(t,...n)),o.length>0){let i=o.map(a=>{try{return fe(a(...n))}catch(s){this._logEmitter.warn("emit warning:",s);}return null}).filter(a=>a!=null);r=!0,await Promise.all(i);}}catch(o){this._logEmitter.error("emit exception",o);}return r}onAny(t){this.subscribersOnAny.push(t);}on(t,n){let r=this.subscribers[t]||[];return r.push(n),this.subscribers[t]=r,()=>{this.off(t,n);}}onCall(t){for(let[n,r]of Object.entries(t))this.on(n,r);}once(t,n){let r=async(...o)=>(this.off(t,r),await fe(n(...o)));return this.on(t,r),()=>{this.off(t,n);}}off(t,n){return this.subscribers[t]=(this.subscribers[t]||[]).filter(r=>n&&r!==n),this}removeAllListeners(){return this.subscribers={},this}};function gu(){let e=Z().emitter;return e||(e=new M,Z().emitter=e),e}function yu(e,t){let n=Math.round(F()*100),r=[],o,i=(s,u)=>{let c={key:s,obj:u};r.push(c),o&&o();};return t?e.on?e.on(t,s=>{i(t,s);}):e.addEventListener?e.addEventListener(t,s=>{i(t,s);}):e.log.error(n,"Cannot listen to key"):e.onAny?e.onAny((s,u)=>{i(s,u);}):e.log.error(n,"cannot listen to all for",e),(s,u=!0)=>new Promise((c,f)=>{s||(s=t,s||r.length&&(s=r[0].key)),o=()=>{for(;r.length>0;){let l=r.shift();if(l.key===s)o=void 0,c(l.obj);else {if(u)continue;f(new Error(`Expected ${s}, but found ${l.key} with value=${l.obj}`));}break}},o();})}function Oe(){return Date.now()}function qr(e){return e>999?`${(e/1e3).toFixed(1)}s`:`${e.toFixed(2)}ms`}function hu(...e){for(let t of e){if(t instanceof Date)return t;if(typeof t=="string"){let n=null;if(t.includes(":"))try{n=new Date(t);}catch{}if(!(n instanceof Date)){let r=/(\d\d\d\d)-(\d\d)-(\d\d)/.exec(t);r&&(n=new Date(+r[1],+r[2]-1,+r[3],12,0));}if(n instanceof Date)return n}}}function Tn(){return typeof performance<"u"?performance.now():Date.now()}function xu(){let e=Tn();return function(){let t=Tn()-e;return qr(t)}}var _e=16;function yt(){return re(_e)}function Jr(e=yt()){return at(e,22)}function Wr(e){return at(e,22)}function Zr(e){return Qt(e,_e)}function Kr(e=yt()){return st(e,26)}function Yr(e){return st(e,26)}function Xr(e){return Xt(e,_e)}var Qr="10000000-1000-4000-8000-100000000000",eo=function(){return typeof crypto<"u"&&crypto.randomUUID!=null?crypto.randomUUID():Qr.replace(/[018]/g,e=>(e^re(1)[0]&15>>e/4).toString(16))};function to(e){let t=Ft(e);return `${t.slice(0,8)}-${t.slice(8,12)}-${t.slice(12,16)}-${t.slice(16)}`}function no(e){return Et(e.replaceAll("-",""))}var An=16e11;function ro(e){let t=new Uint8Array([0,0,0,0,0,0]),n=t.length-1;for(let r=0;r<t.length;r++){let o=e&255;t[n-r]=o,e=(e-o)/256;}return t}function Ln(){let e=Oe()-An;return new Uint8Array([...ro(e),...re(10)])}function Cu(){return io(Ln())}function Uu(e){return oo(Un(e))}function oo(e){return new Date(An+e.slice(0,6).reduce((t,n)=>t*256+n,0))}function vu(){return new Uint32Array(re(4))[0]}var mt={base62:{uuid:Jr,uuidDecode:Zr,uuidEncode:Wr},base32:{uuid:Kr,uuidDecode:Xr,uuidEncode:Yr},uuidv4:{uuid:eo,uuidDecode:no,uuidEncode:to}},$e="base62",Cn=!1;function Du(e,t=!1){$e=e,Cn=t;}function J(){return mt[$e].uuid(Cn?Ln():yt())}function Un(e){return mt[$e].uuidDecode(e)}function io(e){return mt[$e].uuidEncode(e)}function Fu(e){try{return Un(e).length===_e}catch{}return !1}var gt={};function k(e="id"){return gt[e]==null&&(gt[e]=0),`${e}-${gt[e]++}`}var so=0;function Eu(){return `id-${so++}`}var ht=class extends M{constructor(){super(...arguments);this.id=J();}close(){this.dispose();}},Ve=class extends ht{constructor(){super(...arguments);this.isConnected=!0;}postMessage(n){this.other?.emit("message",{data:n,origin:"local",lastEventId:J()});}};function Mu(){let e=new Ve,t=new Ve;return e.other=t,t.other=e,[e,t]}var vn=class{async encode(t){return t}async decode(t){return t}},ie=class{async encode(t){return He(t)}async decode(t){return ze(t)}},Dn=class{constructor(t){this.key=t;}async encode(t){let n=He(t);return await Wt(n,this.key)}async decode(t){let n=await Zt(t,this.key);return ze(n)}};function Fn(e,t,n={}){return new Proxy(n,{get:(r,o)=>o in r?r[o]:(...i)=>e(o,i,t)})}function Hu(e={}){let{name:t=k("hub"),encoder:n=new ie,retryAfter:r=1e3,ignoreUnhandled:o=!0,logLevel:i=!1}=e,a=S(t,i),s={},u,c=[],f,l={},d=()=>{clearTimeout(f);},g=async()=>{if(clearTimeout(f),u){if(u.isConnected)for(;c.length;){let x=c[0];try{u.postMessage(await n.encode(x)),c.shift();}catch(v){a.warn("postMessage",v);break}}c.length>0&&r>0&&(f=setTimeout(g,r));}},p=async x=>{a("enqueue postMessage",x),c.push(x),await g();},y=async x=>{u=x,u.on("connect",g),u.on("message",async v=>{a("onmessage",typeof v);let{name:E,args:O,id:h,result:m,error:T}=await n.decode(v.data);if(E){a(`name ${E} id ${h}`);try{if(s[E]==null)throw new Error(`handler for ${E} was not found`);let L=s[E](...O);P(L)&&(L=await L),a(`result ${L}`),h&&await p({id:h,result:L});}catch(L){let w=L instanceof Error?L:new Error(ut(L));a.warn("execution error",w.name),await p({id:h,error:{message:w.message,stack:w.stack,name:w.name}});}}else if(h)if(a(`response for id=${h}: result=${m}, error=${T}`),l[h]==null)m===void 0?a(`skip response for ${h}`):a.warn(`no response hook for ${h}`);else {let[L,w]=l[h];if(L&&w)if(delete l[h],T){let D=new Error(T.message);D.stack=T.stack,D.name=T.name,a.warn("reject",D.name),w(D);}else a("resolve",m),L(m);}else o||a.warn("Unhandled message",v);}),await g();},b=async(x,v,E={})=>{let{timeout:O=5e3}=E,h=J();return await p({name:x,args:v,id:h}),un(new Promise((m,T)=>l[h]=[m,T]),O)};return e.channel&&y(e.channel),{dispose:d,connect:y,listen(x){Object.assign(s,x);},send(){return Fn(b,{},{options(x){return Fn(b,{...x})}})}}}var xt=class extends M{constructor(n){super();this.publish=this.emit.bind(this);this.subscribe=this.on.bind(this);let{name:r,encoder:o=new ie,channel:i,debug:a=!1}=n;this.channel=i,this.encoder=o,this.debug=a,this.name=r??this.channel.id??k("pubsub"),this.log=S(`${this.shortId}`),this.debug&&(this.channel.on("connect",()=>{this.log("channel connected");}),this.channel.on("disconnect",()=>{this.log("channel disconnected");})),this.channel.on("message",async({data:s})=>{let u=await this.encoder.decode(s);if(this.debug?this.log(`channel message, event=${u?.event}, info=`,u):this.log(`channel message, event=${u?.event}`),u){let{event:c,args:f}=u;await this.emitSuper(c,...f);}});}get shortId(){return this.name.substr(0,6)}async emitSuper(n,...r){return await super.emit(n,...r)}async emit(n,...r){try{if(this.debug?this.log(`emit(${String(n)})`,n):this.log(`emit(${String(n)})`,r.length),!this.channel.isConnected)return this.log.warn("channel not connected"),!1;let o=await this.encoder.encode({event:n,args:r});return this.channel.postMessage(o),!0}catch(o){this.log.warn(`emit(${String(n)})`,o);}return !1}};function Zu(e){return new xt(e)}var En=1;var bt=e=>e,Pn=bt;function Yu(e,t){let{post:n,on:r,eventNames:o=[],serialize:i=bt,deserialize:a=Pn}=t,s=new Map;return r(async u=>{let c=a(u),[f,l,d,g]=c;if(f===1||f===2){let p,y;if(g!=null)try{let b=e[g];p=await b(...l);}catch(b){y=String(b);}else y="Method implementation missing";f===1&&d&&n(i(y?[4,y,d]:[3,p,d]));}else if(d){let p=s.get(d);p!=null&&(f===4?p.reject(l):p.resolve(l)),s.delete(d);}}),new Proxy({},{get(u,c){let f=(...d)=>{n(i([2,d,null,c]));};if(t.onlyEvents||o.includes(c))return f.asEvent=f,f;let l=(...d)=>new Promise((g,p)=>{let y=En++;s.set(y,{resolve:g,reject:p}),n(i([1,d,y,c]));});return l.asEvent=f,l}})}function Xu(e){let{post:t,on:n,serialize:r=bt,deserialize:o=Pn}=e,i=[],a={},s=new Map;n(async c=>{let f=o(c),[l,d,g,p]=f;if(l===1||l===2){let y,b;if(p!=null)try{let x=a[p];y=await x(...d);}catch(x){b=String(x);}else b="Method implementation missing";l===1&&g&&t(r(b?[4,b,g]:[3,y,g]));}else if(g){let y=s.get(g);y!=null&&(l===4?y.reject(d):y.resolve(d)),s.delete(g);}});function u(){return new Proxy({},{get(c,f){let l=(...g)=>{t(r([2,g,null,f]));};if(e.onlyEvents||i.includes(f))return l.asEvent=l,l;let d=(...g)=>new Promise((p,y)=>{let b=En++;s.set(b,{resolve:p,reject:y}),t(r([1,g,b,f]));});return d.asEvent=l,d}})}return function(c,f=[]){return Object.assign(a,c??{}),i.push(...f),u()}}var W=class extends M{constructor(n={}){super();this._isCancelled=!1;this._resetWhenFinished=!0;this._children=[];this._totalUnits=n.totalUnits??0,this._completedUnits=n.completeUnits??0,this._resetWhenFinished=n.resetWhenFinished??!0,this.name=n.name??k("progress"),this.dispose.add(async()=>{for(let r of this._children)await r.dispose();await this.emit("progressDispose",this);});}update(){this.emit("progressChanged",this),this._isCancelled&&this._resetWhenFinished&&this.getTotalUnits()<=this.getCompletedUnits()&&this.reset();}reset(){if(this._isCancelled){this._isCancelled=!1;for(let n of this._children)n.reset();this.update();}}async cancel(){if(!this._isCancelled){this._isCancelled=!0,await this.emit("progressCancelled",this);for(let n of this._children)await n.cancel();this.update();}}addChild(n){n.on("progressDispose",()=>this.removeChild(n)),n.on("progressChanged",()=>this.update()),this._children.includes(n)||this._children.push(n),this.update();}createChildProgress(n){let r=new W(n);return this.addChild(r),r}removeChild(n){Kt(this._children,n),this.update();}getTotalUnits(){if(this.isIndeterminate())return 0;let n=this._totalUnits;for(let r of this._children)n+=r.getTotalUnits();return n}getCompletedUnits(){if(this.isIndeterminate())return 0;let n=this._completedUnits;for(let r of this._children)n+=r.getCompletedUnits();return n}isIndeterminate(){return this._totalUnits<=0&&this._children.length<=0}isCancelled(){return this._isCancelled}isFinished(){return this.dispose.isDisposed()||!this.isIndeterminate()&&this.getTotalUnits()<=this.getCompletedUnits()}getFraction(){if(this.isIndeterminate())return 0;let n=this.getCompletedUnits()/this.getTotalUnits();return isNaN(n)&&(n=0),Math.min(1,Math.max(0,n))}getChildrenCount(){return this._children.length}setTotalUnits(n,r){this._totalUnits=n,r!=null&&(this._completedUnits=r),this.update();}incTotalUnits(n=1){this._totalUnits+=n,this.update();}setCompletetedUnits(n){this._completedUnits=n,this.update();}setCompleted(){this._completedUnits=this._totalUnits,this.update();}incCompletedUnits(n=1){this._completedUnits+=n,this.update();}toString(n=0){let r=`${" ".repeat(n)}${this.name}: ${this._completedUnits} of ${this._totalUnits} units, ${Math.floor(this.getFraction()*100)} %, cancel=${this._isCancelled}
12
12
  `;for(let o of this._children)r+=o.toString(n+1);return n===0?r.trim():r}};function cc(e={}){let{maxParallel:t=3,name:n=k("pool"),idConflictResolution:r="memoize"}=e,o=new M,i=Be();i.add(v);let a=new W({name:n});a.on("progressCancelled",v);let s=0,u=0,c=0,f=0,l={};async function d(){if(s>0){let[h,m]=an();return o.once("didFinish",m),h}}async function g(){for(let h of Object.keys(l))l[h].state==="finished"&&(await l[h].progress.dispose(),delete l[h]);}function p(){o.emit("didFinish"),s=0,u=0,g(),a.reset();}function y(){let h=0,m=0;for(let{max:T,resolved:L,state:w}of Object.values(l))h+=T,m+=w==="finished"?T:Math.min(T,L);o.emit("didUpdate",s,u,h,m);}function b(){if(y(),s>0&&s===u&&p(),c>=t)return;let h=Object.values(l).filter(m=>m.state==="waiting");if(h.length>0){let m;for(let T of h)T.group!=null&&Object.values(l).some(L=>L.state==="running"&&L.id!==T.id&&L.group===T.group)||(m==null||T.priority<m.priority)&&(m=T);if(m!=null){let T=m.id,L=m.done;m.state="running",++c,o.emit("didStart",T);let w=D=>{m&&(m.result=D,m.state="finished",m.resolved=m.max,m.progress?.setCompleted()),--c,++u,b();};m.task(m).then(D=>{L(D),o.emit("didResolve",T,D),w(D);}).catch(D=>{L(),o.emit("didReject",T,D),w();});}}}function x(h){let m=l[h];m&&m.state==="waiting"&&(l[h].state="finished",++u,o.emit("didCancel",h),l[h].progress.dispose(),y());}function v(){Object.keys(l).forEach(x);}function E(h){return l[h]!=null}function O(h,m={}){let T,L=new Promise(R=>T=R),w=m.id??J();if(l[w]!=null){let R=m.idConflictResolution??r;if(R==="replace")x(w);else if(R==="memoize"||R==="prioritize"){let Tt=l[w];return R==="prioritize"&&(Tt.priority=++f),{id:w,promise:(async()=>{if(Tt.state==="finished")return l[w].result})(),dispose:()=>x(w),cancel:()=>x(w)}}else throw new Error(`Pool task with id=${w} already exists!`)}let D=new W({name:w,totalUnits:m.max??1,completeUnits:m.resolved??0});return a.addChild(D),l[w]={id:w,task:h,priority:++f,group:m.group,state:"waiting",max:m.max??1,resolved:m.resolved??0,done:T,payload:m.payload,progress:D,setMax(R){D.setTotalUnits(R),l[w].max=R,y();},setResolved(R){D.setCompletetedUnits(R),l[w].resolved=R,y();},incResolved(R=1){D.incCompletedUnits(R),l[w].resolved+=R,y();}},++s,b(),{id:w,promise:L,dispose:()=>x(w),cancel:()=>x(w)}}return {events:o,cancel:x,cancelAll:v,hasById:E,progress:a,enqueue:O,dispose:i,waitFinishAll:d}}var Rn=class extends M{constructor(n={}){super();this.queue=[];this.waitToFinish=[];this.countMax=0;this.countResolved=0;this.paused=!1;let{name:r=k("queue"),logLevel:o}=n;this.name=r,this.log=S(`zeed:queue:${r}`,o??Y);}async performNext(){if(this.log("performNext, queue.length =",this.queue.length),this.currentTask!=null){this.log("performNext => skip while another task is running");return}if(this.paused){this.log("performNext => skip while is paused");return}for(;this.currentTask==null&&!this.paused;){let n=this.queue.shift();if(this.log(`performNext => ${n?.name}`),n==null)break;this.countResolved===0&&this.emit("didStart",this.countMax);let{name:r,task:o,resolve:i}=n;this.currentTask=o();let a;try{this.log.info(`start task ${r}`),a=await this.currentTask,this.log(`finished task ${r} with result =`,a);}catch(s){this.log.warn("Error performing task",s);}i(a),this.currentTask=void 0,this.countResolved+=1,this.emit("didUpdate",this.countMax,this.countResolved);}for(this.queue.length===0&&(this.emit("didFinish"),this.countMax=0,this.countResolved=0);this.waitToFinish.length>0;)this.waitToFinish.shift()();}async enqueue(n,r={}){let{immediate:o=!1,name:i=k(this.name)}=r;return o?(this.log.info(`immediate execution ${i}`),await n()):(this.log(`enqueue ${i}`),new Promise(a=>{this.queue.push({name:i,task:n,resolve:a}),this.countMax+=1,this.emit("didUpdate",this.countMax,this.countResolved),this.performNext();}))}async enqueueReentrant(n,r={}){return this.enqueue(n,{immediate:this.currentTask!=null,name:r.name})}async cancelAll(n=!0){this.log("cancelAll"),this.emit("didCancel");let r=this.queue.map(o=>o.resolve);this.queue=[],r.forEach(o=>o(void 0)),await this.wait();}async pause(){this.log("pause"),this.paused=!0,await this.wait();}resume(){this.log("resume"),this.paused=!1,this.performNext();}async wait(){if(this.log("wait"),!(this.currentTask==null&&(this.queue.length===0||this.paused)))return new Promise(n=>{this.waitToFinish.push(n);})}get isPaused(){return this.paused}get hasTasks(){return this.queue.length!==0}};function hc(e,t={}){let{delay:n=100,trailing:r=!0,leading:o=!0}=t,i=0,a=0,s=0,u;function c(){return i?(clearTimeout(i),i=void 0,!0):!1}function f(...l){let d=Date.now(),g=d-a,p=()=>{s=0,a=Date.now(),e.apply(this,l);};if(u=p,g>n||!i){o&&(g>n?p():++s);let y=g>n?n:n-g;c(),a=d,i=setTimeout(()=>{i=0,r&&(!o||s>0)&&u?.();},y);}else ++s;}return f.cancel=c,f.stop=()=>{c()&&u&&u();},f.immediate=async function(...d){c(),a=Date.now(),e.apply(this,d);},f.dispose=()=>f.stop(),f}function xc(e,t={}){let{delay:n=100}=t,r=0,o=!1,i;function a(){r&&(clearTimeout(r),r=0);}async function s(){try{if(a(),i!=null){let f=[...i];i=void 0,o=!0,await fe(e(...f)),o=!1,i!=null&&(a(),r=setTimeout(s,n));}}catch{}}function u(...f){i=[...f],a(),o===!1&&(r=setTimeout(s,n));}async function c(...f){a(),i=[...f],await s();}return u.cancel=a,u.dispose=a,u.immediate=c,u}function wc(e=globalThis?.location?.hostname??""){return ["::ffff:127.0.0.1","localhost","127.0.0.1","","::1","::"].includes(e)||e.startsWith("192.168.")||e.startsWith("10.0.")||e.endsWith(".local")}var Sn=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function Ac(e){let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return Sn[Math.abs(t)%Sn.length]}function vc(e){let{level:t=void 0,filter:n=void 0,messages:r=[]}=e,o=K(n),i=de(t);return a=>{i(a.level)&&o(a.name)&&(a.timestamp=Oe(),r.push(a));}}var wt={cache:"no-cache",redirect:"follow",headers:{}};function ao(e){let t=/:\/\/([^@]*)@/gi.exec(e);if(t&&t[1]){let[n,r]=t[1].split(":",2);return {url:e.replace(`${t[1]}@`,""),username:n,password:r}}}async function Mn(e,t={},n=fetch){try{$(t)&&(t=Ie({},...oe(t)));let r=ao(String(e));r&&(e=r.url,t=Ie({},t,uo(r.username,r.password))),t.headers!=null&&!(t.headers instanceof Headers)&&(t.headers=new Headers(t.headers));let o=await n(String(e),t);if(o.status<400)return o;let i=S("zeed:network");try{i.warn(`Fetch of ${String(e)} returned status=${o.status}. Options:`,t),i.warn(`Response: ${await o.text()}`);}catch(a){i.error("Exception:",a);}}catch(r){S("zeed:network").error("fetchBasic",r);}}async function Rc(e,t={},n=fetch){try{let r=await Mn(e,[{method:"GET",headers:{Accept:"application/json"}},t],n);if(r)return await r.json()}catch(r){S("zeed:network").error("fetchJSON error:",r);}}async function Sc(e,t={},n=fetch){try{let r=await Mn(e,[wt,{method:"GET"},t],n);if(r)return await r.text()}catch(r){S("zeed:network").error("fetchHTML error:",r);}}function Mc(e,t="POST"){return {method:t,...wt,headers:{"Content-Type":"application/x-www-form-urlencoded; charset=utf-8"},body:xn(e)}}function Ic(e,t="POST"){return {method:t,...wt,headers:{"Content-Type":"application/json; charset=utf-8"},body:I(e)}}function uo(e,t){return {headers:{Authorization:`Basic ${se(`${e}:${t}`)}`}}}function In(){if(typeof window<"u")return window}function co(){if(typeof navigator<"u")return navigator}function Bc(){return In()??typeof WorkerGlobalScope<"u"?self:typeof global<"u"?global:Function("return this;")()}function Oc(e={ios:!1,macos:!1,windows:!1,beaker:!1,electron:!1,wkwebview:!1,pwa:!1,pwaInstalled:!1,browser:!1,node:!1,worker:!1,test:!1,jest:!1,macosNative:!1,iosNative:!1,appleNative:!1,touch:!1}){let t=co(),n=In();return e.ios=t?.platform?.match(/(iPhone|iPod|iPad)/i)!=null,e.macos=!!t?.platform?.startsWith("Mac"),e.windows=!!t?.platform?.startsWith("Win"),e.beaker=n?.beaker!=null,e.electron=(t?.userAgent?.toLowerCase()?.indexOf(" electron/")||-1)>-1&&!e.beaker,e.wkwebview=n?.webkit?.messageHandlers!=null,e.pwa=t?.serviceWorker!=null,e.pwaInstalled=t?.standalone||n?.matchMedia?.("(display-mode: standalone)")?.matches,e.node=typeof process<"u"&&process?.release?.name==="node",e.browser=!e.electron&&!e.wkwebview&&!e.node,e.worker=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,e.jest=typeof jest<"u"||typeof vitest<"u",e.test=e.jest,e.macosNative=e.wkwebview&&e.macos,e.iosNative=e.wkwebview&&e.ios,e.appleNative=e.wkwebview,e.touch=n&&"ontouchstart"in n||(t?.maxTouchPoints||0)>1||t?.msPointerEnabled&&n?.MSGesture||n?.DocumentTouch&&document instanceof DocumentTouch,e}function lo(){return typeof window<"u"&&globalThis===window}function _c(e){lo()?window.addEventListener("beforeunload",e):typeof process<"u"&&process.on("exit",()=>e);}var kn=class{constructor(t={}){this.store={};}setItem(t,n){this.store[t]=pt(n);}getItem(t){return pt(this.store[t])}removeItem(t){delete this.store[t];}clear(){this.store={};}allKeys(){return Object.keys(this.store)}};function Nc(){}
13
13
 
14
14
  export { oi as $, Hi as $a, A as $b, yn as $c, Du as $d, vt as A, it as Aa, fs as Ab, Ks as Ac, nu as Ad, ao as Ae, Dt as B, Li as Ba, rn as Bb, Ys as Bc, ru as Bd, Mn as Be, C, Ci as Ca, on as Cb, pn as Cc, su as Cd, Rc as Ce, Ro as D, gr as Da, ps as Db, Xs as Dc, au as Dd, Sc as De, Ft as E, Ui as Ea, ds as Eb, Qs as Ec, M as Ed, Mc as Ee, Et as F, yr as Fa, Se as Fb, ea as Fc, gu as Fd, Ic as Fe, se as G, Yt as Ga, gs as Gb, ta as Gc, yu as Gd, uo as Ge, So as H, vi as Ha, ct as Hb, Dr as Hc, Oe as Hd, In as He, xe as I, Di as Ia, Cr as Ib, na as Ic, qr as Id, co as Ie, Mo as J, Fi as Ja, Ur as Jb, ra as Jc, hu as Jd, Bc as Je, Pt as K, Ei as Ka, ft as Kb, oa as Kc, Tn as Kd, Oc as Ke, He as L, Pi as La, sn as Lb, Fr as Lc, xu as Ld, lo as Le, ze as M, Ri as Ma, ys as Mb, Er as Mc, yt as Md, _c as Me, Rt as N, Si as Na, ms as Nb, Ie as Nc, Jr as Nd, kn as Ne, zt as O, Mi as Oa, Re as Ob, Pr as Oc, Wr as Od, Nc as Oe, Ko as P, Ii as Pa, hs as Pb, dn as Pc, Zr as Pd, Yo as Q, hr as Qa, xs as Qb, ca as Qc, Kr as Qd, Xo as R, j as Ra, bs as Rb, fa as Rc, Yr as Rd, Qo as S, st as Sa, an as Sb, pa as Sc, Xr as Sd, ei as T, Xt as Ta, Ts as Tb, da as Tc, eo as Td, sr as U, Oi as Ua, As as Ub, ga as Uc, to as Ud, ti as V, _i as Va, Ls as Vb, ha as Vc, no as Vd, re as W, $i as Wa, Cs as Wb, xa as Wc, Ln as Wd, qt as X, Vi as Xa, un as Xb, ba as Xc, Cu as Xd, tt as Y, at as Ya, Us as Yb, ke as Yc, Uu as Yd, Gt as Z, Qt as Za, P as Zb, La as Zc, oo as Zd, ar as _, ji as _a, fe as _b, pe as _c, vu as _d, Z as a, ii as aa, xr as ab, Fs as ac, Ua as ad, J as ae, On as b, Wt as ba, zi as bb, Es as bc, va as bd, Un as be, K as c, Zt as ca, Gi as cb, Ps as cc, Da as cd, io as ce, je as d, ur as da, Wi as db, Rs as dc, Fa as dd, Fu as de, de as e, F as ea, Zi as eb, vr as ec, Ea as ed, k as ee, ge as f, ai as fa, Ki as fb, Ms as fc, Pa as fd, Eu as fe, V as g, ui as ga, br as gb, Is as gc, Ra as gd, ht as ge, G as h, ci as ha, wr as hb, ks as hc, Sa as hd, Ve as he, N as i, li as ia, Tr as ib, _s as ic, mn as id, Mu as ie, H as j, cr as ja, ut as jb, $s as jc, hn as jd, vn as je, z as k, fi as ka, Yi as kb, cn as kc, ka as kd, ie as ke, ye as l, pi as la, Xi as lb, Vs as lc, Or as ld, Dn as le, Y as m, di as ma, Qi as mb, js as mc, _a as md, Fn as me, At as n, gi as na, es as nb, Ns as nc, ja as nd, Hu as ne, Lt as o, lr as oa, Ar as ob, pt as oc, $r as od, xt as oe, Vn as p, mi as pa, ts as pb, Hs as pc, xn as pd, Zu as pe, Ct as q, rt as qa, ns as qb, zs as qc, Na as qd, Yu as qe, S as r, hi as ra, is as rb, Gs as rc, Nr as rd, Xu as re, jn as s, ot as sa, ss as sb, qs as sc, za as sd, W as se, Nn as t, fr as ta, as as tb, B as tc, wn as td, cc as te, Ut as u, pr as ua, us as ub, dt as uc, Ja as ud, Rn as ue, Do as v, oe as va, cs as vb, $ as vc, zr as vd, hc as ve, I as w, dr as wa, tn as wb, Me as wc, Wa as wd, xc as we, Fo as x, Ti as xa, lt as xb, Zs as xc, Be as xd, wc as xe, Gn as y, Kt as ya, nn as yb, ln as yc, eu as yd, Ac as ye, qn as z, Ai as za, Lr as zb, fn as zc, tu as zd, vc as ze };
15
15
  //# sourceMappingURL=out.js.map
16
- //# sourceMappingURL=chunk-2IDTNM4B.js.map
16
+ //# sourceMappingURL=chunk-SCJZAW47.js.map