@teambit/mdx 0.0.610 → 0.0.611
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/{__compositions-1643028743431.js → __compositions-1643039669895.js} +0 -0
- package/{__overview-1643028743431.js → __overview-1643039669895.js} +0 -0
- package/{__preview-1643028743431.js → __preview-1643039669895.js} +2 -2
- package/artifacts/__bit_junit.xml +5 -5
- package/artifacts/env-template/public/141.js +1 -1
- package/artifacts/env-template/public/181.js +1 -1
- package/artifacts/env-template/public/664.js +3 -3
- package/artifacts/env-template/public/743.js +1 -1
- package/artifacts/env-template/public/848.js +1 -1
- package/artifacts/env-template/public/assets-manifest.json +4 -4
- package/artifacts/env-template/public/compositions.1b7c774ecba7490940a2.js +1 -0
- package/artifacts/env-template/public/compositions.html +1 -1
- package/artifacts/env-template/public/{overview.42c745ec7dca66f897d7.js → overview.bf7a1ee74d2a1cdc1d14.js} +1 -1
- package/artifacts/env-template/public/overview.html +1 -1
- package/artifacts/env-template/public/service-worker.js +1 -1
- package/artifacts/preview/teambit_mdx_mdx-preview.js +1 -1
- package/package-tar/teambit-mdx-0.0.611.tgz +0 -0
- package/package.json +15 -15
- package/artifacts/env-template/public/compositions.3c5c6a77da0a14f2d4f5.js +0 -1
- package/package-tar/teambit-mdx-0.0.610.tgz +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(self.webpackChunk_teambit_legacy=self.webpackChunk_teambit_legacy||[]).push([[664,703],{67154:e=>{function t(){return e.exports=t=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},t.apply(this,arguments)}e.exports=t},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,_=c["".concat(o,".").concat(g)]||c[g]||p[g]||i;return n?r.default.createElement(_,d(d({ref:t},s),{},{components:n})):r.default.createElement(_,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(86175))},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(31736))},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(31736));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)}}},31736: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)}}},86175:(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)}}},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(35659),d=s.fsSyncMethods,l=s.fsAsyncMethods,c=n(95287),u=c.constants.F_OK,p=c.constants.R_OK,g=c.constants.W_OK,_=c.constants.X_OK;function f(e){for(var t={F_OK:u,R_OK:p,W_OK:g,X_OK:_,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,f=l;s<f.length;s++){var m;"function"===typeof e[m=f[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=f,t.fs=f(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 _=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=_;var f=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=f;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),_=n(46143),f=n(42830),m=n(95287),h=n(17187),R=n(5866),b=n(12913),E=n(82630).l,y=n(89539),S=n(96415),v=s.resolve,T=m.constants.O_RDONLY,O=m.constants.O_WRONLY,C=m.constants.O_RDWR,N=m.constants.O_CREAT,A=m.constants.O_EXCL,w=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,B="path must be a string or Buffer",U="fd must be a file descriptor",j="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",q="ENOENT",V="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 q:return"ENOENT: no such file or directory, "+t+r;case V: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=E({},e,{encoding:t});break;case"object":n=E({},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=T]="r",e[e["r+"]=C]="r+",e[e.rs=T|x]="rs",e[e.sr=e.rs]="sr",e[e["rs+"]=C|x]="rs+",e[e["sr+"]=e["rs+"]]="sr+",e[e.w=O|N|w]="w",e[e.wx=O|N|w|A]="wx",e[e.xw=e.wx]="xw",e[e["w+"]=C|N|w]="w+",e[e["wx+"]=C|N|w|A]="wx+",e[e["xw+"]=e["wx+"]]="xw+",e[e.a=O|I|N]="a",e[e.ax=O|I|N|A]="ax",e[e.xa=e.ax]="xa",e[e["a+"]=C|I|N]="a+",e[e["ax+"]=C|I|N|A]="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),_e=ie(ge),fe=ae(oe),me=ie(fe),he={mode:511,recursive:!1},Re=function(e){return E({},he,"number"===typeof e?{mode:e}:e)},be={recursive:!1},Ee=function(e){return E({},be,e)},ye=ae({encoding:"utf8",withFileTypes:!1}),Se=ie(ye),ve={bigint:!1},Te=function(e){return void 0===e&&(e={}),E({},ve,e)},Oe=function(e,t){return"function"===typeof e?[Te(),e]:[Te(e),re(t)]};function Ce(e){if("string"!==typeof e&&!u.Buffer.isBuffer(e)){try{if(!(e instanceof n(8575).URL))throw new TypeError(B)}catch(a){throw new TypeError(B)}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()),v(t,e)};if(F){var Ae=Ne,we=n(24290).Z4;Ne=function(e,t){return we(Ae(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=q,"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(j);return n}function ke(e){return e>>>0===e}function Fe(e){if(!ke(e))throw TypeError(U)}function Be(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 Ue(e){if("number"!==typeof e)throw TypeError(Y)}function je(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=Be;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=S.default(this),this.statWatchers={},this.props=E({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}(qe);var i=Ve;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(q,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(q,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(q,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(U);var n=this.getFileByFd(e);if(!n)throw ee(V,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(q,"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(q,"open",e.getPath());var r=a.getNode();if(r.isDirectory()&&t!==k.r)throw ee(X,"open",e.getPath());if(!(t&O)&&!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&w&&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(q,"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(q,"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(q,"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(q);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,_=typeof n,f=typeof a,m=typeof r;"string"!==g?"function"===_?c=n:"function"===f?(o=0|n,c=a):"function"===m?(o=0|n,s=a,c=r):(o=0|n,s=a,d=r,c=i):"function"===_?c=n:"function"===f?(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(q,"link",e,t);var r=Ie(t),i=this.getLinkParent(r);if(!i)throw ee(q,"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(q,"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(q,"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(q,"realpath",e);return R.strToEncoding(a.getPath(),t)},e.prototype.realpathSync=function(e,t){return this.realpathBase(Ce(e),fe(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(q,"lstat",e);return l.default.build(n.getNode(),t)},e.prototype.lstatSync=function(e,t){return this.lstatBase(Ce(e),Te(t).bigint)},e.prototype.lstat=function(e,t,n){var a=Oe(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(q,"stat",e);return l.default.build(n.getNode(),t)},e.prototype.statSync=function(e,t){return this.statBase(Ce(e),Te(t).bigint)},e.prototype.stat=function(e,t,n){var a=Oe(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(V,"fstat");return l.default.build(n.node,t)},e.prototype.fstatSync=function(e,t){return this.fstatBase(e,Te(t).bigint)},e.prototype.fstat=function(e,t,n){var a=Oe(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(q,"rename",e,t);var a=Ie(t),i=this.getLinkParent(a);if(!i)throw ee(q,"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=_e(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(q,"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=ye(t),a=Ce(e);return this.readdirBase(a,n)},e.prototype.readdir=function(e,t,n){var a=Se(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,Be(t),Be(n))},e.prototype.futimes=function(e,t,n,a){this.wrapAsync(this.futimesBase,[e,Be(t),Be(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),Be(t),Be(n))},e.prototype.utimes=function(e,t,n,a){this.wrapAsync(this.utimesBase,[Ce(e),Be(t),Be(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=Ee(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=Ee(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){Ue(t),je(n),this.fchownBase(e,t,n)},e.prototype.fchown=function(e,t,n,a){Ue(t),je(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){Ue(t),je(n),this.chownBase(Ce(e),t,n)},e.prototype.chown=function(e,t,n,a){Ue(t),je(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){Ue(t),je(n),this.lchownBase(Ce(e),t,n)},e.prototype.lchown=function(e,t,n,a){Ue(t),je(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,qe=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:_.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 Ve(e,t,n){if(!(this instanceof Ve))return new Ve(e,t,n);if(this._vol=e,void 0===(n=E({},ne(n,{}))).highWaterMark&&(n.highWaterMark=65536),f.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=E({},ne(n,{})),f.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=qe,y.inherits(Ve,f.Readable),t.ReadStream=Ve,Ve.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()}))},Ve.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}},Ve.prototype._destroy=function(e,t){this.close((function(n){t(e||n)}))},Ve.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},y.inherits($e,f.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=Ve.prototype._destroy,$e.prototype.close=Ve.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},41041:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useDebounce:()=>o,useDebouncedCallback:()=>r});var a=n(4516);function r(e,t,n){void 0===n&&(n={});var r=n.maxWait,i=(0,a.useRef)(null),o=(0,a.useRef)([]),s=n.leading,d=void 0===n.trailing||n.trailing,l=(0,a.useRef)(!1),c=(0,a.useRef)(null),u=(0,a.useRef)(!1),p=(0,a.useRef)(e);p.current=e;var g=(0,a.useCallback)((function(){clearTimeout(c.current),clearTimeout(i.current),i.current=null,o.current=[],c.current=null,l.current=!1}),[]);(0,a.useEffect)((function(){return u.current=!1,function(){u.current=!0}}),[]);var _=(0,a.useCallback)((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];o.current=e,clearTimeout(c.current),l.current&&(l.current=!1),c.current||!s||l.current||(p.current.apply(p,e),l.current=!0),c.current=setTimeout((function(){var t=!0;s&&l.current&&(t=!1),g(),!u.current&&d&&t&&p.current.apply(p,e)}),t),r&&!i.current&&d&&(i.current=setTimeout((function(){var e=o.current;g(),u.current||p.current.apply(null,e)}),r))}),[r,t,g,s,d]),f=(0,a.useCallback)((function(){c.current&&(p.current.apply(null,o.current),g())}),[g]);return[_,g,f]}function i(e,t){return e===t}function o(e,t,n){var o=n&&n.equalityFn?n.equalityFn:i,s=(0,a.useState)(e),d=s[0],l=s[1],c=r((0,a.useCallback)((function(e){return l(e)}),[]),t,n),u=c[0],p=c[1],g=c[2],_=(0,a.useRef)(e);return(0,a.useEffect)((function(){o(_.current,e)||(u(e),_.current=e)}),[e,u,o]),[d,p,g]}},67773:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useDebounce:()=>o,useDebouncedCallback:()=>r});var a=n(4516);function r(e,t,n){void 0===n&&(n={});var r=n.maxWait,i=(0,a.useRef)(null),o=(0,a.useRef)([]),s=n.leading,d=void 0===n.trailing||n.trailing,l=(0,a.useRef)(!1),c=(0,a.useRef)(null),u=(0,a.useRef)(!1),p=(0,a.useRef)(e);p.current=e;var g=(0,a.useCallback)((function(){clearTimeout(c.current),clearTimeout(i.current),i.current=null,o.current=[],c.current=null,l.current=!1}),[]);(0,a.useEffect)((function(){return u.current=!1,function(){u.current=!0}}),[]);var _=(0,a.useCallback)((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];o.current=e,clearTimeout(c.current),l.current&&(l.current=!1),c.current||!s||l.current||(p.current.apply(p,e),l.current=!0),c.current=setTimeout((function(){var t=!0;s&&l.current&&(t=!1),g(),!u.current&&d&&t&&p.current.apply(p,e)}),t),r&&!i.current&&d&&(i.current=setTimeout((function(){var e=o.current;g(),u.current||p.current.apply(null,e)}),r))}),[r,t,g,s,d]),f=(0,a.useCallback)((function(){c.current&&(p.current.apply(null,o.current),g())}),[g]);return[_,g,f]}function i(e,t){return e===t}function o(e,t,n){var o=n&&n.equalityFn?n.equalityFn:i,s=(0,a.useState)(e),d=s[0],l=s[1],c=r((0,a.useCallback)((function(e){return l(e)}),[]),t,n),u=c[0],p=c[1],g=c[2],_=(0,a.useRef)(e);return(0,a.useEffect)((function(){o(_.current,e)||(u(e),_.current=e)}),[e,u,o]),[d,p,g]}},83558:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});var a=n(87041);const r=n.n(a)()},67134:(e,t,n)=>{"use strict";function a(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}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&a.push.apply(a,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach((function(t){r(e,t,n[t])}))}return e}n.r(t),n.d(t,{default:()=>N});var o=n(4516),s=n.n(o);function d(){return d=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},d.apply(this,arguments)}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return e.reduce((function(e,t){return i({},e,n[t])}),t)}function c(e){return e.join(" ")}function u(e){var t=e.node,n=e.stylesheet,a=e.style,r=void 0===a?{}:a,o=e.useInlineStyles,p=e.key,g=t.properties,_=t.type,f=t.tagName,m=t.value;if("text"===_)return m;if(f){var h=function(e,t){var n=0;return function(a){return n+=1,a.map((function(a,r){return u({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(r)})}))}}(n,o),R=o&&g.className&&g.className.filter((function(e){return!n[e]})),b=R&&R.length?R:void 0,E=o?i({},g,{className:b&&c(b)},{style:l(g.className,Object.assign({},g.style,r),n)}):i({},g,{className:c(g.className)}),y=h(t.children);return s().createElement(f,d({key:p},E),y)}}var p=/\n/g;function g(e){var t=e.codeString,n=e.codeStyle,a=e.containerStyle,r=void 0===a?{float:"left",paddingRight:"10px"}:a,i=e.numberStyle,o=void 0===i?{}:i,d=e.startingLineNumber;return s().createElement("code",{style:Object.assign({},n,r)},function(e){var t=e.lines,n=e.startingLineNumber,a=e.style;return t.map((function(e,t){var r=t+n;return s().createElement("span",{key:"line-".concat(t),className:"react-syntax-highlighter-line-number",style:"function"===typeof a?a(r):a},"".concat(r,"\n"))}))}({lines:t.replace(/\n$/,"").split("\n"),style:o,startingLineNumber:d}))}function _(e){var t=e.toString().length;return"".concat(t,"em")}function f(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function m(e,t,n){return i({},{display:"inline-block",minWidth:_(n),paddingRight:"1em",textAlign:"right",userSelect:"none"},"function"===typeof e?e(t):e)}function h(e){var t=e.children,n=e.lineNumber,a=e.lineNumberStyle,r=e.largestLineNumber,i=e.showInlineLineNumbers,o=e.lineProps,s=void 0===o?{}:o,d=e.className,l=void 0===d?[]:d,c="function"===typeof s?s(n):s;if(c.className=l,n&&i){var u=m(a,n,r);t.unshift(f(n,u))}return{type:"element",tagName:"span",properties:c,children:t}}function R(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=0;a<e.length;a++){var r=e[a];if("text"===r.type)n.push(h({children:[r],className:t}));else if(r.children){var i=t.concat(r.properties.className);n=n.concat(R(r.children,i))}}return n}function b(e,t,n,a,r,i,o,s){var d,l=R(e.value),c=[],u=-1,g=0;function _(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return h({children:e,lineNumber:t,lineNumberStyle:s,largestLineNumber:o,showInlineLineNumbers:r,lineProps:n,className:a})}function b(e,t){if(t&&r){var n=m(s,t,o);e.unshift(f(t,n))}return e}function E(e,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t||a.length>0?_(e,n,a):b(e,n)}for(var y=function(){var e=l[g],t=e.children[0].value;if(t.match(p)){var n=t.split("\n");n.forEach((function(t,r){var o=a&&c.length+i,s={type:"text",value:"".concat(t,"\n")};if(0===r){var d=E(l.slice(u+1,g).concat(h({children:[s],className:e.properties.className})),o);c.push(d)}else if(r===n.length-1){if(l[g+1]&&l[g+1].children&&l[g+1].children[0]){var p=h({children:[{type:"text",value:"".concat(t)}],className:e.properties.className});l.splice(g+1,0,p)}else{var _=E([s],o,e.properties.className);c.push(_)}}else{var f=E([s],o,e.properties.className);c.push(f)}})),u=g}g++};g<l.length;)y();if(u!==l.length-1){var S=l.slice(u+1,l.length);if(S&&S.length){var v=E(S,c.length+i);c.push(v)}}return t?c:(d=[]).concat.apply(d,c)}function E(e){var t=e.rows,n=e.stylesheet,a=e.useInlineStyles;return t.map((function(e,t){return u({node:e,stylesheet:n,useInlineStyles:a,key:"code-segement".concat(t)})}))}function y(e){return e&&"undefined"!==typeof e.highlightAuto}var S,v,T=n(11215),O=n.n(T),C=(S=O(),v={},function(e){var t=e.language,n=e.children,r=e.style,i=void 0===r?v:r,o=e.customStyle,d=void 0===o?{}:o,l=e.codeTagProps,c=void 0===l?{className:t?"language-".concat(t):void 0,style:i['code[class*="language-"]']}:l,u=e.useInlineStyles,p=void 0===u||u,_=e.showLineNumbers,f=void 0!==_&&_,m=e.showInlineLineNumbers,h=void 0!==m&&m,R=e.startingLineNumber,T=void 0===R?1:R,O=e.lineNumberContainerStyle,C=e.lineNumberStyle,N=void 0===C?{}:C,A=e.wrapLines,w=e.lineProps,I=void 0===w?{}:w,x=e.renderer,D=e.PreTag,P=void 0===D?"pre":D,M=e.CodeTag,L=void 0===M?"code":M,k=e.code,F=void 0===k?Array.isArray(n)?n[0]:n:k,B=e.astGenerator,U=a(e,["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"]);B=B||S;var j=f?s().createElement(g,{containerStyle:O,codeStyle:c.style||{},numberStyle:N,startingLineNumber:T,codeString:F}):null,G=i.hljs||i['pre[class*="language-"]']||{backgroundColor:"#fff"},Y=y(B)?"hljs":"prismjs",H=p?Object.assign({},U,{style:Object.assign({},G,d)}):Object.assign({},U,{className:U.className?"".concat(Y," ").concat(U.className):Y,style:Object.assign({},d)});if(!B)return s().createElement(P,H,j,s().createElement(L,c,F));A=!(!x||void 0!==A)||A,x=x||E;var q=[{type:"text",value:F}],V=function(e){var t=e.astGenerator,n=e.language,a=e.code,r=e.defaultCodeValue;if(y(t)){var i=function(e,t){return-1!==e.listLanguages().indexOf(t)}(t,n);return"text"===n?{value:r,language:"text"}:i?t.highlight(n,a):t.highlightAuto(a)}try{return n&&"text"!==n?{value:t.highlight(a,n)}:{value:r}}catch(o){return{value:r}}}({astGenerator:B,language:t,code:F,defaultCodeValue:q});null===V.language&&(V.value=q);var z=b(V,A,I,f,h,T,V.value.length+T,N);return s().createElement(P,H,s().createElement(L,c,!h&&j,x({rows:z,stylesheet:i,useInlineStyles:p})))});C.registerLanguage=function(e,t){return O().register(t)};const N=C},45675:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});const a={'pre[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#1e1e1e"},'code[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{padding:".1em .3em",borderRadius:".3em",color:"#db4c69",background:"#f9f2f4"},".namespace":{Opacity:".7"},comment:{color:"#6a9955"},prolog:{color:"#6a9955"},doctype:{color:"#6a9955"},cdata:{color:"#6a9955"},punctuation:{color:"#d4d4d4"},property:{color:"#9cdcfe"},tag:{color:"#569cd6"},boolean:{color:"#569cd6"},number:{color:"#b5cea8"},constant:{color:"#9CDCFE"},symbol:{color:"#b5cea8"},deleted:{color:"#b5cea8"},selector:{color:"#d7ba7d"},"attr-name":{color:"#9cdcfe"},string:{color:"#ce9178"},char:{color:"#ce9178"},builtin:{color:"#ce9178"},inserted:{color:"#ce9178"},operator:{color:"#d4d4d4",background:"#1e1e1e"},entity:{color:"#4ec9b0",background:"#1e1e1e",cursor:"unset"},url:{color:"#d4d4d4",background:"#1e1e1e"},".language-css .token.string":{color:"#d4d4d4",background:"#1e1e1e"},".style .token.string":{color:"#d4d4d4",background:"#1e1e1e"},atrule:{color:"#c586c0"},"attr-value":{color:"#ce9178"},keyword:{color:"#c586c0"},function:{color:"#dcdcaa"},regex:{color:"#d16969"},important:{color:"#d16969",fontWeight:"bold"},variable:{color:"#d16969"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},"class-name":{color:"#4EC9B0"},parameter:{color:"#9CDCFE"},interpolation:{color:"#9CDCFE"},"punctuation.interpolation-punctuation":{color:"#569cd6"},namespace:{color:"#4ec9b0"},'pre[class*="language-javascript"]':{color:"#4ec9b0"},'code[class*="language-javascript"]':{color:"#4ec9b0"},'pre[class*="language-css"]':{color:"#CE9178"},'code[class*="language-css"]':{color:"#CE9178"},'pre[class*="language-html"]':{color:"#d4d4d4"},'code[class*="language-html"]':{color:"#d4d4d4"},".language-html .token.punctuation":{color:"#808080"},"pre[data-line]":{position:"relative"},'pre[class*="language-"] > code[class*="language-"]':{position:"relative",zIndex:"1"},".line-highlight":{position:"absolute",left:"0",right:"0",padding:"inherit 0",marginTop:"1em",background:"#f7ebc6",boxShadow:"inset 5px 0 0 #f7d87c",zIndex:"0",pointerEvents:"none",lineHeight:"inherit",whiteSpace:"pre"}}},15261:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useDebounce:()=>o,useDebouncedCallback:()=>r});var a=n(4516);function r(e,t,n){void 0===n&&(n={});var r=n.maxWait,i=(0,a.useRef)(null),o=(0,a.useRef)([]),s=n.leading,d=void 0===n.trailing||n.trailing,l=(0,a.useRef)(!1),c=(0,a.useRef)(null),u=(0,a.useRef)(!1),p=(0,a.useRef)(e);p.current=e;var g=(0,a.useCallback)((function(){clearTimeout(c.current),clearTimeout(i.current),i.current=null,o.current=[],c.current=null,l.current=!1}),[]);(0,a.useEffect)((function(){return u.current=!1,function(){u.current=!0}}),[]);var _=(0,a.useCallback)((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];o.current=e,clearTimeout(c.current),l.current&&(l.current=!1),c.current||!s||l.current||(p.current.apply(p,e),l.current=!0),c.current=setTimeout((function(){var t=!0;s&&l.current&&(t=!1),g(),!u.current&&d&&t&&p.current.apply(p,e)}),t),r&&!i.current&&d&&(i.current=setTimeout((function(){var e=o.current;g(),u.current||p.current.apply(null,e)}),r))}),[r,t,g,s,d]),f=(0,a.useCallback)((function(){c.current&&(p.current.apply(null,o.current),g())}),[g]);return[_,g,f]}function i(e,t){return e===t}function o(e,t,n){var o=n&&n.equalityFn?n.equalityFn:i,s=(0,a.useState)(e),d=s[0],l=s[1],c=r((0,a.useCallback)((function(e){return l(e)}),[]),t,n),u=c[0],p=c[1],g=c[2],_=(0,a.useRef)(e);return(0,a.useEffect)((function(){o(_.current,e)||(u(e),_.current=e)}),[e,u,o]),[d,p,g]}},10025:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});var a=n(87041);const r=n.n(a)()},55549:(e,t,n)=>{"use strict";function a(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}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&a.push.apply(a,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach((function(t){r(e,t,n[t])}))}return e}n.r(t),n.d(t,{default:()=>N});var o=n(4516),s=n.n(o);function d(){return d=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},d.apply(this,arguments)}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return e.reduce((function(e,t){return i({},e,n[t])}),t)}function c(e){return e.join(" ")}function u(e){var t=e.node,n=e.stylesheet,a=e.style,r=void 0===a?{}:a,o=e.useInlineStyles,p=e.key,g=t.properties,_=t.type,f=t.tagName,m=t.value;if("text"===_)return m;if(f){var h=function(e,t){var n=0;return function(a){return n+=1,a.map((function(a,r){return u({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(r)})}))}}(n,o),R=o&&g.className&&g.className.filter((function(e){return!n[e]})),b=R&&R.length?R:void 0,E=o?i({},g,{className:b&&c(b)},{style:l(g.className,Object.assign({},g.style,r),n)}):i({},g,{className:c(g.className)}),y=h(t.children);return s().createElement(f,d({key:p},E),y)}}var p=/\n/g;function g(e){var t=e.codeString,n=e.codeStyle,a=e.containerStyle,r=void 0===a?{float:"left",paddingRight:"10px"}:a,i=e.numberStyle,o=void 0===i?{}:i,d=e.startingLineNumber;return s().createElement("code",{style:Object.assign({},n,r)},function(e){var t=e.lines,n=e.startingLineNumber,a=e.style;return t.map((function(e,t){var r=t+n;return s().createElement("span",{key:"line-".concat(t),className:"react-syntax-highlighter-line-number",style:"function"===typeof a?a(r):a},"".concat(r,"\n"))}))}({lines:t.replace(/\n$/,"").split("\n"),style:o,startingLineNumber:d}))}function _(e){var t=e.toString().length;return"".concat(t,"em")}function f(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function m(e,t,n){return i({},{display:"inline-block",minWidth:_(n),paddingRight:"1em",textAlign:"right",userSelect:"none"},"function"===typeof e?e(t):e)}function h(e){var t=e.children,n=e.lineNumber,a=e.lineNumberStyle,r=e.largestLineNumber,i=e.showInlineLineNumbers,o=e.lineProps,s=void 0===o?{}:o,d=e.className,l=void 0===d?[]:d,c="function"===typeof s?s(n):s;if(c.className=l,n&&i){var u=m(a,n,r);t.unshift(f(n,u))}return{type:"element",tagName:"span",properties:c,children:t}}function R(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=0;a<e.length;a++){var r=e[a];if("text"===r.type)n.push(h({children:[r],className:t}));else if(r.children){var i=t.concat(r.properties.className);n=n.concat(R(r.children,i))}}return n}function b(e,t,n,a,r,i,o,s){var d,l=R(e.value),c=[],u=-1,g=0;function _(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return h({children:e,lineNumber:t,lineNumberStyle:s,largestLineNumber:o,showInlineLineNumbers:r,lineProps:n,className:a})}function b(e,t){if(t&&r){var n=m(s,t,o);e.unshift(f(t,n))}return e}function E(e,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t||a.length>0?_(e,n,a):b(e,n)}for(var y=function(){var e=l[g],t=e.children[0].value;if(t.match(p)){var n=t.split("\n");n.forEach((function(t,r){var o=a&&c.length+i,s={type:"text",value:"".concat(t,"\n")};if(0===r){var d=E(l.slice(u+1,g).concat(h({children:[s],className:e.properties.className})),o);c.push(d)}else if(r===n.length-1){if(l[g+1]&&l[g+1].children&&l[g+1].children[0]){var p=h({children:[{type:"text",value:"".concat(t)}],className:e.properties.className});l.splice(g+1,0,p)}else{var _=E([s],o,e.properties.className);c.push(_)}}else{var f=E([s],o,e.properties.className);c.push(f)}})),u=g}g++};g<l.length;)y();if(u!==l.length-1){var S=l.slice(u+1,l.length);if(S&&S.length){var v=E(S,c.length+i);c.push(v)}}return t?c:(d=[]).concat.apply(d,c)}function E(e){var t=e.rows,n=e.stylesheet,a=e.useInlineStyles;return t.map((function(e,t){return u({node:e,stylesheet:n,useInlineStyles:a,key:"code-segement".concat(t)})}))}function y(e){return e&&"undefined"!==typeof e.highlightAuto}var S,v,T=n(11215),O=n.n(T),C=(S=O(),v={},function(e){var t=e.language,n=e.children,r=e.style,i=void 0===r?v:r,o=e.customStyle,d=void 0===o?{}:o,l=e.codeTagProps,c=void 0===l?{className:t?"language-".concat(t):void 0,style:i['code[class*="language-"]']}:l,u=e.useInlineStyles,p=void 0===u||u,_=e.showLineNumbers,f=void 0!==_&&_,m=e.showInlineLineNumbers,h=void 0!==m&&m,R=e.startingLineNumber,T=void 0===R?1:R,O=e.lineNumberContainerStyle,C=e.lineNumberStyle,N=void 0===C?{}:C,A=e.wrapLines,w=e.lineProps,I=void 0===w?{}:w,x=e.renderer,D=e.PreTag,P=void 0===D?"pre":D,M=e.CodeTag,L=void 0===M?"code":M,k=e.code,F=void 0===k?Array.isArray(n)?n[0]:n:k,B=e.astGenerator,U=a(e,["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"]);B=B||S;var j=f?s().createElement(g,{containerStyle:O,codeStyle:c.style||{},numberStyle:N,startingLineNumber:T,codeString:F}):null,G=i.hljs||i['pre[class*="language-"]']||{backgroundColor:"#fff"},Y=y(B)?"hljs":"prismjs",H=p?Object.assign({},U,{style:Object.assign({},G,d)}):Object.assign({},U,{className:U.className?"".concat(Y," ").concat(U.className):Y,style:Object.assign({},d)});if(!B)return s().createElement(P,H,j,s().createElement(L,c,F));A=!(!x||void 0!==A)||A,x=x||E;var q=[{type:"text",value:F}],V=function(e){var t=e.astGenerator,n=e.language,a=e.code,r=e.defaultCodeValue;if(y(t)){var i=function(e,t){return-1!==e.listLanguages().indexOf(t)}(t,n);return"text"===n?{value:r,language:"text"}:i?t.highlight(n,a):t.highlightAuto(a)}try{return n&&"text"!==n?{value:t.highlight(a,n)}:{value:r}}catch(o){return{value:r}}}({astGenerator:B,language:t,code:F,defaultCodeValue:q});null===V.language&&(V.value=q);var z=b(V,A,I,f,h,T,V.value.length+T,N);return s().createElement(P,H,s().createElement(L,c,!h&&j,x({rows:z,stylesheet:i,useInlineStyles:p})))});C.registerLanguage=function(e,t){return O().register(t)};const N=C},38967:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});const a={'pre[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#1e1e1e"},'code[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{padding:".1em .3em",borderRadius:".3em",color:"#db4c69",background:"#f9f2f4"},".namespace":{Opacity:".7"},comment:{color:"#6a9955"},prolog:{color:"#6a9955"},doctype:{color:"#6a9955"},cdata:{color:"#6a9955"},punctuation:{color:"#d4d4d4"},property:{color:"#9cdcfe"},tag:{color:"#569cd6"},boolean:{color:"#569cd6"},number:{color:"#b5cea8"},constant:{color:"#9CDCFE"},symbol:{color:"#b5cea8"},deleted:{color:"#b5cea8"},selector:{color:"#d7ba7d"},"attr-name":{color:"#9cdcfe"},string:{color:"#ce9178"},char:{color:"#ce9178"},builtin:{color:"#ce9178"},inserted:{color:"#ce9178"},operator:{color:"#d4d4d4",background:"#1e1e1e"},entity:{color:"#4ec9b0",background:"#1e1e1e",cursor:"unset"},url:{color:"#d4d4d4",background:"#1e1e1e"},".language-css .token.string":{color:"#d4d4d4",background:"#1e1e1e"},".style .token.string":{color:"#d4d4d4",background:"#1e1e1e"},atrule:{color:"#c586c0"},"attr-value":{color:"#ce9178"},keyword:{color:"#c586c0"},function:{color:"#dcdcaa"},regex:{color:"#d16969"},important:{color:"#d16969",fontWeight:"bold"},variable:{color:"#d16969"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},"class-name":{color:"#4EC9B0"},parameter:{color:"#9CDCFE"},interpolation:{color:"#9CDCFE"},"punctuation.interpolation-punctuation":{color:"#569cd6"},namespace:{color:"#4ec9b0"},'pre[class*="language-javascript"]':{color:"#4ec9b0"},'code[class*="language-javascript"]':{color:"#4ec9b0"},'pre[class*="language-css"]':{color:"#CE9178"},'code[class*="language-css"]':{color:"#CE9178"},'pre[class*="language-html"]':{color:"#d4d4d4"},'code[class*="language-html"]':{color:"#d4d4d4"},".language-html .token.punctuation":{color:"#808080"},"pre[data-line]":{position:"relative"},'pre[class*="language-"] > code[class*="language-"]':{position:"relative",zIndex:"1"},".line-highlight":{position:"absolute",left:"0",right:"0",padding:"inherit 0",marginTop:"1em",background:"#f7ebc6",boxShadow:"inset 5px 0 0 #f7d87c",zIndex:"0",pointerEvents:"none",lineHeight:"inherit",whiteSpace:"pre"}}},19506:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useDebounce:()=>o,useDebouncedCallback:()=>r});var a=n(4516);function r(e,t,n){void 0===n&&(n={});var r=n.maxWait,i=(0,a.useRef)(null),o=(0,a.useRef)([]),s=n.leading,d=void 0===n.trailing||n.trailing,l=(0,a.useRef)(!1),c=(0,a.useRef)(null),u=(0,a.useRef)(!1),p=(0,a.useRef)(e);p.current=e;var g=(0,a.useCallback)((function(){clearTimeout(c.current),clearTimeout(i.current),i.current=null,o.current=[],c.current=null,l.current=!1}),[]);(0,a.useEffect)((function(){return u.current=!1,function(){u.current=!0}}),[]);var _=(0,a.useCallback)((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];o.current=e,clearTimeout(c.current),l.current&&(l.current=!1),c.current||!s||l.current||(p.current.apply(p,e),l.current=!0),c.current=setTimeout((function(){var t=!0;s&&l.current&&(t=!1),g(),!u.current&&d&&t&&p.current.apply(p,e)}),t),r&&!i.current&&d&&(i.current=setTimeout((function(){var e=o.current;g(),u.current||p.current.apply(null,e)}),r))}),[r,t,g,s,d]),f=(0,a.useCallback)((function(){c.current&&(p.current.apply(null,o.current),g())}),[g]);return[_,g,f]}function i(e,t){return e===t}function o(e,t,n){var o=n&&n.equalityFn?n.equalityFn:i,s=(0,a.useState)(e),d=s[0],l=s[1],c=r((0,a.useCallback)((function(e){return l(e)}),[]),t,n),u=c[0],p=c[1],g=c[2],_=(0,a.useRef)(e);return(0,a.useEffect)((function(){o(_.current,e)||(u(e),_.current=e)}),[e,u,o]),[d,p,g]}},45387:(e,t,n)=>{"use strict";function a(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}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&a.push.apply(a,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach((function(t){r(e,t,n[t])}))}return e}n.r(t),n.d(t,{default:()=>C});var o=n(4516),s=n.n(o);function d(){return d=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},d.apply(this,arguments)}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return e.reduce((function(e,t){return i({},e,n[t])}),t)}function c(e){return e.join(" ")}function u(e){var t=e.node,n=e.stylesheet,a=e.style,r=void 0===a?{}:a,o=e.useInlineStyles,p=e.key,g=t.properties,_=t.type,f=t.tagName,m=t.value;if("text"===_)return m;if(f){var h=function(e,t){var n=0;return function(a){return n+=1,a.map((function(a,r){return u({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(r)})}))}}(n,o),R=o&&g.className&&g.className.filter((function(e){return!n[e]})),b=R&&R.length?R:void 0,E=o?i({},g,{className:b&&c(b)},{style:l(g.className,Object.assign({},g.style,r),n)}):i({},g,{className:c(g.className)}),y=h(t.children);return s().createElement(f,d({key:p},E),y)}}var p=/\n/g;function g(e){var t=e.codeString,n=e.codeStyle,a=e.containerStyle,r=void 0===a?{float:"left",paddingRight:"10px"}:a,i=e.numberStyle,o=void 0===i?{}:i,d=e.startingLineNumber;return s().createElement("code",{style:Object.assign({},n,r)},function(e){var t=e.lines,n=e.startingLineNumber,a=e.style;return t.map((function(e,t){var r=t+n;return s().createElement("span",{key:"line-".concat(t),className:"react-syntax-highlighter-line-number",style:"function"===typeof a?a(r):a},"".concat(r,"\n"))}))}({lines:t.replace(/\n$/,"").split("\n"),style:o,startingLineNumber:d}))}function _(e){var t=e.toString().length;return"".concat(t,"em")}function f(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function m(e,t,n){return i({},{display:"inline-block",minWidth:_(n),paddingRight:"1em",textAlign:"right",userSelect:"none"},"function"===typeof e?e(t):e)}function h(e){var t=e.children,n=e.lineNumber,a=e.lineNumberStyle,r=e.largestLineNumber,i=e.showInlineLineNumbers,o=e.lineProps,s=void 0===o?{}:o,d=e.className,l=void 0===d?[]:d,c="function"===typeof s?s(n):s;if(c.className=l,n&&i){var u=m(a,n,r);t.unshift(f(n,u))}return{type:"element",tagName:"span",properties:c,children:t}}function R(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=0;a<e.length;a++){var r=e[a];if("text"===r.type)n.push(h({children:[r],className:t}));else if(r.children){var i=t.concat(r.properties.className);n=n.concat(R(r.children,i))}}return n}function b(e,t,n,a,r,i,o,s){var d,l=R(e.value),c=[],u=-1,g=0;function _(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return h({children:e,lineNumber:t,lineNumberStyle:s,largestLineNumber:o,showInlineLineNumbers:r,lineProps:n,className:a})}function b(e,t){if(t&&r){var n=m(s,t,o);e.unshift(f(t,n))}return e}function E(e,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t||a.length>0?_(e,n,a):b(e,n)}for(var y=function(){var e=l[g],t=e.children[0].value;if(t.match(p)){var n=t.split("\n");n.forEach((function(t,r){var o=a&&c.length+i,s={type:"text",value:"".concat(t,"\n")};if(0===r){var d=E(l.slice(u+1,g).concat(h({children:[s],className:e.properties.className})),o);c.push(d)}else if(r===n.length-1){if(l[g+1]&&l[g+1].children&&l[g+1].children[0]){var p=h({children:[{type:"text",value:"".concat(t)}],className:e.properties.className});l.splice(g+1,0,p)}else{var _=E([s],o,e.properties.className);c.push(_)}}else{var f=E([s],o,e.properties.className);c.push(f)}})),u=g}g++};g<l.length;)y();if(u!==l.length-1){var S=l.slice(u+1,l.length);if(S&&S.length){var v=E(S,c.length+i);c.push(v)}}return t?c:(d=[]).concat.apply(d,c)}function E(e){var t=e.rows,n=e.stylesheet,a=e.useInlineStyles;return t.map((function(e,t){return u({node:e,stylesheet:n,useInlineStyles:a,key:"code-segement".concat(t)})}))}function y(e){return e&&"undefined"!==typeof e.highlightAuto}var S=n(26912);var v,T,O=(v=n.n(S)(),T={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#F0F0F0",color:"#444"},"hljs-subst":{color:"#444"},"hljs-comment":{color:"#888888"},"hljs-keyword":{fontWeight:"bold"},"hljs-attribute":{fontWeight:"bold"},"hljs-selector-tag":{fontWeight:"bold"},"hljs-meta-keyword":{fontWeight:"bold"},"hljs-doctag":{fontWeight:"bold"},"hljs-name":{fontWeight:"bold"},"hljs-type":{color:"#880000"},"hljs-string":{color:"#880000"},"hljs-number":{color:"#880000"},"hljs-selector-id":{color:"#880000"},"hljs-selector-class":{color:"#880000"},"hljs-quote":{color:"#880000"},"hljs-template-tag":{color:"#880000"},"hljs-deletion":{color:"#880000"},"hljs-title":{color:"#880000",fontWeight:"bold"},"hljs-section":{color:"#880000",fontWeight:"bold"},"hljs-regexp":{color:"#BC6060"},"hljs-symbol":{color:"#BC6060"},"hljs-variable":{color:"#BC6060"},"hljs-template-variable":{color:"#BC6060"},"hljs-link":{color:"#BC6060"},"hljs-selector-attr":{color:"#BC6060"},"hljs-selector-pseudo":{color:"#BC6060"},"hljs-literal":{color:"#78A960"},"hljs-built_in":{color:"#397300"},"hljs-bullet":{color:"#397300"},"hljs-code":{color:"#397300"},"hljs-addition":{color:"#397300"},"hljs-meta":{color:"#1f7199"},"hljs-meta-string":{color:"#4d99bf"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}},function(e){var t=e.language,n=e.children,r=e.style,i=void 0===r?T:r,o=e.customStyle,d=void 0===o?{}:o,l=e.codeTagProps,c=void 0===l?{className:t?"language-".concat(t):void 0,style:i['code[class*="language-"]']}:l,u=e.useInlineStyles,p=void 0===u||u,_=e.showLineNumbers,f=void 0!==_&&_,m=e.showInlineLineNumbers,h=void 0!==m&&m,R=e.startingLineNumber,S=void 0===R?1:R,O=e.lineNumberContainerStyle,C=e.lineNumberStyle,N=void 0===C?{}:C,A=e.wrapLines,w=e.lineProps,I=void 0===w?{}:w,x=e.renderer,D=e.PreTag,P=void 0===D?"pre":D,M=e.CodeTag,L=void 0===M?"code":M,k=e.code,F=void 0===k?Array.isArray(n)?n[0]:n:k,B=e.astGenerator,U=a(e,["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"]);B=B||v;var j=f?s().createElement(g,{containerStyle:O,codeStyle:c.style||{},numberStyle:N,startingLineNumber:S,codeString:F}):null,G=i.hljs||i['pre[class*="language-"]']||{backgroundColor:"#fff"},Y=y(B)?"hljs":"prismjs",H=p?Object.assign({},U,{style:Object.assign({},G,d)}):Object.assign({},U,{className:U.className?"".concat(Y," ").concat(U.className):Y,style:Object.assign({},d)});if(!B)return s().createElement(P,H,j,s().createElement(L,c,F));A=!(!x||void 0!==A)||A,x=x||E;var q=[{type:"text",value:F}],V=function(e){var t=e.astGenerator,n=e.language,a=e.code,r=e.defaultCodeValue;if(y(t)){var i=function(e,t){return-1!==e.listLanguages().indexOf(t)}(t,n);return"text"===n?{value:r,language:"text"}:i?t.highlight(n,a):t.highlightAuto(a)}try{return n&&"text"!==n?{value:t.highlight(a,n)}:{value:r}}catch(o){return{value:r}}}({astGenerator:B,language:t,code:F,defaultCodeValue:q});null===V.language&&(V.value=q);var z=b(V,A,I,f,h,S,V.value.length+S,N);return s().createElement(P,H,s().createElement(L,c,!h&&j,x({rows:z,stylesheet:i,useInlineStyles:p})))});O.supportedLanguages=["1c","abnf","accesslog","actionscript","ada","angelscript","apache","applescript","arcade","arduino","armasm","asciidoc","aspectj","autohotkey","autoit","avrasm","awk","axapta","bash","basic","bnf","brainfuck","c-like","c","cal","capnproto","ceylon","clean","clojure-repl","clojure","cmake","coffeescript","coq","cos","cpp","crmsh","crystal","csharp","csp","css","d","dart","delphi","diff","django","dns","dockerfile","dos","dsconfig","dts","dust","ebnf","elixir","elm","erb","erlang-repl","erlang","excel","fix","flix","fortran","fsharp","gams","gauss","gcode","gherkin","glsl","gml","go","golo","gradle","groovy","haml","handlebars","haskell","haxe","hsp","htmlbars","http","hy","inform7","ini","irpf90","isbl","java","javascript","jboss-cli","json","julia-repl","julia","kotlin","lasso","latex","ldif","leaf","less","lisp","livecodeserver","livescript","llvm","lsl","lua","makefile","markdown","mathematica","matlab","maxima","mel","mercury","mipsasm","mizar","mojolicious","monkey","moonscript","n1ql","nginx","nim","nix","nsis","objectivec","ocaml","openscad","oxygene","parser3","perl","pf","pgsql","php-template","php","plaintext","pony","powershell","processing","profile","prolog","properties","protobuf","puppet","purebasic","python-repl","python","q","qml","r","reasonml","rib","roboconf","routeros","rsl","ruby","ruleslanguage","rust","sas","scala","scheme","scilab","scss","shell","smali","smalltalk","sml","sqf","sql","stan","stata","step21","stylus","subunit","swift","taggerscript","tap","tcl","thrift","tp","twig","typescript","vala","vbnet","vbscript-html","vbscript","verilog","vhdl","vim","x86asm","xl","xml","xquery","yaml","zephir"];const C=O},48167:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});const a={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#fff",color:"black"},"xml .hljs-meta":{color:"#c0c0c0"},"hljs-comment":{color:"#007400"},"hljs-quote":{color:"#007400"},"hljs-tag":{color:"#aa0d91"},"hljs-attribute":{color:"#aa0d91"},"hljs-keyword":{color:"#aa0d91"},"hljs-selector-tag":{color:"#aa0d91"},"hljs-literal":{color:"#aa0d91"},"hljs-name":{color:"#aa0d91"},"hljs-variable":{color:"#3F6E74"},"hljs-template-variable":{color:"#3F6E74"},"hljs-code":{color:"#c41a16"},"hljs-string":{color:"#c41a16"},"hljs-meta-string":{color:"#c41a16"},"hljs-regexp":{color:"#0E0EFF"},"hljs-link":{color:"#0E0EFF"},"hljs-title":{color:"#1c00cf"},"hljs-symbol":{color:"#1c00cf"},"hljs-bullet":{color:"#1c00cf"},"hljs-number":{color:"#1c00cf"},"hljs-section":{color:"#643820"},"hljs-meta":{color:"#643820"},"hljs-class .hljs-title":{color:"#5c2699"},"hljs-type":{color:"#5c2699"},"hljs-built_in":{color:"#5c2699"},"hljs-builtin-name":{color:"#5c2699"},"hljs-params":{color:"#5c2699"},"hljs-attr":{color:"#836C28"},"hljs-subst":{color:"#000"},"hljs-formula":{backgroundColor:"#eee",fontStyle:"italic"},"hljs-addition":{backgroundColor:"#baeeba"},"hljs-deletion":{backgroundColor:"#ffc8bd"},"hljs-selector-id":{color:"#9b703f"},"hljs-selector-class":{color:"#9b703f"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}}},69772:(e,t,n)=>{"use strict";n.r(t),n.d(t,{tippy:()=>a.default,default:()=>E,useSingleton:()=>b});var a=n(45088),r=n(4516),i=n.n(r),o=n(79283);function s(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}var d="undefined"!==typeof window&&"undefined"!==typeof document;function l(e,t){e&&("function"===typeof e&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function c(){return d&&document.createElement("div")}function u(e,t){var n,a;return Object.assign({},t,{popperOptions:Object.assign({},e.popperOptions,t.popperOptions,{modifiers:[].concat(((null==(n=e.popperOptions)?void 0:n.modifiers)||[]).filter((function(e){return e.name.indexOf("tippy")>=0})),(null==(a=t.popperOptions)?void 0:a.modifiers)||[])})})}var p=d?r.useLayoutEffect:r.useEffect;function g(e){var t=(0,r.useRef)();return t.current||(t.current="function"===typeof e?e():e),t.current}function _(e,t,n){n.split(/\s+/).forEach((function(n){n&&e.classList[t](n)}))}var f={name:"className",defaultValue:"",fn:function(e){var t=e.popper.firstElementChild,n=function(){var t;return!!(null==(t=e.props.render)?void 0:t.$$tippy)};function a(){e.props.className&&!n()||_(t,"add",e.props.className)}return{onCreate:a,onBeforeUpdate:function(){n()&&_(t,"remove",e.props.className)},onAfterUpdate:a}}};function m(e){return function(t){var n=t.children,a=t.content,d=t.visible,_=t.singleton,m=t.render,h=t.reference,R=t.disabled,b=void 0!==R&&R,E=t.ignoreAttributes,y=void 0===E||E,S=(t.__source,t.__self,s(t,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"])),v=void 0!==d,T=void 0!==_,O=(0,r.useState)(!1),C=O[0],N=O[1],A=(0,r.useState)({}),w=A[0],I=A[1],x=(0,r.useState)(),D=x[0],P=x[1],M=g((function(){return{container:c(),renders:1}})),L=Object.assign({ignoreAttributes:y},S,{content:M.container});v&&(L.trigger="manual",L.hideOnClick=!1),T&&(b=!0);var k=L,F=L.plugins||[];m&&(k=Object.assign({},L,{plugins:T?[].concat(F,[{fn:function(){return{onTrigger:function(e,t){var n=_.data.children.find((function(e){return e.instance.reference===t.currentTarget})).content;P(n)}}}}]):F,render:function(){return{popper:M.container}}}));var B=[h].concat(n?[n.type]:[]);return p((function(){var t=h;h&&h.hasOwnProperty("current")&&(t=h.current);var n=e(t||M.ref||c(),Object.assign({},k,{plugins:[f].concat(L.plugins||[])}));return M.instance=n,b&&n.disable(),d&&n.show(),T&&_.hook({instance:n,content:a,props:k}),N(!0),function(){n.destroy(),null==_||_.cleanup(n)}}),B),p((function(){if(1!==M.renders){var e=M.instance;e.setProps(u(e.props,k)),b?e.disable():e.enable(),v&&(d?e.show():e.hide()),T&&_.hook({instance:e,content:a,props:k})}else M.renders++})),p((function(){var e;if(m){var t=M.instance;t.setProps({popperOptions:Object.assign({},t.props.popperOptions,{modifiers:[].concat((null==(e=t.props.popperOptions)?void 0:e.modifiers)||[],[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t,n=e.state,a=null==(t=n.modifiersData)?void 0:t.hide;w.placement===n.placement&&w.referenceHidden===(null==a?void 0:a.isReferenceHidden)&&w.escaped===(null==a?void 0:a.hasPopperEscaped)||I({placement:n.placement,referenceHidden:null==a?void 0:a.isReferenceHidden,escaped:null==a?void 0:a.hasPopperEscaped}),n.attributes.popper={}}}])})})}}),[w.placement,w.referenceHidden,w.escaped].concat(B)),i().createElement(i().Fragment,null,n?(0,r.cloneElement)(n,{ref:function(e){M.ref=e,l(n.ref,e)}}):null,C&&(0,o.createPortal)(m?m(function(e){var t={"data-placement":e.placement};return e.referenceHidden&&(t["data-reference-hidden"]=""),e.escaped&&(t["data-escaped"]=""),t}(w),D,M.instance):a,M.container))}}function h(e){return function(t){var n=void 0===t?{}:t,a=n.disabled,i=void 0!==a&&a,o=n.overrides,d=void 0===o?[]:o,l=(0,r.useState)(!1),c=l[0],_=l[1],m=g({children:[],renders:1});return p((function(){if(c){var t=m.children,n=m.sourceData;if(n){var a=e(t.map((function(e){return e.instance})),Object.assign({},n.props,{popperOptions:n.instance.props.popperOptions,overrides:d,plugins:[f].concat(n.props.plugins||[])}));return m.instance=a,i&&a.disable(),function(){a.destroy(),m.children=t.filter((function(e){return!e.instance.state.isDestroyed}))}}}else _(!0)}),[c]),p((function(){if(c)if(1!==m.renders){var e=m.children,t=m.instance,n=m.sourceData;if(t&&n){var a=n.props,r=(a.content,s(a,["content"]));t.setProps(u(t,Object.assign({},r,{overrides:d}))),t.setInstances(e.map((function(e){return e.instance}))),i?t.disable():t.enable()}}else m.renders++})),(0,r.useMemo)((function(){return[{data:m,hook:function(e){m.sourceData=e},cleanup:function(){m.sourceData=null}},{hook:function(e){m.children.find((function(t){var n=t.instance;return e.instance===n}))||m.children.push(e)},cleanup:function(e){m.children=m.children.filter((function(t){return t.instance!==e}))}}]}),[])}}var R=function(e,t){return(0,r.forwardRef)((function(n,a){var o=n.children,d=s(n,["children"]);return i().createElement(e,Object.assign({},t,d),o?(0,r.cloneElement)(o,{ref:function(e){l(a,e),l(o.ref,e)}}):null)}))},b=h(a.createSingleton);const E=R(m(a.default))},40832:e=>{e.exports=function(e,t){var n,a;return e||(e=[]),n=e,"[object Arguments]"===Object.prototype.toString.call(n)&&(e=[].splice.call(e,0)),a=e,"[object Object]"===Object.prototype.toString.call(a)&&t&&(e=function(e){return Object.keys(e).map((function(t){return e[t]}))}(e)),Array.isArray(e)?e:[e]}},69282:(e,t,n)=>{"use strict";var a=n(34155);function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var i,o,s=n(62136).codes,d=s.ERR_AMBIGUOUS_ARGUMENT,l=s.ERR_INVALID_ARG_TYPE,c=s.ERR_INVALID_ARG_VALUE,u=s.ERR_INVALID_RETURN_VALUE,p=s.ERR_MISSING_ARGS,g=n(25961),_=n(89539).inspect,f=n(89539).types,m=f.isPromise,h=f.isRegExp,R=Object.assign?Object.assign:n(8091).assign,b=Object.is?Object.is:n(20609);new Map;function E(){var e=n(19158);i=e.isDeepEqual,o=e.isDeepStrictEqual}var y=!1,S=e.exports=C,v={};function T(e){if(e.message instanceof Error)throw e.message;throw new g(e)}function O(e,t,n,a){if(!n){var r=!1;if(0===t)r=!0,a="No value argument passed to `assert.ok()`";else if(a instanceof Error)throw a;var i=new g({actual:n,expected:!0,message:a,operator:"==",stackStartFn:e});throw i.generatedMessage=r,i}}function C(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];O.apply(void 0,[C,t.length].concat(t))}S.fail=function e(t,n,r,i,o){var s,d=arguments.length;if(0===d)s="Failed";else if(1===d)r=t,t=void 0;else{if(!1===y){y=!0;var l=a.emitWarning?a.emitWarning:console.warn.bind(console);l("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}2===d&&(i="!=")}if(r instanceof Error)throw r;var c={actual:t,expected:n,operator:void 0===i?"fail":i,stackStartFn:o||e};void 0!==r&&(c.message=r);var u=new g(c);throw s&&(u.message=s,u.generatedMessage=!0),u},S.AssertionError=g,S.ok=C,S.equal=function e(t,n,a){if(arguments.length<2)throw new p("actual","expected");t!=n&&T({actual:t,expected:n,message:a,operator:"==",stackStartFn:e})},S.notEqual=function e(t,n,a){if(arguments.length<2)throw new p("actual","expected");t==n&&T({actual:t,expected:n,message:a,operator:"!=",stackStartFn:e})},S.deepEqual=function e(t,n,a){if(arguments.length<2)throw new p("actual","expected");void 0===i&&E(),i(t,n)||T({actual:t,expected:n,message:a,operator:"deepEqual",stackStartFn:e})},S.notDeepEqual=function e(t,n,a){if(arguments.length<2)throw new p("actual","expected");void 0===i&&E(),i(t,n)&&T({actual:t,expected:n,message:a,operator:"notDeepEqual",stackStartFn:e})},S.deepStrictEqual=function e(t,n,a){if(arguments.length<2)throw new p("actual","expected");void 0===i&&E(),o(t,n)||T({actual:t,expected:n,message:a,operator:"deepStrictEqual",stackStartFn:e})},S.notDeepStrictEqual=function e(t,n,a){if(arguments.length<2)throw new p("actual","expected");void 0===i&&E();o(t,n)&&T({actual:t,expected:n,message:a,operator:"notDeepStrictEqual",stackStartFn:e})},S.strictEqual=function e(t,n,a){if(arguments.length<2)throw new p("actual","expected");b(t,n)||T({actual:t,expected:n,message:a,operator:"strictEqual",stackStartFn:e})},S.notStrictEqual=function e(t,n,a){if(arguments.length<2)throw new p("actual","expected");b(t,n)&&T({actual:t,expected:n,message:a,operator:"notStrictEqual",stackStartFn:e})};var N=function e(t,n,a){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n.forEach((function(e){e in t&&(void 0!==a&&"string"===typeof a[e]&&h(t[e])&&t[e].test(a[e])?r[e]=a[e]:r[e]=t[e])}))};function A(e,t,n,a,r,i){if(!(n in e)||!o(e[n],t[n])){if(!a){var s=new N(e,r),d=new N(t,r,e),l=new g({actual:s,expected:d,operator:"deepStrictEqual",stackStartFn:i});throw l.actual=e,l.expected=t,l.operator=i.name,l}T({actual:e,expected:t,message:a,operator:i.name,stackStartFn:i})}}function w(e,t,n,a){if("function"!==typeof t){if(h(t))return t.test(e);if(2===arguments.length)throw new l("expected",["Function","RegExp"],t);if("object"!==r(e)||null===e){var o=new g({actual:e,expected:t,message:n,operator:"deepStrictEqual",stackStartFn:a});throw o.operator=a.name,o}var s=Object.keys(t);if(t instanceof Error)s.push("name","message");else if(0===s.length)throw new c("error",t,"may not be an empty object");return void 0===i&&E(),s.forEach((function(r){"string"===typeof e[r]&&h(t[r])&&t[r].test(e[r])||A(e,t,r,n,s,a)})),!0}return void 0!==t.prototype&&e instanceof t||!Error.isPrototypeOf(t)&&!0===t.call({},e)}function I(e){if("function"!==typeof e)throw new l("fn","Function",e);try{e()}catch(t){return t}return v}function x(e){return m(e)||null!==e&&"object"===r(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function D(e){return Promise.resolve().then((function(){var t;if("function"===typeof e){if(!x(t=e()))throw new u("instance of Promise","promiseFn",t)}else{if(!x(e))throw new l("promiseFn",["Function","Promise"],e);t=e}return Promise.resolve().then((function(){return t})).then((function(){return v})).catch((function(e){return e}))}))}function P(e,t,n,a){if("string"===typeof n){if(4===arguments.length)throw new l("error",["Object","Error","Function","RegExp"],n);if("object"===r(t)&&null!==t){if(t.message===n)throw new d("error/message",'The error message "'.concat(t.message,'" is identical to the message.'))}else if(t===n)throw new d("error/message",'The error "'.concat(t,'" is identical to the message.'));a=n,n=void 0}else if(null!=n&&"object"!==r(n)&&"function"!==typeof n)throw new l("error",["Object","Error","Function","RegExp"],n);if(t===v){var i="";n&&n.name&&(i+=" (".concat(n.name,")")),i+=a?": ".concat(a):".";var o="rejects"===e.name?"rejection":"exception";T({actual:void 0,expected:n,operator:e.name,message:"Missing expected ".concat(o).concat(i),stackStartFn:e})}if(n&&!w(t,n,a,e))throw t}function M(e,t,n,a){if(t!==v){if("string"===typeof n&&(a=n,n=void 0),!n||w(t,n)){var r=a?": ".concat(a):".",i="doesNotReject"===e.name?"rejection":"exception";T({actual:t,expected:n,operator:e.name,message:"Got unwanted ".concat(i).concat(r,"\n")+'Actual message: "'.concat(t&&t.message,'"'),stackStartFn:e})}throw t}}function L(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];O.apply(void 0,[L,t.length].concat(t))}S.throws=function e(t){for(var n=arguments.length,a=new Array(n>1?n-1:0),r=1;r<n;r++)a[r-1]=arguments[r];P.apply(void 0,[e,I(t)].concat(a))},S.rejects=function e(t){for(var n=arguments.length,a=new Array(n>1?n-1:0),r=1;r<n;r++)a[r-1]=arguments[r];return D(t).then((function(t){return P.apply(void 0,[e,t].concat(a))}))},S.doesNotThrow=function e(t){for(var n=arguments.length,a=new Array(n>1?n-1:0),r=1;r<n;r++)a[r-1]=arguments[r];M.apply(void 0,[e,I(t)].concat(a))},S.doesNotReject=function e(t){for(var n=arguments.length,a=new Array(n>1?n-1:0),r=1;r<n;r++)a[r-1]=arguments[r];return D(t).then((function(t){return M.apply(void 0,[e,t].concat(a))}))},S.ifError=function e(t){if(null!==t&&void 0!==t){var n="ifError got unwanted exception: ";"object"===r(t)&&"string"===typeof t.message?0===t.message.length&&t.constructor?n+=t.constructor.name:n+=t.message:n+=_(t);var a=new g({actual:t,expected:null,operator:"ifError",message:n,stackStartFn:e}),i=t.stack;if("string"===typeof i){var o=i.split("\n");o.shift();for(var s=a.stack.split("\n"),d=0;d<o.length;d++){var l=s.indexOf(o[d]);if(-1!==l){s=s.slice(0,l);break}}a.stack="".concat(s.join("\n"),"\n").concat(o.join("\n"))}throw a}},S.strict=R(L,S,{equal:S.strictEqual,deepEqual:S.deepStrictEqual,notEqual:S.notStrictEqual,notDeepEqual:S.notDeepStrictEqual}),S.strict.strict=S.strict},25961:(e,t,n)=>{"use strict";var a=n(34155);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function o(e,t){return!t||"object"!==g(t)&&"function"!==typeof t?s(e):t}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){var t="function"===typeof Map?new Map:void 0;return d=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,a)}function a(){return c(e,arguments,p(this).constructor)}return a.prototype=Object.create(e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),u(a,e)},d(e)}function l(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function c(e,t,n){return c=l()?Reflect.construct:function(e,t,n){var a=[null];a.push.apply(a,t);var r=new(Function.bind.apply(e,a));return n&&u(r,n.prototype),r},c.apply(null,arguments)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function g(e){return g="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}var _=n(89539).inspect,f=n(62136).codes.ERR_INVALID_ARG_TYPE;function m(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}var h="",R="",b="",E="",y={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function S(e){var t=Object.keys(e),n=Object.create(Object.getPrototypeOf(e));return t.forEach((function(t){n[t]=e[t]})),Object.defineProperty(n,"message",{value:e.message}),n}function v(e){return _(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function T(e,t,n){var r="",i="",o=0,s="",d=!1,l=v(e),c=l.split("\n"),u=v(t).split("\n"),p=0,_="";if("strictEqual"===n&&"object"===g(e)&&"object"===g(t)&&null!==e&&null!==t&&(n="strictEqualObject"),1===c.length&&1===u.length&&c[0]!==u[0]){var f=c[0].length+u[0].length;if(f<=10){if(("object"!==g(e)||null===e)&&("object"!==g(t)||null===t)&&(0!==e||0!==t))return"".concat(y[n],"\n\n")+"".concat(c[0]," !== ").concat(u[0],"\n")}else if("strictEqualObject"!==n){if(f<(a.stderr&&a.stderr.isTTY?a.stderr.columns:80)){for(;c[0][p]===u[0][p];)p++;p>2&&(_="\n ".concat(function(e,t){if(t=Math.floor(t),0==e.length||0==t)return"";var n=e.length*t;for(t=Math.floor(Math.log(t)/Math.log(2));t;)e+=e,t--;return e+e.substring(0,n-e.length)}(" ",p),"^"),p=0)}}}for(var S=c[c.length-1],T=u[u.length-1];S===T&&(p++<2?s="\n ".concat(S).concat(s):r=S,c.pop(),u.pop(),0!==c.length&&0!==u.length);)S=c[c.length-1],T=u[u.length-1];var O=Math.max(c.length,u.length);if(0===O){var C=l.split("\n");if(C.length>30)for(C[26]="".concat(h,"...").concat(E);C.length>27;)C.pop();return"".concat(y.notIdentical,"\n\n").concat(C.join("\n"),"\n")}p>3&&(s="\n".concat(h,"...").concat(E).concat(s),d=!0),""!==r&&(s="\n ".concat(r).concat(s),r="");var N=0,A=y[n]+"\n".concat(R,"+ actual").concat(E," ").concat(b,"- expected").concat(E),w=" ".concat(h,"...").concat(E," Lines skipped");for(p=0;p<O;p++){var I=p-o;if(c.length<p+1)I>1&&p>2&&(I>4?(i+="\n".concat(h,"...").concat(E),d=!0):I>3&&(i+="\n ".concat(u[p-2]),N++),i+="\n ".concat(u[p-1]),N++),o=p,r+="\n".concat(b,"-").concat(E," ").concat(u[p]),N++;else if(u.length<p+1)I>1&&p>2&&(I>4?(i+="\n".concat(h,"...").concat(E),d=!0):I>3&&(i+="\n ".concat(c[p-2]),N++),i+="\n ".concat(c[p-1]),N++),o=p,i+="\n".concat(R,"+").concat(E," ").concat(c[p]),N++;else{var x=u[p],D=c[p],P=D!==x&&(!m(D,",")||D.slice(0,-1)!==x);P&&m(x,",")&&x.slice(0,-1)===D&&(P=!1,D+=","),P?(I>1&&p>2&&(I>4?(i+="\n".concat(h,"...").concat(E),d=!0):I>3&&(i+="\n ".concat(c[p-2]),N++),i+="\n ".concat(c[p-1]),N++),o=p,i+="\n".concat(R,"+").concat(E," ").concat(D),r+="\n".concat(b,"-").concat(E," ").concat(x),N+=2):(i+=r,r="",1!==I&&0!==p||(i+="\n ".concat(D),N++))}if(N>20&&p<O-2)return"".concat(A).concat(w,"\n").concat(i,"\n").concat(h,"...").concat(E).concat(r,"\n")+"".concat(h,"...").concat(E)}return"".concat(A).concat(d?w:"","\n").concat(i).concat(r).concat(s).concat(_)}var O=function(e){function t(e){var n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),"object"!==g(e)||null===e)throw new f("options","Object",e);var r=e.message,i=e.operator,d=e.stackStartFn,l=e.actual,c=e.expected,u=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=r)n=o(this,p(t).call(this,String(r)));else if(a.stderr&&a.stderr.isTTY&&(a.stderr&&a.stderr.getColorDepth&&1!==a.stderr.getColorDepth()?(h="\x1b[34m",R="\x1b[32m",E="\x1b[39m",b="\x1b[31m"):(h="",R="",E="",b="")),"object"===g(l)&&null!==l&&"object"===g(c)&&null!==c&&"stack"in l&&l instanceof Error&&"stack"in c&&c instanceof Error&&(l=S(l),c=S(c)),"deepStrictEqual"===i||"strictEqual"===i)n=o(this,p(t).call(this,T(l,c,i)));else if("notDeepStrictEqual"===i||"notStrictEqual"===i){var _=y[i],m=v(l).split("\n");if("notStrictEqual"===i&&"object"===g(l)&&null!==l&&(_=y.notStrictEqualObject),m.length>30)for(m[26]="".concat(h,"...").concat(E);m.length>27;)m.pop();n=1===m.length?o(this,p(t).call(this,"".concat(_," ").concat(m[0]))):o(this,p(t).call(this,"".concat(_,"\n\n").concat(m.join("\n"),"\n")))}else{var O=v(l),C="",N=y[i];"notDeepEqual"===i||"notEqual"===i?(O="".concat(y[i],"\n\n").concat(O)).length>1024&&(O="".concat(O.slice(0,1021),"...")):(C="".concat(v(c)),O.length>512&&(O="".concat(O.slice(0,509),"...")),C.length>512&&(C="".concat(C.slice(0,509),"...")),"deepEqual"===i||"equal"===i?O="".concat(N,"\n\n").concat(O,"\n\nshould equal\n\n"):C=" ".concat(i," ").concat(C)),n=o(this,p(t).call(this,"".concat(O).concat(C)))}return Error.stackTraceLimit=u,n.generatedMessage=!r,Object.defineProperty(s(n),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),n.code="ERR_ASSERTION",n.actual=l,n.expected=c,n.operator=i,Error.captureStackTrace&&Error.captureStackTrace(s(n),d),n.stack,n.name="AssertionError",o(n)}var n,d,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),n=t,d=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:_.custom,value:function(e,t){return _(this,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){r(e,t,n[t])}))}return e}({},t,{customInspect:!1,depth:0}))}}],d&&i(n.prototype,d),l&&i(n,l),t}(d(Error));e.exports=O},62136:(e,t,n)=>{"use strict";function a(e){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function r(e,t){return!t||"object"!==a(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},i(e)}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}var s,d,l={};function c(e,t,n){n||(n=Error);var a=function(n){function a(n,o,s){var d;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),d=r(this,i(a).call(this,function(e,n,a){return"string"===typeof t?t:t(e,n,a)}(n,o,s))),d.code=e,d}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(a,n),a}(n);l[e]=a}function u(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}c("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),c("ERR_INVALID_ARG_TYPE",(function(e,t,r){var i,o,d,l;if(void 0===s&&(s=n(69282)),s("string"===typeof e,"'name' must be a string"),"string"===typeof t&&(o="not ",t.substr(!d||d<0?0:+d,o.length)===o)?(i="must not be",t=t.replace(/^not /,"")):i="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))l="The ".concat(e," ").concat(i," ").concat(u(t,"type"));else{var c=function(e,t,n){return"number"!==typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";l='The "'.concat(e,'" ').concat(c," ").concat(i," ").concat(u(t,"type"))}return l+=". Received type ".concat(a(r))}),TypeError),c("ERR_INVALID_ARG_VALUE",(function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===d&&(d=n(89539));var r=d.inspect(t);return r.length>128&&(r="".concat(r.slice(0,128),"...")),"The argument '".concat(e,"' ").concat(a,". Received ").concat(r)}),TypeError,RangeError),c("ERR_INVALID_RETURN_VALUE",(function(e,t,n){var r;return r=n&&n.constructor&&n.constructor.name?"instance of ".concat(n.constructor.name):"type ".concat(a(n)),"Expected ".concat(e,' to be returned from the "').concat(t,'"')+" function but got ".concat(r,".")}),TypeError),c("ERR_MISSING_ARGS",(function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];void 0===s&&(s=n(69282)),s(t.length>0,"At least one arg needs to be specified");var r="The ",i=t.length;switch(t=t.map((function(e){return'"'.concat(e,'"')})),i){case 1:r+="".concat(t[0]," argument");break;case 2:r+="".concat(t[0]," and ").concat(t[1]," arguments");break;default:r+=t.slice(0,i-1).join(", "),r+=", and ".concat(t[i-1]," arguments")}return"".concat(r," must be specified")}),TypeError),e.exports.codes=l},19158:(e,t,n)=>{"use strict";function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(d){r=!0,i=d}finally{try{a||null==s.return||s.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var i=void 0!==/a/g.flags,o=function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t},s=function(e){var t=[];return e.forEach((function(e,n){return t.push([n,e])})),t},d=Object.is?Object.is:n(20609),l=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},c=Number.isNaN?Number.isNaN:n(20360);function u(e){return e.call.bind(e)}var p=u(Object.prototype.hasOwnProperty),g=u(Object.prototype.propertyIsEnumerable),_=u(Object.prototype.toString),f=n(89539).types,m=f.isAnyArrayBuffer,h=f.isArrayBufferView,R=f.isDate,b=f.isMap,E=f.isRegExp,y=f.isSet,S=f.isNativeError,v=f.isBoxedPrimitive,T=f.isNumberObject,O=f.isStringObject,C=f.isBooleanObject,N=f.isBigIntObject,A=f.isSymbolObject,w=f.isFloat32Array,I=f.isFloat64Array;function x(e){if(0===e.length||e.length>10)return!0;for(var t=0;t<e.length;t++){var n=e.charCodeAt(t);if(n<48||n>57)return!0}return 10===e.length&&e>=Math.pow(2,32)}function D(e){return Object.keys(e).filter(x).concat(l(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))}function P(e,t){if(e===t)return 0;for(var n=e.length,a=t.length,r=0,i=Math.min(n,a);r<i;++r)if(e[r]!==t[r]){n=e[r],a=t[r];break}return n<a?-1:a<n?1:0}function M(e,t,n,a){if(e===t)return 0!==e||(!n||d(e,t));if(n){if("object"!==r(e))return"number"===typeof e&&c(e)&&c(t);if("object"!==r(t)||null===e||null===t)return!1;if(Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1}else{if(null===e||"object"!==r(e))return(null===t||"object"!==r(t))&&e==t;if(null===t||"object"!==r(t))return!1}var o,s,l,u,p=_(e);if(p!==_(t))return!1;if(Array.isArray(e)){if(e.length!==t.length)return!1;var g=D(e),f=D(t);return g.length===f.length&&k(e,t,n,a,1,g)}if("[object Object]"===p&&(!b(e)&&b(t)||!y(e)&&y(t)))return!1;if(R(e)){if(!R(t)||Date.prototype.getTime.call(e)!==Date.prototype.getTime.call(t))return!1}else if(E(e)){if(!E(t)||(l=e,u=t,!(i?l.source===u.source&&l.flags===u.flags:RegExp.prototype.toString.call(l)===RegExp.prototype.toString.call(u))))return!1}else if(S(e)||e instanceof Error){if(e.message!==t.message||e.name!==t.name)return!1}else{if(h(e)){if(n||!w(e)&&!I(e)){if(!function(e,t){return e.byteLength===t.byteLength&&0===P(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}(e,t))return!1}else if(!function(e,t){if(e.byteLength!==t.byteLength)return!1;for(var n=0;n<e.byteLength;n++)if(e[n]!==t[n])return!1;return!0}(e,t))return!1;var x=D(e),M=D(t);return x.length===M.length&&k(e,t,n,a,0,x)}if(y(e))return!(!y(t)||e.size!==t.size)&&k(e,t,n,a,2);if(b(e))return!(!b(t)||e.size!==t.size)&&k(e,t,n,a,3);if(m(e)){if(s=t,(o=e).byteLength!==s.byteLength||0!==P(new Uint8Array(o),new Uint8Array(s)))return!1}else if(v(e)&&!function(e,t){return T(e)?T(t)&&d(Number.prototype.valueOf.call(e),Number.prototype.valueOf.call(t)):O(e)?O(t)&&String.prototype.valueOf.call(e)===String.prototype.valueOf.call(t):C(e)?C(t)&&Boolean.prototype.valueOf.call(e)===Boolean.prototype.valueOf.call(t):N(e)?N(t)&&BigInt.prototype.valueOf.call(e)===BigInt.prototype.valueOf.call(t):A(t)&&Symbol.prototype.valueOf.call(e)===Symbol.prototype.valueOf.call(t)}(e,t))return!1}return k(e,t,n,a,0)}function L(e,t){return t.filter((function(t){return g(e,t)}))}function k(e,t,n,a,r,i){if(5===arguments.length){i=Object.keys(e);var o=Object.keys(t);if(i.length!==o.length)return!1}for(var s=0;s<i.length;s++)if(!p(t,i[s]))return!1;if(n&&5===arguments.length){var d=l(e);if(0!==d.length){var c=0;for(s=0;s<d.length;s++){var u=d[s];if(g(e,u)){if(!g(t,u))return!1;i.push(u),c++}else if(g(t,u))return!1}var _=l(t);if(d.length!==_.length&&L(t,_).length!==c)return!1}else{var f=l(t);if(0!==f.length&&0!==L(t,f).length)return!1}}if(0===i.length&&(0===r||1===r&&0===e.length||0===e.size))return!0;if(void 0===a)a={val1:new Map,val2:new Map,position:0};else{var m=a.val1.get(e);if(void 0!==m){var h=a.val2.get(t);if(void 0!==h)return m===h}a.position++}a.val1.set(e,a.position),a.val2.set(t,a.position);var R=Y(e,t,n,i,a,r);return a.val1.delete(e),a.val2.delete(t),R}function F(e,t,n,a){for(var r=o(e),i=0;i<r.length;i++){var s=r[i];if(M(t,s,n,a))return e.delete(s),!0}return!1}function B(e){switch(r(e)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":e=+e;case"number":if(c(e))return!1}return!0}function U(e,t,n){var a=B(n);return null!=a?a:t.has(a)&&!e.has(a)}function j(e,t,n,a,r){var i=B(n);if(null!=i)return i;var o=t.get(i);return!(void 0===o&&!t.has(i)||!M(a,o,!1,r))&&(!e.has(i)&&M(a,o,!1,r))}function G(e,t,n,a,r,i){for(var s=o(e),d=0;d<s.length;d++){var l=s[d];if(M(n,l,r,i)&&M(a,t.get(l),r,i))return e.delete(l),!0}return!1}function Y(e,t,n,i,d,l){var c=0;if(2===l){if(!function(e,t,n,a){for(var i=null,s=o(e),d=0;d<s.length;d++){var l=s[d];if("object"===r(l)&&null!==l)null===i&&(i=new Set),i.add(l);else if(!t.has(l)){if(n)return!1;if(!U(e,t,l))return!1;null===i&&(i=new Set),i.add(l)}}if(null!==i){for(var c=o(t),u=0;u<c.length;u++){var p=c[u];if("object"===r(p)&&null!==p){if(!F(i,p,n,a))return!1}else if(!n&&!e.has(p)&&!F(i,p,n,a))return!1}return 0===i.size}return!0}(e,t,n,d))return!1}else if(3===l){if(!function(e,t,n,i){for(var o=null,d=s(e),l=0;l<d.length;l++){var c=a(d[l],2),u=c[0],p=c[1];if("object"===r(u)&&null!==u)null===o&&(o=new Set),o.add(u);else{var g=t.get(u);if(void 0===g&&!t.has(u)||!M(p,g,n,i)){if(n)return!1;if(!j(e,t,u,p,i))return!1;null===o&&(o=new Set),o.add(u)}}}if(null!==o){for(var _=s(t),f=0;f<_.length;f++){var m=a(_[f],2),h=(u=m[0],m[1]);if("object"===r(u)&&null!==u){if(!G(o,e,u,h,n,i))return!1}else if(!n&&(!e.has(u)||!M(e.get(u),h,!1,i))&&!G(o,e,u,h,!1,i))return!1}return 0===o.size}return!0}(e,t,n,d))return!1}else if(1===l)for(;c<e.length;c++){if(!p(e,c)){if(p(t,c))return!1;for(var u=Object.keys(e);c<u.length;c++){var g=u[c];if(!p(t,g)||!M(e[g],t[g],n,d))return!1}return u.length===Object.keys(t).length}if(!p(t,c)||!M(e[c],t[c],n,d))return!1}for(c=0;c<i.length;c++){var _=i[c];if(!M(e[_],t[_],n,d))return!1}return!0}e.exports={isDeepEqual:function(e,t){return M(e,t,false)},isDeepStrictEqual:function(e,t){return M(e,t,true)}}},34167:(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}}r.__bit_component={id:"teambit.base-ui/hook/use-click-outside@1.0.0",homepage:"https://bit.dev/teambit/base-ui/hook/use-click-outside",exported:!0},t.ClickOutside=r,r.defaultProps={enabled:!0}},69205:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useClickOutside=t.ClickOutside=void 0;var a=n(34167);Object.defineProperty(t,"ClickOutside",{enumerable:!0,get:function(){return a.ClickOutside}});var r=n(71855);Object.defineProperty(t,"useClickOutside",{enumerable:!0,get:function(){return r.useClickOutside}})},71855:(e,t,n)=>{"use strict";var a={id:"teambit.base-ui/hook/use-click-outside@1.0.0",homepage:"https://bit.dev/teambit/base-ui/hook/use-click-outside",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.useClickOutside=void 0;const r=n(4516);function i(e,t,n=!0){r.useEffect((()=>{const r=n=>{const a=n.target;e.current&&a&&!e.current.contains(a)&&t(n)};return r.__bit_component=a,n&&(document.addEventListener("mousedown",r),document.addEventListener("touchstart",r)),()=>{document.removeEventListener("mousedown",r),document.removeEventListener("touchstart",r)}}),[e,t,n])}i.__bit_component=a,t.useClickOutside=i},81902: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));function d(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}d.__bit_component={id:"teambit.base-ui/input/error@1.0.1",homepage:"https://bit.dev/teambit/base-ui/input/error",exported:!0},t.Error=d},22845: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(81902),t)},92435: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"),i.__bit_component={id:"teambit.base-ui/layout/grid-component@1.0.0",homepage:"https://bit.dev/teambit/base-ui/layout/grid-component",exported:!0}},32682: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(92435);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,_=o(e,["className","col","colL","colLg","colMd","colSm","colXl","colXs"]),f=[t,c.default.gridContainer];return void 0!==n&&f.push(u.colGrid[n]),void 0!==a&&f.push(u.colGridL[a]),void 0!==r&&f.push(u.colGridLg[r]),void 0!==i&&f.push(u.colGridMd[i]),void 0!==s&&f.push(u.colGridSm[s]),void 0!==p&&f.push(u.colGridXl[p]),void 0!==g&&f.push(u.colGridXs[g]),d.default.createElement("div",Object.assign({"data-bit-id":"teambit.base-ui/layout/grid-component"},_,{className:l.default(...f)}))}}p.__bit_component={id:"teambit.base-ui/layout/grid-component@1.0.0",homepage:"https://bit.dev/teambit/base-ui/layout/grid-component",exported:!0},t.Grid=p},37692: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(32682),t)},51208: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},27477:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NavLink=void 0;var a=n(20269);Object.defineProperty(t,"NavLink",{enumerable:!0,get:function(){return a.NavLink}})},20269: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(14583);function o(e){const t=i.useRouting().NavLink;return r.default.createElement(t,Object.assign({},e))}o.__bit_component={id:"teambit.base-ui/routing/nav-link@1.0.0",homepage:"https://bit.dev/teambit/base-ui/routing/nav-link",exported:!0},t.NavLink=o},69639: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(94184)),c=s(n(22184)),u=s(n(3473)),p=s(n(24611)),g=s(n(25109));class _ 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))}}_.__bit_component={id:"teambit.base-ui/surfaces/abs-container@1.0.0",homepage:"https://bit.dev/teambit/base-ui/surfaces/abs-container",exported:!0},t.Containee=_},55548: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(69639),t)},49425: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(94184)),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))}))},76027: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(49425),t)},25796: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(55548),t),r(n(76027),t),t.containerClass=o.default.container,t.containeeClass=o.default.containee},95129: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(94184)),o=a(n(49876));function s(e){return r.default.createElement("div",Object.assign({},e,{className:i.default(e.className,o.default.placeholder)}))}s.__bit_component={id:"teambit.base-ui/surfaces/drawer@1.0.0",homepage:"https://bit.dev/teambit/base-ui/surfaces/drawer",exported:!0},t.DefaultPlaceholder=s},67303: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(25796),c=n(69205),u=s(n(22184)),p=n(95129);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:_,clickToggles:f,onChange:m,onPlaceholderToggle:h,onContainerToggle:R,onContaineeToggle:b,onClickOutside:E}=e,y=o(e,["placeholder","children","PlaceholderComponent","clickOutside","onMouseEnter","onMouseLeave","open","hoverToOpen","clickPlaceholderToggles","clickToggles","onChange","onPlaceholderToggle","onContainerToggle","onContaineeToggle","onClickOutside"]),{isOpen:S}=this.state;return d.default.createElement(l.Container,Object.assign({},y,{ref:this.ref,open:S,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&&S,handler:this.handleClickOutside}))}}g.__bit_component={id:"teambit.base-ui/surfaces/drawer@1.0.0",homepage:"https://bit.dev/teambit/base-ui/surfaces/drawer",exported:!0},t.Drawer=g,g.defaultProps={PlaceholderComponent:p.DefaultPlaceholder,clickPlaceholderToggles:!0,clickOutside:!0,clickToggles:!0}},57692: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(67303),t)},50306: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(72038),t)},72038: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(45125),o=r(n(94184)),s=r(n(4516)),d=r(n(7545));function l(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)}l.__bit_component={id:"teambit.base-ui/surfaces/split-pane/hover-splitter@1.0.0",homepage:"https://bit.dev/teambit/base-ui/surfaces/split-pane/hover-splitter",exported:!0},t.HoverSplitter=l},89248: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(82224),t)},82224:(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},20619: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(37714),t)},37714:function(e,t,n){"use strict";var a={id:"teambit.base-ui/surfaces/split-pane/pane@1.0.0",homepage:"https://bit.dev/teambit/base-ui/surfaces/split-pane/pane",exported:!0},r=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},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Pane=void 0;const o=n(89248),s=i(n(94184)),d=i(n(4516)),l=i(n(44176));function c(e){var{size:t,style:n,layout:a,className:i}=e,o=r(e,["size","style","layout","className"]);const c={},p=u(a);return p&&void 0!==t&&(c[p]=t,c.flexShrink=0),void 0===t&&(c.flexGrow=1,c.flexBasis=0),d.default.createElement("div",Object.assign({},o,{className:s.default(l.default.pane,i),style:Object.assign(Object.assign({},n),c)}))}function u(e){if(e)return e.includes(o.LayoutFeatures.column)?"height":e.includes(o.LayoutFeatures.row)?"width":void 0}c.__bit_component=a,t.Pane=c,u.__bit_component=a},56813:(e,t,n)=>{"use strict";var a={id:"teambit.base-ui/surfaces/split-pane/split-pane@1.0.0",homepage:"https://bit.dev/teambit/base-ui/surfaces/split-pane/split-pane",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.calcSplit=void 0;const r=n(89248);function i(e,t,n){let a=d(e,t,n);return t.includes(r.LayoutFeatures.reverse)&&a.reverse(),void 0!==a[0]&&void 0!==a[1]||(a=o(a)),a}function o([e,t]){return void 0===e&&void 0===t?[void 0,void 0]:void 0===t?[e,s(e)]:void 0===e?[s(t),t]:[e,t]}function s(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 d(e,t,n){const{row:a,column:i,first:o,last:s}=r.LayoutFeatures,d=new Set(t.split(" "));return d.has(o)?["100%","0%"]:d.has(s)?["0%","100%"]:d.has(a)?void 0===(null===e||void 0===e?void 0:e.x)?l(n):"string"===typeof n&&n.endsWith("%")?[100*e.x/e.width+"%",void 0]:[e.x,void 0]:d.has(i)?void 0===(null===e||void 0===e?void 0:e.y)?l(n):"string"===typeof n&&n.endsWith("%")?[100*e.y/e.height+"%",void 0]:[e.y,void 0]:[void 0,void 0]}function l(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]}i.__bit_component=a,t.calcSplit=i,o.__bit_component=a,s.__bit_component=a,d.__bit_component=a,l.__bit_component=a},36840: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(89248),t),r(n(20619),t),r(n(45125),t);var i=n(44741);Object.defineProperty(t,"SplitPane",{enumerable:!0,get:function(){return i.SplitPane}})},46969:(e,t)=>{"use strict";function n(e,t,n){return void 0!==t&&e<t?t:void 0!==n&&e>n?n:e}Object.defineProperty(t,"__esModule",{value:!0}),t.limit=void 0,n.__bit_component={id:"teambit.base-ui/surfaces/split-pane/split-pane@1.0.0",homepage:"https://bit.dev/teambit/base-ui/surfaces/split-pane/split-pane",exported:!0},t.limit=n},44741: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(89248),o=r(n(94184)),s=r(n(4516)),d=n(56813),l=r(n(25772)),c=n(88488);function u(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(_,t,n),[b,E,y]=u,S=s.default.cloneElement(b,{size:h,layout:t}),v=s.default.cloneElement(y,{size:R,layout:t}),T=s.default.cloneElement(E,{onDragging:m,isDragging:f});return s.default.createElement("div",Object.assign({},p,{ref:g,className:o.default(f&&l.default.isDragging,l.default.splitPane,r),"data-is-dragging":f,"data-split-layout":t}),S,T,v)}u.__bit_component={id:"teambit.base-ui/surfaces/split-pane/split-pane@1.0.0",homepage:"https://bit.dev/teambit/base-ui/surfaces/split-pane/split-pane",exported:!0},t.SplitPane=u},55780:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toRelativePosition=void 0;const a=n(46969);function r({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}}r.__bit_component={id:"teambit.base-ui/surfaces/split-pane/split-pane@1.0.0",homepage:"https://bit.dev/teambit/base-ui/surfaces/split-pane/split-pane",exported:!0},t.toRelativePosition=r},88488:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDragTracker=void 0;const a=n(4516),r=n(55780),i=n(93910);function o(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]}o.__bit_component={id:"teambit.base-ui/surfaces/split-pane/split-pane@1.0.0",homepage:"https://bit.dev/teambit/base-ui/surfaces/split-pane/split-pane",exported:!0},t.useDragTracker=o},93910:(e,t,n)=>{"use strict";var a={id:"teambit.base-ui/surfaces/split-pane/split-pane@1.0.0",homepage:"https://bit.dev/teambit/base-ui/surfaces/split-pane/split-pane",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.useDragListener=void 0;const r=n(4516);function i(e){const t=r.useState(!1),[n,i]=t;return r.useEffect((()=>{const t=t=>{const{touches:n}=t,a=n[0];e(a)};t.__bit_component=a;const r=t=>{e(t)};r.__bit_component=a;const o=()=>{i(!1)};o.__bit_component=a;const s=e=>{e&&1===e.buttons||o()};return s.__bit_component=a,n&&(document.addEventListener("mousemove",r),document.addEventListener("mouseup",o),document.addEventListener("mouseenter",s),document.addEventListener("touchend",o),document.addEventListener("touchmove",t),document.addEventListener("touchcancel",o)),()=>{document.removeEventListener("mousemove",r),document.removeEventListener("mouseup",o),document.removeEventListener("mouseenter",s),document.removeEventListener("touchend",o),document.removeEventListener("touchmove",t),document.removeEventListener("touchcancel",o)}}),[n,e]),t}i.__bit_component=a,t.useDragListener=i},45125: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(5018),t)},5018: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(94184)),o=r(n(4516)),s=r(n(93988));function d(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)}))}d.__bit_component={id:"teambit.base-ui/surfaces/split-pane/splitter@1.0.0",homepage:"https://bit.dev/teambit/base-ui/surfaces/split-pane/splitter",exported:!0},t.Splitter=d},67020: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))}o.__bit_component={id:"teambit.base-ui/text/heading@1.0.1",homepage:"https://bit.dev/teambit/base-ui/text/heading",exported:!0},t.Heading=o,o.defaultProps={element:"h1"}},5246: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(67020),t)},62709: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(40752),t)},40752: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));function s(e){return r.default.createElement("span",Object.assign({},e,{className:i.default(o.default.mutedText,e.className)}))}s.__bit_component={id:"teambit.base-ui/text/muted-text@1.0.1",homepage:"https://bit.dev/teambit/base-ui/text/muted-text",exported:!0},t.MutedText=s,t.mutedText=o.default.mutedText},50416:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PossibleSizes=t.Paragraph=void 0;var a=n(70277);Object.defineProperty(t,"Paragraph",{enumerable:!0,get:function(){return a.Paragraph}}),Object.defineProperty(t,"PossibleSizes",{enumerable:!0,get:function(){return a.PossibleSizes}})},70277: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(1315);Object.defineProperty(t,"PossibleSizes",{enumerable:!0,get:function(){return s.PossibleSizes}});const d=n(13826);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))}l.__bit_component={id:"teambit.base-ui/text/paragraph@1.0.1",homepage:"https://bit.dev/teambit/base-ui/text/paragraph",exported:!0},t.Paragraph=l,l.defaultProps={size:"md",element:"p"}},13826: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},49642: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},38756: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(83955),t)},83955: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)),i=()=>r.default.createElement("link",{href:"https://fonts.googleapis.com/css?family=Roboto+Mono",rel:"stylesheet"});i.__bit_component={id:"teambit.base-ui/theme/fonts/roboto@1.0.0",homepage:"https://bit.dev/teambit/base-ui/theme/fonts/roboto",exported:!0},t.Roboto=i},1315:(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={}))},69473:function(e,t,n){"use strict";var a={id:"teambit.component/component-issues@0.0.45",homepage:"https://bit.dev/teambit/component/component-issues",exported:!0},r=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 i=r(n(32589)),o=n(35666);t.ISSUE_FORMAT_SPACE_COUNT=10,t.ISSUE_FORMAT_SPACE=" ".repeat(t.ISSUE_FORMAT_SPACE_COUNT);function s(e,t=!0){const n=t?":":"";return i.default.yellow(`\n ${e}${n} \n`)}function d(e){return Array.isArray(e)?e.join(", "):e}function l(e){const t=JSON.parse(e);return Object.keys(t).forEach((e=>{t[e]=t[e].map((e=>new o.BitId(e)))})),t}t.ComponentIssue=class{constructor(){this.isTagBlocker=!0,this.isCacheBlocker=!0,this.formatDataFunction=d}get descriptionWithSolution(){const e=this.solution?` (${this.solution})`:"";return`${this.description}${e}`}outputForCLI(){return s(this.descriptionWithSolution)+i.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)}},s.__bit_component=a,t.formatTitle=s,d.__bit_component=a,t.componentIssueToString=d,l.__bit_component=a,t.deserializeWithBitId=l},23808:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CustomModuleResolutionUsed=void 0;const a=n(69473);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},28080:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImportNonMainFiles=void 0;const a=n(69473);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},85682:(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(53910);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(69473);Object.defineProperty(t,"MISSING_DEPS_SPACE",{enumerable:!0,get:function(){return r.ISSUE_FORMAT_SPACE}});var i=n(90319);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(88834);Object.defineProperty(t,"RelativeComponentsAuthoredEntry",{enumerable:!0,get:function(){return o.RelativeComponentsAuthoredEntry}})},53910:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IssuesList=t.IssuesClasses=void 0;const a=n(23808),r=n(28080),i=n(13306),o=n(95322),s=n(76034),d=n(12553),l=n(2701),c=n(69646),u=n(61165),p=n(87081),g=n(88834),_=n(26169),f=n(90319),m=n(19408),h=n(89063),R=n(29182);t.IssuesClasses={MissingPackagesDependenciesOnFs:c.MissingPackagesDependenciesOnFs,MissingComponents:i.MissingComponents,UntrackedDependencies:f.UntrackedDependencies,ResolveErrors:_.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},19408:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LegacyInsideHarmony=void 0;const a=n(69473);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},13306:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingComponents=void 0;const a=n(69473);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},95322:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingCustomModuleResolutionLinks=void 0;const a=n(69473);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},76034:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingDependenciesOnFs=void 0;const a=n(69473);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},12553:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingDists=void 0;const a=n(69473);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},29182:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingLinksFromNodeModulesToSrc=void 0;const a=n(69473);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},2701:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingLinks=void 0;const a=n(69473);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},69646:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingPackagesDependenciesOnFs=void 0;const a=n(69473);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},89063:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MultipleEnvs=void 0;const a=n(69473);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://harmony-docs.bit.dev/aspects/variants#removing-aspects ',this.isTagBlocker=!0}dataToString(){return a.ISSUE_FORMAT_SPACE+this.data.join(", ")}}t.MultipleEnvs=r},61165:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ParseErrors=void 0;const a=n(69473);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},88834:(e,t,n)=>{"use strict";var a={id:"teambit.component/component-issues@0.0.45",homepage:"https://bit.dev/teambit/component/component-issues",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.relativeComponentsAuthored=void 0;const r=n(35666),i=n(69473);class o extends i.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=s}deserialize(e){const t=JSON.parse(e);return Object.keys(t).forEach((e=>{t[e]=t[e].map((e=>({importSource:e.importSource,componentId:new r.BitId(e.componentId),relativePath:e.relativePath})))})),t}}function s(e){const t=e=>`"${e.importSource}" (${e.componentId.toString()})`;return t.__bit_component=a,e.map(t).join(", ")}t.relativeComponentsAuthored=o,s.__bit_component=a},87081:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.relativeComponents=void 0;const a=n(69473);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},26169:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveErrors=void 0;const a=n(69473);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},90319: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(69473);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} -> ${s(this.data[e])}`})).join("\n")}}function s(e){return e.untrackedFiles.map((e=>e.existing?`${r.default.yellow(e.relativePath)}`:e.relativePath)).join(", ")}t.UntrackedDependencies=o,s.__bit_component={id:"teambit.component/component-issues@0.0.45",homepage:"https://bit.dev/teambit/component/component-issues",exported:!0}},28460:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VersionDropdown=void 0;var a=n(84412);Object.defineProperty(t,"VersionDropdown",{enumerable:!0,get:function(){return a.VersionDropdown}})},84412:function(e,t,n){"use strict";var a={id:"teambit.component/ui/version-dropdown@0.0.490",homepage:"https://bit.dev/teambit/component/ui/version-dropdown",exported:!0},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.VersionDropdown=void 0;const i=n(43003),o=n(52154),s=n(35360),d=n(59327),l=n(30804),c=r(n(94184)),u=r(n(4516)),p=r(n(45492));function g({versions:e,currentVersion:t}){return e.length<2?u.default.createElement("div",{className:p.default.noVersions},u.default.createElement(_,{currentVersion:t})):u.default.createElement("div",{className:p.default.versionDropdown},u.default.createElement(s.Dropdown,{className:p.default.dropdown,dropClass:p.default.menu,placeholder:"",clickOutside:!0,PlaceholderComponent:()=>u.default.createElement(_,{currentVersion:t,className:p.default.withVersions})},u.default.createElement("div",null,u.default.createElement("div",{className:p.default.title},"Select version to view"),u.default.createElement("div",{className:p.default.versionContainer},e.map(((e,n)=>{const a=e===t;return u.default.createElement(o.NavLink,{to:`?version=${e}`,key:n,className:(0,c.default)(p.default.versionLine,a&&p.default.currentVersion)},u.default.createElement("span",{className:p.default.version},e),0===n&&u.default.createElement(d.VersionLabel,{className:p.default.label,status:"latest"}))}))))))}function _({currentVersion:e,className:t}){return u.default.createElement("div",{className:(0,c.default)(p.default.placeholder,t)},u.default.createElement(l.Ellipsis,null,e),u.default.createElement(i.Icon,{of:"fat-arrow-down"}))}g.__bit_component=a,t.VersionDropdown=g,_.__bit_component=a},59327:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LabelsProps=t.Labels=t.VersionLabel=void 0;var a=n(26937);Object.defineProperty(t,"VersionLabel",{enumerable:!0,get:function(){return a.VersionLabel}}),Object.defineProperty(t,"Labels",{enumerable:!0,get:function(){return a.Labels}}),Object.defineProperty(t,"LabelsProps",{enumerable:!0,get:function(){return a.LabelsProps}})},26937:function(e,t,n){"use strict";var a={id:"teambit.component/ui/version-label@0.0.490",homepage:"https://bit.dev/teambit/component/ui/version-label",exported:!0},r=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},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Labels=t.VersionLabel=void 0;const o=n(1864),s=i(n(94184)),d=i(n(4516)),l=i(n(87880));function c(e){var{status:t,className:n}=e,a=r(e,["status","className"]);return d.default.createElement(o.PillLabel,Object.assign({},a,{className:(0,s.default)(l.default.label,l.default[t],n)}),t.replace(/-/g," "))}function u({isCurrent:e,isLatest:t}){return d.default.createElement("div",null,t&&d.default.createElement(c,{className:l.default.versionLabel,status:"latest"}),e&&d.default.createElement(c,{status:"checked-out"}),!t&&!e&&d.default.createElement("div",{className:l.default.emptyLabel}))}c.__bit_component=a,t.VersionLabel=c,u.__bit_component=a,t.Labels=u},18274:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AspectEntry=void 0;class n{constructor(e,t){this.id=e,this.legacyEntry=t}get legacy(){return this.legacyEntry}get isLegacy(){var e;return!(null===(e=this.config)||void 0===e||!e.__legacy)}get config(){return this.legacy.config}set config(e){this.legacy.config=e}get data(){return this.legacy.data}get isRemoved(){return this.legacy.isRemoved}set data(e){this.legacy.data=e}transform(e){const t=this.clone();return t.data=e,new n(this.id,t.legacy)}clone(){return new n(this.id,this.legacyEntry.clone())}serialize(){return{id:this.id.toString(),config:this.config,data:this.data,icon:"https://static.bit.dev/extensions-icons/default.svg"}}}t.AspectEntry=n},37706:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.629",homepage:"https://bit.dev/teambit/component/component",exported:!0},r=n(95318);function i(){const e=n(79744);return i=function(){return e},e}function o(){const e=n(58225);return o=function(){return e},e}function s(){const e=r(n(26470));return s=function(){return e},e}function d(){const e=r(n(91171));return d=function(){return e},e}n(74916),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i.__bit_component=a,o.__bit_component=a,s.__bit_component=a,d.__bit_component=a;class l extends i().MemoryFS{constructor(e){super(),this.files=e}get hash(){return""}byRegex(e){return this.files.filter((t=>t.path.match(e)))}byGlob(e){return this.files.filter((t=>e.find((e=>(0,d().default)(t.relative,e)))))}toObject(){return this.files.map((e=>({path:e.path,contents:e.contents})))}static fromVinyls(e){const t=new l(e);return e.forEach((e=>{let n=e.relativeDir;n.startsWith("/")||(n=s().default.join("/",n)),t.mkdirpSync(n),t.writeFileSync(`/${e.relative}`,(0,o().auto)(e.contents||""))})),t}}t.default=l},49003:(e,t,n)=>{"use strict";n(66992),Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentMap=void 0;class a{constructor(e){this.hashMap=e}byComponent(e){return this.hashMap.get(e.id.toString())}get components(){return this.toArray().map((([e])=>e))}get(e){return this.hashMap.get(e.id.toString())}getValueByComponentId(e){const t=this.hashMap.get(e.toString());return t?t[1]:null}toArray(){return Array.from(this.hashMap.values())}map(e){const t=this.toArray().map((([t,n])=>{const a=e(n,t);return[t.id.toString(),[t,a]]}));return new a(new Map(t))}forEach(e){this.toArray().forEach((([t,n])=>{e(n,t)}))}flattenValue(){return this.toArray().reduce(((e,[,t])=>e=e.concat(t)),[])}filter(e){const t=this.toArray().filter((([,t])=>e(t))).map((([e,t])=>[e.id.toString(),[e,t]]));return new a(new Map(t))}keys(){return this.hashMap.keys()}static create(e){const t=e.map((([e,t])=>[e.id.toString(),[e,t]]));return new a(new Map(t))}static as(e,t){const n=e.map((e=>[e.id.toString(),[e,t(e)]]));return new a(new Map(n))}}t.ComponentMap=a},40542:(e,t,n)=>{"use strict";function a(){const e=n(49003);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ComponentMap",{enumerable:!0,get:function(){return a().ComponentMap}}),a.__bit_component={id:"teambit.component/component@0.0.629",homepage:"https://bit.dev/teambit/component/component",exported:!0}},29738:(e,t,n)=>{"use strict";function a(){const e=n(16738);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ComponentAspect=void 0,a.__bit_component={id:"teambit.component/component@0.0.629",homepage:"https://bit.dev/teambit/component/component",exported:!0};const r=a().Aspect.create({id:"teambit.component/component",dependencies:[],defaultConfig:{}});t.ComponentAspect=r;var i=r;t.default=i},48174:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.629",homepage:"https://bit.dev/teambit/component/component",exported:!0};function r(){const e=n(32760);return r=function(){return e},e}function i(){const e=n(51590);return i=function(){return e},e}function o(){const e=n(48706);return o=function(){return e},e}function s(){const e=n(40197);return s=function(){return e},e}function d(e){var t,n,a,r=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,a=Symbol.iterator);r--;){if(n&&null!=(t=e[n]))return t.call(e);if(a&&null!=(t=e[a]))return new l(t.call(e));n="@@asyncIterator",a="@@iterator"}throw new TypeError("Object is not async iterable")}function l(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return t.__bit_component=a,l=function(e){this.s=e,this.n=e.next},l.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var n=this.s.return;return void 0===n?Promise.resolve({value:e,done:!0}):t(n.apply(this.s,arguments))},throw:function(e){var n=this.s.return;return void 0===n?Promise.reject(e):t(n.apply(this.s,arguments))}},new l(e)}n(41817),n(72443),n(66992),n(88674),n(74916),Object.defineProperty(t,"__esModule",{value:!0}),t.Component=void 0,r.__bit_component=a,i.__bit_component=a,o.__bit_component=a,s.__bit_component=a,d.__bit_component=a,l.__bit_component=a;t.Component=class{constructor(e,t=null,n,a=new(o().TagMap),r){this.id=e,this.head=t,this._state=n,this.tags=a,this.factory=r}get mainFile(){return this.state.mainFile}get state(){return this._state}set state(e){this._state=e}get config(){return this.state.config}get filesystem(){return this.state.filesystem}get buildStatus(){return this._state._consumer.buildStatus}get headTag(){if(this.head)return this.tags.byHash(this.head.hash)}get latest(){if(this.head)try{return this.tags.getLatest()}catch(e){if(e instanceof s().CouldNotFindLatest)return this.head.toString();throw e}}stringify(){return JSON.stringify({id:this.id,head:this.head})}get displayName(){return this.id.name.split("-").map((e=>(0,r().capitalize)(e))).join(" ")}tag(e){}isModified(){return this.head?Promise.resolve(this.state.isModified):Promise.resolve(!0)}isOutdated(){var e;if(!this.latest)return!1;const t=this.tags.byVersion(this.latest);return!!t&&(null===(e=this.head)||void 0===e?void 0:e.hash)!==(null===t||void 0===t?void 0:t.hash)}isNew(){return Promise.resolve(null===this.head)}loadState(e){return this.factory.getState(this.id,e)}loadSnap(e){var t;const n=e||(null===(t=this.head)||void 0===t?void 0:t.hash);if(!n)throw new(i().BitError)("could not load snap for new components");return this.factory.getSnap(this.id,n)}snapsIterable(e,t={}){var n;const a=e||(null===(n=this.head)||void 0===n?void 0:n.hash);let r,i=[a];a||(r=!0);const o={next:async()=>{if(r)return{value:void 0,done:r};const e=i.shift(),n=await this.loadSnap(e);return n.parents&&n.parents.length&&(t.firstParentOnly?i.push(n.parents[0]):i=i.concat(n.parents)),i.length?t.stopFn&&(r=await t.stopFn(n)):r=!0,{value:n,done:void 0}}};return{[Symbol.asyncIterator]:()=>o}}async getClosestTag(e){const t=this.tags.getHashMap(),n=async e=>!!t.has(e.hash);n.__bit_component=a;const r=this.snapsIterable(e,{firstParentOnly:!0,stopFn:n}),i=[];var o,s=!1,l=!1;try{for(var c,u=d(r);s=!(c=await u.next()).done;s=!1){const e=c.value;i.push(e)}}catch(p){l=!0,o=p}finally{try{s&&null!=u.return&&await u.return()}finally{if(l)throw o}}if(i.length){const e=i[i.length-1].hash;return t.get(e)}}checkout(e){}write(e,t){}equals(e){return e.id.toString()===this.id.toString()}}},66811:(e,t,n)=>{"use strict";var a=n(95318);function r(){const e=a(n(59713));return r=function(){return e},e}n(88674),Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentRoute=void 0,r.__bit_component={id:"teambit.component/component@0.0.629",homepage:"https://bit.dev/teambit/component/component",exported:!0};t.ComponentRoute=class{constructor(e,t){this.registerRoute=e,this.componentExtension=t,(0,r().default)(this,"dynamicRouteRegex","/?[^/@]+/[^~]*"),(0,r().default)(this,"route",`/:componentId(${this.dynamicRouteRegex})/~aspect${this.registerRoute.route}`),(0,r().default)(this,"method",this.registerRoute.method),(0,r().default)(this,"middlewares",this.componentMiddlewares.concat(this.registerRoute.middlewares))}get componentMiddlewares(){return[async(e,t,n)=>{var a;if(null===(a=this.registerRoute.resolveComponent)||void 0===a||a){const{componentId:t}=e.params,n=this.componentExtension.getHost(),a=await n.resolveComponentId(t),r=await n.get(a);e.component=r}n()}]}}},98152:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class{constructor(e,t,n){this.main=e,this.extensions=t,this.legacyProperties=n}}},12349:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CouldNotFindLatest=void 0;class n extends Error{constructor(e){super(`could not find latest semver in array: ${e.join(", ")}`)}report(){return this.message}}t.CouldNotFindLatest=n},98595:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HostNotFound=void 0;class n extends Error{constructor(e){super(),this.hostName=e}toString(){return`[component] error: host '${this.hostName}' was not found`}}t.HostNotFound=n},40197:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.629",homepage:"https://bit.dev/teambit/component/component",exported:!0},r=n(95318);function i(){const e=r(n(62622));return i=function(){return e},e}function o(){const e=n(98595);return o=function(){return e},e}function s(){const e=n(12349);return s=function(){return e},e}function d(){const e=n(84192);return d=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CouldNotFindLatest",{enumerable:!0,get:function(){return s().CouldNotFindLatest}}),Object.defineProperty(t,"HostNotFound",{enumerable:!0,get:function(){return o().HostNotFound}}),Object.defineProperty(t,"MainFileNotFound",{enumerable:!0,get:function(){return d().MainFileNotFound}}),Object.defineProperty(t,"NothingToSnap",{enumerable:!0,get:function(){return i().default}}),i.__bit_component=a,o.__bit_component=a,s.__bit_component=a,d.__bit_component=a},84192:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MainFileNotFound=void 0;class n extends Error{constructor(e,t){super(),this.id=e,this.mainFile=t}toString(){return`[component] error: main file ${this.mainFile} for component ${this.id.toString()} was not found`}}t.MainFileNotFound=n},62622:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class n extends Error{}t.default=n},24464:(e,t,n)=>{"use strict";function a(){const e=n(39322);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentHostModel=void 0,a.__bit_component={id:"teambit.component/component@0.0.629",homepage:"https://bit.dev/teambit/component/component",exported:!0};class r{constructor(e,t){this.name=e,this.components=t}static from(e){return new r(e.getHost.name,a().ComponentModel.fromArray(e.getHost.list))}}t.ComponentHostModel=r},99307:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={useComponentHost:!0};function r(){const e=n(92161);return r=function(){return e},e}Object.defineProperty(t,"useComponentHost",{enumerable:!0,get:function(){return r().useComponentHost}}),r.__bit_component={id:"teambit.component/component@0.0.629",homepage:"https://bit.dev/teambit/component/component",exported:!0};var i=n(24464);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(a,e)||e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},92161:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.629",homepage:"https://bit.dev/teambit/component/component",exported:!0};function r(){const e=n(84498);return r=function(){return e},e}function i(){const e=n(46829);return i=function(){return e},e}function o(){const e=n(24464);return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.useComponentHost=d,r.__bit_component=a,i.__bit_component=a,o.__bit_component=a;const s=i().gql`
|
|
1
|
+
(self.webpackChunk_teambit_legacy=self.webpackChunk_teambit_legacy||[]).push([[664,703],{67154:e=>{function t(){return e.exports=t=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},t.apply(this,arguments)}e.exports=t},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,_=c["".concat(o,".").concat(g)]||c[g]||p[g]||i;return n?r.default.createElement(_,d(d({ref:t},s),{},{components:n})):r.default.createElement(_,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(86175))},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(31736))},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(31736));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)}}},31736: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)}}},86175:(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)}}},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(35659),d=s.fsSyncMethods,l=s.fsAsyncMethods,c=n(95287),u=c.constants.F_OK,p=c.constants.R_OK,g=c.constants.W_OK,_=c.constants.X_OK;function f(e){for(var t={F_OK:u,R_OK:p,W_OK:g,X_OK:_,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,f=l;s<f.length;s++){var m;"function"===typeof e[m=f[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=f,t.fs=f(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 _=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=_;var f=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=f;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),_=n(46143),f=n(42830),m=n(95287),h=n(17187),R=n(5866),b=n(12913),E=n(82630).l,y=n(89539),S=n(96415),v=s.resolve,T=m.constants.O_RDONLY,O=m.constants.O_WRONLY,C=m.constants.O_RDWR,N=m.constants.O_CREAT,A=m.constants.O_EXCL,w=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,B="path must be a string or Buffer",U="fd must be a file descriptor",j="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",q="ENOENT",V="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 q:return"ENOENT: no such file or directory, "+t+r;case V: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=E({},e,{encoding:t});break;case"object":n=E({},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=T]="r",e[e["r+"]=C]="r+",e[e.rs=T|x]="rs",e[e.sr=e.rs]="sr",e[e["rs+"]=C|x]="rs+",e[e["sr+"]=e["rs+"]]="sr+",e[e.w=O|N|w]="w",e[e.wx=O|N|w|A]="wx",e[e.xw=e.wx]="xw",e[e["w+"]=C|N|w]="w+",e[e["wx+"]=C|N|w|A]="wx+",e[e["xw+"]=e["wx+"]]="xw+",e[e.a=O|I|N]="a",e[e.ax=O|I|N|A]="ax",e[e.xa=e.ax]="xa",e[e["a+"]=C|I|N]="a+",e[e["ax+"]=C|I|N|A]="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),_e=ie(ge),fe=ae(oe),me=ie(fe),he={mode:511,recursive:!1},Re=function(e){return E({},he,"number"===typeof e?{mode:e}:e)},be={recursive:!1},Ee=function(e){return E({},be,e)},ye=ae({encoding:"utf8",withFileTypes:!1}),Se=ie(ye),ve={bigint:!1},Te=function(e){return void 0===e&&(e={}),E({},ve,e)},Oe=function(e,t){return"function"===typeof e?[Te(),e]:[Te(e),re(t)]};function Ce(e){if("string"!==typeof e&&!u.Buffer.isBuffer(e)){try{if(!(e instanceof n(8575).URL))throw new TypeError(B)}catch(a){throw new TypeError(B)}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()),v(t,e)};if(F){var Ae=Ne,we=n(24290).Z4;Ne=function(e,t){return we(Ae(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=q,"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(j);return n}function ke(e){return e>>>0===e}function Fe(e){if(!ke(e))throw TypeError(U)}function Be(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 Ue(e){if("number"!==typeof e)throw TypeError(Y)}function je(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=Be;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=S.default(this),this.statWatchers={},this.props=E({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}(qe);var i=Ve;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(q,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(q,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(q,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(U);var n=this.getFileByFd(e);if(!n)throw ee(V,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(q,"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(q,"open",e.getPath());var r=a.getNode();if(r.isDirectory()&&t!==k.r)throw ee(X,"open",e.getPath());if(!(t&O)&&!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&w&&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(q,"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(q,"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(q,"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(q);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,_=typeof n,f=typeof a,m=typeof r;"string"!==g?"function"===_?c=n:"function"===f?(o=0|n,c=a):"function"===m?(o=0|n,s=a,c=r):(o=0|n,s=a,d=r,c=i):"function"===_?c=n:"function"===f?(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(q,"link",e,t);var r=Ie(t),i=this.getLinkParent(r);if(!i)throw ee(q,"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(q,"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(q,"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(q,"realpath",e);return R.strToEncoding(a.getPath(),t)},e.prototype.realpathSync=function(e,t){return this.realpathBase(Ce(e),fe(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(q,"lstat",e);return l.default.build(n.getNode(),t)},e.prototype.lstatSync=function(e,t){return this.lstatBase(Ce(e),Te(t).bigint)},e.prototype.lstat=function(e,t,n){var a=Oe(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(q,"stat",e);return l.default.build(n.getNode(),t)},e.prototype.statSync=function(e,t){return this.statBase(Ce(e),Te(t).bigint)},e.prototype.stat=function(e,t,n){var a=Oe(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(V,"fstat");return l.default.build(n.node,t)},e.prototype.fstatSync=function(e,t){return this.fstatBase(e,Te(t).bigint)},e.prototype.fstat=function(e,t,n){var a=Oe(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(q,"rename",e,t);var a=Ie(t),i=this.getLinkParent(a);if(!i)throw ee(q,"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=_e(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(q,"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=ye(t),a=Ce(e);return this.readdirBase(a,n)},e.prototype.readdir=function(e,t,n){var a=Se(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,Be(t),Be(n))},e.prototype.futimes=function(e,t,n,a){this.wrapAsync(this.futimesBase,[e,Be(t),Be(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),Be(t),Be(n))},e.prototype.utimes=function(e,t,n,a){this.wrapAsync(this.utimesBase,[Ce(e),Be(t),Be(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=Ee(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=Ee(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){Ue(t),je(n),this.fchownBase(e,t,n)},e.prototype.fchown=function(e,t,n,a){Ue(t),je(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){Ue(t),je(n),this.chownBase(Ce(e),t,n)},e.prototype.chown=function(e,t,n,a){Ue(t),je(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){Ue(t),je(n),this.lchownBase(Ce(e),t,n)},e.prototype.lchown=function(e,t,n,a){Ue(t),je(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,qe=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:_.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 Ve(e,t,n){if(!(this instanceof Ve))return new Ve(e,t,n);if(this._vol=e,void 0===(n=E({},ne(n,{}))).highWaterMark&&(n.highWaterMark=65536),f.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=E({},ne(n,{})),f.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=qe,y.inherits(Ve,f.Readable),t.ReadStream=Ve,Ve.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()}))},Ve.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}},Ve.prototype._destroy=function(e,t){this.close((function(n){t(e||n)}))},Ve.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},y.inherits($e,f.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=Ve.prototype._destroy,$e.prototype.close=Ve.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},41041:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useDebounce:()=>o,useDebouncedCallback:()=>r});var a=n(4516);function r(e,t,n){void 0===n&&(n={});var r=n.maxWait,i=(0,a.useRef)(null),o=(0,a.useRef)([]),s=n.leading,d=void 0===n.trailing||n.trailing,l=(0,a.useRef)(!1),c=(0,a.useRef)(null),u=(0,a.useRef)(!1),p=(0,a.useRef)(e);p.current=e;var g=(0,a.useCallback)((function(){clearTimeout(c.current),clearTimeout(i.current),i.current=null,o.current=[],c.current=null,l.current=!1}),[]);(0,a.useEffect)((function(){return u.current=!1,function(){u.current=!0}}),[]);var _=(0,a.useCallback)((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];o.current=e,clearTimeout(c.current),l.current&&(l.current=!1),c.current||!s||l.current||(p.current.apply(p,e),l.current=!0),c.current=setTimeout((function(){var t=!0;s&&l.current&&(t=!1),g(),!u.current&&d&&t&&p.current.apply(p,e)}),t),r&&!i.current&&d&&(i.current=setTimeout((function(){var e=o.current;g(),u.current||p.current.apply(null,e)}),r))}),[r,t,g,s,d]),f=(0,a.useCallback)((function(){c.current&&(p.current.apply(null,o.current),g())}),[g]);return[_,g,f]}function i(e,t){return e===t}function o(e,t,n){var o=n&&n.equalityFn?n.equalityFn:i,s=(0,a.useState)(e),d=s[0],l=s[1],c=r((0,a.useCallback)((function(e){return l(e)}),[]),t,n),u=c[0],p=c[1],g=c[2],_=(0,a.useRef)(e);return(0,a.useEffect)((function(){o(_.current,e)||(u(e),_.current=e)}),[e,u,o]),[d,p,g]}},67773:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useDebounce:()=>o,useDebouncedCallback:()=>r});var a=n(4516);function r(e,t,n){void 0===n&&(n={});var r=n.maxWait,i=(0,a.useRef)(null),o=(0,a.useRef)([]),s=n.leading,d=void 0===n.trailing||n.trailing,l=(0,a.useRef)(!1),c=(0,a.useRef)(null),u=(0,a.useRef)(!1),p=(0,a.useRef)(e);p.current=e;var g=(0,a.useCallback)((function(){clearTimeout(c.current),clearTimeout(i.current),i.current=null,o.current=[],c.current=null,l.current=!1}),[]);(0,a.useEffect)((function(){return u.current=!1,function(){u.current=!0}}),[]);var _=(0,a.useCallback)((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];o.current=e,clearTimeout(c.current),l.current&&(l.current=!1),c.current||!s||l.current||(p.current.apply(p,e),l.current=!0),c.current=setTimeout((function(){var t=!0;s&&l.current&&(t=!1),g(),!u.current&&d&&t&&p.current.apply(p,e)}),t),r&&!i.current&&d&&(i.current=setTimeout((function(){var e=o.current;g(),u.current||p.current.apply(null,e)}),r))}),[r,t,g,s,d]),f=(0,a.useCallback)((function(){c.current&&(p.current.apply(null,o.current),g())}),[g]);return[_,g,f]}function i(e,t){return e===t}function o(e,t,n){var o=n&&n.equalityFn?n.equalityFn:i,s=(0,a.useState)(e),d=s[0],l=s[1],c=r((0,a.useCallback)((function(e){return l(e)}),[]),t,n),u=c[0],p=c[1],g=c[2],_=(0,a.useRef)(e);return(0,a.useEffect)((function(){o(_.current,e)||(u(e),_.current=e)}),[e,u,o]),[d,p,g]}},83558:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});var a=n(87041);const r=n.n(a)()},67134:(e,t,n)=>{"use strict";function a(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}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&a.push.apply(a,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach((function(t){r(e,t,n[t])}))}return e}n.r(t),n.d(t,{default:()=>N});var o=n(4516),s=n.n(o);function d(){return d=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},d.apply(this,arguments)}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return e.reduce((function(e,t){return i({},e,n[t])}),t)}function c(e){return e.join(" ")}function u(e){var t=e.node,n=e.stylesheet,a=e.style,r=void 0===a?{}:a,o=e.useInlineStyles,p=e.key,g=t.properties,_=t.type,f=t.tagName,m=t.value;if("text"===_)return m;if(f){var h=function(e,t){var n=0;return function(a){return n+=1,a.map((function(a,r){return u({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(r)})}))}}(n,o),R=o&&g.className&&g.className.filter((function(e){return!n[e]})),b=R&&R.length?R:void 0,E=o?i({},g,{className:b&&c(b)},{style:l(g.className,Object.assign({},g.style,r),n)}):i({},g,{className:c(g.className)}),y=h(t.children);return s().createElement(f,d({key:p},E),y)}}var p=/\n/g;function g(e){var t=e.codeString,n=e.codeStyle,a=e.containerStyle,r=void 0===a?{float:"left",paddingRight:"10px"}:a,i=e.numberStyle,o=void 0===i?{}:i,d=e.startingLineNumber;return s().createElement("code",{style:Object.assign({},n,r)},function(e){var t=e.lines,n=e.startingLineNumber,a=e.style;return t.map((function(e,t){var r=t+n;return s().createElement("span",{key:"line-".concat(t),className:"react-syntax-highlighter-line-number",style:"function"===typeof a?a(r):a},"".concat(r,"\n"))}))}({lines:t.replace(/\n$/,"").split("\n"),style:o,startingLineNumber:d}))}function _(e){var t=e.toString().length;return"".concat(t,"em")}function f(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function m(e,t,n){return i({},{display:"inline-block",minWidth:_(n),paddingRight:"1em",textAlign:"right",userSelect:"none"},"function"===typeof e?e(t):e)}function h(e){var t=e.children,n=e.lineNumber,a=e.lineNumberStyle,r=e.largestLineNumber,i=e.showInlineLineNumbers,o=e.lineProps,s=void 0===o?{}:o,d=e.className,l=void 0===d?[]:d,c="function"===typeof s?s(n):s;if(c.className=l,n&&i){var u=m(a,n,r);t.unshift(f(n,u))}return{type:"element",tagName:"span",properties:c,children:t}}function R(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=0;a<e.length;a++){var r=e[a];if("text"===r.type)n.push(h({children:[r],className:t}));else if(r.children){var i=t.concat(r.properties.className);n=n.concat(R(r.children,i))}}return n}function b(e,t,n,a,r,i,o,s){var d,l=R(e.value),c=[],u=-1,g=0;function _(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return h({children:e,lineNumber:t,lineNumberStyle:s,largestLineNumber:o,showInlineLineNumbers:r,lineProps:n,className:a})}function b(e,t){if(t&&r){var n=m(s,t,o);e.unshift(f(t,n))}return e}function E(e,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t||a.length>0?_(e,n,a):b(e,n)}for(var y=function(){var e=l[g],t=e.children[0].value;if(t.match(p)){var n=t.split("\n");n.forEach((function(t,r){var o=a&&c.length+i,s={type:"text",value:"".concat(t,"\n")};if(0===r){var d=E(l.slice(u+1,g).concat(h({children:[s],className:e.properties.className})),o);c.push(d)}else if(r===n.length-1){if(l[g+1]&&l[g+1].children&&l[g+1].children[0]){var p=h({children:[{type:"text",value:"".concat(t)}],className:e.properties.className});l.splice(g+1,0,p)}else{var _=E([s],o,e.properties.className);c.push(_)}}else{var f=E([s],o,e.properties.className);c.push(f)}})),u=g}g++};g<l.length;)y();if(u!==l.length-1){var S=l.slice(u+1,l.length);if(S&&S.length){var v=E(S,c.length+i);c.push(v)}}return t?c:(d=[]).concat.apply(d,c)}function E(e){var t=e.rows,n=e.stylesheet,a=e.useInlineStyles;return t.map((function(e,t){return u({node:e,stylesheet:n,useInlineStyles:a,key:"code-segement".concat(t)})}))}function y(e){return e&&"undefined"!==typeof e.highlightAuto}var S,v,T=n(11215),O=n.n(T),C=(S=O(),v={},function(e){var t=e.language,n=e.children,r=e.style,i=void 0===r?v:r,o=e.customStyle,d=void 0===o?{}:o,l=e.codeTagProps,c=void 0===l?{className:t?"language-".concat(t):void 0,style:i['code[class*="language-"]']}:l,u=e.useInlineStyles,p=void 0===u||u,_=e.showLineNumbers,f=void 0!==_&&_,m=e.showInlineLineNumbers,h=void 0!==m&&m,R=e.startingLineNumber,T=void 0===R?1:R,O=e.lineNumberContainerStyle,C=e.lineNumberStyle,N=void 0===C?{}:C,A=e.wrapLines,w=e.lineProps,I=void 0===w?{}:w,x=e.renderer,D=e.PreTag,P=void 0===D?"pre":D,M=e.CodeTag,L=void 0===M?"code":M,k=e.code,F=void 0===k?Array.isArray(n)?n[0]:n:k,B=e.astGenerator,U=a(e,["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"]);B=B||S;var j=f?s().createElement(g,{containerStyle:O,codeStyle:c.style||{},numberStyle:N,startingLineNumber:T,codeString:F}):null,G=i.hljs||i['pre[class*="language-"]']||{backgroundColor:"#fff"},Y=y(B)?"hljs":"prismjs",H=p?Object.assign({},U,{style:Object.assign({},G,d)}):Object.assign({},U,{className:U.className?"".concat(Y," ").concat(U.className):Y,style:Object.assign({},d)});if(!B)return s().createElement(P,H,j,s().createElement(L,c,F));A=!(!x||void 0!==A)||A,x=x||E;var q=[{type:"text",value:F}],V=function(e){var t=e.astGenerator,n=e.language,a=e.code,r=e.defaultCodeValue;if(y(t)){var i=function(e,t){return-1!==e.listLanguages().indexOf(t)}(t,n);return"text"===n?{value:r,language:"text"}:i?t.highlight(n,a):t.highlightAuto(a)}try{return n&&"text"!==n?{value:t.highlight(a,n)}:{value:r}}catch(o){return{value:r}}}({astGenerator:B,language:t,code:F,defaultCodeValue:q});null===V.language&&(V.value=q);var z=b(V,A,I,f,h,T,V.value.length+T,N);return s().createElement(P,H,s().createElement(L,c,!h&&j,x({rows:z,stylesheet:i,useInlineStyles:p})))});C.registerLanguage=function(e,t){return O().register(t)};const N=C},45675:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});const a={'pre[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#1e1e1e"},'code[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{padding:".1em .3em",borderRadius:".3em",color:"#db4c69",background:"#f9f2f4"},".namespace":{Opacity:".7"},comment:{color:"#6a9955"},prolog:{color:"#6a9955"},doctype:{color:"#6a9955"},cdata:{color:"#6a9955"},punctuation:{color:"#d4d4d4"},property:{color:"#9cdcfe"},tag:{color:"#569cd6"},boolean:{color:"#569cd6"},number:{color:"#b5cea8"},constant:{color:"#9CDCFE"},symbol:{color:"#b5cea8"},deleted:{color:"#b5cea8"},selector:{color:"#d7ba7d"},"attr-name":{color:"#9cdcfe"},string:{color:"#ce9178"},char:{color:"#ce9178"},builtin:{color:"#ce9178"},inserted:{color:"#ce9178"},operator:{color:"#d4d4d4",background:"#1e1e1e"},entity:{color:"#4ec9b0",background:"#1e1e1e",cursor:"unset"},url:{color:"#d4d4d4",background:"#1e1e1e"},".language-css .token.string":{color:"#d4d4d4",background:"#1e1e1e"},".style .token.string":{color:"#d4d4d4",background:"#1e1e1e"},atrule:{color:"#c586c0"},"attr-value":{color:"#ce9178"},keyword:{color:"#c586c0"},function:{color:"#dcdcaa"},regex:{color:"#d16969"},important:{color:"#d16969",fontWeight:"bold"},variable:{color:"#d16969"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},"class-name":{color:"#4EC9B0"},parameter:{color:"#9CDCFE"},interpolation:{color:"#9CDCFE"},"punctuation.interpolation-punctuation":{color:"#569cd6"},namespace:{color:"#4ec9b0"},'pre[class*="language-javascript"]':{color:"#4ec9b0"},'code[class*="language-javascript"]':{color:"#4ec9b0"},'pre[class*="language-css"]':{color:"#CE9178"},'code[class*="language-css"]':{color:"#CE9178"},'pre[class*="language-html"]':{color:"#d4d4d4"},'code[class*="language-html"]':{color:"#d4d4d4"},".language-html .token.punctuation":{color:"#808080"},"pre[data-line]":{position:"relative"},'pre[class*="language-"] > code[class*="language-"]':{position:"relative",zIndex:"1"},".line-highlight":{position:"absolute",left:"0",right:"0",padding:"inherit 0",marginTop:"1em",background:"#f7ebc6",boxShadow:"inset 5px 0 0 #f7d87c",zIndex:"0",pointerEvents:"none",lineHeight:"inherit",whiteSpace:"pre"}}},15261:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useDebounce:()=>o,useDebouncedCallback:()=>r});var a=n(4516);function r(e,t,n){void 0===n&&(n={});var r=n.maxWait,i=(0,a.useRef)(null),o=(0,a.useRef)([]),s=n.leading,d=void 0===n.trailing||n.trailing,l=(0,a.useRef)(!1),c=(0,a.useRef)(null),u=(0,a.useRef)(!1),p=(0,a.useRef)(e);p.current=e;var g=(0,a.useCallback)((function(){clearTimeout(c.current),clearTimeout(i.current),i.current=null,o.current=[],c.current=null,l.current=!1}),[]);(0,a.useEffect)((function(){return u.current=!1,function(){u.current=!0}}),[]);var _=(0,a.useCallback)((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];o.current=e,clearTimeout(c.current),l.current&&(l.current=!1),c.current||!s||l.current||(p.current.apply(p,e),l.current=!0),c.current=setTimeout((function(){var t=!0;s&&l.current&&(t=!1),g(),!u.current&&d&&t&&p.current.apply(p,e)}),t),r&&!i.current&&d&&(i.current=setTimeout((function(){var e=o.current;g(),u.current||p.current.apply(null,e)}),r))}),[r,t,g,s,d]),f=(0,a.useCallback)((function(){c.current&&(p.current.apply(null,o.current),g())}),[g]);return[_,g,f]}function i(e,t){return e===t}function o(e,t,n){var o=n&&n.equalityFn?n.equalityFn:i,s=(0,a.useState)(e),d=s[0],l=s[1],c=r((0,a.useCallback)((function(e){return l(e)}),[]),t,n),u=c[0],p=c[1],g=c[2],_=(0,a.useRef)(e);return(0,a.useEffect)((function(){o(_.current,e)||(u(e),_.current=e)}),[e,u,o]),[d,p,g]}},10025:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});var a=n(87041);const r=n.n(a)()},55549:(e,t,n)=>{"use strict";function a(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}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&a.push.apply(a,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach((function(t){r(e,t,n[t])}))}return e}n.r(t),n.d(t,{default:()=>N});var o=n(4516),s=n.n(o);function d(){return d=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},d.apply(this,arguments)}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return e.reduce((function(e,t){return i({},e,n[t])}),t)}function c(e){return e.join(" ")}function u(e){var t=e.node,n=e.stylesheet,a=e.style,r=void 0===a?{}:a,o=e.useInlineStyles,p=e.key,g=t.properties,_=t.type,f=t.tagName,m=t.value;if("text"===_)return m;if(f){var h=function(e,t){var n=0;return function(a){return n+=1,a.map((function(a,r){return u({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(r)})}))}}(n,o),R=o&&g.className&&g.className.filter((function(e){return!n[e]})),b=R&&R.length?R:void 0,E=o?i({},g,{className:b&&c(b)},{style:l(g.className,Object.assign({},g.style,r),n)}):i({},g,{className:c(g.className)}),y=h(t.children);return s().createElement(f,d({key:p},E),y)}}var p=/\n/g;function g(e){var t=e.codeString,n=e.codeStyle,a=e.containerStyle,r=void 0===a?{float:"left",paddingRight:"10px"}:a,i=e.numberStyle,o=void 0===i?{}:i,d=e.startingLineNumber;return s().createElement("code",{style:Object.assign({},n,r)},function(e){var t=e.lines,n=e.startingLineNumber,a=e.style;return t.map((function(e,t){var r=t+n;return s().createElement("span",{key:"line-".concat(t),className:"react-syntax-highlighter-line-number",style:"function"===typeof a?a(r):a},"".concat(r,"\n"))}))}({lines:t.replace(/\n$/,"").split("\n"),style:o,startingLineNumber:d}))}function _(e){var t=e.toString().length;return"".concat(t,"em")}function f(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function m(e,t,n){return i({},{display:"inline-block",minWidth:_(n),paddingRight:"1em",textAlign:"right",userSelect:"none"},"function"===typeof e?e(t):e)}function h(e){var t=e.children,n=e.lineNumber,a=e.lineNumberStyle,r=e.largestLineNumber,i=e.showInlineLineNumbers,o=e.lineProps,s=void 0===o?{}:o,d=e.className,l=void 0===d?[]:d,c="function"===typeof s?s(n):s;if(c.className=l,n&&i){var u=m(a,n,r);t.unshift(f(n,u))}return{type:"element",tagName:"span",properties:c,children:t}}function R(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=0;a<e.length;a++){var r=e[a];if("text"===r.type)n.push(h({children:[r],className:t}));else if(r.children){var i=t.concat(r.properties.className);n=n.concat(R(r.children,i))}}return n}function b(e,t,n,a,r,i,o,s){var d,l=R(e.value),c=[],u=-1,g=0;function _(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return h({children:e,lineNumber:t,lineNumberStyle:s,largestLineNumber:o,showInlineLineNumbers:r,lineProps:n,className:a})}function b(e,t){if(t&&r){var n=m(s,t,o);e.unshift(f(t,n))}return e}function E(e,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t||a.length>0?_(e,n,a):b(e,n)}for(var y=function(){var e=l[g],t=e.children[0].value;if(t.match(p)){var n=t.split("\n");n.forEach((function(t,r){var o=a&&c.length+i,s={type:"text",value:"".concat(t,"\n")};if(0===r){var d=E(l.slice(u+1,g).concat(h({children:[s],className:e.properties.className})),o);c.push(d)}else if(r===n.length-1){if(l[g+1]&&l[g+1].children&&l[g+1].children[0]){var p=h({children:[{type:"text",value:"".concat(t)}],className:e.properties.className});l.splice(g+1,0,p)}else{var _=E([s],o,e.properties.className);c.push(_)}}else{var f=E([s],o,e.properties.className);c.push(f)}})),u=g}g++};g<l.length;)y();if(u!==l.length-1){var S=l.slice(u+1,l.length);if(S&&S.length){var v=E(S,c.length+i);c.push(v)}}return t?c:(d=[]).concat.apply(d,c)}function E(e){var t=e.rows,n=e.stylesheet,a=e.useInlineStyles;return t.map((function(e,t){return u({node:e,stylesheet:n,useInlineStyles:a,key:"code-segement".concat(t)})}))}function y(e){return e&&"undefined"!==typeof e.highlightAuto}var S,v,T=n(11215),O=n.n(T),C=(S=O(),v={},function(e){var t=e.language,n=e.children,r=e.style,i=void 0===r?v:r,o=e.customStyle,d=void 0===o?{}:o,l=e.codeTagProps,c=void 0===l?{className:t?"language-".concat(t):void 0,style:i['code[class*="language-"]']}:l,u=e.useInlineStyles,p=void 0===u||u,_=e.showLineNumbers,f=void 0!==_&&_,m=e.showInlineLineNumbers,h=void 0!==m&&m,R=e.startingLineNumber,T=void 0===R?1:R,O=e.lineNumberContainerStyle,C=e.lineNumberStyle,N=void 0===C?{}:C,A=e.wrapLines,w=e.lineProps,I=void 0===w?{}:w,x=e.renderer,D=e.PreTag,P=void 0===D?"pre":D,M=e.CodeTag,L=void 0===M?"code":M,k=e.code,F=void 0===k?Array.isArray(n)?n[0]:n:k,B=e.astGenerator,U=a(e,["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"]);B=B||S;var j=f?s().createElement(g,{containerStyle:O,codeStyle:c.style||{},numberStyle:N,startingLineNumber:T,codeString:F}):null,G=i.hljs||i['pre[class*="language-"]']||{backgroundColor:"#fff"},Y=y(B)?"hljs":"prismjs",H=p?Object.assign({},U,{style:Object.assign({},G,d)}):Object.assign({},U,{className:U.className?"".concat(Y," ").concat(U.className):Y,style:Object.assign({},d)});if(!B)return s().createElement(P,H,j,s().createElement(L,c,F));A=!(!x||void 0!==A)||A,x=x||E;var q=[{type:"text",value:F}],V=function(e){var t=e.astGenerator,n=e.language,a=e.code,r=e.defaultCodeValue;if(y(t)){var i=function(e,t){return-1!==e.listLanguages().indexOf(t)}(t,n);return"text"===n?{value:r,language:"text"}:i?t.highlight(n,a):t.highlightAuto(a)}try{return n&&"text"!==n?{value:t.highlight(a,n)}:{value:r}}catch(o){return{value:r}}}({astGenerator:B,language:t,code:F,defaultCodeValue:q});null===V.language&&(V.value=q);var z=b(V,A,I,f,h,T,V.value.length+T,N);return s().createElement(P,H,s().createElement(L,c,!h&&j,x({rows:z,stylesheet:i,useInlineStyles:p})))});C.registerLanguage=function(e,t){return O().register(t)};const N=C},38967:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});const a={'pre[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#1e1e1e"},'code[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{padding:".1em .3em",borderRadius:".3em",color:"#db4c69",background:"#f9f2f4"},".namespace":{Opacity:".7"},comment:{color:"#6a9955"},prolog:{color:"#6a9955"},doctype:{color:"#6a9955"},cdata:{color:"#6a9955"},punctuation:{color:"#d4d4d4"},property:{color:"#9cdcfe"},tag:{color:"#569cd6"},boolean:{color:"#569cd6"},number:{color:"#b5cea8"},constant:{color:"#9CDCFE"},symbol:{color:"#b5cea8"},deleted:{color:"#b5cea8"},selector:{color:"#d7ba7d"},"attr-name":{color:"#9cdcfe"},string:{color:"#ce9178"},char:{color:"#ce9178"},builtin:{color:"#ce9178"},inserted:{color:"#ce9178"},operator:{color:"#d4d4d4",background:"#1e1e1e"},entity:{color:"#4ec9b0",background:"#1e1e1e",cursor:"unset"},url:{color:"#d4d4d4",background:"#1e1e1e"},".language-css .token.string":{color:"#d4d4d4",background:"#1e1e1e"},".style .token.string":{color:"#d4d4d4",background:"#1e1e1e"},atrule:{color:"#c586c0"},"attr-value":{color:"#ce9178"},keyword:{color:"#c586c0"},function:{color:"#dcdcaa"},regex:{color:"#d16969"},important:{color:"#d16969",fontWeight:"bold"},variable:{color:"#d16969"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},"class-name":{color:"#4EC9B0"},parameter:{color:"#9CDCFE"},interpolation:{color:"#9CDCFE"},"punctuation.interpolation-punctuation":{color:"#569cd6"},namespace:{color:"#4ec9b0"},'pre[class*="language-javascript"]':{color:"#4ec9b0"},'code[class*="language-javascript"]':{color:"#4ec9b0"},'pre[class*="language-css"]':{color:"#CE9178"},'code[class*="language-css"]':{color:"#CE9178"},'pre[class*="language-html"]':{color:"#d4d4d4"},'code[class*="language-html"]':{color:"#d4d4d4"},".language-html .token.punctuation":{color:"#808080"},"pre[data-line]":{position:"relative"},'pre[class*="language-"] > code[class*="language-"]':{position:"relative",zIndex:"1"},".line-highlight":{position:"absolute",left:"0",right:"0",padding:"inherit 0",marginTop:"1em",background:"#f7ebc6",boxShadow:"inset 5px 0 0 #f7d87c",zIndex:"0",pointerEvents:"none",lineHeight:"inherit",whiteSpace:"pre"}}},19506:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useDebounce:()=>o,useDebouncedCallback:()=>r});var a=n(4516);function r(e,t,n){void 0===n&&(n={});var r=n.maxWait,i=(0,a.useRef)(null),o=(0,a.useRef)([]),s=n.leading,d=void 0===n.trailing||n.trailing,l=(0,a.useRef)(!1),c=(0,a.useRef)(null),u=(0,a.useRef)(!1),p=(0,a.useRef)(e);p.current=e;var g=(0,a.useCallback)((function(){clearTimeout(c.current),clearTimeout(i.current),i.current=null,o.current=[],c.current=null,l.current=!1}),[]);(0,a.useEffect)((function(){return u.current=!1,function(){u.current=!0}}),[]);var _=(0,a.useCallback)((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];o.current=e,clearTimeout(c.current),l.current&&(l.current=!1),c.current||!s||l.current||(p.current.apply(p,e),l.current=!0),c.current=setTimeout((function(){var t=!0;s&&l.current&&(t=!1),g(),!u.current&&d&&t&&p.current.apply(p,e)}),t),r&&!i.current&&d&&(i.current=setTimeout((function(){var e=o.current;g(),u.current||p.current.apply(null,e)}),r))}),[r,t,g,s,d]),f=(0,a.useCallback)((function(){c.current&&(p.current.apply(null,o.current),g())}),[g]);return[_,g,f]}function i(e,t){return e===t}function o(e,t,n){var o=n&&n.equalityFn?n.equalityFn:i,s=(0,a.useState)(e),d=s[0],l=s[1],c=r((0,a.useCallback)((function(e){return l(e)}),[]),t,n),u=c[0],p=c[1],g=c[2],_=(0,a.useRef)(e);return(0,a.useEffect)((function(){o(_.current,e)||(u(e),_.current=e)}),[e,u,o]),[d,p,g]}},45387:(e,t,n)=>{"use strict";function a(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}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&a.push.apply(a,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach((function(t){r(e,t,n[t])}))}return e}n.r(t),n.d(t,{default:()=>C});var o=n(4516),s=n.n(o);function d(){return d=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},d.apply(this,arguments)}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return e.reduce((function(e,t){return i({},e,n[t])}),t)}function c(e){return e.join(" ")}function u(e){var t=e.node,n=e.stylesheet,a=e.style,r=void 0===a?{}:a,o=e.useInlineStyles,p=e.key,g=t.properties,_=t.type,f=t.tagName,m=t.value;if("text"===_)return m;if(f){var h=function(e,t){var n=0;return function(a){return n+=1,a.map((function(a,r){return u({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(r)})}))}}(n,o),R=o&&g.className&&g.className.filter((function(e){return!n[e]})),b=R&&R.length?R:void 0,E=o?i({},g,{className:b&&c(b)},{style:l(g.className,Object.assign({},g.style,r),n)}):i({},g,{className:c(g.className)}),y=h(t.children);return s().createElement(f,d({key:p},E),y)}}var p=/\n/g;function g(e){var t=e.codeString,n=e.codeStyle,a=e.containerStyle,r=void 0===a?{float:"left",paddingRight:"10px"}:a,i=e.numberStyle,o=void 0===i?{}:i,d=e.startingLineNumber;return s().createElement("code",{style:Object.assign({},n,r)},function(e){var t=e.lines,n=e.startingLineNumber,a=e.style;return t.map((function(e,t){var r=t+n;return s().createElement("span",{key:"line-".concat(t),className:"react-syntax-highlighter-line-number",style:"function"===typeof a?a(r):a},"".concat(r,"\n"))}))}({lines:t.replace(/\n$/,"").split("\n"),style:o,startingLineNumber:d}))}function _(e){var t=e.toString().length;return"".concat(t,"em")}function f(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function m(e,t,n){return i({},{display:"inline-block",minWidth:_(n),paddingRight:"1em",textAlign:"right",userSelect:"none"},"function"===typeof e?e(t):e)}function h(e){var t=e.children,n=e.lineNumber,a=e.lineNumberStyle,r=e.largestLineNumber,i=e.showInlineLineNumbers,o=e.lineProps,s=void 0===o?{}:o,d=e.className,l=void 0===d?[]:d,c="function"===typeof s?s(n):s;if(c.className=l,n&&i){var u=m(a,n,r);t.unshift(f(n,u))}return{type:"element",tagName:"span",properties:c,children:t}}function R(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=0;a<e.length;a++){var r=e[a];if("text"===r.type)n.push(h({children:[r],className:t}));else if(r.children){var i=t.concat(r.properties.className);n=n.concat(R(r.children,i))}}return n}function b(e,t,n,a,r,i,o,s){var d,l=R(e.value),c=[],u=-1,g=0;function _(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return h({children:e,lineNumber:t,lineNumberStyle:s,largestLineNumber:o,showInlineLineNumbers:r,lineProps:n,className:a})}function b(e,t){if(t&&r){var n=m(s,t,o);e.unshift(f(t,n))}return e}function E(e,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t||a.length>0?_(e,n,a):b(e,n)}for(var y=function(){var e=l[g],t=e.children[0].value;if(t.match(p)){var n=t.split("\n");n.forEach((function(t,r){var o=a&&c.length+i,s={type:"text",value:"".concat(t,"\n")};if(0===r){var d=E(l.slice(u+1,g).concat(h({children:[s],className:e.properties.className})),o);c.push(d)}else if(r===n.length-1){if(l[g+1]&&l[g+1].children&&l[g+1].children[0]){var p=h({children:[{type:"text",value:"".concat(t)}],className:e.properties.className});l.splice(g+1,0,p)}else{var _=E([s],o,e.properties.className);c.push(_)}}else{var f=E([s],o,e.properties.className);c.push(f)}})),u=g}g++};g<l.length;)y();if(u!==l.length-1){var S=l.slice(u+1,l.length);if(S&&S.length){var v=E(S,c.length+i);c.push(v)}}return t?c:(d=[]).concat.apply(d,c)}function E(e){var t=e.rows,n=e.stylesheet,a=e.useInlineStyles;return t.map((function(e,t){return u({node:e,stylesheet:n,useInlineStyles:a,key:"code-segement".concat(t)})}))}function y(e){return e&&"undefined"!==typeof e.highlightAuto}var S=n(26912);var v,T,O=(v=n.n(S)(),T={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#F0F0F0",color:"#444"},"hljs-subst":{color:"#444"},"hljs-comment":{color:"#888888"},"hljs-keyword":{fontWeight:"bold"},"hljs-attribute":{fontWeight:"bold"},"hljs-selector-tag":{fontWeight:"bold"},"hljs-meta-keyword":{fontWeight:"bold"},"hljs-doctag":{fontWeight:"bold"},"hljs-name":{fontWeight:"bold"},"hljs-type":{color:"#880000"},"hljs-string":{color:"#880000"},"hljs-number":{color:"#880000"},"hljs-selector-id":{color:"#880000"},"hljs-selector-class":{color:"#880000"},"hljs-quote":{color:"#880000"},"hljs-template-tag":{color:"#880000"},"hljs-deletion":{color:"#880000"},"hljs-title":{color:"#880000",fontWeight:"bold"},"hljs-section":{color:"#880000",fontWeight:"bold"},"hljs-regexp":{color:"#BC6060"},"hljs-symbol":{color:"#BC6060"},"hljs-variable":{color:"#BC6060"},"hljs-template-variable":{color:"#BC6060"},"hljs-link":{color:"#BC6060"},"hljs-selector-attr":{color:"#BC6060"},"hljs-selector-pseudo":{color:"#BC6060"},"hljs-literal":{color:"#78A960"},"hljs-built_in":{color:"#397300"},"hljs-bullet":{color:"#397300"},"hljs-code":{color:"#397300"},"hljs-addition":{color:"#397300"},"hljs-meta":{color:"#1f7199"},"hljs-meta-string":{color:"#4d99bf"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}},function(e){var t=e.language,n=e.children,r=e.style,i=void 0===r?T:r,o=e.customStyle,d=void 0===o?{}:o,l=e.codeTagProps,c=void 0===l?{className:t?"language-".concat(t):void 0,style:i['code[class*="language-"]']}:l,u=e.useInlineStyles,p=void 0===u||u,_=e.showLineNumbers,f=void 0!==_&&_,m=e.showInlineLineNumbers,h=void 0!==m&&m,R=e.startingLineNumber,S=void 0===R?1:R,O=e.lineNumberContainerStyle,C=e.lineNumberStyle,N=void 0===C?{}:C,A=e.wrapLines,w=e.lineProps,I=void 0===w?{}:w,x=e.renderer,D=e.PreTag,P=void 0===D?"pre":D,M=e.CodeTag,L=void 0===M?"code":M,k=e.code,F=void 0===k?Array.isArray(n)?n[0]:n:k,B=e.astGenerator,U=a(e,["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"]);B=B||v;var j=f?s().createElement(g,{containerStyle:O,codeStyle:c.style||{},numberStyle:N,startingLineNumber:S,codeString:F}):null,G=i.hljs||i['pre[class*="language-"]']||{backgroundColor:"#fff"},Y=y(B)?"hljs":"prismjs",H=p?Object.assign({},U,{style:Object.assign({},G,d)}):Object.assign({},U,{className:U.className?"".concat(Y," ").concat(U.className):Y,style:Object.assign({},d)});if(!B)return s().createElement(P,H,j,s().createElement(L,c,F));A=!(!x||void 0!==A)||A,x=x||E;var q=[{type:"text",value:F}],V=function(e){var t=e.astGenerator,n=e.language,a=e.code,r=e.defaultCodeValue;if(y(t)){var i=function(e,t){return-1!==e.listLanguages().indexOf(t)}(t,n);return"text"===n?{value:r,language:"text"}:i?t.highlight(n,a):t.highlightAuto(a)}try{return n&&"text"!==n?{value:t.highlight(a,n)}:{value:r}}catch(o){return{value:r}}}({astGenerator:B,language:t,code:F,defaultCodeValue:q});null===V.language&&(V.value=q);var z=b(V,A,I,f,h,S,V.value.length+S,N);return s().createElement(P,H,s().createElement(L,c,!h&&j,x({rows:z,stylesheet:i,useInlineStyles:p})))});O.supportedLanguages=["1c","abnf","accesslog","actionscript","ada","angelscript","apache","applescript","arcade","arduino","armasm","asciidoc","aspectj","autohotkey","autoit","avrasm","awk","axapta","bash","basic","bnf","brainfuck","c-like","c","cal","capnproto","ceylon","clean","clojure-repl","clojure","cmake","coffeescript","coq","cos","cpp","crmsh","crystal","csharp","csp","css","d","dart","delphi","diff","django","dns","dockerfile","dos","dsconfig","dts","dust","ebnf","elixir","elm","erb","erlang-repl","erlang","excel","fix","flix","fortran","fsharp","gams","gauss","gcode","gherkin","glsl","gml","go","golo","gradle","groovy","haml","handlebars","haskell","haxe","hsp","htmlbars","http","hy","inform7","ini","irpf90","isbl","java","javascript","jboss-cli","json","julia-repl","julia","kotlin","lasso","latex","ldif","leaf","less","lisp","livecodeserver","livescript","llvm","lsl","lua","makefile","markdown","mathematica","matlab","maxima","mel","mercury","mipsasm","mizar","mojolicious","monkey","moonscript","n1ql","nginx","nim","nix","nsis","objectivec","ocaml","openscad","oxygene","parser3","perl","pf","pgsql","php-template","php","plaintext","pony","powershell","processing","profile","prolog","properties","protobuf","puppet","purebasic","python-repl","python","q","qml","r","reasonml","rib","roboconf","routeros","rsl","ruby","ruleslanguage","rust","sas","scala","scheme","scilab","scss","shell","smali","smalltalk","sml","sqf","sql","stan","stata","step21","stylus","subunit","swift","taggerscript","tap","tcl","thrift","tp","twig","typescript","vala","vbnet","vbscript-html","vbscript","verilog","vhdl","vim","x86asm","xl","xml","xquery","yaml","zephir"];const C=O},48167:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});const a={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#fff",color:"black"},"xml .hljs-meta":{color:"#c0c0c0"},"hljs-comment":{color:"#007400"},"hljs-quote":{color:"#007400"},"hljs-tag":{color:"#aa0d91"},"hljs-attribute":{color:"#aa0d91"},"hljs-keyword":{color:"#aa0d91"},"hljs-selector-tag":{color:"#aa0d91"},"hljs-literal":{color:"#aa0d91"},"hljs-name":{color:"#aa0d91"},"hljs-variable":{color:"#3F6E74"},"hljs-template-variable":{color:"#3F6E74"},"hljs-code":{color:"#c41a16"},"hljs-string":{color:"#c41a16"},"hljs-meta-string":{color:"#c41a16"},"hljs-regexp":{color:"#0E0EFF"},"hljs-link":{color:"#0E0EFF"},"hljs-title":{color:"#1c00cf"},"hljs-symbol":{color:"#1c00cf"},"hljs-bullet":{color:"#1c00cf"},"hljs-number":{color:"#1c00cf"},"hljs-section":{color:"#643820"},"hljs-meta":{color:"#643820"},"hljs-class .hljs-title":{color:"#5c2699"},"hljs-type":{color:"#5c2699"},"hljs-built_in":{color:"#5c2699"},"hljs-builtin-name":{color:"#5c2699"},"hljs-params":{color:"#5c2699"},"hljs-attr":{color:"#836C28"},"hljs-subst":{color:"#000"},"hljs-formula":{backgroundColor:"#eee",fontStyle:"italic"},"hljs-addition":{backgroundColor:"#baeeba"},"hljs-deletion":{backgroundColor:"#ffc8bd"},"hljs-selector-id":{color:"#9b703f"},"hljs-selector-class":{color:"#9b703f"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}}},69772:(e,t,n)=>{"use strict";n.r(t),n.d(t,{tippy:()=>a.default,default:()=>E,useSingleton:()=>b});var a=n(45088),r=n(4516),i=n.n(r),o=n(79283);function s(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}var d="undefined"!==typeof window&&"undefined"!==typeof document;function l(e,t){e&&("function"===typeof e&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function c(){return d&&document.createElement("div")}function u(e,t){var n,a;return Object.assign({},t,{popperOptions:Object.assign({},e.popperOptions,t.popperOptions,{modifiers:[].concat(((null==(n=e.popperOptions)?void 0:n.modifiers)||[]).filter((function(e){return e.name.indexOf("tippy")>=0})),(null==(a=t.popperOptions)?void 0:a.modifiers)||[])})})}var p=d?r.useLayoutEffect:r.useEffect;function g(e){var t=(0,r.useRef)();return t.current||(t.current="function"===typeof e?e():e),t.current}function _(e,t,n){n.split(/\s+/).forEach((function(n){n&&e.classList[t](n)}))}var f={name:"className",defaultValue:"",fn:function(e){var t=e.popper.firstElementChild,n=function(){var t;return!!(null==(t=e.props.render)?void 0:t.$$tippy)};function a(){e.props.className&&!n()||_(t,"add",e.props.className)}return{onCreate:a,onBeforeUpdate:function(){n()&&_(t,"remove",e.props.className)},onAfterUpdate:a}}};function m(e){return function(t){var n=t.children,a=t.content,d=t.visible,_=t.singleton,m=t.render,h=t.reference,R=t.disabled,b=void 0!==R&&R,E=t.ignoreAttributes,y=void 0===E||E,S=(t.__source,t.__self,s(t,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"])),v=void 0!==d,T=void 0!==_,O=(0,r.useState)(!1),C=O[0],N=O[1],A=(0,r.useState)({}),w=A[0],I=A[1],x=(0,r.useState)(),D=x[0],P=x[1],M=g((function(){return{container:c(),renders:1}})),L=Object.assign({ignoreAttributes:y},S,{content:M.container});v&&(L.trigger="manual",L.hideOnClick=!1),T&&(b=!0);var k=L,F=L.plugins||[];m&&(k=Object.assign({},L,{plugins:T?[].concat(F,[{fn:function(){return{onTrigger:function(e,t){var n=_.data.children.find((function(e){return e.instance.reference===t.currentTarget})).content;P(n)}}}}]):F,render:function(){return{popper:M.container}}}));var B=[h].concat(n?[n.type]:[]);return p((function(){var t=h;h&&h.hasOwnProperty("current")&&(t=h.current);var n=e(t||M.ref||c(),Object.assign({},k,{plugins:[f].concat(L.plugins||[])}));return M.instance=n,b&&n.disable(),d&&n.show(),T&&_.hook({instance:n,content:a,props:k}),N(!0),function(){n.destroy(),null==_||_.cleanup(n)}}),B),p((function(){if(1!==M.renders){var e=M.instance;e.setProps(u(e.props,k)),b?e.disable():e.enable(),v&&(d?e.show():e.hide()),T&&_.hook({instance:e,content:a,props:k})}else M.renders++})),p((function(){var e;if(m){var t=M.instance;t.setProps({popperOptions:Object.assign({},t.props.popperOptions,{modifiers:[].concat((null==(e=t.props.popperOptions)?void 0:e.modifiers)||[],[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t,n=e.state,a=null==(t=n.modifiersData)?void 0:t.hide;w.placement===n.placement&&w.referenceHidden===(null==a?void 0:a.isReferenceHidden)&&w.escaped===(null==a?void 0:a.hasPopperEscaped)||I({placement:n.placement,referenceHidden:null==a?void 0:a.isReferenceHidden,escaped:null==a?void 0:a.hasPopperEscaped}),n.attributes.popper={}}}])})})}}),[w.placement,w.referenceHidden,w.escaped].concat(B)),i().createElement(i().Fragment,null,n?(0,r.cloneElement)(n,{ref:function(e){M.ref=e,l(n.ref,e)}}):null,C&&(0,o.createPortal)(m?m(function(e){var t={"data-placement":e.placement};return e.referenceHidden&&(t["data-reference-hidden"]=""),e.escaped&&(t["data-escaped"]=""),t}(w),D,M.instance):a,M.container))}}function h(e){return function(t){var n=void 0===t?{}:t,a=n.disabled,i=void 0!==a&&a,o=n.overrides,d=void 0===o?[]:o,l=(0,r.useState)(!1),c=l[0],_=l[1],m=g({children:[],renders:1});return p((function(){if(c){var t=m.children,n=m.sourceData;if(n){var a=e(t.map((function(e){return e.instance})),Object.assign({},n.props,{popperOptions:n.instance.props.popperOptions,overrides:d,plugins:[f].concat(n.props.plugins||[])}));return m.instance=a,i&&a.disable(),function(){a.destroy(),m.children=t.filter((function(e){return!e.instance.state.isDestroyed}))}}}else _(!0)}),[c]),p((function(){if(c)if(1!==m.renders){var e=m.children,t=m.instance,n=m.sourceData;if(t&&n){var a=n.props,r=(a.content,s(a,["content"]));t.setProps(u(t,Object.assign({},r,{overrides:d}))),t.setInstances(e.map((function(e){return e.instance}))),i?t.disable():t.enable()}}else m.renders++})),(0,r.useMemo)((function(){return[{data:m,hook:function(e){m.sourceData=e},cleanup:function(){m.sourceData=null}},{hook:function(e){m.children.find((function(t){var n=t.instance;return e.instance===n}))||m.children.push(e)},cleanup:function(e){m.children=m.children.filter((function(t){return t.instance!==e}))}}]}),[])}}var R=function(e,t){return(0,r.forwardRef)((function(n,a){var o=n.children,d=s(n,["children"]);return i().createElement(e,Object.assign({},t,d),o?(0,r.cloneElement)(o,{ref:function(e){l(a,e),l(o.ref,e)}}):null)}))},b=h(a.createSingleton);const E=R(m(a.default))},40832:e=>{e.exports=function(e,t){var n,a;return e||(e=[]),n=e,"[object Arguments]"===Object.prototype.toString.call(n)&&(e=[].splice.call(e,0)),a=e,"[object Object]"===Object.prototype.toString.call(a)&&t&&(e=function(e){return Object.keys(e).map((function(t){return e[t]}))}(e)),Array.isArray(e)?e:[e]}},69282:(e,t,n)=>{"use strict";var a=n(34155);function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var i,o,s=n(62136).codes,d=s.ERR_AMBIGUOUS_ARGUMENT,l=s.ERR_INVALID_ARG_TYPE,c=s.ERR_INVALID_ARG_VALUE,u=s.ERR_INVALID_RETURN_VALUE,p=s.ERR_MISSING_ARGS,g=n(25961),_=n(89539).inspect,f=n(89539).types,m=f.isPromise,h=f.isRegExp,R=Object.assign?Object.assign:n(8091).assign,b=Object.is?Object.is:n(20609);new Map;function E(){var e=n(19158);i=e.isDeepEqual,o=e.isDeepStrictEqual}var y=!1,S=e.exports=C,v={};function T(e){if(e.message instanceof Error)throw e.message;throw new g(e)}function O(e,t,n,a){if(!n){var r=!1;if(0===t)r=!0,a="No value argument passed to `assert.ok()`";else if(a instanceof Error)throw a;var i=new g({actual:n,expected:!0,message:a,operator:"==",stackStartFn:e});throw i.generatedMessage=r,i}}function C(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];O.apply(void 0,[C,t.length].concat(t))}S.fail=function e(t,n,r,i,o){var s,d=arguments.length;if(0===d)s="Failed";else if(1===d)r=t,t=void 0;else{if(!1===y){y=!0;var l=a.emitWarning?a.emitWarning:console.warn.bind(console);l("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}2===d&&(i="!=")}if(r instanceof Error)throw r;var c={actual:t,expected:n,operator:void 0===i?"fail":i,stackStartFn:o||e};void 0!==r&&(c.message=r);var u=new g(c);throw s&&(u.message=s,u.generatedMessage=!0),u},S.AssertionError=g,S.ok=C,S.equal=function e(t,n,a){if(arguments.length<2)throw new p("actual","expected");t!=n&&T({actual:t,expected:n,message:a,operator:"==",stackStartFn:e})},S.notEqual=function e(t,n,a){if(arguments.length<2)throw new p("actual","expected");t==n&&T({actual:t,expected:n,message:a,operator:"!=",stackStartFn:e})},S.deepEqual=function e(t,n,a){if(arguments.length<2)throw new p("actual","expected");void 0===i&&E(),i(t,n)||T({actual:t,expected:n,message:a,operator:"deepEqual",stackStartFn:e})},S.notDeepEqual=function e(t,n,a){if(arguments.length<2)throw new p("actual","expected");void 0===i&&E(),i(t,n)&&T({actual:t,expected:n,message:a,operator:"notDeepEqual",stackStartFn:e})},S.deepStrictEqual=function e(t,n,a){if(arguments.length<2)throw new p("actual","expected");void 0===i&&E(),o(t,n)||T({actual:t,expected:n,message:a,operator:"deepStrictEqual",stackStartFn:e})},S.notDeepStrictEqual=function e(t,n,a){if(arguments.length<2)throw new p("actual","expected");void 0===i&&E();o(t,n)&&T({actual:t,expected:n,message:a,operator:"notDeepStrictEqual",stackStartFn:e})},S.strictEqual=function e(t,n,a){if(arguments.length<2)throw new p("actual","expected");b(t,n)||T({actual:t,expected:n,message:a,operator:"strictEqual",stackStartFn:e})},S.notStrictEqual=function e(t,n,a){if(arguments.length<2)throw new p("actual","expected");b(t,n)&&T({actual:t,expected:n,message:a,operator:"notStrictEqual",stackStartFn:e})};var N=function e(t,n,a){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n.forEach((function(e){e in t&&(void 0!==a&&"string"===typeof a[e]&&h(t[e])&&t[e].test(a[e])?r[e]=a[e]:r[e]=t[e])}))};function A(e,t,n,a,r,i){if(!(n in e)||!o(e[n],t[n])){if(!a){var s=new N(e,r),d=new N(t,r,e),l=new g({actual:s,expected:d,operator:"deepStrictEqual",stackStartFn:i});throw l.actual=e,l.expected=t,l.operator=i.name,l}T({actual:e,expected:t,message:a,operator:i.name,stackStartFn:i})}}function w(e,t,n,a){if("function"!==typeof t){if(h(t))return t.test(e);if(2===arguments.length)throw new l("expected",["Function","RegExp"],t);if("object"!==r(e)||null===e){var o=new g({actual:e,expected:t,message:n,operator:"deepStrictEqual",stackStartFn:a});throw o.operator=a.name,o}var s=Object.keys(t);if(t instanceof Error)s.push("name","message");else if(0===s.length)throw new c("error",t,"may not be an empty object");return void 0===i&&E(),s.forEach((function(r){"string"===typeof e[r]&&h(t[r])&&t[r].test(e[r])||A(e,t,r,n,s,a)})),!0}return void 0!==t.prototype&&e instanceof t||!Error.isPrototypeOf(t)&&!0===t.call({},e)}function I(e){if("function"!==typeof e)throw new l("fn","Function",e);try{e()}catch(t){return t}return v}function x(e){return m(e)||null!==e&&"object"===r(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function D(e){return Promise.resolve().then((function(){var t;if("function"===typeof e){if(!x(t=e()))throw new u("instance of Promise","promiseFn",t)}else{if(!x(e))throw new l("promiseFn",["Function","Promise"],e);t=e}return Promise.resolve().then((function(){return t})).then((function(){return v})).catch((function(e){return e}))}))}function P(e,t,n,a){if("string"===typeof n){if(4===arguments.length)throw new l("error",["Object","Error","Function","RegExp"],n);if("object"===r(t)&&null!==t){if(t.message===n)throw new d("error/message",'The error message "'.concat(t.message,'" is identical to the message.'))}else if(t===n)throw new d("error/message",'The error "'.concat(t,'" is identical to the message.'));a=n,n=void 0}else if(null!=n&&"object"!==r(n)&&"function"!==typeof n)throw new l("error",["Object","Error","Function","RegExp"],n);if(t===v){var i="";n&&n.name&&(i+=" (".concat(n.name,")")),i+=a?": ".concat(a):".";var o="rejects"===e.name?"rejection":"exception";T({actual:void 0,expected:n,operator:e.name,message:"Missing expected ".concat(o).concat(i),stackStartFn:e})}if(n&&!w(t,n,a,e))throw t}function M(e,t,n,a){if(t!==v){if("string"===typeof n&&(a=n,n=void 0),!n||w(t,n)){var r=a?": ".concat(a):".",i="doesNotReject"===e.name?"rejection":"exception";T({actual:t,expected:n,operator:e.name,message:"Got unwanted ".concat(i).concat(r,"\n")+'Actual message: "'.concat(t&&t.message,'"'),stackStartFn:e})}throw t}}function L(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];O.apply(void 0,[L,t.length].concat(t))}S.throws=function e(t){for(var n=arguments.length,a=new Array(n>1?n-1:0),r=1;r<n;r++)a[r-1]=arguments[r];P.apply(void 0,[e,I(t)].concat(a))},S.rejects=function e(t){for(var n=arguments.length,a=new Array(n>1?n-1:0),r=1;r<n;r++)a[r-1]=arguments[r];return D(t).then((function(t){return P.apply(void 0,[e,t].concat(a))}))},S.doesNotThrow=function e(t){for(var n=arguments.length,a=new Array(n>1?n-1:0),r=1;r<n;r++)a[r-1]=arguments[r];M.apply(void 0,[e,I(t)].concat(a))},S.doesNotReject=function e(t){for(var n=arguments.length,a=new Array(n>1?n-1:0),r=1;r<n;r++)a[r-1]=arguments[r];return D(t).then((function(t){return M.apply(void 0,[e,t].concat(a))}))},S.ifError=function e(t){if(null!==t&&void 0!==t){var n="ifError got unwanted exception: ";"object"===r(t)&&"string"===typeof t.message?0===t.message.length&&t.constructor?n+=t.constructor.name:n+=t.message:n+=_(t);var a=new g({actual:t,expected:null,operator:"ifError",message:n,stackStartFn:e}),i=t.stack;if("string"===typeof i){var o=i.split("\n");o.shift();for(var s=a.stack.split("\n"),d=0;d<o.length;d++){var l=s.indexOf(o[d]);if(-1!==l){s=s.slice(0,l);break}}a.stack="".concat(s.join("\n"),"\n").concat(o.join("\n"))}throw a}},S.strict=R(L,S,{equal:S.strictEqual,deepEqual:S.deepStrictEqual,notEqual:S.notStrictEqual,notDeepEqual:S.notDeepStrictEqual}),S.strict.strict=S.strict},25961:(e,t,n)=>{"use strict";var a=n(34155);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function o(e,t){return!t||"object"!==g(t)&&"function"!==typeof t?s(e):t}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){var t="function"===typeof Map?new Map:void 0;return d=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,a)}function a(){return c(e,arguments,p(this).constructor)}return a.prototype=Object.create(e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),u(a,e)},d(e)}function l(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function c(e,t,n){return c=l()?Reflect.construct:function(e,t,n){var a=[null];a.push.apply(a,t);var r=new(Function.bind.apply(e,a));return n&&u(r,n.prototype),r},c.apply(null,arguments)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function g(e){return g="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}var _=n(89539).inspect,f=n(62136).codes.ERR_INVALID_ARG_TYPE;function m(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}var h="",R="",b="",E="",y={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function S(e){var t=Object.keys(e),n=Object.create(Object.getPrototypeOf(e));return t.forEach((function(t){n[t]=e[t]})),Object.defineProperty(n,"message",{value:e.message}),n}function v(e){return _(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function T(e,t,n){var r="",i="",o=0,s="",d=!1,l=v(e),c=l.split("\n"),u=v(t).split("\n"),p=0,_="";if("strictEqual"===n&&"object"===g(e)&&"object"===g(t)&&null!==e&&null!==t&&(n="strictEqualObject"),1===c.length&&1===u.length&&c[0]!==u[0]){var f=c[0].length+u[0].length;if(f<=10){if(("object"!==g(e)||null===e)&&("object"!==g(t)||null===t)&&(0!==e||0!==t))return"".concat(y[n],"\n\n")+"".concat(c[0]," !== ").concat(u[0],"\n")}else if("strictEqualObject"!==n){if(f<(a.stderr&&a.stderr.isTTY?a.stderr.columns:80)){for(;c[0][p]===u[0][p];)p++;p>2&&(_="\n ".concat(function(e,t){if(t=Math.floor(t),0==e.length||0==t)return"";var n=e.length*t;for(t=Math.floor(Math.log(t)/Math.log(2));t;)e+=e,t--;return e+e.substring(0,n-e.length)}(" ",p),"^"),p=0)}}}for(var S=c[c.length-1],T=u[u.length-1];S===T&&(p++<2?s="\n ".concat(S).concat(s):r=S,c.pop(),u.pop(),0!==c.length&&0!==u.length);)S=c[c.length-1],T=u[u.length-1];var O=Math.max(c.length,u.length);if(0===O){var C=l.split("\n");if(C.length>30)for(C[26]="".concat(h,"...").concat(E);C.length>27;)C.pop();return"".concat(y.notIdentical,"\n\n").concat(C.join("\n"),"\n")}p>3&&(s="\n".concat(h,"...").concat(E).concat(s),d=!0),""!==r&&(s="\n ".concat(r).concat(s),r="");var N=0,A=y[n]+"\n".concat(R,"+ actual").concat(E," ").concat(b,"- expected").concat(E),w=" ".concat(h,"...").concat(E," Lines skipped");for(p=0;p<O;p++){var I=p-o;if(c.length<p+1)I>1&&p>2&&(I>4?(i+="\n".concat(h,"...").concat(E),d=!0):I>3&&(i+="\n ".concat(u[p-2]),N++),i+="\n ".concat(u[p-1]),N++),o=p,r+="\n".concat(b,"-").concat(E," ").concat(u[p]),N++;else if(u.length<p+1)I>1&&p>2&&(I>4?(i+="\n".concat(h,"...").concat(E),d=!0):I>3&&(i+="\n ".concat(c[p-2]),N++),i+="\n ".concat(c[p-1]),N++),o=p,i+="\n".concat(R,"+").concat(E," ").concat(c[p]),N++;else{var x=u[p],D=c[p],P=D!==x&&(!m(D,",")||D.slice(0,-1)!==x);P&&m(x,",")&&x.slice(0,-1)===D&&(P=!1,D+=","),P?(I>1&&p>2&&(I>4?(i+="\n".concat(h,"...").concat(E),d=!0):I>3&&(i+="\n ".concat(c[p-2]),N++),i+="\n ".concat(c[p-1]),N++),o=p,i+="\n".concat(R,"+").concat(E," ").concat(D),r+="\n".concat(b,"-").concat(E," ").concat(x),N+=2):(i+=r,r="",1!==I&&0!==p||(i+="\n ".concat(D),N++))}if(N>20&&p<O-2)return"".concat(A).concat(w,"\n").concat(i,"\n").concat(h,"...").concat(E).concat(r,"\n")+"".concat(h,"...").concat(E)}return"".concat(A).concat(d?w:"","\n").concat(i).concat(r).concat(s).concat(_)}var O=function(e){function t(e){var n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),"object"!==g(e)||null===e)throw new f("options","Object",e);var r=e.message,i=e.operator,d=e.stackStartFn,l=e.actual,c=e.expected,u=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=r)n=o(this,p(t).call(this,String(r)));else if(a.stderr&&a.stderr.isTTY&&(a.stderr&&a.stderr.getColorDepth&&1!==a.stderr.getColorDepth()?(h="\x1b[34m",R="\x1b[32m",E="\x1b[39m",b="\x1b[31m"):(h="",R="",E="",b="")),"object"===g(l)&&null!==l&&"object"===g(c)&&null!==c&&"stack"in l&&l instanceof Error&&"stack"in c&&c instanceof Error&&(l=S(l),c=S(c)),"deepStrictEqual"===i||"strictEqual"===i)n=o(this,p(t).call(this,T(l,c,i)));else if("notDeepStrictEqual"===i||"notStrictEqual"===i){var _=y[i],m=v(l).split("\n");if("notStrictEqual"===i&&"object"===g(l)&&null!==l&&(_=y.notStrictEqualObject),m.length>30)for(m[26]="".concat(h,"...").concat(E);m.length>27;)m.pop();n=1===m.length?o(this,p(t).call(this,"".concat(_," ").concat(m[0]))):o(this,p(t).call(this,"".concat(_,"\n\n").concat(m.join("\n"),"\n")))}else{var O=v(l),C="",N=y[i];"notDeepEqual"===i||"notEqual"===i?(O="".concat(y[i],"\n\n").concat(O)).length>1024&&(O="".concat(O.slice(0,1021),"...")):(C="".concat(v(c)),O.length>512&&(O="".concat(O.slice(0,509),"...")),C.length>512&&(C="".concat(C.slice(0,509),"...")),"deepEqual"===i||"equal"===i?O="".concat(N,"\n\n").concat(O,"\n\nshould equal\n\n"):C=" ".concat(i," ").concat(C)),n=o(this,p(t).call(this,"".concat(O).concat(C)))}return Error.stackTraceLimit=u,n.generatedMessage=!r,Object.defineProperty(s(n),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),n.code="ERR_ASSERTION",n.actual=l,n.expected=c,n.operator=i,Error.captureStackTrace&&Error.captureStackTrace(s(n),d),n.stack,n.name="AssertionError",o(n)}var n,d,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),n=t,d=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:_.custom,value:function(e,t){return _(this,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){r(e,t,n[t])}))}return e}({},t,{customInspect:!1,depth:0}))}}],d&&i(n.prototype,d),l&&i(n,l),t}(d(Error));e.exports=O},62136:(e,t,n)=>{"use strict";function a(e){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function r(e,t){return!t||"object"!==a(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},i(e)}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}var s,d,l={};function c(e,t,n){n||(n=Error);var a=function(n){function a(n,o,s){var d;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),d=r(this,i(a).call(this,function(e,n,a){return"string"===typeof t?t:t(e,n,a)}(n,o,s))),d.code=e,d}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(a,n),a}(n);l[e]=a}function u(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}c("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),c("ERR_INVALID_ARG_TYPE",(function(e,t,r){var i,o,d,l;if(void 0===s&&(s=n(69282)),s("string"===typeof e,"'name' must be a string"),"string"===typeof t&&(o="not ",t.substr(!d||d<0?0:+d,o.length)===o)?(i="must not be",t=t.replace(/^not /,"")):i="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))l="The ".concat(e," ").concat(i," ").concat(u(t,"type"));else{var c=function(e,t,n){return"number"!==typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";l='The "'.concat(e,'" ').concat(c," ").concat(i," ").concat(u(t,"type"))}return l+=". Received type ".concat(a(r))}),TypeError),c("ERR_INVALID_ARG_VALUE",(function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===d&&(d=n(89539));var r=d.inspect(t);return r.length>128&&(r="".concat(r.slice(0,128),"...")),"The argument '".concat(e,"' ").concat(a,". Received ").concat(r)}),TypeError,RangeError),c("ERR_INVALID_RETURN_VALUE",(function(e,t,n){var r;return r=n&&n.constructor&&n.constructor.name?"instance of ".concat(n.constructor.name):"type ".concat(a(n)),"Expected ".concat(e,' to be returned from the "').concat(t,'"')+" function but got ".concat(r,".")}),TypeError),c("ERR_MISSING_ARGS",(function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];void 0===s&&(s=n(69282)),s(t.length>0,"At least one arg needs to be specified");var r="The ",i=t.length;switch(t=t.map((function(e){return'"'.concat(e,'"')})),i){case 1:r+="".concat(t[0]," argument");break;case 2:r+="".concat(t[0]," and ").concat(t[1]," arguments");break;default:r+=t.slice(0,i-1).join(", "),r+=", and ".concat(t[i-1]," arguments")}return"".concat(r," must be specified")}),TypeError),e.exports.codes=l},19158:(e,t,n)=>{"use strict";function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(d){r=!0,i=d}finally{try{a||null==s.return||s.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var i=void 0!==/a/g.flags,o=function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t},s=function(e){var t=[];return e.forEach((function(e,n){return t.push([n,e])})),t},d=Object.is?Object.is:n(20609),l=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},c=Number.isNaN?Number.isNaN:n(20360);function u(e){return e.call.bind(e)}var p=u(Object.prototype.hasOwnProperty),g=u(Object.prototype.propertyIsEnumerable),_=u(Object.prototype.toString),f=n(89539).types,m=f.isAnyArrayBuffer,h=f.isArrayBufferView,R=f.isDate,b=f.isMap,E=f.isRegExp,y=f.isSet,S=f.isNativeError,v=f.isBoxedPrimitive,T=f.isNumberObject,O=f.isStringObject,C=f.isBooleanObject,N=f.isBigIntObject,A=f.isSymbolObject,w=f.isFloat32Array,I=f.isFloat64Array;function x(e){if(0===e.length||e.length>10)return!0;for(var t=0;t<e.length;t++){var n=e.charCodeAt(t);if(n<48||n>57)return!0}return 10===e.length&&e>=Math.pow(2,32)}function D(e){return Object.keys(e).filter(x).concat(l(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))}function P(e,t){if(e===t)return 0;for(var n=e.length,a=t.length,r=0,i=Math.min(n,a);r<i;++r)if(e[r]!==t[r]){n=e[r],a=t[r];break}return n<a?-1:a<n?1:0}function M(e,t,n,a){if(e===t)return 0!==e||(!n||d(e,t));if(n){if("object"!==r(e))return"number"===typeof e&&c(e)&&c(t);if("object"!==r(t)||null===e||null===t)return!1;if(Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1}else{if(null===e||"object"!==r(e))return(null===t||"object"!==r(t))&&e==t;if(null===t||"object"!==r(t))return!1}var o,s,l,u,p=_(e);if(p!==_(t))return!1;if(Array.isArray(e)){if(e.length!==t.length)return!1;var g=D(e),f=D(t);return g.length===f.length&&k(e,t,n,a,1,g)}if("[object Object]"===p&&(!b(e)&&b(t)||!y(e)&&y(t)))return!1;if(R(e)){if(!R(t)||Date.prototype.getTime.call(e)!==Date.prototype.getTime.call(t))return!1}else if(E(e)){if(!E(t)||(l=e,u=t,!(i?l.source===u.source&&l.flags===u.flags:RegExp.prototype.toString.call(l)===RegExp.prototype.toString.call(u))))return!1}else if(S(e)||e instanceof Error){if(e.message!==t.message||e.name!==t.name)return!1}else{if(h(e)){if(n||!w(e)&&!I(e)){if(!function(e,t){return e.byteLength===t.byteLength&&0===P(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}(e,t))return!1}else if(!function(e,t){if(e.byteLength!==t.byteLength)return!1;for(var n=0;n<e.byteLength;n++)if(e[n]!==t[n])return!1;return!0}(e,t))return!1;var x=D(e),M=D(t);return x.length===M.length&&k(e,t,n,a,0,x)}if(y(e))return!(!y(t)||e.size!==t.size)&&k(e,t,n,a,2);if(b(e))return!(!b(t)||e.size!==t.size)&&k(e,t,n,a,3);if(m(e)){if(s=t,(o=e).byteLength!==s.byteLength||0!==P(new Uint8Array(o),new Uint8Array(s)))return!1}else if(v(e)&&!function(e,t){return T(e)?T(t)&&d(Number.prototype.valueOf.call(e),Number.prototype.valueOf.call(t)):O(e)?O(t)&&String.prototype.valueOf.call(e)===String.prototype.valueOf.call(t):C(e)?C(t)&&Boolean.prototype.valueOf.call(e)===Boolean.prototype.valueOf.call(t):N(e)?N(t)&&BigInt.prototype.valueOf.call(e)===BigInt.prototype.valueOf.call(t):A(t)&&Symbol.prototype.valueOf.call(e)===Symbol.prototype.valueOf.call(t)}(e,t))return!1}return k(e,t,n,a,0)}function L(e,t){return t.filter((function(t){return g(e,t)}))}function k(e,t,n,a,r,i){if(5===arguments.length){i=Object.keys(e);var o=Object.keys(t);if(i.length!==o.length)return!1}for(var s=0;s<i.length;s++)if(!p(t,i[s]))return!1;if(n&&5===arguments.length){var d=l(e);if(0!==d.length){var c=0;for(s=0;s<d.length;s++){var u=d[s];if(g(e,u)){if(!g(t,u))return!1;i.push(u),c++}else if(g(t,u))return!1}var _=l(t);if(d.length!==_.length&&L(t,_).length!==c)return!1}else{var f=l(t);if(0!==f.length&&0!==L(t,f).length)return!1}}if(0===i.length&&(0===r||1===r&&0===e.length||0===e.size))return!0;if(void 0===a)a={val1:new Map,val2:new Map,position:0};else{var m=a.val1.get(e);if(void 0!==m){var h=a.val2.get(t);if(void 0!==h)return m===h}a.position++}a.val1.set(e,a.position),a.val2.set(t,a.position);var R=Y(e,t,n,i,a,r);return a.val1.delete(e),a.val2.delete(t),R}function F(e,t,n,a){for(var r=o(e),i=0;i<r.length;i++){var s=r[i];if(M(t,s,n,a))return e.delete(s),!0}return!1}function B(e){switch(r(e)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":e=+e;case"number":if(c(e))return!1}return!0}function U(e,t,n){var a=B(n);return null!=a?a:t.has(a)&&!e.has(a)}function j(e,t,n,a,r){var i=B(n);if(null!=i)return i;var o=t.get(i);return!(void 0===o&&!t.has(i)||!M(a,o,!1,r))&&(!e.has(i)&&M(a,o,!1,r))}function G(e,t,n,a,r,i){for(var s=o(e),d=0;d<s.length;d++){var l=s[d];if(M(n,l,r,i)&&M(a,t.get(l),r,i))return e.delete(l),!0}return!1}function Y(e,t,n,i,d,l){var c=0;if(2===l){if(!function(e,t,n,a){for(var i=null,s=o(e),d=0;d<s.length;d++){var l=s[d];if("object"===r(l)&&null!==l)null===i&&(i=new Set),i.add(l);else if(!t.has(l)){if(n)return!1;if(!U(e,t,l))return!1;null===i&&(i=new Set),i.add(l)}}if(null!==i){for(var c=o(t),u=0;u<c.length;u++){var p=c[u];if("object"===r(p)&&null!==p){if(!F(i,p,n,a))return!1}else if(!n&&!e.has(p)&&!F(i,p,n,a))return!1}return 0===i.size}return!0}(e,t,n,d))return!1}else if(3===l){if(!function(e,t,n,i){for(var o=null,d=s(e),l=0;l<d.length;l++){var c=a(d[l],2),u=c[0],p=c[1];if("object"===r(u)&&null!==u)null===o&&(o=new Set),o.add(u);else{var g=t.get(u);if(void 0===g&&!t.has(u)||!M(p,g,n,i)){if(n)return!1;if(!j(e,t,u,p,i))return!1;null===o&&(o=new Set),o.add(u)}}}if(null!==o){for(var _=s(t),f=0;f<_.length;f++){var m=a(_[f],2),h=(u=m[0],m[1]);if("object"===r(u)&&null!==u){if(!G(o,e,u,h,n,i))return!1}else if(!n&&(!e.has(u)||!M(e.get(u),h,!1,i))&&!G(o,e,u,h,!1,i))return!1}return 0===o.size}return!0}(e,t,n,d))return!1}else if(1===l)for(;c<e.length;c++){if(!p(e,c)){if(p(t,c))return!1;for(var u=Object.keys(e);c<u.length;c++){var g=u[c];if(!p(t,g)||!M(e[g],t[g],n,d))return!1}return u.length===Object.keys(t).length}if(!p(t,c)||!M(e[c],t[c],n,d))return!1}for(c=0;c<i.length;c++){var _=i[c];if(!M(e[_],t[_],n,d))return!1}return!0}e.exports={isDeepEqual:function(e,t){return M(e,t,false)},isDeepStrictEqual:function(e,t){return M(e,t,true)}}},34167:(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}}r.__bit_component={id:"teambit.base-ui/hook/use-click-outside@1.0.0",homepage:"https://bit.dev/teambit/base-ui/hook/use-click-outside",exported:!0},t.ClickOutside=r,r.defaultProps={enabled:!0}},69205:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useClickOutside=t.ClickOutside=void 0;var a=n(34167);Object.defineProperty(t,"ClickOutside",{enumerable:!0,get:function(){return a.ClickOutside}});var r=n(71855);Object.defineProperty(t,"useClickOutside",{enumerable:!0,get:function(){return r.useClickOutside}})},71855:(e,t,n)=>{"use strict";var a={id:"teambit.base-ui/hook/use-click-outside@1.0.0",homepage:"https://bit.dev/teambit/base-ui/hook/use-click-outside",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.useClickOutside=void 0;const r=n(4516);function i(e,t,n=!0){r.useEffect((()=>{const r=n=>{const a=n.target;e.current&&a&&!e.current.contains(a)&&t(n)};return r.__bit_component=a,n&&(document.addEventListener("mousedown",r),document.addEventListener("touchstart",r)),()=>{document.removeEventListener("mousedown",r),document.removeEventListener("touchstart",r)}}),[e,t,n])}i.__bit_component=a,t.useClickOutside=i},81902: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));function d(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}d.__bit_component={id:"teambit.base-ui/input/error@1.0.1",homepage:"https://bit.dev/teambit/base-ui/input/error",exported:!0},t.Error=d},22845: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(81902),t)},92435: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"),i.__bit_component={id:"teambit.base-ui/layout/grid-component@1.0.0",homepage:"https://bit.dev/teambit/base-ui/layout/grid-component",exported:!0}},32682: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(92435);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,_=o(e,["className","col","colL","colLg","colMd","colSm","colXl","colXs"]),f=[t,c.default.gridContainer];return void 0!==n&&f.push(u.colGrid[n]),void 0!==a&&f.push(u.colGridL[a]),void 0!==r&&f.push(u.colGridLg[r]),void 0!==i&&f.push(u.colGridMd[i]),void 0!==s&&f.push(u.colGridSm[s]),void 0!==p&&f.push(u.colGridXl[p]),void 0!==g&&f.push(u.colGridXs[g]),d.default.createElement("div",Object.assign({"data-bit-id":"teambit.base-ui/layout/grid-component"},_,{className:l.default(...f)}))}}p.__bit_component={id:"teambit.base-ui/layout/grid-component@1.0.0",homepage:"https://bit.dev/teambit/base-ui/layout/grid-component",exported:!0},t.Grid=p},37692: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(32682),t)},51208: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},27477:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NavLink=void 0;var a=n(20269);Object.defineProperty(t,"NavLink",{enumerable:!0,get:function(){return a.NavLink}})},20269: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(14583);function o(e){const t=i.useRouting().NavLink;return r.default.createElement(t,Object.assign({},e))}o.__bit_component={id:"teambit.base-ui/routing/nav-link@1.0.0",homepage:"https://bit.dev/teambit/base-ui/routing/nav-link",exported:!0},t.NavLink=o},69639: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(94184)),c=s(n(22184)),u=s(n(3473)),p=s(n(24611)),g=s(n(25109));class _ 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))}}_.__bit_component={id:"teambit.base-ui/surfaces/abs-container@1.0.0",homepage:"https://bit.dev/teambit/base-ui/surfaces/abs-container",exported:!0},t.Containee=_},55548: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(69639),t)},49425: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(94184)),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))}))},76027: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(49425),t)},25796: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(55548),t),r(n(76027),t),t.containerClass=o.default.container,t.containeeClass=o.default.containee},95129: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(94184)),o=a(n(49876));function s(e){return r.default.createElement("div",Object.assign({},e,{className:i.default(e.className,o.default.placeholder)}))}s.__bit_component={id:"teambit.base-ui/surfaces/drawer@1.0.0",homepage:"https://bit.dev/teambit/base-ui/surfaces/drawer",exported:!0},t.DefaultPlaceholder=s},67303: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(25796),c=n(69205),u=s(n(22184)),p=n(95129);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:_,clickToggles:f,onChange:m,onPlaceholderToggle:h,onContainerToggle:R,onContaineeToggle:b,onClickOutside:E}=e,y=o(e,["placeholder","children","PlaceholderComponent","clickOutside","onMouseEnter","onMouseLeave","open","hoverToOpen","clickPlaceholderToggles","clickToggles","onChange","onPlaceholderToggle","onContainerToggle","onContaineeToggle","onClickOutside"]),{isOpen:S}=this.state;return d.default.createElement(l.Container,Object.assign({},y,{ref:this.ref,open:S,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&&S,handler:this.handleClickOutside}))}}g.__bit_component={id:"teambit.base-ui/surfaces/drawer@1.0.0",homepage:"https://bit.dev/teambit/base-ui/surfaces/drawer",exported:!0},t.Drawer=g,g.defaultProps={PlaceholderComponent:p.DefaultPlaceholder,clickPlaceholderToggles:!0,clickOutside:!0,clickToggles:!0}},57692: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(67303),t)},50306: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(72038),t)},72038: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(45125),o=r(n(94184)),s=r(n(4516)),d=r(n(7545));function l(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)}l.__bit_component={id:"teambit.base-ui/surfaces/split-pane/hover-splitter@1.0.0",homepage:"https://bit.dev/teambit/base-ui/surfaces/split-pane/hover-splitter",exported:!0},t.HoverSplitter=l},89248: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(82224),t)},82224:(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},20619: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(37714),t)},37714:function(e,t,n){"use strict";var a={id:"teambit.base-ui/surfaces/split-pane/pane@1.0.0",homepage:"https://bit.dev/teambit/base-ui/surfaces/split-pane/pane",exported:!0},r=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},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Pane=void 0;const o=n(89248),s=i(n(94184)),d=i(n(4516)),l=i(n(44176));function c(e){var{size:t,style:n,layout:a,className:i}=e,o=r(e,["size","style","layout","className"]);const c={},p=u(a);return p&&void 0!==t&&(c[p]=t,c.flexShrink=0),void 0===t&&(c.flexGrow=1,c.flexBasis=0),d.default.createElement("div",Object.assign({},o,{className:s.default(l.default.pane,i),style:Object.assign(Object.assign({},n),c)}))}function u(e){if(e)return e.includes(o.LayoutFeatures.column)?"height":e.includes(o.LayoutFeatures.row)?"width":void 0}c.__bit_component=a,t.Pane=c,u.__bit_component=a},56813:(e,t,n)=>{"use strict";var a={id:"teambit.base-ui/surfaces/split-pane/split-pane@1.0.0",homepage:"https://bit.dev/teambit/base-ui/surfaces/split-pane/split-pane",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.calcSplit=void 0;const r=n(89248);function i(e,t,n){let a=d(e,t,n);return t.includes(r.LayoutFeatures.reverse)&&a.reverse(),void 0!==a[0]&&void 0!==a[1]||(a=o(a)),a}function o([e,t]){return void 0===e&&void 0===t?[void 0,void 0]:void 0===t?[e,s(e)]:void 0===e?[s(t),t]:[e,t]}function s(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 d(e,t,n){const{row:a,column:i,first:o,last:s}=r.LayoutFeatures,d=new Set(t.split(" "));return d.has(o)?["100%","0%"]:d.has(s)?["0%","100%"]:d.has(a)?void 0===(null===e||void 0===e?void 0:e.x)?l(n):"string"===typeof n&&n.endsWith("%")?[100*e.x/e.width+"%",void 0]:[e.x,void 0]:d.has(i)?void 0===(null===e||void 0===e?void 0:e.y)?l(n):"string"===typeof n&&n.endsWith("%")?[100*e.y/e.height+"%",void 0]:[e.y,void 0]:[void 0,void 0]}function l(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]}i.__bit_component=a,t.calcSplit=i,o.__bit_component=a,s.__bit_component=a,d.__bit_component=a,l.__bit_component=a},36840: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(89248),t),r(n(20619),t),r(n(45125),t);var i=n(44741);Object.defineProperty(t,"SplitPane",{enumerable:!0,get:function(){return i.SplitPane}})},46969:(e,t)=>{"use strict";function n(e,t,n){return void 0!==t&&e<t?t:void 0!==n&&e>n?n:e}Object.defineProperty(t,"__esModule",{value:!0}),t.limit=void 0,n.__bit_component={id:"teambit.base-ui/surfaces/split-pane/split-pane@1.0.0",homepage:"https://bit.dev/teambit/base-ui/surfaces/split-pane/split-pane",exported:!0},t.limit=n},44741: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(89248),o=r(n(94184)),s=r(n(4516)),d=n(56813),l=r(n(25772)),c=n(88488);function u(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(_,t,n),[b,E,y]=u,S=s.default.cloneElement(b,{size:h,layout:t}),v=s.default.cloneElement(y,{size:R,layout:t}),T=s.default.cloneElement(E,{onDragging:m,isDragging:f});return s.default.createElement("div",Object.assign({},p,{ref:g,className:o.default(f&&l.default.isDragging,l.default.splitPane,r),"data-is-dragging":f,"data-split-layout":t}),S,T,v)}u.__bit_component={id:"teambit.base-ui/surfaces/split-pane/split-pane@1.0.0",homepage:"https://bit.dev/teambit/base-ui/surfaces/split-pane/split-pane",exported:!0},t.SplitPane=u},55780:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toRelativePosition=void 0;const a=n(46969);function r({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}}r.__bit_component={id:"teambit.base-ui/surfaces/split-pane/split-pane@1.0.0",homepage:"https://bit.dev/teambit/base-ui/surfaces/split-pane/split-pane",exported:!0},t.toRelativePosition=r},88488:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDragTracker=void 0;const a=n(4516),r=n(55780),i=n(93910);function o(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]}o.__bit_component={id:"teambit.base-ui/surfaces/split-pane/split-pane@1.0.0",homepage:"https://bit.dev/teambit/base-ui/surfaces/split-pane/split-pane",exported:!0},t.useDragTracker=o},93910:(e,t,n)=>{"use strict";var a={id:"teambit.base-ui/surfaces/split-pane/split-pane@1.0.0",homepage:"https://bit.dev/teambit/base-ui/surfaces/split-pane/split-pane",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.useDragListener=void 0;const r=n(4516);function i(e){const t=r.useState(!1),[n,i]=t;return r.useEffect((()=>{const t=t=>{const{touches:n}=t,a=n[0];e(a)};t.__bit_component=a;const r=t=>{e(t)};r.__bit_component=a;const o=()=>{i(!1)};o.__bit_component=a;const s=e=>{e&&1===e.buttons||o()};return s.__bit_component=a,n&&(document.addEventListener("mousemove",r),document.addEventListener("mouseup",o),document.addEventListener("mouseenter",s),document.addEventListener("touchend",o),document.addEventListener("touchmove",t),document.addEventListener("touchcancel",o)),()=>{document.removeEventListener("mousemove",r),document.removeEventListener("mouseup",o),document.removeEventListener("mouseenter",s),document.removeEventListener("touchend",o),document.removeEventListener("touchmove",t),document.removeEventListener("touchcancel",o)}}),[n,e]),t}i.__bit_component=a,t.useDragListener=i},45125: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(5018),t)},5018: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(94184)),o=r(n(4516)),s=r(n(93988));function d(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)}))}d.__bit_component={id:"teambit.base-ui/surfaces/split-pane/splitter@1.0.0",homepage:"https://bit.dev/teambit/base-ui/surfaces/split-pane/splitter",exported:!0},t.Splitter=d},67020: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))}o.__bit_component={id:"teambit.base-ui/text/heading@1.0.1",homepage:"https://bit.dev/teambit/base-ui/text/heading",exported:!0},t.Heading=o,o.defaultProps={element:"h1"}},5246: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(67020),t)},62709: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(40752),t)},40752: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));function s(e){return r.default.createElement("span",Object.assign({},e,{className:i.default(o.default.mutedText,e.className)}))}s.__bit_component={id:"teambit.base-ui/text/muted-text@1.0.1",homepage:"https://bit.dev/teambit/base-ui/text/muted-text",exported:!0},t.MutedText=s,t.mutedText=o.default.mutedText},50416:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PossibleSizes=t.Paragraph=void 0;var a=n(70277);Object.defineProperty(t,"Paragraph",{enumerable:!0,get:function(){return a.Paragraph}}),Object.defineProperty(t,"PossibleSizes",{enumerable:!0,get:function(){return a.PossibleSizes}})},70277: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(1315);Object.defineProperty(t,"PossibleSizes",{enumerable:!0,get:function(){return s.PossibleSizes}});const d=n(13826);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))}l.__bit_component={id:"teambit.base-ui/text/paragraph@1.0.1",homepage:"https://bit.dev/teambit/base-ui/text/paragraph",exported:!0},t.Paragraph=l,l.defaultProps={size:"md",element:"p"}},13826: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},49642: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},38756: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(83955),t)},83955: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)),i=()=>r.default.createElement("link",{href:"https://fonts.googleapis.com/css?family=Roboto+Mono",rel:"stylesheet"});i.__bit_component={id:"teambit.base-ui/theme/fonts/roboto@1.0.0",homepage:"https://bit.dev/teambit/base-ui/theme/fonts/roboto",exported:!0},t.Roboto=i},1315:(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={}))},69473:function(e,t,n){"use strict";var a={id:"teambit.component/component-issues@0.0.45",homepage:"https://bit.dev/teambit/component/component-issues",exported:!0},r=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 i=r(n(32589)),o=n(35666);t.ISSUE_FORMAT_SPACE_COUNT=10,t.ISSUE_FORMAT_SPACE=" ".repeat(t.ISSUE_FORMAT_SPACE_COUNT);function s(e,t=!0){const n=t?":":"";return i.default.yellow(`\n ${e}${n} \n`)}function d(e){return Array.isArray(e)?e.join(", "):e}function l(e){const t=JSON.parse(e);return Object.keys(t).forEach((e=>{t[e]=t[e].map((e=>new o.BitId(e)))})),t}t.ComponentIssue=class{constructor(){this.isTagBlocker=!0,this.isCacheBlocker=!0,this.formatDataFunction=d}get descriptionWithSolution(){const e=this.solution?` (${this.solution})`:"";return`${this.description}${e}`}outputForCLI(){return s(this.descriptionWithSolution)+i.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)}},s.__bit_component=a,t.formatTitle=s,d.__bit_component=a,t.componentIssueToString=d,l.__bit_component=a,t.deserializeWithBitId=l},23808:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CustomModuleResolutionUsed=void 0;const a=n(69473);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},28080:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImportNonMainFiles=void 0;const a=n(69473);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},85682:(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(53910);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(69473);Object.defineProperty(t,"MISSING_DEPS_SPACE",{enumerable:!0,get:function(){return r.ISSUE_FORMAT_SPACE}});var i=n(90319);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(88834);Object.defineProperty(t,"RelativeComponentsAuthoredEntry",{enumerable:!0,get:function(){return o.RelativeComponentsAuthoredEntry}})},53910:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IssuesList=t.IssuesClasses=void 0;const a=n(23808),r=n(28080),i=n(13306),o=n(95322),s=n(76034),d=n(12553),l=n(2701),c=n(69646),u=n(61165),p=n(87081),g=n(88834),_=n(26169),f=n(90319),m=n(19408),h=n(89063),R=n(29182);t.IssuesClasses={MissingPackagesDependenciesOnFs:c.MissingPackagesDependenciesOnFs,MissingComponents:i.MissingComponents,UntrackedDependencies:f.UntrackedDependencies,ResolveErrors:_.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},19408:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LegacyInsideHarmony=void 0;const a=n(69473);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},13306:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingComponents=void 0;const a=n(69473);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},95322:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingCustomModuleResolutionLinks=void 0;const a=n(69473);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},76034:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingDependenciesOnFs=void 0;const a=n(69473);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},12553:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingDists=void 0;const a=n(69473);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},29182:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingLinksFromNodeModulesToSrc=void 0;const a=n(69473);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},2701:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingLinks=void 0;const a=n(69473);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},69646:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingPackagesDependenciesOnFs=void 0;const a=n(69473);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},89063:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MultipleEnvs=void 0;const a=n(69473);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://harmony-docs.bit.dev/aspects/variants#removing-aspects ',this.isTagBlocker=!0}dataToString(){return a.ISSUE_FORMAT_SPACE+this.data.join(", ")}}t.MultipleEnvs=r},61165:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ParseErrors=void 0;const a=n(69473);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},88834:(e,t,n)=>{"use strict";var a={id:"teambit.component/component-issues@0.0.45",homepage:"https://bit.dev/teambit/component/component-issues",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.relativeComponentsAuthored=void 0;const r=n(35666),i=n(69473);class o extends i.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=s}deserialize(e){const t=JSON.parse(e);return Object.keys(t).forEach((e=>{t[e]=t[e].map((e=>({importSource:e.importSource,componentId:new r.BitId(e.componentId),relativePath:e.relativePath})))})),t}}function s(e){const t=e=>`"${e.importSource}" (${e.componentId.toString()})`;return t.__bit_component=a,e.map(t).join(", ")}t.relativeComponentsAuthored=o,s.__bit_component=a},87081:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.relativeComponents=void 0;const a=n(69473);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},26169:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveErrors=void 0;const a=n(69473);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},90319: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(69473);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} -> ${s(this.data[e])}`})).join("\n")}}function s(e){return e.untrackedFiles.map((e=>e.existing?`${r.default.yellow(e.relativePath)}`:e.relativePath)).join(", ")}t.UntrackedDependencies=o,s.__bit_component={id:"teambit.component/component-issues@0.0.45",homepage:"https://bit.dev/teambit/component/component-issues",exported:!0}},28460:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VersionDropdown=void 0;var a=n(84412);Object.defineProperty(t,"VersionDropdown",{enumerable:!0,get:function(){return a.VersionDropdown}})},84412:function(e,t,n){"use strict";var a={id:"teambit.component/ui/version-dropdown@0.0.490",homepage:"https://bit.dev/teambit/component/ui/version-dropdown",exported:!0},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.VersionDropdown=void 0;const i=n(43003),o=n(52154),s=n(35360),d=n(59327),l=n(30804),c=r(n(94184)),u=r(n(4516)),p=r(n(45492));function g({versions:e,currentVersion:t}){return e.length<2?u.default.createElement("div",{className:p.default.noVersions},u.default.createElement(_,{currentVersion:t})):u.default.createElement("div",{className:p.default.versionDropdown},u.default.createElement(s.Dropdown,{className:p.default.dropdown,dropClass:p.default.menu,placeholder:"",clickOutside:!0,PlaceholderComponent:()=>u.default.createElement(_,{currentVersion:t,className:p.default.withVersions})},u.default.createElement("div",null,u.default.createElement("div",{className:p.default.title},"Select version to view"),u.default.createElement("div",{className:p.default.versionContainer},e.map(((e,n)=>{const a=e===t;return u.default.createElement(o.NavLink,{to:`?version=${e}`,key:n,className:(0,c.default)(p.default.versionLine,a&&p.default.currentVersion)},u.default.createElement("span",{className:p.default.version},e),0===n&&u.default.createElement(d.VersionLabel,{className:p.default.label,status:"latest"}))}))))))}function _({currentVersion:e,className:t}){return u.default.createElement("div",{className:(0,c.default)(p.default.placeholder,t)},u.default.createElement(l.Ellipsis,null,e),u.default.createElement(i.Icon,{of:"fat-arrow-down"}))}g.__bit_component=a,t.VersionDropdown=g,_.__bit_component=a},59327:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LabelsProps=t.Labels=t.VersionLabel=void 0;var a=n(26937);Object.defineProperty(t,"VersionLabel",{enumerable:!0,get:function(){return a.VersionLabel}}),Object.defineProperty(t,"Labels",{enumerable:!0,get:function(){return a.Labels}}),Object.defineProperty(t,"LabelsProps",{enumerable:!0,get:function(){return a.LabelsProps}})},26937:function(e,t,n){"use strict";var a={id:"teambit.component/ui/version-label@0.0.490",homepage:"https://bit.dev/teambit/component/ui/version-label",exported:!0},r=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},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Labels=t.VersionLabel=void 0;const o=n(1864),s=i(n(94184)),d=i(n(4516)),l=i(n(87880));function c(e){var{status:t,className:n}=e,a=r(e,["status","className"]);return d.default.createElement(o.PillLabel,Object.assign({},a,{className:(0,s.default)(l.default.label,l.default[t],n)}),t.replace(/-/g," "))}function u({isCurrent:e,isLatest:t}){return d.default.createElement("div",null,t&&d.default.createElement(c,{className:l.default.versionLabel,status:"latest"}),e&&d.default.createElement(c,{status:"checked-out"}),!t&&!e&&d.default.createElement("div",{className:l.default.emptyLabel}))}c.__bit_component=a,t.VersionLabel=c,u.__bit_component=a,t.Labels=u},18274:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AspectEntry=void 0;class n{constructor(e,t){this.id=e,this.legacyEntry=t}get legacy(){return this.legacyEntry}get isLegacy(){var e;return!(null===(e=this.config)||void 0===e||!e.__legacy)}get config(){return this.legacy.config}set config(e){this.legacy.config=e}get data(){return this.legacy.data}get isRemoved(){return this.legacy.isRemoved}set data(e){this.legacy.data=e}transform(e){const t=this.clone();return t.data=e,new n(this.id,t.legacy)}clone(){return new n(this.id,this.legacyEntry.clone())}serialize(){return{id:this.id.toString(),config:this.config,data:this.data,icon:"https://static.bit.dev/extensions-icons/default.svg"}}}t.AspectEntry=n},37706:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.630",homepage:"https://bit.dev/teambit/component/component",exported:!0},r=n(95318);function i(){const e=n(79744);return i=function(){return e},e}function o(){const e=n(58225);return o=function(){return e},e}function s(){const e=r(n(26470));return s=function(){return e},e}function d(){const e=r(n(91171));return d=function(){return e},e}n(74916),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i.__bit_component=a,o.__bit_component=a,s.__bit_component=a,d.__bit_component=a;class l extends i().MemoryFS{constructor(e){super(),this.files=e}get hash(){return""}byRegex(e){return this.files.filter((t=>t.path.match(e)))}byGlob(e){return this.files.filter((t=>e.find((e=>(0,d().default)(t.relative,e)))))}toObject(){return this.files.map((e=>({path:e.path,contents:e.contents})))}static fromVinyls(e){const t=new l(e);return e.forEach((e=>{let n=e.relativeDir;n.startsWith("/")||(n=s().default.join("/",n)),t.mkdirpSync(n),t.writeFileSync(`/${e.relative}`,(0,o().auto)(e.contents||""))})),t}}t.default=l},49003:(e,t,n)=>{"use strict";n(66992),Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentMap=void 0;class a{constructor(e){this.hashMap=e}byComponent(e){return this.hashMap.get(e.id.toString())}get components(){return this.toArray().map((([e])=>e))}get(e){return this.hashMap.get(e.id.toString())}getValueByComponentId(e){const t=this.hashMap.get(e.toString());return t?t[1]:null}toArray(){return Array.from(this.hashMap.values())}map(e){const t=this.toArray().map((([t,n])=>{const a=e(n,t);return[t.id.toString(),[t,a]]}));return new a(new Map(t))}forEach(e){this.toArray().forEach((([t,n])=>{e(n,t)}))}flattenValue(){return this.toArray().reduce(((e,[,t])=>e=e.concat(t)),[])}filter(e){const t=this.toArray().filter((([,t])=>e(t))).map((([e,t])=>[e.id.toString(),[e,t]]));return new a(new Map(t))}keys(){return this.hashMap.keys()}static create(e){const t=e.map((([e,t])=>[e.id.toString(),[e,t]]));return new a(new Map(t))}static as(e,t){const n=e.map((e=>[e.id.toString(),[e,t(e)]]));return new a(new Map(n))}}t.ComponentMap=a},40542:(e,t,n)=>{"use strict";function a(){const e=n(49003);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ComponentMap",{enumerable:!0,get:function(){return a().ComponentMap}}),a.__bit_component={id:"teambit.component/component@0.0.630",homepage:"https://bit.dev/teambit/component/component",exported:!0}},29738:(e,t,n)=>{"use strict";function a(){const e=n(16738);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ComponentAspect=void 0,a.__bit_component={id:"teambit.component/component@0.0.630",homepage:"https://bit.dev/teambit/component/component",exported:!0};const r=a().Aspect.create({id:"teambit.component/component",dependencies:[],defaultConfig:{}});t.ComponentAspect=r;var i=r;t.default=i},48174:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.630",homepage:"https://bit.dev/teambit/component/component",exported:!0};function r(){const e=n(32760);return r=function(){return e},e}function i(){const e=n(51590);return i=function(){return e},e}function o(){const e=n(48706);return o=function(){return e},e}function s(){const e=n(40197);return s=function(){return e},e}function d(e){var t,n,a,r=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,a=Symbol.iterator);r--;){if(n&&null!=(t=e[n]))return t.call(e);if(a&&null!=(t=e[a]))return new l(t.call(e));n="@@asyncIterator",a="@@iterator"}throw new TypeError("Object is not async iterable")}function l(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return t.__bit_component=a,l=function(e){this.s=e,this.n=e.next},l.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var n=this.s.return;return void 0===n?Promise.resolve({value:e,done:!0}):t(n.apply(this.s,arguments))},throw:function(e){var n=this.s.return;return void 0===n?Promise.reject(e):t(n.apply(this.s,arguments))}},new l(e)}n(41817),n(72443),n(66992),n(88674),n(74916),Object.defineProperty(t,"__esModule",{value:!0}),t.Component=void 0,r.__bit_component=a,i.__bit_component=a,o.__bit_component=a,s.__bit_component=a,d.__bit_component=a,l.__bit_component=a;t.Component=class{constructor(e,t=null,n,a=new(o().TagMap),r){this.id=e,this.head=t,this._state=n,this.tags=a,this.factory=r}get mainFile(){return this.state.mainFile}get state(){return this._state}set state(e){this._state=e}get config(){return this.state.config}get filesystem(){return this.state.filesystem}get buildStatus(){return this._state._consumer.buildStatus}get headTag(){if(this.head)return this.tags.byHash(this.head.hash)}get latest(){if(this.head)try{return this.tags.getLatest()}catch(e){if(e instanceof s().CouldNotFindLatest)return this.head.toString();throw e}}stringify(){return JSON.stringify({id:this.id,head:this.head})}get displayName(){return this.id.name.split("-").map((e=>(0,r().capitalize)(e))).join(" ")}tag(e){}isModified(){return this.head?Promise.resolve(this.state.isModified):Promise.resolve(!0)}isOutdated(){var e;if(!this.latest)return!1;const t=this.tags.byVersion(this.latest);return!!t&&(null===(e=this.head)||void 0===e?void 0:e.hash)!==(null===t||void 0===t?void 0:t.hash)}isNew(){return Promise.resolve(null===this.head)}loadState(e){return this.factory.getState(this.id,e)}loadSnap(e){var t;const n=e||(null===(t=this.head)||void 0===t?void 0:t.hash);if(!n)throw new(i().BitError)("could not load snap for new components");return this.factory.getSnap(this.id,n)}snapsIterable(e,t={}){var n;const a=e||(null===(n=this.head)||void 0===n?void 0:n.hash);let r,i=[a];a||(r=!0);const o={next:async()=>{if(r)return{value:void 0,done:r};const e=i.shift(),n=await this.loadSnap(e);return n.parents&&n.parents.length&&(t.firstParentOnly?i.push(n.parents[0]):i=i.concat(n.parents)),i.length?t.stopFn&&(r=await t.stopFn(n)):r=!0,{value:n,done:void 0}}};return{[Symbol.asyncIterator]:()=>o}}async getClosestTag(e){const t=this.tags.getHashMap(),n=async e=>!!t.has(e.hash);n.__bit_component=a;const r=this.snapsIterable(e,{firstParentOnly:!0,stopFn:n}),i=[];var o,s=!1,l=!1;try{for(var c,u=d(r);s=!(c=await u.next()).done;s=!1){const e=c.value;i.push(e)}}catch(p){l=!0,o=p}finally{try{s&&null!=u.return&&await u.return()}finally{if(l)throw o}}if(i.length){const e=i[i.length-1].hash;return t.get(e)}}checkout(e){}write(e,t){}equals(e){return e.id.toString()===this.id.toString()}}},66811:(e,t,n)=>{"use strict";var a=n(95318);function r(){const e=a(n(59713));return r=function(){return e},e}n(88674),Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentRoute=void 0,r.__bit_component={id:"teambit.component/component@0.0.630",homepage:"https://bit.dev/teambit/component/component",exported:!0};t.ComponentRoute=class{constructor(e,t){this.registerRoute=e,this.componentExtension=t,(0,r().default)(this,"dynamicRouteRegex","/?[^/@]+/[^~]*"),(0,r().default)(this,"route",`/:componentId(${this.dynamicRouteRegex})/~aspect${this.registerRoute.route}`),(0,r().default)(this,"method",this.registerRoute.method),(0,r().default)(this,"middlewares",this.componentMiddlewares.concat(this.registerRoute.middlewares))}get componentMiddlewares(){return[async(e,t,n)=>{var a;if(null===(a=this.registerRoute.resolveComponent)||void 0===a||a){const{componentId:t}=e.params,n=this.componentExtension.getHost(),a=await n.resolveComponentId(t),r=await n.get(a);e.component=r}n()}]}}},98152:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class{constructor(e,t,n){this.main=e,this.extensions=t,this.legacyProperties=n}}},12349:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CouldNotFindLatest=void 0;class n extends Error{constructor(e){super(`could not find latest semver in array: ${e.join(", ")}`)}report(){return this.message}}t.CouldNotFindLatest=n},98595:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HostNotFound=void 0;class n extends Error{constructor(e){super(),this.hostName=e}toString(){return`[component] error: host '${this.hostName}' was not found`}}t.HostNotFound=n},40197:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.630",homepage:"https://bit.dev/teambit/component/component",exported:!0},r=n(95318);function i(){const e=r(n(62622));return i=function(){return e},e}function o(){const e=n(98595);return o=function(){return e},e}function s(){const e=n(12349);return s=function(){return e},e}function d(){const e=n(84192);return d=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CouldNotFindLatest",{enumerable:!0,get:function(){return s().CouldNotFindLatest}}),Object.defineProperty(t,"HostNotFound",{enumerable:!0,get:function(){return o().HostNotFound}}),Object.defineProperty(t,"MainFileNotFound",{enumerable:!0,get:function(){return d().MainFileNotFound}}),Object.defineProperty(t,"NothingToSnap",{enumerable:!0,get:function(){return i().default}}),i.__bit_component=a,o.__bit_component=a,s.__bit_component=a,d.__bit_component=a},84192:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MainFileNotFound=void 0;class n extends Error{constructor(e,t){super(),this.id=e,this.mainFile=t}toString(){return`[component] error: main file ${this.mainFile} for component ${this.id.toString()} was not found`}}t.MainFileNotFound=n},62622:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class n extends Error{}t.default=n},24464:(e,t,n)=>{"use strict";function a(){const e=n(39322);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentHostModel=void 0,a.__bit_component={id:"teambit.component/component@0.0.630",homepage:"https://bit.dev/teambit/component/component",exported:!0};class r{constructor(e,t){this.name=e,this.components=t}static from(e){return new r(e.getHost.name,a().ComponentModel.fromArray(e.getHost.list))}}t.ComponentHostModel=r},99307:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={useComponentHost:!0};function r(){const e=n(92161);return r=function(){return e},e}Object.defineProperty(t,"useComponentHost",{enumerable:!0,get:function(){return r().useComponentHost}}),r.__bit_component={id:"teambit.component/component@0.0.630",homepage:"https://bit.dev/teambit/component/component",exported:!0};var i=n(24464);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(a,e)||e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},92161:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.630",homepage:"https://bit.dev/teambit/component/component",exported:!0};function r(){const e=n(84498);return r=function(){return e},e}function i(){const e=n(46829);return i=function(){return e},e}function o(){const e=n(24464);return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.useComponentHost=d,r.__bit_component=a,i.__bit_component=a,o.__bit_component=a;const s=i().gql`
|
|
2
2
|
{
|
|
3
3
|
getHost {
|
|
4
4
|
id # used for GQL caching
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
`;function d(){const{data:e,loading:t}=(0,r().useDataQuery)(s);if(!e||t)return{};return{host:o().ComponentHostModel.from(e)}}d.__bit_component=a},33355:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.629",homepage:"https://bit.dev/teambit/component/component",exported:!0},r=n(95318);function i(){const e=n(29738);return i=function(){return e},e}function o(){const e=n(99307);return o=function(){return e},e}function s(){const e=n(48174);return s=function(){return e},e}function d(){const e=n(3e4);return d=function(){return e},e}function l(){const e=r(n(37706));return l=function(){return e},e}function c(){const e=n(18274);return c=function(){return e},e}function u(){const e=n(93434);return u=function(){return e},e}function p(){const e=n(65404);return p=function(){return e},e}function g(){const e=n(85288);return g=function(){return e},e}function _(){const e=n(48706);return _=function(){return e},e}function f(){const e=n(40542);return f=function(){return e},e}function m(){const e=n(67388);return m=function(){return e},e}function h(){const e=n(18829);return h=function(){return e},e}function R(){const e=n(74803);return R=function(){return e},e}function b(){const e=n(66811);return b=function(){return e},e}function E(){const e=n(83053);return E=function(){return e},e}function y(){const e=r(n(98152));return y=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AspectData",{enumerable:!0,get:function(){return c().AspectData}}),Object.defineProperty(t,"AspectEntry",{enumerable:!0,get:function(){return c().AspectEntry}}),Object.defineProperty(t,"Component",{enumerable:!0,get:function(){return s().Component}}),Object.defineProperty(t,"ComponentAspect",{enumerable:!0,get:function(){return i().ComponentAspect}}),Object.defineProperty(t,"ComponentContext",{enumerable:!0,get:function(){return h().ComponentContext}}),Object.defineProperty(t,"ComponentFS",{enumerable:!0,get:function(){return l().default}}),Object.defineProperty(t,"ComponentID",{enumerable:!0,get:function(){return d().ComponentID}}),Object.defineProperty(t,"ComponentMap",{enumerable:!0,get:function(){return f().ComponentMap}}),Object.defineProperty(t,"ComponentModel",{enumerable:!0,get:function(){return E().ComponentModel}}),Object.defineProperty(t,"ComponentModelProps",{enumerable:!0,get:function(){return E().ComponentModelProps}}),Object.defineProperty(t,"ComponentUrlParams",{enumerable:!0,get:function(){return b().ComponentUrlParams}}),Object.defineProperty(t,"Config",{enumerable:!0,get:function(){return y().default}}),Object.defineProperty(t,"ConsumePlugin",{enumerable:!0,get:function(){return R().ConsumePlugin}}),Object.defineProperty(t,"InvalidComponent",{enumerable:!0,get:function(){return s().InvalidComponent}}),Object.defineProperty(t,"RegisteredComponentRoute",{enumerable:!0,get:function(){return b().RegisteredComponentRoute}}),Object.defineProperty(t,"Section",{enumerable:!0,get:function(){return m().Section}}),Object.defineProperty(t,"Snap",{enumerable:!0,get:function(){return u().Snap}}),Object.defineProperty(t,"SnapProps",{enumerable:!0,get:function(){return u().SnapProps}}),Object.defineProperty(t,"State",{enumerable:!0,get:function(){return g().State}}),Object.defineProperty(t,"Tag",{enumerable:!0,get:function(){return p().Tag}}),Object.defineProperty(t,"TagMap",{enumerable:!0,get:function(){return _().TagMap}}),Object.defineProperty(t,"TagProps",{enumerable:!0,get:function(){return p().TagProps}}),t.default=void 0,Object.defineProperty(t,"useComponentHost",{enumerable:!0,get:function(){return o().useComponentHost}}),i.__bit_component=a,o.__bit_component=a,s.__bit_component=a,d.__bit_component=a,l.__bit_component=a,c.__bit_component=a,u.__bit_component=a,p.__bit_component=a,g.__bit_component=a,_.__bit_component=a,f.__bit_component=a,m.__bit_component=a,h.__bit_component=a,R.__bit_component=a,b.__bit_component=a,E.__bit_component=a,y.__bit_component=a;var S=i().ComponentAspect;t.default=S},67388:(e,t,n)=>{"use strict";function a(){const e=n(15123);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Section",{enumerable:!0,get:function(){return a().Section}}),a.__bit_component={id:"teambit.component/component@0.0.629",homepage:"https://bit.dev/teambit/component/component",exported:!0}},15123:()=>{"use strict"},93434:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Snap=void 0;class n{constructor(e,t,n,a,r){this.hash=e,this.timestamp=t,this.parents=n,this.author=a,this.message=r}static fromObject(e){const t=e.parents||[];return new n(e.hash,new Date(parseInt(e.timestamp)),t,e.author,e.message)}toObject(){return{timestamp:this.timestamp.getTime().toString(),hash:this.hash,author:this.author,message:this.message,parents:this.parents}}}t.Snap=n},85288:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.629",homepage:"https://bit.dev/teambit/component/component",exported:!0};function r(){const e=n(85682);return r=function(){return e},e}function i(){const e=n(3e4);return i=function(){return e},e}function o(){const e=n(40197);return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.State=void 0,r.__bit_component=a,i.__bit_component=a,o.__bit_component=a;t.State=class{constructor(e,t,n,a,r){this.config=e,this._aspects=t,this.filesystem=n,this.dependencies=a,this._consumer=r}get mainFile(){const e=this.filesystem.files.find((e=>e.relative===this._consumer.mainFile));if(!e)throw new(o().MainFileNotFound)(i().ComponentID.fromLegacy(this._consumer.id),this._consumer.mainFile);return e}get hash(){return""}get issues(){var e;return(e=this._consumer).issues||(e.issues=new(r().IssuesList))}get isModified(){return this._consumer._isModified}get aspects(){return this._aspects}set aspects(e){this._aspects=e}}},48706:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.629",homepage:"https://bit.dev/teambit/component/component",exported:!0};function r(){const e=n(30755);return r=function(){return e},e}function i(){const e=n(81249);return i=function(){return e},e}function o(){const e=n(40197);return o=function(){return e},e}n(66992),Object.defineProperty(t,"__esModule",{value:!0}),t.TagMap=void 0,r.__bit_component=a,i.__bit_component=a,o.__bit_component=a;class s extends Map{byHash(e){return Array.from(this.values()).find((t=>t.hash===e))}getPreReleaseLatestTags(){const e=this.toArray().reduce(((e,t)=>{var n;const a=t.version.prerelease;return a.length?(2!==a.length||"string"!==typeof a[0]||(e[n=a[0]]||(e[n]=[])).push(t.version.raw),e):e}),{});return Object.keys(e).reduce(((t,n)=>(t[n]=(0,i().maxSatisfying)(e[n],"*",{includePrerelease:!0}),t)),{})}getHashMap(){const e=new Map;return this.forEach((t=>{e.set(t.hash,t)})),e}getLatest(){const e=this.toArray().map((e=>e.version.raw));if(this.isEmpty())throw new(o().CouldNotFindLatest)(e);return(0,r().getLatestVersion)(e)}isEmpty(){return 0===this.size}toArray(){return Array.from(this.values())}byVersion(e){return this.toArray().map((e=>e)).find((t=>t.version.raw===e))}static fromArray(e){const t=e.map((e=>[e.version,e]));return new s(t)}static empty(){return new s}}t.TagMap=s},7525:(e,t,n)=>{"use strict";function a(){const e=n(65404);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Tag",{enumerable:!0,get:function(){return a().Tag}}),a.__bit_component={id:"teambit.component/component@0.0.629",homepage:"https://bit.dev/teambit/component/component",exported:!0}},65404:(e,t,n)=>{"use strict";function a(){const e=n(81249);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.Tag=void 0,a.__bit_component={id:"teambit.component/component@0.0.629",homepage:"https://bit.dev/teambit/component/component",exported:!0};class r{constructor(e,t){this.hash=e,this.version=t}toObject(){return{hash:this.hash,version:this.version.raw}}static fromObject(e){return new r(e.hash,new(a().SemVer)(e.version))}}t.Tag=r},22742:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.629",homepage:"https://bit.dev/teambit/component/component",exported:!0},r=n(95318);function i(){const e=r(n(4516));return i=function(){return e},e}function o(){const e=n(37504);return o=function(){return e},e}function s(){const e=n(81095);return s=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentError=void 0,i.__bit_component=a,o.__bit_component=a,s.__bit_component=a;t.ComponentError=class{constructor(e,t){this.code=e,this.message=t}renderError(){return 404===this.code?i().default.createElement(o().NotFoundPage,null):i().default.createElement(s().ServerErrorPage,null)}}},35167:(e,t,n)=>{"use strict";function a(){const e=n(22742);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ComponentError",{enumerable:!0,get:function(){return a().ComponentError}}),a.__bit_component={id:"teambit.component/component@0.0.629",homepage:"https://bit.dev/teambit/component/component",exported:!0}},16926:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.629",homepage:"https://bit.dev/teambit/component/component",exported:!0};function r(){const e=n(85971);return r=function(){return e},e}function i(){const e=n(3e4);return i=function(){return e},e}function o(){const e=n(7525);return o=function(){return e},e}function s(){const e=n(48706);return s=function(){return e},e}n(41817),Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentModel=void 0,r.__bit_component=a,i.__bit_component=a,o.__bit_component=a,s.__bit_component=a;class d{constructor(e,t,n,a,r,i,o,s,d,l,c,u,p="",g=[],_,f,m){this.id=e,this.displayName=t,this.packageName=n,this.server=a,this.compositions=r,this.tags=i,this.buildStatus=o,this.issuesCount=s,this.elementsUrl=d,this.status=l,this.deprecation=c,this.environment=u,this.description=p,this.labels=g,this.host=_,this.latest=f,this.preview=m}get version(){return this.id.version?this.id.version:"new"}static from({id:e,server:t,displayName:n,compositions:a=[],packageName:l,elementsUrl:c,tags:u=[],deprecation:p,buildStatus:g,env:_,status:f,issuesCount:m,description:h,labels:R,host:b,latest:E,preview:y}){return new d(i().ComponentID.fromObject(e),n,l,t,r().Composition.fromArray(a),s().TagMap.fromArray(u.map((e=>o().Tag.fromObject(e)))),g,m,c,f,p,_,h,R,b,E,y)}static fromArray(e){return e.map((e=>d.from(e)))}static empty(){return new d(i().ComponentID.fromObject({name:"root",scope:"temp"}),"","",{env:"",url:""},[],s().TagMap.empty())}}t.ComponentModel=d},83053:(e,t,n)=>{"use strict";function a(){const e=n(16926);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ComponentModel",{enumerable:!0,get:function(){return a().ComponentModel}}),Object.defineProperty(t,"ComponentModelProps",{enumerable:!0,get:function(){return a().ComponentModelProps}}),a.__bit_component={id:"teambit.component/component@0.0.629",homepage:"https://bit.dev/teambit/component/component",exported:!0}},36202:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.629",homepage:"https://bit.dev/teambit/component/component",exported:!0},r=n(95318);function i(){const e=p(n(4516));return i=function(){return e},e}function o(){const e=r(n(5800));return o=function(){return e},e}function s(){const e=n(32494);return s=function(){return e},e}function d(){const e=r(n(33084));return d=function(){return e},e}function l(){const e=n(82816);return l=function(){return e},e}function c(){const e=n(11778);return c=function(){return e},e}function u(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(a,i,o):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}function g({routeSlot:e,containerSlot:t,host:n,onComponentChange:a}){const{component:r,error:u}=(0,c().useComponent)(n);(0,i().useEffect)((()=>null===a||void 0===a?void 0:a(r)),[r]),(0,i().useEffect)((()=>()=>null===a||void 0===a?void 0:a(void 0)),[]);const p=(0,i().useMemo)((()=>(0,o().default)(null===t||void 0===t?void 0:t.values())),[t]),g=(0,i().useMemo)((()=>p.filter((e=>"before"===e.type)).map((e=>e.content))),[p]),_=(0,i().useMemo)((()=>p.filter((e=>"after"===e.type)).map((e=>e.content))),[p]);return u?u.renderError():r?i().default.createElement(l().ComponentProvider,{component:r},g,i().default.createElement("div",{className:d().default.container},e&&i().default.createElement(s().SlotSubRouter,{slot:e})),_):i().default.createElement("div",null)}n(66992),Object.defineProperty(t,"__esModule",{value:!0}),t.Component=g,i.__bit_component=a,o.__bit_component=a,s.__bit_component=a,d.__bit_component=a,l.__bit_component=a,c.__bit_component=a,u.__bit_component=a,p.__bit_component=a,g.__bit_component=a},18829:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.629",homepage:"https://bit.dev/teambit/component/component",exported:!0};function r(){const e=n(4516);return r=function(){return e},e}function i(){const e=n(83053);return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentContext=void 0,r.__bit_component=a,i.__bit_component=a;const o=(0,r().createContext)(i().ComponentModel.empty());t.ComponentContext=o},56931:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.629",homepage:"https://bit.dev/teambit/component/component",exported:!0},r=n(95318);function i(){const e=r(n(4516));return i=function(){return e},e}function o(){const e=n(18829);return o=function(){return e},e}function s({component:e,children:t}){return i().default.createElement(o().ComponentContext.Provider,{value:e},t)}Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentProvider=s,i.__bit_component=a,o.__bit_component=a,s.__bit_component=a},82816:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.629",homepage:"https://bit.dev/teambit/component/component",exported:!0};function r(){const e=n(18829);return r=function(){return e},e}function i(){const e=n(56931);return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ComponentContext",{enumerable:!0,get:function(){return r().ComponentContext}}),Object.defineProperty(t,"ComponentProvider",{enumerable:!0,get:function(){return i().ComponentProvider}}),r.__bit_component=a,i.__bit_component=a},39322:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.629",homepage:"https://bit.dev/teambit/component/component",exported:!0};function r(){const e=n(36202);return r=function(){return e},e}function i(){const e=n(83053);return i=function(){return e},e}function o(){const e=n(82816);return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Component",{enumerable:!0,get:function(){return r().Component}}),Object.defineProperty(t,"ComponentContext",{enumerable:!0,get:function(){return o().ComponentContext}}),Object.defineProperty(t,"ComponentModel",{enumerable:!0,get:function(){return i().ComponentModel}}),Object.defineProperty(t,"ComponentModelProps",{enumerable:!0,get:function(){return i().ComponentModelProps}}),Object.defineProperty(t,"ComponentProvider",{enumerable:!0,get:function(){return o().ComponentProvider}}),r.__bit_component=a,i.__bit_component=a,o.__bit_component=a},74803:(e,t,n)=>{"use strict";function a(){const e=n(71877);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Menu",{enumerable:!0,get:function(){return a().Menu}}),a.__bit_component={id:"teambit.component/component@0.0.629",homepage:"https://bit.dev/teambit/component/component",exported:!0}},14872:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.629",homepage:"https://bit.dev/teambit/component/component",exported:!0},r=n(95318);function i(){const e=r(n(67154));return i=function(){return e},e}function o(){const e=r(n(4516));return o=function(){return e},e}function s(){const e=n(56807);return s=function(){return e},e}function d(){const e=r(n(73161));return d=function(){return e},e}function l({navigationSlot:e}){const t=e.toArray().sort(c);return o().default.createElement("nav",{className:d().default.navigation},t.map((([e,t])=>o().default.createElement(s().TopBarNav,(0,i().default)({key:e},t.props)))))}function c([,{order:e}],[,{order:t}]){return(null!==e&&void 0!==e?e:0)-(null!==t&&void 0!==t?t:0)}n(66992),n(2707),Object.defineProperty(t,"__esModule",{value:!0}),t.MenuNav=l,i.__bit_component=a,o.__bit_component=a,s.__bit_component=a,d.__bit_component=a,l.__bit_component=a,c.__bit_component=a},71877:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.629",homepage:"https://bit.dev/teambit/component/component",exported:!0},r=n(95318);function i(){const e=n(70561);return i=function(){return e},e}function o(){const e=n(28460);return o=function(){return e},e}function s(){const e=n(17914);return s=function(){return e},e}function d(){const e=n(96486);return d=function(){return e},e}function l(){const e=r(n(94184));return l=function(){return e},e}function c(){const e=h(n(4516));return c=function(){return e},e}function u(){const e=n(22900);return u=function(){return e},e}function p(){const e=n(68096);return p=function(){return e},e}function g(){const e=n(11778);return g=function(){return e},e}function _(){const e=n(14872);return _=function(){return e},e}function f(){const e=r(n(73161));return f=function(){return e},e}function m(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var a={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(a,i,o):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}function R({navigationSlot:e,widgetSlot:t,className:n,host:a,menuItemSlot:r,consumeMethodSlot:o}){const{component:u}=(0,g().useComponent)(a),p=(0,c().useMemo)((()=>(0,d().groupBy)((0,d().flatten)(r.values()),"category")),[r]);return u?c().default.createElement("div",{className:(0,l().default)(f().default.topBar,n)},c().default.createElement("div",{className:f().default.leftSide},c().default.createElement(_().MenuNav,{navigationSlot:e})),c().default.createElement("div",{className:f().default.rightSide},c().default.createElement("div",{className:f().default.widgets},c().default.createElement(_().MenuNav,{navigationSlot:t})),c().default.createElement(b,{component:u,consumeMethods:o}),c().default.createElement(i().MainDropdown,{menuItems:p}))):c().default.createElement(s().FullLoader,null)}function b({component:e,consumeMethods:t}){const n=(0,c().useMemo)((()=>{var t;return null===(t=e.tags)||void 0===t?void 0:t.toArray().map((e=>{var t;return null===e||void 0===e||null===(t=e.version)||void 0===t?void 0:t.version})).filter((e=>void 0!==e)).reverse()}),[e.tags])||[],a=E(t,e);return c().default.createElement(c().default.Fragment,null,n.length>0&&c().default.createElement(u().UseBoxDropdown,{position:"bottom-end",className:f().default.useBox,Menu:c().default.createElement(p().Menu,{methods:a,componentName:e.id.name})}),c().default.createElement(o().VersionDropdown,{versions:n,currentVersion:e.version}))}function E(e,t){return(0,c().useMemo)((()=>(0,d().flatten)(e.values()).map((e=>null===e||void 0===e?void 0:e(t))).filter((e=>!!e&&e.Component&&e.Title))),[e,t])}n(66992),Object.defineProperty(t,"__esModule",{value:!0}),t.Menu=R,i.__bit_component=a,o.__bit_component=a,s.__bit_component=a,d.__bit_component=a,l.__bit_component=a,c.__bit_component=a,u.__bit_component=a,p.__bit_component=a,g.__bit_component=a,_.__bit_component=a,f.__bit_component=a,m.__bit_component=a,h.__bit_component=a,R.__bit_component=a,b.__bit_component=a,E.__bit_component=a},56807:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(61662);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}))},61662:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.629",homepage:"https://bit.dev/teambit/component/component",exported:!0},r=n(95318);function i(){const e=r(n(67154));return i=function(){return e},e}function o(){const e=n(27477);return o=function(){return e},e}function s(){const e=n(26929);return s=function(){return e},e}function d(){const e=r(n(94184));return d=function(){return e},e}function l(){const e=r(n(4516));return l=function(){return e},e}function c(){const e=n(52154);return c=function(){return e},e}function u(){const e=r(n(60673));return u=function(){return e},e}function p(e){const{url:t}=(0,c().useRouteMatch)(),{search:n}=(0,c().useLocation)(),{href:a}=e,r=`${(0,s().extendPath)(t,a)}${n}`;return l().default.createElement(o().NavLink,(0,i().default)({},e,{className:(0,d().default)(e.className,u().default.topBarLink),activeClassName:(0,d().default)(e.className,u().default.active),href:r}),l().default.createElement("div",null,e.children))}n(74916),Object.defineProperty(t,"__esModule",{value:!0}),t.TopBarNav=p,i.__bit_component=a,o.__bit_component=a,s.__bit_component=a,d.__bit_component=a,l.__bit_component=a,c.__bit_component=a,u.__bit_component=a,p.__bit_component=a},83746:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.629",homepage:"https://bit.dev/teambit/component/component",exported:!0},r=n(95318);function i(){const e=r(n(59713));return i=function(){return e},e}function o(){const e=n(4516);return o=function(){return e},e}function s(){const e=n(46829);return s=function(){return e},e}function d(){const e=n(84498);return d=function(){return e},e}function l(){const e=n(3e4);return l=function(){return e},e}function c(){const e=n(83053);return c=function(){return e},e}function u(){const e=n(35167);return u=function(){return e},e}function p(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 g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,i().default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Object.defineProperty(t,"__esModule",{value:!0}),t.useComponentQuery=E,i.__bit_component=a,o.__bit_component=a,s.__bit_component=a,d.__bit_component=a,l.__bit_component=a,c.__bit_component=a,u.__bit_component=a,p.__bit_component=a,g.__bit_component=a;const _=s().gql`
|
|
22
|
+
`;function d(){const{data:e,loading:t}=(0,r().useDataQuery)(s);if(!e||t)return{};return{host:o().ComponentHostModel.from(e)}}d.__bit_component=a},33355:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.630",homepage:"https://bit.dev/teambit/component/component",exported:!0},r=n(95318);function i(){const e=n(29738);return i=function(){return e},e}function o(){const e=n(99307);return o=function(){return e},e}function s(){const e=n(48174);return s=function(){return e},e}function d(){const e=n(3e4);return d=function(){return e},e}function l(){const e=r(n(37706));return l=function(){return e},e}function c(){const e=n(18274);return c=function(){return e},e}function u(){const e=n(93434);return u=function(){return e},e}function p(){const e=n(65404);return p=function(){return e},e}function g(){const e=n(85288);return g=function(){return e},e}function _(){const e=n(48706);return _=function(){return e},e}function f(){const e=n(40542);return f=function(){return e},e}function m(){const e=n(67388);return m=function(){return e},e}function h(){const e=n(18829);return h=function(){return e},e}function R(){const e=n(74803);return R=function(){return e},e}function b(){const e=n(66811);return b=function(){return e},e}function E(){const e=n(83053);return E=function(){return e},e}function y(){const e=r(n(98152));return y=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AspectData",{enumerable:!0,get:function(){return c().AspectData}}),Object.defineProperty(t,"AspectEntry",{enumerable:!0,get:function(){return c().AspectEntry}}),Object.defineProperty(t,"Component",{enumerable:!0,get:function(){return s().Component}}),Object.defineProperty(t,"ComponentAspect",{enumerable:!0,get:function(){return i().ComponentAspect}}),Object.defineProperty(t,"ComponentContext",{enumerable:!0,get:function(){return h().ComponentContext}}),Object.defineProperty(t,"ComponentFS",{enumerable:!0,get:function(){return l().default}}),Object.defineProperty(t,"ComponentID",{enumerable:!0,get:function(){return d().ComponentID}}),Object.defineProperty(t,"ComponentMap",{enumerable:!0,get:function(){return f().ComponentMap}}),Object.defineProperty(t,"ComponentModel",{enumerable:!0,get:function(){return E().ComponentModel}}),Object.defineProperty(t,"ComponentModelProps",{enumerable:!0,get:function(){return E().ComponentModelProps}}),Object.defineProperty(t,"ComponentUrlParams",{enumerable:!0,get:function(){return b().ComponentUrlParams}}),Object.defineProperty(t,"Config",{enumerable:!0,get:function(){return y().default}}),Object.defineProperty(t,"ConsumePlugin",{enumerable:!0,get:function(){return R().ConsumePlugin}}),Object.defineProperty(t,"InvalidComponent",{enumerable:!0,get:function(){return s().InvalidComponent}}),Object.defineProperty(t,"RegisteredComponentRoute",{enumerable:!0,get:function(){return b().RegisteredComponentRoute}}),Object.defineProperty(t,"Section",{enumerable:!0,get:function(){return m().Section}}),Object.defineProperty(t,"Snap",{enumerable:!0,get:function(){return u().Snap}}),Object.defineProperty(t,"SnapProps",{enumerable:!0,get:function(){return u().SnapProps}}),Object.defineProperty(t,"State",{enumerable:!0,get:function(){return g().State}}),Object.defineProperty(t,"Tag",{enumerable:!0,get:function(){return p().Tag}}),Object.defineProperty(t,"TagMap",{enumerable:!0,get:function(){return _().TagMap}}),Object.defineProperty(t,"TagProps",{enumerable:!0,get:function(){return p().TagProps}}),t.default=void 0,Object.defineProperty(t,"useComponentHost",{enumerable:!0,get:function(){return o().useComponentHost}}),i.__bit_component=a,o.__bit_component=a,s.__bit_component=a,d.__bit_component=a,l.__bit_component=a,c.__bit_component=a,u.__bit_component=a,p.__bit_component=a,g.__bit_component=a,_.__bit_component=a,f.__bit_component=a,m.__bit_component=a,h.__bit_component=a,R.__bit_component=a,b.__bit_component=a,E.__bit_component=a,y.__bit_component=a;var S=i().ComponentAspect;t.default=S},67388:(e,t,n)=>{"use strict";function a(){const e=n(15123);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Section",{enumerable:!0,get:function(){return a().Section}}),a.__bit_component={id:"teambit.component/component@0.0.630",homepage:"https://bit.dev/teambit/component/component",exported:!0}},15123:()=>{"use strict"},93434:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Snap=void 0;class n{constructor(e,t,n,a,r){this.hash=e,this.timestamp=t,this.parents=n,this.author=a,this.message=r}static fromObject(e){const t=e.parents||[];return new n(e.hash,new Date(parseInt(e.timestamp)),t,e.author,e.message)}toObject(){return{timestamp:this.timestamp.getTime().toString(),hash:this.hash,author:this.author,message:this.message,parents:this.parents}}}t.Snap=n},85288:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.630",homepage:"https://bit.dev/teambit/component/component",exported:!0};function r(){const e=n(85682);return r=function(){return e},e}function i(){const e=n(3e4);return i=function(){return e},e}function o(){const e=n(40197);return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.State=void 0,r.__bit_component=a,i.__bit_component=a,o.__bit_component=a;t.State=class{constructor(e,t,n,a,r){this.config=e,this._aspects=t,this.filesystem=n,this.dependencies=a,this._consumer=r}get mainFile(){const e=this.filesystem.files.find((e=>e.relative===this._consumer.mainFile));if(!e)throw new(o().MainFileNotFound)(i().ComponentID.fromLegacy(this._consumer.id),this._consumer.mainFile);return e}get hash(){return""}get issues(){var e;return(e=this._consumer).issues||(e.issues=new(r().IssuesList))}get isModified(){return this._consumer._isModified}get aspects(){return this._aspects}set aspects(e){this._aspects=e}}},48706:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.630",homepage:"https://bit.dev/teambit/component/component",exported:!0};function r(){const e=n(30755);return r=function(){return e},e}function i(){const e=n(81249);return i=function(){return e},e}function o(){const e=n(40197);return o=function(){return e},e}n(66992),Object.defineProperty(t,"__esModule",{value:!0}),t.TagMap=void 0,r.__bit_component=a,i.__bit_component=a,o.__bit_component=a;class s extends Map{byHash(e){return Array.from(this.values()).find((t=>t.hash===e))}getPreReleaseLatestTags(){const e=this.toArray().reduce(((e,t)=>{var n;const a=t.version.prerelease;return a.length?(2!==a.length||"string"!==typeof a[0]||(e[n=a[0]]||(e[n]=[])).push(t.version.raw),e):e}),{});return Object.keys(e).reduce(((t,n)=>(t[n]=(0,i().maxSatisfying)(e[n],"*",{includePrerelease:!0}),t)),{})}getHashMap(){const e=new Map;return this.forEach((t=>{e.set(t.hash,t)})),e}getLatest(){const e=this.toArray().map((e=>e.version.raw));if(this.isEmpty())throw new(o().CouldNotFindLatest)(e);return(0,r().getLatestVersion)(e)}isEmpty(){return 0===this.size}toArray(){return Array.from(this.values())}byVersion(e){return this.toArray().map((e=>e)).find((t=>t.version.raw===e))}static fromArray(e){const t=e.map((e=>[e.version,e]));return new s(t)}static empty(){return new s}}t.TagMap=s},7525:(e,t,n)=>{"use strict";function a(){const e=n(65404);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Tag",{enumerable:!0,get:function(){return a().Tag}}),a.__bit_component={id:"teambit.component/component@0.0.630",homepage:"https://bit.dev/teambit/component/component",exported:!0}},65404:(e,t,n)=>{"use strict";function a(){const e=n(81249);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.Tag=void 0,a.__bit_component={id:"teambit.component/component@0.0.630",homepage:"https://bit.dev/teambit/component/component",exported:!0};class r{constructor(e,t){this.hash=e,this.version=t}toObject(){return{hash:this.hash,version:this.version.raw}}static fromObject(e){return new r(e.hash,new(a().SemVer)(e.version))}}t.Tag=r},22742:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.630",homepage:"https://bit.dev/teambit/component/component",exported:!0},r=n(95318);function i(){const e=r(n(4516));return i=function(){return e},e}function o(){const e=n(37504);return o=function(){return e},e}function s(){const e=n(81095);return s=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentError=void 0,i.__bit_component=a,o.__bit_component=a,s.__bit_component=a;t.ComponentError=class{constructor(e,t){this.code=e,this.message=t}renderError(){return 404===this.code?i().default.createElement(o().NotFoundPage,null):i().default.createElement(s().ServerErrorPage,null)}}},35167:(e,t,n)=>{"use strict";function a(){const e=n(22742);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ComponentError",{enumerable:!0,get:function(){return a().ComponentError}}),a.__bit_component={id:"teambit.component/component@0.0.630",homepage:"https://bit.dev/teambit/component/component",exported:!0}},16926:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.630",homepage:"https://bit.dev/teambit/component/component",exported:!0};function r(){const e=n(85971);return r=function(){return e},e}function i(){const e=n(3e4);return i=function(){return e},e}function o(){const e=n(7525);return o=function(){return e},e}function s(){const e=n(48706);return s=function(){return e},e}n(41817),Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentModel=void 0,r.__bit_component=a,i.__bit_component=a,o.__bit_component=a,s.__bit_component=a;class d{constructor(e,t,n,a,r,i,o,s,d,l,c,u,p="",g=[],_,f,m){this.id=e,this.displayName=t,this.packageName=n,this.server=a,this.compositions=r,this.tags=i,this.buildStatus=o,this.issuesCount=s,this.elementsUrl=d,this.status=l,this.deprecation=c,this.environment=u,this.description=p,this.labels=g,this.host=_,this.latest=f,this.preview=m}get version(){return this.id.version?this.id.version:"new"}static from({id:e,server:t,displayName:n,compositions:a=[],packageName:l,elementsUrl:c,tags:u=[],deprecation:p,buildStatus:g,env:_,status:f,issuesCount:m,description:h,labels:R,host:b,latest:E,preview:y}){return new d(i().ComponentID.fromObject(e),n,l,t,r().Composition.fromArray(a),s().TagMap.fromArray(u.map((e=>o().Tag.fromObject(e)))),g,m,c,f,p,_,h,R,b,E,y)}static fromArray(e){return e.map((e=>d.from(e)))}static empty(){return new d(i().ComponentID.fromObject({name:"root",scope:"temp"}),"","",{env:"",url:""},[],s().TagMap.empty())}}t.ComponentModel=d},83053:(e,t,n)=>{"use strict";function a(){const e=n(16926);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ComponentModel",{enumerable:!0,get:function(){return a().ComponentModel}}),Object.defineProperty(t,"ComponentModelProps",{enumerable:!0,get:function(){return a().ComponentModelProps}}),a.__bit_component={id:"teambit.component/component@0.0.630",homepage:"https://bit.dev/teambit/component/component",exported:!0}},36202:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.630",homepage:"https://bit.dev/teambit/component/component",exported:!0},r=n(95318);function i(){const e=p(n(4516));return i=function(){return e},e}function o(){const e=r(n(5800));return o=function(){return e},e}function s(){const e=n(32494);return s=function(){return e},e}function d(){const e=r(n(33084));return d=function(){return e},e}function l(){const e=n(82816);return l=function(){return e},e}function c(){const e=n(11778);return c=function(){return e},e}function u(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(a,i,o):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}function g({routeSlot:e,containerSlot:t,host:n,onComponentChange:a}){const{component:r,error:u}=(0,c().useComponent)(n);(0,i().useEffect)((()=>null===a||void 0===a?void 0:a(r)),[r]),(0,i().useEffect)((()=>()=>null===a||void 0===a?void 0:a(void 0)),[]);const p=(0,i().useMemo)((()=>(0,o().default)(null===t||void 0===t?void 0:t.values())),[t]),g=(0,i().useMemo)((()=>p.filter((e=>"before"===e.type)).map((e=>e.content))),[p]),_=(0,i().useMemo)((()=>p.filter((e=>"after"===e.type)).map((e=>e.content))),[p]);return u?u.renderError():r?i().default.createElement(l().ComponentProvider,{component:r},g,i().default.createElement("div",{className:d().default.container},e&&i().default.createElement(s().SlotSubRouter,{slot:e})),_):i().default.createElement("div",null)}n(66992),Object.defineProperty(t,"__esModule",{value:!0}),t.Component=g,i.__bit_component=a,o.__bit_component=a,s.__bit_component=a,d.__bit_component=a,l.__bit_component=a,c.__bit_component=a,u.__bit_component=a,p.__bit_component=a,g.__bit_component=a},18829:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.630",homepage:"https://bit.dev/teambit/component/component",exported:!0};function r(){const e=n(4516);return r=function(){return e},e}function i(){const e=n(83053);return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentContext=void 0,r.__bit_component=a,i.__bit_component=a;const o=(0,r().createContext)(i().ComponentModel.empty());t.ComponentContext=o},56931:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.630",homepage:"https://bit.dev/teambit/component/component",exported:!0},r=n(95318);function i(){const e=r(n(4516));return i=function(){return e},e}function o(){const e=n(18829);return o=function(){return e},e}function s({component:e,children:t}){return i().default.createElement(o().ComponentContext.Provider,{value:e},t)}Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentProvider=s,i.__bit_component=a,o.__bit_component=a,s.__bit_component=a},82816:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.630",homepage:"https://bit.dev/teambit/component/component",exported:!0};function r(){const e=n(18829);return r=function(){return e},e}function i(){const e=n(56931);return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ComponentContext",{enumerable:!0,get:function(){return r().ComponentContext}}),Object.defineProperty(t,"ComponentProvider",{enumerable:!0,get:function(){return i().ComponentProvider}}),r.__bit_component=a,i.__bit_component=a},39322:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.630",homepage:"https://bit.dev/teambit/component/component",exported:!0};function r(){const e=n(36202);return r=function(){return e},e}function i(){const e=n(83053);return i=function(){return e},e}function o(){const e=n(82816);return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Component",{enumerable:!0,get:function(){return r().Component}}),Object.defineProperty(t,"ComponentContext",{enumerable:!0,get:function(){return o().ComponentContext}}),Object.defineProperty(t,"ComponentModel",{enumerable:!0,get:function(){return i().ComponentModel}}),Object.defineProperty(t,"ComponentModelProps",{enumerable:!0,get:function(){return i().ComponentModelProps}}),Object.defineProperty(t,"ComponentProvider",{enumerable:!0,get:function(){return o().ComponentProvider}}),r.__bit_component=a,i.__bit_component=a,o.__bit_component=a},74803:(e,t,n)=>{"use strict";function a(){const e=n(71877);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Menu",{enumerable:!0,get:function(){return a().Menu}}),a.__bit_component={id:"teambit.component/component@0.0.630",homepage:"https://bit.dev/teambit/component/component",exported:!0}},14872:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.630",homepage:"https://bit.dev/teambit/component/component",exported:!0},r=n(95318);function i(){const e=r(n(67154));return i=function(){return e},e}function o(){const e=r(n(4516));return o=function(){return e},e}function s(){const e=n(56807);return s=function(){return e},e}function d(){const e=r(n(73161));return d=function(){return e},e}function l({navigationSlot:e}){const t=e.toArray().sort(c);return o().default.createElement("nav",{className:d().default.navigation},t.map((([e,t])=>o().default.createElement(s().TopBarNav,(0,i().default)({key:e},t.props)))))}function c([,{order:e}],[,{order:t}]){return(null!==e&&void 0!==e?e:0)-(null!==t&&void 0!==t?t:0)}n(66992),n(2707),Object.defineProperty(t,"__esModule",{value:!0}),t.MenuNav=l,i.__bit_component=a,o.__bit_component=a,s.__bit_component=a,d.__bit_component=a,l.__bit_component=a,c.__bit_component=a},71877:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.630",homepage:"https://bit.dev/teambit/component/component",exported:!0},r=n(95318);function i(){const e=n(70561);return i=function(){return e},e}function o(){const e=n(28460);return o=function(){return e},e}function s(){const e=n(17914);return s=function(){return e},e}function d(){const e=n(96486);return d=function(){return e},e}function l(){const e=r(n(94184));return l=function(){return e},e}function c(){const e=h(n(4516));return c=function(){return e},e}function u(){const e=n(22900);return u=function(){return e},e}function p(){const e=n(68096);return p=function(){return e},e}function g(){const e=n(11778);return g=function(){return e},e}function _(){const e=n(14872);return _=function(){return e},e}function f(){const e=r(n(73161));return f=function(){return e},e}function m(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var a={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(a,i,o):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}function R({navigationSlot:e,widgetSlot:t,className:n,host:a,menuItemSlot:r,consumeMethodSlot:o}){const{component:u}=(0,g().useComponent)(a),p=(0,c().useMemo)((()=>(0,d().groupBy)((0,d().flatten)(r.values()),"category")),[r]);return u?c().default.createElement("div",{className:(0,l().default)(f().default.topBar,n)},c().default.createElement("div",{className:f().default.leftSide},c().default.createElement(_().MenuNav,{navigationSlot:e})),c().default.createElement("div",{className:f().default.rightSide},c().default.createElement("div",{className:f().default.widgets},c().default.createElement(_().MenuNav,{navigationSlot:t})),c().default.createElement(b,{component:u,consumeMethods:o}),c().default.createElement(i().MainDropdown,{menuItems:p}))):c().default.createElement(s().FullLoader,null)}function b({component:e,consumeMethods:t}){const n=(0,c().useMemo)((()=>{var t;return null===(t=e.tags)||void 0===t?void 0:t.toArray().map((e=>{var t;return null===e||void 0===e||null===(t=e.version)||void 0===t?void 0:t.version})).filter((e=>void 0!==e)).reverse()}),[e.tags])||[],a=E(t,e);return c().default.createElement(c().default.Fragment,null,n.length>0&&c().default.createElement(u().UseBoxDropdown,{position:"bottom-end",className:f().default.useBox,Menu:c().default.createElement(p().Menu,{methods:a,componentName:e.id.name})}),c().default.createElement(o().VersionDropdown,{versions:n,currentVersion:e.version}))}function E(e,t){return(0,c().useMemo)((()=>(0,d().flatten)(e.values()).map((e=>null===e||void 0===e?void 0:e(t))).filter((e=>!!e&&e.Component&&e.Title))),[e,t])}n(66992),Object.defineProperty(t,"__esModule",{value:!0}),t.Menu=R,i.__bit_component=a,o.__bit_component=a,s.__bit_component=a,d.__bit_component=a,l.__bit_component=a,c.__bit_component=a,u.__bit_component=a,p.__bit_component=a,g.__bit_component=a,_.__bit_component=a,f.__bit_component=a,m.__bit_component=a,h.__bit_component=a,R.__bit_component=a,b.__bit_component=a,E.__bit_component=a},56807:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(61662);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}))},61662:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.630",homepage:"https://bit.dev/teambit/component/component",exported:!0},r=n(95318);function i(){const e=r(n(67154));return i=function(){return e},e}function o(){const e=n(27477);return o=function(){return e},e}function s(){const e=n(26929);return s=function(){return e},e}function d(){const e=r(n(94184));return d=function(){return e},e}function l(){const e=r(n(4516));return l=function(){return e},e}function c(){const e=n(52154);return c=function(){return e},e}function u(){const e=r(n(60673));return u=function(){return e},e}function p(e){const{url:t}=(0,c().useRouteMatch)(),{search:n}=(0,c().useLocation)(),{href:a}=e,r=`${(0,s().extendPath)(t,a)}${n}`;return l().default.createElement(o().NavLink,(0,i().default)({},e,{className:(0,d().default)(e.className,u().default.topBarLink),activeClassName:(0,d().default)(e.className,u().default.active),href:r}),l().default.createElement("div",null,e.children))}n(74916),Object.defineProperty(t,"__esModule",{value:!0}),t.TopBarNav=p,i.__bit_component=a,o.__bit_component=a,s.__bit_component=a,d.__bit_component=a,l.__bit_component=a,c.__bit_component=a,u.__bit_component=a,p.__bit_component=a},83746:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.630",homepage:"https://bit.dev/teambit/component/component",exported:!0},r=n(95318);function i(){const e=r(n(59713));return i=function(){return e},e}function o(){const e=n(4516);return o=function(){return e},e}function s(){const e=n(46829);return s=function(){return e},e}function d(){const e=n(84498);return d=function(){return e},e}function l(){const e=n(3e4);return l=function(){return e},e}function c(){const e=n(83053);return c=function(){return e},e}function u(){const e=n(35167);return u=function(){return e},e}function p(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 g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,i().default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Object.defineProperty(t,"__esModule",{value:!0}),t.useComponentQuery=E,i.__bit_component=a,o.__bit_component=a,s.__bit_component=a,d.__bit_component=a,l.__bit_component=a,c.__bit_component=a,u.__bit_component=a,p.__bit_component=a,g.__bit_component=a;const _=s().gql`
|
|
23
23
|
fragment componentIdFields on ComponentID {
|
|
24
24
|
name
|
|
25
25
|
version
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
${_}
|
|
95
|
-
`;function E(e,t){var n;const a=(0,o().useRef)(e);a.current=e;const{data:r,error:i,loading:s,subscribeToMore:p}=(0,d().useDataQuery)(m,{variables:{id:e,extensionId:t}});(0,o().useEffect)((()=>{if("teambit.workspace/workspace"!==t)return()=>{};const e=p({document:h,updateQuery:(e,{subscriptionData:t})=>{var n,r,i;const o=null===e||void 0===e||null===(n=e.getHost)||void 0===n?void 0:n.get,s=null===t||void 0===t||null===(r=t.data)||void 0===r||null===(i=r.componentAdded)||void 0===i?void 0:i.component;return!s||o?e:a.current===s.id.name?g(g({},e),{},{getHost:g(g({},e.getHost),{},{get:s})}):e}}),n=p({document:R,updateQuery:(e,{subscriptionData:t})=>{var n,a,r;if(!t.data)return e;const i=null===e||void 0===e||null===(n=e.getHost)||void 0===n?void 0:n.get,o=null===t||void 0===t||null===(a=t.data)||void 0===a||null===(r=a.componentChanged)||void 0===r?void 0:r.component;return o&&l().ComponentID.isEqualObj(null===i||void 0===i?void 0:i.id,null===o||void 0===o?void 0:o.id)?g(g({},e),{},{getHost:g(g({},e.getHost),{},{get:o})}):e}}),r=p({document:b,updateQuery:(e,{subscriptionData:t})=>{var n,a,r;if(!t.data)return e;const i=null===e||void 0===e||null===(n=e.getHost)||void 0===n?void 0:n.get,o=null===t||void 0===t||null===(a=t.data)||void 0===a||null===(r=a.componentRemoved)||void 0===r?void 0:r.componentIds;if(!i||null===o||void 0===o||!o.length)return e;return o.some((e=>l().ComponentID.isEqualObj(e,i.id)))?g(g({},e),{},{getHost:g(g({},e.getHost),{},{get:null})}):e}});return()=>{n(),e(),r()}}),[]);const _=null===r||void 0===r||null===(n=r.getHost)||void 0===n?void 0:n.get;return(0,o().useMemo)((()=>({component:_?c().ComponentModel.from(g(g({},_),{},{host:t})):void 0,error:i?new(u().ComponentError)(500,i.message):_||s?void 0:new(u().ComponentError)(404)})),[_,t,i])}E.__bit_component=a},11778:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.629",homepage:"https://bit.dev/teambit/component/component",exported:!0};function r(){const e=n(52154);return r=function(){return e},e}function i(){const e=n(92008);return i=function(){return e},e}function o(){const e=n(83746);return o=function(){return e},e}function s(e,t){const{params:{componentId:n}}=(0,r().useRouteMatch)(),a=(0,i().useQuery)().get("version")||void 0,s=(null===t||void 0===t?void 0:t.toString({ignoreVersion:!0}))||n;if(!s)throw new TypeError("useComponent received no component id");return(0,o().useComponentQuery)(d(s,a),e)}function d(e,t){return t?e.includes("@")?e:`${e}@${t}`:e}Object.defineProperty(t,"__esModule",{value:!0}),t.useComponent=s,r.__bit_component=a,i.__bit_component=a,o.__bit_component=a,s.__bit_component=a,d.__bit_component=a},81116: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.IconFont=void 0;const r=a(n(4516));function i(e){const{query:t="cr084i"}=e;return r.default.createElement("link",{rel:"stylesheet",href:`https://d1azc1qln24ryf.cloudfront.net/158286/Bit/style-cf.css?${t}`})}i.__bit_component={id:"teambit.design/theme/icons-font@1.0.8",homepage:"https://bit.dev/teambit/design/theme/icons-font",exported:!0},t.IconFont=i},5480:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IconFont=void 0;var a=n(81116);Object.defineProperty(t,"IconFont",{enumerable:!0,get:function(){return a.IconFont}})},81095:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ServerErrorPage=void 0;var a=n(95016);Object.defineProperty(t,"ServerErrorPage",{enumerable:!0,get:function(){return a.ServerErrorPage}})},95016: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.ServerErrorPage=void 0;const i=r(n(4516)),o=n(72967);function s(e){var t=a(e,[]);return i.default.createElement(o.ErrorPage,Object.assign({},t,{code:500,title:"Internal server error"}),i.default.createElement(o.ContactIcons,null))}s.__bit_component={id:"teambit.design/ui/pages/server-error@0.0.353",homepage:"https://bit.dev/teambit/design/ui/pages/server-error",exported:!0},t.ServerErrorPage=s},1864:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PillLabel=void 0;var a=n(28265);Object.defineProperty(t,"PillLabel",{enumerable:!0,get:function(){return a.PillLabel}})},28265: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.PillLabel=void 0;const r=a(n(94184)),i=a(n(4516)),o=a(n(83882));function s({children:e,className:t}){return i.default.createElement("div",{className:(0,r.default)(o.default.pillLabel,t)},e)}s.__bit_component={id:"teambit.design/ui/pill-label@0.0.349",homepage:"https://bit.dev/teambit/design/ui/pill-label",exported:!0},t.PillLabel=s},69010:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Separator=void 0;var a=n(63239);Object.defineProperty(t,"Separator",{enumerable:!0,get:function(){return a.Separator}})},63239: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.Separator=void 0;const i=r(n(94184)),o=r(n(4516)),s=n(30251),d=r(n(17426));function l(e){var{className:t,isPresentational:n}=e,r=a(e,["className","isPresentational"]);return n?o.default.createElement("div",Object.assign({className:(0,i.default)(d.default.separator,t)},r)):o.default.createElement(s.Separator,Object.assign({className:(0,i.default)(t)},r))}l.__bit_component={id:"teambit.design/ui/separator@0.0.351",homepage:"https://bit.dev/teambit/design/ui/separator",exported:!0},t.Separator=l},65403: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.Ellipsis=void 0;const r=a(n(4516)),i=a(n(94184)),o=a(n(29116));function s(e){return r.default.createElement("div",Object.assign({},e,{className:(0,i.default)(e.className,o.default.ellipsisDiv)}))}s.__bit_component={id:"teambit.design/ui/styles/ellipsis@0.0.347",homepage:"https://bit.dev/teambit/design/ui/styles/ellipsis",exported:!0},t.Ellipsis=s},30804: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.Ellipsis=t.ellipsis=void 0;const r=a(n(29116));t.ellipsis=r.default.ellipsis;var i=n(65403);Object.defineProperty(t,"Ellipsis",{enumerable:!0,get:function(){return i.Ellipsis}})},51882:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UseSingletonProps=t.tippy=t.useSingleton=t.TooltipMountPoint=t.SingletonTooltipProvider=t.useCtxTooltipInstance=t.ProvideTooltipInstance=t.Tooltip=void 0;var a=n(53779);Object.defineProperty(t,"Tooltip",{enumerable:!0,get:function(){return a.Tooltip}});var r=n(11630);Object.defineProperty(t,"ProvideTooltipInstance",{enumerable:!0,get:function(){return r.ProvideTooltipInstance}}),Object.defineProperty(t,"useCtxTooltipInstance",{enumerable:!0,get:function(){return r.useCtxTooltipInstance}});var i=n(66152);Object.defineProperty(t,"SingletonTooltipProvider",{enumerable:!0,get:function(){return i.SingletonTooltipProvider}});var o=n(30759);Object.defineProperty(t,"TooltipMountPoint",{enumerable:!0,get:function(){return o.TooltipMountPoint}});var s=n(69772);Object.defineProperty(t,"useSingleton",{enumerable:!0,get:function(){return s.useSingleton}}),Object.defineProperty(t,"tippy",{enumerable:!0,get:function(){return s.tippy}});var d=n(69772);Object.defineProperty(t,"UseSingletonProps",{enumerable:!0,get:function(){return d.UseSingletonProps}})},30759:function(e,t,n){"use strict";var a={id:"teambit.design/ui/tooltip@0.0.352",homepage:"https://bit.dev/teambit/design/ui/tooltip",exported:!0},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TooltipMountPoint=t.getMountPoint=t.mountId=void 0;const i=r(n(4516));function o(e){return document.getElementById(t.mountId)||e.parentElement||document.body}function s(){return i.default.createElement("div",{id:t.mountId})}t.mountId="tooltip-mount-point",o.__bit_component=a,t.getMountPoint=o,s.__bit_component=a,t.TooltipMountPoint=s},11630:function(e,t,n){"use strict";var a={id:"teambit.design/ui/tooltip@0.0.352",homepage:"https://bit.dev/teambit/design/ui/tooltip",exported:!0},r=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]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=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)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.useCtxTooltipInstance=t.ProvideTooltipInstance=void 0;const s=o(n(4516)),d=(0,s.createContext)(void 0);function l({value:e,children:t}){return s.default.createElement(d.Provider,{value:e},t)}function c(){return(0,s.useContext)(d)}l.__bit_component=a,t.ProvideTooltipInstance=l,c.__bit_component=a,t.useCtxTooltipInstance=c},66152: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.SingletonTooltipProvider=void 0;const i=r(n(4516)),o=n(69772),s=n(11630),d=n(53779);function l(e){var{children:t,disabled:n,overrides:r}=e,l=a(e,["children","disabled","overrides"]);const[c,u]=(0,o.useSingleton)({disabled:n,overrides:r});return i.default.createElement(i.default.Fragment,null,i.default.createElement(d.Tooltip,Object.assign({},l,{singleton:c})),i.default.createElement(s.ProvideTooltipInstance,{value:u},t))}l.__bit_component={id:"teambit.design/ui/tooltip@0.0.352",homepage:"https://bit.dev/teambit/design/ui/tooltip",exported:!0},t.SingletonTooltipProvider=l},53779: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.Tooltip=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(49642),d=r(n(69772)),l=n(45088);n(7596),n(94710);const c=n(30759),u=n(11630);n(80021);const p={modifiers:[{name:"arrow",options:{padding:5}}]};function g(e){var{children:t,breakline:n,singleton:r,className:g}=e,_=a(e,["children","breakline","singleton","className"]);const f=(0,u.useCtxTooltipInstance)(),m=r||f,h="string"===typeof t?i.default.createElement("span",null,t):t;return i.default.createElement(d.default,Object.assign({arrow:l.roundArrow,className:(0,o.default)(s.darkMode,n&&"tippy-breakLine",g),theme:"teambit",interactive:!0,appendTo:c.getMountPoint,popperOptions:p},_,{singleton:m}),h)}g.__bit_component={id:"teambit.design/ui/tooltip@0.0.352",homepage:"https://bit.dev/teambit/design/ui/tooltip",exported:!0},t.Tooltip=g},79970: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(5807),t)},5807: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.Playground=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(24475),d=n(36840),l=n(50306),c=r(n(32941)),u=n(41041),p=r(n(2097)),g=n(22845),_=r(n(66305));function f(e){var{code:t,scope:n,style:r}=e;a(e,["code","scope","style"]);const[f,{width:m}]=c.default(),h=+u.useDebounce(m,300,{leading:!0})[0]<=500?d.Layout.columnReverse:d.Layout.row,R="column reverse"===h;return m?i.default.createElement(s.LiveProvider,{code:t,scope:n,theme:p.default},i.default.createElement("div",{style:r,ref:f,className:_.default.playground},i.default.createElement(d.SplitPane,{className:_.default.main,size:"50%",layout:h},i.default.createElement(d.Pane,{className:o.default(_.default.codePane,R&&_.default.column)},i.default.createElement("div",{className:_.default.editorWrapper},i.default.createElement(s.LiveEditor,{className:o.default(_.default.editor)}))),i.default.createElement(l.HoverSplitter,{className:_.default.splitter}),i.default.createElement(d.Pane,{className:o.default(_.default.previewPane,R&&_.default.column)},i.default.createElement("div",{className:_.default.previewBox},i.default.createElement(s.LivePreview,null),i.default.createElement(s.LiveError,{className:o.default(g.Error,_.default.error,R&&_.default.column)})))))):i.default.createElement("div",{ref:f})}f.__bit_component={id:"teambit.documenter/code/react-playground@4.0.1",homepage:"https://bit.dev/teambit/documenter/code/react-playground",exported:!0},t.Playground=f},36373:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.links=t.docsUrl=void 0,t.docsUrl="https://harmony-docs.bit.dev",t.links={scopedRegistry:`${t.docsUrl}/components/installing`,installBit:`${t.docsUrl}/introduction/installation`,createCompositions:`${t.docsUrl}/tutorial/render-component`,testComponents:`${t.docsUrl}/tutorial/test`,bitIntroduction:`${t.docsUrl}/introduction/getting-started`,whatIsBit:`${t.docsUrl}/introduction/why-bit`,tagComponentVersion:`${t.docsUrl}/tutorial/version`}},12179:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.docsUrl=t.links=void 0;var a=n(36373);Object.defineProperty(t,"links",{enumerable:!0,get:function(){return a.links}}),Object.defineProperty(t,"docsUrl",{enumerable:!0,get:function(){return a.docsUrl}})},97194: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.h6=t.h5=t.h4=t.h3=t.h2=t.h1=t.createHeading=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(20849),d=r(n(67471));function l(e,t){return function(n){var{children:r,className:l}=n,c=a(n,["children","className"]);const u="lg"===e||"md"===e;return i.default.createElement(s.LinkedHeading,Object.assign({},c,{className:(0,o.default)(l,d.default.mdxLinkedHeading,u&&d.default.mainHeadingStyles),size:e,element:t}),r)}}l.__bit_component={id:"teambit.documenter/markdown/heading@0.1.6",homepage:"https://bit.dev/teambit/documenter/markdown/heading",exported:!0},t.createHeading=l,t.h1=l("lg","h1"),t.h2=l("md","h2"),t.h3=l("sm","h3"),t.h4=l("xs","h4"),t.h5=l("xxs","h5"),t.h6=l("xxs","h6")},95127:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.h6=t.h5=t.h4=t.h3=t.h2=t.h1=t.createHeading=void 0;var a=n(97194);Object.defineProperty(t,"createHeading",{enumerable:!0,get:function(){return a.createHeading}}),Object.defineProperty(t,"h1",{enumerable:!0,get:function(){return a.h1}}),Object.defineProperty(t,"h2",{enumerable:!0,get:function(){return a.h2}}),Object.defineProperty(t,"h3",{enumerable:!0,get:function(){return a.h3}}),Object.defineProperty(t,"h4",{enumerable:!0,get:function(){return a.h4}}),Object.defineProperty(t,"h5",{enumerable:!0,get:function(){return a.h5}}),Object.defineProperty(t,"h6",{enumerable:!0,get:function(){return a.h6}})},23142:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Snippet=void 0;var a=n(99781);Object.defineProperty(t,"Snippet",{enumerable:!0,get:function(){return a.Snippet}})},99781: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.Snippet=void 0;const r=a(n(4516)),i=n(64320),o=n(68546),s=a(n(88841));function d({children:e,scope:t,live:n}){return n?r.default.createElement(o.Playground,{className:s.default.snippet,code:e,scope:t}):r.default.createElement(i.CodeSnippet,{className:s.default.snippet},e)}d.__bit_component={id:"teambit.documenter/markdown/hybrid-live-code-snippet@0.1.3",homepage:"https://bit.dev/teambit/documenter/markdown/hybrid-live-code-snippet",exported:!0},t.Snippet=d},68546:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Playground=void 0;var a=n(69133);Object.defineProperty(t,"Playground",{enumerable:!0,get:function(){return a.Playground}})},69133: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.Playground=void 0;const d=i(n(4516)),l=s(n(94184)),c=n(24475),u=n(36840),p=n(50306),g=s(n(32941)),_=n(67773),f=s(n(2097)),m=n(22845),h=s(n(40148));function R(e){var{code:t,scope:n,style:a,className:r}=e,i=o(e,["code","scope","style","className"]);const s=d.useMemo((()=>null===t||void 0===t?void 0:t.toString().replace(/\n$/,"").trim()),[t]),[R,{width:b}]=g.default(),E=+_.useDebounce(b,300,{leading:!0})[0]<=500,y=E?u.Layout.columnReverse:u.Layout.row;return b?d.default.createElement(c.LiveProvider,{code:s,scope:n,theme:f.default},d.default.createElement("div",Object.assign({ref:R,className:l.default(r,h.default.playground,E?h.default.column:h.default.row)},i),d.default.createElement(u.SplitPane,{className:h.default.main,size:"50%",layout:y},d.default.createElement(u.Pane,{className:l.default(h.default.codePane)},d.default.createElement(c.LiveEditor,{className:l.default(h.default.editor)})),d.default.createElement(p.HoverSplitter,{className:h.default.splitter}),d.default.createElement(u.Pane,{className:l.default(h.default.previewPane)},d.default.createElement(d.default.Fragment,null,d.default.createElement(c.LivePreview,{className:h.default.previewBox}),d.default.createElement(c.LiveError,{className:l.default(m.Error,h.default.error)})))))):d.default.createElement("div",{ref:R})}R.__bit_component={id:"teambit.documenter/code/react-playground@4.1.3",homepage:"https://bit.dev/teambit/documenter/code/react-playground",exported:!0},t.Playground=R},7861:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultMdxComponents=void 0;const a=n(77150),r=n(46441),i=n(95637),o=n(95127),s=n(12315),d=n(32868),l=n(13531),c=n(15610),u=n(8677),p=n(43917),g=n(24270),_=n(89014),f=n(68332),m=n(13541),h=n(95409),R=n(2805);t.defaultMdxComponents={h1:o.h1,h2:o.h2,h3:o.h3,h4:o.h4,h5:o.h5,h6:o.h6,p:u.Paragraph,code:g.Snippet,a:i.ExternalLink,inlineCode:d.InlineCode,ol:c.Ol,ul:R.Ul,hr:p.Separator,thematicBreak:p.Separator,img:s.Image,strong:r.Bold,em:l.Italic,pre:({children:e})=>e,sup:_.Sup,table:f.Table,tr:h.Tr,td:m.Td,blockquote:a.BlockQuote}},21607:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultMdxComponents=void 0;var a=n(7861);Object.defineProperty(t,"defaultMdxComponents",{enumerable:!0,get:function(){return a.defaultMdxComponents}})},16531:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MDXLayout=void 0;var a=n(47896);Object.defineProperty(t,"MDXLayout",{enumerable:!0,get:function(){return a.MDXLayout}})},47896: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.MDXLayout=void 0;const d=i(n(4516)),l=s(n(94184)),c=n(55261),u=n(21607),p=s(n(65366));function g(e){var{children:t,components:n,className:a}=e,r=o(e,["children","components","className"]);const i=(0,d.useMemo)((()=>Object.assign(Object.assign({},u.defaultMdxComponents),n)),[u.defaultMdxComponents,n]);return d.default.createElement(c.MDXProvider,{components:i},d.default.createElement("div",Object.assign({className:(0,l.default)(p.default.mdxContent,a)},r),t))}g.__bit_component={id:"teambit.documenter/markdown/mdx@0.1.7",homepage:"https://bit.dev/teambit/documenter/markdown/mdx",exported:!0},t.MDXLayout=g},27963: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(77669));function d(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}d.__bit_component={id:"teambit.base-ui/input/error@1.0.3",homepage:"https://bit.dev/teambit/base-ui/input/error",exported:!0},t.Error=d},78253: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(27963),t)},14085:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PossibleSizes=t.Paragraph=void 0;var a=n(63450);Object.defineProperty(t,"Paragraph",{enumerable:!0,get:function(){return a.Paragraph}}),Object.defineProperty(t,"PossibleSizes",{enumerable:!0,get:function(){return a.PossibleSizes}})},63450: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(1315);Object.defineProperty(t,"PossibleSizes",{enumerable:!0,get:function(){return s.PossibleSizes}});const d=n(13826);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))}l.__bit_component={id:"teambit.base-ui/text/paragraph@1.0.3",homepage:"https://bit.dev/teambit/base-ui/text/paragraph",exported:!0},t.Paragraph=l,l.defaultProps={size:"md",element:"p"}},52338:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Playground=void 0;var a=n(22792);Object.defineProperty(t,"Playground",{enumerable:!0,get:function(){return a.Playground}})},22792: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.Playground=void 0;const d=i(n(4516)),l=s(n(94184)),c=n(24475),u=n(36840),p=n(50306),g=s(n(32941)),_=n(15261),f=s(n(2097)),m=n(78253),h=s(n(52896));function R(e){var{code:t,scope:n,style:a,className:r}=e,i=o(e,["code","scope","style","className"]);const s=(0,d.useMemo)((()=>null===t||void 0===t?void 0:t.toString().replace(/\n$/,"").trim()),[t]),[R,{width:b}]=(0,g.default)(),E=+(0,_.useDebounce)(b,300,{leading:!0})[0]<=500,y=E?u.Layout.columnReverse:u.Layout.row;return b?d.default.createElement(c.LiveProvider,{code:s,scope:n,theme:f.default},d.default.createElement("div",Object.assign({ref:R,className:(0,l.default)(r,h.default.playground,E?h.default.column:h.default.row)},i),d.default.createElement(u.SplitPane,{className:h.default.main,size:"50%",layout:y},d.default.createElement(u.Pane,{className:(0,l.default)(h.default.codePane)},d.default.createElement(c.LiveEditor,{className:(0,l.default)(h.default.editor)})),d.default.createElement(p.HoverSplitter,{className:h.default.splitter}),d.default.createElement(u.Pane,{className:(0,l.default)(h.default.previewPane)},d.default.createElement(d.default.Fragment,null,d.default.createElement(c.LivePreview,{className:h.default.previewBox}),d.default.createElement(c.LiveError,{className:(0,l.default)(m.Error,h.default.error)})))))):d.default.createElement("div",{ref:R})}R.__bit_component={id:"teambit.documenter/code/react-playground@4.1.5",homepage:"https://bit.dev/teambit/documenter/code/react-playground",exported:!0},t.Playground=R},24270:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Snippet=void 0;var a=n(80048);Object.defineProperty(t,"Snippet",{enumerable:!0,get:function(){return a.Snippet}})},80048: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.Snippet=void 0;const r=a(n(4516)),i=n(56391),o=n(52338),s=a(n(22422));function d({children:e,scope:t,live:n}){return n?r.default.createElement(o.Playground,{className:s.default.snippet,code:e,scope:t}):r.default.createElement(i.CodeSnippet,{className:s.default.snippet},e)}d.__bit_component={id:"teambit.documenter/markdown/hybrid-live-code-snippet@0.1.6",homepage:"https://bit.dev/teambit/documenter/markdown/hybrid-live-code-snippet",exported:!0},t.Snippet=d},11899: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.BlockQuote=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(7980));function d(e){var{className:t,children:n}=e,r=a(e,["className","children"]);return i.default.createElement("blockquote",Object.assign({},r,{className:(0,o.default)(s.default.blockQuote,t)}),n)}d.__bit_component={id:"teambit.documenter/ui/block-quote@4.0.5",homepage:"https://bit.dev/teambit/documenter/ui/block-quote",exported:!0},t.BlockQuote=d},77150:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockQuote=void 0;var a=n(11899);Object.defineProperty(t,"BlockQuote",{enumerable:!0,get:function(){return a.BlockQuote}})},76714: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.Bold=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(65161));function d(e){var{children:t,className:n}=e,r=a(e,["children","className"]);return i.default.createElement("strong",Object.assign({},r,{className:(0,o.default)(s.default.bold,n)}),t)}d.__bit_component={id:"teambit.documenter/ui/bold@4.0.5",homepage:"https://bit.dev/teambit/documenter/ui/bold",exported:!0},t.Bold=d},46441:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Bold=void 0;var a=n(76714);Object.defineProperty(t,"Bold",{enumerable:!0,get:function(){return a.Bold}})},43408:function(e,t,n){"use strict";var a={id:"teambit.documenter/ui/code-snippet@4.1.4",homepage:"https://bit.dev/teambit/documenter/ui/code-snippet",exported:!0},r=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]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=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)&&r(t,e,n);return i(t,e),t},s=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},d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CodeSnippet=void 0;const l=o(n(4516)),c=d(n(94184)),u=d(n(20640)),p=n(58398),g=n(57415),_=d(n(67134)),f=d(n(83558)),m=d(n(45675)),h=d(n(32074));_.default.registerLanguage("tsx",f.default);const R={fontFamily:"roboto mono",fontSize:12};function b(e){var{className:t,frameClass:n,theme:r=m.default,language:i="tsx",children:o}=e,d=s(e,["className","frameClass","theme","language","children"]);const[_,f]=(0,l.useState)(!1),b=()=>{f(!0),setTimeout((()=>f(!1)),2e3),(0,u.default)(o.toString())};b.__bit_component=a;const y=(0,l.useMemo)((()=>o.trim()),[o]);return l.default.createElement("div",{className:(0,c.default)(h.default.snippetWrapper,t)},l.default.createElement(E,Object.assign({},d,{className:(0,c.default)(h.default.codeSnippet,n),language:i,style:r,customStyle:R}),y),l.default.createElement("div",{className:h.default.copy},l.default.createElement(g.CopiedMessage,{show:_}),l.default.createElement(p.Icon,{onClick:b,className:h.default.copyIcon,of:"copy-cmp"})))}b.__bit_component=a,t.CodeSnippet=b;const E=(0,l.memo)((function(e){return l.default.createElement(_.default,Object.assign({},e))}))},56391: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(43408),t)},75565: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.CopiedMessage=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(35391));function d(e){var{className:t,show:n}=e,r=a(e,["className","show"]);return i.default.createElement("span",Object.assign({},r,{className:(0,o.default)(s.default.copiedMessage,{[s.default.showMessage]:n},t)}),"Copied")}d.__bit_component={id:"teambit.documenter/ui/copied-message@4.1.4",homepage:"https://bit.dev/teambit/documenter/ui/copied-message",exported:!0},t.CopiedMessage=d,d.defaultProps={show:!1}},57415: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(75565),t)},13531:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Italic=void 0;var a=n(16229);Object.defineProperty(t,"Italic",{enumerable:!0,get:function(){return a.Italic}})},16229: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.Italic=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(95895));function d(e){var{children:t,className:n}=e,r=a(e,["children","className"]);return i.default.createElement("em",Object.assign({},r,{className:(0,o.default)(s.default.italic,n)}),t)}d.__bit_component={id:"teambit.documenter/ui/italic@4.0.5",homepage:"https://bit.dev/teambit/documenter/ui/italic",exported:!0},t.Italic=d},15610:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Ol=void 0;var a=n(17742);Object.defineProperty(t,"Ol",{enumerable:!0,get:function(){return a.Ol}})},17742: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.Ol=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(2727));function d(e){var{children:t,className:n}=e,r=a(e,["children","className"]);return i.default.createElement("ol",Object.assign({},r,{className:(0,o.default)(s.default.ol,n)}),t)}d.__bit_component={id:"teambit.documenter/ui/ol@4.1.3",homepage:"https://bit.dev/teambit/documenter/ui/ol",exported:!0},t.Ol=d},8677: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(48136),t)},48136: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=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(14085),d=n(1315),l=r(n(44419));function c(e){var{children:t,className:n,size:r}=e,c=a(e,["children","className","size"]);const u=r?d.PossibleSizes[r]:d.PossibleSizes.md;return i.default.createElement(s.Paragraph,Object.assign({size:u},c,{className:(0,o.default)(l.default.paragraph,n)}),t)}c.__bit_component={id:"teambit.documenter/ui/paragraph@4.1.3",homepage:"https://bit.dev/teambit/documenter/ui/paragraph",exported:!0},t.Paragraph=c,c.defaultProps={size:"md",element:"p"}},43917:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Separator=void 0;var a=n(15464);Object.defineProperty(t,"Separator",{enumerable:!0,get:function(){return a.Separator}})},15464: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.Separator=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(74233));function d(e){var{className:t}=e,n=a(e,["className"]);return i.default.createElement("hr",Object.assign({className:(0,o.default)(s.default.separator,t)},n))}d.__bit_component={id:"teambit.documenter/ui/separator@4.1.3",homepage:"https://bit.dev/teambit/documenter/ui/separator",exported:!0},t.Separator=d},89014:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sup=void 0;var a=n(59593);Object.defineProperty(t,"Sup",{enumerable:!0,get:function(){return a.Sup}})},59593: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.Sup=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(5353));function d(e){var{children:t,className:n}=e,r=a(e,["children","className"]);return i.default.createElement("sup",Object.assign({},r,{className:(0,o.default)(s.default.sup,n)}),t)}d.__bit_component={id:"teambit.documenter/ui/sup@4.0.5",homepage:"https://bit.dev/teambit/documenter/ui/sup",exported:!0},t.Sup=d},87582: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.Table=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(60471));function d(e){var{children:t,className:n}=e,r=a(e,["children","className"]);return i.default.createElement("table",Object.assign({},r,{className:(0,o.default)(s.default.table,n)}),t)}d.__bit_component={id:"teambit.documenter/ui/table/base-table@4.1.3",homepage:"https://bit.dev/teambit/documenter/ui/table/base-table",exported:!0},t.Table=d},68332:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Table=void 0;var a=n(87582);Object.defineProperty(t,"Table",{enumerable:!0,get:function(){return a.Table}})},13541:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Td=void 0;var a=n(91811);Object.defineProperty(t,"Td",{enumerable:!0,get:function(){return a.Td}})},91811: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.Td=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(89553));function d(e){var{children:t,className:n}=e,r=a(e,["children","className"]);return i.default.createElement("td",Object.assign({},r,{className:(0,o.default)(s.default.td,n)}),t)}d.__bit_component={id:"teambit.documenter/ui/table/td@4.1.3",homepage:"https://bit.dev/teambit/documenter/ui/table/td",exported:!0},t.Td=d},95409:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tr=void 0;var a=n(84170);Object.defineProperty(t,"Tr",{enumerable:!0,get:function(){return a.Tr}})},84170: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.Tr=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(50886));function d(e){var{children:t,className:n}=e,r=a(e,["children","className"]);return i.default.createElement("tr",Object.assign({},r,{className:(0,o.default)(s.default.tr,n)}),t)}d.__bit_component={id:"teambit.documenter/ui/table/tr@4.1.3",homepage:"https://bit.dev/teambit/documenter/ui/table/tr",exported:!0},t.Tr=d},2805:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Ul=void 0;var a=n(8694);Object.defineProperty(t,"Ul",{enumerable:!0,get:function(){return a.Ul}})},8694: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.Ul=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(30406));function d(e){var{children:t,className:n}=e,r=a(e,["children","className"]);return i.default.createElement("ul",Object.assign({},r,{className:(0,o.default)(s.default.ul,n)}),t)}d.__bit_component={id:"teambit.documenter/ui/ul@4.1.3",homepage:"https://bit.dev/teambit/documenter/ui/ul",exported:!0},t.Ul=d},80814: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.Icon=void 0;const i=r(n(4516)),o=n(21622);function s(e){var{className:t,of:n}=e,r=a(e,["className","of"]);return i.default.createElement(o.BaseIcon,Object.assign({of:`bitcon-${n}`,className:t,"data-bit-id":"teambit.evangelist/elements/icon"},r))}s.__bit_component={id:"teambit.evangelist/elements/icon@1.0.5",homepage:"https://bit.dev/teambit/evangelist/elements/icon",exported:!0},t.Icon=s},58398: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(80814),t)},54754: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.ExternalLink=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(58329));function d(e){var{href:t,children:n,className:r}=e,d=a(e,["href","children","className"]);return i.default.createElement("a",Object.assign({},d,{target:"_blank",href:t,className:o.default(s.default.link,r)}),n)}d.__bit_component={id:"teambit.documenter/routing/external-link@4.1.0",homepage:"https://bit.dev/teambit/documenter/routing/external-link",exported:!0},t.ExternalLink=d},95637: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(54754),t)},122: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(66538),t)},66538: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.ThemeContext=t.ThemeDocumenter=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(94419),d=n(38756),l=r(n(40261)),c=r(n(28549));function u(e){var{children:t,className:n}=e,r=a(e,["children","className"]);return i.default.createElement(s.Theme,Object.assign({},r,{className:o.default(n,l.default.heading,c.default.overrides)}),i.default.createElement(d.Roboto,null),t)}u.__bit_component={id:"teambit.documenter/theme/theme-context@4.0.3",homepage:"https://bit.dev/teambit/documenter/theme/theme-context",exported:!0},t.ThemeDocumenter=u,t.ThemeContext=u},72238: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.Anchor=void 0;const r=a(n(4516)),i=a(n(94184)),o=n(6727),s=a(n(3637));function d(e){const t=e.href&&`#${e.href}`;return r.default.createElement("a",Object.assign({},e,{id:e.href,href:t,className:(0,i.default)(e.className,s.default.anchor)}),r.default.createElement(o.Icon,{of:"anchor",className:s.default.anchorIcon}))}d.__bit_component={id:"teambit.documenter/ui/anchor@4.0.6",homepage:"https://bit.dev/teambit/documenter/ui/anchor",exported:!0},t.Anchor=d},56149: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(72238),t)},1140: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.Icon=void 0;const i=r(n(4516)),o=n(21622);function s(e){var{className:t,of:n}=e,r=a(e,["className","of"]);return i.default.createElement(o.BaseIcon,Object.assign({of:`bitcon-${n}`,className:t,"data-bit-id":"teambit.evangelist/elements/icon"},r))}s.__bit_component={id:"teambit.evangelist/elements/icon@1.0.5",homepage:"https://bit.dev/teambit/evangelist/elements/icon",exported:!0},t.Icon=s},6727: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(1140),t)},21366:function(e,t,n){"use strict";var a={id:"teambit.documenter/ui/code-snippet@4.1.1",homepage:"https://bit.dev/teambit/documenter/ui/code-snippet",exported:!0},r=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]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=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)&&r(t,e,n);return i(t,e),t},s=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},d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CodeSnippet=void 0;const l=o(n(4516)),c=d(n(94184)),u=d(n(20640)),p=n(43003),g=n(32993),_=d(n(55549)),f=d(n(10025)),m=d(n(38967)),h=d(n(54587));_.default.registerLanguage("tsx",f.default);const R={fontFamily:"roboto mono",fontSize:12};function b(e){var{className:t,frameClass:n,theme:r=m.default,language:i="tsx",children:o}=e,d=s(e,["className","frameClass","theme","language","children"]);const[_,f]=l.useState(!1),b=()=>{f(!0),setTimeout((()=>f(!1)),2e3),u.default(o.toString())};b.__bit_component=a;const y=l.useMemo((()=>o.trim()),[o]);return l.default.createElement("div",{className:c.default(h.default.snippetWrapper,t)},l.default.createElement(E,Object.assign({},d,{className:c.default(h.default.codeSnippet,n),language:i,style:r,customStyle:R}),y),l.default.createElement("div",{className:h.default.copy},l.default.createElement(g.CopiedMessage,{show:_}),l.default.createElement(p.Icon,{onClick:b,className:h.default.copyIcon,of:"copy-cmp"})))}b.__bit_component=a,t.CodeSnippet=b;const E=l.memo((function(e){return l.default.createElement(_.default,Object.assign({},e))}))},64320: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(21366),t)},64569: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.ConsumableLink=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(37692),d=n(26668),l=n(2372),c=r(n(84369));function u(e){var{title:t,link:n,className:r}=e,u=a(e,["title","link","className"]);return i.default.createElement(s.Grid,Object.assign({colMd:2,className:o.default(c.default.copyMethod,r)},u),i.default.createElement(l.Paragraph,{className:c.default.copyTitle,size:"xs"},t),i.default.createElement(d.CopyBox,{className:c.default.copyBox},n))}u.__bit_component={id:"teambit.documenter/ui/consumable-link@4.0.3",homepage:"https://bit.dev/teambit/documenter/ui/consumable-link",exported:!0},t.ConsumableLink=u},2206: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(64569),t)},44880:function(e,t,n){"use strict";var a={id:"teambit.documenter/ui/copy-box@4.1.1",homepage:"https://bit.dev/teambit/documenter/ui/copy-box",exported:!0},r=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]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=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)&&r(t,e,n);return i(t,e),t},s=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},d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CopyBox=void 0;const l=o(n(4516)),c=d(n(20640)),u=d(n(94184)),p=n(32993),g=n(43003),_=n(37692),f=d(n(93495));function m(e){var{children:t,className:n}=e,r=s(e,["children","className"]);const[i,o]=l.useState(!1),d=()=>{o(!0),setTimeout((()=>o(!1)),2e3),c.default(t)};return d.__bit_component=a,l.default.createElement(_.Grid,Object.assign({colMd:2,className:u.default(f.default.copyBox,n)},r),l.default.createElement("div",{className:f.default.leftSection},t),l.default.createElement("div",{className:f.default.rightSection},l.default.createElement(p.CopiedMessage,{show:i}),l.default.createElement("button",{className:f.default.button,onClick:d},l.default.createElement(g.Icon,{className:f.default.copyIcon,of:"copy-cmp"}))))}m.__bit_component=a,t.CopyBox=m},26668: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(44880),t)},86214: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.CopiedMessage=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(15328));function d(e){var{className:t,show:n}=e,r=a(e,["className","show"]);return i.default.createElement("span",Object.assign({},r,{className:o.default(s.default.copiedMessage,{[s.default.showMessage]:n},t)}),"Copied")}d.__bit_component={id:"teambit.documenter/ui/copied-message@4.1.1",homepage:"https://bit.dev/teambit/documenter/ui/copied-message",exported:!0},t.CopiedMessage=d,d.defaultProps={show:!1}},32993: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(86214),t)},83412:function(e,t,n){"use strict";var a={id:"teambit.documenter/ui/copy-box@4.0.1",homepage:"https://bit.dev/teambit/documenter/ui/copy-box",exported:!0},r=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]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=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)&&r(t,e,n);return i(t,e),t},s=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},d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CopyBox=void 0;const l=o(n(4516)),c=d(n(20640)),u=d(n(94184)),p=n(5424),g=n(43003),_=n(37692),f=d(n(43357));function m(e){var{children:t,className:n}=e,r=s(e,["children","className"]);const[i,o]=l.useState(!1),d=()=>{o(!0),setTimeout((()=>o(!1)),2e3),c.default(t)};return d.__bit_component=a,l.default.createElement(_.Grid,Object.assign({colMd:2,className:u.default(f.default.copyBox,n)},r),l.default.createElement("div",{className:f.default.leftSection},t),l.default.createElement("div",{className:f.default.rightSection},l.default.createElement(p.CopiedMessage,{show:i,className:f.default.copiedMessage}),l.default.createElement("button",{className:f.default.button,onClick:d},l.default.createElement(g.Icon,{className:f.default.copyIcon,of:"copy-cmp"}))))}m.__bit_component=a,t.CopyBox=m},57064: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(83412),t)},99449: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.CopiedMessage=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(35528));function d(e){var{className:t,show:n}=e,r=a(e,["className","show"]);return i.default.createElement("div",Object.assign({},r,{className:o.default(s.default.copiedMessage,{[s.default.showMessage]:n},t)}),"Copied")}d.__bit_component={id:"teambit.documenter/ui/copied-message@4.0.1",homepage:"https://bit.dev/teambit/documenter/ui/copied-message",exported:!0},t.CopiedMessage=d,d.defaultProps={show:!1}},5424: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(99449),t)},84430:function(e,t,n){"use strict";var a={id:"teambit.documenter/ui/heading@4.1.1",homepage:"https://bit.dev/teambit/documenter/ui/heading",exported:!0},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.H6=t.H5=t.H4=t.H3=t.H2=t.H1=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(5246),d=r(n(97618)),l=r(n(4555));function c(e){return i.default.createElement(s.Heading,Object.assign({element:"h1"},e,{className:o.default(l.default.h1,d.default[e.size||"lg"],e.className)}))}function u(e){return i.default.createElement(s.Heading,Object.assign({element:"h2"},e,{className:o.default(l.default.h2,d.default[e.size||"lg"],e.className)}))}function p(e){return i.default.createElement(s.Heading,Object.assign({element:"h3"},e,{className:o.default(l.default.h3,d.default[e.size||"md"],e.className)}))}function g(e){return i.default.createElement(s.Heading,Object.assign({element:"h4"},e,{className:o.default(l.default.h4,d.default[e.size||"sm"],e.className)}))}function _(e){return i.default.createElement(s.Heading,Object.assign({element:"h5"},e,{className:o.default(l.default.h5,d.default[e.size||"xs"],e.className)}))}function f(e){return i.default.createElement(s.Heading,Object.assign({element:"h6"},e,{className:o.default(l.default.h6,d.default[e.size||"xxs"],e.className)}))}c.__bit_component=a,t.H1=c,u.__bit_component=a,t.H2=u,p.__bit_component=a,t.H3=p,g.__bit_component=a,t.H4=g,_.__bit_component=a,t.H5=_,f.__bit_component=a,t.H6=f},43262: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(84430),t)},46530: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.HighlightedText=void 0;const r=a(n(4516)),i=n(30815);function o(e){return r.default.createElement(i.InlineCode,Object.assign({},e,{highlight:!0}))}o.__bit_component={id:"teambit.documenter/ui/highlighted-text@4.1.1",homepage:"https://bit.dev/teambit/documenter/ui/highlighted-text",exported:!0},t.HighlightedText=o},9247: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(46530),t)},30815:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InlineCode=void 0;var a=n(22593);Object.defineProperty(t,"InlineCode",{enumerable:!0,get:function(){return a.InlineCode}})},22593: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.InlineCode=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(49981));function d(e){var{children:t,highlight:n,className:r}=e,d=a(e,["children","highlight","className"]);return i.default.createElement("code",Object.assign({},d,{className:o.default(s.default.inlineCode,n&&s.default.highlight,r)}),t)}d.__bit_component={id:"teambit.documenter/ui/inline-code@0.1.1",homepage:"https://bit.dev/teambit/documenter/ui/inline-code",exported:!0},t.InlineCode=d},65166: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.Image=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(7502));function d(e){var{src:t,className:n}=e,r=a(e,["src","className"]);return i.default.createElement("img",Object.assign({},r,{src:t,className:o.default(s.default.img,n)}))}d.__bit_component={id:"teambit.documenter/ui/image@4.0.0",homepage:"https://bit.dev/teambit/documenter/ui/image",exported:!0},t.Image=d},12315:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Image=void 0;var a=n(65166);Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return a.Image}})},32868:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InlineCode=void 0;var a=n(20329);Object.defineProperty(t,"InlineCode",{enumerable:!0,get:function(){return a.InlineCode}})},20329: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.InlineCode=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(48293));function d(e){var{children:t,highlight:n,className:r}=e,d=a(e,["children","highlight","className"]);return i.default.createElement("code",Object.assign({},d,{className:(0,o.default)(s.default.inlineCode,n&&s.default.highlight,r)}),t)}d.__bit_component={id:"teambit.documenter/ui/inline-code@0.1.3",homepage:"https://bit.dev/teambit/documenter/ui/inline-code",exported:!0},t.InlineCode=d},38316: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(81789),t)},81789: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.LabelList=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(41834),d=r(n(88930));function l(e){var{children:t,className:n,labelClass:r,onPick:l}=e,c=a(e,["children","className","labelClass","onPick"]);return i.default.createElement("div",Object.assign({},c,{className:o.default(n,d.default.labelList)}),t&&t.map((e=>i.default.createElement(s.Label,{className:r,key:e,onPick:l},e))))}l.__bit_component={id:"teambit.documenter/ui/label-list@4.0.3",homepage:"https://bit.dev/teambit/documenter/ui/label-list",exported:!0},t.LabelList=l},41834: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(73887),t)},73887:function(e,t,n){"use strict";var a={id:"teambit.documenter/ui/label@4.0.3",homepage:"https://bit.dev/teambit/documenter/ui/label",exported:!0},r=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},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Label=void 0;const o=i(n(4516)),s=i(n(94184)),d=i(n(54012));function l(e){var{onPick:t,onClick:n,className:i}=e,l=r(e,["onPick","onClick","className"]);const c=e=>(t&&t(l.children),n&&n(e));return c.__bit_component=a,o.default.createElement("div",Object.assign({},l,{onClick:c,className:s.default(i,d.default.label)}))}l.__bit_component=a,t.Label=l},20849:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LinkedHeading=void 0;var a=n(43753);Object.defineProperty(t,"LinkedHeading",{enumerable:!0,get:function(){return a.LinkedHeading}})},43753:function(e,t,n){"use strict";var a={id:"teambit.documenter/ui/linked-heading@4.1.6",homepage:"https://bit.dev/teambit/documenter/ui/linked-heading",exported:!0},r=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},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LinkedHeading=void 0;const o=i(n(4516)),s=i(n(94184)),d=n(56753),l=n(56149),c=i(n(68568));function u(e){var{children:t,link:n,size:a,element:i="h3",className:d}=e,u=r(e,["children","link","size","element","className"]);const g=p(i);return o.default.createElement("div",Object.assign({className:(0,s.default)(c.default.linkedHeading,d)},u),o.default.createElement(g,{className:c.default.heading,size:a,id:n},t),n&&o.default.createElement(l.Anchor,{className:c.default.anchor,href:n}))}u.__bit_component=a,t.LinkedHeading=u;const p=e=>{switch(e){case"h1":return d.H1;case"h2":return d.H2;case"h3":default:return d.H3;case"h4":return d.H4;case"h5":return d.H5;case"h6":return d.H6}};p.__bit_component=a},40881: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){var{element:t="h1"}=e,n=a(e,["element"]);const r=t;return i.default.createElement(r,Object.assign({"data-bit-id":"teambit.base-ui/text/heading"},n))}o.__bit_component={id:"teambit.base-ui/text/heading@1.0.4",homepage:"https://bit.dev/teambit/base-ui/text/heading",exported:!0},t.Heading=o},1208:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Heading=void 0;var a=n(40881);Object.defineProperty(t,"Heading",{enumerable:!0,get:function(){return a.Heading}})},50803:function(e,t,n){"use strict";var a={id:"teambit.documenter/ui/heading@4.1.4",homepage:"https://bit.dev/teambit/documenter/ui/heading",exported:!0},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.H6=t.H5=t.H4=t.H3=t.H2=t.H1=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(1208),d=r(n(38117)),l=r(n(74275));function c(e){return i.default.createElement(s.Heading,Object.assign({element:"h1"},e,{className:(0,o.default)(l.default.h1,d.default[e.size||"lg"],e.className)}))}function u(e){return i.default.createElement(s.Heading,Object.assign({element:"h2"},e,{className:(0,o.default)(l.default.h2,d.default[e.size||"lg"],e.className)}))}function p(e){return i.default.createElement(s.Heading,Object.assign({element:"h3"},e,{className:(0,o.default)(l.default.h3,d.default[e.size||"md"],e.className)}))}function g(e){return i.default.createElement(s.Heading,Object.assign({element:"h4"},e,{className:(0,o.default)(l.default.h4,d.default[e.size||"sm"],e.className)}))}function _(e){return i.default.createElement(s.Heading,Object.assign({element:"h5"},e,{className:(0,o.default)(l.default.h5,d.default[e.size||"xs"],e.className)}))}function f(e){return i.default.createElement(s.Heading,Object.assign({element:"h6"},e,{className:(0,o.default)(l.default.h6,d.default[e.size||"xxs"],e.className)}))}c.__bit_component=a,t.H1=c,u.__bit_component=a,t.H2=u,p.__bit_component=a,t.H3=p,g.__bit_component=a,t.H4=g,_.__bit_component=a,t.H5=_,f.__bit_component=a,t.H6=f},56753:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.H6=t.H5=t.H4=t.H3=t.H2=t.H1=void 0;var a=n(50803);Object.defineProperty(t,"H1",{enumerable:!0,get:function(){return a.H1}}),Object.defineProperty(t,"H2",{enumerable:!0,get:function(){return a.H2}}),Object.defineProperty(t,"H3",{enumerable:!0,get:function(){return a.H3}}),Object.defineProperty(t,"H4",{enumerable:!0,get:function(){return a.H4}}),Object.defineProperty(t,"H5",{enumerable:!0,get:function(){return a.H5}}),Object.defineProperty(t,"H6",{enumerable:!0,get:function(){return a.H6}})},2372: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(13028),t)},13028: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=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(50416),d=n(1315),l=r(n(9672));function c(e){var{children:t,className:n,size:r}=e,c=a(e,["children","className","size"]);const u=r?d.PossibleSizes[r]:d.PossibleSizes.md;return i.default.createElement(s.Paragraph,Object.assign({size:u},c,{className:o.default(l.default.paragraph,n)}),t)}c.__bit_component={id:"teambit.documenter/ui/paragraph@4.1.1",homepage:"https://bit.dev/teambit/documenter/ui/paragraph",exported:!0},t.Paragraph=c,c.defaultProps={size:"md",element:"p"}},46503:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PropTable=void 0;var a=n(24431);Object.defineProperty(t,"PropTable",{enumerable:!0,get:function(){return a.PropTable}})},24431: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.PropTable=void 0;const i=r(n(4516)),o=r(n(32941)),s=n(19506),d=n(13390);function l(e){var{rows:t,listViewResolution:n,showListView:r}=e,l=a(e,["rows","listViewResolution","showListView"]);const[c,{width:u}]=o.default(),p=s.useDebounce(u,300,{leading:!0}),g=r||+p[0]<=(n||0);return u?i.default.createElement("div",{ref:c},i.default.createElement(d.Table,Object.assign({},l,{headings:["name","type","default","description"],rows:t,isListView:g}))):i.default.createElement("div",{ref:c})}l.__bit_component={id:"teambit.documenter/ui/property-table@4.1.3",homepage:"https://bit.dev/teambit/documenter/ui/property-table",exported:!0},t.PropTable=l,l.defaultProps={listViewResolution:768}},18631: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(18098),t)},18098: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.Section=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(61674));function d(e){var{className:t,children:n}=e,r=a(e,["className","children"]);return i.default.createElement("div",Object.assign({className:o.default(s.default.spacer,s.default.sectionMargin,t)},r),n)}d.__bit_component={id:"teambit.documenter/ui/section@4.1.1",homepage:"https://bit.dev/teambit/documenter/ui/section",exported:!0},t.Section=d},30251:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Separator=void 0;var a=n(14010);Object.defineProperty(t,"Separator",{enumerable:!0,get:function(){return a.Separator}})},14010: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.Separator=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(69802));function d(e){var{className:t}=e,n=a(e,["className"]);return i.default.createElement("hr",Object.assign({className:o.default(s.default.separator,t)},n))}d.__bit_component={id:"teambit.documenter/ui/separator@4.1.1",homepage:"https://bit.dev/teambit/documenter/ui/separator",exported:!0},t.Separator=d},75302: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(68874),t)},68874: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.Subtitle=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(62709),d=n(2372),l=r(n(85153));function c(e){var{children:t,className:n}=e,r=a(e,["children","className"]);return i.default.createElement(d.Paragraph,Object.assign({element:"p",className:o.default(s.mutedText,l.default.subTitle,n),size:"xl"},r),t)}c.__bit_component={id:"teambit.documenter/ui/sub-title@4.1.1",homepage:"https://bit.dev/teambit/documenter/ui/sub-title",exported:!0},t.Subtitle=c},19349: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(83705),t)},83705: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.TableColumn=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(99014));function d(e){var{children:t,className:n}=e,r=a(e,["children","className"]);return i.default.createElement("div",Object.assign({className:o.default(s.default.tableColumn,n)},r),t)}d.__bit_component={id:"teambit.documenter/ui/table-column@4.0.0",homepage:"https://bit.dev/teambit/documenter/ui/table-column",exported:!0},t.TableColumn=d},69761: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(10716),t)},10716: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.HeadingColumn=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(91005));function d(e){var{children:t,className:n}=e,r=a(e,["children","className"]);return i.default.createElement("div",Object.assign({className:o.default(s.default.headingColumn,n)},r),i.default.createElement("div",{className:o.default(s.default.title)},t))}d.__bit_component={id:"teambit.documenter/ui/table-heading-column@4.0.4",homepage:"https://bit.dev/teambit/documenter/ui/table-heading-column",exported:!0},t.HeadingColumn=d},80610: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(76158),t)},76158: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.HeadingRow=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(13613),d=n(69761),l=r(n(36652));function c(e){var{headings:t,colNumber:n,isListView:r=!1,className:c}=e,u=a(e,["headings","colNumber","isListView","className"]);return i.default.createElement(s.Grid,Object.assign({},u,{col:n,className:o.default(l.default.titleRow,{[l.default.hide]:r},c)}),t.map(((e,t)=>{if("required"!==e)return i.default.createElement(d.HeadingColumn,{key:t,className:l.default.titleCol},e)})))}c.__bit_component={id:"teambit.documenter/ui/table-heading-row@4.0.4",homepage:"https://bit.dev/teambit/documenter/ui/table-heading-row",exported:!0},t.HeadingRow=c},99208: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(37996));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"),i.__bit_component={id:"teambit.base-ui/layout/grid-component@1.0.1",homepage:"https://bit.dev/teambit/base-ui/layout/grid-component",exported:!0}},92909: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(4728)),u=n(99208);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,_=o(e,["className","col","colL","colLg","colMd","colSm","colXl","colXs"]),f=[t,c.default.gridContainer];return void 0!==n&&f.push(u.colGrid[n]),void 0!==a&&f.push(u.colGridL[a]),void 0!==r&&f.push(u.colGridLg[r]),void 0!==i&&f.push(u.colGridMd[i]),void 0!==s&&f.push(u.colGridSm[s]),void 0!==p&&f.push(u.colGridXl[p]),void 0!==g&&f.push(u.colGridXs[g]),d.default.createElement("div",Object.assign({"data-bit-id":"teambit.base-ui/layout/grid-component"},_,{className:l.default(...f)}))}}p.__bit_component={id:"teambit.base-ui/layout/grid-component@1.0.1",homepage:"https://bit.dev/teambit/base-ui/layout/grid-component",exported:!0},t.Grid=p},13613:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Grid=void 0;var a=n(92909);Object.defineProperty(t,"Grid",{enumerable:!0,get:function(){return a.Grid}})},69199: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(74292),t)},74292: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.TableRow=void 0;const r=a(n(4516)),i=a(n(94184)),o=n(72184),s=n(19349),d=a(n(55658)),l=a(n(45387)),c=a(n(48167));function u({row:e,colNumber:t=4,headings:n,isListView:a,className:u}){return r.default.createElement(o.Grid,{col:t,className:i.default(d.default.propRow,{[d.default.singleColumn]:a},u)},n.map(((t,n)=>{var o;if("required"!==t)return"name"===t?r.default.createElement(s.TableColumn,{className:d.default.breakWord,key:n},r.default.createElement("div",{className:i.default(d.default.mobileTitle,{[d.default.show]:a})},t),r.default.createElement("div",{className:d.default.columnContent},r.default.createElement("div",{className:d.default.name},e[t]),e.required&&r.default.createElement("div",{className:d.default.required},"(Required)"))):"type"===t?r.default.createElement(s.TableColumn,{className:i.default(d.default.breakWord,d.default.typeColumn),key:n},r.default.createElement("div",{className:i.default(d.default.mobileTitle,{[d.default.show]:a})},t),r.default.createElement(l.default,{theme:c.default,language:"javascript",className:d.default.highlighted},e[t])):"default"===t?r.default.createElement(s.TableColumn,{className:d.default.breakWord,key:n},r.default.createElement("div",{className:i.default(d.default.mobileTitle,{[d.default.show]:a})},t),r.default.createElement("span",{className:d.default.default},e[t]&&(null===(o=e[t])||void 0===o?void 0:o.value)||"-")):"description"===t?r.default.createElement(s.TableColumn,{className:d.default.breakWord,key:n},e[t]):r.default.createElement(s.TableColumn,{className:d.default.breakWord,key:n},r.default.createElement("div",{className:i.default(d.default.mobileTitle,{[d.default.show]:a})},t),e[t])})))}u.__bit_component={id:"teambit.documenter/ui/table-row@4.1.2",homepage:"https://bit.dev/teambit/documenter/ui/table-row",exported:!0},t.TableRow=u},27749: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(70538));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"),i.__bit_component={id:"teambit.base-ui/layout/grid-component@1.0.1",homepage:"https://bit.dev/teambit/base-ui/layout/grid-component",exported:!0}},58664: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(37057)),u=n(27749);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,_=o(e,["className","col","colL","colLg","colMd","colSm","colXl","colXs"]),f=[t,c.default.gridContainer];return void 0!==n&&f.push(u.colGrid[n]),void 0!==a&&f.push(u.colGridL[a]),void 0!==r&&f.push(u.colGridLg[r]),void 0!==i&&f.push(u.colGridMd[i]),void 0!==s&&f.push(u.colGridSm[s]),void 0!==p&&f.push(u.colGridXl[p]),void 0!==g&&f.push(u.colGridXs[g]),d.default.createElement("div",Object.assign({"data-bit-id":"teambit.base-ui/layout/grid-component"},_,{className:l.default(...f)}))}}p.__bit_component={id:"teambit.base-ui/layout/grid-component@1.0.1",homepage:"https://bit.dev/teambit/base-ui/layout/grid-component",exported:!0},t.Grid=p},72184:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Grid=void 0;var a=n(58664);Object.defineProperty(t,"Grid",{enumerable:!0,get:function(){return a.Grid}})},13390: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(90560),t)},90560: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.Table=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(80610),d=n(69199),l=r(n(59862));function c(e){var{headings:t,rows:n,colNumber:r,isListView:c,className:u}=e,p=a(e,["headings","rows","colNumber","isListView","className"]);const g=r||4;return i.default.createElement("div",Object.assign({},p,{className:o.default(l.default.table,u)}),i.default.createElement(s.HeadingRow,{isListView:c,colNumber:g,headings:t}),n.map(((e,n)=>i.default.createElement(d.TableRow,{key:n,isListView:c,headings:t,row:e,colNumber:g}))))}c.__bit_component={id:"teambit.documenter/ui/table@4.1.2",homepage:"https://bit.dev/teambit/documenter/ui/table",exported:!0},t.Table=c,c.defaultProps={colNumber:4}},52158: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.fadeInOutClass=void 0;const r=a(n(87728));t.fadeInOutClass=r.default.fadeInOut},83526:function(e,t,n){"use strict";var a={id:"teambit.evangelist/surfaces/dropdown@1.0.2",homepage:"https://bit.dev/teambit/evangelist/surfaces/dropdown",exported:!0},r=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},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Dropdown=void 0;const o=i(n(4516)),s=i(n(94184)),d=n(57692),l=n(25796),c=n(2222),u=n(16601),p=n(33758),g=i(n(49232)),_=n(52158);function f(e){var{children:t,position:n="bottom",dropClass:a}=e,i=r(e,["children","position","dropClass"]);return o.default.createElement(d.Drawer,Object.assign({},i),o.default.createElement(m,{position:n,className:a},t))}function m(e){var{className:t,elevation:n="medium",roundness:a="sharp"}=e,i=r(e,["className","elevation","roundness"]);return o.default.createElement(l.Containee,Object.assign({},i,{className:s.default(g.default.dropdown,p.backgrounds.layer,c.elevationClass[n],u.roundnessClass[a],_.fadeInOutClass,t)}))}f.__bit_component=a,t.Dropdown=f,m.__bit_component=a,f.defaultProps={position:"bottom",elevation:"medium",roundness:"sharp"}},35360: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(83526),t)},80139: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(54871),t),r(n(32297),t),r(n(86791),t)},86791: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(29795),t)},29795: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.Arrow=void 0;const r=a(n(4516)),i=a(n(94184)),o=n(25796),s=a(n(82952)),d=a(n(23862)),l=a(n(87327));function c(e){const{position:t="none",className:n}=e;return r.default.createElement(o.Containee,Object.assign({},e,{className:i.default(s.default.arrow,l.default[t],d.default[t],n)}))}c.__bit_component={id:"teambit.evangelist/surfaces/tooltip@1.0.1",homepage:"https://bit.dev/teambit/evangelist/surfaces/tooltip",exported:!0},t.Arrow=c},32297: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(42130),t)},42130: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.TooltipMenu=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(25796),d=n(2222),l=n(16601),c=r(n(44836)),u=e=>{var{position:t,children:n,elevation:r="medium",roundness:u="sharp",className:p}=e,g=a(e,["position","children","elevation","roundness","className"]);return i.default.createElement(s.Containee,Object.assign({position:t,className:o.default(c.default.menu,d.elevationClass[r],l.roundnessClass[u],p)},g),n)};u.__bit_component={id:"teambit.evangelist/surfaces/tooltip@1.0.1",homepage:"https://bit.dev/teambit/evangelist/surfaces/tooltip",exported:!0},t.TooltipMenu=u,t.TooltipMenu.defaultProps={elevation:"medium",roundness:"sharp"}},54871: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.TooltipDrawer=void 0;const i=r(n(4516)),o=n(57692),s=r(n(94184)),d=n(52158),l=n(32297),c=n(86791),u=r(n(13796));function p(e){var{children:t,className:n,position:r="bottom",elevation:p,tooltipClass:g,arrowClass:_}=e,f=a(e,["children","className","position","elevation","tooltipClass","arrowClass"]);return i.default.createElement(o.Drawer,Object.assign({className:s.default(u.default.drawer,n)},f),i.default.createElement(l.TooltipMenu,{position:r,elevation:p,className:s.default(g,d.fadeInOutClass,u.default.tooltip)},t),i.default.createElement(c.Arrow,{position:r,className:s.default(_,d.fadeInOutClass,u.default.arrow)}))}p.__bit_component={id:"teambit.evangelist/surfaces/tooltip@1.0.1",homepage:"https://bit.dev/teambit/evangelist/surfaces/tooltip",exported:!0},t.TooltipDrawer=p,p.defaultProps={hoverToOpen:!1,position:"bottom"}},90327: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(460),t)},460: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.Link=void 0;const r=a(n(4516)),i=n(30724),o=a(n(14771));function s(e){return r.default.createElement(i.Link,Object.assign({},e,{className:o.default.link,external:!0}))}s.__bit_component={id:"teambit.mdx/ui/docs/link@0.0.487",homepage:"https://bit.dev/teambit/mdx/ui/docs/link",exported:!0},t.Link=s},82979: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(49202),t)},49202: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};Object.defineProperty(t,"__esModule",{value:!0}),t.Snippet=void 0;const s=i(n(4516)),d=n(71795),l=n(55261),c=n(23142);function u(e){var{scope:t}=e,n=o(e,["scope"]);const a=(0,s.useContext)(d.MDXScopeContext),r=(0,s.useMemo)((()=>Object.assign(Object.assign(Object.assign({},a),{mdx:l.mdx}),t)),[a,t,l.mdx]);return s.default.createElement(c.Snippet,Object.assign({scope:r},n))}u.__bit_component={id:"teambit.mdx/ui/docs/snippet@0.0.487",homepage:"https://bit.dev/teambit/mdx/ui/docs/snippet",exported:!0},t.Snippet=u},4663:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MDXLayout=void 0;var a=n(7614);Object.defineProperty(t,"MDXLayout",{enumerable:!0,get:function(){return a.MDXLayout}})},7614: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};Object.defineProperty(t,"__esModule",{value:!0}),t.MDXLayout=void 0;const s=i(n(4516)),d=n(16531),l=n(82979),c=n(90327);n(87420);const u={code:l.Snippet,a:c.Link};function p(e){var{components:t}=e,n=o(e,["components"]);const a=(0,s.useMemo)((()=>Object.assign(Object.assign({},u),t)),[u,t]);return s.default.createElement(d.MDXLayout,Object.assign({components:a},n))}p.__bit_component={id:"teambit.mdx/ui/mdx-layout@0.0.493",homepage:"https://bit.dev/teambit/mdx/ui/mdx-layout",exported:!0},t.MDXLayout=p},81287:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MDXScopeProvider=t.MDXScopeContext=void 0;var a=n(92920);Object.defineProperty(t,"MDXScopeContext",{enumerable:!0,get:function(){return a.MDXScopeContext}});var r=n(2202);Object.defineProperty(t,"MDXScopeProvider",{enumerable:!0,get:function(){return r.MDXScopeProvider}})},92920:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MDXScopeContext=void 0;const a=n(4516);t.MDXScopeContext=(0,a.createContext)({})},2202: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.MDXScopeProvider=void 0;const r=a(n(4516)),i=n(92920);function o({components:e,children:t}){return r.default.createElement(i.MDXScopeContext.Provider,{value:e},t)}o.__bit_component={id:"teambit.mdx/ui/mdx-scope-context@0.0.486",homepage:"https://bit.dev/teambit/mdx/ui/mdx-scope-context",exported:!0},t.MDXScopeProvider=o},14097: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.Base=void 0;const d=i(n(4516)),l=n(35800),c=s(n(94184)),u=s(n(5800)),p=n(50203),g=n(63564),_=n(4663),f=n(75334),m=n(8629),h=s(n(73588)),R=n(69398),b=n(73532),E=n(43442),y=n(17887),S=n(52850),v={examples:[],labels:[],abstract:""};function T(e){var{docs:t=v,componentId:n,compositions:a,renderingContext:r}=e,i=o(e,["docs","componentId","compositions","renderingContext"]);const{loading:s,error:T,data:O}=(0,S.useFetchDocs)(n),C=r.get(m.ReactAspect.id),N=(0,d.useMemo)((()=>(0,u.default)(Object.values(C||{}))),[C]);if(!O||s)return null;if(s)return null;if(T)throw T;const{component:A,docs:w}=O,{examples:I=[],labels:x=[],abstract:D=w.abstract}=t,{displayName:P,version:M,packageName:L,description:k,elementsUrl:F}=A,B=(0,p.isFunction)(t.default)?t.default:()=>null;return d.default.createElement("div",Object.assign({className:(0,c.default)(h.default.docsMainBlock)},i),d.default.createElement(R.ComponentOverview,{displayName:B.displayName||P,version:M,abstract:k||B.abstract||D,labels:A.labels||B.labels||x,packageName:L,elementsUrl:F}),d.default.createElement(l.ErrorBoundary,{FallbackComponent:f.ErrorFallback},d.default.createElement(g.Composer,{components:N},d.default.createElement(l.ErrorBoundary,{FallbackComponent:f.ErrorFallback},B.isMDXComponent?d.default.createElement(_.MDXLayout,{className:h.default.mdx},d.default.createElement(B,null)):d.default.createElement(B,null)),d.default.createElement(b.CompositionsSummary,{compositions:a,className:h.default.compositionSection,compositionCardClass:h.default.compositionCard}),d.default.createElement(E.ExamplesOverview,{examples:B.examples||I}),d.default.createElement(y.Properties,{properties:w.properties}))))}T.__bit_component={id:"teambit.react/ui/docs-app@0.0.111",homepage:"https://bit.dev/teambit/react/ui/docs-app",exported:!0},t.Base=T},93811: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(51208),s=n(2206),d=n(43262),l=n(38316),c=n(18631),u=n(69010),p=n(75302),g=n(83264),_=r(n(47130));function f(e){var{displayName:t,abstract:n,labels:r,packageName:f,elementsUrl:m}=e,h=a(e,["displayName","abstract","labels","packageName","elementsUrl"]);let R=m;if(R&&!R.startsWith("http")){const e=g.isBrowser?window.location.origin:void 0;R=e&&m?`${e}${m}`:void 0}return i.default.createElement(c.Section,Object.assign({},h),i.default.createElement("div",{className:o.textColumn},i.default.createElement(d.H1,null,t),n&&i.default.createElement(p.Subtitle,{className:_.default.subTitle},n),i.default.createElement(l.LabelList,null,r),i.default.createElement(s.ConsumableLink,{title:"Package name",link:f}),R&&i.default.createElement(s.ConsumableLink,{title:"Elements url",link:R})),i.default.createElement(u.Separator,{isPresentational:!0}))}f.__bit_component={id:"teambit.react/ui/docs-app@0.0.111",homepage:"https://bit.dev/teambit/react/ui/docs-app",exported:!0},t.ComponentOverview=f},69398: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(93811),t)},73532: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.CompositionsSummary=void 0;const i=n(85971),o=n(20849),s=n(18631),d=r(n(4516));function l(e){var{compositions:t,compositionCardClass:n}=e,r=a(e,["compositions","compositionCardClass"]);return t&&0!==Object.keys(t).length?d.default.createElement(s.Section,Object.assign({},r),d.default.createElement(o.LinkedHeading,null,"Compositions"),d.default.createElement(i.CompositionsOverview,{compositions:t,compositionCardClass:n})):null}l.__bit_component={id:"teambit.react/ui/docs-app@0.0.111",homepage:"https://bit.dev/teambit/react/ui/docs-app",exported:!0},t.CompositionsSummary=l},50152:function(e,t,n){"use strict";var a={id:"teambit.react/ui/docs-app@0.0.111",homepage:"https://bit.dev/teambit/react/ui/docs-app",exported:!0},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DocsApp=void 0;const i=r(n(4516)),o=n(122),s=n(5480),d=n(14097);function l({Provider:e=c,docs:t,componentId:n,compositions:a,renderingContext:r}){return i.default.createElement(e,null,i.default.createElement(o.ThemeContext,null,i.default.createElement(s.IconFont,{query:"q76y7n"}),i.default.createElement(d.Base,{docs:t,componentId:n,compositions:a,renderingContext:r})))}function c({children:e}){return i.default.createElement(i.default.Fragment,null,e)}l.__bit_component=a,t.DocsApp=l,c.__bit_component=a},65125:function(e,t,n){"use strict";var a={id:"teambit.react/ui/docs-app@0.0.111",homepage:"https://bit.dev/teambit/react/ui/docs-app",exported:!0},r=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},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ExamplesOverview=void 0;const o=n(20849),s=n(18631),d=i(n(94184)),l=i(n(4516)),c=i(n(53594)),u=n(79970),p=i(n(6179));function g(e){var{examples:t}=e,n=r(e,["examples"]);return t.length<=0?null:l.default.createElement("div",Object.assign({},n),t.map(((e,t)=>l.default.createElement(_,{key:t,example:e}))))}function _(e){var{example:t,className:n}=e,a=r(e,["example","className"]);const i=t.jsx?(0,c.default)(t.jsx,{useFunctionCode:!0}):t.code;return l.default.createElement(s.Section,Object.assign({},a,{className:(0,d.default)(n,p.default.exampleSection)}),t.title&&l.default.createElement(o.LinkedHeading,null,t.title),t.description&&l.default.createElement("div",null,t.description),l.default.createElement(u.Playground,{code:i,scope:t.scope}))}g.__bit_component=a,t.ExamplesOverview=g,_.__bit_component=a},43442: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(65125),t)},37599: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(4516)),i=a(n(79283)),o=n(50152);function s(e,t,n,a,s){i.default.render(r.default.createElement(o.DocsApp,{Provider:e,compositions:a,docs:n,componentId:t,renderingContext:s}),document.getElementById("root"))}s.__bit_component={id:"teambit.react/ui/docs-app@0.0.111",homepage:"https://bit.dev/teambit/react/ui/docs-app",exported:!0},t.default=s},17887: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.Properties=void 0;const r=n(20849),i=n(46503),o=n(18631),s=a(n(4516));function d({properties:e}){return 0===e.length?s.default.createElement("div",null):s.default.createElement(o.Section,null,s.default.createElement(r.LinkedHeading,null,"Properties"),s.default.createElement(i.PropTable,{rows:e}))}d.__bit_component={id:"teambit.react/ui/docs-app@0.0.111",homepage:"https://bit.dev/teambit/react/ui/docs-app",exported:!0},t.Properties=d},52850:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useFetchDocs=void 0;const a=n(4516),r=n(28687),i=n(33355),o=r.gql`
|
|
95
|
+
`;function E(e,t){var n;const a=(0,o().useRef)(e);a.current=e;const{data:r,error:i,loading:s,subscribeToMore:p}=(0,d().useDataQuery)(m,{variables:{id:e,extensionId:t}});(0,o().useEffect)((()=>{if("teambit.workspace/workspace"!==t)return()=>{};const e=p({document:h,updateQuery:(e,{subscriptionData:t})=>{var n,r,i;const o=null===e||void 0===e||null===(n=e.getHost)||void 0===n?void 0:n.get,s=null===t||void 0===t||null===(r=t.data)||void 0===r||null===(i=r.componentAdded)||void 0===i?void 0:i.component;return!s||o?e:a.current===s.id.name?g(g({},e),{},{getHost:g(g({},e.getHost),{},{get:s})}):e}}),n=p({document:R,updateQuery:(e,{subscriptionData:t})=>{var n,a,r;if(!t.data)return e;const i=null===e||void 0===e||null===(n=e.getHost)||void 0===n?void 0:n.get,o=null===t||void 0===t||null===(a=t.data)||void 0===a||null===(r=a.componentChanged)||void 0===r?void 0:r.component;return o&&l().ComponentID.isEqualObj(null===i||void 0===i?void 0:i.id,null===o||void 0===o?void 0:o.id)?g(g({},e),{},{getHost:g(g({},e.getHost),{},{get:o})}):e}}),r=p({document:b,updateQuery:(e,{subscriptionData:t})=>{var n,a,r;if(!t.data)return e;const i=null===e||void 0===e||null===(n=e.getHost)||void 0===n?void 0:n.get,o=null===t||void 0===t||null===(a=t.data)||void 0===a||null===(r=a.componentRemoved)||void 0===r?void 0:r.componentIds;if(!i||null===o||void 0===o||!o.length)return e;return o.some((e=>l().ComponentID.isEqualObj(e,i.id)))?g(g({},e),{},{getHost:g(g({},e.getHost),{},{get:null})}):e}});return()=>{n(),e(),r()}}),[]);const _=null===r||void 0===r||null===(n=r.getHost)||void 0===n?void 0:n.get;return(0,o().useMemo)((()=>({component:_?c().ComponentModel.from(g(g({},_),{},{host:t})):void 0,error:i?new(u().ComponentError)(500,i.message):_||s?void 0:new(u().ComponentError)(404)})),[_,t,i])}E.__bit_component=a},11778:(e,t,n)=>{"use strict";var a={id:"teambit.component/component@0.0.630",homepage:"https://bit.dev/teambit/component/component",exported:!0};function r(){const e=n(52154);return r=function(){return e},e}function i(){const e=n(92008);return i=function(){return e},e}function o(){const e=n(83746);return o=function(){return e},e}function s(e,t){const{params:{componentId:n}}=(0,r().useRouteMatch)(),a=(0,i().useQuery)().get("version")||void 0,s=(null===t||void 0===t?void 0:t.toString({ignoreVersion:!0}))||n;if(!s)throw new TypeError("useComponent received no component id");return(0,o().useComponentQuery)(d(s,a),e)}function d(e,t){return t?e.includes("@")?e:`${e}@${t}`:e}Object.defineProperty(t,"__esModule",{value:!0}),t.useComponent=s,r.__bit_component=a,i.__bit_component=a,o.__bit_component=a,s.__bit_component=a,d.__bit_component=a},81116: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.IconFont=void 0;const r=a(n(4516));function i(e){const{query:t="cr084i"}=e;return r.default.createElement("link",{rel:"stylesheet",href:`https://d1azc1qln24ryf.cloudfront.net/158286/Bit/style-cf.css?${t}`})}i.__bit_component={id:"teambit.design/theme/icons-font@1.0.8",homepage:"https://bit.dev/teambit/design/theme/icons-font",exported:!0},t.IconFont=i},5480:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IconFont=void 0;var a=n(81116);Object.defineProperty(t,"IconFont",{enumerable:!0,get:function(){return a.IconFont}})},81095:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ServerErrorPage=void 0;var a=n(95016);Object.defineProperty(t,"ServerErrorPage",{enumerable:!0,get:function(){return a.ServerErrorPage}})},95016: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.ServerErrorPage=void 0;const i=r(n(4516)),o=n(72967);function s(e){var t=a(e,[]);return i.default.createElement(o.ErrorPage,Object.assign({},t,{code:500,title:"Internal server error"}),i.default.createElement(o.ContactIcons,null))}s.__bit_component={id:"teambit.design/ui/pages/server-error@0.0.353",homepage:"https://bit.dev/teambit/design/ui/pages/server-error",exported:!0},t.ServerErrorPage=s},1864:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PillLabel=void 0;var a=n(28265);Object.defineProperty(t,"PillLabel",{enumerable:!0,get:function(){return a.PillLabel}})},28265: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.PillLabel=void 0;const r=a(n(94184)),i=a(n(4516)),o=a(n(83882));function s({children:e,className:t}){return i.default.createElement("div",{className:(0,r.default)(o.default.pillLabel,t)},e)}s.__bit_component={id:"teambit.design/ui/pill-label@0.0.349",homepage:"https://bit.dev/teambit/design/ui/pill-label",exported:!0},t.PillLabel=s},69010:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Separator=void 0;var a=n(63239);Object.defineProperty(t,"Separator",{enumerable:!0,get:function(){return a.Separator}})},63239: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.Separator=void 0;const i=r(n(94184)),o=r(n(4516)),s=n(30251),d=r(n(17426));function l(e){var{className:t,isPresentational:n}=e,r=a(e,["className","isPresentational"]);return n?o.default.createElement("div",Object.assign({className:(0,i.default)(d.default.separator,t)},r)):o.default.createElement(s.Separator,Object.assign({className:(0,i.default)(t)},r))}l.__bit_component={id:"teambit.design/ui/separator@0.0.351",homepage:"https://bit.dev/teambit/design/ui/separator",exported:!0},t.Separator=l},65403: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.Ellipsis=void 0;const r=a(n(4516)),i=a(n(94184)),o=a(n(29116));function s(e){return r.default.createElement("div",Object.assign({},e,{className:(0,i.default)(e.className,o.default.ellipsisDiv)}))}s.__bit_component={id:"teambit.design/ui/styles/ellipsis@0.0.347",homepage:"https://bit.dev/teambit/design/ui/styles/ellipsis",exported:!0},t.Ellipsis=s},30804: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.Ellipsis=t.ellipsis=void 0;const r=a(n(29116));t.ellipsis=r.default.ellipsis;var i=n(65403);Object.defineProperty(t,"Ellipsis",{enumerable:!0,get:function(){return i.Ellipsis}})},51882:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UseSingletonProps=t.tippy=t.useSingleton=t.TooltipMountPoint=t.SingletonTooltipProvider=t.useCtxTooltipInstance=t.ProvideTooltipInstance=t.Tooltip=void 0;var a=n(53779);Object.defineProperty(t,"Tooltip",{enumerable:!0,get:function(){return a.Tooltip}});var r=n(11630);Object.defineProperty(t,"ProvideTooltipInstance",{enumerable:!0,get:function(){return r.ProvideTooltipInstance}}),Object.defineProperty(t,"useCtxTooltipInstance",{enumerable:!0,get:function(){return r.useCtxTooltipInstance}});var i=n(66152);Object.defineProperty(t,"SingletonTooltipProvider",{enumerable:!0,get:function(){return i.SingletonTooltipProvider}});var o=n(30759);Object.defineProperty(t,"TooltipMountPoint",{enumerable:!0,get:function(){return o.TooltipMountPoint}});var s=n(69772);Object.defineProperty(t,"useSingleton",{enumerable:!0,get:function(){return s.useSingleton}}),Object.defineProperty(t,"tippy",{enumerable:!0,get:function(){return s.tippy}});var d=n(69772);Object.defineProperty(t,"UseSingletonProps",{enumerable:!0,get:function(){return d.UseSingletonProps}})},30759:function(e,t,n){"use strict";var a={id:"teambit.design/ui/tooltip@0.0.352",homepage:"https://bit.dev/teambit/design/ui/tooltip",exported:!0},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TooltipMountPoint=t.getMountPoint=t.mountId=void 0;const i=r(n(4516));function o(e){return document.getElementById(t.mountId)||e.parentElement||document.body}function s(){return i.default.createElement("div",{id:t.mountId})}t.mountId="tooltip-mount-point",o.__bit_component=a,t.getMountPoint=o,s.__bit_component=a,t.TooltipMountPoint=s},11630:function(e,t,n){"use strict";var a={id:"teambit.design/ui/tooltip@0.0.352",homepage:"https://bit.dev/teambit/design/ui/tooltip",exported:!0},r=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]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=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)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.useCtxTooltipInstance=t.ProvideTooltipInstance=void 0;const s=o(n(4516)),d=(0,s.createContext)(void 0);function l({value:e,children:t}){return s.default.createElement(d.Provider,{value:e},t)}function c(){return(0,s.useContext)(d)}l.__bit_component=a,t.ProvideTooltipInstance=l,c.__bit_component=a,t.useCtxTooltipInstance=c},66152: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.SingletonTooltipProvider=void 0;const i=r(n(4516)),o=n(69772),s=n(11630),d=n(53779);function l(e){var{children:t,disabled:n,overrides:r}=e,l=a(e,["children","disabled","overrides"]);const[c,u]=(0,o.useSingleton)({disabled:n,overrides:r});return i.default.createElement(i.default.Fragment,null,i.default.createElement(d.Tooltip,Object.assign({},l,{singleton:c})),i.default.createElement(s.ProvideTooltipInstance,{value:u},t))}l.__bit_component={id:"teambit.design/ui/tooltip@0.0.352",homepage:"https://bit.dev/teambit/design/ui/tooltip",exported:!0},t.SingletonTooltipProvider=l},53779: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.Tooltip=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(49642),d=r(n(69772)),l=n(45088);n(7596),n(94710);const c=n(30759),u=n(11630);n(80021);const p={modifiers:[{name:"arrow",options:{padding:5}}]};function g(e){var{children:t,breakline:n,singleton:r,className:g}=e,_=a(e,["children","breakline","singleton","className"]);const f=(0,u.useCtxTooltipInstance)(),m=r||f,h="string"===typeof t?i.default.createElement("span",null,t):t;return i.default.createElement(d.default,Object.assign({arrow:l.roundArrow,className:(0,o.default)(s.darkMode,n&&"tippy-breakLine",g),theme:"teambit",interactive:!0,appendTo:c.getMountPoint,popperOptions:p},_,{singleton:m}),h)}g.__bit_component={id:"teambit.design/ui/tooltip@0.0.352",homepage:"https://bit.dev/teambit/design/ui/tooltip",exported:!0},t.Tooltip=g},79970: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(5807),t)},5807: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.Playground=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(24475),d=n(36840),l=n(50306),c=r(n(32941)),u=n(41041),p=r(n(2097)),g=n(22845),_=r(n(66305));function f(e){var{code:t,scope:n,style:r}=e;a(e,["code","scope","style"]);const[f,{width:m}]=c.default(),h=+u.useDebounce(m,300,{leading:!0})[0]<=500?d.Layout.columnReverse:d.Layout.row,R="column reverse"===h;return m?i.default.createElement(s.LiveProvider,{code:t,scope:n,theme:p.default},i.default.createElement("div",{style:r,ref:f,className:_.default.playground},i.default.createElement(d.SplitPane,{className:_.default.main,size:"50%",layout:h},i.default.createElement(d.Pane,{className:o.default(_.default.codePane,R&&_.default.column)},i.default.createElement("div",{className:_.default.editorWrapper},i.default.createElement(s.LiveEditor,{className:o.default(_.default.editor)}))),i.default.createElement(l.HoverSplitter,{className:_.default.splitter}),i.default.createElement(d.Pane,{className:o.default(_.default.previewPane,R&&_.default.column)},i.default.createElement("div",{className:_.default.previewBox},i.default.createElement(s.LivePreview,null),i.default.createElement(s.LiveError,{className:o.default(g.Error,_.default.error,R&&_.default.column)})))))):i.default.createElement("div",{ref:f})}f.__bit_component={id:"teambit.documenter/code/react-playground@4.0.1",homepage:"https://bit.dev/teambit/documenter/code/react-playground",exported:!0},t.Playground=f},36373:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.links=t.docsUrl=void 0,t.docsUrl="https://harmony-docs.bit.dev",t.links={scopedRegistry:`${t.docsUrl}/components/installing`,installBit:`${t.docsUrl}/introduction/installation`,createCompositions:`${t.docsUrl}/tutorial/render-component`,testComponents:`${t.docsUrl}/tutorial/test`,bitIntroduction:`${t.docsUrl}/introduction/getting-started`,whatIsBit:`${t.docsUrl}/introduction/why-bit`,tagComponentVersion:`${t.docsUrl}/tutorial/version`}},12179:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.docsUrl=t.links=void 0;var a=n(36373);Object.defineProperty(t,"links",{enumerable:!0,get:function(){return a.links}}),Object.defineProperty(t,"docsUrl",{enumerable:!0,get:function(){return a.docsUrl}})},97194: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.h6=t.h5=t.h4=t.h3=t.h2=t.h1=t.createHeading=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(20849),d=r(n(67471));function l(e,t){return function(n){var{children:r,className:l}=n,c=a(n,["children","className"]);const u="lg"===e||"md"===e;return i.default.createElement(s.LinkedHeading,Object.assign({},c,{className:(0,o.default)(l,d.default.mdxLinkedHeading,u&&d.default.mainHeadingStyles),size:e,element:t}),r)}}l.__bit_component={id:"teambit.documenter/markdown/heading@0.1.6",homepage:"https://bit.dev/teambit/documenter/markdown/heading",exported:!0},t.createHeading=l,t.h1=l("lg","h1"),t.h2=l("md","h2"),t.h3=l("sm","h3"),t.h4=l("xs","h4"),t.h5=l("xxs","h5"),t.h6=l("xxs","h6")},95127:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.h6=t.h5=t.h4=t.h3=t.h2=t.h1=t.createHeading=void 0;var a=n(97194);Object.defineProperty(t,"createHeading",{enumerable:!0,get:function(){return a.createHeading}}),Object.defineProperty(t,"h1",{enumerable:!0,get:function(){return a.h1}}),Object.defineProperty(t,"h2",{enumerable:!0,get:function(){return a.h2}}),Object.defineProperty(t,"h3",{enumerable:!0,get:function(){return a.h3}}),Object.defineProperty(t,"h4",{enumerable:!0,get:function(){return a.h4}}),Object.defineProperty(t,"h5",{enumerable:!0,get:function(){return a.h5}}),Object.defineProperty(t,"h6",{enumerable:!0,get:function(){return a.h6}})},23142:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Snippet=void 0;var a=n(99781);Object.defineProperty(t,"Snippet",{enumerable:!0,get:function(){return a.Snippet}})},99781: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.Snippet=void 0;const r=a(n(4516)),i=n(64320),o=n(68546),s=a(n(88841));function d({children:e,scope:t,live:n}){return n?r.default.createElement(o.Playground,{className:s.default.snippet,code:e,scope:t}):r.default.createElement(i.CodeSnippet,{className:s.default.snippet},e)}d.__bit_component={id:"teambit.documenter/markdown/hybrid-live-code-snippet@0.1.3",homepage:"https://bit.dev/teambit/documenter/markdown/hybrid-live-code-snippet",exported:!0},t.Snippet=d},68546:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Playground=void 0;var a=n(69133);Object.defineProperty(t,"Playground",{enumerable:!0,get:function(){return a.Playground}})},69133: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.Playground=void 0;const d=i(n(4516)),l=s(n(94184)),c=n(24475),u=n(36840),p=n(50306),g=s(n(32941)),_=n(67773),f=s(n(2097)),m=n(22845),h=s(n(40148));function R(e){var{code:t,scope:n,style:a,className:r}=e,i=o(e,["code","scope","style","className"]);const s=d.useMemo((()=>null===t||void 0===t?void 0:t.toString().replace(/\n$/,"").trim()),[t]),[R,{width:b}]=g.default(),E=+_.useDebounce(b,300,{leading:!0})[0]<=500,y=E?u.Layout.columnReverse:u.Layout.row;return b?d.default.createElement(c.LiveProvider,{code:s,scope:n,theme:f.default},d.default.createElement("div",Object.assign({ref:R,className:l.default(r,h.default.playground,E?h.default.column:h.default.row)},i),d.default.createElement(u.SplitPane,{className:h.default.main,size:"50%",layout:y},d.default.createElement(u.Pane,{className:l.default(h.default.codePane)},d.default.createElement(c.LiveEditor,{className:l.default(h.default.editor)})),d.default.createElement(p.HoverSplitter,{className:h.default.splitter}),d.default.createElement(u.Pane,{className:l.default(h.default.previewPane)},d.default.createElement(d.default.Fragment,null,d.default.createElement(c.LivePreview,{className:h.default.previewBox}),d.default.createElement(c.LiveError,{className:l.default(m.Error,h.default.error)})))))):d.default.createElement("div",{ref:R})}R.__bit_component={id:"teambit.documenter/code/react-playground@4.1.3",homepage:"https://bit.dev/teambit/documenter/code/react-playground",exported:!0},t.Playground=R},7861:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultMdxComponents=void 0;const a=n(77150),r=n(46441),i=n(95637),o=n(95127),s=n(12315),d=n(32868),l=n(13531),c=n(15610),u=n(8677),p=n(43917),g=n(24270),_=n(89014),f=n(68332),m=n(13541),h=n(95409),R=n(2805);t.defaultMdxComponents={h1:o.h1,h2:o.h2,h3:o.h3,h4:o.h4,h5:o.h5,h6:o.h6,p:u.Paragraph,code:g.Snippet,a:i.ExternalLink,inlineCode:d.InlineCode,ol:c.Ol,ul:R.Ul,hr:p.Separator,thematicBreak:p.Separator,img:s.Image,strong:r.Bold,em:l.Italic,pre:({children:e})=>e,sup:_.Sup,table:f.Table,tr:h.Tr,td:m.Td,blockquote:a.BlockQuote}},21607:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultMdxComponents=void 0;var a=n(7861);Object.defineProperty(t,"defaultMdxComponents",{enumerable:!0,get:function(){return a.defaultMdxComponents}})},16531:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MDXLayout=void 0;var a=n(47896);Object.defineProperty(t,"MDXLayout",{enumerable:!0,get:function(){return a.MDXLayout}})},47896: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.MDXLayout=void 0;const d=i(n(4516)),l=s(n(94184)),c=n(55261),u=n(21607),p=s(n(65366));function g(e){var{children:t,components:n,className:a}=e,r=o(e,["children","components","className"]);const i=(0,d.useMemo)((()=>Object.assign(Object.assign({},u.defaultMdxComponents),n)),[u.defaultMdxComponents,n]);return d.default.createElement(c.MDXProvider,{components:i},d.default.createElement("div",Object.assign({className:(0,l.default)(p.default.mdxContent,a)},r),t))}g.__bit_component={id:"teambit.documenter/markdown/mdx@0.1.7",homepage:"https://bit.dev/teambit/documenter/markdown/mdx",exported:!0},t.MDXLayout=g},27963: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(77669));function d(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}d.__bit_component={id:"teambit.base-ui/input/error@1.0.3",homepage:"https://bit.dev/teambit/base-ui/input/error",exported:!0},t.Error=d},78253: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(27963),t)},14085:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PossibleSizes=t.Paragraph=void 0;var a=n(63450);Object.defineProperty(t,"Paragraph",{enumerable:!0,get:function(){return a.Paragraph}}),Object.defineProperty(t,"PossibleSizes",{enumerable:!0,get:function(){return a.PossibleSizes}})},63450: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(1315);Object.defineProperty(t,"PossibleSizes",{enumerable:!0,get:function(){return s.PossibleSizes}});const d=n(13826);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))}l.__bit_component={id:"teambit.base-ui/text/paragraph@1.0.3",homepage:"https://bit.dev/teambit/base-ui/text/paragraph",exported:!0},t.Paragraph=l,l.defaultProps={size:"md",element:"p"}},52338:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Playground=void 0;var a=n(22792);Object.defineProperty(t,"Playground",{enumerable:!0,get:function(){return a.Playground}})},22792: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.Playground=void 0;const d=i(n(4516)),l=s(n(94184)),c=n(24475),u=n(36840),p=n(50306),g=s(n(32941)),_=n(15261),f=s(n(2097)),m=n(78253),h=s(n(52896));function R(e){var{code:t,scope:n,style:a,className:r}=e,i=o(e,["code","scope","style","className"]);const s=(0,d.useMemo)((()=>null===t||void 0===t?void 0:t.toString().replace(/\n$/,"").trim()),[t]),[R,{width:b}]=(0,g.default)(),E=+(0,_.useDebounce)(b,300,{leading:!0})[0]<=500,y=E?u.Layout.columnReverse:u.Layout.row;return b?d.default.createElement(c.LiveProvider,{code:s,scope:n,theme:f.default},d.default.createElement("div",Object.assign({ref:R,className:(0,l.default)(r,h.default.playground,E?h.default.column:h.default.row)},i),d.default.createElement(u.SplitPane,{className:h.default.main,size:"50%",layout:y},d.default.createElement(u.Pane,{className:(0,l.default)(h.default.codePane)},d.default.createElement(c.LiveEditor,{className:(0,l.default)(h.default.editor)})),d.default.createElement(p.HoverSplitter,{className:h.default.splitter}),d.default.createElement(u.Pane,{className:(0,l.default)(h.default.previewPane)},d.default.createElement(d.default.Fragment,null,d.default.createElement(c.LivePreview,{className:h.default.previewBox}),d.default.createElement(c.LiveError,{className:(0,l.default)(m.Error,h.default.error)})))))):d.default.createElement("div",{ref:R})}R.__bit_component={id:"teambit.documenter/code/react-playground@4.1.5",homepage:"https://bit.dev/teambit/documenter/code/react-playground",exported:!0},t.Playground=R},24270:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Snippet=void 0;var a=n(80048);Object.defineProperty(t,"Snippet",{enumerable:!0,get:function(){return a.Snippet}})},80048: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.Snippet=void 0;const r=a(n(4516)),i=n(56391),o=n(52338),s=a(n(22422));function d({children:e,scope:t,live:n}){return n?r.default.createElement(o.Playground,{className:s.default.snippet,code:e,scope:t}):r.default.createElement(i.CodeSnippet,{className:s.default.snippet},e)}d.__bit_component={id:"teambit.documenter/markdown/hybrid-live-code-snippet@0.1.6",homepage:"https://bit.dev/teambit/documenter/markdown/hybrid-live-code-snippet",exported:!0},t.Snippet=d},11899: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.BlockQuote=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(7980));function d(e){var{className:t,children:n}=e,r=a(e,["className","children"]);return i.default.createElement("blockquote",Object.assign({},r,{className:(0,o.default)(s.default.blockQuote,t)}),n)}d.__bit_component={id:"teambit.documenter/ui/block-quote@4.0.5",homepage:"https://bit.dev/teambit/documenter/ui/block-quote",exported:!0},t.BlockQuote=d},77150:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockQuote=void 0;var a=n(11899);Object.defineProperty(t,"BlockQuote",{enumerable:!0,get:function(){return a.BlockQuote}})},76714: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.Bold=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(65161));function d(e){var{children:t,className:n}=e,r=a(e,["children","className"]);return i.default.createElement("strong",Object.assign({},r,{className:(0,o.default)(s.default.bold,n)}),t)}d.__bit_component={id:"teambit.documenter/ui/bold@4.0.5",homepage:"https://bit.dev/teambit/documenter/ui/bold",exported:!0},t.Bold=d},46441:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Bold=void 0;var a=n(76714);Object.defineProperty(t,"Bold",{enumerable:!0,get:function(){return a.Bold}})},43408:function(e,t,n){"use strict";var a={id:"teambit.documenter/ui/code-snippet@4.1.4",homepage:"https://bit.dev/teambit/documenter/ui/code-snippet",exported:!0},r=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]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=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)&&r(t,e,n);return i(t,e),t},s=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},d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CodeSnippet=void 0;const l=o(n(4516)),c=d(n(94184)),u=d(n(20640)),p=n(58398),g=n(57415),_=d(n(67134)),f=d(n(83558)),m=d(n(45675)),h=d(n(32074));_.default.registerLanguage("tsx",f.default);const R={fontFamily:"roboto mono",fontSize:12};function b(e){var{className:t,frameClass:n,theme:r=m.default,language:i="tsx",children:o}=e,d=s(e,["className","frameClass","theme","language","children"]);const[_,f]=(0,l.useState)(!1),b=()=>{f(!0),setTimeout((()=>f(!1)),2e3),(0,u.default)(o.toString())};b.__bit_component=a;const y=(0,l.useMemo)((()=>o.trim()),[o]);return l.default.createElement("div",{className:(0,c.default)(h.default.snippetWrapper,t)},l.default.createElement(E,Object.assign({},d,{className:(0,c.default)(h.default.codeSnippet,n),language:i,style:r,customStyle:R}),y),l.default.createElement("div",{className:h.default.copy},l.default.createElement(g.CopiedMessage,{show:_}),l.default.createElement(p.Icon,{onClick:b,className:h.default.copyIcon,of:"copy-cmp"})))}b.__bit_component=a,t.CodeSnippet=b;const E=(0,l.memo)((function(e){return l.default.createElement(_.default,Object.assign({},e))}))},56391: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(43408),t)},75565: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.CopiedMessage=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(35391));function d(e){var{className:t,show:n}=e,r=a(e,["className","show"]);return i.default.createElement("span",Object.assign({},r,{className:(0,o.default)(s.default.copiedMessage,{[s.default.showMessage]:n},t)}),"Copied")}d.__bit_component={id:"teambit.documenter/ui/copied-message@4.1.4",homepage:"https://bit.dev/teambit/documenter/ui/copied-message",exported:!0},t.CopiedMessage=d,d.defaultProps={show:!1}},57415: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(75565),t)},13531:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Italic=void 0;var a=n(16229);Object.defineProperty(t,"Italic",{enumerable:!0,get:function(){return a.Italic}})},16229: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.Italic=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(95895));function d(e){var{children:t,className:n}=e,r=a(e,["children","className"]);return i.default.createElement("em",Object.assign({},r,{className:(0,o.default)(s.default.italic,n)}),t)}d.__bit_component={id:"teambit.documenter/ui/italic@4.0.5",homepage:"https://bit.dev/teambit/documenter/ui/italic",exported:!0},t.Italic=d},15610:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Ol=void 0;var a=n(17742);Object.defineProperty(t,"Ol",{enumerable:!0,get:function(){return a.Ol}})},17742: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.Ol=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(2727));function d(e){var{children:t,className:n}=e,r=a(e,["children","className"]);return i.default.createElement("ol",Object.assign({},r,{className:(0,o.default)(s.default.ol,n)}),t)}d.__bit_component={id:"teambit.documenter/ui/ol@4.1.3",homepage:"https://bit.dev/teambit/documenter/ui/ol",exported:!0},t.Ol=d},8677: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(48136),t)},48136: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=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(14085),d=n(1315),l=r(n(44419));function c(e){var{children:t,className:n,size:r}=e,c=a(e,["children","className","size"]);const u=r?d.PossibleSizes[r]:d.PossibleSizes.md;return i.default.createElement(s.Paragraph,Object.assign({size:u},c,{className:(0,o.default)(l.default.paragraph,n)}),t)}c.__bit_component={id:"teambit.documenter/ui/paragraph@4.1.3",homepage:"https://bit.dev/teambit/documenter/ui/paragraph",exported:!0},t.Paragraph=c,c.defaultProps={size:"md",element:"p"}},43917:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Separator=void 0;var a=n(15464);Object.defineProperty(t,"Separator",{enumerable:!0,get:function(){return a.Separator}})},15464: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.Separator=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(74233));function d(e){var{className:t}=e,n=a(e,["className"]);return i.default.createElement("hr",Object.assign({className:(0,o.default)(s.default.separator,t)},n))}d.__bit_component={id:"teambit.documenter/ui/separator@4.1.3",homepage:"https://bit.dev/teambit/documenter/ui/separator",exported:!0},t.Separator=d},89014:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sup=void 0;var a=n(59593);Object.defineProperty(t,"Sup",{enumerable:!0,get:function(){return a.Sup}})},59593: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.Sup=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(5353));function d(e){var{children:t,className:n}=e,r=a(e,["children","className"]);return i.default.createElement("sup",Object.assign({},r,{className:(0,o.default)(s.default.sup,n)}),t)}d.__bit_component={id:"teambit.documenter/ui/sup@4.0.5",homepage:"https://bit.dev/teambit/documenter/ui/sup",exported:!0},t.Sup=d},87582: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.Table=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(60471));function d(e){var{children:t,className:n}=e,r=a(e,["children","className"]);return i.default.createElement("table",Object.assign({},r,{className:(0,o.default)(s.default.table,n)}),t)}d.__bit_component={id:"teambit.documenter/ui/table/base-table@4.1.3",homepage:"https://bit.dev/teambit/documenter/ui/table/base-table",exported:!0},t.Table=d},68332:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Table=void 0;var a=n(87582);Object.defineProperty(t,"Table",{enumerable:!0,get:function(){return a.Table}})},13541:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Td=void 0;var a=n(91811);Object.defineProperty(t,"Td",{enumerable:!0,get:function(){return a.Td}})},91811: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.Td=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(89553));function d(e){var{children:t,className:n}=e,r=a(e,["children","className"]);return i.default.createElement("td",Object.assign({},r,{className:(0,o.default)(s.default.td,n)}),t)}d.__bit_component={id:"teambit.documenter/ui/table/td@4.1.3",homepage:"https://bit.dev/teambit/documenter/ui/table/td",exported:!0},t.Td=d},95409:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tr=void 0;var a=n(84170);Object.defineProperty(t,"Tr",{enumerable:!0,get:function(){return a.Tr}})},84170: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.Tr=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(50886));function d(e){var{children:t,className:n}=e,r=a(e,["children","className"]);return i.default.createElement("tr",Object.assign({},r,{className:(0,o.default)(s.default.tr,n)}),t)}d.__bit_component={id:"teambit.documenter/ui/table/tr@4.1.3",homepage:"https://bit.dev/teambit/documenter/ui/table/tr",exported:!0},t.Tr=d},2805:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Ul=void 0;var a=n(8694);Object.defineProperty(t,"Ul",{enumerable:!0,get:function(){return a.Ul}})},8694: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.Ul=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(30406));function d(e){var{children:t,className:n}=e,r=a(e,["children","className"]);return i.default.createElement("ul",Object.assign({},r,{className:(0,o.default)(s.default.ul,n)}),t)}d.__bit_component={id:"teambit.documenter/ui/ul@4.1.3",homepage:"https://bit.dev/teambit/documenter/ui/ul",exported:!0},t.Ul=d},80814: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.Icon=void 0;const i=r(n(4516)),o=n(21622);function s(e){var{className:t,of:n}=e,r=a(e,["className","of"]);return i.default.createElement(o.BaseIcon,Object.assign({of:`bitcon-${n}`,className:t,"data-bit-id":"teambit.evangelist/elements/icon"},r))}s.__bit_component={id:"teambit.evangelist/elements/icon@1.0.5",homepage:"https://bit.dev/teambit/evangelist/elements/icon",exported:!0},t.Icon=s},58398: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(80814),t)},54754: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.ExternalLink=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(58329));function d(e){var{href:t,children:n,className:r}=e,d=a(e,["href","children","className"]);return i.default.createElement("a",Object.assign({},d,{target:"_blank",href:t,className:o.default(s.default.link,r)}),n)}d.__bit_component={id:"teambit.documenter/routing/external-link@4.1.0",homepage:"https://bit.dev/teambit/documenter/routing/external-link",exported:!0},t.ExternalLink=d},95637: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(54754),t)},122: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(66538),t)},66538: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.ThemeContext=t.ThemeDocumenter=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(94419),d=n(38756),l=r(n(40261)),c=r(n(28549));function u(e){var{children:t,className:n}=e,r=a(e,["children","className"]);return i.default.createElement(s.Theme,Object.assign({},r,{className:o.default(n,l.default.heading,c.default.overrides)}),i.default.createElement(d.Roboto,null),t)}u.__bit_component={id:"teambit.documenter/theme/theme-context@4.0.3",homepage:"https://bit.dev/teambit/documenter/theme/theme-context",exported:!0},t.ThemeDocumenter=u,t.ThemeContext=u},72238: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.Anchor=void 0;const r=a(n(4516)),i=a(n(94184)),o=n(6727),s=a(n(3637));function d(e){const t=e.href&&`#${e.href}`;return r.default.createElement("a",Object.assign({},e,{id:e.href,href:t,className:(0,i.default)(e.className,s.default.anchor)}),r.default.createElement(o.Icon,{of:"anchor",className:s.default.anchorIcon}))}d.__bit_component={id:"teambit.documenter/ui/anchor@4.0.6",homepage:"https://bit.dev/teambit/documenter/ui/anchor",exported:!0},t.Anchor=d},56149: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(72238),t)},1140: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.Icon=void 0;const i=r(n(4516)),o=n(21622);function s(e){var{className:t,of:n}=e,r=a(e,["className","of"]);return i.default.createElement(o.BaseIcon,Object.assign({of:`bitcon-${n}`,className:t,"data-bit-id":"teambit.evangelist/elements/icon"},r))}s.__bit_component={id:"teambit.evangelist/elements/icon@1.0.5",homepage:"https://bit.dev/teambit/evangelist/elements/icon",exported:!0},t.Icon=s},6727: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(1140),t)},21366:function(e,t,n){"use strict";var a={id:"teambit.documenter/ui/code-snippet@4.1.1",homepage:"https://bit.dev/teambit/documenter/ui/code-snippet",exported:!0},r=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]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=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)&&r(t,e,n);return i(t,e),t},s=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},d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CodeSnippet=void 0;const l=o(n(4516)),c=d(n(94184)),u=d(n(20640)),p=n(43003),g=n(32993),_=d(n(55549)),f=d(n(10025)),m=d(n(38967)),h=d(n(54587));_.default.registerLanguage("tsx",f.default);const R={fontFamily:"roboto mono",fontSize:12};function b(e){var{className:t,frameClass:n,theme:r=m.default,language:i="tsx",children:o}=e,d=s(e,["className","frameClass","theme","language","children"]);const[_,f]=l.useState(!1),b=()=>{f(!0),setTimeout((()=>f(!1)),2e3),u.default(o.toString())};b.__bit_component=a;const y=l.useMemo((()=>o.trim()),[o]);return l.default.createElement("div",{className:c.default(h.default.snippetWrapper,t)},l.default.createElement(E,Object.assign({},d,{className:c.default(h.default.codeSnippet,n),language:i,style:r,customStyle:R}),y),l.default.createElement("div",{className:h.default.copy},l.default.createElement(g.CopiedMessage,{show:_}),l.default.createElement(p.Icon,{onClick:b,className:h.default.copyIcon,of:"copy-cmp"})))}b.__bit_component=a,t.CodeSnippet=b;const E=l.memo((function(e){return l.default.createElement(_.default,Object.assign({},e))}))},64320: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(21366),t)},64569: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.ConsumableLink=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(37692),d=n(26668),l=n(2372),c=r(n(84369));function u(e){var{title:t,link:n,className:r}=e,u=a(e,["title","link","className"]);return i.default.createElement(s.Grid,Object.assign({colMd:2,className:o.default(c.default.copyMethod,r)},u),i.default.createElement(l.Paragraph,{className:c.default.copyTitle,size:"xs"},t),i.default.createElement(d.CopyBox,{className:c.default.copyBox},n))}u.__bit_component={id:"teambit.documenter/ui/consumable-link@4.0.3",homepage:"https://bit.dev/teambit/documenter/ui/consumable-link",exported:!0},t.ConsumableLink=u},2206: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(64569),t)},44880:function(e,t,n){"use strict";var a={id:"teambit.documenter/ui/copy-box@4.1.1",homepage:"https://bit.dev/teambit/documenter/ui/copy-box",exported:!0},r=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]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=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)&&r(t,e,n);return i(t,e),t},s=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},d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CopyBox=void 0;const l=o(n(4516)),c=d(n(20640)),u=d(n(94184)),p=n(32993),g=n(43003),_=n(37692),f=d(n(93495));function m(e){var{children:t,className:n}=e,r=s(e,["children","className"]);const[i,o]=l.useState(!1),d=()=>{o(!0),setTimeout((()=>o(!1)),2e3),c.default(t)};return d.__bit_component=a,l.default.createElement(_.Grid,Object.assign({colMd:2,className:u.default(f.default.copyBox,n)},r),l.default.createElement("div",{className:f.default.leftSection},t),l.default.createElement("div",{className:f.default.rightSection},l.default.createElement(p.CopiedMessage,{show:i}),l.default.createElement("button",{className:f.default.button,onClick:d},l.default.createElement(g.Icon,{className:f.default.copyIcon,of:"copy-cmp"}))))}m.__bit_component=a,t.CopyBox=m},26668: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(44880),t)},86214: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.CopiedMessage=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(15328));function d(e){var{className:t,show:n}=e,r=a(e,["className","show"]);return i.default.createElement("span",Object.assign({},r,{className:o.default(s.default.copiedMessage,{[s.default.showMessage]:n},t)}),"Copied")}d.__bit_component={id:"teambit.documenter/ui/copied-message@4.1.1",homepage:"https://bit.dev/teambit/documenter/ui/copied-message",exported:!0},t.CopiedMessage=d,d.defaultProps={show:!1}},32993: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(86214),t)},83412:function(e,t,n){"use strict";var a={id:"teambit.documenter/ui/copy-box@4.0.1",homepage:"https://bit.dev/teambit/documenter/ui/copy-box",exported:!0},r=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]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=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)&&r(t,e,n);return i(t,e),t},s=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},d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CopyBox=void 0;const l=o(n(4516)),c=d(n(20640)),u=d(n(94184)),p=n(5424),g=n(43003),_=n(37692),f=d(n(43357));function m(e){var{children:t,className:n}=e,r=s(e,["children","className"]);const[i,o]=l.useState(!1),d=()=>{o(!0),setTimeout((()=>o(!1)),2e3),c.default(t)};return d.__bit_component=a,l.default.createElement(_.Grid,Object.assign({colMd:2,className:u.default(f.default.copyBox,n)},r),l.default.createElement("div",{className:f.default.leftSection},t),l.default.createElement("div",{className:f.default.rightSection},l.default.createElement(p.CopiedMessage,{show:i,className:f.default.copiedMessage}),l.default.createElement("button",{className:f.default.button,onClick:d},l.default.createElement(g.Icon,{className:f.default.copyIcon,of:"copy-cmp"}))))}m.__bit_component=a,t.CopyBox=m},57064: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(83412),t)},99449: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.CopiedMessage=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(35528));function d(e){var{className:t,show:n}=e,r=a(e,["className","show"]);return i.default.createElement("div",Object.assign({},r,{className:o.default(s.default.copiedMessage,{[s.default.showMessage]:n},t)}),"Copied")}d.__bit_component={id:"teambit.documenter/ui/copied-message@4.0.1",homepage:"https://bit.dev/teambit/documenter/ui/copied-message",exported:!0},t.CopiedMessage=d,d.defaultProps={show:!1}},5424: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(99449),t)},84430:function(e,t,n){"use strict";var a={id:"teambit.documenter/ui/heading@4.1.1",homepage:"https://bit.dev/teambit/documenter/ui/heading",exported:!0},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.H6=t.H5=t.H4=t.H3=t.H2=t.H1=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(5246),d=r(n(97618)),l=r(n(4555));function c(e){return i.default.createElement(s.Heading,Object.assign({element:"h1"},e,{className:o.default(l.default.h1,d.default[e.size||"lg"],e.className)}))}function u(e){return i.default.createElement(s.Heading,Object.assign({element:"h2"},e,{className:o.default(l.default.h2,d.default[e.size||"lg"],e.className)}))}function p(e){return i.default.createElement(s.Heading,Object.assign({element:"h3"},e,{className:o.default(l.default.h3,d.default[e.size||"md"],e.className)}))}function g(e){return i.default.createElement(s.Heading,Object.assign({element:"h4"},e,{className:o.default(l.default.h4,d.default[e.size||"sm"],e.className)}))}function _(e){return i.default.createElement(s.Heading,Object.assign({element:"h5"},e,{className:o.default(l.default.h5,d.default[e.size||"xs"],e.className)}))}function f(e){return i.default.createElement(s.Heading,Object.assign({element:"h6"},e,{className:o.default(l.default.h6,d.default[e.size||"xxs"],e.className)}))}c.__bit_component=a,t.H1=c,u.__bit_component=a,t.H2=u,p.__bit_component=a,t.H3=p,g.__bit_component=a,t.H4=g,_.__bit_component=a,t.H5=_,f.__bit_component=a,t.H6=f},43262: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(84430),t)},46530: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.HighlightedText=void 0;const r=a(n(4516)),i=n(30815);function o(e){return r.default.createElement(i.InlineCode,Object.assign({},e,{highlight:!0}))}o.__bit_component={id:"teambit.documenter/ui/highlighted-text@4.1.1",homepage:"https://bit.dev/teambit/documenter/ui/highlighted-text",exported:!0},t.HighlightedText=o},9247: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(46530),t)},30815:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InlineCode=void 0;var a=n(22593);Object.defineProperty(t,"InlineCode",{enumerable:!0,get:function(){return a.InlineCode}})},22593: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.InlineCode=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(49981));function d(e){var{children:t,highlight:n,className:r}=e,d=a(e,["children","highlight","className"]);return i.default.createElement("code",Object.assign({},d,{className:o.default(s.default.inlineCode,n&&s.default.highlight,r)}),t)}d.__bit_component={id:"teambit.documenter/ui/inline-code@0.1.1",homepage:"https://bit.dev/teambit/documenter/ui/inline-code",exported:!0},t.InlineCode=d},65166: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.Image=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(7502));function d(e){var{src:t,className:n}=e,r=a(e,["src","className"]);return i.default.createElement("img",Object.assign({},r,{src:t,className:o.default(s.default.img,n)}))}d.__bit_component={id:"teambit.documenter/ui/image@4.0.0",homepage:"https://bit.dev/teambit/documenter/ui/image",exported:!0},t.Image=d},12315:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Image=void 0;var a=n(65166);Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return a.Image}})},32868:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InlineCode=void 0;var a=n(20329);Object.defineProperty(t,"InlineCode",{enumerable:!0,get:function(){return a.InlineCode}})},20329: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.InlineCode=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(48293));function d(e){var{children:t,highlight:n,className:r}=e,d=a(e,["children","highlight","className"]);return i.default.createElement("code",Object.assign({},d,{className:(0,o.default)(s.default.inlineCode,n&&s.default.highlight,r)}),t)}d.__bit_component={id:"teambit.documenter/ui/inline-code@0.1.3",homepage:"https://bit.dev/teambit/documenter/ui/inline-code",exported:!0},t.InlineCode=d},38316: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(81789),t)},81789: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.LabelList=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(41834),d=r(n(88930));function l(e){var{children:t,className:n,labelClass:r,onPick:l}=e,c=a(e,["children","className","labelClass","onPick"]);return i.default.createElement("div",Object.assign({},c,{className:o.default(n,d.default.labelList)}),t&&t.map((e=>i.default.createElement(s.Label,{className:r,key:e,onPick:l},e))))}l.__bit_component={id:"teambit.documenter/ui/label-list@4.0.3",homepage:"https://bit.dev/teambit/documenter/ui/label-list",exported:!0},t.LabelList=l},41834: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(73887),t)},73887:function(e,t,n){"use strict";var a={id:"teambit.documenter/ui/label@4.0.3",homepage:"https://bit.dev/teambit/documenter/ui/label",exported:!0},r=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},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Label=void 0;const o=i(n(4516)),s=i(n(94184)),d=i(n(54012));function l(e){var{onPick:t,onClick:n,className:i}=e,l=r(e,["onPick","onClick","className"]);const c=e=>(t&&t(l.children),n&&n(e));return c.__bit_component=a,o.default.createElement("div",Object.assign({},l,{onClick:c,className:s.default(i,d.default.label)}))}l.__bit_component=a,t.Label=l},20849:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LinkedHeading=void 0;var a=n(43753);Object.defineProperty(t,"LinkedHeading",{enumerable:!0,get:function(){return a.LinkedHeading}})},43753:function(e,t,n){"use strict";var a={id:"teambit.documenter/ui/linked-heading@4.1.6",homepage:"https://bit.dev/teambit/documenter/ui/linked-heading",exported:!0},r=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},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LinkedHeading=void 0;const o=i(n(4516)),s=i(n(94184)),d=n(56753),l=n(56149),c=i(n(68568));function u(e){var{children:t,link:n,size:a,element:i="h3",className:d}=e,u=r(e,["children","link","size","element","className"]);const g=p(i);return o.default.createElement("div",Object.assign({className:(0,s.default)(c.default.linkedHeading,d)},u),o.default.createElement(g,{className:c.default.heading,size:a,id:n},t),n&&o.default.createElement(l.Anchor,{className:c.default.anchor,href:n}))}u.__bit_component=a,t.LinkedHeading=u;const p=e=>{switch(e){case"h1":return d.H1;case"h2":return d.H2;case"h3":default:return d.H3;case"h4":return d.H4;case"h5":return d.H5;case"h6":return d.H6}};p.__bit_component=a},40881: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){var{element:t="h1"}=e,n=a(e,["element"]);const r=t;return i.default.createElement(r,Object.assign({"data-bit-id":"teambit.base-ui/text/heading"},n))}o.__bit_component={id:"teambit.base-ui/text/heading@1.0.4",homepage:"https://bit.dev/teambit/base-ui/text/heading",exported:!0},t.Heading=o},1208:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Heading=void 0;var a=n(40881);Object.defineProperty(t,"Heading",{enumerable:!0,get:function(){return a.Heading}})},50803:function(e,t,n){"use strict";var a={id:"teambit.documenter/ui/heading@4.1.4",homepage:"https://bit.dev/teambit/documenter/ui/heading",exported:!0},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.H6=t.H5=t.H4=t.H3=t.H2=t.H1=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(1208),d=r(n(38117)),l=r(n(74275));function c(e){return i.default.createElement(s.Heading,Object.assign({element:"h1"},e,{className:(0,o.default)(l.default.h1,d.default[e.size||"lg"],e.className)}))}function u(e){return i.default.createElement(s.Heading,Object.assign({element:"h2"},e,{className:(0,o.default)(l.default.h2,d.default[e.size||"lg"],e.className)}))}function p(e){return i.default.createElement(s.Heading,Object.assign({element:"h3"},e,{className:(0,o.default)(l.default.h3,d.default[e.size||"md"],e.className)}))}function g(e){return i.default.createElement(s.Heading,Object.assign({element:"h4"},e,{className:(0,o.default)(l.default.h4,d.default[e.size||"sm"],e.className)}))}function _(e){return i.default.createElement(s.Heading,Object.assign({element:"h5"},e,{className:(0,o.default)(l.default.h5,d.default[e.size||"xs"],e.className)}))}function f(e){return i.default.createElement(s.Heading,Object.assign({element:"h6"},e,{className:(0,o.default)(l.default.h6,d.default[e.size||"xxs"],e.className)}))}c.__bit_component=a,t.H1=c,u.__bit_component=a,t.H2=u,p.__bit_component=a,t.H3=p,g.__bit_component=a,t.H4=g,_.__bit_component=a,t.H5=_,f.__bit_component=a,t.H6=f},56753:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.H6=t.H5=t.H4=t.H3=t.H2=t.H1=void 0;var a=n(50803);Object.defineProperty(t,"H1",{enumerable:!0,get:function(){return a.H1}}),Object.defineProperty(t,"H2",{enumerable:!0,get:function(){return a.H2}}),Object.defineProperty(t,"H3",{enumerable:!0,get:function(){return a.H3}}),Object.defineProperty(t,"H4",{enumerable:!0,get:function(){return a.H4}}),Object.defineProperty(t,"H5",{enumerable:!0,get:function(){return a.H5}}),Object.defineProperty(t,"H6",{enumerable:!0,get:function(){return a.H6}})},2372: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(13028),t)},13028: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=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(50416),d=n(1315),l=r(n(9672));function c(e){var{children:t,className:n,size:r}=e,c=a(e,["children","className","size"]);const u=r?d.PossibleSizes[r]:d.PossibleSizes.md;return i.default.createElement(s.Paragraph,Object.assign({size:u},c,{className:o.default(l.default.paragraph,n)}),t)}c.__bit_component={id:"teambit.documenter/ui/paragraph@4.1.1",homepage:"https://bit.dev/teambit/documenter/ui/paragraph",exported:!0},t.Paragraph=c,c.defaultProps={size:"md",element:"p"}},46503:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PropTable=void 0;var a=n(24431);Object.defineProperty(t,"PropTable",{enumerable:!0,get:function(){return a.PropTable}})},24431: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.PropTable=void 0;const i=r(n(4516)),o=r(n(32941)),s=n(19506),d=n(13390);function l(e){var{rows:t,listViewResolution:n,showListView:r}=e,l=a(e,["rows","listViewResolution","showListView"]);const[c,{width:u}]=o.default(),p=s.useDebounce(u,300,{leading:!0}),g=r||+p[0]<=(n||0);return u?i.default.createElement("div",{ref:c},i.default.createElement(d.Table,Object.assign({},l,{headings:["name","type","default","description"],rows:t,isListView:g}))):i.default.createElement("div",{ref:c})}l.__bit_component={id:"teambit.documenter/ui/property-table@4.1.3",homepage:"https://bit.dev/teambit/documenter/ui/property-table",exported:!0},t.PropTable=l,l.defaultProps={listViewResolution:768}},18631: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(18098),t)},18098: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.Section=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(61674));function d(e){var{className:t,children:n}=e,r=a(e,["className","children"]);return i.default.createElement("div",Object.assign({className:o.default(s.default.spacer,s.default.sectionMargin,t)},r),n)}d.__bit_component={id:"teambit.documenter/ui/section@4.1.1",homepage:"https://bit.dev/teambit/documenter/ui/section",exported:!0},t.Section=d},30251:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Separator=void 0;var a=n(14010);Object.defineProperty(t,"Separator",{enumerable:!0,get:function(){return a.Separator}})},14010: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.Separator=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(69802));function d(e){var{className:t}=e,n=a(e,["className"]);return i.default.createElement("hr",Object.assign({className:o.default(s.default.separator,t)},n))}d.__bit_component={id:"teambit.documenter/ui/separator@4.1.1",homepage:"https://bit.dev/teambit/documenter/ui/separator",exported:!0},t.Separator=d},75302: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(68874),t)},68874: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.Subtitle=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(62709),d=n(2372),l=r(n(85153));function c(e){var{children:t,className:n}=e,r=a(e,["children","className"]);return i.default.createElement(d.Paragraph,Object.assign({element:"p",className:o.default(s.mutedText,l.default.subTitle,n),size:"xl"},r),t)}c.__bit_component={id:"teambit.documenter/ui/sub-title@4.1.1",homepage:"https://bit.dev/teambit/documenter/ui/sub-title",exported:!0},t.Subtitle=c},19349: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(83705),t)},83705: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.TableColumn=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(99014));function d(e){var{children:t,className:n}=e,r=a(e,["children","className"]);return i.default.createElement("div",Object.assign({className:o.default(s.default.tableColumn,n)},r),t)}d.__bit_component={id:"teambit.documenter/ui/table-column@4.0.0",homepage:"https://bit.dev/teambit/documenter/ui/table-column",exported:!0},t.TableColumn=d},69761: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(10716),t)},10716: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.HeadingColumn=void 0;const i=r(n(4516)),o=r(n(94184)),s=r(n(91005));function d(e){var{children:t,className:n}=e,r=a(e,["children","className"]);return i.default.createElement("div",Object.assign({className:o.default(s.default.headingColumn,n)},r),i.default.createElement("div",{className:o.default(s.default.title)},t))}d.__bit_component={id:"teambit.documenter/ui/table-heading-column@4.0.4",homepage:"https://bit.dev/teambit/documenter/ui/table-heading-column",exported:!0},t.HeadingColumn=d},80610: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(76158),t)},76158: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.HeadingRow=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(13613),d=n(69761),l=r(n(36652));function c(e){var{headings:t,colNumber:n,isListView:r=!1,className:c}=e,u=a(e,["headings","colNumber","isListView","className"]);return i.default.createElement(s.Grid,Object.assign({},u,{col:n,className:o.default(l.default.titleRow,{[l.default.hide]:r},c)}),t.map(((e,t)=>{if("required"!==e)return i.default.createElement(d.HeadingColumn,{key:t,className:l.default.titleCol},e)})))}c.__bit_component={id:"teambit.documenter/ui/table-heading-row@4.0.4",homepage:"https://bit.dev/teambit/documenter/ui/table-heading-row",exported:!0},t.HeadingRow=c},99208: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(37996));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"),i.__bit_component={id:"teambit.base-ui/layout/grid-component@1.0.1",homepage:"https://bit.dev/teambit/base-ui/layout/grid-component",exported:!0}},92909: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(4728)),u=n(99208);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,_=o(e,["className","col","colL","colLg","colMd","colSm","colXl","colXs"]),f=[t,c.default.gridContainer];return void 0!==n&&f.push(u.colGrid[n]),void 0!==a&&f.push(u.colGridL[a]),void 0!==r&&f.push(u.colGridLg[r]),void 0!==i&&f.push(u.colGridMd[i]),void 0!==s&&f.push(u.colGridSm[s]),void 0!==p&&f.push(u.colGridXl[p]),void 0!==g&&f.push(u.colGridXs[g]),d.default.createElement("div",Object.assign({"data-bit-id":"teambit.base-ui/layout/grid-component"},_,{className:l.default(...f)}))}}p.__bit_component={id:"teambit.base-ui/layout/grid-component@1.0.1",homepage:"https://bit.dev/teambit/base-ui/layout/grid-component",exported:!0},t.Grid=p},13613:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Grid=void 0;var a=n(92909);Object.defineProperty(t,"Grid",{enumerable:!0,get:function(){return a.Grid}})},69199: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(74292),t)},74292: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.TableRow=void 0;const r=a(n(4516)),i=a(n(94184)),o=n(72184),s=n(19349),d=a(n(55658)),l=a(n(45387)),c=a(n(48167));function u({row:e,colNumber:t=4,headings:n,isListView:a,className:u}){return r.default.createElement(o.Grid,{col:t,className:i.default(d.default.propRow,{[d.default.singleColumn]:a},u)},n.map(((t,n)=>{var o;if("required"!==t)return"name"===t?r.default.createElement(s.TableColumn,{className:d.default.breakWord,key:n},r.default.createElement("div",{className:i.default(d.default.mobileTitle,{[d.default.show]:a})},t),r.default.createElement("div",{className:d.default.columnContent},r.default.createElement("div",{className:d.default.name},e[t]),e.required&&r.default.createElement("div",{className:d.default.required},"(Required)"))):"type"===t?r.default.createElement(s.TableColumn,{className:i.default(d.default.breakWord,d.default.typeColumn),key:n},r.default.createElement("div",{className:i.default(d.default.mobileTitle,{[d.default.show]:a})},t),r.default.createElement(l.default,{theme:c.default,language:"javascript",className:d.default.highlighted},e[t])):"default"===t?r.default.createElement(s.TableColumn,{className:d.default.breakWord,key:n},r.default.createElement("div",{className:i.default(d.default.mobileTitle,{[d.default.show]:a})},t),r.default.createElement("span",{className:d.default.default},e[t]&&(null===(o=e[t])||void 0===o?void 0:o.value)||"-")):"description"===t?r.default.createElement(s.TableColumn,{className:d.default.breakWord,key:n},e[t]):r.default.createElement(s.TableColumn,{className:d.default.breakWord,key:n},r.default.createElement("div",{className:i.default(d.default.mobileTitle,{[d.default.show]:a})},t),e[t])})))}u.__bit_component={id:"teambit.documenter/ui/table-row@4.1.2",homepage:"https://bit.dev/teambit/documenter/ui/table-row",exported:!0},t.TableRow=u},27749: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(70538));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"),i.__bit_component={id:"teambit.base-ui/layout/grid-component@1.0.1",homepage:"https://bit.dev/teambit/base-ui/layout/grid-component",exported:!0}},58664: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(37057)),u=n(27749);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,_=o(e,["className","col","colL","colLg","colMd","colSm","colXl","colXs"]),f=[t,c.default.gridContainer];return void 0!==n&&f.push(u.colGrid[n]),void 0!==a&&f.push(u.colGridL[a]),void 0!==r&&f.push(u.colGridLg[r]),void 0!==i&&f.push(u.colGridMd[i]),void 0!==s&&f.push(u.colGridSm[s]),void 0!==p&&f.push(u.colGridXl[p]),void 0!==g&&f.push(u.colGridXs[g]),d.default.createElement("div",Object.assign({"data-bit-id":"teambit.base-ui/layout/grid-component"},_,{className:l.default(...f)}))}}p.__bit_component={id:"teambit.base-ui/layout/grid-component@1.0.1",homepage:"https://bit.dev/teambit/base-ui/layout/grid-component",exported:!0},t.Grid=p},72184:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Grid=void 0;var a=n(58664);Object.defineProperty(t,"Grid",{enumerable:!0,get:function(){return a.Grid}})},13390: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(90560),t)},90560: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.Table=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(80610),d=n(69199),l=r(n(59862));function c(e){var{headings:t,rows:n,colNumber:r,isListView:c,className:u}=e,p=a(e,["headings","rows","colNumber","isListView","className"]);const g=r||4;return i.default.createElement("div",Object.assign({},p,{className:o.default(l.default.table,u)}),i.default.createElement(s.HeadingRow,{isListView:c,colNumber:g,headings:t}),n.map(((e,n)=>i.default.createElement(d.TableRow,{key:n,isListView:c,headings:t,row:e,colNumber:g}))))}c.__bit_component={id:"teambit.documenter/ui/table@4.1.2",homepage:"https://bit.dev/teambit/documenter/ui/table",exported:!0},t.Table=c,c.defaultProps={colNumber:4}},52158: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.fadeInOutClass=void 0;const r=a(n(87728));t.fadeInOutClass=r.default.fadeInOut},83526:function(e,t,n){"use strict";var a={id:"teambit.evangelist/surfaces/dropdown@1.0.2",homepage:"https://bit.dev/teambit/evangelist/surfaces/dropdown",exported:!0},r=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},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Dropdown=void 0;const o=i(n(4516)),s=i(n(94184)),d=n(57692),l=n(25796),c=n(2222),u=n(16601),p=n(33758),g=i(n(49232)),_=n(52158);function f(e){var{children:t,position:n="bottom",dropClass:a}=e,i=r(e,["children","position","dropClass"]);return o.default.createElement(d.Drawer,Object.assign({},i),o.default.createElement(m,{position:n,className:a},t))}function m(e){var{className:t,elevation:n="medium",roundness:a="sharp"}=e,i=r(e,["className","elevation","roundness"]);return o.default.createElement(l.Containee,Object.assign({},i,{className:s.default(g.default.dropdown,p.backgrounds.layer,c.elevationClass[n],u.roundnessClass[a],_.fadeInOutClass,t)}))}f.__bit_component=a,t.Dropdown=f,m.__bit_component=a,f.defaultProps={position:"bottom",elevation:"medium",roundness:"sharp"}},35360: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(83526),t)},80139: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(54871),t),r(n(32297),t),r(n(86791),t)},86791: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(29795),t)},29795: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.Arrow=void 0;const r=a(n(4516)),i=a(n(94184)),o=n(25796),s=a(n(82952)),d=a(n(23862)),l=a(n(87327));function c(e){const{position:t="none",className:n}=e;return r.default.createElement(o.Containee,Object.assign({},e,{className:i.default(s.default.arrow,l.default[t],d.default[t],n)}))}c.__bit_component={id:"teambit.evangelist/surfaces/tooltip@1.0.1",homepage:"https://bit.dev/teambit/evangelist/surfaces/tooltip",exported:!0},t.Arrow=c},32297: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(42130),t)},42130: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.TooltipMenu=void 0;const i=r(n(4516)),o=r(n(94184)),s=n(25796),d=n(2222),l=n(16601),c=r(n(44836)),u=e=>{var{position:t,children:n,elevation:r="medium",roundness:u="sharp",className:p}=e,g=a(e,["position","children","elevation","roundness","className"]);return i.default.createElement(s.Containee,Object.assign({position:t,className:o.default(c.default.menu,d.elevationClass[r],l.roundnessClass[u],p)},g),n)};u.__bit_component={id:"teambit.evangelist/surfaces/tooltip@1.0.1",homepage:"https://bit.dev/teambit/evangelist/surfaces/tooltip",exported:!0},t.TooltipMenu=u,t.TooltipMenu.defaultProps={elevation:"medium",roundness:"sharp"}},54871: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.TooltipDrawer=void 0;const i=r(n(4516)),o=n(57692),s=r(n(94184)),d=n(52158),l=n(32297),c=n(86791),u=r(n(13796));function p(e){var{children:t,className:n,position:r="bottom",elevation:p,tooltipClass:g,arrowClass:_}=e,f=a(e,["children","className","position","elevation","tooltipClass","arrowClass"]);return i.default.createElement(o.Drawer,Object.assign({className:s.default(u.default.drawer,n)},f),i.default.createElement(l.TooltipMenu,{position:r,elevation:p,className:s.default(g,d.fadeInOutClass,u.default.tooltip)},t),i.default.createElement(c.Arrow,{position:r,className:s.default(_,d.fadeInOutClass,u.default.arrow)}))}p.__bit_component={id:"teambit.evangelist/surfaces/tooltip@1.0.1",homepage:"https://bit.dev/teambit/evangelist/surfaces/tooltip",exported:!0},t.TooltipDrawer=p,p.defaultProps={hoverToOpen:!1,position:"bottom"}},90327: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(460),t)},460: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.Link=void 0;const r=a(n(4516)),i=n(30724),o=a(n(14771));function s(e){return r.default.createElement(i.Link,Object.assign({},e,{className:o.default.link,external:!0}))}s.__bit_component={id:"teambit.mdx/ui/docs/link@0.0.487",homepage:"https://bit.dev/teambit/mdx/ui/docs/link",exported:!0},t.Link=s},82979: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(49202),t)},49202: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};Object.defineProperty(t,"__esModule",{value:!0}),t.Snippet=void 0;const s=i(n(4516)),d=n(71795),l=n(55261),c=n(23142);function u(e){var{scope:t}=e,n=o(e,["scope"]);const a=(0,s.useContext)(d.MDXScopeContext),r=(0,s.useMemo)((()=>Object.assign(Object.assign(Object.assign({},a),{mdx:l.mdx}),t)),[a,t,l.mdx]);return s.default.createElement(c.Snippet,Object.assign({scope:r},n))}u.__bit_component={id:"teambit.mdx/ui/docs/snippet@0.0.487",homepage:"https://bit.dev/teambit/mdx/ui/docs/snippet",exported:!0},t.Snippet=u},4663:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MDXLayout=void 0;var a=n(7614);Object.defineProperty(t,"MDXLayout",{enumerable:!0,get:function(){return a.MDXLayout}})},7614: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};Object.defineProperty(t,"__esModule",{value:!0}),t.MDXLayout=void 0;const s=i(n(4516)),d=n(16531),l=n(82979),c=n(90327);n(87420);const u={code:l.Snippet,a:c.Link};function p(e){var{components:t}=e,n=o(e,["components"]);const a=(0,s.useMemo)((()=>Object.assign(Object.assign({},u),t)),[u,t]);return s.default.createElement(d.MDXLayout,Object.assign({components:a},n))}p.__bit_component={id:"teambit.mdx/ui/mdx-layout@0.0.493",homepage:"https://bit.dev/teambit/mdx/ui/mdx-layout",exported:!0},t.MDXLayout=p},81287:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MDXScopeProvider=t.MDXScopeContext=void 0;var a=n(92920);Object.defineProperty(t,"MDXScopeContext",{enumerable:!0,get:function(){return a.MDXScopeContext}});var r=n(2202);Object.defineProperty(t,"MDXScopeProvider",{enumerable:!0,get:function(){return r.MDXScopeProvider}})},92920:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MDXScopeContext=void 0;const a=n(4516);t.MDXScopeContext=(0,a.createContext)({})},2202: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.MDXScopeProvider=void 0;const r=a(n(4516)),i=n(92920);function o({components:e,children:t}){return r.default.createElement(i.MDXScopeContext.Provider,{value:e},t)}o.__bit_component={id:"teambit.mdx/ui/mdx-scope-context@0.0.486",homepage:"https://bit.dev/teambit/mdx/ui/mdx-scope-context",exported:!0},t.MDXScopeProvider=o},14097: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.Base=void 0;const d=i(n(4516)),l=n(35800),c=s(n(94184)),u=s(n(5800)),p=n(50203),g=n(63564),_=n(4663),f=n(75334),m=n(8629),h=s(n(73588)),R=n(69398),b=n(73532),E=n(43442),y=n(17887),S=n(52850),v={examples:[],labels:[],abstract:""};function T(e){var{docs:t=v,componentId:n,compositions:a,renderingContext:r}=e,i=o(e,["docs","componentId","compositions","renderingContext"]);const{loading:s,error:T,data:O}=(0,S.useFetchDocs)(n),C=r.get(m.ReactAspect.id),N=(0,d.useMemo)((()=>(0,u.default)(Object.values(C||{}))),[C]);if(!O||s)return null;if(s)return null;if(T)throw T;const{component:A,docs:w}=O,{examples:I=[],labels:x=[],abstract:D=w.abstract}=t,{displayName:P,version:M,packageName:L,description:k,elementsUrl:F}=A,B=(0,p.isFunction)(t.default)?t.default:()=>null;return d.default.createElement("div",Object.assign({className:(0,c.default)(h.default.docsMainBlock)},i),d.default.createElement(R.ComponentOverview,{displayName:B.displayName||P,version:M,abstract:k||B.abstract||D,labels:A.labels||B.labels||x,packageName:L,elementsUrl:F}),d.default.createElement(l.ErrorBoundary,{FallbackComponent:f.ErrorFallback},d.default.createElement(g.Composer,{components:N},d.default.createElement(l.ErrorBoundary,{FallbackComponent:f.ErrorFallback},B.isMDXComponent?d.default.createElement(_.MDXLayout,{className:h.default.mdx},d.default.createElement(B,null)):d.default.createElement(B,null)),d.default.createElement(b.CompositionsSummary,{compositions:a,className:h.default.compositionSection,compositionCardClass:h.default.compositionCard}),d.default.createElement(E.ExamplesOverview,{examples:B.examples||I}),d.default.createElement(y.Properties,{properties:w.properties}))))}T.__bit_component={id:"teambit.react/ui/docs-app@0.0.111",homepage:"https://bit.dev/teambit/react/ui/docs-app",exported:!0},t.Base=T},93811: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(51208),s=n(2206),d=n(43262),l=n(38316),c=n(18631),u=n(69010),p=n(75302),g=n(83264),_=r(n(47130));function f(e){var{displayName:t,abstract:n,labels:r,packageName:f,elementsUrl:m}=e,h=a(e,["displayName","abstract","labels","packageName","elementsUrl"]);let R=m;if(R&&!R.startsWith("http")){const e=g.isBrowser?window.location.origin:void 0;R=e&&m?`${e}${m}`:void 0}return i.default.createElement(c.Section,Object.assign({},h),i.default.createElement("div",{className:o.textColumn},i.default.createElement(d.H1,null,t),n&&i.default.createElement(p.Subtitle,{className:_.default.subTitle},n),i.default.createElement(l.LabelList,null,r),i.default.createElement(s.ConsumableLink,{title:"Package name",link:f}),R&&i.default.createElement(s.ConsumableLink,{title:"Elements url",link:R})),i.default.createElement(u.Separator,{isPresentational:!0}))}f.__bit_component={id:"teambit.react/ui/docs-app@0.0.111",homepage:"https://bit.dev/teambit/react/ui/docs-app",exported:!0},t.ComponentOverview=f},69398: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(93811),t)},73532: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.CompositionsSummary=void 0;const i=n(85971),o=n(20849),s=n(18631),d=r(n(4516));function l(e){var{compositions:t,compositionCardClass:n}=e,r=a(e,["compositions","compositionCardClass"]);return t&&0!==Object.keys(t).length?d.default.createElement(s.Section,Object.assign({},r),d.default.createElement(o.LinkedHeading,null,"Compositions"),d.default.createElement(i.CompositionsOverview,{compositions:t,compositionCardClass:n})):null}l.__bit_component={id:"teambit.react/ui/docs-app@0.0.111",homepage:"https://bit.dev/teambit/react/ui/docs-app",exported:!0},t.CompositionsSummary=l},50152:function(e,t,n){"use strict";var a={id:"teambit.react/ui/docs-app@0.0.111",homepage:"https://bit.dev/teambit/react/ui/docs-app",exported:!0},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DocsApp=void 0;const i=r(n(4516)),o=n(122),s=n(5480),d=n(14097);function l({Provider:e=c,docs:t,componentId:n,compositions:a,renderingContext:r}){return i.default.createElement(e,null,i.default.createElement(o.ThemeContext,null,i.default.createElement(s.IconFont,{query:"q76y7n"}),i.default.createElement(d.Base,{docs:t,componentId:n,compositions:a,renderingContext:r})))}function c({children:e}){return i.default.createElement(i.default.Fragment,null,e)}l.__bit_component=a,t.DocsApp=l,c.__bit_component=a},65125:function(e,t,n){"use strict";var a={id:"teambit.react/ui/docs-app@0.0.111",homepage:"https://bit.dev/teambit/react/ui/docs-app",exported:!0},r=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},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ExamplesOverview=void 0;const o=n(20849),s=n(18631),d=i(n(94184)),l=i(n(4516)),c=i(n(53594)),u=n(79970),p=i(n(6179));function g(e){var{examples:t}=e,n=r(e,["examples"]);return t.length<=0?null:l.default.createElement("div",Object.assign({},n),t.map(((e,t)=>l.default.createElement(_,{key:t,example:e}))))}function _(e){var{example:t,className:n}=e,a=r(e,["example","className"]);const i=t.jsx?(0,c.default)(t.jsx,{useFunctionCode:!0}):t.code;return l.default.createElement(s.Section,Object.assign({},a,{className:(0,d.default)(n,p.default.exampleSection)}),t.title&&l.default.createElement(o.LinkedHeading,null,t.title),t.description&&l.default.createElement("div",null,t.description),l.default.createElement(u.Playground,{code:i,scope:t.scope}))}g.__bit_component=a,t.ExamplesOverview=g,_.__bit_component=a},43442: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(65125),t)},37599: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(4516)),i=a(n(79283)),o=n(50152);function s(e,t,n,a,s){i.default.render(r.default.createElement(o.DocsApp,{Provider:e,compositions:a,docs:n,componentId:t,renderingContext:s}),document.getElementById("root"))}s.__bit_component={id:"teambit.react/ui/docs-app@0.0.111",homepage:"https://bit.dev/teambit/react/ui/docs-app",exported:!0},t.default=s},17887: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.Properties=void 0;const r=n(20849),i=n(46503),o=n(18631),s=a(n(4516));function d({properties:e}){return 0===e.length?s.default.createElement("div",null):s.default.createElement(o.Section,null,s.default.createElement(r.LinkedHeading,null,"Properties"),s.default.createElement(i.PropTable,{rows:e}))}d.__bit_component={id:"teambit.react/ui/docs-app@0.0.111",homepage:"https://bit.dev/teambit/react/ui/docs-app",exported:!0},t.Properties=d},52850:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useFetchDocs=void 0;const a=n(4516),r=n(28687),i=n(33355),o=r.gql`
|
|
96
96
|
query getComponentDocs($id: String!) {
|
|
97
97
|
getHost {
|
|
98
98
|
id
|