import r from"../../_virtual/_node_fs.mjs";var t,i;function n(){if(i)return t;i=1,t=e,e.sync=function(r,t){return s(n.statSync(r),t)};var n=r;function e(r,t,i){n.stat(r,function(r,n){i(r,!r&&s(n,t))})}function s(r,t){return r.isFile()&&function(r,t){var i=r.mode,n=r.uid,e=r.gid,s=void 0!==t.uid?t.uid:process.getuid&&process.getuid(),u=void 0!==t.gid?t.gid:process.getgid&&process.getgid(),o=parseInt("100",8),d=parseInt("010",8),c=parseInt("001",8),a=o|d;return i&c||i&d&&e===u||i&o&&n===s||i&a&&0===s}(r,t)}return t}export{n as __require};