@teambit/mdx 0.0.664 → 0.0.665
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.
- package/artifacts/__bit_junit.xml +5 -5
- package/artifacts/env-template/public/793.js +1 -1
- package/artifacts/env-template/public/806.js +1 -0
- package/artifacts/env-template/public/assets-manifest.json +8 -8
- package/artifacts/env-template/public/{compositions.4fd92b6b5cdbdccaefdf.js → compositions.155cb6d1a1ab29617817.js} +1 -1
- package/artifacts/env-template/public/compositions.html +1 -1
- package/artifacts/env-template/public/{overview.35d8cf446ab99dee65e4.js → overview.3d582225ca360fe0a5ab.js} +1 -1
- package/artifacts/env-template/public/overview.html +1 -1
- package/artifacts/env-template/public/preview-root.5c47f3ce980d3396ddd8.js +1 -0
- package/artifacts/env-template/public/service-worker.js +1 -1
- package/artifacts/preview/teambit_mdx_mdx-preview.js +1 -1
- package/{compositions-1647973488567.js → compositions-1648006106088.js} +0 -0
- package/{overview-1647973488567.js → overview-1648006106088.js} +0 -0
- package/package-tar/teambit-mdx-0.0.665.tgz +0 -0
- package/package.json +18 -18
- package/{preview-1647973488567.js → preview-1648006106088.js} +2 -2
- package/artifacts/env-template/public/118.js +0 -1
- package/artifacts/env-template/public/preview-root.a81f96989dd3f9c4d51f.js +0 -1
- package/package-tar/teambit-mdx-0.0.664.tgz +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(self.webpackChunk_teambit_legacy=self.webpackChunk_teambit_legacy||[]).push([[793,703],{81254:(e,t,n)=>{"use strict";function a(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(4516));function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},o.apply(this,arguments)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var c=r.default.createContext({}),u=function(e){var t=r.default.useContext(c),n=t;return e&&(n="function"===typeof e?e(t):d(d({},t),e)),n},p={inlineCode:"code",wrapper:function(e){var t=e.children;return r.default.createElement(r.default.Fragment,{},t)}},g=r.default.forwardRef((function(e,t){var n=e.components,a=e.mdxType,i=e.originalType,o=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),c=u(n),g=a,f=c["".concat(o,".").concat(g)]||c[g]||p[g]||i;return n?r.default.createElement(f,d(d({ref:t},s),{},{components:n})):r.default.createElement(f,d({ref:t},s))}));g.displayName="MDXCreateElement",t.MDXContext=c,t.MDXProvider=function(e){var t=u(e.components);return r.default.createElement(c.Provider,{value:t},e.children)},t.mdx=function(e,t){var n=arguments,a=t&&t.mdxType;if("string"===typeof e||a){var i=n.length,o=new Array(i);o[0]=g;var s={};for(var d in t)hasOwnProperty.call(t,d)&&(s[d]=t[d]);s.originalType=e,s.mdxType="string"===typeof e?e:a,o[1]=s;for(var l=2;l<i;l++)o[l]=n[l];return r.default.createElement.apply(null,o)}return r.default.createElement.apply(null,n)},t.useMDXComponents=u,t.withMDXComponents=function(e){return function(t){var n=u(t.components);return r.default.createElement(e,o({},t,{components:n}))}}},79744:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n(59394))},40461:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(98554);t.NodeFS=a.NodeFS,function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n(90786))},98554:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(26470),i=a(n(591)),o=a(n(90786));t.NodeFS=class{constructor(e){this.workingDir=e,this.promises=new o.default}getPath(e){return r.join(this.workingDir,e)}access(e,t,n){i.default.access(this.getPath(e),t,n)}accessSync(e,t){i.default.accessSync(this.getPath(e),t)}appendFile(e,t,n,a){i.default.appendFile(this.getPath(e),t,n)}appendFileSync(e,t,n){i.default.appendFileSync(this.getPath(e),t,n)}chmod(e,t,n){i.default.chmod(this.getPath(e),t,n)}chmodSync(e,t){i.default.chmodSync(this.getPath(e),t)}chown(e,t,n,a){i.default.chown(this.getPath(e),t,n,a)}chownSync(e,t,n){i.default.chownSync(this.getPath(e),t,n)}close(e,t){i.default.close(e,t)}closeSync(e){i.default.closeSync(e)}copyFile(e,t,n){i.default.copyFile(e,t,n)}copyFileSync(e,t,n){i.default.copyFileSync(e,t,n)}createReadStream(e,t){return i.default.createReadStream(this.getPath(e),t)}createWriteStream(e,t){return i.default.createWriteStream(this.getPath(e),t)}exists(e,t){i.default.exists(this.getPath(e),t)}existsSync(e){return i.default.existsSync(this.getPath(e))}fchmod(e,t,n){i.default.fchmod(e,t,n)}fchmodSync(e,t){i.default.fchmodSync(e,t)}fchown(e,t,n,a){i.default.fchown(e,t,n,a)}fchownSync(e,t,n){i.default.fchownSync(e,t,n)}fdatasync(e,t){i.default.fdatasync(e,t)}fdatasyncSync(e){i.default.fdatasyncSync(e)}fstat(e,t){i.default.fstat(e,t)}fstatSync(e){return i.default.fstatSync(e)}fsync(e,t){i.default.fsync(e,t)}fsyncSync(e){i.default.fsyncSync(e)}ftruncate(e,t,n){i.default.ftruncate(e,t,n)}ftruncateSync(e,t){i.default.ftruncateSync(e,t)}futimes(e,t,n,a){i.default.futimes(e,t,n,a)}futimesSync(e,t,n){i.default.futimesSync(e,t,n)}lchmod(e,t,n){i.default.lchmod(this.getPath(e),t,n)}lchmodSync(e,t){i.default.lchmodSync(this.getPath(e),t)}lchown(e,t,n,a){i.default.lchown(this.getPath(e),t,n,a)}lchownSync(e,t,n){i.default.lchownSync(this.getPath(e),t,n)}link(e,t,n){i.default.link(e,t,n)}linkSync(e,t){i.default.linkSync(e,t)}lstat(e,t){i.default.lstat(this.getPath(e),t)}lstatSync(e){return i.default.lstatSync(e)}mkdir(e,t,n){i.default.mkdir(this.getPath(e),t,n)}mkdirSync(e,t){i.default.mkdirSync(this.getPath(e),t)}mkdtemp(e,t,n){i.default.mkdtemp(e,t,n)}mkdtempSync(e,t){return i.default.mkdtempSync(e,t)}open(e,t,n,a){i.default.open(this.getPath(e),t,n,a)}openSync(e,t,n){return i.default.openSync(this.getPath(e),t,n)}read(e,t,n,a,r,o){i.default.read(e,t,n,a,r,o)}readFile(e,t,n){}readFileSync(e,t){return i.default.readFileSync(this.getPath(e))}readSync(e,t,n,a,r){return i.default.readSync(e,t,n,a,r)}readdir(e,t,n){i.default.readdir(this.getPath(e),t,n)}readdirSync(e,t){return i.default.readdirSync(this.getPath(e),t)}readlink(e,t,n){i.default.readlink(this.getPath(e),t,n)}readlinkSync(e,t){return i.default.readlinkSync(this.getPath(e),t)}realpath(e,t,n){i.default.realpath(this.getPath(e),t,n)}realpathSync(e,t){return i.default.realpathSync(this.getPath(e),t)}rename(e,t,n){i.default.rename(e,t,n)}renameSync(e,t){i.default.renameSync(e,t)}rmdir(e,t){i.default.rmdir(this.getPath(e),t)}rmdirSync(e){i.default.rmdirSync(this.getPath(e))}stat(e,t){i.default.stat(this.getPath(e),t)}statSync(e){return i.default.statSync(e)}symlink(e,t,n,a){i.default.symlink(e,this.getPath(t),n,a)}symlinkSync(e,t,n){i.default.symlinkSync(e,this.getPath(t),n)}truncate(e,t,n){i.default.truncate(this.getPath(e),t,n)}truncateSync(e,t){i.default.truncateSync(this.getPath(e),t)}unlink(e,t){i.default.unlink(this.getPath(e),t)}unlinkSync(e){i.default.unlinkSync(this.getPath(e))}unwatchFile(e,t){i.default.unwatchFile(e,t)}utimes(e,t,n,a){i.default.utimes(this.getPath(e),t,n,a)}utimesSync(e,t,n){i.default.utimesSync(this.getPath(e),t,n)}watch(e,t,n){return i.default.watch(e,t,n)}watchFile(e,t,n){i.default.watchFile(e,t,n)}writeFile(e,t,n,a){i.default.writeFile(this.getPath(e),t,n)}writeFileSync(e,t,n){i.default.writeFileSync(this.getPath(e),t,n)}writeSync(e,t,n,a,r){return i.default.writeSync(e,t,n,a,r)}write(e,t,n,a,r,i){this.write(e,t,n,a,r,i)}}},90786:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(591));t.default=class{access(e,t){return r.default.promises.access(e,t)}appendFile(e,t,n){return r.default.promises.appendFile(e,t)}chmod(e,t){return r.default.promises.chmod(e,t)}chown(e,t,n){return r.default.promises.chown(e,t,n)}copyFile(e,t,n){return r.default.promises.copyFile(e,t,n)}fchmod(e,t){return r.default.promises.fchmod(e,t)}fchown(e,t,n){return r.default.promises.fchown(e,t,n)}fdatasync(e){return r.default.promises.fdatasync(e)}fstat(e){return r.default.promises.fstat(e)}fsync(e){return r.default.promises.fsync(e)}ftruncate(e,t){return r.default.promises.ftruncate(e,t)}futimes(e,t,n){return r.default.promises.futimes(e,t,n)}lchmod(e,t){return r.default.promises.lchmod(e,t)}lchown(e,t,n){return r.default.promises.lchown(e,t,n)}link(e,t){return r.default.promises.link(e,t)}lstat(e){return r.default.promises.lstat(e)}mkdir(e,t){return r.default.promises.mkdir(e,t)}mkdtemp(e,t){return r.default.promises.mkdtemp(e,t)}open(e,t,n){return r.default.promises.open(e,t,n)}read(e,t,n,a,i){return r.default.promises.read(e,t,n,a,i)}readFile(e,t){return r.default.promises.readFile(e,t)}readdir(e,t){return r.default.promises.readdir(e,t)}readlink(e,t){return r.default.promises.readlink(e,t)}realpath(e,t){return r.default.promises.realpath(e,t)}rename(e,t){return r.default.promises.rename(e,t)}rmdir(e){return r.default.promises.rmdir(e)}stat(e){return r.default.promises.stat(e)}symlink(e,t,n){return r.default.promises.symlink(e,t,n)}truncate(e,t){return r.default.promises.truncate(e,t)}unlink(e){return r.default.promises.unlink(e)}utimes(e,t,n){return r.default.promises.utimes(e,t,n)}write(e,t,n,a,i){r.default.promises.write(e,t,n,a)}writeFile(e,t,n){return r.default.promises.writeFile(e,t,n)}}},59394:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(40461)),a(n(48682))},48682:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n(95590))},95590:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(66612);t.MemoryFS=class{constructor(){this.volume=new a.Volume,this.promises=this.volume.promises}access(e,t,n){this.volume.access(e,t,n)}accessSync(e,t){this.volume.accessSync(e,t)}appendFile(e,t,n,a){this.volume.appendFile(e,t,n)}mkdirpSync(e){this.volume.mkdirpSync(e)}appendFileSync(e,t,n){this.volume.appendFileSync(e,t,n)}chmod(e,t,n){this.volume.chmod(e,t,n)}chmodSync(e,t){this.volume.chmodSync(e,t)}chown(e,t,n,a){this.volume.chown(e,t,n,a)}chownSync(e,t,n){this.volume.chownSync(e,t,n)}close(e,t){this.volume.close(e,t)}closeSync(e){this.volume.closeSync(e)}copyFile(e,t,n){this.volume.copyFile(e,t,n)}copyFileSync(e,t,n){this.volume.copyFileSync(e,t,n)}createReadStream(e,t){return this.volume.createReadStream(e,t)}createWriteStream(e,t){return this.volume.createWriteStream(e,t)}exists(e,t){this.volume.exists(e,t)}existsSync(e){return!1}fchmod(e,t,n){this.volume.fchmod(e,t,n)}fchmodSync(e,t){this.volume.fchmodSync(e,t)}fchown(e,t,n,a){this.volume.fchown(e,t,n,a)}fchownSync(e,t,n){this.volume.fchownSync(e,t,n)}fdatasync(e,t){this.volume.fdatasync(e,t)}fdatasyncSync(e){this.volume.fdatasyncSync(e)}fstat(e,t){this.volume.fstat(e,t)}fstatSync(e){return this.volume.fstatSync(e)}fsync(e,t){this.volume.fsync(e,t)}fsyncSync(e){this.volume.fsyncSync(e)}ftruncate(e,t,n){this.volume.ftruncate(e,t,n)}ftruncateSync(e,t){this.volume.ftruncateSync(e,t)}futimes(e,t,n,a){this.volume.futimes(e,t,n,a)}futimesSync(e,t,n){this.volume.futimesSync(e,t,n)}lchmod(e,t,n){this.volume.lchmod(e,t,n)}lchmodSync(e,t){this.volume.lchmodSync(e,t)}lchown(e,t,n,a){this.volume.lchown(e,t,n,a)}lchownSync(e,t,n){this.volume.lchownSync(e,t,n)}link(e,t,n){this.volume.link(e,t,n)}linkSync(e,t){this.volume.linkSync(e,t)}lstat(e,t){this.volume.lstat(e,t)}lstatSync(e){return this.volume.lstatSync(e)}mkdir(e,t,n){this.volume.mkdir(e,t,n)}mkdirSync(e,t){this.volume.mkdirSync(e,t)}mkdtemp(e,t,n){this.volume.mkdtemp(e,t,n)}mkdtempSync(e,t){return this.volume.mkdtempSync(e,t)}open(e,t,n,a){this.volume.open(e,t,n,a)}openSync(e,t,n){return this.volume.openSync(e,t,n)}read(e,t,n,a,r,i){this.volume.read(e,t,n,a,r,i)}readFile(e,t,n){}readFileSync(e,t){return this.volume.readFileSync(e)}readSync(e,t,n,a,r){return this.volume.readSync(e,t,n,a,r)}readdir(e,t,n){this.volume.readdir(e,t,n)}readdirSync(e,t){return this.volume.readdirSync(e,t)}readlink(e,t,n){this.volume.readlink(e,t,n)}readlinkSync(e,t){return this.volume.readlinkSync(e,t)}realpath(e,t,n){this.volume.realpath(e,t,n)}realpathSync(e,t){return this.volume.realpathSync(e,t)}rename(e,t,n){this.volume.rename(e,t,n)}renameSync(e,t){this.volume.renameSync(e,t)}rmdir(e,t){this.volume.rmdir(e,t)}rmdirSync(e){this.volume.rmdirSync(e)}stat(e,t){this.volume.stat(e,t)}statSync(e){return this.volume.statSync(e)}symlink(e,t,n,a){this.volume.symlink(e,t,n,a)}symlinkSync(e,t,n){this.volume.symlinkSync(e,t,n)}truncate(e,t,n){this.volume.truncate(e,t,n)}truncateSync(e,t){this.volume.truncateSync(e,t)}unlink(e,t){this.volume.unlink(e,t)}unlinkSync(e){this.volume.unlinkSync(e)}unwatchFile(e,t){this.volume.unwatchFile(e,t)}utimes(e,t,n,a){this.volume.utimes(e,t,n,a)}utimesSync(e,t,n){this.volume.utimesSync(e,t,n)}watch(e,t,n){return this.volume.watch(e,t,n)}watchFile(e,t,n){this.volume.watchFile(e,t,n)}writeFile(e,t,n,a){this.volume.writeFile(e,t,n)}writeFileSync(e,t,n){this.volume.writeFileSync(e,t,n)}writeSync(e,t,n,a,r){return this.volume.writeSync(e,t,n,a,r)}write(e,t,n,a,r,i){this.write(e,t,n,a,r,i)}}},79129:(e,t,n)=>{"use strict";var a=n(34155);t.Z4=s;var r="win32"===a.platform;function i(e,t){var n=e[t];return t>0&&("/"===n||r&&"\\"===n)}function o(e,t){if("string"!==typeof e)throw new TypeError("expected a string");return e=e.replace(/[\\\/]+/g,"/"),!1!==t&&(e=function(e){var t=e.length-1;if(t<2)return e;for(;i(e,t);)t--;return e.substr(0,t+1)}(e)),e}function s(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return r?(e=o(e,t)).replace(/^([a-zA-Z]+:|\.\/)/,""):e}},97122:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.fsProps=["constants","F_OK","R_OK","W_OK","X_OK","Stats"],t.fsSyncMethods=["renameSync","ftruncateSync","truncateSync","chownSync","fchownSync","lchownSync","chmodSync","fchmodSync","lchmodSync","statSync","lstatSync","fstatSync","linkSync","symlinkSync","readlinkSync","realpathSync","unlinkSync","rmdirSync","mkdirSync","mkdirpSync","readdirSync","closeSync","openSync","utimesSync","futimesSync","fsyncSync","writeSync","readSync","readFileSync","writeFileSync","appendFileSync","existsSync","accessSync","fdatasyncSync","mkdtempSync","copyFileSync","createReadStream","createWriteStream"],t.fsAsyncMethods=["rename","ftruncate","truncate","chown","fchown","lchown","chmod","fchmod","lchmod","stat","lstat","fstat","link","symlink","readlink","realpath","unlink","rmdir","mkdir","mkdirp","readdir","close","open","utimes","futimes","fsync","write","read","readFile","writeFile","appendFile","exists","access","fdatasync","mkdtemp","copyFile","watchFile","unwatchFile","watch"]},62456:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(95287),r=n(5866),i=a.constants.S_IFMT,o=a.constants.S_IFDIR,s=a.constants.S_IFREG,d=a.constants.S_IFBLK,l=a.constants.S_IFCHR,c=a.constants.S_IFLNK,u=a.constants.S_IFIFO,p=a.constants.S_IFSOCK,g=function(){function e(){this.name="",this.mode=0}return e.build=function(t,n){var a=new e,i=t.getNode().mode;return a.name=r.strToEncoding(t.getName(),n),a.mode=i,a},e.prototype._checkModeProperty=function(e){return(this.mode&i)===e},e.prototype.isDirectory=function(){return this._checkModeProperty(o)},e.prototype.isFile=function(){return this._checkModeProperty(s)},e.prototype.isBlockDevice=function(){return this._checkModeProperty(d)},e.prototype.isCharacterDevice=function(){return this._checkModeProperty(l)},e.prototype.isSymbolicLink=function(){return this._checkModeProperty(c)},e.prototype.isFIFO=function(){return this._checkModeProperty(u)},e.prototype.isSocket=function(){return this._checkModeProperty(p)},e}();t.Dirent=g,t.default=g},22282:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(95287),r=n(65019),i=a.constants.S_IFMT,o=a.constants.S_IFDIR,s=a.constants.S_IFREG,d=a.constants.S_IFBLK,l=a.constants.S_IFCHR,c=a.constants.S_IFLNK,u=a.constants.S_IFIFO,p=a.constants.S_IFSOCK,g=function(){function e(){}return e.build=function(t,n){void 0===n&&(n=!1);var a=new e,i=t.uid,o=t.gid,s=t.atime,d=t.mtime,l=t.ctime,c=n?r.default:function(e){return e};a.uid=c(i),a.gid=c(o),a.rdev=c(0),a.blksize=c(4096),a.ino=c(t.ino),a.size=c(t.getSize()),a.blocks=c(1),a.atime=s,a.mtime=d,a.ctime=l,a.birthtime=l,a.atimeMs=c(s.getTime()),a.mtimeMs=c(d.getTime());var u=c(l.getTime());return a.ctimeMs=u,a.birthtimeMs=u,a.dev=c(0),a.mode=c(t.mode),a.nlink=c(t.nlink),a},e.prototype._checkModeProperty=function(e){return(Number(this.mode)&i)===e},e.prototype.isDirectory=function(){return this._checkModeProperty(o)},e.prototype.isFile=function(){return this._checkModeProperty(s)},e.prototype.isBlockDevice=function(){return this._checkModeProperty(d)},e.prototype.isCharacterDevice=function(){return this._checkModeProperty(l)},e.prototype.isSymbolicLink=function(){return this._checkModeProperty(c)},e.prototype.isFIFO=function(){return this._checkModeProperty(u)},e.prototype.isSocket=function(){return this._checkModeProperty(p)},e}();t.Stats=g,t.default=g},95287:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.constants={O_RDONLY:0,O_WRONLY:1,O_RDWR:2,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,S_IFSOCK:49152,O_CREAT:64,O_EXCL:128,O_NOCTTY:256,O_TRUNC:512,O_APPEND:1024,O_DIRECTORY:65536,O_NOATIME:262144,O_NOFOLLOW:131072,O_SYNC:1052672,O_DIRECT:16384,O_NONBLOCK:2048,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,F_OK:0,R_OK:4,W_OK:2,X_OK:1,UV_FS_SYMLINK_DIR:1,UV_FS_SYMLINK_JUNCTION:2,UV_FS_COPYFILE_EXCL:1,UV_FS_COPYFILE_FICLONE:2,UV_FS_COPYFILE_FICLONE_FORCE:4,COPYFILE_EXCL:1,COPYFILE_FICLONE:2,COPYFILE_FICLONE_FORCE:4}},5866:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(562),r=n(12913);t.ENCODING_UTF8="utf8",t.assertEncoding=function(e){if(e&&!a.Buffer.isEncoding(e))throw new r.TypeError("ERR_INVALID_OPT_VALUE_ENCODING",e)},t.strToEncoding=function(e,n){return n&&n!==t.ENCODING_UTF8?"buffer"===n?new a.Buffer(e):new a.Buffer(e).toString(n):e}},65019:(e,t)=>{"function"===typeof BigInt?t.default=BigInt:t.default=function(){throw new Error("BigInt is not supported in this environment.")}},66612:function(e,t,n){"use strict";var a=this&&this.__assign||function(){return a=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var r=n(22282),i=n(62456),o=n(64129),s=n(97122),d=s.fsSyncMethods,l=s.fsAsyncMethods,c=n(95287),u=c.constants.F_OK,p=c.constants.R_OK,g=c.constants.W_OK,f=c.constants.X_OK;function _(e){for(var t={F_OK:u,R_OK:p,W_OK:g,X_OK:f,constants:c.constants,Stats:r.default,Dirent:i.default},n=0,a=d;n<a.length;n++){"function"===typeof e[m=a[n]]&&(t[m]=e[m].bind(e))}for(var s=0,_=l;s<_.length;s++){var m;"function"===typeof e[m=_[s]]&&(t[m]=e[m].bind(e))}return t.StatWatcher=e.StatWatcher,t.FSWatcher=e.FSWatcher,t.WriteStream=e.WriteStream,t.ReadStream=e.ReadStream,t.promises=e.promises,t._toUnixTimestamp=o.toUnixTimestamp,t}t.Volume=o.Volume,t.vol=new o.Volume,t.createFsFromVolume=_,t.fs=_(t.vol),e.exports=a(a({},e.exports),t.fs),e.exports.semantic=!0},562:function(e,t,n){"use strict";var a=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var a=Array(e),r=0;for(t=0;t<n;t++)for(var i=arguments[t],o=0,s=i.length;o<s;o++,r++)a[r]=i[o];return a};Object.defineProperty(t,"__esModule",{value:!0});var r=n(48764);function i(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new(r.Buffer.bind.apply(r.Buffer,a([void 0,e],t)))}t.Buffer=r.Buffer;var o=r.Buffer.allocUnsafe||i;t.bufferAllocUnsafe=o;var s=r.Buffer.from||i;t.bufferFrom=s},12913:function(e,t,n){"use strict";var a=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(t,"__esModule",{value:!0});var r=n(69282),i=n(89539),o="undefined"===typeof Symbol?"_kCode":Symbol("code"),s={};function d(e){return function(e){function t(t){for(var n=[],a=1;a<arguments.length;a++)n[a-1]=arguments[a];var r=e.call(this,c(t,n))||this;return r.code=t,r[o]=t,r.name=e.prototype.name+" ["+r[o]+"]",r}return a(t,e),t}(e)}var l=function(e){function n(n){var a=this;if("object"!==typeof n||null===n)throw new t.TypeError("ERR_INVALID_ARG_TYPE","options","object");return(a=n.message?e.call(this,n.message)||this:e.call(this,i.inspect(n.actual).slice(0,128)+" "+n.operator+" "+i.inspect(n.expected).slice(0,128))||this).generatedMessage=!n.message,a.name="AssertionError [ERR_ASSERTION]",a.code="ERR_ASSERTION",a.actual=n.actual,a.expected=n.expected,a.operator=n.operator,t.Error.captureStackTrace(a,n.stackStartFunction),a}return a(n,e),n}(n.g.Error);function c(e,t){r.strictEqual(typeof e,"string");var n,a=s[e];if(r(a,"An invalid error message key was used: "+e+"."),"function"===typeof a)n=a;else{if(n=i.format,void 0===t||0===t.length)return a;t.unshift(a)}return String(n.apply(null,t))}function u(e,t){s[e]="function"===typeof t?t:String(t)}function p(e,t){if(r(e,"expected is required"),r("string"===typeof t,"thing is required"),Array.isArray(e)){var n=e.length;return r(n>0,"At least one expected value needs to be specified"),e=e.map((function(e){return String(e)})),n>2?"one of "+t+" "+e.slice(0,n-1).join(", ")+", or "+e[n-1]:2===n?"one of "+t+" "+e[0]+" or "+e[1]:"of "+t+" "+e[0]}return"of "+t+" "+String(e)}t.AssertionError=l,t.message=c,t.E=u,t.Error=d(n.g.Error),t.TypeError=d(n.g.TypeError),t.RangeError=d(n.g.RangeError),u("ERR_ARG_NOT_ITERABLE","%s must be iterable"),u("ERR_ASSERTION","%s"),u("ERR_BUFFER_OUT_OF_BOUNDS",(function(e,t){return t?"Attempt to write outside buffer bounds":'"'+e+'" is outside of buffer bounds'})),u("ERR_CHILD_CLOSED_BEFORE_REPLY","Child closed before reply received"),u("ERR_CONSOLE_WRITABLE_STREAM","Console expects a writable stream instance for %s"),u("ERR_CPU_USAGE","Unable to obtain cpu usage %s"),u("ERR_DNS_SET_SERVERS_FAILED",(function(e,t){return'c-ares failed to set servers: "'+e+'" ['+t+"]"})),u("ERR_FALSY_VALUE_REJECTION","Promise was rejected with falsy value"),u("ERR_ENCODING_NOT_SUPPORTED",(function(e){return'The "'+e+'" encoding is not supported'})),u("ERR_ENCODING_INVALID_ENCODED_DATA",(function(e){return"The encoded data was not valid for encoding "+e})),u("ERR_HTTP_HEADERS_SENT","Cannot render headers after they are sent to the client"),u("ERR_HTTP_INVALID_STATUS_CODE","Invalid status code: %s"),u("ERR_HTTP_TRAILER_INVALID","Trailers are invalid with this transfer encoding"),u("ERR_INDEX_OUT_OF_RANGE","Index out of range"),u("ERR_INVALID_ARG_TYPE",(function(e,t,n){var a,i;r(e,"name is required"),t.includes("not ")?(a="must not be",t=t.split("not ")[1]):a="must be";if(Array.isArray(e)){var o=e.map((function(e){return'"'+e+'"'})).join(", ");i="The "+o+" arguments "+a+" "+p(t,"type")}else if(e.includes(" argument"))i="The "+e+" "+a+" "+p(t,"type");else{var s=e.includes(".")?"property":"argument";i='The "'+e+'" '+s+" "+a+" "+p(t,"type")}arguments.length>=3&&(i+=". Received type "+(null!==n?typeof n:"null"));return i})),u("ERR_INVALID_ARRAY_LENGTH",(function(e,t,n){return r.strictEqual(typeof n,"number"),'The array "'+e+'" (length '+n+") must be of length "+t+"."})),u("ERR_INVALID_BUFFER_SIZE","Buffer size must be a multiple of %s"),u("ERR_INVALID_CALLBACK","Callback must be a function"),u("ERR_INVALID_CHAR","Invalid character in %s"),u("ERR_INVALID_CURSOR_POS","Cannot set cursor row without setting its column"),u("ERR_INVALID_FD",'"fd" must be a positive integer: %s'),u("ERR_INVALID_FILE_URL_HOST",'File URL host must be "localhost" or empty on %s'),u("ERR_INVALID_FILE_URL_PATH","File URL path %s"),u("ERR_INVALID_HANDLE_TYPE","This handle type cannot be sent"),u("ERR_INVALID_IP_ADDRESS","Invalid IP address: %s"),u("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+String(t)+'" is invalid for option "'+e+'"'})),u("ERR_INVALID_OPT_VALUE_ENCODING",(function(e){return'The value "'+String(e)+'" is invalid for option "encoding"'})),u("ERR_INVALID_REPL_EVAL_CONFIG",'Cannot specify both "breakEvalOnSigint" and "eval" for REPL'),u("ERR_INVALID_SYNC_FORK_INPUT","Asynchronous forks do not support Buffer, Uint8Array or string input: %s"),u("ERR_INVALID_THIS",'Value of "this" must be of type %s'),u("ERR_INVALID_TUPLE","%s must be an iterable %s tuple"),u("ERR_INVALID_URL","Invalid URL: %s"),u("ERR_INVALID_URL_SCHEME",(function(e){return"The URL must be "+p(e,"scheme")})),u("ERR_IPC_CHANNEL_CLOSED","Channel closed"),u("ERR_IPC_DISCONNECTED","IPC channel is already disconnected"),u("ERR_IPC_ONE_PIPE","Child process can have only one IPC pipe"),u("ERR_IPC_SYNC_FORK","IPC cannot be used with synchronous forks"),u("ERR_MISSING_ARGS",(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];r(e.length>0,"At least one arg needs to be specified");var n="The ",a=e.length;switch(e=e.map((function(e){return'"'+e+'"'})),a){case 1:n+=e[0]+" argument";break;case 2:n+=e[0]+" and "+e[1]+" arguments";break;default:n+=e.slice(0,a-1).join(", "),n+=", and "+e[a-1]+" arguments"}return n+" must be specified"})),u("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),u("ERR_NAPI_CONS_FUNCTION","Constructor must be a function"),u("ERR_NAPI_CONS_PROTOTYPE_OBJECT","Constructor.prototype must be an object"),u("ERR_NO_CRYPTO","Node.js is not compiled with OpenSSL crypto support"),u("ERR_NO_LONGER_SUPPORTED","%s is no longer supported"),u("ERR_PARSE_HISTORY_DATA","Could not parse history data in %s"),u("ERR_SOCKET_ALREADY_BOUND","Socket is already bound"),u("ERR_SOCKET_BAD_PORT","Port should be > 0 and < 65536"),u("ERR_SOCKET_BAD_TYPE","Bad socket type specified. Valid types are: udp4, udp6"),u("ERR_SOCKET_CANNOT_SEND","Unable to send data"),u("ERR_SOCKET_CLOSED","Socket is closed"),u("ERR_SOCKET_DGRAM_NOT_RUNNING","Not running"),u("ERR_STDERR_CLOSE","process.stderr cannot be closed"),u("ERR_STDOUT_CLOSE","process.stdout cannot be closed"),u("ERR_STREAM_WRAP","Stream has StringDecoder set or is in objectMode"),u("ERR_TLS_CERT_ALTNAME_INVALID","Hostname/IP does not match certificate's altnames: %s"),u("ERR_TLS_DH_PARAM_SIZE",(function(e){return"DH parameter size "+e+" is less than 2048"})),u("ERR_TLS_HANDSHAKE_TIMEOUT","TLS handshake timeout"),u("ERR_TLS_RENEGOTIATION_FAILED","Failed to renegotiate"),u("ERR_TLS_REQUIRED_SERVER_NAME",'"servername" is required parameter for Server.addContext'),u("ERR_TLS_SESSION_ATTACK","TSL session renegotiation attack detected"),u("ERR_TRANSFORM_ALREADY_TRANSFORMING","Calling transform done when still transforming"),u("ERR_TRANSFORM_WITH_LENGTH_0","Calling transform done when writableState.length != 0"),u("ERR_UNKNOWN_ENCODING","Unknown encoding: %s"),u("ERR_UNKNOWN_SIGNAL","Unknown signal: %s"),u("ERR_UNKNOWN_STDIN_TYPE","Unknown stdin file type"),u("ERR_UNKNOWN_STREAM_TYPE","Unknown stream file type"),u("ERR_V8BREAKITERATOR","Full ICU data not installed. See https://github.com/nodejs/node/wiki/Intl")},83599:function(e,t,n){"use strict";var a=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(t,"__esModule",{value:!0});var r=n(12305),i=n(562),o=n(95287),s=n(17187),d=n(22282),l=o.constants.S_IFMT,c=o.constants.S_IFDIR,u=o.constants.S_IFREG,p=(o.constants.S_IFBLK,o.constants.S_IFCHR,o.constants.S_IFLNK),g=(o.constants.S_IFIFO,o.constants.S_IFSOCK,o.constants.O_APPEND);t.SEP="/";var f=function(e){function t(t,n){void 0===n&&(n=438);var a=e.call(this)||this;return a.uid=r.default.getuid(),a.gid=r.default.getgid(),a.atime=new Date,a.mtime=new Date,a.ctime=new Date,a.perm=438,a.mode=u,a.nlink=1,a.perm=n,a.mode|=n,a.ino=t,a}return a(t,e),t.prototype.getString=function(e){return void 0===e&&(e="utf8"),this.getBuffer().toString(e)},t.prototype.setString=function(e){this.buf=i.bufferFrom(e,"utf8"),this.touch()},t.prototype.getBuffer=function(){return this.buf||this.setBuffer(i.bufferAllocUnsafe(0)),i.bufferFrom(this.buf)},t.prototype.setBuffer=function(e){this.buf=i.bufferFrom(e),this.touch()},t.prototype.getSize=function(){return this.buf?this.buf.length:0},t.prototype.setModeProperty=function(e){this.mode=this.mode&~l|e},t.prototype.setIsFile=function(){this.setModeProperty(u)},t.prototype.setIsDirectory=function(){this.setModeProperty(c)},t.prototype.setIsSymlink=function(){this.setModeProperty(p)},t.prototype.isFile=function(){return(this.mode&l)===u},t.prototype.isDirectory=function(){return(this.mode&l)===c},t.prototype.isSymlink=function(){return(this.mode&l)===p},t.prototype.makeSymlink=function(e){this.symlink=e,this.setIsSymlink()},t.prototype.write=function(e,t,n,a){if(void 0===t&&(t=0),void 0===n&&(n=e.length),void 0===a&&(a=0),this.buf||(this.buf=i.bufferAllocUnsafe(0)),a+n>this.buf.length){var r=i.bufferAllocUnsafe(a+n);this.buf.copy(r,0,0,this.buf.length),this.buf=r}return e.copy(this.buf,a,t,t+n),this.touch(),n},t.prototype.read=function(e,t,n,a){void 0===t&&(t=0),void 0===n&&(n=e.byteLength),void 0===a&&(a=0),this.buf||(this.buf=i.bufferAllocUnsafe(0));var r=n;return r>e.byteLength&&(r=e.byteLength),r+a>this.buf.length&&(r=this.buf.length-a),this.buf.copy(e,t,a,a+r),r},t.prototype.truncate=function(e){if(void 0===e&&(e=0),e)if(this.buf||(this.buf=i.bufferAllocUnsafe(0)),e<=this.buf.length)this.buf=this.buf.slice(0,e);else{var t=i.bufferAllocUnsafe(0);this.buf.copy(t),t.fill(0,e)}else this.buf=i.bufferAllocUnsafe(0);this.touch()},t.prototype.chmod=function(e){this.perm=e,this.mode=-512&this.mode|e,this.touch()},t.prototype.chown=function(e,t){this.uid=e,this.gid=t,this.touch()},t.prototype.touch=function(){this.mtime=new Date,this.emit("change",this)},t.prototype.canRead=function(e,t){return void 0===e&&(e=r.default.getuid()),void 0===t&&(t=r.default.getgid()),!!(4&this.perm)||(!!(t===this.gid&&32&this.perm)||!!(e===this.uid&&256&this.perm))},t.prototype.canWrite=function(e,t){return void 0===e&&(e=r.default.getuid()),void 0===t&&(t=r.default.getgid()),!!(2&this.perm)||(!!(t===this.gid&&16&this.perm)||!!(e===this.uid&&128&this.perm))},t.prototype.del=function(){this.emit("delete",this)},t.prototype.toJSON=function(){return{ino:this.ino,uid:this.uid,gid:this.gid,atime:this.atime.getTime(),mtime:this.mtime.getTime(),ctime:this.ctime.getTime(),perm:this.perm,mode:this.mode,nlink:this.nlink,symlink:this.symlink,data:this.getString()}},t}(s.EventEmitter);t.Node=f;var _=function(e){function n(t,n,a){var r=e.call(this)||this;return r.children={},r.steps=[],r.ino=0,r.length=0,r.vol=t,r.parent=n,r.steps=n?n.steps.concat([a]):[a],r}return a(n,e),n.prototype.setNode=function(e){this.node=e,this.ino=e.ino},n.prototype.getNode=function(){return this.node},n.prototype.createChild=function(e,t){void 0===t&&(t=this.vol.createNode());var a=new n(this.vol,this,e);return a.setNode(t),t.isDirectory(),this.setChild(e,a),a},n.prototype.setChild=function(e,t){return void 0===t&&(t=new n(this.vol,this,e)),this.children[e]=t,t.parent=this,this.length++,this.emit("child:add",t,this),t},n.prototype.deleteChild=function(e){delete this.children[e.getName()],this.length--,this.emit("child:delete",e,this)},n.prototype.getChild=function(e){if(Object.hasOwnProperty.call(this.children,e))return this.children[e]},n.prototype.getPath=function(){return this.steps.join(t.SEP)},n.prototype.getName=function(){return this.steps[this.steps.length-1]},n.prototype.walk=function(e,t,n){if(void 0===t&&(t=e.length),void 0===n&&(n=0),n>=e.length)return this;if(n>=t)return this;var a=e[n],r=this.getChild(a);return r?r.walk(e,t,n+1):null},n.prototype.toJSON=function(){return{steps:this.steps,ino:this.ino,children:Object.keys(this.children)}},n}(s.EventEmitter);t.Link=_;var m=function(){function e(e,t,n,a){this.position=0,this.link=e,this.node=t,this.flags=n,this.fd=a}return e.prototype.getString=function(e){return void 0===e&&(e="utf8"),this.node.getString()},e.prototype.setString=function(e){this.node.setString(e)},e.prototype.getBuffer=function(){return this.node.getBuffer()},e.prototype.setBuffer=function(e){this.node.setBuffer(e)},e.prototype.getSize=function(){return this.node.getSize()},e.prototype.truncate=function(e){this.node.truncate(e)},e.prototype.seekTo=function(e){this.position=e},e.prototype.stats=function(){return d.default.build(this.node)},e.prototype.write=function(e,t,n,a){void 0===t&&(t=0),void 0===n&&(n=e.length),"number"!==typeof a&&(a=this.position),this.flags&g&&(a=this.getSize());var r=this.node.write(e,t,n,a);return this.position=a+r,r},e.prototype.read=function(e,t,n,a){void 0===t&&(t=0),void 0===n&&(n=e.byteLength),"number"!==typeof a&&(a=this.position);var r=this.node.read(e,t,n,a);return this.position=a+r,r},e.prototype.chmod=function(e){this.node.chmod(e)},e.prototype.chown=function(e,t){this.node.chown(e,t)},e}();t.File=m},12305:(e,t,n)=>{"use strict";var a=n(34155);Object.defineProperty(t,"__esModule",{value:!0});function r(){var e=function(){if("undefined"!==typeof a)return a;try{return n(34155)}catch(e){return}}()||{};return e.getuid||(e.getuid=function(){return 0}),e.getgid||(e.getgid=function(){return 0}),e.cwd||(e.cwd=function(){return"/"}),e.nextTick||(e.nextTick=n(82164).default),e.emitWarning||(e.emitWarning=function(e,t){console.warn(t+(t?": ":"")+e)}),e.env||(e.env={}),e}t.createProcess=r,t.default=r()},96415:function(e,t){"use strict";var n=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var a=Array(e),r=0;for(t=0;t<n;t++)for(var i=arguments[t],o=0,s=i.length;o<s;o++,r++)a[r]=i[o];return a};function a(e,t,a){return void 0===a&&(a=function(e){return e}),function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return new Promise((function(i,o){e[t].bind(e).apply(void 0,n(r,[function(e,t){return e?o(e):i(a(t))}]))}))}}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){this.vol=e,this.fd=t}return e.prototype.appendFile=function(e,t){return a(this.vol,"appendFile")(this.fd,e,t)},e.prototype.chmod=function(e){return a(this.vol,"fchmod")(this.fd,e)},e.prototype.chown=function(e,t){return a(this.vol,"fchown")(this.fd,e,t)},e.prototype.close=function(){return a(this.vol,"close")(this.fd)},e.prototype.datasync=function(){return a(this.vol,"fdatasync")(this.fd)},e.prototype.read=function(e,t,n,r){return a(this.vol,"read",(function(t){return{bytesRead:t,buffer:e}}))(this.fd,e,t,n,r)},e.prototype.readFile=function(e){return a(this.vol,"readFile")(this.fd,e)},e.prototype.stat=function(e){return a(this.vol,"fstat")(this.fd,e)},e.prototype.sync=function(){return a(this.vol,"fsync")(this.fd)},e.prototype.truncate=function(e){return a(this.vol,"ftruncate")(this.fd,e)},e.prototype.utimes=function(e,t){return a(this.vol,"futimes")(this.fd,e,t)},e.prototype.write=function(e,t,n,r){return a(this.vol,"write",(function(t){return{bytesWritten:t,buffer:e}}))(this.fd,e,t,n,r)},e.prototype.writeFile=function(e,t){return a(this.vol,"writeFile")(this.fd,e,t)},e}();t.FileHandle=r,t.default=function(e){return"undefined"===typeof Promise?null:{FileHandle:r,access:function(t,n){return a(e,"access")(t,n)},appendFile:function(t,n,i){return a(e,"appendFile")(t instanceof r?t.fd:t,n,i)},chmod:function(t,n){return a(e,"chmod")(t,n)},chown:function(t,n,r){return a(e,"chown")(t,n,r)},copyFile:function(t,n,r){return a(e,"copyFile")(t,n,r)},lchmod:function(t,n){return a(e,"lchmod")(t,n)},lchown:function(t,n,r){return a(e,"lchown")(t,n,r)},link:function(t,n){return a(e,"link")(t,n)},lstat:function(t,n){return a(e,"lstat")(t,n)},mkdir:function(t,n){return a(e,"mkdir")(t,n)},mkdtemp:function(t,n){return a(e,"mkdtemp")(t,n)},open:function(t,n,i){return a(e,"open",(function(t){return new r(e,t)}))(t,n,i)},readdir:function(t,n){return a(e,"readdir")(t,n)},readFile:function(t,n){return a(e,"readFile")(t instanceof r?t.fd:t,n)},readlink:function(t,n){return a(e,"readlink")(t,n)},realpath:function(t,n){return a(e,"realpath")(t,n)},rename:function(t,n){return a(e,"rename")(t,n)},rmdir:function(t){return a(e,"rmdir")(t)},stat:function(t,n){return a(e,"stat")(t,n)},symlink:function(t,n,r){return a(e,"symlink")(t,n,r)},truncate:function(t,n){return a(e,"truncate")(t,n)},unlink:function(t){return a(e,"unlink")(t)},utimes:function(t,n,r){return a(e,"utimes")(t,n,r)},writeFile:function(t,n,i){return a(e,"writeFile")(t instanceof r?t.fd:t,n,i)}}}},82164:(e,t,n)=>{"use strict";var a;Object.defineProperty(t,"__esModule",{value:!0}),a="function"===typeof setImmediate?setImmediate.bind(n.g):setTimeout.bind(n.g),t.default=a},46143:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var a=setTimeout.apply(null,arguments);return a&&"object"===typeof a&&"function"===typeof a.unref&&a.unref(),a}},64129:function(e,t,n){"use strict";var a=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var a=Array(e),r=0;for(t=0;t<n;t++)for(var i=arguments[t],o=0,s=i.length;o<s;o++,r++)a[r]=i[o];return a};Object.defineProperty(t,"__esModule",{value:!0});var i,o,s=n(26470),d=n(83599),l=n(22282),c=n(62456),u=n(562),p=n(82164),g=n(12305),f=n(46143),_=n(42830),m=n(95287),h=n(17187),R=n(5866),b=n(12913),y=n(82630).l,v=n(89539),E=n(96415),S=s.resolve,O=m.constants.O_RDONLY,T=m.constants.O_WRONLY,C=m.constants.O_RDWR,N=m.constants.O_CREAT,w=m.constants.O_EXCL,A=m.constants.O_TRUNC,I=m.constants.O_APPEND,x=m.constants.O_SYNC,D=m.constants.F_OK,P=m.constants.COPYFILE_EXCL,M=m.constants.COPYFILE_FICLONE_FORCE;if(s.posix){var L=s.posix;i=L.sep,o=L.relative}else i=s.sep,o=s.relative;var k,F="win32"===g.default.platform,j="path must be a string or Buffer",B="fd must be a file descriptor",U="mode must be an int",G="callback must be a function",Y="uid must be an unsigned int",H="gid must be an unsigned int",V="ENOENT",q="EBADF",z="EINVAL",$="EEXIST",W="ENOTDIR",K="EMFILE",Q="EACCES",X="EISDIR",Z="ENOTEMPTY",J="ENOSYS";function ee(e,t,n,a,r){void 0===t&&(t=""),void 0===n&&(n=""),void 0===a&&(a=""),void 0===r&&(r=Error);var i=new r(function(e,t,n,a){void 0===t&&(t=""),void 0===n&&(n=""),void 0===a&&(a="");var r="";switch(n&&(r=" '"+n+"'"),a&&(r+=" -> '"+a+"'"),e){case V:return"ENOENT: no such file or directory, "+t+r;case q:return"EBADF: bad file descriptor, "+t+r;case z:return"EINVAL: invalid argument, "+t+r;case"EPERM":return"EPERM: operation not permitted, "+t+r;case"EPROTO":return"EPROTO: protocol error, "+t+r;case $:return"EEXIST: file already exists, "+t+r;case W:return"ENOTDIR: not a directory, "+t+r;case X:return"EISDIR: illegal operation on a directory, "+t+r;case Q:return"EACCES: permission denied, "+t+r;case Z:return"ENOTEMPTY: directory not empty, "+t+r;case K:return"EMFILE: too many open files, "+t+r;case J:return"ENOSYS: function not implemented, "+t+r;default:return e+": error occurred, "+t+r}}(e,t,n,a));return i.code=e,i}function te(e){if("number"===typeof e)return e;if("string"===typeof e){var t=k[e];if("undefined"!==typeof t)return t}throw new b.TypeError("ERR_INVALID_OPT_VALUE","flags",e)}function ne(e,t){var n;if(!t)return e;var a=typeof t;switch(a){case"string":n=y({},e,{encoding:t});break;case"object":n=y({},e,t);break;default:throw TypeError(function(e){return"Expected options to be either an object or a string, but got "+e+" instead"}(a))}return"buffer"!==n.encoding&&R.assertEncoding(n.encoding),n}function ae(e){return function(t){return ne(e,t)}}function re(e){if("function"!==typeof e)throw TypeError(G);return e}function ie(e){return function(t,n){return"function"===typeof t?[e(),t]:[e(t),re(n)]}}!function(e){e[e.r=O]="r",e[e["r+"]=C]="r+",e[e.rs=O|x]="rs",e[e.sr=e.rs]="sr",e[e["rs+"]=C|x]="rs+",e[e["sr+"]=e["rs+"]]="sr+",e[e.w=T|N|A]="w",e[e.wx=T|N|A|w]="wx",e[e.xw=e.wx]="xw",e[e["w+"]=C|N|A]="w+",e[e["wx+"]=C|N|A|w]="wx+",e[e["xw+"]=e["wx+"]]="xw+",e[e.a=T|I|N]="a",e[e.ax=T|I|N|w]="ax",e[e.xa=e.ax]="xa",e[e["a+"]=C|I|N]="a+",e[e["ax+"]=C|I|N|w]="ax+",e[e["xa+"]=e["ax+"]]="xa+"}(k=t.FLAGS||(t.FLAGS={})),t.flagsToNumber=te;var oe={encoding:"utf8"},se=ae(oe),de=ie(se),le=ae({flag:"r"}),ce={encoding:"utf8",mode:438,flag:k[k.w]},ue=ae(ce),pe={encoding:"utf8",mode:438,flag:k[k.a]},ge=ae(pe),fe=ie(ge),_e=ae(oe),me=ie(_e),he={mode:511,recursive:!1},Re=function(e){return y({},he,"number"===typeof e?{mode:e}:e)},be={recursive:!1},ye=function(e){return y({},be,e)},ve=ae({encoding:"utf8",withFileTypes:!1}),Ee=ie(ve),Se={bigint:!1},Oe=function(e){return void 0===e&&(e={}),y({},Se,e)},Te=function(e,t){return"function"===typeof e?[Oe(),e]:[Oe(e),re(t)]};function Ce(e){if("string"!==typeof e&&!u.Buffer.isBuffer(e)){try{if(!(e instanceof n(8575).URL))throw new TypeError(j)}catch(a){throw new TypeError(j)}e=function(e){if(""!==e.hostname)throw new b.TypeError("ERR_INVALID_FILE_URL_HOST",g.default.platform);for(var t=e.pathname,n=0;n<t.length;n++)if("%"===t[n]){var a=32|t.codePointAt(n+2);if("2"===t[n+1]&&102===a)throw new b.TypeError("ERR_INVALID_FILE_URL_PATH","must not include encoded / characters")}return decodeURIComponent(t)}(e)}var t=String(e);return Me(t),t}t.pathToFilename=Ce;var Ne=function(e,t){return void 0===t&&(t=g.default.cwd()),S(t,e)};if(F){var we=Ne,Ae=n(79129).Z4;Ne=function(e,t){return Ae(we(e,t))}}function Ie(e,t){var n=Ne(e,t).substr(1);return n?n.split(i):[]}function xe(e){return Ie(Ce(e))}function De(e,t){return void 0===t&&(t=R.ENCODING_UTF8),u.Buffer.isBuffer(e)?e:e instanceof Uint8Array?u.bufferFrom(e):u.bufferFrom(String(e),t)}function Pe(e,t){return t&&"buffer"!==t?e.toString(t):e}function Me(e,t){if(-1!==(""+e).indexOf("\0")){var n=new Error("Path must be a string without null bytes");if(n.code=V,"function"!==typeof t)throw n;return g.default.nextTick(t,n),!1}return!0}function Le(e,t){var n=function(e,t){return"number"===typeof e?e:"string"===typeof e?parseInt(e,8):t?Le(t):void 0}(e,t);if("number"!==typeof n||isNaN(n))throw new TypeError(U);return n}function ke(e){return e>>>0===e}function Fe(e){if(!ke(e))throw TypeError(B)}function je(e){if("string"===typeof e&&+e==e)return+e;if(e instanceof Date)return e.getTime()/1e3;if(isFinite(e))return e<0?Date.now()/1e3:e;throw new Error("Cannot parse time: "+e)}function Be(e){if("number"!==typeof e)throw TypeError(Y)}function Ue(e){if("number"!==typeof e)throw TypeError(H)}t.filenameToSteps=Ie,t.pathToSteps=xe,t.dataToStr=function(e,t){return void 0===t&&(t=R.ENCODING_UTF8),u.Buffer.isBuffer(e)?e.toString(t):e instanceof Uint8Array?u.bufferFrom(e).toString(t):String(e)},t.dataToBuffer=De,t.bufferToEncoding=Pe,t.toUnixTimestamp=je;var Ge=function(){function e(e){void 0===e&&(e={}),this.ino=0,this.inodes={},this.releasedInos=[],this.fds={},this.releasedFds=[],this.maxFiles=1e4,this.openFiles=0,this.promisesApi=E.default(this),this.statWatchers={},this.props=y({Node:d.Node,Link:d.Link,File:d.File},e);var t=this.createLink();t.setNode(this.createNode(!0));var n=this;this.StatWatcher=function(e){function t(){return e.call(this,n)||this}return a(t,e),t}(Ve);var i=qe;this.ReadStream=function(e){function t(){for(var t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];return e.apply(this,r([n],t))||this}return a(t,e),t}(i);var o=$e;this.WriteStream=function(e){function t(){for(var t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];return e.apply(this,r([n],t))||this}return a(t,e),t}(o),this.FSWatcher=function(e){function t(){return e.call(this,n)||this}return a(t,e),t}(We),this.root=t}return e.fromJSON=function(t,n){var a=new e;return a.fromJSON(t,n),a},Object.defineProperty(e.prototype,"promises",{get:function(){if(null===this.promisesApi)throw new Error("Promise is not supported in this environment.");return this.promisesApi},enumerable:!0,configurable:!0}),e.prototype.createLink=function(e,t,n,a){if(void 0===n&&(n=!1),!e)return new this.props.Link(this,null,"");if(!t)throw new Error("createLink: name cannot be empty");return e.createChild(t,this.createNode(n,a))},e.prototype.deleteLink=function(e){var t=e.parent;return!!t&&(t.deleteChild(e),!0)},e.prototype.newInoNumber=function(){var e=this.releasedInos.pop();return e||(this.ino=(this.ino+1)%4294967295,this.ino)},e.prototype.newFdNumber=function(){var t=this.releasedFds.pop();return"number"===typeof t?t:e.fd--},e.prototype.createNode=function(e,t){void 0===e&&(e=!1);var n=new this.props.Node(this.newInoNumber(),t);return e&&n.setIsDirectory(),this.inodes[n.ino]=n,n},e.prototype.getNode=function(e){return this.inodes[e]},e.prototype.deleteNode=function(e){e.del(),delete this.inodes[e.ino],this.releasedInos.push(e.ino)},e.prototype.genRndStr=function(){var e=(Math.random()+1).toString(36).substr(2,6);return 6===e.length?e:this.genRndStr()},e.prototype.getLink=function(e){return this.root.walk(e)},e.prototype.getLinkOrThrow=function(e,t){var n=Ie(e),a=this.getLink(n);if(!a)throw ee(V,t,e);return a},e.prototype.getResolvedLink=function(e){for(var t="string"===typeof e?Ie(e):e,n=this.root,a=0;a<t.length;){var r=t[a];if(!(n=n.getChild(r)))return null;var i=n.getNode();i.isSymlink()?(t=i.symlink.concat(t.slice(a+1)),n=this.root,a=0):a++}return n},e.prototype.getResolvedLinkOrThrow=function(e,t){var n=this.getResolvedLink(e);if(!n)throw ee(V,t,e);return n},e.prototype.resolveSymlinks=function(e){return this.getResolvedLink(e.steps.slice(1))},e.prototype.getLinkAsDirOrThrow=function(e,t){var n=this.getLinkOrThrow(e,t);if(!n.getNode().isDirectory())throw ee(W,t,e);return n},e.prototype.getLinkParent=function(e){return this.root.walk(e,e.length-1)},e.prototype.getLinkParentAsDirOrThrow=function(e,t){var n=e instanceof Array?e:Ie(e),a=this.getLinkParent(n);if(!a)throw ee(V,t,i+n.join(i));if(!a.getNode().isDirectory())throw ee(W,t,i+n.join(i));return a},e.prototype.getFileByFd=function(e){return this.fds[String(e)]},e.prototype.getFileByFdOrThrow=function(e,t){if(!ke(e))throw TypeError(B);var n=this.getFileByFd(e);if(!n)throw ee(q,t);return n},e.prototype.getNodeByIdOrCreate=function(e,t,n){if("number"===typeof e){var a=this.getFileByFd(e);if(!a)throw Error("File nto found");return a.node}var r=xe(e),i=this.getLink(r);if(i)return i.getNode();if(t&N){var o=this.getLinkParent(r);if(o){var s=r[r.length-1];return(i=this.createLink(o,s,!1,n)).getNode()}}throw ee(V,"getNodeByIdOrCreate",Ce(e))},e.prototype.wrapAsync=function(e,t,n){var a=this;re(n),p.default((function(){try{n(null,e.apply(a,t))}catch(r){n(r)}}))},e.prototype._toJSON=function(e,t,n){var a;void 0===e&&(e=this.root),void 0===t&&(t={});var r=!0,i=e.children;for(var s in e.getNode().isFile()&&((a={})[e.getName()]=e.parent.getChild(e.getName()),i=a,e=e.parent),i){r=!1;var d=e.getChild(s);if(!d)throw new Error("_toJSON: unexpected undefined");var l=d.getNode();if(l.isFile()){var c=d.getPath();n&&(c=o(n,c)),t[c]=l.getString()}else l.isDirectory()&&this._toJSON(d,t,n)}var u=e.getPath();return n&&(u=o(n,u)),u&&r&&(t[u]=null),t},e.prototype.toJSON=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n=!1);var a=[];if(e){e instanceof Array||(e=[e]);for(var r=0,i=e;r<i.length;r++){var o=Ce(i[r]);(l=this.getResolvedLink(o))&&a.push(l)}}else a.push(this.root);if(!a.length)return t;for(var s=0,d=a;s<d.length;s++){var l=d[s];this._toJSON(l,t,n?l.getPath():"")}return t},e.prototype.fromJSON=function(e,t){for(var n in void 0===t&&(t=g.default.cwd()),e){var a=e[n];if("string"===typeof a){var r=Ie(n=Ne(n,t));if(r.length>1){var o=i+r.slice(0,r.length-1).join(i);this.mkdirpBase(o,511)}this.writeFileSync(n,a)}else this.mkdirpBase(n,511)}},e.prototype.reset=function(){this.ino=0,this.inodes={},this.releasedInos=[],this.fds={},this.releasedFds=[],this.openFiles=0,this.root=this.createLink(),this.root.setNode(this.createNode(!0))},e.prototype.mountSync=function(e,t){this.fromJSON(t,e)},e.prototype.openLink=function(e,t,n){if(void 0===n&&(n=!0),this.openFiles>=this.maxFiles)throw ee(K,"open",e.getPath());var a=e;if(n&&(a=this.resolveSymlinks(e)),!a)throw ee(V,"open",e.getPath());var r=a.getNode();if(r.isDirectory()&&t!==k.r)throw ee(X,"open",e.getPath());if(!(t&T)&&!r.canRead())throw ee(Q,"open",e.getPath());var i=new this.props.File(e,r,t,this.newFdNumber());return this.fds[i.fd]=i,this.openFiles++,t&A&&i.truncate(),i},e.prototype.openFile=function(e,t,n,a){void 0===a&&(a=!0);var r=Ie(e),o=a?this.getResolvedLink(r):this.getLink(r);if(!o&&t&N){var s=this.getResolvedLink(r.slice(0,r.length-1));if(!s)throw ee(V,"open",i+r.join(i));t&N&&"number"===typeof n&&(o=this.createLink(s,r[r.length-1],!1,n))}if(o)return this.openLink(o,t,a);throw ee(V,"open",e)},e.prototype.openBase=function(e,t,n,a){void 0===a&&(a=!0);var r=this.openFile(e,t,n,a);if(!r)throw ee(V,"open",e);return r.fd},e.prototype.openSync=function(e,t,n){void 0===n&&(n=438);var a=Le(n),r=Ce(e),i=te(t);return this.openBase(r,i,a)},e.prototype.open=function(e,t,n,a){var r=n,i=a;"function"===typeof n&&(r=438,i=n);var o=Le(r=r||438),s=Ce(e),d=te(t);this.wrapAsync(this.openBase,[s,d,o],i)},e.prototype.closeFile=function(e){this.fds[e.fd]&&(this.openFiles--,delete this.fds[e.fd],this.releasedFds.push(e.fd))},e.prototype.closeSync=function(e){Fe(e);var t=this.getFileByFdOrThrow(e,"close");this.closeFile(t)},e.prototype.close=function(e,t){Fe(e),this.wrapAsync(this.closeSync,[e],t)},e.prototype.openFileOrGetById=function(e,t,n){if("number"===typeof e){var a=this.fds[e];if(!a)throw ee(V);return a}return this.openFile(Ce(e),t,n)},e.prototype.readBase=function(e,t,n,a,r){return this.getFileByFdOrThrow(e).read(t,Number(n),Number(a),r)},e.prototype.readSync=function(e,t,n,a,r){return Fe(e),this.readBase(e,t,n,a,r)},e.prototype.read=function(e,t,n,a,r,i){var o=this;if(re(i),0===a)return g.default.nextTick((function(){i&&i(null,0,t)}));p.default((function(){try{var s=o.readBase(e,t,n,a,r);i(null,s,t)}catch(d){i(d)}}))},e.prototype.readFileBase=function(e,t,n){var a,r,i="number"===typeof e&&ke(e);if(i)r=e;else{var o=Ie(Ce(e)),s=this.getResolvedLink(o);if(s)if(s.getNode().isDirectory())throw ee(X,"open",s.getPath());r=this.openSync(e,t)}try{a=Pe(this.getFileByFdOrThrow(r).getBuffer(),n)}finally{i||this.closeSync(r)}return a},e.prototype.readFileSync=function(e,t){var n=le(t),a=te(n.flag);return this.readFileBase(e,a,n.encoding)},e.prototype.readFile=function(e,t,n){var a=ie(le)(t,n),r=a[0],i=a[1],o=te(r.flag);this.wrapAsync(this.readFileBase,[e,o,r.encoding],i)},e.prototype.writeBase=function(e,t,n,a,r){return this.getFileByFdOrThrow(e,"write").write(t,n,a,r)},e.prototype.writeSync=function(e,t,n,a,r){var i,o,s,d;Fe(e);var l="string"!==typeof t;l?(o=0|(n||0),s=a,d=r):(d=n,i=a);var c=De(t,i);return l?"undefined"===typeof s&&(s=c.length):(o=0,s=c.length),this.writeBase(e,c,o,s,d)},e.prototype.write=function(e,t,n,a,r,i){var o,s,d,l,c,u=this;Fe(e);var g=typeof t,f=typeof n,_=typeof a,m=typeof r;"string"!==g?"function"===f?c=n:"function"===_?(o=0|n,c=a):"function"===m?(o=0|n,s=a,c=r):(o=0|n,s=a,d=r,c=i):"function"===f?c=n:"function"===_?(d=n,c=a):"function"===m&&(d=n,l=a,c=r);var h=De(t,l);"string"!==g?"undefined"===typeof s&&(s=h.length):(o=0,s=h.length);var R=re(c);p.default((function(){try{var n=u.writeBase(e,h,o,s,d);R(null,n,"string"!==g?h:t)}catch(a){R(a)}}))},e.prototype.writeFileBase=function(e,t,n,a){var r,i="number"===typeof e;r=i?e:this.openBase(Ce(e),n,a);var o=0,s=t.length,d=n&I?void 0:0;try{for(;s>0;){var l=this.writeSync(r,t,o,s,d);o+=l,s-=l,void 0!==d&&(d+=l)}}finally{i||this.closeSync(r)}},e.prototype.writeFileSync=function(e,t,n){var a=ue(n),r=te(a.flag),i=Le(a.mode),o=De(t,a.encoding);this.writeFileBase(e,o,r,i)},e.prototype.writeFile=function(e,t,n,a){var r=n,i=a;"function"===typeof n&&(r=ce,i=n);var o=re(i),s=ue(r),d=te(s.flag),l=Le(s.mode),c=De(t,s.encoding);this.wrapAsync(this.writeFileBase,[e,c,d,l],o)},e.prototype.linkBase=function(e,t){var n=Ie(e),a=this.getLink(n);if(!a)throw ee(V,"link",e,t);var r=Ie(t),i=this.getLinkParent(r);if(!i)throw ee(V,"link",e,t);var o=r[r.length-1];if(i.getChild(o))throw ee($,"link",e,t);var s=a.getNode();s.nlink++,i.createChild(o,s)},e.prototype.copyFileBase=function(e,t,n){var a=this.readFileSync(e);if(n&P&&this.existsSync(t))throw ee($,"copyFile",e,t);if(n&M)throw ee(J,"copyFile",e,t);this.writeFileBase(t,a,k.w,438)},e.prototype.copyFileSync=function(e,t,n){var a=Ce(e),r=Ce(t);return this.copyFileBase(a,r,0|(n||0))},e.prototype.copyFile=function(e,t,n,a){var r,i,o=Ce(e),s=Ce(t);"function"===typeof n?(r=0,i=n):(r=n,i=a),re(i),this.wrapAsync(this.copyFileBase,[o,s,r],i)},e.prototype.linkSync=function(e,t){var n=Ce(e),a=Ce(t);this.linkBase(n,a)},e.prototype.link=function(e,t,n){var a=Ce(e),r=Ce(t);this.wrapAsync(this.linkBase,[a,r],n)},e.prototype.unlinkBase=function(e){var t=Ie(e),n=this.getLink(t);if(!n)throw ee(V,"unlink",e);if(n.length)throw Error("Dir not empty...");this.deleteLink(n);var a=n.getNode();a.nlink--,a.nlink<=0&&this.deleteNode(a)},e.prototype.unlinkSync=function(e){var t=Ce(e);this.unlinkBase(t)},e.prototype.unlink=function(e,t){var n=Ce(e);this.wrapAsync(this.unlinkBase,[n],t)},e.prototype.symlinkBase=function(e,t){var n=Ie(t),a=this.getLinkParent(n);if(!a)throw ee(V,"symlink",e,t);var r=n[n.length-1];if(a.getChild(r))throw ee($,"symlink",e,t);var i=a.createChild(r);return i.getNode().makeSymlink(Ie(e)),i},e.prototype.symlinkSync=function(e,t,n){var a=Ce(e),r=Ce(t);this.symlinkBase(a,r)},e.prototype.symlink=function(e,t,n,a){var r=re("function"===typeof n?n:a),i=Ce(e),o=Ce(t);this.wrapAsync(this.symlinkBase,[i,o],r)},e.prototype.realpathBase=function(e,t){var n=Ie(e),a=this.getResolvedLink(n);if(!a)throw ee(V,"realpath",e);return R.strToEncoding(a.getPath(),t)},e.prototype.realpathSync=function(e,t){return this.realpathBase(Ce(e),_e(t).encoding)},e.prototype.realpath=function(e,t,n){var a=me(t,n),r=a[0],i=a[1],o=Ce(e);this.wrapAsync(this.realpathBase,[o,r.encoding],i)},e.prototype.lstatBase=function(e,t){void 0===t&&(t=!1);var n=this.getLink(Ie(e));if(!n)throw ee(V,"lstat",e);return l.default.build(n.getNode(),t)},e.prototype.lstatSync=function(e,t){return this.lstatBase(Ce(e),Oe(t).bigint)},e.prototype.lstat=function(e,t,n){var a=Te(t,n),r=a[0],i=a[1];this.wrapAsync(this.lstatBase,[Ce(e),r.bigint],i)},e.prototype.statBase=function(e,t){void 0===t&&(t=!1);var n=this.getResolvedLink(Ie(e));if(!n)throw ee(V,"stat",e);return l.default.build(n.getNode(),t)},e.prototype.statSync=function(e,t){return this.statBase(Ce(e),Oe(t).bigint)},e.prototype.stat=function(e,t,n){var a=Te(t,n),r=a[0],i=a[1];this.wrapAsync(this.statBase,[Ce(e),r.bigint],i)},e.prototype.fstatBase=function(e,t){void 0===t&&(t=!1);var n=this.getFileByFd(e);if(!n)throw ee(q,"fstat");return l.default.build(n.node,t)},e.prototype.fstatSync=function(e,t){return this.fstatBase(e,Oe(t).bigint)},e.prototype.fstat=function(e,t,n){var a=Te(t,n),r=a[0],i=a[1];this.wrapAsync(this.fstatBase,[e,r.bigint],i)},e.prototype.renameBase=function(e,t){var n=this.getLink(Ie(e));if(!n)throw ee(V,"rename",e,t);var a=Ie(t),i=this.getLinkParent(a);if(!i)throw ee(V,"rename",e,t);var o=n.parent;o&&o.deleteChild(n);var s=a[a.length-1];n.steps=r(i.steps,[s]),i.setChild(n.getName(),n)},e.prototype.renameSync=function(e,t){var n=Ce(e),a=Ce(t);this.renameBase(n,a)},e.prototype.rename=function(e,t,n){var a=Ce(e),r=Ce(t);this.wrapAsync(this.renameBase,[a,r],n)},e.prototype.existsBase=function(e){return!!this.statBase(e)},e.prototype.existsSync=function(e){try{return this.existsBase(Ce(e))}catch(t){return!1}},e.prototype.exists=function(e,t){var n=this,a=Ce(e);if("function"!==typeof t)throw Error(G);p.default((function(){try{t(n.existsBase(a))}catch(e){t(!1)}}))},e.prototype.accessBase=function(e,t){this.getLinkOrThrow(e,"access")},e.prototype.accessSync=function(e,t){void 0===t&&(t=D);var n=Ce(e);t|=0,this.accessBase(n,t)},e.prototype.access=function(e,t,n){var a,r=D;"function"!==typeof t?(r=0|t,a=re(n)):a=t;var i=Ce(e);this.wrapAsync(this.accessBase,[i,r],a)},e.prototype.appendFileSync=function(e,t,n){void 0===n&&(n=pe);var a=ge(n);a.flag&&!ke(e)||(a.flag="a"),this.writeFileSync(e,t,a)},e.prototype.appendFile=function(e,t,n,a){var r=fe(n,a),i=r[0],o=r[1];i.flag&&!ke(e)||(i.flag="a"),this.writeFile(e,t,i,o)},e.prototype.readdirBase=function(e,t){var n=Ie(e),a=this.getResolvedLink(n);if(!a)throw ee(V,"readdir",e);if(!a.getNode().isDirectory())throw ee(W,"scandir",e);if(t.withFileTypes){var r=[];for(var i in a.children){var o=a.getChild(i);o&&r.push(c.default.build(o,t.encoding))}return F||"buffer"===t.encoding||r.sort((function(e,t){return e.name<t.name?-1:e.name>t.name?1:0})),r}var s=[];for(var d in a.children)s.push(R.strToEncoding(d,t.encoding));return F||"buffer"===t.encoding||s.sort(),s},e.prototype.readdirSync=function(e,t){var n=ve(t),a=Ce(e);return this.readdirBase(a,n)},e.prototype.readdir=function(e,t,n){var a=Ee(t,n),r=a[0],i=a[1],o=Ce(e);this.wrapAsync(this.readdirBase,[o,r],i)},e.prototype.readlinkBase=function(e,t){var n=this.getLinkOrThrow(e,"readlink").getNode();if(!n.isSymlink())throw ee(z,"readlink",e);var a=i+n.symlink.join(i);return R.strToEncoding(a,t)},e.prototype.readlinkSync=function(e,t){var n=se(t),a=Ce(e);return this.readlinkBase(a,n.encoding)},e.prototype.readlink=function(e,t,n){var a=de(t,n),r=a[0],i=a[1],o=Ce(e);this.wrapAsync(this.readlinkBase,[o,r.encoding],i)},e.prototype.fsyncBase=function(e){this.getFileByFdOrThrow(e,"fsync")},e.prototype.fsyncSync=function(e){this.fsyncBase(e)},e.prototype.fsync=function(e,t){this.wrapAsync(this.fsyncBase,[e],t)},e.prototype.fdatasyncBase=function(e){this.getFileByFdOrThrow(e,"fdatasync")},e.prototype.fdatasyncSync=function(e){this.fdatasyncBase(e)},e.prototype.fdatasync=function(e,t){this.wrapAsync(this.fdatasyncBase,[e],t)},e.prototype.ftruncateBase=function(e,t){this.getFileByFdOrThrow(e,"ftruncate").truncate(t)},e.prototype.ftruncateSync=function(e,t){this.ftruncateBase(e,t)},e.prototype.ftruncate=function(e,t,n){var a="number"===typeof t?t:0,r=re("number"===typeof t?n:t);this.wrapAsync(this.ftruncateBase,[e,a],r)},e.prototype.truncateBase=function(e,t){var n=this.openSync(e,"r+");try{this.ftruncateSync(n,t)}finally{this.closeSync(n)}},e.prototype.truncateSync=function(e,t){if(ke(e))return this.ftruncateSync(e,t);this.truncateBase(e,t)},e.prototype.truncate=function(e,t,n){var a="number"===typeof t?t:0,r=re("number"===typeof t?n:t);if(ke(e))return this.ftruncate(e,a,r);this.wrapAsync(this.truncateBase,[e,a],r)},e.prototype.futimesBase=function(e,t,n){var a=this.getFileByFdOrThrow(e,"futimes").node;a.atime=new Date(1e3*t),a.mtime=new Date(1e3*n)},e.prototype.futimesSync=function(e,t,n){this.futimesBase(e,je(t),je(n))},e.prototype.futimes=function(e,t,n,a){this.wrapAsync(this.futimesBase,[e,je(t),je(n)],a)},e.prototype.utimesBase=function(e,t,n){var a=this.openSync(e,"r+");try{this.futimesBase(a,t,n)}finally{this.closeSync(a)}},e.prototype.utimesSync=function(e,t,n){this.utimesBase(Ce(e),je(t),je(n))},e.prototype.utimes=function(e,t,n,a){this.wrapAsync(this.utimesBase,[Ce(e),je(t),je(n)],a)},e.prototype.mkdirBase=function(e,t){var n=Ie(e);if(!n.length)throw ee(X,"mkdir",e);var a=this.getLinkParentAsDirOrThrow(e,"mkdir"),r=n[n.length-1];if(a.getChild(r))throw ee($,"mkdir",e);a.createChild(r,this.createNode(!0,t))},e.prototype.mkdirpBase=function(e,t){for(var n=Ie(e),a=this.root,r=0;r<n.length;r++){var i=n[r];if(!a.getNode().isDirectory())throw ee(W,"mkdir",a.getPath());var o=a.getChild(i);if(o){if(!o.getNode().isDirectory())throw ee(W,"mkdir",o.getPath());a=o}else a=a.createChild(i,this.createNode(!0,t))}},e.prototype.mkdirSync=function(e,t){var n=Re(t),a=Le(n.mode,511),r=Ce(e);n.recursive?this.mkdirpBase(r,a):this.mkdirBase(r,a)},e.prototype.mkdir=function(e,t,n){var a=Re(t),r=re("function"===typeof t?t:n),i=Le(a.mode,511),o=Ce(e);a.recursive?this.wrapAsync(this.mkdirpBase,[o,i],r):this.wrapAsync(this.mkdirBase,[o,i],r)},e.prototype.mkdirpSync=function(e,t){this.mkdirSync(e,{mode:t,recursive:!0})},e.prototype.mkdirp=function(e,t,n){var a="function"===typeof t?void 0:t,r=re("function"===typeof t?t:n);this.mkdir(e,{mode:a,recursive:!0},r)},e.prototype.mkdtempBase=function(e,t,n){void 0===n&&(n=5);var a=e+this.genRndStr();try{return this.mkdirBase(a,511),R.strToEncoding(a,t)}catch(r){if(r.code===$){if(n>1)return this.mkdtempBase(e,t,n-1);throw Error("Could not create temp dir.")}throw r}},e.prototype.mkdtempSync=function(e,t){var n=se(t).encoding;if(!e||"string"!==typeof e)throw new TypeError("filename prefix is required");return Me(e),this.mkdtempBase(e,n)},e.prototype.mkdtemp=function(e,t,n){var a=de(t,n),r=a[0].encoding,i=a[1];if(!e||"string"!==typeof e)throw new TypeError("filename prefix is required");Me(e)&&this.wrapAsync(this.mkdtempBase,[e,r],i)},e.prototype.rmdirBase=function(e,t){var n=ye(t),a=this.getLinkAsDirOrThrow(e,"rmdir");if(a.length&&!n.recursive)throw ee(Z,"rmdir",e);this.deleteLink(a)},e.prototype.rmdirSync=function(e,t){this.rmdirBase(Ce(e),t)},e.prototype.rmdir=function(e,t,n){var a=ye(t),r=re("function"===typeof t?t:n);this.wrapAsync(this.rmdirBase,[Ce(e),a],r)},e.prototype.fchmodBase=function(e,t){this.getFileByFdOrThrow(e,"fchmod").chmod(t)},e.prototype.fchmodSync=function(e,t){this.fchmodBase(e,Le(t))},e.prototype.fchmod=function(e,t,n){this.wrapAsync(this.fchmodBase,[e,Le(t)],n)},e.prototype.chmodBase=function(e,t){var n=this.openSync(e,"r+");try{this.fchmodBase(n,t)}finally{this.closeSync(n)}},e.prototype.chmodSync=function(e,t){var n=Le(t),a=Ce(e);this.chmodBase(a,n)},e.prototype.chmod=function(e,t,n){var a=Le(t),r=Ce(e);this.wrapAsync(this.chmodBase,[r,a],n)},e.prototype.lchmodBase=function(e,t){var n=this.openBase(e,C,0,!1);try{this.fchmodBase(n,t)}finally{this.closeSync(n)}},e.prototype.lchmodSync=function(e,t){var n=Le(t),a=Ce(e);this.lchmodBase(a,n)},e.prototype.lchmod=function(e,t,n){var a=Le(t),r=Ce(e);this.wrapAsync(this.lchmodBase,[r,a],n)},e.prototype.fchownBase=function(e,t,n){this.getFileByFdOrThrow(e,"fchown").chown(t,n)},e.prototype.fchownSync=function(e,t,n){Be(t),Ue(n),this.fchownBase(e,t,n)},e.prototype.fchown=function(e,t,n,a){Be(t),Ue(n),this.wrapAsync(this.fchownBase,[e,t,n],a)},e.prototype.chownBase=function(e,t,n){this.getResolvedLinkOrThrow(e,"chown").getNode().chown(t,n)},e.prototype.chownSync=function(e,t,n){Be(t),Ue(n),this.chownBase(Ce(e),t,n)},e.prototype.chown=function(e,t,n,a){Be(t),Ue(n),this.wrapAsync(this.chownBase,[Ce(e),t,n],a)},e.prototype.lchownBase=function(e,t,n){this.getLinkOrThrow(e,"lchown").getNode().chown(t,n)},e.prototype.lchownSync=function(e,t,n){Be(t),Ue(n),this.lchownBase(Ce(e),t,n)},e.prototype.lchown=function(e,t,n,a){Be(t),Ue(n),this.wrapAsync(this.lchownBase,[Ce(e),t,n],a)},e.prototype.watchFile=function(e,t,n){var a=Ce(e),r=t,i=n;if("function"===typeof r&&(i=t,r=null),"function"!==typeof i)throw Error('"watchFile()" requires a listener function');var o=5007,s=!0;r&&"object"===typeof r&&("number"===typeof r.interval&&(o=r.interval),"boolean"===typeof r.persistent&&(s=r.persistent));var d=this.statWatchers[a];return d||((d=new this.StatWatcher).start(a,s,o),this.statWatchers[a]=d),d.addListener("change",i),d},e.prototype.unwatchFile=function(e,t){var n=Ce(e),a=this.statWatchers[n];a&&("function"===typeof t?a.removeListener("change",t):a.removeAllListeners("change"),0===a.listenerCount("change")&&(a.stop(),delete this.statWatchers[n]))},e.prototype.createReadStream=function(e,t){return new this.ReadStream(e,t)},e.prototype.createWriteStream=function(e,t){return new this.WriteStream(e,t)},e.prototype.watch=function(e,t,n){var a=Ce(e),r=t;"function"===typeof t&&(n=t,r=null);var i=se(r),o=i.persistent,s=i.recursive,d=i.encoding;void 0===o&&(o=!0),void 0===s&&(s=!1);var l=new this.FSWatcher;return l.start(a,o,s,d),n&&l.addListener("change",n),l},e.fd=2147483647,e}();function Ye(e){e.emit("stop")}t.Volume=Ge;var He,Ve=function(e){function t(t){var n=e.call(this)||this;return n.onInterval=function(){try{var e=n.vol.statSync(n.filename);n.hasChanged(e)&&(n.emit("change",e,n.prev),n.prev=e)}finally{n.loop()}},n.vol=t,n}return a(t,e),t.prototype.loop=function(){this.timeoutRef=this.setTimeout(this.onInterval,this.interval)},t.prototype.hasChanged=function(e){return e.mtimeMs>this.prev.mtimeMs||e.nlink!==this.prev.nlink},t.prototype.start=function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n=5007),this.filename=Ce(e),this.setTimeout=t?setTimeout:f.default,this.interval=n,this.prev=this.vol.statSync(this.filename),this.loop()},t.prototype.stop=function(){clearTimeout(this.timeoutRef),g.default.nextTick(Ye,this)},t}(h.EventEmitter);function qe(e,t,n){if(!(this instanceof qe))return new qe(e,t,n);if(this._vol=e,void 0===(n=y({},ne(n,{}))).highWaterMark&&(n.highWaterMark=65536),_.Readable.call(this,n),this.path=Ce(t),this.fd=void 0===n.fd?null:n.fd,this.flags=void 0===n.flags?"r":n.flags,this.mode=void 0===n.mode?438:n.mode,this.start=n.start,this.end=n.end,this.autoClose=void 0===n.autoClose||n.autoClose,this.pos=void 0,this.bytesRead=0,void 0!==this.start){if("number"!==typeof this.start)throw new TypeError('"start" option must be a Number');if(void 0===this.end)this.end=1/0;else if("number"!==typeof this.end)throw new TypeError('"end" option must be a Number');if(this.start>this.end)throw new Error('"start" option must be <= "end" option');this.pos=this.start}"number"!==typeof this.fd&&this.open(),this.on("end",(function(){this.autoClose&&this.destroy&&this.destroy()}))}function ze(e){this.close()}function $e(e,t,n){if(!(this instanceof $e))return new $e(e,t,n);if(this._vol=e,n=y({},ne(n,{})),_.Writable.call(this,n),this.path=Ce(t),this.fd=void 0===n.fd?null:n.fd,this.flags=void 0===n.flags?"w":n.flags,this.mode=void 0===n.mode?438:n.mode,this.start=n.start,this.autoClose=void 0===n.autoClose||!!n.autoClose,this.pos=void 0,this.bytesWritten=0,void 0!==this.start){if("number"!==typeof this.start)throw new TypeError('"start" option must be a Number');if(this.start<0)throw new Error('"start" must be >= zero');this.pos=this.start}n.encoding&&this.setDefaultEncoding(n.encoding),"number"!==typeof this.fd&&this.open(),this.once("finish",(function(){this.autoClose&&this.close()}))}t.StatWatcher=Ve,v.inherits(qe,_.Readable),t.ReadStream=qe,qe.prototype.open=function(){var e=this;this._vol.open(this.path,this.flags,this.mode,(function(t,n){if(t)return e.autoClose&&e.destroy&&e.destroy(),void e.emit("error",t);e.fd=n,e.emit("open",n),e.read()}))},qe.prototype._read=function(e){if("number"!==typeof this.fd)return this.once("open",(function(){this._read(e)}));if(!this.destroyed){var t;(!He||He.length-He.used<128)&&(t=this._readableState.highWaterMark,(He=u.bufferAllocUnsafe(t)).used=0);var n=He,a=Math.min(He.length-He.used,e),r=He.used;if(void 0!==this.pos&&(a=Math.min(this.end-this.pos+1,a)),a<=0)return this.push(null);var i=this;this._vol.read(this.fd,He,He.used,a,this.pos,(function(e,t){if(e)i.autoClose&&i.destroy&&i.destroy(),i.emit("error",e);else{var a=null;t>0&&(i.bytesRead+=t,a=n.slice(r,r+t)),i.push(a)}})),void 0!==this.pos&&(this.pos+=a),He.used+=a}},qe.prototype._destroy=function(e,t){this.close((function(n){t(e||n)}))},qe.prototype.close=function(e){var t=this;if(e&&this.once("close",e),this.closed||"number"!==typeof this.fd)return"number"!==typeof this.fd?void this.once("open",ze):g.default.nextTick((function(){return t.emit("close")}));this.closed=!0,this._vol.close(this.fd,(function(e){e?t.emit("error",e):t.emit("close")})),this.fd=null},v.inherits($e,_.Writable),t.WriteStream=$e,$e.prototype.open=function(){this._vol.open(this.path,this.flags,this.mode,function(e,t){if(e)return this.autoClose&&this.destroy&&this.destroy(),void this.emit("error",e);this.fd=t,this.emit("open",t)}.bind(this))},$e.prototype._write=function(e,t,n){if(!(e instanceof u.Buffer))return this.emit("error",new Error("Invalid data"));if("number"!==typeof this.fd)return this.once("open",(function(){this._write(e,t,n)}));var a=this;this._vol.write(this.fd,e,0,e.length,this.pos,(function(e,t){if(e)return a.autoClose&&a.destroy&&a.destroy(),n(e);a.bytesWritten+=t,n()})),void 0!==this.pos&&(this.pos+=e.length)},$e.prototype._writev=function(e,t){if("number"!==typeof this.fd)return this.once("open",(function(){this._writev(e,t)}));for(var n=this,a=e.length,r=new Array(a),i=0,o=0;o<a;o++){var s=e[o].chunk;r[o]=s,i+=s.length}var d=u.Buffer.concat(r);this._vol.write(this.fd,d,0,d.length,this.pos,(function(e,a){if(e)return n.destroy&&n.destroy(),t(e);n.bytesWritten+=a,t()})),void 0!==this.pos&&(this.pos+=i)},$e.prototype._destroy=qe.prototype._destroy,$e.prototype.close=qe.prototype.close,$e.prototype.destroySoon=$e.prototype.end;var We=function(e){function t(t){var n=e.call(this)||this;return n._filename="",n._filenameEncoded="",n._recursive=!1,n._encoding=R.ENCODING_UTF8,n._onNodeChange=function(){n._emit("change")},n._onParentChild=function(e){e.getName()===n._getName()&&n._emit("rename")},n._emit=function(e){n.emit("change",e,n._filenameEncoded)},n._persist=function(){n._timer=setTimeout(n._persist,1e6)},n._vol=t,n}return a(t,e),t.prototype._getName=function(){return this._steps[this._steps.length-1]},t.prototype.start=function(e,t,n,a){void 0===t&&(t=!0),void 0===n&&(n=!1),void 0===a&&(a=R.ENCODING_UTF8),this._filename=Ce(e),this._steps=Ie(this._filename),this._filenameEncoded=R.strToEncoding(this._filename),this._recursive=n,this._encoding=a;try{this._link=this._vol.getLinkOrThrow(this._filename,"FSWatcher")}catch(o){var r=new Error("watch "+this._filename+" "+o.code);throw r.code=o.code,r.errno=o.code,r}this._link.getNode().on("change",this._onNodeChange),this._link.on("child:add",this._onNodeChange),this._link.on("child:delete",this._onNodeChange);var i=this._link.parent;i&&(i.setMaxListeners(i.getMaxListeners()+1),i.on("child:delete",this._onParentChild)),t&&this._persist()},t.prototype.close=function(){clearTimeout(this._timer),this._link.getNode().removeListener("change",this._onNodeChange);var e=this._link.parent;e&&e.removeListener("child:delete",this._onParentChild)},t}(h.EventEmitter);t.FSWatcher=We},56811:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.indentStyle=t.indentMargin=t.indentClass=void 0;const r=a(n(67977));t.indentClass=r.default.indent,t.indentMargin=r.default.indentMargin,t.indentStyle=function(e){return{"--indent-depth":e}}},70558:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(56811),t)},85167:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attachPayload=void 0,t.attachPayload=function e(t,n){t&&(t.payload=n.get(t.id),t.children&&t.children.forEach((t=>e(t,n))))}},47839:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.attachPayload=void 0,r(n(99635),t);var i=n(85167);Object.defineProperty(t,"attachPayload",{enumerable:!0,get:function(){return i.attachPayload}})},99635:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inflateToTree=void 0;const a=n(52162),r=n(46203);t.inflateToTree=function(e,t){const n=e.map(t),i=a.buildKeyTree(n),o=Object.entries(i),[s,d]=1===o.length?o[0]:["",i];return r.keyTreeToNodeTree(s,d)}},46203:(e,t)=>{"use strict";function n([e],[t]){return e<t?-1:1}function a([,e],[,t]){return(void 0!==e?-1:0)+(void 0!==t?1:0)}Object.defineProperty(t,"__esModule",{value:!0}),t.keyTreeToNodeTree=void 0,t.keyTreeToNodeTree=function e(t,r){return r?{id:t,children:Object.entries(r).sort(n).sort(a).map((([t,n])=>e(t,n)))}:{id:t,children:void 0}}},52162:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildKeyTree=void 0;const a=n(46991);t.buildKeyTree=function(e){const t={};return e.forEach((e=>{const n=a.subPaths(e).filter((e=>"."!==e)),r=e.endsWith("/")?void 0:n.pop();let i=t;n.forEach((e=>{const t=`${e}/`,n=i[t]||Object.create(null);i[t]=n,i=n})),r&&!(r in i)&&(i[r]=void 0)})),t}},365:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TreeContextProvider=t.TreeContext=void 0;var a=n(83502);Object.defineProperty(t,"TreeContext",{enumerable:!0,get:function(){return a.TreeContext}}),Object.defineProperty(t,"TreeContextProvider",{enumerable:!0,get:function(){return a.TreeContextProvider}})},83502:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.TreeContextProvider=t.TreeContext=void 0;const o=i(n(4516));t.TreeContext=o.createContext({onSelect:()=>{},selected:void 0}),t.TreeContextProvider=function({onSelect:e,selected:n,children:a}){const r=o.useMemo((()=>({onSelect:e,selected:n})),[e,n]);return o.default.createElement(t.TreeContext.Provider,{value:r},a)}},52249:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClickOutside=void 0;const a=n(4516);class r extends a.Component{constructor(){super(...arguments),this.listener=e=>{const{targetRef:t,handler:n}=this.props,a=e.target;t.current&&a&&!t.current.contains(a)&&n(e)}}componentDidMount(){this.props.enabled&&this.enable()}componentWillUnmount(){this.disable()}componentDidUpdate(e){const t=this.props;e.enabled!==t.enabled&&(t.enabled?this.enable():this.disable())}enable(){document.addEventListener("mousedown",this.listener),document.addEventListener("touchstart",this.listener)}disable(){document.removeEventListener("mousedown",this.listener),document.removeEventListener("touchstart",this.listener)}render(){return null}}t.ClickOutside=r,r.defaultProps={enabled:!0}},79721:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useClickOutside=t.ClickOutside=void 0;var a=n(52249);Object.defineProperty(t,"ClickOutside",{enumerable:!0,get:function(){return a.ClickOutside}});var r=n(70814);Object.defineProperty(t,"useClickOutside",{enumerable:!0,get:function(){return r.useClickOutside}})},70814:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useClickOutside=void 0;const a=n(4516);t.useClickOutside=function(e,t,n=!0){a.useEffect((()=>{const a=n=>{const a=n.target;e.current&&a&&!e.current.contains(a)&&t(n)};return n&&(document.addEventListener("mousedown",a),document.addEventListener("touchstart",a)),()=>{document.removeEventListener("mousedown",a),document.removeEventListener("touchstart",a)}}),[e,t,n])}},31099:function(e,t,n){"use strict";var a=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Error=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(29422));t.Error=function(e){const{className:t,children:n}=e,r=a(e,["className","children"]);return n?i.default.createElement("div",Object.assign({className:o.default(s.default.error,t)},r),n):null}},97164:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(31099),t)},5099:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.colGridXl=t.colGridLg=t.colGridL=t.colGridMd=t.colGridSm=t.colGridXs=t.colGrid=void 0;const r=a(n(84553));function i(e){const t={};for(var n=1;n<=12;n++)t[n]=r.default[`colTemplate--${e}-${n}`];return t}t.colGrid=i("all"),t.colGridXs=i("xs"),t.colGridSm=i("sm"),t.colGridMd=i("md"),t.colGridL=i("l"),t.colGridLg=i("lg"),t.colGridXl=i("xl")},36378:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return r(t,e),t},o=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Grid=void 0;const d=i(n(4516)),l=s(n(94184)),c=s(n(98017)),u=n(5099);class p extends d.PureComponent{render(){const e=this.props,{className:t,col:n,colL:a,colLg:r,colMd:i,colSm:s,colXl:p,colXs:g}=e,f=o(e,["className","col","colL","colLg","colMd","colSm","colXl","colXs"]),_=[t,c.default.gridContainer];return void 0!==n&&_.push(u.colGrid[n]),void 0!==a&&_.push(u.colGridL[a]),void 0!==r&&_.push(u.colGridLg[r]),void 0!==i&&_.push(u.colGridMd[i]),void 0!==s&&_.push(u.colGridSm[s]),void 0!==p&&_.push(u.colGridXl[p]),void 0!==g&&_.push(u.colGridXs[g]),d.default.createElement("div",Object.assign({"data-bit-id":"teambit.base-ui/layout/grid-component"},f,{className:l.default(..._)}))}}t.Grid=p},42711:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(36378),t)},14352:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.textColumn=t.wideColumn=t.centerColumn=void 0;const r=a(n(623));t.centerColumn=r.default.centerColumn,t.wideColumn=r.default.wideColumn,t.textColumn=r.default.textColumn},99870:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WordSkeleton=t.LineSkeleton=t.CircleSkeleton=t.BlockSkeleton=t.Skeleton=void 0;var a=n(45635);Object.defineProperty(t,"Skeleton",{enumerable:!0,get:function(){return a.Skeleton}}),Object.defineProperty(t,"BlockSkeleton",{enumerable:!0,get:function(){return a.BlockSkeleton}}),Object.defineProperty(t,"CircleSkeleton",{enumerable:!0,get:function(){return a.CircleSkeleton}}),Object.defineProperty(t,"LineSkeleton",{enumerable:!0,get:function(){return a.LineSkeleton}}),Object.defineProperty(t,"WordSkeleton",{enumerable:!0,get:function(){return a.WordSkeleton}})},45635:function(e,t,n){"use strict";var a=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.title=t.BlockSkeleton=t.CircleSkeleton=t.LineSkeleton=t.WordSkeleton=t.Skeleton=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(16335)),d=r(n(3612));function l(e){var{length:t=5,designClass:n=d.default.word,className:r,style:l}=e,c=a(e,["length","designClass","className","style"]);return i.default.createElement("span",Object.assign({},c,{className:(0,o.default)(s.default.word,r,n),style:Object.assign({},l)}),i.default.createElement("span",null,Array.from({length:t}).map((()=>"\xa0"))))}t.Skeleton=function(e){var{designClass:t=d.default.skeleton,className:n}=e,r=a(e,["designClass","className"]);return i.default.createElement("div",Object.assign({},r,{className:(0,o.default)(s.default.skeleton,t,n)}))},t.WordSkeleton=l,t.LineSkeleton=function(e){var{width:t,count:n=1,designClass:r=d.default.line,className:l,style:c}=e,u=a(e,["width","count","designClass","className","style"]);return i.default.createElement("div",Object.assign({},u,{className:(0,o.default)(s.default.line,r,l),style:Object.assign({width:t},c)}),Array.from({length:n}).map(((e,t)=>i.default.createElement("div",{key:t},"\xa0"))))},t.CircleSkeleton=function(e){var{size:t=2,designClass:n=d.default.circle,className:r,style:l}=e,c=a(e,["size","designClass","className","style"]);return i.default.createElement("span",Object.assign({},c,{className:(0,o.default)(s.default.circle,r,n),style:Object.assign({height:`${t}em`,width:`${t}em`,lineHeight:t},l)}),"\xa0")},t.BlockSkeleton=function(e){var{lines:t=5,designClass:n=d.default.block,className:r,style:l}=e,c=a(e,["lines","designClass","className","style"]);return i.default.createElement("div",Object.assign({},c,{className:(0,o.default)(s.default.block,n,r),style:Object.assign({height:`${t}em`},l)}))},t.title=function(){return i.default.createElement("div",{style:{marginBottom:"1em"}},i.default.createElement(l,{style:{fontSize:18}}))}},84336:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NavLink=void 0;var a=n(61555);Object.defineProperty(t,"NavLink",{enumerable:!0,get:function(){return a.NavLink}})},61555:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NavLink=void 0;const r=a(n(4516)),i=n(83678);t.NavLink=function(e){const t=i.useRouting().NavLink;return r.default.createElement(t,Object.assign({},e))}},89270:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return r(t,e),t},o=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Containee=void 0;const d=i(n(4516)),l=s(n(16586)),c=s(n(22184)),u=s(n(3473)),p=s(n(24611)),g=s(n(25109));class f extends d.Component{constructor(){super(...arguments),this.ref=c.default()}render(){const e=this.props,{className:t,position:n="bottom"}=e,a=o(e,["className","position"]),r=p.default[n],i=g.default.displacement;return d.default.createElement("div",Object.assign({ref:this.ref,className:l.default(u.default.containee,i,r,t),"data-position":n},a))}}t.Containee=f},24625:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(89270),t)},97350:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return r(t,e),t},o=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Container=void 0;const d=i(n(4516)),l=s(n(16586)),c=s(n(3473));t.Container=d.forwardRef((function(e,t){var{className:n,open:a}=e,r=o(e,["className","open"]);return d.default.createElement("div",Object.assign({ref:t,className:l.default(c.default.container,n),"data-open":a},r))}))},52731:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(97350),t)},63867:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.containeeClass=t.containerClass=void 0;const o=i(n(3473));r(n(24625),t),r(n(52731),t),t.containerClass=o.default.container,t.containeeClass=o.default.containee},16586:(e,t)=>{var n;!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var o=r.apply(null,n);o&&e.push(o)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var s in n)a.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},15653:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultPlaceholder=void 0;const r=a(n(4516)),i=a(n(70464)),o=a(n(49876));t.DefaultPlaceholder=function(e){return r.default.createElement("div",Object.assign({},e,{className:i.default(e.className,o.default.placeholder)}))}},35946:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return r(t,e),t},o=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Drawer=void 0;const d=i(n(4516)),l=n(63867),c=n(79721),u=s(n(22184)),p=n(15653);class g extends d.Component{constructor(){super(...arguments),this.state={isOpen:this.props.open||!1},this.ref=u.default(),this.toggle=e=>{const{isOpen:t}=this.state,n=!t;this.isControlled||this.setState({isOpen:n}),this.props.onChange&&this.props.onChange(e,n)},this.close=e=>{const{isOpen:t}=this.state;!this.isControlled&&t&&this.setState({isOpen:false}),this.props.onChange&&this.props.onChange(e,false)},this.open=e=>{const{isOpen:t}=this.state;this.isControlled||t||this.setState({isOpen:!0}),this.props.onChange&&this.props.onChange(e,!0)},this.handlePlaceholderClick=e=>{this.props.onPlaceholderToggle&&this.props.onPlaceholderToggle(e),e.defaultPrevented||this.props.clickPlaceholderToggles&&this.toggle(e)},this.handleContainerClick=e=>{this.props.clickToggles&&this.toggle(e),this.props.onClick&&this.props.onClick(e)},this.handleClickOutside=e=>{this.props.onClickOutside&&this.props.onClickOutside(e),e.defaultPrevented||this.props.clickOutside&&this.close()},this.handleLeaveContainer=e=>{this.props.onMouseLeave&&this.props.onMouseLeave(e),e.defaultPrevented||this.props.hoverToOpen&&this.close(e)},this.handleEnterContainer=e=>{this.props.onMouseEnter&&this.props.onMouseEnter(e),e.defaultPrevented||this.props.hoverToOpen&&this.open(e)}}componentWillReceiveProps(e){this.props.open!==e.open&&void 0!==e.open&&this.setState({isOpen:e.open})}get isControlled(){return void 0!==this.props.open}render(){const e=this.props,{placeholder:t,children:n,PlaceholderComponent:a=p.DefaultPlaceholder,clickOutside:r,onMouseEnter:i,onMouseLeave:s,open:u,hoverToOpen:g,clickPlaceholderToggles:f,clickToggles:_,onChange:m,onPlaceholderToggle:h,onContainerToggle:R,onContaineeToggle:b,onClickOutside:y}=e,v=o(e,["placeholder","children","PlaceholderComponent","clickOutside","onMouseEnter","onMouseLeave","open","hoverToOpen","clickPlaceholderToggles","clickToggles","onChange","onPlaceholderToggle","onContainerToggle","onContaineeToggle","onClickOutside"]),{isOpen:E}=this.state;return d.default.createElement(l.Container,Object.assign({},v,{ref:this.ref,open:E,onMouseLeave:this.handleLeaveContainer,onMouseEnter:this.handleEnterContainer,onClick:this.handleContainerClick}),n,d.default.createElement(a,{onClick:this.handlePlaceholderClick},t),d.default.createElement(c.ClickOutside,{targetRef:this.ref,enabled:!!r&&E,handler:this.handleClickOutside}))}}t.Drawer=g,g.defaultProps={PlaceholderComponent:p.DefaultPlaceholder,clickPlaceholderToggles:!0,clickOutside:!0,clickToggles:!0}},62918:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(35946),t)},70464:(e,t)=>{var n;!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var o=r.apply(null,n);o&&e.push(o)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var s in n)a.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},73624:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(22826),t)},22826:function(e,t,n){"use strict";var a=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.HoverSplitter=void 0;const i=n(8227),o=r(n(94184)),s=r(n(4516)),d=r(n(7545));t.HoverSplitter=function(e){var{children:t,className:n}=e,r=a(e,["children","className"]);return s.default.createElement(i.Splitter,Object.assign({},r,{className:o.default(d.default.hoverSplitter,n)}),s.default.createElement("div",{className:d.default.highlighter}),t)}},18280:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(68461),t)},68461:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default_layout=t.layoutToggleMap=t.Layout=t.LayoutFeatures=void 0,function(e){e.row="row",e.column="column",e.reverse="reverse",e.first="first",e.last="last"}(t.LayoutFeatures||(t.LayoutFeatures={})),function(e){e.row="row",e.rowReverse="row reverse",e.column="column",e.columnReverse="column reverse",e.top="column first",e.bottom="column last",e.topReverse="column reverse first",e.bottomReverse="column reverse last ",e.left="row first",e.right="row last",e.leftReverse="row reverse first",e.rightReverse="row reverse last"}(n=t.Layout||(t.Layout={})),t.layoutToggleMap={[n.columnReverse]:n.row,[n.row]:n.columnReverse},t.default_layout=n.row},93524:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(71658),t)},71658:function(e,t,n){"use strict";var a=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Pane=void 0;const i=n(18280),o=r(n(281)),s=r(n(4516)),d=r(n(44176));t.Pane=function(e){var{size:t,style:n,layout:r,className:l}=e,c=a(e,["size","style","layout","className"]);const u={},p=function(e){if(!e)return;if(e.includes(i.LayoutFeatures.column))return"height";if(e.includes(i.LayoutFeatures.row))return"width";return}(r);return p&&void 0!==t&&(u[p]=t,u.flexShrink=0),void 0===t&&(u.flexGrow=1,u.flexBasis=0),s.default.createElement("div",Object.assign({},c,{className:o.default(d.default.pane,l),style:Object.assign(Object.assign({},n),u)}))}},281:(e,t)=>{var n;!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var o=r.apply(null,n);o&&e.push(o)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var s in n)a.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},63898:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calcSplit=void 0;const a=n(18280);function r(e){if(void 0!==e){if("number"===typeof e)return`calc(100% - ${e}px)`;if(e.endsWith("px"))return`calc(100% - ${e})`;if(e.endsWith("%")){const t=+e.replace("%","");if(Number.isNaN(t))return;return 100-t+"%"}return Number.isNaN(+e)?void 0:`calc(100% - ${e}px)`}}function i(e){return e?"number"===typeof e&&e<0?[void 0,-e]:"string"===typeof e&&e.startsWith("-")?[void 0,e.substring(1)]:[e,void 0]:[void 0,void 0]}t.calcSplit=function(e,t,n){let o=function(e,t,n){const{row:r,column:o,first:s,last:d}=a.LayoutFeatures,l=new Set(t.split(" "));if(l.has(s))return["100%","0%"];if(l.has(d))return["0%","100%"];if(l.has(r))return void 0===(null===e||void 0===e?void 0:e.x)?i(n):"string"===typeof n&&n.endsWith("%")?[100*e.x/e.width+"%",void 0]:[e.x,void 0];if(l.has(o))return void 0===(null===e||void 0===e?void 0:e.y)?i(n):"string"===typeof n&&n.endsWith("%")?[100*e.y/e.height+"%",void 0]:[e.y,void 0];return[void 0,void 0]}(e,t,n);return t.includes(a.LayoutFeatures.reverse)&&o.reverse(),void 0!==o[0]&&void 0!==o[1]||(o=function([e,t]){if(void 0===e&&void 0===t)return[void 0,void 0];if(void 0===t)return[e,r(e)];if(void 0===e)return[r(t),t];return[e,t]}(o)),o}},38577:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.SplitPane=void 0,r(n(18280),t),r(n(93524),t),r(n(8227),t);var i=n(86032);Object.defineProperty(t,"SplitPane",{enumerable:!0,get:function(){return i.SplitPane}})},44745:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.limit=void 0,t.limit=function(e,t,n){return void 0!==t&&e<t?t:void 0!==n&&e>n?n:e}},86032:function(e,t,n){"use strict";var a=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SplitPane=void 0;const i=n(18280),o=r(n(94184)),s=r(n(4516)),d=n(63898),l=r(n(25772)),c=n(33226);t.SplitPane=function(e){var{layout:t=i.Layout.column,size:n="38%",className:r,children:u}=e,p=a(e,["layout","size","className","children"]);const g=s.default.createRef(),[f,_,m]=c.useDragTracker(g),[h,R]=d.calcSplit(f,t,n),[b,y,v]=u,E=s.default.cloneElement(b,{size:h,layout:t}),S=s.default.cloneElement(v,{size:R,layout:t}),O=s.default.cloneElement(y,{onDragging:m,isDragging:_});return s.default.createElement("div",Object.assign({},p,{ref:g,className:o.default(_&&l.default.isDragging,l.default.splitPane,r),"data-is-dragging":_,"data-split-layout":t}),E,O,S)}},3026:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toRelativePosition=void 0;const a=n(44745);t.toRelativePosition=function({clientX:e,clientY:t,element:n}){const r=n.getBoundingClientRect(),{left:i,top:o,width:s=1,height:d=1}=r;return{x:a.limit(e-i,0,s),y:a.limit(t-o,0,d),width:s,height:d}}},33226:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDragTracker=void 0;const a=n(4516),r=n(3026),i=n(96207);t.useDragTracker=function(e){const[t,n]=a.useState(void 0),o=a.useCallback((({clientX:t,clientY:a})=>{if(!e.current)return;const i=r.toRelativePosition({clientX:t,clientY:a,element:e.current});n(i)}),[e]),[s,d]=i.useDragListener(o);return[t,s,d]}},96207:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDragListener=void 0;const a=n(4516);t.useDragListener=function(e){const t=a.useState(!1),[n,r]=t;return a.useEffect((()=>{const t=t=>{const{touches:n}=t,a=n[0];e(a)},a=t=>{e(t)},i=()=>{r(!1)},o=e=>{e&&1===e.buttons||i()};return n&&(document.addEventListener("mousemove",a),document.addEventListener("mouseup",i),document.addEventListener("mouseenter",o),document.addEventListener("touchend",i),document.addEventListener("touchmove",t),document.addEventListener("touchcancel",i)),()=>{document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",i),document.removeEventListener("mouseenter",o),document.removeEventListener("touchend",i),document.removeEventListener("touchmove",t),document.removeEventListener("touchcancel",i)}}),[n,e]),t}},8227:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(28593),t)},28593:function(e,t,n){"use strict";var a=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Splitter=void 0;const i=r(n(40777)),o=r(n(4516)),s=r(n(93988));t.Splitter=function(e){var{onDragging:t,isDragging:n,className:r}=e,d=a(e,["onDragging","isDragging","className"]);return o.default.createElement("div",Object.assign({},d,{className:i.default(s.default.splitter,r),onMouseDown:()=>null===t||void 0===t?void 0:t(!0),onTouchStart:()=>null===t||void 0===t?void 0:t(!0)}))}},40777:(e,t)=>{var n;!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var o=r.apply(null,n);o&&e.push(o)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var s in n)a.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},86430:function(e,t,n){"use strict";var a=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Heading=void 0;const i=r(n(4516));function o(e){const{element:t}=e,n=a(e,["element"]),r=t||"h1";return i.default.createElement(r,Object.assign({"data-bit-id":"teambit.base-ui/text/heading"},n))}t.Heading=o,o.defaultProps={element:"h1"}},51532:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(86430),t)},92141:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(78881),t)},78881:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.mutedText=t.MutedText=void 0;const r=a(n(4516)),i=a(n(94184)),o=a(n(47803));t.MutedText=function(e){return r.default.createElement("span",Object.assign({},e,{className:i.default(o.default.mutedText,e.className)}))},t.mutedText=o.default.mutedText},90473:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PossibleSizes=t.Paragraph=void 0;var a=n(36588);Object.defineProperty(t,"Paragraph",{enumerable:!0,get:function(){return a.Paragraph}}),Object.defineProperty(t,"PossibleSizes",{enumerable:!0,get:function(){return a.PossibleSizes}})},36588:function(e,t,n){"use strict";var a=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Paragraph=t.PossibleSizes=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(19453);Object.defineProperty(t,"PossibleSizes",{enumerable:!0,get:function(){return s.PossibleSizes}});const d=n(80588);function l(e){var{className:t,size:n,element:r}=e,s=a(e,["className","size","element"]);return i.default.createElement(r,Object.assign({className:o.default(d.textSize[n],t),"data-bit-id":"teambit.base-ui/text/paragraph"},s))}t.Paragraph=l,l.defaultProps={size:"md",element:"p"}},80588:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.textSize=void 0;const r=a(n(25874)),i={xxs:r.default.xxs,xs:r.default.xs,sm:r.default.sm,md:r.default.md,lg:r.default.lg,xl:r.default.xl,xxl:r.default.xxl};t.textSize=i},16794:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.darkMode=void 0;const r=a(n(42694));t.darkMode=r.default.darkMod},70317:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(40685),t)},40685:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Roboto=void 0;const r=a(n(4516));t.Roboto=()=>r.default.createElement("link",{href:"https://fonts.googleapis.com/css?family=Roboto+Mono",rel:"stylesheet"})},19453:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PossibleSizes=void 0,function(e){e.xxs="xxs",e.xs="xs",e.sm="sm",e.md="md",e.lg="lg",e.xl="xl",e.xxl="xxl"}(t.PossibleSizes||(t.PossibleSizes={}))},46991:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.subPaths=void 0;var a=n(91342);Object.defineProperty(t,"subPaths",{enumerable:!0,get:function(){return a.subPaths}})},91342:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.subPaths=void 0;const r=a(n(26470));function i(e){return"/"===e?e:e.replace(/\/$/,"")}t.subPaths=function(e){const t=[];let n=e;for(;r.default.dirname(n)!==n;){const e=i(n);t.unshift(e),n=r.default.dirname(n)}return t.unshift(n),t}},30770:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(58557);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a(r).default}})},58557:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(97114)),i=a(n(67946));t.default=e=>{const t=new Date,n=new Date(e);r.default.addLocale(i.default);const a=new r.default("en-EN"),o=new Date(t.getTime()-n.getTime()),s=a.format(t.getTime()-o.getTime());return"a "===s.slice(0,2)?`${s[0].toUpperCase()}${s.slice(1)}`:s}},67180:(e,t,n)=>{"use strict";n(67120),Object.defineProperty(t,"__esModule",{value:!0}),t.AspectList=void 0;class a{constructor(e){this.entries=e}get(e){const t=this.entries.find((t=>t.aspectId===e));if(t)return t.aspectData}toObject(){return{entries:this.entries}}static fromObject(e){const t=(null===e||void 0===e?void 0:e.entries)||[];return new a(t)}static fromJson(e){var t;const n=(null===e||void 0===e||null===(t=e.entries)||void 0===t?void 0:t.map((({aspectId:e,aspectData:t})=>({aspectId:e,aspectData:JSON.parse(t)}))))||[];return new a(n)}}t.AspectList=a},86549:(e,t,n)=>{"use strict";function a(){const e=n(68211);return a=function(){return e},e}function r(){const e=n(67180);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentDescriptor=void 0;class i{constructor(e,t){this.id=e,this.aspectList=t}get scope(){return this.id.scope}get(e){return this.aspectList.get(e)}toObject(){return{id:this.id.toString(),aspectList:this.aspectList.toObject()}}stringify(){return JSON.stringify(this.toObject())}toString(){return this.stringify()}static fromObject({id:e,aspectList:t}){const n=r().AspectList.fromObject(t);return new i(a().ComponentID.fromString(e),n)}static fromArray(e){return e.map((e=>i.fromObject(e)))}}t.ComponentDescriptor=i},57984:(e,t,n)=>{"use strict";function a(){const e=n(86549);return a=function(){return e},e}function r(){const e=n(67180);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AspectDataEntry",{enumerable:!0,get:function(){return r().AspectDataEntry}}),Object.defineProperty(t,"AspectList",{enumerable:!0,get:function(){return r().AspectList}}),Object.defineProperty(t,"AspectListProps",{enumerable:!0,get:function(){return r().AspectListProps}}),Object.defineProperty(t,"ComponentDescriptor",{enumerable:!0,get:function(){return a().ComponentDescriptor}}),Object.defineProperty(t,"ComponentDescriptorProps",{enumerable:!0,get:function(){return a().ComponentDescriptorProps}})},60907:(e,t,n)=>{var a=n(68846),r=n(33836),i=n(11565),o=a.TypeError;e.exports=function(e){if(r(e))return e;throw o(i(e)+" is not a function")}},8626:(e,t,n)=>{var a=n(68846),r=n(33836),i=a.String,o=a.TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw o("Can't set "+i(e)+" as a prototype")}},32776:(e,t,n)=>{var a=n(65014),r=n(49677),i=n(37781),o=a("unscopables"),s=Array.prototype;void 0==s[o]&&i.f(s,o,{configurable:!0,value:r(null)}),e.exports=function(e){s[o][e]=!0}},60596:(e,t,n)=>{var a=n(68846),r=n(41119),i=a.String,o=a.TypeError;e.exports=function(e){if(r(e))return e;throw o(i(e)+" is not an object")}},96033:(e,t,n)=>{var a=n(76284),r=n(10229),i=n(48120),o=function(e){return function(t,n,o){var s,d=a(t),l=i(d),c=r(o,l);if(e&&n!=n){for(;l>c;)if((s=d[c++])!=s)return!0}else for(;l>c;c++)if((e||c in d)&&d[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},35682:(e,t,n)=>{var a=n(85233),r=a({}.toString),i=a("".slice);e.exports=function(e){return i(r(e),8,-1)}},70177:(e,t,n)=>{var a=n(34472),r=n(75539),i=n(20386),o=n(37781);e.exports=function(e,t,n){for(var s=r(t),d=o.f,l=i.f,c=0;c<s.length;c++){var u=s[c];a(e,u)||n&&a(n,u)||d(e,u,l(t,u))}}},96271:(e,t,n)=>{var a=n(44424);e.exports=!a((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},6724:(e,t,n)=>{"use strict";var a=n(72643).IteratorPrototype,r=n(49677),i=n(85318),o=n(81426),s=n(51125),d=function(){return this};e.exports=function(e,t,n,l){var c=t+" Iterator";return e.prototype=r(a,{next:i(+!l,n)}),o(e,c,!1,!0),s[c]=d,e}},42307:(e,t,n)=>{var a=n(99827),r=n(37781),i=n(85318);e.exports=a?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},85318:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},58617:(e,t,n)=>{"use strict";var a=n(43659),r=n(76165),i=n(18873),o=n(2878),s=n(33836),d=n(6724),l=n(69161),c=n(21395),u=n(81426),p=n(42307),g=n(11736),f=n(65014),_=n(51125),m=n(72643),h=o.PROPER,R=o.CONFIGURABLE,b=m.IteratorPrototype,y=m.BUGGY_SAFARI_ITERATORS,v=f("iterator"),E="keys",S="values",O="entries",T=function(){return this};e.exports=function(e,t,n,o,f,m,C){d(n,t,o);var N,w,A,I=function(e){if(e===f&&L)return L;if(!y&&e in P)return P[e];switch(e){case E:case S:case O:return function(){return new n(this,e)}}return function(){return new n(this)}},x=t+" Iterator",D=!1,P=e.prototype,M=P[v]||P["@@iterator"]||f&&P[f],L=!y&&M||I(f),k="Array"==t&&P.entries||M;if(k&&(N=l(k.call(new e)))!==Object.prototype&&N.next&&(i||l(N)===b||(c?c(N,b):s(N[v])||g(N,v,T)),u(N,x,!0,!0),i&&(_[x]=T)),h&&f==S&&M&&M.name!==S&&(!i&&R?p(P,"name",S):(D=!0,L=function(){return r(M,this)})),f)if(w={values:I(S),keys:m?L:I(E),entries:I(O)},C)for(A in w)(y||D||!(A in P))&&g(P,A,w[A]);else a({target:t,proto:!0,forced:y||D},w);return i&&!C||P[v]===L||g(P,v,L,{name:f}),_[t]=L,w}},99827:(e,t,n)=>{var a=n(44424);e.exports=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},31043:(e,t,n)=>{var a=n(68846),r=n(41119),i=a.document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},25829:(e,t,n)=>{var a=n(48091);e.exports=a("navigator","userAgent")||""},97512:(e,t,n)=>{var a,r,i=n(68846),o=n(25829),s=i.process,d=i.Deno,l=s&&s.versions||d&&d.version,c=l&&l.v8;c&&(r=(a=c.split("."))[0]>0&&a[0]<4?1:+(a[0]+a[1])),!r&&o&&(!(a=o.match(/Edge\/(\d+)/))||a[1]>=74)&&(a=o.match(/Chrome\/(\d+)/))&&(r=+a[1]),e.exports=r},1171:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},43659:(e,t,n)=>{var a=n(68846),r=n(20386).f,i=n(42307),o=n(11736),s=n(72541),d=n(70177),l=n(41737);e.exports=function(e,t){var n,c,u,p,g,f=e.target,_=e.global,m=e.stat;if(n=_?a:m?a[f]||s(f,{}):(a[f]||{}).prototype)for(c in t){if(p=t[c],u=e.noTargetGet?(g=r(n,c))&&g.value:n[c],!l(_?c:f+(m?".":"#")+c,e.forced)&&void 0!==u){if(typeof p==typeof u)continue;d(p,u)}(e.sham||u&&u.sham)&&i(p,"sham",!0),o(n,c,p,e)}}},44424:e=>{e.exports=function(e){try{return!!e()}catch(t){return!0}}},80337:(e,t,n)=>{var a=n(44424);e.exports=!a((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},76165:(e,t,n)=>{var a=n(80337),r=Function.prototype.call;e.exports=a?r.bind(r):function(){return r.apply(r,arguments)}},2878:(e,t,n)=>{var a=n(99827),r=n(34472),i=Function.prototype,o=a&&Object.getOwnPropertyDescriptor,s=r(i,"name"),d=s&&"something"===function(){}.name,l=s&&(!a||a&&o(i,"name").configurable);e.exports={EXISTS:s,PROPER:d,CONFIGURABLE:l}},85233:(e,t,n)=>{var a=n(80337),r=Function.prototype,i=r.bind,o=r.call,s=a&&i.bind(o,o);e.exports=a?function(e){return e&&s(e)}:function(e){return e&&function(){return o.apply(e,arguments)}}},48091:(e,t,n)=>{var a=n(68846),r=n(33836),i=function(e){return r(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(a[e]):a[e]&&a[e][t]}},420:(e,t,n)=>{var a=n(60907);e.exports=function(e,t){var n=e[t];return null==n?void 0:a(n)}},68846:(e,t,n)=>{var a=function(e){return e&&e.Math==Math&&e};e.exports=a("object"==typeof globalThis&&globalThis)||a("object"==typeof window&&window)||a("object"==typeof self&&self)||a("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},34472:(e,t,n)=>{var a=n(85233),r=n(33470),i=a({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(r(e),t)}},90617:e=>{e.exports={}},30851:(e,t,n)=>{var a=n(48091);e.exports=a("document","documentElement")},9602:(e,t,n)=>{var a=n(99827),r=n(44424),i=n(31043);e.exports=!a&&!r((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},49702:(e,t,n)=>{var a=n(68846),r=n(85233),i=n(44424),o=n(35682),s=a.Object,d=r("".split);e.exports=i((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?d(e,""):s(e)}:s},53153:(e,t,n)=>{var a=n(85233),r=n(33836),i=n(44112),o=a(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return o(e)}),e.exports=i.inspectSource},95861:(e,t,n)=>{var a,r,i,o=n(90530),s=n(68846),d=n(85233),l=n(41119),c=n(42307),u=n(34472),p=n(44112),g=n(72971),f=n(90617),_="Object already initialized",m=s.TypeError,h=s.WeakMap;if(o||p.state){var R=p.state||(p.state=new h),b=d(R.get),y=d(R.has),v=d(R.set);a=function(e,t){if(y(R,e))throw new m(_);return t.facade=e,v(R,e,t),t},r=function(e){return b(R,e)||{}},i=function(e){return y(R,e)}}else{var E=g("state");f[E]=!0,a=function(e,t){if(u(e,E))throw new m(_);return t.facade=e,c(e,E,t),t},r=function(e){return u(e,E)?e[E]:{}},i=function(e){return u(e,E)}}e.exports={set:a,get:r,has:i,enforce:function(e){return i(e)?r(e):a(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=r(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return n}}}},33836:e=>{e.exports=function(e){return"function"==typeof e}},41737:(e,t,n)=>{var a=n(44424),r=n(33836),i=/#|\.prototype\./,o=function(e,t){var n=d[s(e)];return n==c||n!=l&&(r(t)?a(t):!!t)},s=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},d=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";e.exports=o},41119:(e,t,n)=>{var a=n(33836);e.exports=function(e){return"object"==typeof e?null!==e:a(e)}},18873:e=>{e.exports=!1},19337:(e,t,n)=>{var a=n(68846),r=n(48091),i=n(33836),o=n(49873),s=n(94201),d=a.Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return i(t)&&o(t.prototype,d(e))}},72643:(e,t,n)=>{"use strict";var a,r,i,o=n(44424),s=n(33836),d=n(49677),l=n(69161),c=n(11736),u=n(65014),p=n(18873),g=u("iterator"),f=!1;[].keys&&("next"in(i=[].keys())?(r=l(l(i)))!==Object.prototype&&(a=r):f=!0),void 0==a||o((function(){var e={};return a[g].call(e)!==e}))?a={}:p&&(a=d(a)),s(a[g])||c(a,g,(function(){return this})),e.exports={IteratorPrototype:a,BUGGY_SAFARI_ITERATORS:f}},51125:e=>{e.exports={}},48120:(e,t,n)=>{var a=n(86663);e.exports=function(e){return a(e.length)}},19114:(e,t,n)=>{var a=n(97512),r=n(44424);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&a&&a<41}))},90530:(e,t,n)=>{var a=n(68846),r=n(33836),i=n(53153),o=a.WeakMap;e.exports=r(o)&&/native code/.test(i(o))},49677:(e,t,n)=>{var a,r=n(60596),i=n(12881),o=n(1171),s=n(90617),d=n(30851),l=n(31043),c=n(72971),u=c("IE_PROTO"),p=function(){},g=function(e){return"<script>"+e+"</"+"script>"},f=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},_=function(){try{a=new ActiveXObject("htmlfile")}catch(t){}_="undefined"!=typeof document?document.domain&&a?f(a):function(){var e,t=l("iframe");return t.style.display="none",d.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(g("document.F=Object")),e.close(),e.F}():f(a);for(var e=o.length;e--;)delete _.prototype[o[e]];return _()};s[u]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p.prototype=r(e),n=new p,p.prototype=null,n[u]=e):n=_(),void 0===t?n:i.f(n,t)}},12881:(e,t,n)=>{var a=n(99827),r=n(41602),i=n(37781),o=n(60596),s=n(76284),d=n(24079);t.f=a&&!r?Object.defineProperties:function(e,t){o(e);for(var n,a=s(t),r=d(t),l=r.length,c=0;l>c;)i.f(e,n=r[c++],a[n]);return e}},37781:(e,t,n)=>{var a=n(68846),r=n(99827),i=n(9602),o=n(41602),s=n(60596),d=n(8258),l=a.TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,p="enumerable",g="configurable",f="writable";t.f=r?o?function(e,t,n){if(s(e),t=d(t),s(n),"function"===typeof e&&"prototype"===t&&"value"in n&&f in n&&!n.writable){var a=u(e,t);a&&a.writable&&(e[t]=n.value,n={configurable:g in n?n.configurable:a.configurable,enumerable:p in n?n.enumerable:a.enumerable,writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(s(e),t=d(t),s(n),i)try{return c(e,t,n)}catch(a){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},20386:(e,t,n)=>{var a=n(99827),r=n(76165),i=n(37011),o=n(85318),s=n(76284),d=n(8258),l=n(34472),c=n(9602),u=Object.getOwnPropertyDescriptor;t.f=a?u:function(e,t){if(e=s(e),t=d(t),c)try{return u(e,t)}catch(n){}if(l(e,t))return o(!r(i.f,e,t),e[t])}},21425:(e,t,n)=>{var a=n(8146),r=n(1171).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return a(e,r)}},40625:(e,t)=>{t.f=Object.getOwnPropertySymbols},69161:(e,t,n)=>{var a=n(68846),r=n(34472),i=n(33836),o=n(33470),s=n(72971),d=n(96271),l=s("IE_PROTO"),c=a.Object,u=c.prototype;e.exports=d?c.getPrototypeOf:function(e){var t=o(e);if(r(t,l))return t[l];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof c?u:null}},49873:(e,t,n)=>{var a=n(85233);e.exports=a({}.isPrototypeOf)},8146:(e,t,n)=>{var a=n(85233),r=n(34472),i=n(76284),o=n(96033).indexOf,s=n(90617),d=a([].push);e.exports=function(e,t){var n,a=i(e),l=0,c=[];for(n in a)!r(s,n)&&r(a,n)&&d(c,n);for(;t.length>l;)r(a,n=t[l++])&&(~o(c,n)||d(c,n));return c}},24079:(e,t,n)=>{var a=n(8146),r=n(1171);e.exports=Object.keys||function(e){return a(e,r)}},37011:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,r=a&&!n.call({1:2},1);t.f=r?function(e){var t=a(this,e);return!!t&&t.enumerable}:n},21395:(e,t,n)=>{var a=n(85233),r=n(60596),i=n(8626);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=a(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(o){}return function(n,a){return r(n),i(a),t?e(n,a):n.__proto__=a,n}}():void 0)},82506:(e,t,n)=>{var a=n(68846),r=n(76165),i=n(33836),o=n(41119),s=a.TypeError;e.exports=function(e,t){var n,a;if("string"===t&&i(n=e.toString)&&!o(a=r(n,e)))return a;if(i(n=e.valueOf)&&!o(a=r(n,e)))return a;if("string"!==t&&i(n=e.toString)&&!o(a=r(n,e)))return a;throw s("Can't convert object to primitive value")}},75539:(e,t,n)=>{var a=n(48091),r=n(85233),i=n(21425),o=n(40625),s=n(60596),d=r([].concat);e.exports=a("Reflect","ownKeys")||function(e){var t=i.f(s(e)),n=o.f;return n?d(t,n(e)):t}},11736:(e,t,n)=>{var a=n(68846),r=n(33836),i=n(34472),o=n(42307),s=n(72541),d=n(53153),l=n(95861),c=n(2878).CONFIGURABLE,u=l.get,p=l.enforce,g=String(String).split("String");(e.exports=function(e,t,n,d){var l,u=!!d&&!!d.unsafe,f=!!d&&!!d.enumerable,_=!!d&&!!d.noTargetGet,m=d&&void 0!==d.name?d.name:t;r(n)&&("Symbol("===String(m).slice(0,7)&&(m="["+String(m).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||c&&n.name!==m)&&o(n,"name",m),(l=p(n)).source||(l.source=g.join("string"==typeof m?m:""))),e!==a?(u?!_&&e[t]&&(f=!0):delete e[t],f?e[t]=n:o(e,t,n)):f?e[t]=n:s(t,n)})(Function.prototype,"toString",(function(){return r(this)&&u(this).source||d(this)}))},85827:(e,t,n)=>{var a=n(68846).TypeError;e.exports=function(e){if(void 0==e)throw a("Can't call method on "+e);return e}},72541:(e,t,n)=>{var a=n(68846),r=Object.defineProperty;e.exports=function(e,t){try{r(a,e,{value:t,configurable:!0,writable:!0})}catch(n){a[e]=t}return t}},81426:(e,t,n)=>{var a=n(37781).f,r=n(34472),i=n(65014)("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!r(e,i)&&a(e,i,{configurable:!0,value:t})}},72971:(e,t,n)=>{var a=n(37514),r=n(69306),i=a("keys");e.exports=function(e){return i[e]||(i[e]=r(e))}},44112:(e,t,n)=>{var a=n(68846),r=n(72541),i="__core-js_shared__",o=a[i]||r(i,{});e.exports=o},37514:(e,t,n)=>{var a=n(18873),r=n(44112);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.21.1",mode:a?"pure":"global",copyright:"\xa9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})},10229:(e,t,n)=>{var a=n(65807),r=Math.max,i=Math.min;e.exports=function(e,t){var n=a(e);return n<0?r(n+t,0):i(n,t)}},76284:(e,t,n)=>{var a=n(49702),r=n(85827);e.exports=function(e){return a(r(e))}},65807:e=>{var t=Math.ceil,n=Math.floor;e.exports=function(e){var a=+e;return a!==a||0===a?0:(a>0?n:t)(a)}},86663:(e,t,n)=>{var a=n(65807),r=Math.min;e.exports=function(e){return e>0?r(a(e),9007199254740991):0}},33470:(e,t,n)=>{var a=n(68846),r=n(85827),i=a.Object;e.exports=function(e){return i(r(e))}},14483:(e,t,n)=>{var a=n(68846),r=n(76165),i=n(41119),o=n(19337),s=n(420),d=n(82506),l=n(65014),c=a.TypeError,u=l("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var n,a=s(e,u);if(a){if(void 0===t&&(t="default"),n=r(a,e,t),!i(n)||o(n))return n;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),d(e,t)}},8258:(e,t,n)=>{var a=n(14483),r=n(19337);e.exports=function(e){var t=a(e,"string");return r(t)?t:t+""}},11565:(e,t,n)=>{var a=n(68846).String;e.exports=function(e){try{return a(e)}catch(t){return"Object"}}},69306:(e,t,n)=>{var a=n(85233),r=0,i=Math.random(),o=a(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++r+i,36)}},94201:(e,t,n)=>{var a=n(19114);e.exports=a&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},41602:(e,t,n)=>{var a=n(99827),r=n(44424);e.exports=a&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},65014:(e,t,n)=>{var a=n(68846),r=n(37514),i=n(34472),o=n(69306),s=n(19114),d=n(94201),l=r("wks"),c=a.Symbol,u=c&&c.for,p=d?c:c&&c.withoutSetter||o;e.exports=function(e){if(!i(l,e)||!s&&"string"!=typeof l[e]){var t="Symbol."+e;s&&i(c,e)?l[e]=c[e]:l[e]=d&&u?u(t):p(t)}return l[e]}},67120:(e,t,n)=>{"use strict";var a=n(76284),r=n(32776),i=n(51125),o=n(95861),s=n(37781).f,d=n(58617),l=n(18873),c=n(99827),u="Array Iterator",p=o.set,g=o.getterFor(u);e.exports=d(Array,"Array",(function(e,t){p(this,{type:u,target:a(e),index:0,kind:t})}),(function(){var e=g(this),t=e.target,n=e.kind,a=e.index++;return!t||a>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:a,done:!1}:"values"==n?{value:t[a],done:!1}:{value:[a,t[a]],done:!1}}),"values");var f=i.Arguments=i.Array;if(r("keys"),r("values"),r("entries"),!l&&c&&"values"!==f.name)try{s(f,"name",{value:"values"})}catch(_){}},50581:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.deserializeWithBitId=t.componentIssueToString=t.formatTitle=t.ComponentIssue=t.ISSUE_FORMAT_SPACE=t.ISSUE_FORMAT_SPACE_COUNT=void 0;const r=a(n(32589)),i=n(35666);t.ISSUE_FORMAT_SPACE_COUNT=10,t.ISSUE_FORMAT_SPACE=" ".repeat(t.ISSUE_FORMAT_SPACE_COUNT);function o(e,t=!0){const n=t?":":"";return r.default.yellow(`\n ${e}${n} \n`)}function s(e){return Array.isArray(e)?e.join(", "):e}t.ComponentIssue=class{constructor(){this.isTagBlocker=!0,this.isCacheBlocker=!0,this.formatDataFunction=s}get descriptionWithSolution(){const e=this.solution?` (${this.solution})`:"";return`${this.description}${e}`}outputForCLI(){return o(this.descriptionWithSolution)+r.default.white(this.dataToString())}dataToString(){return Object.keys(this.data).map((e=>`${t.ISSUE_FORMAT_SPACE}${e} -> ${this.formatDataFunction(this.data[e])}`)).join("\n")}toObject(){return{type:this.constructor.name,description:this.description,solution:this.solution,data:this.data}}serialize(){return JSON.stringify(this.data)}deserialize(e){return JSON.parse(e)}},t.formatTitle=o,t.componentIssueToString=s,t.deserializeWithBitId=function(e){const t=JSON.parse(e);return Object.keys(t).forEach((e=>{t[e]=t[e].map((e=>new i.BitId(e)))})),t}},78803:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CustomModuleResolutionUsed=void 0;const a=n(50581);class r extends a.ComponentIssue{constructor(){super(...arguments),this.description="component is using an unsupported resolve-modules (aka aliases) feature",this.solution="replace to module paths",this.data={}}}t.CustomModuleResolutionUsed=r},86826:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImportNonMainFiles=void 0;const a=n(50581);class r extends a.ComponentIssue{constructor(){super(...arguments),this.description="importing non-main files",this.solution="the dependency should expose its API from the main file",this.data={},this.isCacheBlocker=!1}}t.ImportNonMainFiles=r},86853:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RelativeComponentsAuthoredEntry=t.MISSING_NESTED_DEPS_SPACE=t.UntrackedFileDependencyEntry=t.MISSING_DEPS_SPACE=t.IssuesNames=t.IssuesClasses=t.IssuesList=void 0;var a=n(99838);Object.defineProperty(t,"IssuesList",{enumerable:!0,get:function(){return a.IssuesList}}),Object.defineProperty(t,"IssuesClasses",{enumerable:!0,get:function(){return a.IssuesClasses}}),Object.defineProperty(t,"IssuesNames",{enumerable:!0,get:function(){return a.IssuesNames}});var r=n(50581);Object.defineProperty(t,"MISSING_DEPS_SPACE",{enumerable:!0,get:function(){return r.ISSUE_FORMAT_SPACE}});var i=n(89695);Object.defineProperty(t,"UntrackedFileDependencyEntry",{enumerable:!0,get:function(){return i.UntrackedFileDependencyEntry}}),Object.defineProperty(t,"MISSING_NESTED_DEPS_SPACE",{enumerable:!0,get:function(){return i.MISSING_NESTED_DEPS_SPACE}});var o=n(68545);Object.defineProperty(t,"RelativeComponentsAuthoredEntry",{enumerable:!0,get:function(){return o.RelativeComponentsAuthoredEntry}})},99838:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IssuesList=t.IssuesClasses=void 0;const a=n(78803),r=n(86826),i=n(38394),o=n(79681),s=n(34904),d=n(47153),l=n(48803),c=n(38568),u=n(3185),p=n(41420),g=n(68545),f=n(5649),_=n(89695),m=n(66396),h=n(88821),R=n(83813);t.IssuesClasses={MissingPackagesDependenciesOnFs:c.MissingPackagesDependenciesOnFs,MissingComponents:i.MissingComponents,UntrackedDependencies:_.UntrackedDependencies,ResolveErrors:f.ResolveErrors,relativeComponents:p.relativeComponents,relativeComponentsAuthored:g.relativeComponentsAuthored,ParseErrors:u.ParseErrors,MissingLinks:l.MissingLinks,MissingDists:d.MissingDists,LegacyInsideHarmony:m.LegacyInsideHarmony,MissingDependenciesOnFs:s.MissingDependenciesOnFs,MissingCustomModuleResolutionLinks:o.MissingCustomModuleResolutionLinks,ImportNonMainFiles:r.ImportNonMainFiles,CustomModuleResolutionUsed:a.CustomModuleResolutionUsed,MultipleEnvs:h.MultipleEnvs,MissingLinksFromNodeModulesToSrc:R.MissingLinksFromNodeModulesToSrc};class b{constructor(e=[]){this.issues=e}get count(){return this.issues.length}isEmpty(){return 0===this.issues.length}outputForCLI(){return this.issues.map((e=>e.outputForCLI())).join("")}toObject(){return this.issues.map((e=>e.toObject()))}toObjectWithDataAsString(){return this.issues.map((e=>Object.assign(Object.assign({},e.toObject()),{data:e.dataToString().trim()})))}add(e){this.issues.push(e)}delete(e){this.issues=this.issues.filter((t=>!(t instanceof e)))}getIssue(e){return this.issues.find((t=>t instanceof e))}getIssueByName(e){return this.issues.find((t=>t.constructor.name===e))}getAllIssues(){return this.issues}createIssue(e){const t=new e;return this.add(t),t}getOrCreate(e){return this.getIssue(e)||this.createIssue(e)}shouldBlockSavingInCache(){return this.issues.some((e=>e.isCacheBlocker))}shouldBlockTagging(){return this.issues.some((e=>e.isTagBlocker))}serialize(){return this.issues.map((e=>({type:e.constructor.name,data:e.serialize()})))}static deserialize(e){if(!Array.isArray(e))return new b;const n=e.map((e=>{const n=e.type;if(!Object.keys(t.IssuesClasses).includes(n))throw new Error(`issue type "${n}" is not recognized.\nthe following are permitted ${Object.keys(t.IssuesClasses).join(", ")}`);const a=new t.IssuesClasses[n];return a.data=a.deserialize(e.data),a}));return new b(n)}}t.IssuesList=b},66396:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LegacyInsideHarmony=void 0;const a=n(50581);class r extends a.ComponentIssue{constructor(){super(...arguments),this.description="legacy component inside Harmony workspace",this.solution="remove the component and re-create it via Harmony",this.isTagBlocker=!0}outputForCLI(){return(0,a.formatTitle)(this.descriptionWithSolution,!1)}}t.LegacyInsideHarmony=r},38394:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingComponents=void 0;const a=n(50581);class r extends a.ComponentIssue{constructor(){super(...arguments),this.description="missing components",this.solution='use "bit import" or `bit install` to make sure all components exist',this.data={}}deserialize(e){return(0,a.deserializeWithBitId)(e)}}t.MissingComponents=r},79681:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingCustomModuleResolutionLinks=void 0;const a=n(50581);class r extends a.ComponentIssue{constructor(){super(...arguments),this.description="missing links",this.solution='use "bit link" to build missing component links',this.data={}}}t.MissingCustomModuleResolutionLinks=r},34904:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingDependenciesOnFs=void 0;const a=n(50581);class r extends a.ComponentIssue{constructor(){super(...arguments),this.description="non-existing dependency files",this.solution="make sure all files exists on your workspace",this.data={}}}t.MissingDependenciesOnFs=r},47153:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingDists=void 0;const a=n(50581);class r extends a.ComponentIssue{constructor(){super(...arguments),this.description="missing dists",this.solution='run "bit compile"',this.isTagBlocker=!1}outputForCLI(){return(0,a.formatTitle)(this.descriptionWithSolution,!1)}}t.MissingDists=r},83813:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingLinksFromNodeModulesToSrc=void 0;const a=n(50581);class r extends a.ComponentIssue{constructor(){super(...arguments),this.description="missing links from node_modules to source",this.solution='run "bit link"',this.isTagBlocker=!1}outputForCLI(){return(0,a.formatTitle)(this.descriptionWithSolution,!1)}}t.MissingLinksFromNodeModulesToSrc=r},48803:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingLinks=void 0;const a=n(50581);class r extends a.ComponentIssue{constructor(){super(...arguments),this.description="missing links between components",this.solution='use "bit link" to build missing component links',this.data={}}deserialize(e){return(0,a.deserializeWithBitId)(e)}}t.MissingLinks=r},38568:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingPackagesDependenciesOnFs=void 0;const a=n(50581);class r extends a.ComponentIssue{constructor(){super(...arguments),this.description="missing packages or links from node_modules to the source",this.solution="run \"bit install\" to fix both issues. if it's an external package, make sure it's added as a package dependency",this.data={}}}t.MissingPackagesDependenciesOnFs=r},88821:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MultipleEnvs=void 0;const a=n(50581);class r extends a.ComponentIssue{constructor(){super(...arguments),this.description="multiple envs",this.solution='remove the old envs by setting them with "-" sign in the variants. see https://bit.dev/docs/envs/using-envs#component-must-have-a-single-env',this.isTagBlocker=!0}dataToString(){return a.ISSUE_FORMAT_SPACE+this.data.join(", ")}}t.MultipleEnvs=r},3185:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ParseErrors=void 0;const a=n(50581);class r extends a.ComponentIssue{constructor(){super(...arguments),this.description="error found while parsing the file",this.solution="edit the file and fix the parsing error",this.data={}}}t.ParseErrors=r},68545:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.relativeComponentsAuthored=void 0;const a=n(35666),r=n(50581);class i extends r.ComponentIssue{constructor(){super(...arguments),this.description="components with relative import statements found",this.solution='replace to module paths or use "bit link --rewire" to replace',this.data={},this.isCacheBlocker=!1,this.formatDataFunction=o}deserialize(e){const t=JSON.parse(e);return Object.keys(t).forEach((e=>{t[e]=t[e].map((e=>({importSource:e.importSource,componentId:new a.BitId(e.componentId),relativePath:e.relativePath})))})),t}}function o(e){return e.map((e=>`"${e.importSource}" (${e.componentId.toString()})`)).join(", ")}t.relativeComponentsAuthored=i},41420:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.relativeComponents=void 0;const a=n(50581);class r extends a.ComponentIssue{constructor(){super(...arguments),this.description="components with relative import statements found",this.solution="use module paths for imported components",this.data={},this.isCacheBlocker=!1}deserialize(e){return(0,a.deserializeWithBitId)(e)}}t.relativeComponents=r},5649:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveErrors=void 0;const a=n(50581);class r extends a.ComponentIssue{constructor(){super(...arguments),this.description="error found while resolving the file dependencies",this.solution="see the log for the full error",this.data={}}}t.ResolveErrors=r},89695:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.UntrackedDependencies=t.MISSING_NESTED_DEPS_SPACE=void 0;const r=a(n(32589)),i=n(50581);t.MISSING_NESTED_DEPS_SPACE=" ".repeat(i.ISSUE_FORMAT_SPACE_COUNT+2);class o extends i.ComponentIssue{constructor(){super(...arguments),this.description="untracked file dependencies",this.solution='use "bit add <file>" to track untracked files as components',this.data={}}dataToString(){return Object.keys(this.data).map((e=>{let n=i.ISSUE_FORMAT_SPACE;return this.data[e].nested&&(n=t.MISSING_NESTED_DEPS_SPACE),`${n}${e} -> ${a=this.data[e],a.untrackedFiles.map((e=>e.existing?`${r.default.yellow(e.relativePath)}`:e.relativePath)).join(", ")}`;var a})).join("\n")}}t.UntrackedDependencies=o},70094:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidVersion=void 0;const r=a(n(86365));t.InvalidVersion=r.default},86365:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(93902);class r extends a.BitError{constructor(e){super(`error: version ${e||"(empty)"} is not a valid semantic version. learn more: https://semver.org`)}}t.default=r},8886:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidVersion=t.isTag=t.isSnap=t.isHash=t.versionParser=t.LATEST_VERSION=t.Version=void 0;const o=n(28830);Object.defineProperty(t,"Version",{enumerable:!0,get:function(){return o.Version}}),Object.defineProperty(t,"LATEST_VERSION",{enumerable:!0,get:function(){return o.LATEST_VERSION}});const s=i(n(23387));t.versionParser=s.default,Object.defineProperty(t,"isHash",{enumerable:!0,get:function(){return s.isHash}}),Object.defineProperty(t,"isSnap",{enumerable:!0,get:function(){return s.isSnap}}),Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return s.isTag}});const d=n(70094);Object.defineProperty(t,"InvalidVersion",{enumerable:!0,get:function(){return d.InvalidVersion}})},23387:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.isSnap=t.isTag=t.isHash=t.LATEST_TESTED_MARK=t.HASH_SIZE=void 0;const r=a(n(81249)),i=n(70094),o=n(28830);function s(e){return r.default.valid(e)}function d(e){return new o.Version(e,!1)}function l(){return new o.Version(null,!0)}function c(e){return"string"===typeof e&&e.length===t.HASH_SIZE}t.HASH_SIZE=40,t.LATEST_TESTED_MARK="*",t.isHash=c,t.isTag=function(e){return!c(e)},t.isSnap=function(e){return c(e)},t.default=function(e){if(!e)return l();if("string"===typeof e&&function(e){return e===o.LATEST_VERSION}(e))return l();if("string"===typeof e&&function(e){if(!e.includes(t.LATEST_TESTED_MARK))return!1;const n=e.split(t.LATEST_TESTED_MARK);if(2!==n.length)return!1;const[,a]=n;return!!s(a)}(e))return function(e){const[,n]=e.split(t.LATEST_TESTED_MARK);return new o.Version(n,!0)}(e);if("string"===typeof e&&s(e))return d(e);if("string"!==typeof e&&Number.isInteger(e))return function(e){return d(`0.0.${e}`)}(e);if(c(e))return n=e,new o.Version(n,!1);var n;throw new i.InvalidVersion(e.toString())}},28830:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Version=t.LATEST_VERSION=void 0;const r=a(n(81249)),i=n(70094);t.LATEST_VERSION="latest";t.Version=class{constructor(e,t){this.versionNum=e,this.latest=t}resolve(e){return this.latest?r.default.maxSatisfying(e,"*",{includePrerelease:!0}):this.versionNum}toString(){if(!this.versionNum&&this.latest)return"latest";if(this.versionNum&&this.latest)return`*${this.versionNum}`;if(this.versionNum&&!this.latest)return this.versionNum.toString();throw new i.InvalidVersion(this.versionNum)}isLaterThan(e){return!this.versionNum||this.versionNum===t.LATEST_VERSION||!(!e.versionNum||e.versionNum===t.LATEST_VERSION)&&r.default.gt(this.versionNum,e.versionNum)}}},81718:function(e,t,n){"use strict";var a=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentOverview=void 0;const i=r(n(4516)),o=n(14352),s=n(3192),d=n(68158),l=n(90239),c=n(78415),u=n(21335),p=n(88270),g=n(53518),f=r(n(84802));t.ComponentOverview=function(e){var t,{displayName:n,abstract:r,titleBadges:_,labels:m,packageName:h,elementsUrl:R,componentDescriptor:b}=e,y=a(e,["displayName","abstract","titleBadges","labels","packageName","elementsUrl","componentDescriptor"]);let v=R;if(v&&!v.startsWith("http")){const e=g.isBrowser?window.location.origin:void 0;v=e&&R?`${e}${R}`:void 0}return i.default.createElement(c.Section,Object.assign({},y),i.default.createElement("div",{className:o.textColumn},i.default.createElement("div",{className:f.default.componentTitle},i.default.createElement(d.H1,null,n),i.default.createElement("div",{className:f.default.badgeContainer},null===(t=null===_||void 0===_?void 0:_.sort(((e,t)=>(null===e||void 0===e?void 0:e.weight)-(null===t||void 0===t?void 0:t.weight))))||void 0===t?void 0:t.map(((e,t)=>i.default.createElement(e.component,{key:t,componentDescriptor:b}))))),r&&i.default.createElement(p.Subtitle,{className:f.default.subTitle},r),i.default.createElement(l.LabelList,null,m),i.default.createElement(s.ConsumableLink,{title:"Package name",link:h}),v&&i.default.createElement(s.ConsumableLink,{title:"Elements url",link:v})),i.default.createElement(u.Separator,{isPresentational:!0}))}},54468:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentOverview=void 0;var a=n(81718);Object.defineProperty(t,"ComponentOverview",{enumerable:!0,get:function(){return a.ComponentOverview}})},10635:function(e,t,n){"use strict";var a=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DeprecationIcon=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(54560),d=n(176),l=n(94106),c=n(93976),u=r(n(44611));t.DeprecationIcon=function(e){var t,{component:n,className:r}=e,p=a(e,["component","className"]);return(null===(t=n.deprecation)||void 0===t?void 0:t.isDeprecate)?i.default.createElement(c.Tooltip,{className:u.default.deprecatedTooltip,placement:"bottom",content:i.default.createElement("div",{className:u.default.deprectaedTooltipContent},"Deprecated")},i.default.createElement("div",null,i.default.createElement(s.Icon,Object.assign({},p,{of:"note-deprecated",className:(0,o.default)(l.themedText,d.colorPalette.warning,r)})))):null}},95370:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DeprecationIconProps=t.DeprecationIcon=void 0;var a=n(10635);Object.defineProperty(t,"DeprecationIcon",{enumerable:!0,get:function(){return a.DeprecationIcon}}),Object.defineProperty(t,"DeprecationIconProps",{enumerable:!0,get:function(){return a.DeprecationIconProps}})},65648:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useFetchDocs=void 0;var a=n(13479);Object.defineProperty(t,"useFetchDocs",{enumerable:!0,get:function(){return a.useFetchDocs}})},13479:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useFetchDocs=void 0;const a=n(4516),r=n(28687),i=n(68211),o=r.gql`
|
|
1
|
+
(self.webpackChunk_teambit_legacy=self.webpackChunk_teambit_legacy||[]).push([[793,703],{81254:(e,t,n)=>{"use strict";function a(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(4516));function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},o.apply(this,arguments)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var c=r.default.createContext({}),u=function(e){var t=r.default.useContext(c),n=t;return e&&(n="function"===typeof e?e(t):d(d({},t),e)),n},p={inlineCode:"code",wrapper:function(e){var t=e.children;return r.default.createElement(r.default.Fragment,{},t)}},g=r.default.forwardRef((function(e,t){var n=e.components,a=e.mdxType,i=e.originalType,o=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),c=u(n),g=a,f=c["".concat(o,".").concat(g)]||c[g]||p[g]||i;return n?r.default.createElement(f,d(d({ref:t},s),{},{components:n})):r.default.createElement(f,d({ref:t},s))}));g.displayName="MDXCreateElement",t.MDXContext=c,t.MDXProvider=function(e){var t=u(e.components);return r.default.createElement(c.Provider,{value:t},e.children)},t.mdx=function(e,t){var n=arguments,a=t&&t.mdxType;if("string"===typeof e||a){var i=n.length,o=new Array(i);o[0]=g;var s={};for(var d in t)hasOwnProperty.call(t,d)&&(s[d]=t[d]);s.originalType=e,s.mdxType="string"===typeof e?e:a,o[1]=s;for(var l=2;l<i;l++)o[l]=n[l];return r.default.createElement.apply(null,o)}return r.default.createElement.apply(null,n)},t.useMDXComponents=u,t.withMDXComponents=function(e){return function(t){var n=u(t.components);return r.default.createElement(e,o({},t,{components:n}))}}},79744:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n(59394))},40461:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(98554);t.NodeFS=a.NodeFS,function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n(90786))},98554:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(26470),i=a(n(591)),o=a(n(90786));t.NodeFS=class{constructor(e){this.workingDir=e,this.promises=new o.default}getPath(e){return r.join(this.workingDir,e)}access(e,t,n){i.default.access(this.getPath(e),t,n)}accessSync(e,t){i.default.accessSync(this.getPath(e),t)}appendFile(e,t,n,a){i.default.appendFile(this.getPath(e),t,n)}appendFileSync(e,t,n){i.default.appendFileSync(this.getPath(e),t,n)}chmod(e,t,n){i.default.chmod(this.getPath(e),t,n)}chmodSync(e,t){i.default.chmodSync(this.getPath(e),t)}chown(e,t,n,a){i.default.chown(this.getPath(e),t,n,a)}chownSync(e,t,n){i.default.chownSync(this.getPath(e),t,n)}close(e,t){i.default.close(e,t)}closeSync(e){i.default.closeSync(e)}copyFile(e,t,n){i.default.copyFile(e,t,n)}copyFileSync(e,t,n){i.default.copyFileSync(e,t,n)}createReadStream(e,t){return i.default.createReadStream(this.getPath(e),t)}createWriteStream(e,t){return i.default.createWriteStream(this.getPath(e),t)}exists(e,t){i.default.exists(this.getPath(e),t)}existsSync(e){return i.default.existsSync(this.getPath(e))}fchmod(e,t,n){i.default.fchmod(e,t,n)}fchmodSync(e,t){i.default.fchmodSync(e,t)}fchown(e,t,n,a){i.default.fchown(e,t,n,a)}fchownSync(e,t,n){i.default.fchownSync(e,t,n)}fdatasync(e,t){i.default.fdatasync(e,t)}fdatasyncSync(e){i.default.fdatasyncSync(e)}fstat(e,t){i.default.fstat(e,t)}fstatSync(e){return i.default.fstatSync(e)}fsync(e,t){i.default.fsync(e,t)}fsyncSync(e){i.default.fsyncSync(e)}ftruncate(e,t,n){i.default.ftruncate(e,t,n)}ftruncateSync(e,t){i.default.ftruncateSync(e,t)}futimes(e,t,n,a){i.default.futimes(e,t,n,a)}futimesSync(e,t,n){i.default.futimesSync(e,t,n)}lchmod(e,t,n){i.default.lchmod(this.getPath(e),t,n)}lchmodSync(e,t){i.default.lchmodSync(this.getPath(e),t)}lchown(e,t,n,a){i.default.lchown(this.getPath(e),t,n,a)}lchownSync(e,t,n){i.default.lchownSync(this.getPath(e),t,n)}link(e,t,n){i.default.link(e,t,n)}linkSync(e,t){i.default.linkSync(e,t)}lstat(e,t){i.default.lstat(this.getPath(e),t)}lstatSync(e){return i.default.lstatSync(e)}mkdir(e,t,n){i.default.mkdir(this.getPath(e),t,n)}mkdirSync(e,t){i.default.mkdirSync(this.getPath(e),t)}mkdtemp(e,t,n){i.default.mkdtemp(e,t,n)}mkdtempSync(e,t){return i.default.mkdtempSync(e,t)}open(e,t,n,a){i.default.open(this.getPath(e),t,n,a)}openSync(e,t,n){return i.default.openSync(this.getPath(e),t,n)}read(e,t,n,a,r,o){i.default.read(e,t,n,a,r,o)}readFile(e,t,n){}readFileSync(e,t){return i.default.readFileSync(this.getPath(e))}readSync(e,t,n,a,r){return i.default.readSync(e,t,n,a,r)}readdir(e,t,n){i.default.readdir(this.getPath(e),t,n)}readdirSync(e,t){return i.default.readdirSync(this.getPath(e),t)}readlink(e,t,n){i.default.readlink(this.getPath(e),t,n)}readlinkSync(e,t){return i.default.readlinkSync(this.getPath(e),t)}realpath(e,t,n){i.default.realpath(this.getPath(e),t,n)}realpathSync(e,t){return i.default.realpathSync(this.getPath(e),t)}rename(e,t,n){i.default.rename(e,t,n)}renameSync(e,t){i.default.renameSync(e,t)}rmdir(e,t){i.default.rmdir(this.getPath(e),t)}rmdirSync(e){i.default.rmdirSync(this.getPath(e))}stat(e,t){i.default.stat(this.getPath(e),t)}statSync(e){return i.default.statSync(e)}symlink(e,t,n,a){i.default.symlink(e,this.getPath(t),n,a)}symlinkSync(e,t,n){i.default.symlinkSync(e,this.getPath(t),n)}truncate(e,t,n){i.default.truncate(this.getPath(e),t,n)}truncateSync(e,t){i.default.truncateSync(this.getPath(e),t)}unlink(e,t){i.default.unlink(this.getPath(e),t)}unlinkSync(e){i.default.unlinkSync(this.getPath(e))}unwatchFile(e,t){i.default.unwatchFile(e,t)}utimes(e,t,n,a){i.default.utimes(this.getPath(e),t,n,a)}utimesSync(e,t,n){i.default.utimesSync(this.getPath(e),t,n)}watch(e,t,n){return i.default.watch(e,t,n)}watchFile(e,t,n){i.default.watchFile(e,t,n)}writeFile(e,t,n,a){i.default.writeFile(this.getPath(e),t,n)}writeFileSync(e,t,n){i.default.writeFileSync(this.getPath(e),t,n)}writeSync(e,t,n,a,r){return i.default.writeSync(e,t,n,a,r)}write(e,t,n,a,r,i){this.write(e,t,n,a,r,i)}}},90786:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(591));t.default=class{access(e,t){return r.default.promises.access(e,t)}appendFile(e,t,n){return r.default.promises.appendFile(e,t)}chmod(e,t){return r.default.promises.chmod(e,t)}chown(e,t,n){return r.default.promises.chown(e,t,n)}copyFile(e,t,n){return r.default.promises.copyFile(e,t,n)}fchmod(e,t){return r.default.promises.fchmod(e,t)}fchown(e,t,n){return r.default.promises.fchown(e,t,n)}fdatasync(e){return r.default.promises.fdatasync(e)}fstat(e){return r.default.promises.fstat(e)}fsync(e){return r.default.promises.fsync(e)}ftruncate(e,t){return r.default.promises.ftruncate(e,t)}futimes(e,t,n){return r.default.promises.futimes(e,t,n)}lchmod(e,t){return r.default.promises.lchmod(e,t)}lchown(e,t,n){return r.default.promises.lchown(e,t,n)}link(e,t){return r.default.promises.link(e,t)}lstat(e){return r.default.promises.lstat(e)}mkdir(e,t){return r.default.promises.mkdir(e,t)}mkdtemp(e,t){return r.default.promises.mkdtemp(e,t)}open(e,t,n){return r.default.promises.open(e,t,n)}read(e,t,n,a,i){return r.default.promises.read(e,t,n,a,i)}readFile(e,t){return r.default.promises.readFile(e,t)}readdir(e,t){return r.default.promises.readdir(e,t)}readlink(e,t){return r.default.promises.readlink(e,t)}realpath(e,t){return r.default.promises.realpath(e,t)}rename(e,t){return r.default.promises.rename(e,t)}rmdir(e){return r.default.promises.rmdir(e)}stat(e){return r.default.promises.stat(e)}symlink(e,t,n){return r.default.promises.symlink(e,t,n)}truncate(e,t){return r.default.promises.truncate(e,t)}unlink(e){return r.default.promises.unlink(e)}utimes(e,t,n){return r.default.promises.utimes(e,t,n)}write(e,t,n,a,i){r.default.promises.write(e,t,n,a)}writeFile(e,t,n){return r.default.promises.writeFile(e,t,n)}}},59394:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(40461)),a(n(48682))},48682:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n(95590))},95590:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(66612);t.MemoryFS=class{constructor(){this.volume=new a.Volume,this.promises=this.volume.promises}access(e,t,n){this.volume.access(e,t,n)}accessSync(e,t){this.volume.accessSync(e,t)}appendFile(e,t,n,a){this.volume.appendFile(e,t,n)}mkdirpSync(e){this.volume.mkdirpSync(e)}appendFileSync(e,t,n){this.volume.appendFileSync(e,t,n)}chmod(e,t,n){this.volume.chmod(e,t,n)}chmodSync(e,t){this.volume.chmodSync(e,t)}chown(e,t,n,a){this.volume.chown(e,t,n,a)}chownSync(e,t,n){this.volume.chownSync(e,t,n)}close(e,t){this.volume.close(e,t)}closeSync(e){this.volume.closeSync(e)}copyFile(e,t,n){this.volume.copyFile(e,t,n)}copyFileSync(e,t,n){this.volume.copyFileSync(e,t,n)}createReadStream(e,t){return this.volume.createReadStream(e,t)}createWriteStream(e,t){return this.volume.createWriteStream(e,t)}exists(e,t){this.volume.exists(e,t)}existsSync(e){return!1}fchmod(e,t,n){this.volume.fchmod(e,t,n)}fchmodSync(e,t){this.volume.fchmodSync(e,t)}fchown(e,t,n,a){this.volume.fchown(e,t,n,a)}fchownSync(e,t,n){this.volume.fchownSync(e,t,n)}fdatasync(e,t){this.volume.fdatasync(e,t)}fdatasyncSync(e){this.volume.fdatasyncSync(e)}fstat(e,t){this.volume.fstat(e,t)}fstatSync(e){return this.volume.fstatSync(e)}fsync(e,t){this.volume.fsync(e,t)}fsyncSync(e){this.volume.fsyncSync(e)}ftruncate(e,t,n){this.volume.ftruncate(e,t,n)}ftruncateSync(e,t){this.volume.ftruncateSync(e,t)}futimes(e,t,n,a){this.volume.futimes(e,t,n,a)}futimesSync(e,t,n){this.volume.futimesSync(e,t,n)}lchmod(e,t,n){this.volume.lchmod(e,t,n)}lchmodSync(e,t){this.volume.lchmodSync(e,t)}lchown(e,t,n,a){this.volume.lchown(e,t,n,a)}lchownSync(e,t,n){this.volume.lchownSync(e,t,n)}link(e,t,n){this.volume.link(e,t,n)}linkSync(e,t){this.volume.linkSync(e,t)}lstat(e,t){this.volume.lstat(e,t)}lstatSync(e){return this.volume.lstatSync(e)}mkdir(e,t,n){this.volume.mkdir(e,t,n)}mkdirSync(e,t){this.volume.mkdirSync(e,t)}mkdtemp(e,t,n){this.volume.mkdtemp(e,t,n)}mkdtempSync(e,t){return this.volume.mkdtempSync(e,t)}open(e,t,n,a){this.volume.open(e,t,n,a)}openSync(e,t,n){return this.volume.openSync(e,t,n)}read(e,t,n,a,r,i){this.volume.read(e,t,n,a,r,i)}readFile(e,t,n){}readFileSync(e,t){return this.volume.readFileSync(e)}readSync(e,t,n,a,r){return this.volume.readSync(e,t,n,a,r)}readdir(e,t,n){this.volume.readdir(e,t,n)}readdirSync(e,t){return this.volume.readdirSync(e,t)}readlink(e,t,n){this.volume.readlink(e,t,n)}readlinkSync(e,t){return this.volume.readlinkSync(e,t)}realpath(e,t,n){this.volume.realpath(e,t,n)}realpathSync(e,t){return this.volume.realpathSync(e,t)}rename(e,t,n){this.volume.rename(e,t,n)}renameSync(e,t){this.volume.renameSync(e,t)}rmdir(e,t){this.volume.rmdir(e,t)}rmdirSync(e){this.volume.rmdirSync(e)}stat(e,t){this.volume.stat(e,t)}statSync(e){return this.volume.statSync(e)}symlink(e,t,n,a){this.volume.symlink(e,t,n,a)}symlinkSync(e,t,n){this.volume.symlinkSync(e,t,n)}truncate(e,t,n){this.volume.truncate(e,t,n)}truncateSync(e,t){this.volume.truncateSync(e,t)}unlink(e,t){this.volume.unlink(e,t)}unlinkSync(e){this.volume.unlinkSync(e)}unwatchFile(e,t){this.volume.unwatchFile(e,t)}utimes(e,t,n,a){this.volume.utimes(e,t,n,a)}utimesSync(e,t,n){this.volume.utimesSync(e,t,n)}watch(e,t,n){return this.volume.watch(e,t,n)}watchFile(e,t,n){this.volume.watchFile(e,t,n)}writeFile(e,t,n,a){this.volume.writeFile(e,t,n)}writeFileSync(e,t,n){this.volume.writeFileSync(e,t,n)}writeSync(e,t,n,a,r){return this.volume.writeSync(e,t,n,a,r)}write(e,t,n,a,r,i){this.write(e,t,n,a,r,i)}}},79129:(e,t,n)=>{"use strict";var a=n(34155);t.Z4=s;var r="win32"===a.platform;function i(e,t){var n=e[t];return t>0&&("/"===n||r&&"\\"===n)}function o(e,t){if("string"!==typeof e)throw new TypeError("expected a string");return e=e.replace(/[\\\/]+/g,"/"),!1!==t&&(e=function(e){var t=e.length-1;if(t<2)return e;for(;i(e,t);)t--;return e.substr(0,t+1)}(e)),e}function s(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return r?(e=o(e,t)).replace(/^([a-zA-Z]+:|\.\/)/,""):e}},97122:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.fsProps=["constants","F_OK","R_OK","W_OK","X_OK","Stats"],t.fsSyncMethods=["renameSync","ftruncateSync","truncateSync","chownSync","fchownSync","lchownSync","chmodSync","fchmodSync","lchmodSync","statSync","lstatSync","fstatSync","linkSync","symlinkSync","readlinkSync","realpathSync","unlinkSync","rmdirSync","mkdirSync","mkdirpSync","readdirSync","closeSync","openSync","utimesSync","futimesSync","fsyncSync","writeSync","readSync","readFileSync","writeFileSync","appendFileSync","existsSync","accessSync","fdatasyncSync","mkdtempSync","copyFileSync","createReadStream","createWriteStream"],t.fsAsyncMethods=["rename","ftruncate","truncate","chown","fchown","lchown","chmod","fchmod","lchmod","stat","lstat","fstat","link","symlink","readlink","realpath","unlink","rmdir","mkdir","mkdirp","readdir","close","open","utimes","futimes","fsync","write","read","readFile","writeFile","appendFile","exists","access","fdatasync","mkdtemp","copyFile","watchFile","unwatchFile","watch"]},62456:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(95287),r=n(5866),i=a.constants.S_IFMT,o=a.constants.S_IFDIR,s=a.constants.S_IFREG,d=a.constants.S_IFBLK,l=a.constants.S_IFCHR,c=a.constants.S_IFLNK,u=a.constants.S_IFIFO,p=a.constants.S_IFSOCK,g=function(){function e(){this.name="",this.mode=0}return e.build=function(t,n){var a=new e,i=t.getNode().mode;return a.name=r.strToEncoding(t.getName(),n),a.mode=i,a},e.prototype._checkModeProperty=function(e){return(this.mode&i)===e},e.prototype.isDirectory=function(){return this._checkModeProperty(o)},e.prototype.isFile=function(){return this._checkModeProperty(s)},e.prototype.isBlockDevice=function(){return this._checkModeProperty(d)},e.prototype.isCharacterDevice=function(){return this._checkModeProperty(l)},e.prototype.isSymbolicLink=function(){return this._checkModeProperty(c)},e.prototype.isFIFO=function(){return this._checkModeProperty(u)},e.prototype.isSocket=function(){return this._checkModeProperty(p)},e}();t.Dirent=g,t.default=g},22282:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(95287),r=n(65019),i=a.constants.S_IFMT,o=a.constants.S_IFDIR,s=a.constants.S_IFREG,d=a.constants.S_IFBLK,l=a.constants.S_IFCHR,c=a.constants.S_IFLNK,u=a.constants.S_IFIFO,p=a.constants.S_IFSOCK,g=function(){function e(){}return e.build=function(t,n){void 0===n&&(n=!1);var a=new e,i=t.uid,o=t.gid,s=t.atime,d=t.mtime,l=t.ctime,c=n?r.default:function(e){return e};a.uid=c(i),a.gid=c(o),a.rdev=c(0),a.blksize=c(4096),a.ino=c(t.ino),a.size=c(t.getSize()),a.blocks=c(1),a.atime=s,a.mtime=d,a.ctime=l,a.birthtime=l,a.atimeMs=c(s.getTime()),a.mtimeMs=c(d.getTime());var u=c(l.getTime());return a.ctimeMs=u,a.birthtimeMs=u,a.dev=c(0),a.mode=c(t.mode),a.nlink=c(t.nlink),a},e.prototype._checkModeProperty=function(e){return(Number(this.mode)&i)===e},e.prototype.isDirectory=function(){return this._checkModeProperty(o)},e.prototype.isFile=function(){return this._checkModeProperty(s)},e.prototype.isBlockDevice=function(){return this._checkModeProperty(d)},e.prototype.isCharacterDevice=function(){return this._checkModeProperty(l)},e.prototype.isSymbolicLink=function(){return this._checkModeProperty(c)},e.prototype.isFIFO=function(){return this._checkModeProperty(u)},e.prototype.isSocket=function(){return this._checkModeProperty(p)},e}();t.Stats=g,t.default=g},95287:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.constants={O_RDONLY:0,O_WRONLY:1,O_RDWR:2,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,S_IFSOCK:49152,O_CREAT:64,O_EXCL:128,O_NOCTTY:256,O_TRUNC:512,O_APPEND:1024,O_DIRECTORY:65536,O_NOATIME:262144,O_NOFOLLOW:131072,O_SYNC:1052672,O_DIRECT:16384,O_NONBLOCK:2048,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,F_OK:0,R_OK:4,W_OK:2,X_OK:1,UV_FS_SYMLINK_DIR:1,UV_FS_SYMLINK_JUNCTION:2,UV_FS_COPYFILE_EXCL:1,UV_FS_COPYFILE_FICLONE:2,UV_FS_COPYFILE_FICLONE_FORCE:4,COPYFILE_EXCL:1,COPYFILE_FICLONE:2,COPYFILE_FICLONE_FORCE:4}},5866:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(562),r=n(12913);t.ENCODING_UTF8="utf8",t.assertEncoding=function(e){if(e&&!a.Buffer.isEncoding(e))throw new r.TypeError("ERR_INVALID_OPT_VALUE_ENCODING",e)},t.strToEncoding=function(e,n){return n&&n!==t.ENCODING_UTF8?"buffer"===n?new a.Buffer(e):new a.Buffer(e).toString(n):e}},65019:(e,t)=>{"function"===typeof BigInt?t.default=BigInt:t.default=function(){throw new Error("BigInt is not supported in this environment.")}},66612:function(e,t,n){"use strict";var a=this&&this.__assign||function(){return a=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var r=n(22282),i=n(62456),o=n(64129),s=n(97122),d=s.fsSyncMethods,l=s.fsAsyncMethods,c=n(95287),u=c.constants.F_OK,p=c.constants.R_OK,g=c.constants.W_OK,f=c.constants.X_OK;function _(e){for(var t={F_OK:u,R_OK:p,W_OK:g,X_OK:f,constants:c.constants,Stats:r.default,Dirent:i.default},n=0,a=d;n<a.length;n++){"function"===typeof e[m=a[n]]&&(t[m]=e[m].bind(e))}for(var s=0,_=l;s<_.length;s++){var m;"function"===typeof e[m=_[s]]&&(t[m]=e[m].bind(e))}return t.StatWatcher=e.StatWatcher,t.FSWatcher=e.FSWatcher,t.WriteStream=e.WriteStream,t.ReadStream=e.ReadStream,t.promises=e.promises,t._toUnixTimestamp=o.toUnixTimestamp,t}t.Volume=o.Volume,t.vol=new o.Volume,t.createFsFromVolume=_,t.fs=_(t.vol),e.exports=a(a({},e.exports),t.fs),e.exports.semantic=!0},562:function(e,t,n){"use strict";var a=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var a=Array(e),r=0;for(t=0;t<n;t++)for(var i=arguments[t],o=0,s=i.length;o<s;o++,r++)a[r]=i[o];return a};Object.defineProperty(t,"__esModule",{value:!0});var r=n(48764);function i(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new(r.Buffer.bind.apply(r.Buffer,a([void 0,e],t)))}t.Buffer=r.Buffer;var o=r.Buffer.allocUnsafe||i;t.bufferAllocUnsafe=o;var s=r.Buffer.from||i;t.bufferFrom=s},12913:function(e,t,n){"use strict";var a=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(t,"__esModule",{value:!0});var r=n(69282),i=n(89539),o="undefined"===typeof Symbol?"_kCode":Symbol("code"),s={};function d(e){return function(e){function t(t){for(var n=[],a=1;a<arguments.length;a++)n[a-1]=arguments[a];var r=e.call(this,c(t,n))||this;return r.code=t,r[o]=t,r.name=e.prototype.name+" ["+r[o]+"]",r}return a(t,e),t}(e)}var l=function(e){function n(n){var a=this;if("object"!==typeof n||null===n)throw new t.TypeError("ERR_INVALID_ARG_TYPE","options","object");return(a=n.message?e.call(this,n.message)||this:e.call(this,i.inspect(n.actual).slice(0,128)+" "+n.operator+" "+i.inspect(n.expected).slice(0,128))||this).generatedMessage=!n.message,a.name="AssertionError [ERR_ASSERTION]",a.code="ERR_ASSERTION",a.actual=n.actual,a.expected=n.expected,a.operator=n.operator,t.Error.captureStackTrace(a,n.stackStartFunction),a}return a(n,e),n}(n.g.Error);function c(e,t){r.strictEqual(typeof e,"string");var n,a=s[e];if(r(a,"An invalid error message key was used: "+e+"."),"function"===typeof a)n=a;else{if(n=i.format,void 0===t||0===t.length)return a;t.unshift(a)}return String(n.apply(null,t))}function u(e,t){s[e]="function"===typeof t?t:String(t)}function p(e,t){if(r(e,"expected is required"),r("string"===typeof t,"thing is required"),Array.isArray(e)){var n=e.length;return r(n>0,"At least one expected value needs to be specified"),e=e.map((function(e){return String(e)})),n>2?"one of "+t+" "+e.slice(0,n-1).join(", ")+", or "+e[n-1]:2===n?"one of "+t+" "+e[0]+" or "+e[1]:"of "+t+" "+e[0]}return"of "+t+" "+String(e)}t.AssertionError=l,t.message=c,t.E=u,t.Error=d(n.g.Error),t.TypeError=d(n.g.TypeError),t.RangeError=d(n.g.RangeError),u("ERR_ARG_NOT_ITERABLE","%s must be iterable"),u("ERR_ASSERTION","%s"),u("ERR_BUFFER_OUT_OF_BOUNDS",(function(e,t){return t?"Attempt to write outside buffer bounds":'"'+e+'" is outside of buffer bounds'})),u("ERR_CHILD_CLOSED_BEFORE_REPLY","Child closed before reply received"),u("ERR_CONSOLE_WRITABLE_STREAM","Console expects a writable stream instance for %s"),u("ERR_CPU_USAGE","Unable to obtain cpu usage %s"),u("ERR_DNS_SET_SERVERS_FAILED",(function(e,t){return'c-ares failed to set servers: "'+e+'" ['+t+"]"})),u("ERR_FALSY_VALUE_REJECTION","Promise was rejected with falsy value"),u("ERR_ENCODING_NOT_SUPPORTED",(function(e){return'The "'+e+'" encoding is not supported'})),u("ERR_ENCODING_INVALID_ENCODED_DATA",(function(e){return"The encoded data was not valid for encoding "+e})),u("ERR_HTTP_HEADERS_SENT","Cannot render headers after they are sent to the client"),u("ERR_HTTP_INVALID_STATUS_CODE","Invalid status code: %s"),u("ERR_HTTP_TRAILER_INVALID","Trailers are invalid with this transfer encoding"),u("ERR_INDEX_OUT_OF_RANGE","Index out of range"),u("ERR_INVALID_ARG_TYPE",(function(e,t,n){var a,i;r(e,"name is required"),t.includes("not ")?(a="must not be",t=t.split("not ")[1]):a="must be";if(Array.isArray(e)){var o=e.map((function(e){return'"'+e+'"'})).join(", ");i="The "+o+" arguments "+a+" "+p(t,"type")}else if(e.includes(" argument"))i="The "+e+" "+a+" "+p(t,"type");else{var s=e.includes(".")?"property":"argument";i='The "'+e+'" '+s+" "+a+" "+p(t,"type")}arguments.length>=3&&(i+=". Received type "+(null!==n?typeof n:"null"));return i})),u("ERR_INVALID_ARRAY_LENGTH",(function(e,t,n){return r.strictEqual(typeof n,"number"),'The array "'+e+'" (length '+n+") must be of length "+t+"."})),u("ERR_INVALID_BUFFER_SIZE","Buffer size must be a multiple of %s"),u("ERR_INVALID_CALLBACK","Callback must be a function"),u("ERR_INVALID_CHAR","Invalid character in %s"),u("ERR_INVALID_CURSOR_POS","Cannot set cursor row without setting its column"),u("ERR_INVALID_FD",'"fd" must be a positive integer: %s'),u("ERR_INVALID_FILE_URL_HOST",'File URL host must be "localhost" or empty on %s'),u("ERR_INVALID_FILE_URL_PATH","File URL path %s"),u("ERR_INVALID_HANDLE_TYPE","This handle type cannot be sent"),u("ERR_INVALID_IP_ADDRESS","Invalid IP address: %s"),u("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+String(t)+'" is invalid for option "'+e+'"'})),u("ERR_INVALID_OPT_VALUE_ENCODING",(function(e){return'The value "'+String(e)+'" is invalid for option "encoding"'})),u("ERR_INVALID_REPL_EVAL_CONFIG",'Cannot specify both "breakEvalOnSigint" and "eval" for REPL'),u("ERR_INVALID_SYNC_FORK_INPUT","Asynchronous forks do not support Buffer, Uint8Array or string input: %s"),u("ERR_INVALID_THIS",'Value of "this" must be of type %s'),u("ERR_INVALID_TUPLE","%s must be an iterable %s tuple"),u("ERR_INVALID_URL","Invalid URL: %s"),u("ERR_INVALID_URL_SCHEME",(function(e){return"The URL must be "+p(e,"scheme")})),u("ERR_IPC_CHANNEL_CLOSED","Channel closed"),u("ERR_IPC_DISCONNECTED","IPC channel is already disconnected"),u("ERR_IPC_ONE_PIPE","Child process can have only one IPC pipe"),u("ERR_IPC_SYNC_FORK","IPC cannot be used with synchronous forks"),u("ERR_MISSING_ARGS",(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];r(e.length>0,"At least one arg needs to be specified");var n="The ",a=e.length;switch(e=e.map((function(e){return'"'+e+'"'})),a){case 1:n+=e[0]+" argument";break;case 2:n+=e[0]+" and "+e[1]+" arguments";break;default:n+=e.slice(0,a-1).join(", "),n+=", and "+e[a-1]+" arguments"}return n+" must be specified"})),u("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),u("ERR_NAPI_CONS_FUNCTION","Constructor must be a function"),u("ERR_NAPI_CONS_PROTOTYPE_OBJECT","Constructor.prototype must be an object"),u("ERR_NO_CRYPTO","Node.js is not compiled with OpenSSL crypto support"),u("ERR_NO_LONGER_SUPPORTED","%s is no longer supported"),u("ERR_PARSE_HISTORY_DATA","Could not parse history data in %s"),u("ERR_SOCKET_ALREADY_BOUND","Socket is already bound"),u("ERR_SOCKET_BAD_PORT","Port should be > 0 and < 65536"),u("ERR_SOCKET_BAD_TYPE","Bad socket type specified. Valid types are: udp4, udp6"),u("ERR_SOCKET_CANNOT_SEND","Unable to send data"),u("ERR_SOCKET_CLOSED","Socket is closed"),u("ERR_SOCKET_DGRAM_NOT_RUNNING","Not running"),u("ERR_STDERR_CLOSE","process.stderr cannot be closed"),u("ERR_STDOUT_CLOSE","process.stdout cannot be closed"),u("ERR_STREAM_WRAP","Stream has StringDecoder set or is in objectMode"),u("ERR_TLS_CERT_ALTNAME_INVALID","Hostname/IP does not match certificate's altnames: %s"),u("ERR_TLS_DH_PARAM_SIZE",(function(e){return"DH parameter size "+e+" is less than 2048"})),u("ERR_TLS_HANDSHAKE_TIMEOUT","TLS handshake timeout"),u("ERR_TLS_RENEGOTIATION_FAILED","Failed to renegotiate"),u("ERR_TLS_REQUIRED_SERVER_NAME",'"servername" is required parameter for Server.addContext'),u("ERR_TLS_SESSION_ATTACK","TSL session renegotiation attack detected"),u("ERR_TRANSFORM_ALREADY_TRANSFORMING","Calling transform done when still transforming"),u("ERR_TRANSFORM_WITH_LENGTH_0","Calling transform done when writableState.length != 0"),u("ERR_UNKNOWN_ENCODING","Unknown encoding: %s"),u("ERR_UNKNOWN_SIGNAL","Unknown signal: %s"),u("ERR_UNKNOWN_STDIN_TYPE","Unknown stdin file type"),u("ERR_UNKNOWN_STREAM_TYPE","Unknown stream file type"),u("ERR_V8BREAKITERATOR","Full ICU data not installed. See https://github.com/nodejs/node/wiki/Intl")},83599:function(e,t,n){"use strict";var a=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(t,"__esModule",{value:!0});var r=n(12305),i=n(562),o=n(95287),s=n(17187),d=n(22282),l=o.constants.S_IFMT,c=o.constants.S_IFDIR,u=o.constants.S_IFREG,p=(o.constants.S_IFBLK,o.constants.S_IFCHR,o.constants.S_IFLNK),g=(o.constants.S_IFIFO,o.constants.S_IFSOCK,o.constants.O_APPEND);t.SEP="/";var f=function(e){function t(t,n){void 0===n&&(n=438);var a=e.call(this)||this;return a.uid=r.default.getuid(),a.gid=r.default.getgid(),a.atime=new Date,a.mtime=new Date,a.ctime=new Date,a.perm=438,a.mode=u,a.nlink=1,a.perm=n,a.mode|=n,a.ino=t,a}return a(t,e),t.prototype.getString=function(e){return void 0===e&&(e="utf8"),this.getBuffer().toString(e)},t.prototype.setString=function(e){this.buf=i.bufferFrom(e,"utf8"),this.touch()},t.prototype.getBuffer=function(){return this.buf||this.setBuffer(i.bufferAllocUnsafe(0)),i.bufferFrom(this.buf)},t.prototype.setBuffer=function(e){this.buf=i.bufferFrom(e),this.touch()},t.prototype.getSize=function(){return this.buf?this.buf.length:0},t.prototype.setModeProperty=function(e){this.mode=this.mode&~l|e},t.prototype.setIsFile=function(){this.setModeProperty(u)},t.prototype.setIsDirectory=function(){this.setModeProperty(c)},t.prototype.setIsSymlink=function(){this.setModeProperty(p)},t.prototype.isFile=function(){return(this.mode&l)===u},t.prototype.isDirectory=function(){return(this.mode&l)===c},t.prototype.isSymlink=function(){return(this.mode&l)===p},t.prototype.makeSymlink=function(e){this.symlink=e,this.setIsSymlink()},t.prototype.write=function(e,t,n,a){if(void 0===t&&(t=0),void 0===n&&(n=e.length),void 0===a&&(a=0),this.buf||(this.buf=i.bufferAllocUnsafe(0)),a+n>this.buf.length){var r=i.bufferAllocUnsafe(a+n);this.buf.copy(r,0,0,this.buf.length),this.buf=r}return e.copy(this.buf,a,t,t+n),this.touch(),n},t.prototype.read=function(e,t,n,a){void 0===t&&(t=0),void 0===n&&(n=e.byteLength),void 0===a&&(a=0),this.buf||(this.buf=i.bufferAllocUnsafe(0));var r=n;return r>e.byteLength&&(r=e.byteLength),r+a>this.buf.length&&(r=this.buf.length-a),this.buf.copy(e,t,a,a+r),r},t.prototype.truncate=function(e){if(void 0===e&&(e=0),e)if(this.buf||(this.buf=i.bufferAllocUnsafe(0)),e<=this.buf.length)this.buf=this.buf.slice(0,e);else{var t=i.bufferAllocUnsafe(0);this.buf.copy(t),t.fill(0,e)}else this.buf=i.bufferAllocUnsafe(0);this.touch()},t.prototype.chmod=function(e){this.perm=e,this.mode=-512&this.mode|e,this.touch()},t.prototype.chown=function(e,t){this.uid=e,this.gid=t,this.touch()},t.prototype.touch=function(){this.mtime=new Date,this.emit("change",this)},t.prototype.canRead=function(e,t){return void 0===e&&(e=r.default.getuid()),void 0===t&&(t=r.default.getgid()),!!(4&this.perm)||(!!(t===this.gid&&32&this.perm)||!!(e===this.uid&&256&this.perm))},t.prototype.canWrite=function(e,t){return void 0===e&&(e=r.default.getuid()),void 0===t&&(t=r.default.getgid()),!!(2&this.perm)||(!!(t===this.gid&&16&this.perm)||!!(e===this.uid&&128&this.perm))},t.prototype.del=function(){this.emit("delete",this)},t.prototype.toJSON=function(){return{ino:this.ino,uid:this.uid,gid:this.gid,atime:this.atime.getTime(),mtime:this.mtime.getTime(),ctime:this.ctime.getTime(),perm:this.perm,mode:this.mode,nlink:this.nlink,symlink:this.symlink,data:this.getString()}},t}(s.EventEmitter);t.Node=f;var _=function(e){function n(t,n,a){var r=e.call(this)||this;return r.children={},r.steps=[],r.ino=0,r.length=0,r.vol=t,r.parent=n,r.steps=n?n.steps.concat([a]):[a],r}return a(n,e),n.prototype.setNode=function(e){this.node=e,this.ino=e.ino},n.prototype.getNode=function(){return this.node},n.prototype.createChild=function(e,t){void 0===t&&(t=this.vol.createNode());var a=new n(this.vol,this,e);return a.setNode(t),t.isDirectory(),this.setChild(e,a),a},n.prototype.setChild=function(e,t){return void 0===t&&(t=new n(this.vol,this,e)),this.children[e]=t,t.parent=this,this.length++,this.emit("child:add",t,this),t},n.prototype.deleteChild=function(e){delete this.children[e.getName()],this.length--,this.emit("child:delete",e,this)},n.prototype.getChild=function(e){if(Object.hasOwnProperty.call(this.children,e))return this.children[e]},n.prototype.getPath=function(){return this.steps.join(t.SEP)},n.prototype.getName=function(){return this.steps[this.steps.length-1]},n.prototype.walk=function(e,t,n){if(void 0===t&&(t=e.length),void 0===n&&(n=0),n>=e.length)return this;if(n>=t)return this;var a=e[n],r=this.getChild(a);return r?r.walk(e,t,n+1):null},n.prototype.toJSON=function(){return{steps:this.steps,ino:this.ino,children:Object.keys(this.children)}},n}(s.EventEmitter);t.Link=_;var m=function(){function e(e,t,n,a){this.position=0,this.link=e,this.node=t,this.flags=n,this.fd=a}return e.prototype.getString=function(e){return void 0===e&&(e="utf8"),this.node.getString()},e.prototype.setString=function(e){this.node.setString(e)},e.prototype.getBuffer=function(){return this.node.getBuffer()},e.prototype.setBuffer=function(e){this.node.setBuffer(e)},e.prototype.getSize=function(){return this.node.getSize()},e.prototype.truncate=function(e){this.node.truncate(e)},e.prototype.seekTo=function(e){this.position=e},e.prototype.stats=function(){return d.default.build(this.node)},e.prototype.write=function(e,t,n,a){void 0===t&&(t=0),void 0===n&&(n=e.length),"number"!==typeof a&&(a=this.position),this.flags&g&&(a=this.getSize());var r=this.node.write(e,t,n,a);return this.position=a+r,r},e.prototype.read=function(e,t,n,a){void 0===t&&(t=0),void 0===n&&(n=e.byteLength),"number"!==typeof a&&(a=this.position);var r=this.node.read(e,t,n,a);return this.position=a+r,r},e.prototype.chmod=function(e){this.node.chmod(e)},e.prototype.chown=function(e,t){this.node.chown(e,t)},e}();t.File=m},12305:(e,t,n)=>{"use strict";var a=n(34155);Object.defineProperty(t,"__esModule",{value:!0});function r(){var e=function(){if("undefined"!==typeof a)return a;try{return n(34155)}catch(e){return}}()||{};return e.getuid||(e.getuid=function(){return 0}),e.getgid||(e.getgid=function(){return 0}),e.cwd||(e.cwd=function(){return"/"}),e.nextTick||(e.nextTick=n(82164).default),e.emitWarning||(e.emitWarning=function(e,t){console.warn(t+(t?": ":"")+e)}),e.env||(e.env={}),e}t.createProcess=r,t.default=r()},96415:function(e,t){"use strict";var n=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var a=Array(e),r=0;for(t=0;t<n;t++)for(var i=arguments[t],o=0,s=i.length;o<s;o++,r++)a[r]=i[o];return a};function a(e,t,a){return void 0===a&&(a=function(e){return e}),function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return new Promise((function(i,o){e[t].bind(e).apply(void 0,n(r,[function(e,t){return e?o(e):i(a(t))}]))}))}}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){this.vol=e,this.fd=t}return e.prototype.appendFile=function(e,t){return a(this.vol,"appendFile")(this.fd,e,t)},e.prototype.chmod=function(e){return a(this.vol,"fchmod")(this.fd,e)},e.prototype.chown=function(e,t){return a(this.vol,"fchown")(this.fd,e,t)},e.prototype.close=function(){return a(this.vol,"close")(this.fd)},e.prototype.datasync=function(){return a(this.vol,"fdatasync")(this.fd)},e.prototype.read=function(e,t,n,r){return a(this.vol,"read",(function(t){return{bytesRead:t,buffer:e}}))(this.fd,e,t,n,r)},e.prototype.readFile=function(e){return a(this.vol,"readFile")(this.fd,e)},e.prototype.stat=function(e){return a(this.vol,"fstat")(this.fd,e)},e.prototype.sync=function(){return a(this.vol,"fsync")(this.fd)},e.prototype.truncate=function(e){return a(this.vol,"ftruncate")(this.fd,e)},e.prototype.utimes=function(e,t){return a(this.vol,"futimes")(this.fd,e,t)},e.prototype.write=function(e,t,n,r){return a(this.vol,"write",(function(t){return{bytesWritten:t,buffer:e}}))(this.fd,e,t,n,r)},e.prototype.writeFile=function(e,t){return a(this.vol,"writeFile")(this.fd,e,t)},e}();t.FileHandle=r,t.default=function(e){return"undefined"===typeof Promise?null:{FileHandle:r,access:function(t,n){return a(e,"access")(t,n)},appendFile:function(t,n,i){return a(e,"appendFile")(t instanceof r?t.fd:t,n,i)},chmod:function(t,n){return a(e,"chmod")(t,n)},chown:function(t,n,r){return a(e,"chown")(t,n,r)},copyFile:function(t,n,r){return a(e,"copyFile")(t,n,r)},lchmod:function(t,n){return a(e,"lchmod")(t,n)},lchown:function(t,n,r){return a(e,"lchown")(t,n,r)},link:function(t,n){return a(e,"link")(t,n)},lstat:function(t,n){return a(e,"lstat")(t,n)},mkdir:function(t,n){return a(e,"mkdir")(t,n)},mkdtemp:function(t,n){return a(e,"mkdtemp")(t,n)},open:function(t,n,i){return a(e,"open",(function(t){return new r(e,t)}))(t,n,i)},readdir:function(t,n){return a(e,"readdir")(t,n)},readFile:function(t,n){return a(e,"readFile")(t instanceof r?t.fd:t,n)},readlink:function(t,n){return a(e,"readlink")(t,n)},realpath:function(t,n){return a(e,"realpath")(t,n)},rename:function(t,n){return a(e,"rename")(t,n)},rmdir:function(t){return a(e,"rmdir")(t)},stat:function(t,n){return a(e,"stat")(t,n)},symlink:function(t,n,r){return a(e,"symlink")(t,n,r)},truncate:function(t,n){return a(e,"truncate")(t,n)},unlink:function(t){return a(e,"unlink")(t)},utimes:function(t,n,r){return a(e,"utimes")(t,n,r)},writeFile:function(t,n,i){return a(e,"writeFile")(t instanceof r?t.fd:t,n,i)}}}},82164:(e,t,n)=>{"use strict";var a;Object.defineProperty(t,"__esModule",{value:!0}),a="function"===typeof setImmediate?setImmediate.bind(n.g):setTimeout.bind(n.g),t.default=a},46143:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var a=setTimeout.apply(null,arguments);return a&&"object"===typeof a&&"function"===typeof a.unref&&a.unref(),a}},64129:function(e,t,n){"use strict";var a=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var a=Array(e),r=0;for(t=0;t<n;t++)for(var i=arguments[t],o=0,s=i.length;o<s;o++,r++)a[r]=i[o];return a};Object.defineProperty(t,"__esModule",{value:!0});var i,o,s=n(26470),d=n(83599),l=n(22282),c=n(62456),u=n(562),p=n(82164),g=n(12305),f=n(46143),_=n(42830),m=n(95287),h=n(17187),R=n(5866),b=n(12913),y=n(82630).l,v=n(89539),E=n(96415),S=s.resolve,O=m.constants.O_RDONLY,T=m.constants.O_WRONLY,C=m.constants.O_RDWR,N=m.constants.O_CREAT,w=m.constants.O_EXCL,A=m.constants.O_TRUNC,I=m.constants.O_APPEND,x=m.constants.O_SYNC,D=m.constants.F_OK,P=m.constants.COPYFILE_EXCL,M=m.constants.COPYFILE_FICLONE_FORCE;if(s.posix){var L=s.posix;i=L.sep,o=L.relative}else i=s.sep,o=s.relative;var k,F="win32"===g.default.platform,j="path must be a string or Buffer",B="fd must be a file descriptor",U="mode must be an int",G="callback must be a function",Y="uid must be an unsigned int",H="gid must be an unsigned int",V="ENOENT",q="EBADF",z="EINVAL",$="EEXIST",W="ENOTDIR",K="EMFILE",Q="EACCES",X="EISDIR",Z="ENOTEMPTY",J="ENOSYS";function ee(e,t,n,a,r){void 0===t&&(t=""),void 0===n&&(n=""),void 0===a&&(a=""),void 0===r&&(r=Error);var i=new r(function(e,t,n,a){void 0===t&&(t=""),void 0===n&&(n=""),void 0===a&&(a="");var r="";switch(n&&(r=" '"+n+"'"),a&&(r+=" -> '"+a+"'"),e){case V:return"ENOENT: no such file or directory, "+t+r;case q:return"EBADF: bad file descriptor, "+t+r;case z:return"EINVAL: invalid argument, "+t+r;case"EPERM":return"EPERM: operation not permitted, "+t+r;case"EPROTO":return"EPROTO: protocol error, "+t+r;case $:return"EEXIST: file already exists, "+t+r;case W:return"ENOTDIR: not a directory, "+t+r;case X:return"EISDIR: illegal operation on a directory, "+t+r;case Q:return"EACCES: permission denied, "+t+r;case Z:return"ENOTEMPTY: directory not empty, "+t+r;case K:return"EMFILE: too many open files, "+t+r;case J:return"ENOSYS: function not implemented, "+t+r;default:return e+": error occurred, "+t+r}}(e,t,n,a));return i.code=e,i}function te(e){if("number"===typeof e)return e;if("string"===typeof e){var t=k[e];if("undefined"!==typeof t)return t}throw new b.TypeError("ERR_INVALID_OPT_VALUE","flags",e)}function ne(e,t){var n;if(!t)return e;var a=typeof t;switch(a){case"string":n=y({},e,{encoding:t});break;case"object":n=y({},e,t);break;default:throw TypeError(function(e){return"Expected options to be either an object or a string, but got "+e+" instead"}(a))}return"buffer"!==n.encoding&&R.assertEncoding(n.encoding),n}function ae(e){return function(t){return ne(e,t)}}function re(e){if("function"!==typeof e)throw TypeError(G);return e}function ie(e){return function(t,n){return"function"===typeof t?[e(),t]:[e(t),re(n)]}}!function(e){e[e.r=O]="r",e[e["r+"]=C]="r+",e[e.rs=O|x]="rs",e[e.sr=e.rs]="sr",e[e["rs+"]=C|x]="rs+",e[e["sr+"]=e["rs+"]]="sr+",e[e.w=T|N|A]="w",e[e.wx=T|N|A|w]="wx",e[e.xw=e.wx]="xw",e[e["w+"]=C|N|A]="w+",e[e["wx+"]=C|N|A|w]="wx+",e[e["xw+"]=e["wx+"]]="xw+",e[e.a=T|I|N]="a",e[e.ax=T|I|N|w]="ax",e[e.xa=e.ax]="xa",e[e["a+"]=C|I|N]="a+",e[e["ax+"]=C|I|N|w]="ax+",e[e["xa+"]=e["ax+"]]="xa+"}(k=t.FLAGS||(t.FLAGS={})),t.flagsToNumber=te;var oe={encoding:"utf8"},se=ae(oe),de=ie(se),le=ae({flag:"r"}),ce={encoding:"utf8",mode:438,flag:k[k.w]},ue=ae(ce),pe={encoding:"utf8",mode:438,flag:k[k.a]},ge=ae(pe),fe=ie(ge),_e=ae(oe),me=ie(_e),he={mode:511,recursive:!1},Re=function(e){return y({},he,"number"===typeof e?{mode:e}:e)},be={recursive:!1},ye=function(e){return y({},be,e)},ve=ae({encoding:"utf8",withFileTypes:!1}),Ee=ie(ve),Se={bigint:!1},Oe=function(e){return void 0===e&&(e={}),y({},Se,e)},Te=function(e,t){return"function"===typeof e?[Oe(),e]:[Oe(e),re(t)]};function Ce(e){if("string"!==typeof e&&!u.Buffer.isBuffer(e)){try{if(!(e instanceof n(8575).URL))throw new TypeError(j)}catch(a){throw new TypeError(j)}e=function(e){if(""!==e.hostname)throw new b.TypeError("ERR_INVALID_FILE_URL_HOST",g.default.platform);for(var t=e.pathname,n=0;n<t.length;n++)if("%"===t[n]){var a=32|t.codePointAt(n+2);if("2"===t[n+1]&&102===a)throw new b.TypeError("ERR_INVALID_FILE_URL_PATH","must not include encoded / characters")}return decodeURIComponent(t)}(e)}var t=String(e);return Me(t),t}t.pathToFilename=Ce;var Ne=function(e,t){return void 0===t&&(t=g.default.cwd()),S(t,e)};if(F){var we=Ne,Ae=n(79129).Z4;Ne=function(e,t){return Ae(we(e,t))}}function Ie(e,t){var n=Ne(e,t).substr(1);return n?n.split(i):[]}function xe(e){return Ie(Ce(e))}function De(e,t){return void 0===t&&(t=R.ENCODING_UTF8),u.Buffer.isBuffer(e)?e:e instanceof Uint8Array?u.bufferFrom(e):u.bufferFrom(String(e),t)}function Pe(e,t){return t&&"buffer"!==t?e.toString(t):e}function Me(e,t){if(-1!==(""+e).indexOf("\0")){var n=new Error("Path must be a string without null bytes");if(n.code=V,"function"!==typeof t)throw n;return g.default.nextTick(t,n),!1}return!0}function Le(e,t){var n=function(e,t){return"number"===typeof e?e:"string"===typeof e?parseInt(e,8):t?Le(t):void 0}(e,t);if("number"!==typeof n||isNaN(n))throw new TypeError(U);return n}function ke(e){return e>>>0===e}function Fe(e){if(!ke(e))throw TypeError(B)}function je(e){if("string"===typeof e&&+e==e)return+e;if(e instanceof Date)return e.getTime()/1e3;if(isFinite(e))return e<0?Date.now()/1e3:e;throw new Error("Cannot parse time: "+e)}function Be(e){if("number"!==typeof e)throw TypeError(Y)}function Ue(e){if("number"!==typeof e)throw TypeError(H)}t.filenameToSteps=Ie,t.pathToSteps=xe,t.dataToStr=function(e,t){return void 0===t&&(t=R.ENCODING_UTF8),u.Buffer.isBuffer(e)?e.toString(t):e instanceof Uint8Array?u.bufferFrom(e).toString(t):String(e)},t.dataToBuffer=De,t.bufferToEncoding=Pe,t.toUnixTimestamp=je;var Ge=function(){function e(e){void 0===e&&(e={}),this.ino=0,this.inodes={},this.releasedInos=[],this.fds={},this.releasedFds=[],this.maxFiles=1e4,this.openFiles=0,this.promisesApi=E.default(this),this.statWatchers={},this.props=y({Node:d.Node,Link:d.Link,File:d.File},e);var t=this.createLink();t.setNode(this.createNode(!0));var n=this;this.StatWatcher=function(e){function t(){return e.call(this,n)||this}return a(t,e),t}(Ve);var i=qe;this.ReadStream=function(e){function t(){for(var t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];return e.apply(this,r([n],t))||this}return a(t,e),t}(i);var o=$e;this.WriteStream=function(e){function t(){for(var t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];return e.apply(this,r([n],t))||this}return a(t,e),t}(o),this.FSWatcher=function(e){function t(){return e.call(this,n)||this}return a(t,e),t}(We),this.root=t}return e.fromJSON=function(t,n){var a=new e;return a.fromJSON(t,n),a},Object.defineProperty(e.prototype,"promises",{get:function(){if(null===this.promisesApi)throw new Error("Promise is not supported in this environment.");return this.promisesApi},enumerable:!0,configurable:!0}),e.prototype.createLink=function(e,t,n,a){if(void 0===n&&(n=!1),!e)return new this.props.Link(this,null,"");if(!t)throw new Error("createLink: name cannot be empty");return e.createChild(t,this.createNode(n,a))},e.prototype.deleteLink=function(e){var t=e.parent;return!!t&&(t.deleteChild(e),!0)},e.prototype.newInoNumber=function(){var e=this.releasedInos.pop();return e||(this.ino=(this.ino+1)%4294967295,this.ino)},e.prototype.newFdNumber=function(){var t=this.releasedFds.pop();return"number"===typeof t?t:e.fd--},e.prototype.createNode=function(e,t){void 0===e&&(e=!1);var n=new this.props.Node(this.newInoNumber(),t);return e&&n.setIsDirectory(),this.inodes[n.ino]=n,n},e.prototype.getNode=function(e){return this.inodes[e]},e.prototype.deleteNode=function(e){e.del(),delete this.inodes[e.ino],this.releasedInos.push(e.ino)},e.prototype.genRndStr=function(){var e=(Math.random()+1).toString(36).substr(2,6);return 6===e.length?e:this.genRndStr()},e.prototype.getLink=function(e){return this.root.walk(e)},e.prototype.getLinkOrThrow=function(e,t){var n=Ie(e),a=this.getLink(n);if(!a)throw ee(V,t,e);return a},e.prototype.getResolvedLink=function(e){for(var t="string"===typeof e?Ie(e):e,n=this.root,a=0;a<t.length;){var r=t[a];if(!(n=n.getChild(r)))return null;var i=n.getNode();i.isSymlink()?(t=i.symlink.concat(t.slice(a+1)),n=this.root,a=0):a++}return n},e.prototype.getResolvedLinkOrThrow=function(e,t){var n=this.getResolvedLink(e);if(!n)throw ee(V,t,e);return n},e.prototype.resolveSymlinks=function(e){return this.getResolvedLink(e.steps.slice(1))},e.prototype.getLinkAsDirOrThrow=function(e,t){var n=this.getLinkOrThrow(e,t);if(!n.getNode().isDirectory())throw ee(W,t,e);return n},e.prototype.getLinkParent=function(e){return this.root.walk(e,e.length-1)},e.prototype.getLinkParentAsDirOrThrow=function(e,t){var n=e instanceof Array?e:Ie(e),a=this.getLinkParent(n);if(!a)throw ee(V,t,i+n.join(i));if(!a.getNode().isDirectory())throw ee(W,t,i+n.join(i));return a},e.prototype.getFileByFd=function(e){return this.fds[String(e)]},e.prototype.getFileByFdOrThrow=function(e,t){if(!ke(e))throw TypeError(B);var n=this.getFileByFd(e);if(!n)throw ee(q,t);return n},e.prototype.getNodeByIdOrCreate=function(e,t,n){if("number"===typeof e){var a=this.getFileByFd(e);if(!a)throw Error("File nto found");return a.node}var r=xe(e),i=this.getLink(r);if(i)return i.getNode();if(t&N){var o=this.getLinkParent(r);if(o){var s=r[r.length-1];return(i=this.createLink(o,s,!1,n)).getNode()}}throw ee(V,"getNodeByIdOrCreate",Ce(e))},e.prototype.wrapAsync=function(e,t,n){var a=this;re(n),p.default((function(){try{n(null,e.apply(a,t))}catch(r){n(r)}}))},e.prototype._toJSON=function(e,t,n){var a;void 0===e&&(e=this.root),void 0===t&&(t={});var r=!0,i=e.children;for(var s in e.getNode().isFile()&&((a={})[e.getName()]=e.parent.getChild(e.getName()),i=a,e=e.parent),i){r=!1;var d=e.getChild(s);if(!d)throw new Error("_toJSON: unexpected undefined");var l=d.getNode();if(l.isFile()){var c=d.getPath();n&&(c=o(n,c)),t[c]=l.getString()}else l.isDirectory()&&this._toJSON(d,t,n)}var u=e.getPath();return n&&(u=o(n,u)),u&&r&&(t[u]=null),t},e.prototype.toJSON=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n=!1);var a=[];if(e){e instanceof Array||(e=[e]);for(var r=0,i=e;r<i.length;r++){var o=Ce(i[r]);(l=this.getResolvedLink(o))&&a.push(l)}}else a.push(this.root);if(!a.length)return t;for(var s=0,d=a;s<d.length;s++){var l=d[s];this._toJSON(l,t,n?l.getPath():"")}return t},e.prototype.fromJSON=function(e,t){for(var n in void 0===t&&(t=g.default.cwd()),e){var a=e[n];if("string"===typeof a){var r=Ie(n=Ne(n,t));if(r.length>1){var o=i+r.slice(0,r.length-1).join(i);this.mkdirpBase(o,511)}this.writeFileSync(n,a)}else this.mkdirpBase(n,511)}},e.prototype.reset=function(){this.ino=0,this.inodes={},this.releasedInos=[],this.fds={},this.releasedFds=[],this.openFiles=0,this.root=this.createLink(),this.root.setNode(this.createNode(!0))},e.prototype.mountSync=function(e,t){this.fromJSON(t,e)},e.prototype.openLink=function(e,t,n){if(void 0===n&&(n=!0),this.openFiles>=this.maxFiles)throw ee(K,"open",e.getPath());var a=e;if(n&&(a=this.resolveSymlinks(e)),!a)throw ee(V,"open",e.getPath());var r=a.getNode();if(r.isDirectory()&&t!==k.r)throw ee(X,"open",e.getPath());if(!(t&T)&&!r.canRead())throw ee(Q,"open",e.getPath());var i=new this.props.File(e,r,t,this.newFdNumber());return this.fds[i.fd]=i,this.openFiles++,t&A&&i.truncate(),i},e.prototype.openFile=function(e,t,n,a){void 0===a&&(a=!0);var r=Ie(e),o=a?this.getResolvedLink(r):this.getLink(r);if(!o&&t&N){var s=this.getResolvedLink(r.slice(0,r.length-1));if(!s)throw ee(V,"open",i+r.join(i));t&N&&"number"===typeof n&&(o=this.createLink(s,r[r.length-1],!1,n))}if(o)return this.openLink(o,t,a);throw ee(V,"open",e)},e.prototype.openBase=function(e,t,n,a){void 0===a&&(a=!0);var r=this.openFile(e,t,n,a);if(!r)throw ee(V,"open",e);return r.fd},e.prototype.openSync=function(e,t,n){void 0===n&&(n=438);var a=Le(n),r=Ce(e),i=te(t);return this.openBase(r,i,a)},e.prototype.open=function(e,t,n,a){var r=n,i=a;"function"===typeof n&&(r=438,i=n);var o=Le(r=r||438),s=Ce(e),d=te(t);this.wrapAsync(this.openBase,[s,d,o],i)},e.prototype.closeFile=function(e){this.fds[e.fd]&&(this.openFiles--,delete this.fds[e.fd],this.releasedFds.push(e.fd))},e.prototype.closeSync=function(e){Fe(e);var t=this.getFileByFdOrThrow(e,"close");this.closeFile(t)},e.prototype.close=function(e,t){Fe(e),this.wrapAsync(this.closeSync,[e],t)},e.prototype.openFileOrGetById=function(e,t,n){if("number"===typeof e){var a=this.fds[e];if(!a)throw ee(V);return a}return this.openFile(Ce(e),t,n)},e.prototype.readBase=function(e,t,n,a,r){return this.getFileByFdOrThrow(e).read(t,Number(n),Number(a),r)},e.prototype.readSync=function(e,t,n,a,r){return Fe(e),this.readBase(e,t,n,a,r)},e.prototype.read=function(e,t,n,a,r,i){var o=this;if(re(i),0===a)return g.default.nextTick((function(){i&&i(null,0,t)}));p.default((function(){try{var s=o.readBase(e,t,n,a,r);i(null,s,t)}catch(d){i(d)}}))},e.prototype.readFileBase=function(e,t,n){var a,r,i="number"===typeof e&&ke(e);if(i)r=e;else{var o=Ie(Ce(e)),s=this.getResolvedLink(o);if(s)if(s.getNode().isDirectory())throw ee(X,"open",s.getPath());r=this.openSync(e,t)}try{a=Pe(this.getFileByFdOrThrow(r).getBuffer(),n)}finally{i||this.closeSync(r)}return a},e.prototype.readFileSync=function(e,t){var n=le(t),a=te(n.flag);return this.readFileBase(e,a,n.encoding)},e.prototype.readFile=function(e,t,n){var a=ie(le)(t,n),r=a[0],i=a[1],o=te(r.flag);this.wrapAsync(this.readFileBase,[e,o,r.encoding],i)},e.prototype.writeBase=function(e,t,n,a,r){return this.getFileByFdOrThrow(e,"write").write(t,n,a,r)},e.prototype.writeSync=function(e,t,n,a,r){var i,o,s,d;Fe(e);var l="string"!==typeof t;l?(o=0|(n||0),s=a,d=r):(d=n,i=a);var c=De(t,i);return l?"undefined"===typeof s&&(s=c.length):(o=0,s=c.length),this.writeBase(e,c,o,s,d)},e.prototype.write=function(e,t,n,a,r,i){var o,s,d,l,c,u=this;Fe(e);var g=typeof t,f=typeof n,_=typeof a,m=typeof r;"string"!==g?"function"===f?c=n:"function"===_?(o=0|n,c=a):"function"===m?(o=0|n,s=a,c=r):(o=0|n,s=a,d=r,c=i):"function"===f?c=n:"function"===_?(d=n,c=a):"function"===m&&(d=n,l=a,c=r);var h=De(t,l);"string"!==g?"undefined"===typeof s&&(s=h.length):(o=0,s=h.length);var R=re(c);p.default((function(){try{var n=u.writeBase(e,h,o,s,d);R(null,n,"string"!==g?h:t)}catch(a){R(a)}}))},e.prototype.writeFileBase=function(e,t,n,a){var r,i="number"===typeof e;r=i?e:this.openBase(Ce(e),n,a);var o=0,s=t.length,d=n&I?void 0:0;try{for(;s>0;){var l=this.writeSync(r,t,o,s,d);o+=l,s-=l,void 0!==d&&(d+=l)}}finally{i||this.closeSync(r)}},e.prototype.writeFileSync=function(e,t,n){var a=ue(n),r=te(a.flag),i=Le(a.mode),o=De(t,a.encoding);this.writeFileBase(e,o,r,i)},e.prototype.writeFile=function(e,t,n,a){var r=n,i=a;"function"===typeof n&&(r=ce,i=n);var o=re(i),s=ue(r),d=te(s.flag),l=Le(s.mode),c=De(t,s.encoding);this.wrapAsync(this.writeFileBase,[e,c,d,l],o)},e.prototype.linkBase=function(e,t){var n=Ie(e),a=this.getLink(n);if(!a)throw ee(V,"link",e,t);var r=Ie(t),i=this.getLinkParent(r);if(!i)throw ee(V,"link",e,t);var o=r[r.length-1];if(i.getChild(o))throw ee($,"link",e,t);var s=a.getNode();s.nlink++,i.createChild(o,s)},e.prototype.copyFileBase=function(e,t,n){var a=this.readFileSync(e);if(n&P&&this.existsSync(t))throw ee($,"copyFile",e,t);if(n&M)throw ee(J,"copyFile",e,t);this.writeFileBase(t,a,k.w,438)},e.prototype.copyFileSync=function(e,t,n){var a=Ce(e),r=Ce(t);return this.copyFileBase(a,r,0|(n||0))},e.prototype.copyFile=function(e,t,n,a){var r,i,o=Ce(e),s=Ce(t);"function"===typeof n?(r=0,i=n):(r=n,i=a),re(i),this.wrapAsync(this.copyFileBase,[o,s,r],i)},e.prototype.linkSync=function(e,t){var n=Ce(e),a=Ce(t);this.linkBase(n,a)},e.prototype.link=function(e,t,n){var a=Ce(e),r=Ce(t);this.wrapAsync(this.linkBase,[a,r],n)},e.prototype.unlinkBase=function(e){var t=Ie(e),n=this.getLink(t);if(!n)throw ee(V,"unlink",e);if(n.length)throw Error("Dir not empty...");this.deleteLink(n);var a=n.getNode();a.nlink--,a.nlink<=0&&this.deleteNode(a)},e.prototype.unlinkSync=function(e){var t=Ce(e);this.unlinkBase(t)},e.prototype.unlink=function(e,t){var n=Ce(e);this.wrapAsync(this.unlinkBase,[n],t)},e.prototype.symlinkBase=function(e,t){var n=Ie(t),a=this.getLinkParent(n);if(!a)throw ee(V,"symlink",e,t);var r=n[n.length-1];if(a.getChild(r))throw ee($,"symlink",e,t);var i=a.createChild(r);return i.getNode().makeSymlink(Ie(e)),i},e.prototype.symlinkSync=function(e,t,n){var a=Ce(e),r=Ce(t);this.symlinkBase(a,r)},e.prototype.symlink=function(e,t,n,a){var r=re("function"===typeof n?n:a),i=Ce(e),o=Ce(t);this.wrapAsync(this.symlinkBase,[i,o],r)},e.prototype.realpathBase=function(e,t){var n=Ie(e),a=this.getResolvedLink(n);if(!a)throw ee(V,"realpath",e);return R.strToEncoding(a.getPath(),t)},e.prototype.realpathSync=function(e,t){return this.realpathBase(Ce(e),_e(t).encoding)},e.prototype.realpath=function(e,t,n){var a=me(t,n),r=a[0],i=a[1],o=Ce(e);this.wrapAsync(this.realpathBase,[o,r.encoding],i)},e.prototype.lstatBase=function(e,t){void 0===t&&(t=!1);var n=this.getLink(Ie(e));if(!n)throw ee(V,"lstat",e);return l.default.build(n.getNode(),t)},e.prototype.lstatSync=function(e,t){return this.lstatBase(Ce(e),Oe(t).bigint)},e.prototype.lstat=function(e,t,n){var a=Te(t,n),r=a[0],i=a[1];this.wrapAsync(this.lstatBase,[Ce(e),r.bigint],i)},e.prototype.statBase=function(e,t){void 0===t&&(t=!1);var n=this.getResolvedLink(Ie(e));if(!n)throw ee(V,"stat",e);return l.default.build(n.getNode(),t)},e.prototype.statSync=function(e,t){return this.statBase(Ce(e),Oe(t).bigint)},e.prototype.stat=function(e,t,n){var a=Te(t,n),r=a[0],i=a[1];this.wrapAsync(this.statBase,[Ce(e),r.bigint],i)},e.prototype.fstatBase=function(e,t){void 0===t&&(t=!1);var n=this.getFileByFd(e);if(!n)throw ee(q,"fstat");return l.default.build(n.node,t)},e.prototype.fstatSync=function(e,t){return this.fstatBase(e,Oe(t).bigint)},e.prototype.fstat=function(e,t,n){var a=Te(t,n),r=a[0],i=a[1];this.wrapAsync(this.fstatBase,[e,r.bigint],i)},e.prototype.renameBase=function(e,t){var n=this.getLink(Ie(e));if(!n)throw ee(V,"rename",e,t);var a=Ie(t),i=this.getLinkParent(a);if(!i)throw ee(V,"rename",e,t);var o=n.parent;o&&o.deleteChild(n);var s=a[a.length-1];n.steps=r(i.steps,[s]),i.setChild(n.getName(),n)},e.prototype.renameSync=function(e,t){var n=Ce(e),a=Ce(t);this.renameBase(n,a)},e.prototype.rename=function(e,t,n){var a=Ce(e),r=Ce(t);this.wrapAsync(this.renameBase,[a,r],n)},e.prototype.existsBase=function(e){return!!this.statBase(e)},e.prototype.existsSync=function(e){try{return this.existsBase(Ce(e))}catch(t){return!1}},e.prototype.exists=function(e,t){var n=this,a=Ce(e);if("function"!==typeof t)throw Error(G);p.default((function(){try{t(n.existsBase(a))}catch(e){t(!1)}}))},e.prototype.accessBase=function(e,t){this.getLinkOrThrow(e,"access")},e.prototype.accessSync=function(e,t){void 0===t&&(t=D);var n=Ce(e);t|=0,this.accessBase(n,t)},e.prototype.access=function(e,t,n){var a,r=D;"function"!==typeof t?(r=0|t,a=re(n)):a=t;var i=Ce(e);this.wrapAsync(this.accessBase,[i,r],a)},e.prototype.appendFileSync=function(e,t,n){void 0===n&&(n=pe);var a=ge(n);a.flag&&!ke(e)||(a.flag="a"),this.writeFileSync(e,t,a)},e.prototype.appendFile=function(e,t,n,a){var r=fe(n,a),i=r[0],o=r[1];i.flag&&!ke(e)||(i.flag="a"),this.writeFile(e,t,i,o)},e.prototype.readdirBase=function(e,t){var n=Ie(e),a=this.getResolvedLink(n);if(!a)throw ee(V,"readdir",e);if(!a.getNode().isDirectory())throw ee(W,"scandir",e);if(t.withFileTypes){var r=[];for(var i in a.children){var o=a.getChild(i);o&&r.push(c.default.build(o,t.encoding))}return F||"buffer"===t.encoding||r.sort((function(e,t){return e.name<t.name?-1:e.name>t.name?1:0})),r}var s=[];for(var d in a.children)s.push(R.strToEncoding(d,t.encoding));return F||"buffer"===t.encoding||s.sort(),s},e.prototype.readdirSync=function(e,t){var n=ve(t),a=Ce(e);return this.readdirBase(a,n)},e.prototype.readdir=function(e,t,n){var a=Ee(t,n),r=a[0],i=a[1],o=Ce(e);this.wrapAsync(this.readdirBase,[o,r],i)},e.prototype.readlinkBase=function(e,t){var n=this.getLinkOrThrow(e,"readlink").getNode();if(!n.isSymlink())throw ee(z,"readlink",e);var a=i+n.symlink.join(i);return R.strToEncoding(a,t)},e.prototype.readlinkSync=function(e,t){var n=se(t),a=Ce(e);return this.readlinkBase(a,n.encoding)},e.prototype.readlink=function(e,t,n){var a=de(t,n),r=a[0],i=a[1],o=Ce(e);this.wrapAsync(this.readlinkBase,[o,r.encoding],i)},e.prototype.fsyncBase=function(e){this.getFileByFdOrThrow(e,"fsync")},e.prototype.fsyncSync=function(e){this.fsyncBase(e)},e.prototype.fsync=function(e,t){this.wrapAsync(this.fsyncBase,[e],t)},e.prototype.fdatasyncBase=function(e){this.getFileByFdOrThrow(e,"fdatasync")},e.prototype.fdatasyncSync=function(e){this.fdatasyncBase(e)},e.prototype.fdatasync=function(e,t){this.wrapAsync(this.fdatasyncBase,[e],t)},e.prototype.ftruncateBase=function(e,t){this.getFileByFdOrThrow(e,"ftruncate").truncate(t)},e.prototype.ftruncateSync=function(e,t){this.ftruncateBase(e,t)},e.prototype.ftruncate=function(e,t,n){var a="number"===typeof t?t:0,r=re("number"===typeof t?n:t);this.wrapAsync(this.ftruncateBase,[e,a],r)},e.prototype.truncateBase=function(e,t){var n=this.openSync(e,"r+");try{this.ftruncateSync(n,t)}finally{this.closeSync(n)}},e.prototype.truncateSync=function(e,t){if(ke(e))return this.ftruncateSync(e,t);this.truncateBase(e,t)},e.prototype.truncate=function(e,t,n){var a="number"===typeof t?t:0,r=re("number"===typeof t?n:t);if(ke(e))return this.ftruncate(e,a,r);this.wrapAsync(this.truncateBase,[e,a],r)},e.prototype.futimesBase=function(e,t,n){var a=this.getFileByFdOrThrow(e,"futimes").node;a.atime=new Date(1e3*t),a.mtime=new Date(1e3*n)},e.prototype.futimesSync=function(e,t,n){this.futimesBase(e,je(t),je(n))},e.prototype.futimes=function(e,t,n,a){this.wrapAsync(this.futimesBase,[e,je(t),je(n)],a)},e.prototype.utimesBase=function(e,t,n){var a=this.openSync(e,"r+");try{this.futimesBase(a,t,n)}finally{this.closeSync(a)}},e.prototype.utimesSync=function(e,t,n){this.utimesBase(Ce(e),je(t),je(n))},e.prototype.utimes=function(e,t,n,a){this.wrapAsync(this.utimesBase,[Ce(e),je(t),je(n)],a)},e.prototype.mkdirBase=function(e,t){var n=Ie(e);if(!n.length)throw ee(X,"mkdir",e);var a=this.getLinkParentAsDirOrThrow(e,"mkdir"),r=n[n.length-1];if(a.getChild(r))throw ee($,"mkdir",e);a.createChild(r,this.createNode(!0,t))},e.prototype.mkdirpBase=function(e,t){for(var n=Ie(e),a=this.root,r=0;r<n.length;r++){var i=n[r];if(!a.getNode().isDirectory())throw ee(W,"mkdir",a.getPath());var o=a.getChild(i);if(o){if(!o.getNode().isDirectory())throw ee(W,"mkdir",o.getPath());a=o}else a=a.createChild(i,this.createNode(!0,t))}},e.prototype.mkdirSync=function(e,t){var n=Re(t),a=Le(n.mode,511),r=Ce(e);n.recursive?this.mkdirpBase(r,a):this.mkdirBase(r,a)},e.prototype.mkdir=function(e,t,n){var a=Re(t),r=re("function"===typeof t?t:n),i=Le(a.mode,511),o=Ce(e);a.recursive?this.wrapAsync(this.mkdirpBase,[o,i],r):this.wrapAsync(this.mkdirBase,[o,i],r)},e.prototype.mkdirpSync=function(e,t){this.mkdirSync(e,{mode:t,recursive:!0})},e.prototype.mkdirp=function(e,t,n){var a="function"===typeof t?void 0:t,r=re("function"===typeof t?t:n);this.mkdir(e,{mode:a,recursive:!0},r)},e.prototype.mkdtempBase=function(e,t,n){void 0===n&&(n=5);var a=e+this.genRndStr();try{return this.mkdirBase(a,511),R.strToEncoding(a,t)}catch(r){if(r.code===$){if(n>1)return this.mkdtempBase(e,t,n-1);throw Error("Could not create temp dir.")}throw r}},e.prototype.mkdtempSync=function(e,t){var n=se(t).encoding;if(!e||"string"!==typeof e)throw new TypeError("filename prefix is required");return Me(e),this.mkdtempBase(e,n)},e.prototype.mkdtemp=function(e,t,n){var a=de(t,n),r=a[0].encoding,i=a[1];if(!e||"string"!==typeof e)throw new TypeError("filename prefix is required");Me(e)&&this.wrapAsync(this.mkdtempBase,[e,r],i)},e.prototype.rmdirBase=function(e,t){var n=ye(t),a=this.getLinkAsDirOrThrow(e,"rmdir");if(a.length&&!n.recursive)throw ee(Z,"rmdir",e);this.deleteLink(a)},e.prototype.rmdirSync=function(e,t){this.rmdirBase(Ce(e),t)},e.prototype.rmdir=function(e,t,n){var a=ye(t),r=re("function"===typeof t?t:n);this.wrapAsync(this.rmdirBase,[Ce(e),a],r)},e.prototype.fchmodBase=function(e,t){this.getFileByFdOrThrow(e,"fchmod").chmod(t)},e.prototype.fchmodSync=function(e,t){this.fchmodBase(e,Le(t))},e.prototype.fchmod=function(e,t,n){this.wrapAsync(this.fchmodBase,[e,Le(t)],n)},e.prototype.chmodBase=function(e,t){var n=this.openSync(e,"r+");try{this.fchmodBase(n,t)}finally{this.closeSync(n)}},e.prototype.chmodSync=function(e,t){var n=Le(t),a=Ce(e);this.chmodBase(a,n)},e.prototype.chmod=function(e,t,n){var a=Le(t),r=Ce(e);this.wrapAsync(this.chmodBase,[r,a],n)},e.prototype.lchmodBase=function(e,t){var n=this.openBase(e,C,0,!1);try{this.fchmodBase(n,t)}finally{this.closeSync(n)}},e.prototype.lchmodSync=function(e,t){var n=Le(t),a=Ce(e);this.lchmodBase(a,n)},e.prototype.lchmod=function(e,t,n){var a=Le(t),r=Ce(e);this.wrapAsync(this.lchmodBase,[r,a],n)},e.prototype.fchownBase=function(e,t,n){this.getFileByFdOrThrow(e,"fchown").chown(t,n)},e.prototype.fchownSync=function(e,t,n){Be(t),Ue(n),this.fchownBase(e,t,n)},e.prototype.fchown=function(e,t,n,a){Be(t),Ue(n),this.wrapAsync(this.fchownBase,[e,t,n],a)},e.prototype.chownBase=function(e,t,n){this.getResolvedLinkOrThrow(e,"chown").getNode().chown(t,n)},e.prototype.chownSync=function(e,t,n){Be(t),Ue(n),this.chownBase(Ce(e),t,n)},e.prototype.chown=function(e,t,n,a){Be(t),Ue(n),this.wrapAsync(this.chownBase,[Ce(e),t,n],a)},e.prototype.lchownBase=function(e,t,n){this.getLinkOrThrow(e,"lchown").getNode().chown(t,n)},e.prototype.lchownSync=function(e,t,n){Be(t),Ue(n),this.lchownBase(Ce(e),t,n)},e.prototype.lchown=function(e,t,n,a){Be(t),Ue(n),this.wrapAsync(this.lchownBase,[Ce(e),t,n],a)},e.prototype.watchFile=function(e,t,n){var a=Ce(e),r=t,i=n;if("function"===typeof r&&(i=t,r=null),"function"!==typeof i)throw Error('"watchFile()" requires a listener function');var o=5007,s=!0;r&&"object"===typeof r&&("number"===typeof r.interval&&(o=r.interval),"boolean"===typeof r.persistent&&(s=r.persistent));var d=this.statWatchers[a];return d||((d=new this.StatWatcher).start(a,s,o),this.statWatchers[a]=d),d.addListener("change",i),d},e.prototype.unwatchFile=function(e,t){var n=Ce(e),a=this.statWatchers[n];a&&("function"===typeof t?a.removeListener("change",t):a.removeAllListeners("change"),0===a.listenerCount("change")&&(a.stop(),delete this.statWatchers[n]))},e.prototype.createReadStream=function(e,t){return new this.ReadStream(e,t)},e.prototype.createWriteStream=function(e,t){return new this.WriteStream(e,t)},e.prototype.watch=function(e,t,n){var a=Ce(e),r=t;"function"===typeof t&&(n=t,r=null);var i=se(r),o=i.persistent,s=i.recursive,d=i.encoding;void 0===o&&(o=!0),void 0===s&&(s=!1);var l=new this.FSWatcher;return l.start(a,o,s,d),n&&l.addListener("change",n),l},e.fd=2147483647,e}();function Ye(e){e.emit("stop")}t.Volume=Ge;var He,Ve=function(e){function t(t){var n=e.call(this)||this;return n.onInterval=function(){try{var e=n.vol.statSync(n.filename);n.hasChanged(e)&&(n.emit("change",e,n.prev),n.prev=e)}finally{n.loop()}},n.vol=t,n}return a(t,e),t.prototype.loop=function(){this.timeoutRef=this.setTimeout(this.onInterval,this.interval)},t.prototype.hasChanged=function(e){return e.mtimeMs>this.prev.mtimeMs||e.nlink!==this.prev.nlink},t.prototype.start=function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n=5007),this.filename=Ce(e),this.setTimeout=t?setTimeout:f.default,this.interval=n,this.prev=this.vol.statSync(this.filename),this.loop()},t.prototype.stop=function(){clearTimeout(this.timeoutRef),g.default.nextTick(Ye,this)},t}(h.EventEmitter);function qe(e,t,n){if(!(this instanceof qe))return new qe(e,t,n);if(this._vol=e,void 0===(n=y({},ne(n,{}))).highWaterMark&&(n.highWaterMark=65536),_.Readable.call(this,n),this.path=Ce(t),this.fd=void 0===n.fd?null:n.fd,this.flags=void 0===n.flags?"r":n.flags,this.mode=void 0===n.mode?438:n.mode,this.start=n.start,this.end=n.end,this.autoClose=void 0===n.autoClose||n.autoClose,this.pos=void 0,this.bytesRead=0,void 0!==this.start){if("number"!==typeof this.start)throw new TypeError('"start" option must be a Number');if(void 0===this.end)this.end=1/0;else if("number"!==typeof this.end)throw new TypeError('"end" option must be a Number');if(this.start>this.end)throw new Error('"start" option must be <= "end" option');this.pos=this.start}"number"!==typeof this.fd&&this.open(),this.on("end",(function(){this.autoClose&&this.destroy&&this.destroy()}))}function ze(e){this.close()}function $e(e,t,n){if(!(this instanceof $e))return new $e(e,t,n);if(this._vol=e,n=y({},ne(n,{})),_.Writable.call(this,n),this.path=Ce(t),this.fd=void 0===n.fd?null:n.fd,this.flags=void 0===n.flags?"w":n.flags,this.mode=void 0===n.mode?438:n.mode,this.start=n.start,this.autoClose=void 0===n.autoClose||!!n.autoClose,this.pos=void 0,this.bytesWritten=0,void 0!==this.start){if("number"!==typeof this.start)throw new TypeError('"start" option must be a Number');if(this.start<0)throw new Error('"start" must be >= zero');this.pos=this.start}n.encoding&&this.setDefaultEncoding(n.encoding),"number"!==typeof this.fd&&this.open(),this.once("finish",(function(){this.autoClose&&this.close()}))}t.StatWatcher=Ve,v.inherits(qe,_.Readable),t.ReadStream=qe,qe.prototype.open=function(){var e=this;this._vol.open(this.path,this.flags,this.mode,(function(t,n){if(t)return e.autoClose&&e.destroy&&e.destroy(),void e.emit("error",t);e.fd=n,e.emit("open",n),e.read()}))},qe.prototype._read=function(e){if("number"!==typeof this.fd)return this.once("open",(function(){this._read(e)}));if(!this.destroyed){var t;(!He||He.length-He.used<128)&&(t=this._readableState.highWaterMark,(He=u.bufferAllocUnsafe(t)).used=0);var n=He,a=Math.min(He.length-He.used,e),r=He.used;if(void 0!==this.pos&&(a=Math.min(this.end-this.pos+1,a)),a<=0)return this.push(null);var i=this;this._vol.read(this.fd,He,He.used,a,this.pos,(function(e,t){if(e)i.autoClose&&i.destroy&&i.destroy(),i.emit("error",e);else{var a=null;t>0&&(i.bytesRead+=t,a=n.slice(r,r+t)),i.push(a)}})),void 0!==this.pos&&(this.pos+=a),He.used+=a}},qe.prototype._destroy=function(e,t){this.close((function(n){t(e||n)}))},qe.prototype.close=function(e){var t=this;if(e&&this.once("close",e),this.closed||"number"!==typeof this.fd)return"number"!==typeof this.fd?void this.once("open",ze):g.default.nextTick((function(){return t.emit("close")}));this.closed=!0,this._vol.close(this.fd,(function(e){e?t.emit("error",e):t.emit("close")})),this.fd=null},v.inherits($e,_.Writable),t.WriteStream=$e,$e.prototype.open=function(){this._vol.open(this.path,this.flags,this.mode,function(e,t){if(e)return this.autoClose&&this.destroy&&this.destroy(),void this.emit("error",e);this.fd=t,this.emit("open",t)}.bind(this))},$e.prototype._write=function(e,t,n){if(!(e instanceof u.Buffer))return this.emit("error",new Error("Invalid data"));if("number"!==typeof this.fd)return this.once("open",(function(){this._write(e,t,n)}));var a=this;this._vol.write(this.fd,e,0,e.length,this.pos,(function(e,t){if(e)return a.autoClose&&a.destroy&&a.destroy(),n(e);a.bytesWritten+=t,n()})),void 0!==this.pos&&(this.pos+=e.length)},$e.prototype._writev=function(e,t){if("number"!==typeof this.fd)return this.once("open",(function(){this._writev(e,t)}));for(var n=this,a=e.length,r=new Array(a),i=0,o=0;o<a;o++){var s=e[o].chunk;r[o]=s,i+=s.length}var d=u.Buffer.concat(r);this._vol.write(this.fd,d,0,d.length,this.pos,(function(e,a){if(e)return n.destroy&&n.destroy(),t(e);n.bytesWritten+=a,t()})),void 0!==this.pos&&(this.pos+=i)},$e.prototype._destroy=qe.prototype._destroy,$e.prototype.close=qe.prototype.close,$e.prototype.destroySoon=$e.prototype.end;var We=function(e){function t(t){var n=e.call(this)||this;return n._filename="",n._filenameEncoded="",n._recursive=!1,n._encoding=R.ENCODING_UTF8,n._onNodeChange=function(){n._emit("change")},n._onParentChild=function(e){e.getName()===n._getName()&&n._emit("rename")},n._emit=function(e){n.emit("change",e,n._filenameEncoded)},n._persist=function(){n._timer=setTimeout(n._persist,1e6)},n._vol=t,n}return a(t,e),t.prototype._getName=function(){return this._steps[this._steps.length-1]},t.prototype.start=function(e,t,n,a){void 0===t&&(t=!0),void 0===n&&(n=!1),void 0===a&&(a=R.ENCODING_UTF8),this._filename=Ce(e),this._steps=Ie(this._filename),this._filenameEncoded=R.strToEncoding(this._filename),this._recursive=n,this._encoding=a;try{this._link=this._vol.getLinkOrThrow(this._filename,"FSWatcher")}catch(o){var r=new Error("watch "+this._filename+" "+o.code);throw r.code=o.code,r.errno=o.code,r}this._link.getNode().on("change",this._onNodeChange),this._link.on("child:add",this._onNodeChange),this._link.on("child:delete",this._onNodeChange);var i=this._link.parent;i&&(i.setMaxListeners(i.getMaxListeners()+1),i.on("child:delete",this._onParentChild)),t&&this._persist()},t.prototype.close=function(){clearTimeout(this._timer),this._link.getNode().removeListener("change",this._onNodeChange);var e=this._link.parent;e&&e.removeListener("child:delete",this._onParentChild)},t}(h.EventEmitter);t.FSWatcher=We},56811:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.indentStyle=t.indentMargin=t.indentClass=void 0;const r=a(n(67977));t.indentClass=r.default.indent,t.indentMargin=r.default.indentMargin,t.indentStyle=function(e){return{"--indent-depth":e}}},70558:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(56811),t)},85167:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attachPayload=void 0,t.attachPayload=function e(t,n){t&&(t.payload=n.get(t.id),t.children&&t.children.forEach((t=>e(t,n))))}},47839:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.attachPayload=void 0,r(n(99635),t);var i=n(85167);Object.defineProperty(t,"attachPayload",{enumerable:!0,get:function(){return i.attachPayload}})},99635:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inflateToTree=void 0;const a=n(52162),r=n(46203);t.inflateToTree=function(e,t){const n=e.map(t),i=a.buildKeyTree(n),o=Object.entries(i),[s,d]=1===o.length?o[0]:["",i];return r.keyTreeToNodeTree(s,d)}},46203:(e,t)=>{"use strict";function n([e],[t]){return e<t?-1:1}function a([,e],[,t]){return(void 0!==e?-1:0)+(void 0!==t?1:0)}Object.defineProperty(t,"__esModule",{value:!0}),t.keyTreeToNodeTree=void 0,t.keyTreeToNodeTree=function e(t,r){return r?{id:t,children:Object.entries(r).sort(n).sort(a).map((([t,n])=>e(t,n)))}:{id:t,children:void 0}}},52162:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildKeyTree=void 0;const a=n(46991);t.buildKeyTree=function(e){const t={};return e.forEach((e=>{const n=a.subPaths(e).filter((e=>"."!==e)),r=e.endsWith("/")?void 0:n.pop();let i=t;n.forEach((e=>{const t=`${e}/`,n=i[t]||Object.create(null);i[t]=n,i=n})),r&&!(r in i)&&(i[r]=void 0)})),t}},365:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TreeContextProvider=t.TreeContext=void 0;var a=n(83502);Object.defineProperty(t,"TreeContext",{enumerable:!0,get:function(){return a.TreeContext}}),Object.defineProperty(t,"TreeContextProvider",{enumerable:!0,get:function(){return a.TreeContextProvider}})},83502:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.TreeContextProvider=t.TreeContext=void 0;const o=i(n(4516));t.TreeContext=o.createContext({onSelect:()=>{},selected:void 0}),t.TreeContextProvider=function({onSelect:e,selected:n,children:a}){const r=o.useMemo((()=>({onSelect:e,selected:n})),[e,n]);return o.default.createElement(t.TreeContext.Provider,{value:r},a)}},52249:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClickOutside=void 0;const a=n(4516);class r extends a.Component{constructor(){super(...arguments),this.listener=e=>{const{targetRef:t,handler:n}=this.props,a=e.target;t.current&&a&&!t.current.contains(a)&&n(e)}}componentDidMount(){this.props.enabled&&this.enable()}componentWillUnmount(){this.disable()}componentDidUpdate(e){const t=this.props;e.enabled!==t.enabled&&(t.enabled?this.enable():this.disable())}enable(){document.addEventListener("mousedown",this.listener),document.addEventListener("touchstart",this.listener)}disable(){document.removeEventListener("mousedown",this.listener),document.removeEventListener("touchstart",this.listener)}render(){return null}}t.ClickOutside=r,r.defaultProps={enabled:!0}},79721:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useClickOutside=t.ClickOutside=void 0;var a=n(52249);Object.defineProperty(t,"ClickOutside",{enumerable:!0,get:function(){return a.ClickOutside}});var r=n(70814);Object.defineProperty(t,"useClickOutside",{enumerable:!0,get:function(){return r.useClickOutside}})},70814:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useClickOutside=void 0;const a=n(4516);t.useClickOutside=function(e,t,n=!0){a.useEffect((()=>{const a=n=>{const a=n.target;e.current&&a&&!e.current.contains(a)&&t(n)};return n&&(document.addEventListener("mousedown",a),document.addEventListener("touchstart",a)),()=>{document.removeEventListener("mousedown",a),document.removeEventListener("touchstart",a)}}),[e,t,n])}},31099:function(e,t,n){"use strict";var a=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Error=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(29422));t.Error=function(e){const{className:t,children:n}=e,r=a(e,["className","children"]);return n?i.default.createElement("div",Object.assign({className:o.default(s.default.error,t)},r),n):null}},97164:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(31099),t)},5099:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.colGridXl=t.colGridLg=t.colGridL=t.colGridMd=t.colGridSm=t.colGridXs=t.colGrid=void 0;const r=a(n(84553));function i(e){const t={};for(var n=1;n<=12;n++)t[n]=r.default[`colTemplate--${e}-${n}`];return t}t.colGrid=i("all"),t.colGridXs=i("xs"),t.colGridSm=i("sm"),t.colGridMd=i("md"),t.colGridL=i("l"),t.colGridLg=i("lg"),t.colGridXl=i("xl")},36378:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return r(t,e),t},o=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Grid=void 0;const d=i(n(4516)),l=s(n(94184)),c=s(n(98017)),u=n(5099);class p extends d.PureComponent{render(){const e=this.props,{className:t,col:n,colL:a,colLg:r,colMd:i,colSm:s,colXl:p,colXs:g}=e,f=o(e,["className","col","colL","colLg","colMd","colSm","colXl","colXs"]),_=[t,c.default.gridContainer];return void 0!==n&&_.push(u.colGrid[n]),void 0!==a&&_.push(u.colGridL[a]),void 0!==r&&_.push(u.colGridLg[r]),void 0!==i&&_.push(u.colGridMd[i]),void 0!==s&&_.push(u.colGridSm[s]),void 0!==p&&_.push(u.colGridXl[p]),void 0!==g&&_.push(u.colGridXs[g]),d.default.createElement("div",Object.assign({"data-bit-id":"teambit.base-ui/layout/grid-component"},f,{className:l.default(..._)}))}}t.Grid=p},42711:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(36378),t)},14352:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.textColumn=t.wideColumn=t.centerColumn=void 0;const r=a(n(623));t.centerColumn=r.default.centerColumn,t.wideColumn=r.default.wideColumn,t.textColumn=r.default.textColumn},99870:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WordSkeleton=t.LineSkeleton=t.CircleSkeleton=t.BlockSkeleton=t.Skeleton=void 0;var a=n(45635);Object.defineProperty(t,"Skeleton",{enumerable:!0,get:function(){return a.Skeleton}}),Object.defineProperty(t,"BlockSkeleton",{enumerable:!0,get:function(){return a.BlockSkeleton}}),Object.defineProperty(t,"CircleSkeleton",{enumerable:!0,get:function(){return a.CircleSkeleton}}),Object.defineProperty(t,"LineSkeleton",{enumerable:!0,get:function(){return a.LineSkeleton}}),Object.defineProperty(t,"WordSkeleton",{enumerable:!0,get:function(){return a.WordSkeleton}})},45635:function(e,t,n){"use strict";var a=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.title=t.BlockSkeleton=t.CircleSkeleton=t.LineSkeleton=t.WordSkeleton=t.Skeleton=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(16335)),d=r(n(3612));function l(e){var{length:t=5,designClass:n=d.default.word,className:r,style:l}=e,c=a(e,["length","designClass","className","style"]);return i.default.createElement("span",Object.assign({},c,{className:(0,o.default)(s.default.word,r,n),style:Object.assign({},l)}),i.default.createElement("span",null,Array.from({length:t}).map((()=>"\xa0"))))}t.Skeleton=function(e){var{designClass:t=d.default.skeleton,className:n}=e,r=a(e,["designClass","className"]);return i.default.createElement("div",Object.assign({},r,{className:(0,o.default)(s.default.skeleton,t,n)}))},t.WordSkeleton=l,t.LineSkeleton=function(e){var{width:t,count:n=1,designClass:r=d.default.line,className:l,style:c}=e,u=a(e,["width","count","designClass","className","style"]);return i.default.createElement("div",Object.assign({},u,{className:(0,o.default)(s.default.line,r,l),style:Object.assign({width:t},c)}),Array.from({length:n}).map(((e,t)=>i.default.createElement("div",{key:t},"\xa0"))))},t.CircleSkeleton=function(e){var{size:t=2,designClass:n=d.default.circle,className:r,style:l}=e,c=a(e,["size","designClass","className","style"]);return i.default.createElement("span",Object.assign({},c,{className:(0,o.default)(s.default.circle,r,n),style:Object.assign({height:`${t}em`,width:`${t}em`,lineHeight:t},l)}),"\xa0")},t.BlockSkeleton=function(e){var{lines:t=5,designClass:n=d.default.block,className:r,style:l}=e,c=a(e,["lines","designClass","className","style"]);return i.default.createElement("div",Object.assign({},c,{className:(0,o.default)(s.default.block,n,r),style:Object.assign({height:`${t}em`},l)}))},t.title=function(){return i.default.createElement("div",{style:{marginBottom:"1em"}},i.default.createElement(l,{style:{fontSize:18}}))}},84336:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NavLink=void 0;var a=n(61555);Object.defineProperty(t,"NavLink",{enumerable:!0,get:function(){return a.NavLink}})},61555:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NavLink=void 0;const r=a(n(4516)),i=n(83678);t.NavLink=function(e){const t=i.useRouting().NavLink;return r.default.createElement(t,Object.assign({},e))}},89270:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return r(t,e),t},o=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Containee=void 0;const d=i(n(4516)),l=s(n(16586)),c=s(n(22184)),u=s(n(3473)),p=s(n(24611)),g=s(n(25109));class f extends d.Component{constructor(){super(...arguments),this.ref=c.default()}render(){const e=this.props,{className:t,position:n="bottom"}=e,a=o(e,["className","position"]),r=p.default[n],i=g.default.displacement;return d.default.createElement("div",Object.assign({ref:this.ref,className:l.default(u.default.containee,i,r,t),"data-position":n},a))}}t.Containee=f},24625:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(89270),t)},97350:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return r(t,e),t},o=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Container=void 0;const d=i(n(4516)),l=s(n(16586)),c=s(n(3473));t.Container=d.forwardRef((function(e,t){var{className:n,open:a}=e,r=o(e,["className","open"]);return d.default.createElement("div",Object.assign({ref:t,className:l.default(c.default.container,n),"data-open":a},r))}))},52731:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(97350),t)},63867:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.containeeClass=t.containerClass=void 0;const o=i(n(3473));r(n(24625),t),r(n(52731),t),t.containerClass=o.default.container,t.containeeClass=o.default.containee},16586:(e,t)=>{var n;!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var o=r.apply(null,n);o&&e.push(o)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var s in n)a.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},15653:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultPlaceholder=void 0;const r=a(n(4516)),i=a(n(70464)),o=a(n(49876));t.DefaultPlaceholder=function(e){return r.default.createElement("div",Object.assign({},e,{className:i.default(e.className,o.default.placeholder)}))}},35946:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return r(t,e),t},o=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Drawer=void 0;const d=i(n(4516)),l=n(63867),c=n(79721),u=s(n(22184)),p=n(15653);class g extends d.Component{constructor(){super(...arguments),this.state={isOpen:this.props.open||!1},this.ref=u.default(),this.toggle=e=>{const{isOpen:t}=this.state,n=!t;this.isControlled||this.setState({isOpen:n}),this.props.onChange&&this.props.onChange(e,n)},this.close=e=>{const{isOpen:t}=this.state;!this.isControlled&&t&&this.setState({isOpen:false}),this.props.onChange&&this.props.onChange(e,false)},this.open=e=>{const{isOpen:t}=this.state;this.isControlled||t||this.setState({isOpen:!0}),this.props.onChange&&this.props.onChange(e,!0)},this.handlePlaceholderClick=e=>{this.props.onPlaceholderToggle&&this.props.onPlaceholderToggle(e),e.defaultPrevented||this.props.clickPlaceholderToggles&&this.toggle(e)},this.handleContainerClick=e=>{this.props.clickToggles&&this.toggle(e),this.props.onClick&&this.props.onClick(e)},this.handleClickOutside=e=>{this.props.onClickOutside&&this.props.onClickOutside(e),e.defaultPrevented||this.props.clickOutside&&this.close()},this.handleLeaveContainer=e=>{this.props.onMouseLeave&&this.props.onMouseLeave(e),e.defaultPrevented||this.props.hoverToOpen&&this.close(e)},this.handleEnterContainer=e=>{this.props.onMouseEnter&&this.props.onMouseEnter(e),e.defaultPrevented||this.props.hoverToOpen&&this.open(e)}}componentWillReceiveProps(e){this.props.open!==e.open&&void 0!==e.open&&this.setState({isOpen:e.open})}get isControlled(){return void 0!==this.props.open}render(){const e=this.props,{placeholder:t,children:n,PlaceholderComponent:a=p.DefaultPlaceholder,clickOutside:r,onMouseEnter:i,onMouseLeave:s,open:u,hoverToOpen:g,clickPlaceholderToggles:f,clickToggles:_,onChange:m,onPlaceholderToggle:h,onContainerToggle:R,onContaineeToggle:b,onClickOutside:y}=e,v=o(e,["placeholder","children","PlaceholderComponent","clickOutside","onMouseEnter","onMouseLeave","open","hoverToOpen","clickPlaceholderToggles","clickToggles","onChange","onPlaceholderToggle","onContainerToggle","onContaineeToggle","onClickOutside"]),{isOpen:E}=this.state;return d.default.createElement(l.Container,Object.assign({},v,{ref:this.ref,open:E,onMouseLeave:this.handleLeaveContainer,onMouseEnter:this.handleEnterContainer,onClick:this.handleContainerClick}),n,d.default.createElement(a,{onClick:this.handlePlaceholderClick},t),d.default.createElement(c.ClickOutside,{targetRef:this.ref,enabled:!!r&&E,handler:this.handleClickOutside}))}}t.Drawer=g,g.defaultProps={PlaceholderComponent:p.DefaultPlaceholder,clickPlaceholderToggles:!0,clickOutside:!0,clickToggles:!0}},62918:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(35946),t)},70464:(e,t)=>{var n;!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var o=r.apply(null,n);o&&e.push(o)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var s in n)a.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},73624:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(22826),t)},22826:function(e,t,n){"use strict";var a=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.HoverSplitter=void 0;const i=n(8227),o=r(n(94184)),s=r(n(4516)),d=r(n(7545));t.HoverSplitter=function(e){var{children:t,className:n}=e,r=a(e,["children","className"]);return s.default.createElement(i.Splitter,Object.assign({},r,{className:o.default(d.default.hoverSplitter,n)}),s.default.createElement("div",{className:d.default.highlighter}),t)}},18280:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(68461),t)},68461:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default_layout=t.layoutToggleMap=t.Layout=t.LayoutFeatures=void 0,function(e){e.row="row",e.column="column",e.reverse="reverse",e.first="first",e.last="last"}(t.LayoutFeatures||(t.LayoutFeatures={})),function(e){e.row="row",e.rowReverse="row reverse",e.column="column",e.columnReverse="column reverse",e.top="column first",e.bottom="column last",e.topReverse="column reverse first",e.bottomReverse="column reverse last ",e.left="row first",e.right="row last",e.leftReverse="row reverse first",e.rightReverse="row reverse last"}(n=t.Layout||(t.Layout={})),t.layoutToggleMap={[n.columnReverse]:n.row,[n.row]:n.columnReverse},t.default_layout=n.row},93524:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(71658),t)},71658:function(e,t,n){"use strict";var a=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Pane=void 0;const i=n(18280),o=r(n(281)),s=r(n(4516)),d=r(n(44176));t.Pane=function(e){var{size:t,style:n,layout:r,className:l}=e,c=a(e,["size","style","layout","className"]);const u={},p=function(e){if(!e)return;if(e.includes(i.LayoutFeatures.column))return"height";if(e.includes(i.LayoutFeatures.row))return"width";return}(r);return p&&void 0!==t&&(u[p]=t,u.flexShrink=0),void 0===t&&(u.flexGrow=1,u.flexBasis=0),s.default.createElement("div",Object.assign({},c,{className:o.default(d.default.pane,l),style:Object.assign(Object.assign({},n),u)}))}},281:(e,t)=>{var n;!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var o=r.apply(null,n);o&&e.push(o)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var s in n)a.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},63898:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calcSplit=void 0;const a=n(18280);function r(e){if(void 0!==e){if("number"===typeof e)return`calc(100% - ${e}px)`;if(e.endsWith("px"))return`calc(100% - ${e})`;if(e.endsWith("%")){const t=+e.replace("%","");if(Number.isNaN(t))return;return 100-t+"%"}return Number.isNaN(+e)?void 0:`calc(100% - ${e}px)`}}function i(e){return e?"number"===typeof e&&e<0?[void 0,-e]:"string"===typeof e&&e.startsWith("-")?[void 0,e.substring(1)]:[e,void 0]:[void 0,void 0]}t.calcSplit=function(e,t,n){let o=function(e,t,n){const{row:r,column:o,first:s,last:d}=a.LayoutFeatures,l=new Set(t.split(" "));if(l.has(s))return["100%","0%"];if(l.has(d))return["0%","100%"];if(l.has(r))return void 0===(null===e||void 0===e?void 0:e.x)?i(n):"string"===typeof n&&n.endsWith("%")?[100*e.x/e.width+"%",void 0]:[e.x,void 0];if(l.has(o))return void 0===(null===e||void 0===e?void 0:e.y)?i(n):"string"===typeof n&&n.endsWith("%")?[100*e.y/e.height+"%",void 0]:[e.y,void 0];return[void 0,void 0]}(e,t,n);return t.includes(a.LayoutFeatures.reverse)&&o.reverse(),void 0!==o[0]&&void 0!==o[1]||(o=function([e,t]){if(void 0===e&&void 0===t)return[void 0,void 0];if(void 0===t)return[e,r(e)];if(void 0===e)return[r(t),t];return[e,t]}(o)),o}},38577:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.SplitPane=void 0,r(n(18280),t),r(n(93524),t),r(n(8227),t);var i=n(86032);Object.defineProperty(t,"SplitPane",{enumerable:!0,get:function(){return i.SplitPane}})},44745:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.limit=void 0,t.limit=function(e,t,n){return void 0!==t&&e<t?t:void 0!==n&&e>n?n:e}},86032:function(e,t,n){"use strict";var a=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SplitPane=void 0;const i=n(18280),o=r(n(94184)),s=r(n(4516)),d=n(63898),l=r(n(25772)),c=n(33226);t.SplitPane=function(e){var{layout:t=i.Layout.column,size:n="38%",className:r,children:u}=e,p=a(e,["layout","size","className","children"]);const g=s.default.createRef(),[f,_,m]=c.useDragTracker(g),[h,R]=d.calcSplit(f,t,n),[b,y,v]=u,E=s.default.cloneElement(b,{size:h,layout:t}),S=s.default.cloneElement(v,{size:R,layout:t}),O=s.default.cloneElement(y,{onDragging:m,isDragging:_});return s.default.createElement("div",Object.assign({},p,{ref:g,className:o.default(_&&l.default.isDragging,l.default.splitPane,r),"data-is-dragging":_,"data-split-layout":t}),E,O,S)}},3026:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toRelativePosition=void 0;const a=n(44745);t.toRelativePosition=function({clientX:e,clientY:t,element:n}){const r=n.getBoundingClientRect(),{left:i,top:o,width:s=1,height:d=1}=r;return{x:a.limit(e-i,0,s),y:a.limit(t-o,0,d),width:s,height:d}}},33226:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDragTracker=void 0;const a=n(4516),r=n(3026),i=n(96207);t.useDragTracker=function(e){const[t,n]=a.useState(void 0),o=a.useCallback((({clientX:t,clientY:a})=>{if(!e.current)return;const i=r.toRelativePosition({clientX:t,clientY:a,element:e.current});n(i)}),[e]),[s,d]=i.useDragListener(o);return[t,s,d]}},96207:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDragListener=void 0;const a=n(4516);t.useDragListener=function(e){const t=a.useState(!1),[n,r]=t;return a.useEffect((()=>{const t=t=>{const{touches:n}=t,a=n[0];e(a)},a=t=>{e(t)},i=()=>{r(!1)},o=e=>{e&&1===e.buttons||i()};return n&&(document.addEventListener("mousemove",a),document.addEventListener("mouseup",i),document.addEventListener("mouseenter",o),document.addEventListener("touchend",i),document.addEventListener("touchmove",t),document.addEventListener("touchcancel",i)),()=>{document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",i),document.removeEventListener("mouseenter",o),document.removeEventListener("touchend",i),document.removeEventListener("touchmove",t),document.removeEventListener("touchcancel",i)}}),[n,e]),t}},8227:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(28593),t)},28593:function(e,t,n){"use strict";var a=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Splitter=void 0;const i=r(n(40777)),o=r(n(4516)),s=r(n(93988));t.Splitter=function(e){var{onDragging:t,isDragging:n,className:r}=e,d=a(e,["onDragging","isDragging","className"]);return o.default.createElement("div",Object.assign({},d,{className:i.default(s.default.splitter,r),onMouseDown:()=>null===t||void 0===t?void 0:t(!0),onTouchStart:()=>null===t||void 0===t?void 0:t(!0)}))}},40777:(e,t)=>{var n;!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var o=r.apply(null,n);o&&e.push(o)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var s in n)a.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},86430:function(e,t,n){"use strict";var a=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Heading=void 0;const i=r(n(4516));function o(e){const{element:t}=e,n=a(e,["element"]),r=t||"h1";return i.default.createElement(r,Object.assign({"data-bit-id":"teambit.base-ui/text/heading"},n))}t.Heading=o,o.defaultProps={element:"h1"}},51532:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(86430),t)},92141:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(78881),t)},78881:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.mutedText=t.MutedText=void 0;const r=a(n(4516)),i=a(n(94184)),o=a(n(47803));t.MutedText=function(e){return r.default.createElement("span",Object.assign({},e,{className:i.default(o.default.mutedText,e.className)}))},t.mutedText=o.default.mutedText},90473:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PossibleSizes=t.Paragraph=void 0;var a=n(36588);Object.defineProperty(t,"Paragraph",{enumerable:!0,get:function(){return a.Paragraph}}),Object.defineProperty(t,"PossibleSizes",{enumerable:!0,get:function(){return a.PossibleSizes}})},36588:function(e,t,n){"use strict";var a=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Paragraph=t.PossibleSizes=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(19453);Object.defineProperty(t,"PossibleSizes",{enumerable:!0,get:function(){return s.PossibleSizes}});const d=n(80588);function l(e){var{className:t,size:n,element:r}=e,s=a(e,["className","size","element"]);return i.default.createElement(r,Object.assign({className:o.default(d.textSize[n],t),"data-bit-id":"teambit.base-ui/text/paragraph"},s))}t.Paragraph=l,l.defaultProps={size:"md",element:"p"}},80588:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.textSize=void 0;const r=a(n(25874)),i={xxs:r.default.xxs,xs:r.default.xs,sm:r.default.sm,md:r.default.md,lg:r.default.lg,xl:r.default.xl,xxl:r.default.xxl};t.textSize=i},16794:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.darkMode=void 0;const r=a(n(42694));t.darkMode=r.default.darkMod},70317:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(40685),t)},40685:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Roboto=void 0;const r=a(n(4516));t.Roboto=()=>r.default.createElement("link",{href:"https://fonts.googleapis.com/css?family=Roboto+Mono",rel:"stylesheet"})},19453:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PossibleSizes=void 0,function(e){e.xxs="xxs",e.xs="xs",e.sm="sm",e.md="md",e.lg="lg",e.xl="xl",e.xxl="xxl"}(t.PossibleSizes||(t.PossibleSizes={}))},46991:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.subPaths=void 0;var a=n(91342);Object.defineProperty(t,"subPaths",{enumerable:!0,get:function(){return a.subPaths}})},91342:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.subPaths=void 0;const r=a(n(26470));function i(e){return"/"===e?e:e.replace(/\/$/,"")}t.subPaths=function(e){const t=[];let n=e;for(;r.default.dirname(n)!==n;){const e=i(n);t.unshift(e),n=r.default.dirname(n)}return t.unshift(n),t}},30770:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(58557);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a(r).default}})},58557:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(97114)),i=a(n(67946));t.default=e=>{const t=new Date,n=new Date(e);r.default.addLocale(i.default);const a=new r.default("en-EN"),o=new Date(t.getTime()-n.getTime()),s=a.format(t.getTime()-o.getTime());return"a "===s.slice(0,2)?`${s[0].toUpperCase()}${s.slice(1)}`:s}},67180:(e,t,n)=>{"use strict";n(67120),Object.defineProperty(t,"__esModule",{value:!0}),t.AspectList=void 0;class a{constructor(e){this.entries=e}get(e){const t=this.entries.find((t=>t.aspectId===e));if(t)return t.aspectData}toObject(){return{entries:this.entries}}static fromObject(e){const t=(null===e||void 0===e?void 0:e.entries)||[];return new a(t)}static fromJson(e){var t;const n=(null===e||void 0===e||null===(t=e.entries)||void 0===t?void 0:t.map((({aspectId:e,aspectData:t})=>({aspectId:e,aspectData:JSON.parse(t)}))))||[];return new a(n)}}t.AspectList=a},86549:(e,t,n)=>{"use strict";function a(){const e=n(68211);return a=function(){return e},e}function r(){const e=n(67180);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentDescriptor=void 0;class i{constructor(e,t){this.id=e,this.aspectList=t}get scope(){return this.id.scope}get(e){return this.aspectList.get(e)}toObject(){return{id:this.id.toString(),aspectList:this.aspectList.toObject()}}stringify(){return JSON.stringify(this.toObject())}toString(){return this.stringify()}static fromObject({id:e,aspectList:t}){const n=r().AspectList.fromObject(t);return new i(a().ComponentID.fromString(e),n)}static fromArray(e){return e.map((e=>i.fromObject(e)))}}t.ComponentDescriptor=i},57984:(e,t,n)=>{"use strict";function a(){const e=n(86549);return a=function(){return e},e}function r(){const e=n(67180);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AspectDataEntry",{enumerable:!0,get:function(){return r().AspectDataEntry}}),Object.defineProperty(t,"AspectList",{enumerable:!0,get:function(){return r().AspectList}}),Object.defineProperty(t,"AspectListProps",{enumerable:!0,get:function(){return r().AspectListProps}}),Object.defineProperty(t,"ComponentDescriptor",{enumerable:!0,get:function(){return a().ComponentDescriptor}}),Object.defineProperty(t,"ComponentDescriptorProps",{enumerable:!0,get:function(){return a().ComponentDescriptorProps}})},60907:(e,t,n)=>{var a=n(68846),r=n(33836),i=n(11565),o=a.TypeError;e.exports=function(e){if(r(e))return e;throw o(i(e)+" is not a function")}},8626:(e,t,n)=>{var a=n(68846),r=n(33836),i=a.String,o=a.TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw o("Can't set "+i(e)+" as a prototype")}},32776:(e,t,n)=>{var a=n(65014),r=n(49677),i=n(37781),o=a("unscopables"),s=Array.prototype;void 0==s[o]&&i.f(s,o,{configurable:!0,value:r(null)}),e.exports=function(e){s[o][e]=!0}},60596:(e,t,n)=>{var a=n(68846),r=n(41119),i=a.String,o=a.TypeError;e.exports=function(e){if(r(e))return e;throw o(i(e)+" is not an object")}},96033:(e,t,n)=>{var a=n(76284),r=n(10229),i=n(48120),o=function(e){return function(t,n,o){var s,d=a(t),l=i(d),c=r(o,l);if(e&&n!=n){for(;l>c;)if((s=d[c++])!=s)return!0}else for(;l>c;c++)if((e||c in d)&&d[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},35682:(e,t,n)=>{var a=n(85233),r=a({}.toString),i=a("".slice);e.exports=function(e){return i(r(e),8,-1)}},70177:(e,t,n)=>{var a=n(34472),r=n(75539),i=n(20386),o=n(37781);e.exports=function(e,t,n){for(var s=r(t),d=o.f,l=i.f,c=0;c<s.length;c++){var u=s[c];a(e,u)||n&&a(n,u)||d(e,u,l(t,u))}}},96271:(e,t,n)=>{var a=n(44424);e.exports=!a((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},6724:(e,t,n)=>{"use strict";var a=n(72643).IteratorPrototype,r=n(49677),i=n(85318),o=n(81426),s=n(51125),d=function(){return this};e.exports=function(e,t,n,l){var c=t+" Iterator";return e.prototype=r(a,{next:i(+!l,n)}),o(e,c,!1,!0),s[c]=d,e}},42307:(e,t,n)=>{var a=n(99827),r=n(37781),i=n(85318);e.exports=a?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},85318:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},58617:(e,t,n)=>{"use strict";var a=n(43659),r=n(76165),i=n(18873),o=n(2878),s=n(33836),d=n(6724),l=n(69161),c=n(21395),u=n(81426),p=n(42307),g=n(11736),f=n(65014),_=n(51125),m=n(72643),h=o.PROPER,R=o.CONFIGURABLE,b=m.IteratorPrototype,y=m.BUGGY_SAFARI_ITERATORS,v=f("iterator"),E="keys",S="values",O="entries",T=function(){return this};e.exports=function(e,t,n,o,f,m,C){d(n,t,o);var N,w,A,I=function(e){if(e===f&&L)return L;if(!y&&e in P)return P[e];switch(e){case E:case S:case O:return function(){return new n(this,e)}}return function(){return new n(this)}},x=t+" Iterator",D=!1,P=e.prototype,M=P[v]||P["@@iterator"]||f&&P[f],L=!y&&M||I(f),k="Array"==t&&P.entries||M;if(k&&(N=l(k.call(new e)))!==Object.prototype&&N.next&&(i||l(N)===b||(c?c(N,b):s(N[v])||g(N,v,T)),u(N,x,!0,!0),i&&(_[x]=T)),h&&f==S&&M&&M.name!==S&&(!i&&R?p(P,"name",S):(D=!0,L=function(){return r(M,this)})),f)if(w={values:I(S),keys:m?L:I(E),entries:I(O)},C)for(A in w)(y||D||!(A in P))&&g(P,A,w[A]);else a({target:t,proto:!0,forced:y||D},w);return i&&!C||P[v]===L||g(P,v,L,{name:f}),_[t]=L,w}},99827:(e,t,n)=>{var a=n(44424);e.exports=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},31043:(e,t,n)=>{var a=n(68846),r=n(41119),i=a.document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},25829:(e,t,n)=>{var a=n(48091);e.exports=a("navigator","userAgent")||""},97512:(e,t,n)=>{var a,r,i=n(68846),o=n(25829),s=i.process,d=i.Deno,l=s&&s.versions||d&&d.version,c=l&&l.v8;c&&(r=(a=c.split("."))[0]>0&&a[0]<4?1:+(a[0]+a[1])),!r&&o&&(!(a=o.match(/Edge\/(\d+)/))||a[1]>=74)&&(a=o.match(/Chrome\/(\d+)/))&&(r=+a[1]),e.exports=r},1171:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},43659:(e,t,n)=>{var a=n(68846),r=n(20386).f,i=n(42307),o=n(11736),s=n(72541),d=n(70177),l=n(41737);e.exports=function(e,t){var n,c,u,p,g,f=e.target,_=e.global,m=e.stat;if(n=_?a:m?a[f]||s(f,{}):(a[f]||{}).prototype)for(c in t){if(p=t[c],u=e.noTargetGet?(g=r(n,c))&&g.value:n[c],!l(_?c:f+(m?".":"#")+c,e.forced)&&void 0!==u){if(typeof p==typeof u)continue;d(p,u)}(e.sham||u&&u.sham)&&i(p,"sham",!0),o(n,c,p,e)}}},44424:e=>{e.exports=function(e){try{return!!e()}catch(t){return!0}}},80337:(e,t,n)=>{var a=n(44424);e.exports=!a((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},76165:(e,t,n)=>{var a=n(80337),r=Function.prototype.call;e.exports=a?r.bind(r):function(){return r.apply(r,arguments)}},2878:(e,t,n)=>{var a=n(99827),r=n(34472),i=Function.prototype,o=a&&Object.getOwnPropertyDescriptor,s=r(i,"name"),d=s&&"something"===function(){}.name,l=s&&(!a||a&&o(i,"name").configurable);e.exports={EXISTS:s,PROPER:d,CONFIGURABLE:l}},85233:(e,t,n)=>{var a=n(80337),r=Function.prototype,i=r.bind,o=r.call,s=a&&i.bind(o,o);e.exports=a?function(e){return e&&s(e)}:function(e){return e&&function(){return o.apply(e,arguments)}}},48091:(e,t,n)=>{var a=n(68846),r=n(33836),i=function(e){return r(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(a[e]):a[e]&&a[e][t]}},420:(e,t,n)=>{var a=n(60907);e.exports=function(e,t){var n=e[t];return null==n?void 0:a(n)}},68846:(e,t,n)=>{var a=function(e){return e&&e.Math==Math&&e};e.exports=a("object"==typeof globalThis&&globalThis)||a("object"==typeof window&&window)||a("object"==typeof self&&self)||a("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},34472:(e,t,n)=>{var a=n(85233),r=n(33470),i=a({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(r(e),t)}},90617:e=>{e.exports={}},30851:(e,t,n)=>{var a=n(48091);e.exports=a("document","documentElement")},9602:(e,t,n)=>{var a=n(99827),r=n(44424),i=n(31043);e.exports=!a&&!r((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},49702:(e,t,n)=>{var a=n(68846),r=n(85233),i=n(44424),o=n(35682),s=a.Object,d=r("".split);e.exports=i((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?d(e,""):s(e)}:s},53153:(e,t,n)=>{var a=n(85233),r=n(33836),i=n(44112),o=a(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return o(e)}),e.exports=i.inspectSource},95861:(e,t,n)=>{var a,r,i,o=n(90530),s=n(68846),d=n(85233),l=n(41119),c=n(42307),u=n(34472),p=n(44112),g=n(72971),f=n(90617),_="Object already initialized",m=s.TypeError,h=s.WeakMap;if(o||p.state){var R=p.state||(p.state=new h),b=d(R.get),y=d(R.has),v=d(R.set);a=function(e,t){if(y(R,e))throw new m(_);return t.facade=e,v(R,e,t),t},r=function(e){return b(R,e)||{}},i=function(e){return y(R,e)}}else{var E=g("state");f[E]=!0,a=function(e,t){if(u(e,E))throw new m(_);return t.facade=e,c(e,E,t),t},r=function(e){return u(e,E)?e[E]:{}},i=function(e){return u(e,E)}}e.exports={set:a,get:r,has:i,enforce:function(e){return i(e)?r(e):a(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=r(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return n}}}},33836:e=>{e.exports=function(e){return"function"==typeof e}},41737:(e,t,n)=>{var a=n(44424),r=n(33836),i=/#|\.prototype\./,o=function(e,t){var n=d[s(e)];return n==c||n!=l&&(r(t)?a(t):!!t)},s=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},d=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";e.exports=o},41119:(e,t,n)=>{var a=n(33836);e.exports=function(e){return"object"==typeof e?null!==e:a(e)}},18873:e=>{e.exports=!1},19337:(e,t,n)=>{var a=n(68846),r=n(48091),i=n(33836),o=n(49873),s=n(94201),d=a.Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return i(t)&&o(t.prototype,d(e))}},72643:(e,t,n)=>{"use strict";var a,r,i,o=n(44424),s=n(33836),d=n(49677),l=n(69161),c=n(11736),u=n(65014),p=n(18873),g=u("iterator"),f=!1;[].keys&&("next"in(i=[].keys())?(r=l(l(i)))!==Object.prototype&&(a=r):f=!0),void 0==a||o((function(){var e={};return a[g].call(e)!==e}))?a={}:p&&(a=d(a)),s(a[g])||c(a,g,(function(){return this})),e.exports={IteratorPrototype:a,BUGGY_SAFARI_ITERATORS:f}},51125:e=>{e.exports={}},48120:(e,t,n)=>{var a=n(86663);e.exports=function(e){return a(e.length)}},19114:(e,t,n)=>{var a=n(97512),r=n(44424);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&a&&a<41}))},90530:(e,t,n)=>{var a=n(68846),r=n(33836),i=n(53153),o=a.WeakMap;e.exports=r(o)&&/native code/.test(i(o))},49677:(e,t,n)=>{var a,r=n(60596),i=n(12881),o=n(1171),s=n(90617),d=n(30851),l=n(31043),c=n(72971),u=c("IE_PROTO"),p=function(){},g=function(e){return"<script>"+e+"</"+"script>"},f=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},_=function(){try{a=new ActiveXObject("htmlfile")}catch(t){}_="undefined"!=typeof document?document.domain&&a?f(a):function(){var e,t=l("iframe");return t.style.display="none",d.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(g("document.F=Object")),e.close(),e.F}():f(a);for(var e=o.length;e--;)delete _.prototype[o[e]];return _()};s[u]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p.prototype=r(e),n=new p,p.prototype=null,n[u]=e):n=_(),void 0===t?n:i.f(n,t)}},12881:(e,t,n)=>{var a=n(99827),r=n(41602),i=n(37781),o=n(60596),s=n(76284),d=n(24079);t.f=a&&!r?Object.defineProperties:function(e,t){o(e);for(var n,a=s(t),r=d(t),l=r.length,c=0;l>c;)i.f(e,n=r[c++],a[n]);return e}},37781:(e,t,n)=>{var a=n(68846),r=n(99827),i=n(9602),o=n(41602),s=n(60596),d=n(8258),l=a.TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,p="enumerable",g="configurable",f="writable";t.f=r?o?function(e,t,n){if(s(e),t=d(t),s(n),"function"===typeof e&&"prototype"===t&&"value"in n&&f in n&&!n.writable){var a=u(e,t);a&&a.writable&&(e[t]=n.value,n={configurable:g in n?n.configurable:a.configurable,enumerable:p in n?n.enumerable:a.enumerable,writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(s(e),t=d(t),s(n),i)try{return c(e,t,n)}catch(a){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},20386:(e,t,n)=>{var a=n(99827),r=n(76165),i=n(37011),o=n(85318),s=n(76284),d=n(8258),l=n(34472),c=n(9602),u=Object.getOwnPropertyDescriptor;t.f=a?u:function(e,t){if(e=s(e),t=d(t),c)try{return u(e,t)}catch(n){}if(l(e,t))return o(!r(i.f,e,t),e[t])}},21425:(e,t,n)=>{var a=n(8146),r=n(1171).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return a(e,r)}},40625:(e,t)=>{t.f=Object.getOwnPropertySymbols},69161:(e,t,n)=>{var a=n(68846),r=n(34472),i=n(33836),o=n(33470),s=n(72971),d=n(96271),l=s("IE_PROTO"),c=a.Object,u=c.prototype;e.exports=d?c.getPrototypeOf:function(e){var t=o(e);if(r(t,l))return t[l];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof c?u:null}},49873:(e,t,n)=>{var a=n(85233);e.exports=a({}.isPrototypeOf)},8146:(e,t,n)=>{var a=n(85233),r=n(34472),i=n(76284),o=n(96033).indexOf,s=n(90617),d=a([].push);e.exports=function(e,t){var n,a=i(e),l=0,c=[];for(n in a)!r(s,n)&&r(a,n)&&d(c,n);for(;t.length>l;)r(a,n=t[l++])&&(~o(c,n)||d(c,n));return c}},24079:(e,t,n)=>{var a=n(8146),r=n(1171);e.exports=Object.keys||function(e){return a(e,r)}},37011:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,r=a&&!n.call({1:2},1);t.f=r?function(e){var t=a(this,e);return!!t&&t.enumerable}:n},21395:(e,t,n)=>{var a=n(85233),r=n(60596),i=n(8626);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=a(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(o){}return function(n,a){return r(n),i(a),t?e(n,a):n.__proto__=a,n}}():void 0)},82506:(e,t,n)=>{var a=n(68846),r=n(76165),i=n(33836),o=n(41119),s=a.TypeError;e.exports=function(e,t){var n,a;if("string"===t&&i(n=e.toString)&&!o(a=r(n,e)))return a;if(i(n=e.valueOf)&&!o(a=r(n,e)))return a;if("string"!==t&&i(n=e.toString)&&!o(a=r(n,e)))return a;throw s("Can't convert object to primitive value")}},75539:(e,t,n)=>{var a=n(48091),r=n(85233),i=n(21425),o=n(40625),s=n(60596),d=r([].concat);e.exports=a("Reflect","ownKeys")||function(e){var t=i.f(s(e)),n=o.f;return n?d(t,n(e)):t}},11736:(e,t,n)=>{var a=n(68846),r=n(33836),i=n(34472),o=n(42307),s=n(72541),d=n(53153),l=n(95861),c=n(2878).CONFIGURABLE,u=l.get,p=l.enforce,g=String(String).split("String");(e.exports=function(e,t,n,d){var l,u=!!d&&!!d.unsafe,f=!!d&&!!d.enumerable,_=!!d&&!!d.noTargetGet,m=d&&void 0!==d.name?d.name:t;r(n)&&("Symbol("===String(m).slice(0,7)&&(m="["+String(m).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||c&&n.name!==m)&&o(n,"name",m),(l=p(n)).source||(l.source=g.join("string"==typeof m?m:""))),e!==a?(u?!_&&e[t]&&(f=!0):delete e[t],f?e[t]=n:o(e,t,n)):f?e[t]=n:s(t,n)})(Function.prototype,"toString",(function(){return r(this)&&u(this).source||d(this)}))},85827:(e,t,n)=>{var a=n(68846).TypeError;e.exports=function(e){if(void 0==e)throw a("Can't call method on "+e);return e}},72541:(e,t,n)=>{var a=n(68846),r=Object.defineProperty;e.exports=function(e,t){try{r(a,e,{value:t,configurable:!0,writable:!0})}catch(n){a[e]=t}return t}},81426:(e,t,n)=>{var a=n(37781).f,r=n(34472),i=n(65014)("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!r(e,i)&&a(e,i,{configurable:!0,value:t})}},72971:(e,t,n)=>{var a=n(37514),r=n(69306),i=a("keys");e.exports=function(e){return i[e]||(i[e]=r(e))}},44112:(e,t,n)=>{var a=n(68846),r=n(72541),i="__core-js_shared__",o=a[i]||r(i,{});e.exports=o},37514:(e,t,n)=>{var a=n(18873),r=n(44112);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.21.1",mode:a?"pure":"global",copyright:"\xa9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})},10229:(e,t,n)=>{var a=n(65807),r=Math.max,i=Math.min;e.exports=function(e,t){var n=a(e);return n<0?r(n+t,0):i(n,t)}},76284:(e,t,n)=>{var a=n(49702),r=n(85827);e.exports=function(e){return a(r(e))}},65807:e=>{var t=Math.ceil,n=Math.floor;e.exports=function(e){var a=+e;return a!==a||0===a?0:(a>0?n:t)(a)}},86663:(e,t,n)=>{var a=n(65807),r=Math.min;e.exports=function(e){return e>0?r(a(e),9007199254740991):0}},33470:(e,t,n)=>{var a=n(68846),r=n(85827),i=a.Object;e.exports=function(e){return i(r(e))}},14483:(e,t,n)=>{var a=n(68846),r=n(76165),i=n(41119),o=n(19337),s=n(420),d=n(82506),l=n(65014),c=a.TypeError,u=l("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var n,a=s(e,u);if(a){if(void 0===t&&(t="default"),n=r(a,e,t),!i(n)||o(n))return n;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),d(e,t)}},8258:(e,t,n)=>{var a=n(14483),r=n(19337);e.exports=function(e){var t=a(e,"string");return r(t)?t:t+""}},11565:(e,t,n)=>{var a=n(68846).String;e.exports=function(e){try{return a(e)}catch(t){return"Object"}}},69306:(e,t,n)=>{var a=n(85233),r=0,i=Math.random(),o=a(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++r+i,36)}},94201:(e,t,n)=>{var a=n(19114);e.exports=a&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},41602:(e,t,n)=>{var a=n(99827),r=n(44424);e.exports=a&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},65014:(e,t,n)=>{var a=n(68846),r=n(37514),i=n(34472),o=n(69306),s=n(19114),d=n(94201),l=r("wks"),c=a.Symbol,u=c&&c.for,p=d?c:c&&c.withoutSetter||o;e.exports=function(e){if(!i(l,e)||!s&&"string"!=typeof l[e]){var t="Symbol."+e;s&&i(c,e)?l[e]=c[e]:l[e]=d&&u?u(t):p(t)}return l[e]}},67120:(e,t,n)=>{"use strict";var a=n(76284),r=n(32776),i=n(51125),o=n(95861),s=n(37781).f,d=n(58617),l=n(18873),c=n(99827),u="Array Iterator",p=o.set,g=o.getterFor(u);e.exports=d(Array,"Array",(function(e,t){p(this,{type:u,target:a(e),index:0,kind:t})}),(function(){var e=g(this),t=e.target,n=e.kind,a=e.index++;return!t||a>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:a,done:!1}:"values"==n?{value:t[a],done:!1}:{value:[a,t[a]],done:!1}}),"values");var f=i.Arguments=i.Array;if(r("keys"),r("values"),r("entries"),!l&&c&&"values"!==f.name)try{s(f,"name",{value:"values"})}catch(_){}},50581:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.deserializeWithBitId=t.componentIssueToString=t.formatTitle=t.ComponentIssue=t.ISSUE_FORMAT_SPACE=t.ISSUE_FORMAT_SPACE_COUNT=void 0;const r=a(n(32589)),i=n(35666);t.ISSUE_FORMAT_SPACE_COUNT=10,t.ISSUE_FORMAT_SPACE=" ".repeat(t.ISSUE_FORMAT_SPACE_COUNT);function o(e,t=!0){const n=t?":":"";return r.default.yellow(`\n ${e}${n} \n`)}function s(e){return Array.isArray(e)?e.join(", "):e}t.ComponentIssue=class{constructor(){this.isTagBlocker=!0,this.isCacheBlocker=!0,this.isLegacyIssue=!1,this.formatDataFunction=s}get descriptionWithSolution(){const e=this.solution?` (${this.solution})`:"";return`${this.description}${e}`}outputForCLI(){return o(this.descriptionWithSolution)+r.default.white(this.dataToString())}dataToString(){return Object.keys(this.data).map((e=>`${t.ISSUE_FORMAT_SPACE}${e} -> ${this.formatDataFunction(this.data[e])}`)).join("\n")}toObject(){return{type:this.constructor.name,description:this.description,solution:this.solution,data:this.data}}serialize(){return JSON.stringify(this.data)}deserialize(e){return JSON.parse(e)}},t.formatTitle=o,t.componentIssueToString=s,t.deserializeWithBitId=function(e){const t=JSON.parse(e);return Object.keys(t).forEach((e=>{t[e]=t[e].map((e=>new i.BitId(e)))})),t}},78803:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CustomModuleResolutionUsed=void 0;const a=n(50581);class r extends a.ComponentIssue{constructor(){super(...arguments),this.description="component is using an unsupported resolve-modules (aka aliases) feature",this.solution="replace to module paths",this.data={}}}t.CustomModuleResolutionUsed=r},86826:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImportNonMainFiles=void 0;const a=n(50581);class r extends a.ComponentIssue{constructor(){super(...arguments),this.description="importing non-main files",this.solution="the dependency should expose its API from the main file",this.data={},this.isCacheBlocker=!1}}t.ImportNonMainFiles=r},86853:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RelativeComponentsAuthoredEntry=t.MISSING_NESTED_DEPS_SPACE=t.UntrackedFileDependencyEntry=t.MISSING_DEPS_SPACE=t.IssuesNames=t.IssuesClasses=t.IssuesList=void 0;var a=n(99838);Object.defineProperty(t,"IssuesList",{enumerable:!0,get:function(){return a.IssuesList}}),Object.defineProperty(t,"IssuesClasses",{enumerable:!0,get:function(){return a.IssuesClasses}}),Object.defineProperty(t,"IssuesNames",{enumerable:!0,get:function(){return a.IssuesNames}});var r=n(50581);Object.defineProperty(t,"MISSING_DEPS_SPACE",{enumerable:!0,get:function(){return r.ISSUE_FORMAT_SPACE}});var i=n(89695);Object.defineProperty(t,"UntrackedFileDependencyEntry",{enumerable:!0,get:function(){return i.UntrackedFileDependencyEntry}}),Object.defineProperty(t,"MISSING_NESTED_DEPS_SPACE",{enumerable:!0,get:function(){return i.MISSING_NESTED_DEPS_SPACE}});var o=n(68545);Object.defineProperty(t,"RelativeComponentsAuthoredEntry",{enumerable:!0,get:function(){return o.RelativeComponentsAuthoredEntry}})},99838:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IssuesList=t.IssuesClasses=void 0;const a=n(78803),r=n(86826),i=n(38394),o=n(79681),s=n(34904),d=n(47153),l=n(48803),c=n(38568),u=n(3185),p=n(41420),g=n(68545),f=n(5649),_=n(89695),m=n(66396),h=n(88821),R=n(83813);t.IssuesClasses={MissingPackagesDependenciesOnFs:c.MissingPackagesDependenciesOnFs,MissingComponents:i.MissingComponents,UntrackedDependencies:_.UntrackedDependencies,ResolveErrors:f.ResolveErrors,RelativeComponents:p.RelativeComponents,RelativeComponentsAuthored:g.RelativeComponentsAuthored,ParseErrors:u.ParseErrors,MissingLinks:l.MissingLinks,MissingDists:d.MissingDists,LegacyInsideHarmony:m.LegacyInsideHarmony,MissingDependenciesOnFs:s.MissingDependenciesOnFs,MissingCustomModuleResolutionLinks:o.MissingCustomModuleResolutionLinks,ImportNonMainFiles:r.ImportNonMainFiles,CustomModuleResolutionUsed:a.CustomModuleResolutionUsed,MultipleEnvs:h.MultipleEnvs,MissingLinksFromNodeModulesToSrc:R.MissingLinksFromNodeModulesToSrc};class b{constructor(e=[]){this.issues=e}get count(){return this.issues.length}isEmpty(){return 0===this.issues.length}outputForCLI(){return this.issues.map((e=>e.outputForCLI())).join("")}toObject(){return this.issues.map((e=>e.toObject()))}toObjectWithDataAsString(){return this.issues.map((e=>Object.assign(Object.assign({},e.toObject()),{data:e.dataToString().trim()})))}getHarmonyIssues(){return this.issues.filter((e=>!e.isLegacyIssue))}add(e){this.issues.push(e)}delete(e){this.issues=this.issues.filter((t=>!(t instanceof e)))}getIssue(e){return this.issues.find((t=>t instanceof e))}getIssueByName(e){return this.issues.find((t=>t.constructor.name===e))}getAllIssues(){return this.issues}createIssue(e){const t=new e;return this.add(t),t}getOrCreate(e){return this.getIssue(e)||this.createIssue(e)}shouldBlockSavingInCache(){return this.issues.some((e=>e.isCacheBlocker))}shouldBlockTagging(){return this.issues.some((e=>e.isTagBlocker))}serialize(){return this.issues.map((e=>({type:e.constructor.name,data:e.serialize()})))}static deserialize(e){if(!Array.isArray(e))return new b;const n=e.map((e=>{const n=e.type;if(!Object.keys(t.IssuesClasses).includes(n))throw new Error(`issue type "${n}" is not recognized.\nthe following are permitted ${Object.keys(t.IssuesClasses).join(", ")}`);const a=new t.IssuesClasses[n];return a.data=a.deserialize(e.data),a}));return new b(n)}}t.IssuesList=b},66396:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LegacyInsideHarmony=void 0;const a=n(50581);class r extends a.ComponentIssue{constructor(){super(...arguments),this.description="legacy component inside Harmony workspace",this.solution="remove the component and re-create it via Harmony",this.isTagBlocker=!0}outputForCLI(){return(0,a.formatTitle)(this.descriptionWithSolution,!1)}}t.LegacyInsideHarmony=r},38394:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingComponents=void 0;const a=n(50581);class r extends a.ComponentIssue{constructor(){super(...arguments),this.description="missing components",this.solution='use "bit import" or `bit install` to make sure all components exist',this.data={}}deserialize(e){return(0,a.deserializeWithBitId)(e)}}t.MissingComponents=r},79681:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingCustomModuleResolutionLinks=void 0;const a=n(50581);class r extends a.ComponentIssue{constructor(){super(...arguments),this.isLegacyIssue=!0,this.description="missing links",this.solution='use "bit link" to build missing component links',this.data={}}}t.MissingCustomModuleResolutionLinks=r},34904:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingDependenciesOnFs=void 0;const a=n(50581);class r extends a.ComponentIssue{constructor(){super(...arguments),this.description="non-existing dependency files",this.solution="make sure all files exists on your workspace",this.data={}}}t.MissingDependenciesOnFs=r},47153:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingDists=void 0;const a=n(50581);class r extends a.ComponentIssue{constructor(){super(...arguments),this.description="missing dists",this.solution='run "bit compile"',this.isTagBlocker=!1}outputForCLI(){return(0,a.formatTitle)(this.descriptionWithSolution,!1)}}t.MissingDists=r},83813:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingLinksFromNodeModulesToSrc=void 0;const a=n(50581);class r extends a.ComponentIssue{constructor(){super(...arguments),this.description="missing links from node_modules to source",this.solution='run "bit link"',this.isTagBlocker=!1}outputForCLI(){return(0,a.formatTitle)(this.descriptionWithSolution,!1)}}t.MissingLinksFromNodeModulesToSrc=r},48803:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingLinks=void 0;const a=n(50581);class r extends a.ComponentIssue{constructor(){super(...arguments),this.description="missing links between components",this.solution='use "bit link" to build missing component links',this.data={},this.isLegacyIssue=!0}deserialize(e){return(0,a.deserializeWithBitId)(e)}}t.MissingLinks=r},38568:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingPackagesDependenciesOnFs=void 0;const a=n(50581);class r extends a.ComponentIssue{constructor(){super(...arguments),this.description="missing packages or links from node_modules to the source",this.solution="run \"bit install\" to fix both issues. if it's an external package, make sure it's added as a package dependency",this.data={}}}t.MissingPackagesDependenciesOnFs=r},88821:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MultipleEnvs=void 0;const a=n(50581);class r extends a.ComponentIssue{constructor(){super(...arguments),this.description="multiple envs",this.solution='remove the old envs by setting them with "-" sign in the variants. see https://bit.dev/docs/envs/using-envs#component-must-have-a-single-env',this.isTagBlocker=!0}dataToString(){return a.ISSUE_FORMAT_SPACE+this.data.join(", ")}}t.MultipleEnvs=r},3185:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ParseErrors=void 0;const a=n(50581);class r extends a.ComponentIssue{constructor(){super(...arguments),this.description="error found while parsing the file",this.solution="edit the file and fix the parsing error",this.data={}}}t.ParseErrors=r},68545:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RelativeComponentsAuthored=void 0;const a=n(35666),r=n(50581);class i extends r.ComponentIssue{constructor(){super(...arguments),this.description="components with relative import statements found",this.solution='replace to module paths or use "bit link --rewire" to replace',this.data={},this.isCacheBlocker=!1,this.formatDataFunction=o}deserialize(e){const t=JSON.parse(e);return Object.keys(t).forEach((e=>{t[e]=t[e].map((e=>({importSource:e.importSource,componentId:new a.BitId(e.componentId),relativePath:e.relativePath})))})),t}}function o(e){return e.map((e=>`"${e.importSource}" (${e.componentId.toString()})`)).join(", ")}t.RelativeComponentsAuthored=i},41420:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RelativeComponents=void 0;const a=n(50581);class r extends a.ComponentIssue{constructor(){super(...arguments),this.description="components with relative import statements found",this.solution="use module paths for imported components",this.data={},this.isCacheBlocker=!1}deserialize(e){return(0,a.deserializeWithBitId)(e)}}t.RelativeComponents=r},5649:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveErrors=void 0;const a=n(50581);class r extends a.ComponentIssue{constructor(){super(...arguments),this.description="error found while resolving the file dependencies",this.solution="see the log for the full error",this.data={}}}t.ResolveErrors=r},89695:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.UntrackedDependencies=t.MISSING_NESTED_DEPS_SPACE=void 0;const r=a(n(32589)),i=n(50581);t.MISSING_NESTED_DEPS_SPACE=" ".repeat(i.ISSUE_FORMAT_SPACE_COUNT+2);class o extends i.ComponentIssue{constructor(){super(...arguments),this.description="untracked file dependencies",this.solution='use "bit add <file>" to track untracked files as components',this.data={}}dataToString(){return Object.keys(this.data).map((e=>{let n=i.ISSUE_FORMAT_SPACE;return this.data[e].nested&&(n=t.MISSING_NESTED_DEPS_SPACE),`${n}${e} -> ${a=this.data[e],a.untrackedFiles.map((e=>e.existing?`${r.default.yellow(e.relativePath)}`:e.relativePath)).join(", ")}`;var a})).join("\n")}}t.UntrackedDependencies=o},70094:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidVersion=void 0;const r=a(n(86365));t.InvalidVersion=r.default},86365:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(93902);class r extends a.BitError{constructor(e){super(`error: version ${e||"(empty)"} is not a valid semantic version. learn more: https://semver.org`)}}t.default=r},8886:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidVersion=t.isTag=t.isSnap=t.isHash=t.versionParser=t.LATEST_VERSION=t.Version=void 0;const o=n(28830);Object.defineProperty(t,"Version",{enumerable:!0,get:function(){return o.Version}}),Object.defineProperty(t,"LATEST_VERSION",{enumerable:!0,get:function(){return o.LATEST_VERSION}});const s=i(n(23387));t.versionParser=s.default,Object.defineProperty(t,"isHash",{enumerable:!0,get:function(){return s.isHash}}),Object.defineProperty(t,"isSnap",{enumerable:!0,get:function(){return s.isSnap}}),Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return s.isTag}});const d=n(70094);Object.defineProperty(t,"InvalidVersion",{enumerable:!0,get:function(){return d.InvalidVersion}})},23387:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.isSnap=t.isTag=t.isHash=t.LATEST_TESTED_MARK=t.HASH_SIZE=void 0;const r=a(n(81249)),i=n(70094),o=n(28830);function s(e){return r.default.valid(e)}function d(e){return new o.Version(e,!1)}function l(){return new o.Version(null,!0)}function c(e){return"string"===typeof e&&e.length===t.HASH_SIZE}t.HASH_SIZE=40,t.LATEST_TESTED_MARK="*",t.isHash=c,t.isTag=function(e){return!c(e)},t.isSnap=function(e){return c(e)},t.default=function(e){if(!e)return l();if("string"===typeof e&&function(e){return e===o.LATEST_VERSION}(e))return l();if("string"===typeof e&&function(e){if(!e.includes(t.LATEST_TESTED_MARK))return!1;const n=e.split(t.LATEST_TESTED_MARK);if(2!==n.length)return!1;const[,a]=n;return!!s(a)}(e))return function(e){const[,n]=e.split(t.LATEST_TESTED_MARK);return new o.Version(n,!0)}(e);if("string"===typeof e&&s(e))return d(e);if("string"!==typeof e&&Number.isInteger(e))return function(e){return d(`0.0.${e}`)}(e);if(c(e))return n=e,new o.Version(n,!1);var n;throw new i.InvalidVersion(e.toString())}},28830:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Version=t.LATEST_VERSION=void 0;const r=a(n(81249)),i=n(70094);t.LATEST_VERSION="latest";t.Version=class{constructor(e,t){this.versionNum=e,this.latest=t}resolve(e){return this.latest?r.default.maxSatisfying(e,"*",{includePrerelease:!0}):this.versionNum}toString(){if(!this.versionNum&&this.latest)return"latest";if(this.versionNum&&this.latest)return`*${this.versionNum}`;if(this.versionNum&&!this.latest)return this.versionNum.toString();throw new i.InvalidVersion(this.versionNum)}isLaterThan(e){return!this.versionNum||this.versionNum===t.LATEST_VERSION||!(!e.versionNum||e.versionNum===t.LATEST_VERSION)&&r.default.gt(this.versionNum,e.versionNum)}}},81718:function(e,t,n){"use strict";var a=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentOverview=void 0;const i=r(n(4516)),o=n(14352),s=n(3192),d=n(68158),l=n(90239),c=n(78415),u=n(21335),p=n(88270),g=n(53518),f=r(n(84802));t.ComponentOverview=function(e){var t,{displayName:n,abstract:r,titleBadges:_,labels:m,packageName:h,elementsUrl:R,componentDescriptor:b}=e,y=a(e,["displayName","abstract","titleBadges","labels","packageName","elementsUrl","componentDescriptor"]);let v=R;if(v&&!v.startsWith("http")){const e=g.isBrowser?window.location.origin:void 0;v=e&&R?`${e}${R}`:void 0}return i.default.createElement(c.Section,Object.assign({},y),i.default.createElement("div",{className:o.textColumn},i.default.createElement("div",{className:f.default.componentTitle},i.default.createElement(d.H1,null,n),i.default.createElement("div",{className:f.default.badgeContainer},null===(t=null===_||void 0===_?void 0:_.sort(((e,t)=>(null===e||void 0===e?void 0:e.weight)-(null===t||void 0===t?void 0:t.weight))))||void 0===t?void 0:t.map(((e,t)=>i.default.createElement(e.component,{key:t,componentDescriptor:b}))))),r&&i.default.createElement(p.Subtitle,{className:f.default.subTitle},r),i.default.createElement(l.LabelList,null,m),i.default.createElement(s.ConsumableLink,{title:"Package name",link:h}),v&&i.default.createElement(s.ConsumableLink,{title:"Elements url",link:v})),i.default.createElement(u.Separator,{isPresentational:!0}))}},54468:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentOverview=void 0;var a=n(81718);Object.defineProperty(t,"ComponentOverview",{enumerable:!0,get:function(){return a.ComponentOverview}})},10635:function(e,t,n){"use strict";var a=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DeprecationIcon=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(54560),d=n(176),l=n(94106),c=n(93976),u=r(n(44611));t.DeprecationIcon=function(e){var t,{component:n,className:r}=e,p=a(e,["component","className"]);return(null===(t=n.deprecation)||void 0===t?void 0:t.isDeprecate)?i.default.createElement(c.Tooltip,{className:u.default.deprecatedTooltip,placement:"bottom",content:i.default.createElement("div",{className:u.default.deprectaedTooltipContent},"Deprecated")},i.default.createElement("div",null,i.default.createElement(s.Icon,Object.assign({},p,{of:"note-deprecated",className:(0,o.default)(l.themedText,d.colorPalette.warning,r)})))):null}},95370:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DeprecationIconProps=t.DeprecationIcon=void 0;var a=n(10635);Object.defineProperty(t,"DeprecationIcon",{enumerable:!0,get:function(){return a.DeprecationIcon}}),Object.defineProperty(t,"DeprecationIconProps",{enumerable:!0,get:function(){return a.DeprecationIconProps}})},65648:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useFetchDocs=void 0;var a=n(13479);Object.defineProperty(t,"useFetchDocs",{enumerable:!0,get:function(){return a.useFetchDocs}})},13479:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useFetchDocs=void 0;const a=n(4516),r=n(28687),i=n(68211),o=r.gql`
|
|
2
2
|
query getComponentDocs($id: String!) {
|
|
3
3
|
getHost {
|
|
4
4
|
id
|