}functionQ(t){this.message=t||"cross-device link not permitted"}function$(t){this.message=t||"directory not empty"}functionJ(t){this.message=t||"no space left on device"}functionte(t){this.message=t||"i/o error"}functionee(t){this.message=t||"read-only file system"}functionne(t){this.message=t||"no such device"}functionre(t){this.message=t||"invalid seek"}functionoe(t){this.message=t||"operation canceled"}functionie(t){this.message=t||"not mounted"}functionse(t){this.message=t||"missing super node"}functionae(t){this.message=t||"attribute does not exist"}returnt.prototype=Error(),t.prototype.errno=-1,t.prototype.code="UNKNOWN",t.prototype.constructor=t,e.prototype=Error(),e.prototype.errno=0,e.prototype.code="OK",e.prototype.constructor=e,n.prototype=Error(),n.prototype.errno=1,n.prototype.code="EOF",n.prototype.constructor=n,r.prototype=Error(),r.prototype.errno=2,r.prototype.code="EADDRINFO",r.prototype.constructor=r,o.prototype=Error(),o.prototype.errno=3,o.prototype.code="EACCES",o.prototype.constructor=o,i.prototype=Error(),i.prototype.errno=4,i.prototype.code="EAGAIN",i.prototype.constructor=i,s.prototype=Error(),s.prototype.errno=5,s.prototype.code="EADDRINUSE",s.prototype.constructor=s,a.prototype=Error(),a.prototype.errno=6,a.prototype.code="EADDRNOTAVAIL",a.prototype.constructor=a,c.prototype=Error(),c.prototype.errno=7,c.prototype.code="EAFNOSUPPORT",c.prototype.constructor=c,u.prototype=Error(),u.prototype.errno=8,u.prototype.code="EALREADY",u.prototype.constructor=u,f.prototype=Error(),f.prototype.errno=9,f.prototype.code="EBADF",f.prototype.constructor=f,l.prototype=Error(),l.prototype.errno=10,l.prototype.code="EBUSY",l.prototype.constructor=l,p.prototype=Error(),p.prototype.errno=11,p.prototype.code="ECONNABORTED",p.prototype.constructor=p,h.prototype=Error(),h.prototype.errno=12,h.prototype.code="ECONNREFUSED",h.prototype.constructor=h,d.prototype=Error(),d.prototype.errno=13,d.prototype.code="ECONNRESET",d.prototype.constructor=d,y.prototype=Error(),y.prototype.errno=14,y.prototype.code="EDESTADDRREQ",y.prototype.constructor=y,g.prototype=Error(),g.prototype.errno=15,g.prototype.code="EFAULT",g.prototype.constructor=g,v.prototype=Error(),v.prototype.errno=16,v.prototype.code="EHOSTUNREACH",v.prototype.constructor=v,m.prototype=Error(),m.prototype.errno=17,m.prototype.code="EINTR",m.prototype.constructor=m,E.prototype=Error(),E.prototype.errno=18,E.prototype.code="EINVAL",E.prototype.constructor=E,b.prototype=Error(),b.prototype.errno=19,b.prototype.code="EISCONN",b.prototype.constructor=b,w.prototype=Error(),w.prototype.errno=20,w.prototype.code="EMFILE",w.prototype.constructor=w,x.prototype=Error(),x.prototype.errno=21,x.prototype.code="EMSGSIZE",x.prototype.constructor=x,_.prototype=Error(),_.prototype.errno=22,_.prototype.code="ENETDOWN",_.prototype.constructor=_,A.prototype=Error(),A.prototype.errno=23,A.prototype.code="ENETUNREACH",A.prototype.constructor=A,k.prototype=Error(),k.prototype.errno=24,k.prototype.code="ENFILE",k.prototype.constructor=k,O.prototype=Error(),O.prototype.errno=25,O.prototype.code="ENOBUFS",O.prototype.constructor=O,S.prototype=Error(),S.prototype.errno=26,S.prototype.code="ENOMEM",S.prototype.constructor=S,R.prototype=Error(),R.prototype.errno=27,R.prototype.code="ENOTDIR",R.prototype.constructor=R,C.prototype=Error(),C.prototype.errno=28,C.prototype.code="EISDIR",C.prototype.constructor=C,T.prototype=Error(),T.prototype.errno=29,T.prototype.code="ENONET",T.prototype.constructor=T,I.prototype=Error(),I.prototype.errno=31,I.prototype.code="ENOTCONN",I.prototype.constructor=I,D.prototype=Error(),D.prototype.errno=32,D.prototype.code="ENOTSOCK",D.prototype.constructor=D,N.prototype=Error(),N.prototype.errno=33,N.prototype.code="ENOTSUP",N.prototype.constructor=N,M.prototype=Error(),M.prototype.errno=34,M.prototype.code="ENOENT",M.prototype.constructor=M,B.prototype=Error(),B.prototype.errno=35,B.prototype.code="ENOSYS",B.prototype.constructor=B,F.prototype=Error(),F.prototype.errno=36,F.prototype.code="EPIPE",F.prototype.constructor=F,U.prototype=Error(),U.protot
}varh,d;t.get(e.id,p)}functiony(t,e,n,r,o,i,s){functiona(t,a){if(t)s(t);else{f=a;varc=void0!==i&&null!==i?i:e.position;o=c+o>n.length?o-c:o;varu=f.subarray(c,c+o);n.set(u,r),void0===i&&(e.position+=o),s(null,o)}}functionc(e,n){e?s(e):(u=n,t.get(u.data,a))}varu,f;t.get(e.id,c)}functiong(t,e,n){functionr(t,e){t?n(t):n(null,e)}e=ge(e),me(e),a(t,e,r)}functionv(t,e,n){functionr(t,e){t?n(t):n(null,e)}t.get(e.id,r)}functionm(t,e,n){functionr(e,r){e?n(e):(s=r,t.get(s.data,o))}functiono(e,r){e?n(e):(c=r,ye(c).has(u)?t.get(c[u].id,i):n(newke("a component of the path does not name an existing file")))}functioni(t,e){t?n(t):n(null,e)}e=ge(e);vars,c,u=me(e),f=ve(e);Le==u?a(t,e,i):a(t,f,r)}functionE(t,e,n,r){functiono(e){e?r(e):s(t,n,E,{ctime:Date.now()},r)}functioni(e,n){e?r(e):(E=n,E.nlinks+=1,t.put(E.id,E,o))}functionc(e){e?r(e):t.get(m[b].id,i)}functionu(e,n){e?r(e):(m=n,ye(m).has(b)?r(new_e("newpath resolves to an existing file")):(m[b]=g[h],t.put(v.data,m,c)))}functionf(e,n){e?r(e):(v=n,t.get(v.data,u))}functionl(e,n){e?r(e):(g=n,ye(g).has(h)?a(t,w,f):r(newke("a component of either path prefix does not exist")))}functionp(e,n){e?r(e):(y=n,t.get(y.data,l))}e=ge(e);varh=me(e),d=ve(e);n=ge(n);vary,g,v,m,E,b=me(n),w=ve(n);a(t,d,p)}functionb(t,e,n){functionr(e){e?n(e):(deletel[h],t.put(f.data,l,function(){vare=Date.now();s(t,d,f,{mtime:e,ctime:e},n)}))}functiono(e){e?n(e):t.delete(p.data,r)}functioni(i,a){i?n(i):(p=a,p.nlinks-=1,1>p.nlinks?t.delete(p.id,o):t.put(p.id,p,function(){s(t,e,p,{ctime:Date.now()},r)}))}functionc(e,r){e?n(e):(l=r,ye(l).has(h)?t.get(l[h].id,i):n(newke("a component of the path does not name an existing file")))}functionu(e,r){e?n(e):(f=r,t.get(f.data,c))}e=ge(e);varf,l,p,h=me(e),d=ve(e);a(t,d,u)}functionw(t,e,n){functionr(t,e){if(t)n(t);else{s=e;varr=Object.keys(s);n(null,r)}}functiono(e,o){e?n(e):(i=o,t.get(i.data,r))}e=ge(e),me(e);vari,s;a(t,e,o)}functionx(t,n,r,i){functionc(e,n){e?i(e):(h=n,t.get(h.data,u))}functionu(t,e){t?i(t):(d=e,ye(d).has(g)?i(new_e("the destination path already exists")):f())}functionf(){y=newo(void0,ze),y.nlinks+=1,y.size=n.length,y.data=n,t.put(y.id,y,p)}functionl(e){if(e)i(e);else{varn=Date.now();s(t,v,h,{mtime:n,ctime:n},i)}}functionp(n){n?i(n):(d[g]=newe(y.id,ze),t.put(h.data,d,l))}r=ge(r);varh,d,y,g=me(r),v=ve(r);Le==g?i(new_e("the destination path already exists")):a(t,v,c)}function_(t,e,n){functionr(e,r){e?n(e):(s=r,t.get(s.data,o))}functiono(e,r){e?n(e):(c=r,ye(c).has(u)?t.get(c[u].id,i):n(newke("a component of the path does not name an existing file")))}functioni(t,e){t?n(t):e.mode!=ze?n(newTe("path not a symbolic link")):n(null,e.data)}e=ge(e);vars,c,u=me(e),f=ve(e);a(t,f,r)}functionA(t,e,n,r){functiono(e,n){e?r(e):n.mode==je?r(newAe("the named file is a directory")):(f=n,t.get(f.data,i))}functioni(e,o){if(e)r(e);else{vari=newUint8Array(n);o&&i.set(o.subarray(0,n)),t.put(f.data,i,u)}}functionc(n){if(n)r(n);else{varo=Date.now();s(t,e,f,{mtime:o,ctime:o},r)}}functionu(e){e?r(e):(f.size=n,f.version+=1,t.put(f.id,f,c))}e=ge(e);varf;0>n?r(newTe("length cannot be negative")):a(t,e,o)}functionk(t,e,n,r){functiono(e,n){e?r(e):n.mode==je?r(newAe("the named file is a directory")):(u=n,t.get(u.data,i))}functioni(e,o){if(e)r(e);else{vari=newUint8Array(n);o&&i.set(o.subarray(0,n)),t.put(u.data,i,c)}}functiona(n){if(n)r(n);else{varo=Date.now();s(t,e.path,u,{mtime:o,ctime:o},r)}}functionc(e){e?r(e):(u.size=n,u.version+=1,t.put(u.id,u,a))}varu;0>n?r(newTe("length cannot be negative")):t.get(e.id,o)}functionO(t,e,n,r,o){functioni(i,a){i?o(i):s(t,e,a,{atime:n,ctime:r,mtime:r},o)}e=ge(e),"number"!=typeofn||"number"!=typeofr?o(newTe("atime and mtime must be number")):0>n||0>r?o(newTe("atime and mtime must be positive integers")):a(t,e,i)}functionS(t,e,n,r,o){functioni(i,a){i?o(i):s(t,e.path,a,{atime:n,ctime:r,mtime:r},o)}"number"!=typeofn||"number"!=typeofr?o(newTe("atime and mtime must be a number")):0>n||0>r?o(newTe("atime and mtime must be positive integers")):t.get(e.id,i)}functionR(t,e,n,