@teambit/env 1.0.214 → 1.0.215

Sign up to get free protection for your applications and to get access to all the features.
@@ -104,7 +104,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
104
104
  ${issueTitle}${colon}
105
105
  `)}exports.formatTitle=formatTitle;function componentIssueToString(value){return Array.isArray(value)?value.join(", "):value}exports.componentIssueToString=componentIssueToString;function deserializeWithBitId(dataStr){const data=JSON.parse(dataStr);return Object.keys(data).forEach(filePath=>{data[filePath]=data[filePath].map(id=>new component_id_1.ComponentID(id))}),data}exports.deserializeWithBitId=deserializeWithBitId},16425:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DuplicateComponentAndPackage=void 0;const component_issue_1=__webpack_require__(60728);class DuplicateComponentAndPackage extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="tracked component added as a package",this.solution="either remove the package from the workspace.jsonc (bit uninstall) or remove the component (bit remove)",this.isTagBlocker=!0}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data}}exports.DuplicateComponentAndPackage=DuplicateComponentAndPackage},1773:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ExternalEnvWithoutVersion=void 0;const component_issue_1=__webpack_require__(60728);class ExternalEnvWithoutVersion extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="failed loading env - external env without a version",this.solution="",this.isTagBlocker=!0}formatSolution(){return`(run "bit env set ${this.data.componentId} ${this.data.envId}")`}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data.envId}}exports.ExternalEnvWithoutVersion=ExternalEnvWithoutVersion},36989:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ImportNonMainFiles=void 0;const component_issue_1=__webpack_require__(60728);class ImportNonMainFiles extends component_issue_1.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}}exports.ImportNonMainFiles=ImportNonMainFiles},24879:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RelativeComponentsAuthoredEntry=exports.MISSING_NESTED_DEPS_SPACE=exports.UntrackedFileDependencyEntry=exports.ComponentIssue=exports.MISSING_DEPS_SPACE=exports.IssuesNames=exports.IssuesClasses=exports.IssuesList=void 0;var issues_list_1=__webpack_require__(19245);Object.defineProperty(exports,"IssuesList",{enumerable:!0,get:function(){return issues_list_1.IssuesList}}),Object.defineProperty(exports,"IssuesClasses",{enumerable:!0,get:function(){return issues_list_1.IssuesClasses}}),Object.defineProperty(exports,"IssuesNames",{enumerable:!0,get:function(){return issues_list_1.IssuesNames}});var component_issue_1=__webpack_require__(60728);Object.defineProperty(exports,"MISSING_DEPS_SPACE",{enumerable:!0,get:function(){return component_issue_1.ISSUE_FORMAT_SPACE}}),Object.defineProperty(exports,"ComponentIssue",{enumerable:!0,get:function(){return component_issue_1.ComponentIssue}});var untracked_dependencies_1=__webpack_require__(32904);Object.defineProperty(exports,"UntrackedFileDependencyEntry",{enumerable:!0,get:function(){return untracked_dependencies_1.UntrackedFileDependencyEntry}}),Object.defineProperty(exports,"MISSING_NESTED_DEPS_SPACE",{enumerable:!0,get:function(){return untracked_dependencies_1.MISSING_NESTED_DEPS_SPACE}});var relative_components_authored_1=__webpack_require__(96985);Object.defineProperty(exports,"RelativeComponentsAuthoredEntry",{enumerable:!0,get:function(){return relative_components_authored_1.RelativeComponentsAuthoredEntry}})},19245:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.IssuesList=exports.IssuesClasses=void 0;const import_non_main_files_1=__webpack_require__(36989),missing_dependencies_on_fs_1=__webpack_require__(18427),missing_dists_1=__webpack_require__(98398),missing_packages_dependencies_on_fs_1=__webpack_require__(19041),missing_manually_configured_packages_1=__webpack_require__(36742),parse_errors_1=__webpack_require__(28266),relative_components_1=__webpack_require__(74987),relative_components_authored_1=__webpack_require__(96985),resolve_errors_1=__webpack_require__(49811),untracked_dependencies_1=__webpack_require__(32904),legacy_inside_harmony_1=__webpack_require__(71343),multiple_envs_1=__webpack_require__(42384),missing_links_from_nm_to_src_1=__webpack_require__(12590),circular_dependencies_1=__webpack_require__(73083),duplicate_component_and_package_1=__webpack_require__(16425),merge_config_has_conflict_1=__webpack_require__(39906),non_loaded_env_1=__webpack_require__(62384),external_env_without_version_1=__webpack_require__(1773),removed_dependencies_1=__webpack_require__(14274),self_reference_1=__webpack_require__(66375);exports.IssuesClasses={MissingPackagesDependenciesOnFs:missing_packages_dependencies_on_fs_1.MissingPackagesDependenciesOnFs,MissingManuallyConfiguredPackages:missing_manually_configured_packages_1.MissingManuallyConfiguredPackages,UntrackedDependencies:untracked_dependencies_1.UntrackedDependencies,ResolveErrors:resolve_errors_1.ResolveErrors,RelativeComponents:relative_components_1.RelativeComponents,RelativeComponentsAuthored:relative_components_authored_1.RelativeComponentsAuthored,ParseErrors:parse_errors_1.ParseErrors,MissingDists:missing_dists_1.MissingDists,LegacyInsideHarmony:legacy_inside_harmony_1.LegacyInsideHarmony,MissingDependenciesOnFs:missing_dependencies_on_fs_1.MissingDependenciesOnFs,ImportNonMainFiles:import_non_main_files_1.ImportNonMainFiles,MultipleEnvs:multiple_envs_1.MultipleEnvs,MissingLinksFromNodeModulesToSrc:missing_links_from_nm_to_src_1.MissingLinksFromNodeModulesToSrc,CircularDependencies:circular_dependencies_1.CircularDependencies,DuplicateComponentAndPackage:duplicate_component_and_package_1.DuplicateComponentAndPackage,MergeConfigHasConflict:merge_config_has_conflict_1.MergeConfigHasConflict,NonLoadedEnv:non_loaded_env_1.NonLoadedEnv,ExternalEnvWithoutVersion:external_env_without_version_1.ExternalEnvWithoutVersion,RemovedDependencies:removed_dependencies_1.RemovedDependencies,SelfReference:self_reference_1.SelfReference};class IssuesList{constructor(_issues=[]){this._issues=_issues}get count(){return this._issues.length}isEmpty(){return this._issues.length===0}outputForCLI(){return this._issues.map(issue=>issue.outputForCLI()).join("")}toObject(){return this._issues.map(issue=>issue.toObject())}toObjectWithDataAsString(){return this._issues.map(issue=>Object.assign(Object.assign({},issue.toObject()),{data:issue.dataToString().trim()}))}add(issue){this._issues.push(issue)}delete(IssueClass){this._issues=this._issues.filter(issue=>issue.constructor.name!==IssueClass.name)}getIssue(IssueClass){return this._issues.find(issue=>issue instanceof IssueClass)}getIssueByName(issueType){return this._issues.find(issue=>issue.constructor.name===issueType)}getAllIssues(){return this._issues}getAllIssueNames(){return this._issues.map(issue=>issue.constructor.name)}createIssue(IssueClass){const newIssue=new IssueClass;return this.add(newIssue),newIssue}getOrCreate(IssueClass){return this.getIssue(IssueClass)||this.createIssue(IssueClass)}shouldBlockSavingInCache(){return this._issues.some(issue=>issue.isCacheBlocker)}shouldBlockTagging(){return this._issues.some(issue=>issue.isTagBlocker)}filterNonTagBlocking(){return new IssuesList(this._issues.filter(issue=>issue.isTagBlocker))}toObjectIncludeDataAsString(){return this._issues.map(issue=>Object.assign(Object.assign({},issue.toObject()),{dataAsString:issue.dataToString()}))}serialize(){return this._issues.map(issue=>({type:issue.constructor.name,data:issue.serialize()}))}static deserialize(data){if(!Array.isArray(data))return new IssuesList;const issues=data.map(issue=>{const ClassName=issue.type;if(!Object.keys(exports.IssuesClasses).includes(ClassName))throw new Error(`issue type "${ClassName}" is not recognized.
106
106
  the following are permitted ${Object.keys(exports.IssuesClasses).join(", ")}`);const issueInstance=new exports.IssuesClasses[ClassName];return issueInstance.data=issueInstance.deserialize(issue.data),issueInstance});return new IssuesList(issues)}}exports.IssuesList=IssuesList},71343:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LegacyInsideHarmony=void 0;const component_issue_1=__webpack_require__(60728);class LegacyInsideHarmony extends component_issue_1.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,component_issue_1.formatTitle)(this.descriptionWithSolution,!1)}}exports.LegacyInsideHarmony=LegacyInsideHarmony},39906:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MergeConfigHasConflict=void 0;const component_issue_1=__webpack_require__(60728);class MergeConfigHasConflict extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="merge-conflict file has unresolved conflicts",this.solution="edit the merge-conflict file in the workspace root and resolve the conflicts",this.isTagBlocker=!0}outputForCLI(){return(0,component_issue_1.formatTitle)(this.descriptionWithSolution,!1)}}exports.MergeConfigHasConflict=MergeConfigHasConflict},18427:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MissingDependenciesOnFs=void 0;const component_issue_1=__webpack_require__(60728);class MissingDependenciesOnFs extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="non-existing dependency files",this.solution="make sure all files exists on your workspace",this.data={}}}exports.MissingDependenciesOnFs=MissingDependenciesOnFs},98398:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MissingDists=void 0;const component_issue_1=__webpack_require__(60728);class MissingDists extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="missing dists",this.solution='run "bit compile"',this.isTagBlocker=!1}outputForCLI(){return(0,component_issue_1.formatTitle)(this.descriptionWithSolution,!1)}}exports.MissingDists=MissingDists},12590:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MissingLinksFromNodeModulesToSrc=void 0;const component_issue_1=__webpack_require__(60728);class MissingLinksFromNodeModulesToSrc extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="missing links from node_modules to source",this.solution='run "bit link"',this.isTagBlocker=!1}outputForCLI(){return(0,component_issue_1.formatTitle)(this.descriptionWithSolution,!1)}}exports.MissingLinksFromNodeModulesToSrc=MissingLinksFromNodeModulesToSrc},36742:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MissingManuallyConfiguredPackages=void 0;const component_issue_1=__webpack_require__(60728);class MissingManuallyConfiguredPackages extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="missing packages that were manually set",this.solution='run "bit install"',this.data=[]}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data.join(", ")}}exports.MissingManuallyConfiguredPackages=MissingManuallyConfiguredPackages},19041:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MissingPackagesDependenciesOnFs=void 0;const component_issue_1=__webpack_require__(60728);class MissingPackagesDependenciesOnFs extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="missing packages or links from node_modules to the source",this.solution='run "bit install --add-missing-deps" to fix both issues',this.data=[]}dataToString(){return this.data.map(d=>`${component_issue_1.ISSUE_FORMAT_SPACE}${d.filePath} -> ${this.formatDataFunction(d.missingPackages)}`).join(`
107
- `)}}exports.MissingPackagesDependenciesOnFs=MissingPackagesDependenciesOnFs},42384:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MultipleEnvs=void 0;const component_issue_1=__webpack_require__(60728);class MultipleEnvs extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="multiple envs",this.solution=`set the desired env by running "bit env set <component> <env>", if it doesn't work, run "bit aspect unset <component> <unwanted-env-id>". to keep troubleshooting run "bit aspect list <component-id>"`,this.isTagBlocker=!0}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data.join(", ")}}exports.MultipleEnvs=MultipleEnvs},62384:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.NonLoadedEnv=void 0;const component_issue_1=__webpack_require__(60728);class NonLoadedEnv extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="failed loading env",this.solution='run "bit install"',this.isTagBlocker=!0}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data}}exports.NonLoadedEnv=NonLoadedEnv},28266:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ParseErrors=void 0;const component_issue_1=__webpack_require__(60728);class ParseErrors extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="error found while parsing the file",this.solution="edit the file and fix the parsing error",this.data={}}}exports.ParseErrors=ParseErrors},96985:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RelativeComponentsAuthored=void 0;const component_id_1=__webpack_require__(99978),component_issue_1=__webpack_require__(60728);class RelativeComponentsAuthored extends component_issue_1.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=relativeComponentsAuthoredIssuesToString}serialize(){const obj=Object.keys(this.data).reduce((acc,fileName)=>(acc[fileName]=this.data[fileName].map(record=>({importSource:record.importSource,componentId:record.componentId.serialize(),relativePath:record.relativePath})),acc),{});return JSON.stringify(obj)}deserialize(dataStr){const data=JSON.parse(dataStr);return Object.keys(data).forEach(fileName=>{data[fileName]=data[fileName].map(record=>({importSource:record.importSource,componentId:component_id_1.ComponentID.deserialize(record.componentId),relativePath:record.relativePath}))}),data}}exports.RelativeComponentsAuthored=RelativeComponentsAuthored;function relativeComponentsAuthoredIssuesToString(relativeEntries){const stringifyEntry=entry=>`"${entry.importSource}" (${entry.componentId.toString()})`;return relativeEntries.map(stringifyEntry).join(", ")}},74987:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RelativeComponents=void 0;const component_issue_1=__webpack_require__(60728);class RelativeComponents extends component_issue_1.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(data){return(0,component_issue_1.deserializeWithBitId)(data)}}exports.RelativeComponents=RelativeComponents},14274:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RemovedDependencies=void 0;const component_issue_1=__webpack_require__(60728);class RemovedDependencies extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="removed dependencies",this.solution='run "bit install <missing-dep>" or remove any unneeded references to that component from your code',this.isTagBlocker=!0}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data.join(", ")}}exports.RemovedDependencies=RemovedDependencies},49811:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ResolveErrors=void 0;const component_issue_1=__webpack_require__(60728);class ResolveErrors extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="error found while resolving the file dependencies",this.solution="see the log for the full error",this.data={}}}exports.ResolveErrors=ResolveErrors},66375:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SelfReference=void 0;const component_issue_1=__webpack_require__(60728);class SelfReference extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="a component has an import statement that points to itself",this.solution="edit the file and change the import statement to a relative path",this.data={},this.isTagBlocker=!1}}exports.SelfReference=SelfReference},32904:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.UntrackedDependencies=exports.MISSING_NESTED_DEPS_SPACE=void 0;const chalk_1=__importDefault(__webpack_require__(23729)),component_issue_1=__webpack_require__(60728);exports.MISSING_NESTED_DEPS_SPACE=" ".repeat(component_issue_1.ISSUE_FORMAT_SPACE_COUNT+2);class UntrackedDependencies extends component_issue_1.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(k=>{let space=component_issue_1.ISSUE_FORMAT_SPACE;return this.data[k].nested&&(space=exports.MISSING_NESTED_DEPS_SPACE),`${space}${k} -> ${untrackedFilesComponentIssueToString(this.data[k])}`}).join(`
107
+ `)}}exports.MissingPackagesDependenciesOnFs=MissingPackagesDependenciesOnFs},42384:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MultipleEnvs=void 0;const component_issue_1=__webpack_require__(60728);class MultipleEnvs extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="multiple envs",this.solution=`set the desired env by running "bit env set <component> <env>", if it doesn't work, run "bit aspect unset <component> <unwanted-env-id>". to keep troubleshooting run "bit aspect list <component-id>"`,this.isTagBlocker=!0}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data.join(", ")}}exports.MultipleEnvs=MultipleEnvs},62384:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.NonLoadedEnv=void 0;const component_issue_1=__webpack_require__(60728);class NonLoadedEnv extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="failed loading env",this.solution='run "bit install"',this.isTagBlocker=!0}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data}}exports.NonLoadedEnv=NonLoadedEnv},28266:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ParseErrors=void 0;const component_issue_1=__webpack_require__(60728);class ParseErrors extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="error found while parsing the file",this.solution="edit the file and fix the parsing error",this.data={}}}exports.ParseErrors=ParseErrors},96985:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RelativeComponentsAuthored=void 0;const component_id_1=__webpack_require__(99978),component_issue_1=__webpack_require__(60728);class RelativeComponentsAuthored extends component_issue_1.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=relativeComponentsAuthoredIssuesToString}serialize(){const obj=Object.keys(this.data).reduce((acc,fileName)=>(acc[fileName]=this.data[fileName].map(record=>({importSource:record.importSource,componentId:record.componentId.serialize(),relativePath:record.relativePath})),acc),{});return JSON.stringify(obj)}deserialize(dataStr){const data=JSON.parse(dataStr);return Object.keys(data).forEach(fileName=>{data[fileName]=data[fileName].map(record=>({importSource:record.importSource,componentId:component_id_1.ComponentID.deserialize(record.componentId),relativePath:record.relativePath}))}),data}}exports.RelativeComponentsAuthored=RelativeComponentsAuthored;function relativeComponentsAuthoredIssuesToString(relativeEntries){const stringifyEntry=entry=>`"${entry.importSource}" (${entry.componentId.toString()})`;return relativeEntries.map(stringifyEntry).join(", ")}},74987:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RelativeComponents=void 0;const component_issue_1=__webpack_require__(60728);class RelativeComponents extends component_issue_1.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(data){return(0,component_issue_1.deserializeWithBitId)(data)}}exports.RelativeComponents=RelativeComponents},14274:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RemovedDependencies=void 0;const component_issue_1=__webpack_require__(60728);class RemovedDependencies extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="dependencies used in the code were deleted",this.solution='if the dependencies are no longer needed, remove them from the code. otherwise, to get it installed from main run "bit install <missing dep>". to undo the delete, run "bit recover"',this.isTagBlocker=!0}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data.join(", ")}}exports.RemovedDependencies=RemovedDependencies},49811:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ResolveErrors=void 0;const component_issue_1=__webpack_require__(60728);class ResolveErrors extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="error found while resolving the file dependencies",this.solution="see the log for the full error",this.data={}}}exports.ResolveErrors=ResolveErrors},66375:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SelfReference=void 0;const component_issue_1=__webpack_require__(60728);class SelfReference extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="a component has an import statement that points to itself",this.solution="edit the file and change the import statement to a relative path",this.data={},this.isTagBlocker=!1}}exports.SelfReference=SelfReference},32904:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.UntrackedDependencies=exports.MISSING_NESTED_DEPS_SPACE=void 0;const chalk_1=__importDefault(__webpack_require__(23729)),component_issue_1=__webpack_require__(60728);exports.MISSING_NESTED_DEPS_SPACE=" ".repeat(component_issue_1.ISSUE_FORMAT_SPACE_COUNT+2);class UntrackedDependencies extends component_issue_1.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(k=>{let space=component_issue_1.ISSUE_FORMAT_SPACE;return this.data[k].nested&&(space=exports.MISSING_NESTED_DEPS_SPACE),`${space}${k} -> ${untrackedFilesComponentIssueToString(this.data[k])}`}).join(`
108
108
  `)}}exports.UntrackedDependencies=UntrackedDependencies;function untrackedFilesComponentIssueToString(value){return value.untrackedFiles.map(curr=>curr.existing?`${chalk_1.default.yellow(curr.relativePath)}`:curr.relativePath).join(", ")}},83937:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLanes=exports.IgnoreDerivingFromUrl=exports.LanesProviderProps=exports.LanesProvider=exports.useLanesContext=exports.LanesContextModel=exports.LanesContext=void 0;var lanes_context_1=__webpack_require__(42687);Object.defineProperty(exports,"LanesContext",{enumerable:!0,get:function(){return lanes_context_1.LanesContext}}),Object.defineProperty(exports,"LanesContextModel",{enumerable:!0,get:function(){return lanes_context_1.LanesContextModel}}),Object.defineProperty(exports,"useLanesContext",{enumerable:!0,get:function(){return lanes_context_1.useLanesContext}});var lanes_provider_1=__webpack_require__(63434);Object.defineProperty(exports,"LanesProvider",{enumerable:!0,get:function(){return lanes_provider_1.LanesProvider}}),Object.defineProperty(exports,"LanesProviderProps",{enumerable:!0,get:function(){return lanes_provider_1.LanesProviderProps}}),Object.defineProperty(exports,"IgnoreDerivingFromUrl",{enumerable:!0,get:function(){return lanes_provider_1.IgnoreDerivingFromUrl}});var use_lanes_1=__webpack_require__(27877);Object.defineProperty(exports,"useLanes",{enumerable:!0,get:function(){return use_lanes_1.useLanes}})},42687:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLanesContext=exports.LanesContext=void 0;const react_1=__webpack_require__(59496);exports.LanesContext=(0,react_1.createContext)(void 0);const useLanesContext=()=>(0,react_1.useContext)(exports.LanesContext);exports.useLanesContext=useLanesContext},63434:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result};Object.defineProperty(exports,"__esModule",{value:!0}),exports.LanesProvider=void 0;const react_1=__importStar(__webpack_require__(59496)),lanes_ui_models_lanes_model_1=__webpack_require__(5326),ui_foundation_ui_react_router_use_query_1=__webpack_require__(44514),base_react_navigation_link_1=__webpack_require__(97667),lanes_context_1=__webpack_require__(42687),use_lanes_1=__webpack_require__(27877);function LanesProvider({children,viewedLaneId:viewedIdFromProps,targetLanes,ignoreDerivingFromUrl:ignoreDerivingFromUrlFromProps,skipNetworkCall,options:optionsFromProps={},useScope}){var _a;const[lanesState,setLanesState]=(0,react_1.useState)(),[viewedLaneId,setViewedLaneId]=(0,react_1.useState)(viewedIdFromProps),{scope}=useScope?.()||{},skip=skipNetworkCall||!!targetLanes,options=(0,react_1.useMemo)(()=>{var _a2,_b,_c;return Object.assign({skip,ids:(_a2=optionsFromProps.ids)!==null&&_a2!==void 0?_a2:viewedLaneId?[viewedLaneId.toString()]:void 0,offset:(_b=optionsFromProps.offset)!==null&&_b!==void 0?_b:0,limit:(_c=optionsFromProps.limit)!==null&&_c!==void 0?_c:10},optionsFromProps)},[skip,optionsFromProps.ids,(_a=optionsFromProps.ids)===null||_a===void 0?void 0:_a.length,viewedLaneId?.toString()]),{lanesModel,loading,hasMore,fetchMoreLanes,offset,limit}=(0,use_lanes_1.useLanes)(targetLanes,skipNetworkCall,options,void 0,scope);(0,react_1.useEffect)(()=>{!loading&&lanesModel&&setLanesState(lanesModel)},[lanesModel,loading]);const updateViewedLane=(0,react_1.useCallback)(lane=>{setViewedLaneId(lane),setLanesState(state=>(state?.setViewedOrDefaultLane(lane),state))},[lanesModel]),location=(0,base_react_navigation_link_1.useLocation)(),query=(0,ui_foundation_ui_react_router_use_query_1.useQuery)(),ignoreDerivingFromUrl=(0,react_1.useCallback)(_location=>ignoreDerivingFromUrlFromProps?ignoreDerivingFromUrlFromProps.some(fn=>fn(_location)):!1,[]);(0,react_1.useEffect)(()=>{viewedIdFromProps&&updateViewedLane(viewedIdFromProps)},[viewedIdFromProps?.toString()]),(0,react_1.useEffect)(()=>{var _a2,_b;if(ignoreDerivingFromUrl(location))return;const viewedLaneIdToSet=location?.pathname&&lanes_ui_models_lanes_model_1.LanesModel.getLaneIdFromPathname(location?.pathname,query)||void 0||viewedLaneId||((_a2=lanesModel?.currentLane)===null||_a2===void 0?void 0:_a2.id)||((_b=lanesModel?.lanes.find(lane=>lane.id.isDefault()))===null||_b===void 0?void 0:_b.id);updateViewedLane(viewedLaneIdToSet)},[location?.pathname]),(0,react_1.useEffect)(()=>{setLanesState(existing=>{var _a2,_b;if(!loading&&lanesModel?.lanes.length){const state=new lanes_ui_models_lanes_model_1.LanesModel(Object.assign({},lanesModel));return viewedLaneId===void 0&&((_a2=lanesModel?.currentLane)===null||_a2===void 0?void 0:_a2.id)?state.setViewedOrDefaultLane((_b=lanesModel?.currentLane)===null||_b===void 0?void 0:_b.id):state.setViewedOrDefaultLane(viewedLaneId),state}return existing})},[loading,lanesModel?.lanes.length,viewedLaneId]);const lanesContextModel={lanesModel:lanesState,updateViewedLane,loading,hasMore,fetchMoreLanes,options,offset,limit};return react_1.default.createElement(lanes_context_1.LanesContext.Provider,{value:lanesContextModel},children)}exports.LanesProvider=LanesProvider},27877:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){function adopt(value){return value instanceof P?value:new P(function(resolve){resolve(value)})}return new(P||(P=Promise))(function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):adopt(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())})};Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLanes=exports.useSearchLanes=void 0;const react_1=__webpack_require__(59496),ui_foundation_ui_hooks_use_data_query_1=__webpack_require__(25338),lanes_ui_models_lanes_model_1=__webpack_require__(5326),client_1=__webpack_require__(97299),lodash_1=__webpack_require__(32699),lanes_context_1=__webpack_require__(42687),GET_LANES=(0,client_1.gql)`
109
109
  query Lanes(
110
110
  $extensionId: String
@@ -603,7 +603,7 @@ ${namesToRegister.map(({variableName,uniqueLocalName})=>` reactHotLoader.regist
603
603
  `))})}function AllLineNumbers(_ref2){var codeString=_ref2.codeString,codeStyle=_ref2.codeStyle,_ref2$containerStyle=_ref2.containerStyle,containerStyle=_ref2$containerStyle===void 0?{float:"left",paddingRight:"10px"}:_ref2$containerStyle,_ref2$numberStyle=_ref2.numberStyle,numberStyle=_ref2$numberStyle===void 0?{}:_ref2$numberStyle,startingLineNumber=_ref2.startingLineNumber;return react.createElement("code",{style:Object.assign({},codeStyle,containerStyle)},getAllLineNumbers({lines:codeString.replace(/\n$/,"").split(`
604
604
  `),style:numberStyle,startingLineNumber}))}function getEmWidthOfNumber(num){var len=num.toString().length;return"".concat(len,"em")}function getInlineLineNumber(lineNumber,inlineLineNumberStyle){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(lineNumber),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:inlineLineNumberStyle},children:[{type:"text",value:lineNumber}]}}function assembleLineNumberStyles(lineNumberStyle,lineNumber,largestLineNumber){var defaultLineNumberStyle={display:"inline-block",minWidth:getEmWidthOfNumber(largestLineNumber),paddingRight:"1em",textAlign:"right",userSelect:"none"},customLineNumberStyle=typeof lineNumberStyle=="function"?lineNumberStyle(lineNumber):lineNumberStyle,assembledStyle=(0,objectSpread.Z)({},defaultLineNumberStyle,customLineNumberStyle);return assembledStyle}function createLineElement(_ref3){var children=_ref3.children,lineNumber=_ref3.lineNumber,lineNumberStyle=_ref3.lineNumberStyle,largestLineNumber=_ref3.largestLineNumber,showInlineLineNumbers=_ref3.showInlineLineNumbers,_ref3$lineProps=_ref3.lineProps,lineProps=_ref3$lineProps===void 0?{}:_ref3$lineProps,_ref3$className=_ref3.className,className=_ref3$className===void 0?[]:_ref3$className,properties=typeof lineProps=="function"?lineProps(lineNumber):lineProps;if(properties.className=className,lineNumber&&showInlineLineNumbers){var inlineLineNumberStyle=assembleLineNumberStyles(lineNumberStyle,lineNumber,largestLineNumber);children.unshift(getInlineLineNumber(lineNumber,inlineLineNumberStyle))}return{type:"element",tagName:"span",properties,children}}function flattenCodeTree(tree){for(var className=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],newTree=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],i=0;i<tree.length;i++){var node=tree[i];if(node.type==="text")newTree.push(createLineElement({children:[node],className}));else if(node.children){var classNames=className.concat(node.properties.className);newTree=newTree.concat(flattenCodeTree(node.children,classNames))}}return newTree}function processLines(codeTree,wrapLines,lineProps,showLineNumbers,showInlineLineNumbers,startingLineNumber,largestLineNumber,lineNumberStyle){var _ref4,tree=flattenCodeTree(codeTree.value),newTree=[],lastLineBreakIndex=-1,index=0;function createWrappedLine(children2,lineNumber2){var className=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return createLineElement({children:children2,lineNumber:lineNumber2,lineNumberStyle,largestLineNumber,showInlineLineNumbers,lineProps,className})}function createUnwrappedLine(children2,lineNumber2){if(lineNumber2&&showInlineLineNumbers){var inlineLineNumberStyle=assembleLineNumberStyles(lineNumberStyle,lineNumber2,largestLineNumber);children2.unshift(getInlineLineNumber(lineNumber2,inlineLineNumberStyle))}return children2}function createLine(children2,lineNumber2){var className=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return wrapLines||className.length>0?createWrappedLine(children2,lineNumber2,className):createUnwrappedLine(children2,lineNumber2)}for(var _loop=function(){var node=tree[index],value=node.children[0].value,newLines=getNewLines(value);if(newLines){var splitValue=value.split(`
605
605
  `);splitValue.forEach(function(text,i){var lineNumber2=showLineNumbers&&newTree.length+startingLineNumber,newChild={type:"text",value:"".concat(text,`
606
- `)};if(i===0){var _children=tree.slice(lastLineBreakIndex+1,index).concat(createLineElement({children:[newChild],className:node.properties.className})),_line=createLine(_children,lineNumber2);newTree.push(_line)}else if(i===splitValue.length-1){var stringChild=tree[index+1]&&tree[index+1].children&&tree[index+1].children[0];if(stringChild){var lastLineInPreviousSpan={type:"text",value:"".concat(text)},newElem=createLineElement({children:[lastLineInPreviousSpan],className:node.properties.className});tree.splice(index+1,0,newElem)}else{var _children2=[newChild],_line2=createLine(_children2,lineNumber2,node.properties.className);newTree.push(_line2)}}else{var _children3=[newChild],_line3=createLine(_children3,lineNumber2,node.properties.className);newTree.push(_line3)}}),lastLineBreakIndex=index}index++};index<tree.length;)_loop();if(lastLineBreakIndex!==tree.length-1){var children=tree.slice(lastLineBreakIndex+1,tree.length);if(children&&children.length){var lineNumber=newTree.length+startingLineNumber,line=createLine(children,lineNumber);newTree.push(line)}}return wrapLines?newTree:(_ref4=[]).concat.apply(_ref4,newTree)}function defaultRenderer(_ref5){var rows=_ref5.rows,stylesheet=_ref5.stylesheet,useInlineStyles=_ref5.useInlineStyles;return rows.map(function(node,i){return createElement({node,stylesheet,useInlineStyles,key:"code-segement".concat(i)})})}function isHighlightJs(astGenerator){return astGenerator&&typeof astGenerator.highlightAuto<"u"}function getCodeTree(_ref6){var astGenerator=_ref6.astGenerator,language=_ref6.language,code=_ref6.code,defaultCodeValue=_ref6.defaultCodeValue;if(isHighlightJs(astGenerator)){var hasLanguage=checkForListedLanguage(astGenerator,language);return language==="text"?{value:defaultCodeValue,language:"text"}:hasLanguage?astGenerator.highlight(language,code):astGenerator.highlightAuto(code)}try{return language&&language!=="text"?{value:astGenerator.highlight(code,language)}:{value:defaultCodeValue}}catch{return{value:defaultCodeValue}}}function highlight(defaultAstGenerator,defaultStyle){return function(_ref7){var language=_ref7.language,children=_ref7.children,_ref7$style=_ref7.style,style=_ref7$style===void 0?defaultStyle:_ref7$style,_ref7$customStyle=_ref7.customStyle,customStyle=_ref7$customStyle===void 0?{}:_ref7$customStyle,_ref7$codeTagProps=_ref7.codeTagProps,codeTagProps=_ref7$codeTagProps===void 0?{className:language?"language-".concat(language):void 0,style:style['code[class*="language-"]']}:_ref7$codeTagProps,_ref7$useInlineStyles=_ref7.useInlineStyles,useInlineStyles=_ref7$useInlineStyles===void 0?!0:_ref7$useInlineStyles,_ref7$showLineNumbers=_ref7.showLineNumbers,showLineNumbers=_ref7$showLineNumbers===void 0?!1:_ref7$showLineNumbers,_ref7$showInlineLineN=_ref7.showInlineLineNumbers,showInlineLineNumbers=_ref7$showInlineLineN===void 0?!1:_ref7$showInlineLineN,_ref7$startingLineNum=_ref7.startingLineNumber,startingLineNumber=_ref7$startingLineNum===void 0?1:_ref7$startingLineNum,lineNumberContainerStyle=_ref7.lineNumberContainerStyle,_ref7$lineNumberStyle=_ref7.lineNumberStyle,lineNumberStyle=_ref7$lineNumberStyle===void 0?{}:_ref7$lineNumberStyle,wrapLines=_ref7.wrapLines,_ref7$lineProps=_ref7.lineProps,lineProps=_ref7$lineProps===void 0?{}:_ref7$lineProps,renderer=_ref7.renderer,_ref7$PreTag=_ref7.PreTag,PreTag=_ref7$PreTag===void 0?"pre":_ref7$PreTag,_ref7$CodeTag=_ref7.CodeTag,CodeTag=_ref7$CodeTag===void 0?"code":_ref7$CodeTag,_ref7$code=_ref7.code,code=_ref7$code===void 0?Array.isArray(children)?children[0]:children:_ref7$code,astGenerator=_ref7.astGenerator,rest=(0,objectWithoutProperties.Z)(_ref7,["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"]);astGenerator=astGenerator||defaultAstGenerator;var allLineNumbers=showLineNumbers?react.createElement(AllLineNumbers,{containerStyle:lineNumberContainerStyle,codeStyle:codeTagProps.style||{},numberStyle:lineNumberStyle,startingLineNumber,codeString:code}):null,defaultPreStyle=style.hljs||style['pre[class*="language-"]']||{backgroundColor:"#fff"},generatorClassName=isHighlightJs(astGenerator)?"hljs":"prismjs",preProps=useInlineStyles?Object.assign({},rest,{style:Object.assign({},defaultPreStyle,customStyle)}):Object.assign({},rest,{className:rest.className?"".concat(generatorClassName," ").concat(rest.className):generatorClassName,style:Object.assign({},customStyle)});if(!astGenerator)return react.createElement(PreTag,preProps,allLineNumbers,react.createElement(CodeTag,codeTagProps,code));wrapLines=renderer&&wrapLines===void 0?!0:wrapLines,renderer=renderer||defaultRenderer;var defaultCodeValue=[{type:"text",value:code}],codeTree=getCodeTree({astGenerator,language,code,defaultCodeValue});codeTree.language===null&&(codeTree.value=defaultCodeValue);var largestLineNumber=codeTree.value.length+startingLineNumber,rows=processLines(codeTree,wrapLines,lineProps,showLineNumbers,showInlineLineNumbers,startingLineNumber,largestLineNumber,lineNumberStyle);return react.createElement(PreTag,preProps,react.createElement(CodeTag,codeTagProps,!showInlineLineNumbers&&allLineNumbers,renderer({rows,stylesheet:style,useInlineStyles})))}}var core=__webpack_require__(44678),core_default=__webpack_require__.n(core),SyntaxHighlighter=highlight(core_default(),{});SyntaxHighlighter.registerLanguage=function(_,language){return core_default().register(language)};const prism_light=SyntaxHighlighter},27116:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={'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"}}},35493:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Tab:()=>Tab,TabList:()=>TabList,TabPanel:()=>TabPanel,Tabs:()=>Tabs,resetIdCounter:()=>uuid_reset});var react=__webpack_require__(59496);function makeTypeChecker(tabsRole){return function(element){return!!element.type&&element.type.tabsRole===tabsRole}}var elementTypes_isTab=makeTypeChecker("Tab"),elementTypes_isTabList=makeTypeChecker("TabList"),elementTypes_isTabPanel=makeTypeChecker("TabPanel");function _extends(){return _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function isTabChild(child){return elementTypes_isTab(child)||elementTypes_isTabList(child)||elementTypes_isTabPanel(child)}function deepMap(children,callback){return react.Children.map(children,function(child){return child===null?null:isTabChild(child)?callback(child):child.props&&child.props.children&&typeof child.props.children=="object"?(0,react.cloneElement)(child,_extends({},child.props,{children:deepMap(child.props.children,callback)})):child})}function childrenDeepMap_deepForEach(children,callback){return react.Children.forEach(children,function(child){child!==null&&(elementTypes_isTab(child)||elementTypes_isTabPanel(child)?callback(child):child.props&&child.props.children&&typeof child.props.children=="object"&&(elementTypes_isTabList(child)&&callback(child),childrenDeepMap_deepForEach(child.props.children,callback)))})}function childrenPropType(props,propName,componentName){var error,tabsCount=0,panelsCount=0,tabListFound=!1,listTabs=[],children=props[propName];return deepForEach(children,function(child){isTabList(child)&&(child.props&&child.props.children&&typeof child.props.children=="object"&&deepForEach(child.props.children,function(listChild){return listTabs.push(listChild)}),tabListFound&&(error=new Error("Found multiple 'TabList' components inside 'Tabs'. Only one is allowed.")),tabListFound=!0),isTab(child)?((!tabListFound||listTabs.indexOf(child)===-1)&&(error=new Error("Found a 'Tab' component outside of the 'TabList' component. 'Tab' components have to be inside the 'TabList' component.")),tabsCount++):isTabPanel(child)&&panelsCount++}),!error&&tabsCount!==panelsCount&&(error=new Error("There should be an equal number of 'Tab' and 'TabPanel' in `"+componentName+"`. "+("Received "+tabsCount+" 'Tab' and "+panelsCount+" 'TabPanel'."))),error}function onSelectPropType(props,propName,componentName,location,propFullName){var prop=props[propName],name=propFullName||propName,error=null;return prop&&typeof prop!="function"?error=new Error("Invalid "+location+" `"+name+"` of type `"+typeof prop+"` supplied "+("to `"+componentName+"`, expected `function`.")):props.selectedIndex!=null&&prop==null&&(error=new Error("The "+location+" `"+name+"` is marked as required in `"+componentName+"`, but its value is `undefined` or `null`.\n`onSelect` is required when `selectedIndex` is also set. Not doing so will make the tabs not do anything, as `selectedIndex` indicates that you want to handle the selected tab yourself.\nIf you only want to set the inital tab replace `selectedIndex` with `defaultIndex`.")),error}function selectedIndexPropType(props,propName,componentName,location,propFullName){var prop=props[propName],name=propFullName||propName,error=null;if(prop!=null&&typeof prop!="number")error=new Error("Invalid "+location+" `"+name+"` of type `"+typeof prop+"` supplied to "+("`"+componentName+"`, expected `number`."));else if(props.defaultIndex!=null&&prop!=null)return new Error("The "+location+" `"+name+"` cannot be used together with `defaultIndex` "+("in `"+componentName+"`.\n")+("Either remove `"+name+"` to let `"+componentName+"` handle the selected ")+"tab internally or remove `defaultIndex` to handle it yourself.");return error}function r(e){var t,f,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}const clsx_m=clsx;var count=0;function uuid(){return"react-tabs-"+count++}function uuid_reset(){count=0}function count_getTabsCount(children){var tabCount=0;return childrenDeepMap_deepForEach(children,function(child){elementTypes_isTab(child)&&tabCount++}),tabCount}function count_getPanelsCount(children){var panelCount=0;return childrenDeepMap_deepForEach(children,function(child){elementTypes_isTabPanel(child)&&panelCount++}),panelCount}function UncontrolledTabs_extends(){return UncontrolledTabs_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},UncontrolledTabs_extends.apply(this,arguments)}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},sourceKeys=Object.keys(source),key,i;for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],!(excluded.indexOf(key)>=0)&&(target[key]=source[key]);return target}function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype),subClass.prototype.constructor=subClass,_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){return _setPrototypeOf=Object.setPrototypeOf||function(o2,p2){return o2.__proto__=p2,o2},_setPrototypeOf(o,p)}function isNode(node){return node&&"getAttribute"in node}function isTabNode(node){return isNode(node)&&node.getAttribute("role")==="tab"}function isTabDisabled(node){return isNode(node)&&node.getAttribute("aria-disabled")==="true"}var canUseActiveElement;function determineCanUseActiveElement(environment){var env=environment||(typeof window<"u"?window:void 0);try{canUseActiveElement=!!(typeof env<"u"&&env.document&&env.document.activeElement)}catch{canUseActiveElement=!1}}var UncontrolledTabs=function(_Component){_inheritsLoose(UncontrolledTabs2,_Component);function UncontrolledTabs2(){for(var _this,_len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _this=_Component.call.apply(_Component,[this].concat(args))||this,_this.tabNodes=[],_this.handleKeyDown=function(e){var _this$props=_this.props,direction=_this$props.direction,disableUpDownKeys=_this$props.disableUpDownKeys;if(_this.isTabFromContainer(e.target)){var index=_this.props.selectedIndex,preventDefault=!1,useSelectedIndex=!1;(e.keyCode===32||e.keyCode===13)&&(preventDefault=!0,useSelectedIndex=!1,_this.handleClick(e)),e.keyCode===37||!disableUpDownKeys&&e.keyCode===38?(direction==="rtl"?index=_this.getNextTab(index):index=_this.getPrevTab(index),preventDefault=!0,useSelectedIndex=!0):e.keyCode===39||!disableUpDownKeys&&e.keyCode===40?(direction==="rtl"?index=_this.getPrevTab(index):index=_this.getNextTab(index),preventDefault=!0,useSelectedIndex=!0):e.keyCode===35?(index=_this.getLastTab(),preventDefault=!0,useSelectedIndex=!0):e.keyCode===36&&(index=_this.getFirstTab(),preventDefault=!0,useSelectedIndex=!0),preventDefault&&e.preventDefault(),useSelectedIndex&&_this.setSelected(index,e)}},_this.handleClick=function(e){var node=e.target;do if(_this.isTabFromContainer(node)){if(isTabDisabled(node))return;var index=[].slice.call(node.parentNode.children).filter(isTabNode).indexOf(node);_this.setSelected(index,e);return}while((node=node.parentNode)!=null)},_this}var _proto=UncontrolledTabs2.prototype;return _proto.setSelected=function(index,event){if(!(index<0||index>=this.getTabsCount())){var _this$props2=this.props,onSelect=_this$props2.onSelect,selectedIndex=_this$props2.selectedIndex;onSelect(index,selectedIndex,event)}},_proto.getNextTab=function(index){for(var count2=this.getTabsCount(),i=index+1;i<count2;i++)if(!isTabDisabled(this.getTab(i)))return i;for(var _i=0;_i<index;_i++)if(!isTabDisabled(this.getTab(_i)))return _i;return index},_proto.getPrevTab=function(index){for(var i=index;i--;)if(!isTabDisabled(this.getTab(i)))return i;for(i=this.getTabsCount();i-- >index;)if(!isTabDisabled(this.getTab(i)))return i;return index},_proto.getFirstTab=function(){for(var count2=this.getTabsCount(),i=0;i<count2;i++)if(!isTabDisabled(this.getTab(i)))return i;return null},_proto.getLastTab=function(){for(var i=this.getTabsCount();i--;)if(!isTabDisabled(this.getTab(i)))return i;return null},_proto.getTabsCount=function(){var children=this.props.children;return count_getTabsCount(children)},_proto.getPanelsCount=function(){var children=this.props.children;return count_getPanelsCount(children)},_proto.getTab=function(index){return this.tabNodes["tabs-"+index]},_proto.getChildren=function(){var _this2=this,index=0,_this$props3=this.props,children=_this$props3.children,disabledTabClassName=_this$props3.disabledTabClassName,focus=_this$props3.focus,forceRenderTabPanel=_this$props3.forceRenderTabPanel,selectedIndex=_this$props3.selectedIndex,selectedTabClassName=_this$props3.selectedTabClassName,selectedTabPanelClassName=_this$props3.selectedTabPanelClassName,environment=_this$props3.environment;this.tabIds=this.tabIds||[],this.panelIds=this.panelIds||[];for(var diff=this.tabIds.length-this.getTabsCount();diff++<0;)this.tabIds.push(uuid()),this.panelIds.push(uuid());return deepMap(children,function(child){var result=child;if(elementTypes_isTabList(child)){var listIndex=0,wasTabFocused=!1;canUseActiveElement==null&&determineCanUseActiveElement(environment),canUseActiveElement&&(wasTabFocused=react.Children.toArray(child.props.children).filter(elementTypes_isTab).some(function(tab,i){var env=environment||(typeof window<"u"?window:void 0);return env&&env.document.activeElement===_this2.getTab(i)})),result=(0,react.cloneElement)(child,{children:deepMap(child.props.children,function(tab){var key="tabs-"+listIndex,selected=selectedIndex===listIndex,props2={tabRef:function(node){_this2.tabNodes[key]=node},id:_this2.tabIds[listIndex],panelId:_this2.panelIds[listIndex],selected,focus:selected&&(focus||wasTabFocused)};return selectedTabClassName&&(props2.selectedClassName=selectedTabClassName),disabledTabClassName&&(props2.disabledClassName=disabledTabClassName),listIndex++,(0,react.cloneElement)(tab,props2)})})}else if(elementTypes_isTabPanel(child)){var props={id:_this2.panelIds[index],tabId:_this2.tabIds[index],selected:selectedIndex===index};forceRenderTabPanel&&(props.forceRender=forceRenderTabPanel),selectedTabPanelClassName&&(props.selectedClassName=selectedTabPanelClassName),index++,result=(0,react.cloneElement)(child,props)}return result})},_proto.isTabFromContainer=function(node){if(!isTabNode(node))return!1;var nodeAncestor=node.parentElement;do{if(nodeAncestor===this.node)return!0;if(nodeAncestor.getAttribute("data-tabs"))break;nodeAncestor=nodeAncestor.parentElement}while(nodeAncestor);return!1},_proto.render=function(){var _this3=this,_this$props4=this.props,children=_this$props4.children,className=_this$props4.className,disabledTabClassName=_this$props4.disabledTabClassName,domRef=_this$props4.domRef,focus=_this$props4.focus,forceRenderTabPanel=_this$props4.forceRenderTabPanel,onSelect=_this$props4.onSelect,selectedIndex=_this$props4.selectedIndex,selectedTabClassName=_this$props4.selectedTabClassName,selectedTabPanelClassName=_this$props4.selectedTabPanelClassName,environment=_this$props4.environment,disableUpDownKeys=_this$props4.disableUpDownKeys,attributes=_objectWithoutPropertiesLoose(_this$props4,["children","className","disabledTabClassName","domRef","focus","forceRenderTabPanel","onSelect","selectedIndex","selectedTabClassName","selectedTabPanelClassName","environment","disableUpDownKeys"]);return react.createElement("div",UncontrolledTabs_extends({},attributes,{className:clsx_m(className),onClick:this.handleClick,onKeyDown:this.handleKeyDown,ref:function(node){_this3.node=node,domRef&&domRef(node)},"data-tabs":!0}),this.getChildren())},UncontrolledTabs2}(react.Component);UncontrolledTabs.defaultProps={className:"react-tabs",focus:!1},UncontrolledTabs.propTypes={};function Tabs_objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},sourceKeys=Object.keys(source),key,i;for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],!(excluded.indexOf(key)>=0)&&(target[key]=source[key]);return target}function Tabs_inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype),subClass.prototype.constructor=subClass,Tabs_setPrototypeOf(subClass,superClass)}function Tabs_setPrototypeOf(o,p){return Tabs_setPrototypeOf=Object.setPrototypeOf||function(o2,p2){return o2.__proto__=p2,o2},Tabs_setPrototypeOf(o,p)}var MODE_CONTROLLED=0,MODE_UNCONTROLLED=1,Tabs=function(_Component){Tabs_inheritsLoose(Tabs2,_Component);function Tabs2(props){var _this;return _this=_Component.call(this,props)||this,_this.handleSelected=function(index,last,event){var onSelect=_this.props.onSelect,mode=_this.state.mode;if(!(typeof onSelect=="function"&&onSelect(index,last,event)===!1)){var state={focus:event.type==="keydown"};mode===MODE_UNCONTROLLED&&(state.selectedIndex=index),_this.setState(state)}},_this.state=Tabs2.copyPropsToState(_this.props,{},props.defaultFocus),_this}Tabs2.getDerivedStateFromProps=function(props,state){return Tabs2.copyPropsToState(props,state)},Tabs2.getModeFromProps=function(props){return props.selectedIndex===null?MODE_UNCONTROLLED:MODE_CONTROLLED},Tabs2.copyPropsToState=function(props,state,focus){focus===void 0&&(focus=!1);var newState={focus,mode:Tabs2.getModeFromProps(props)};if(newState.mode===MODE_UNCONTROLLED){var maxTabIndex=count_getTabsCount(props.children)-1,selectedIndex=null;state.selectedIndex!=null?selectedIndex=Math.min(state.selectedIndex,maxTabIndex):selectedIndex=props.defaultIndex||0,newState.selectedIndex=selectedIndex}return newState};var _proto=Tabs2.prototype;return _proto.render=function(){var _this$props=this.props,children=_this$props.children,defaultIndex=_this$props.defaultIndex,defaultFocus=_this$props.defaultFocus,props=Tabs_objectWithoutPropertiesLoose(_this$props,["children","defaultIndex","defaultFocus"]),_this$state=this.state,focus=_this$state.focus,selectedIndex=_this$state.selectedIndex;return props.focus=focus,props.onSelect=this.handleSelected,selectedIndex!=null&&(props.selectedIndex=selectedIndex),react.createElement(UncontrolledTabs,props,children)},Tabs2}(react.Component);Tabs.defaultProps={defaultFocus:!1,forceRenderTabPanel:!1,selectedIndex:null,defaultIndex:null,environment:null,disableUpDownKeys:!1},Tabs.propTypes={},Tabs.tabsRole="Tabs";function TabList_extends(){return TabList_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},TabList_extends.apply(this,arguments)}function TabList_objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},sourceKeys=Object.keys(source),key,i;for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],!(excluded.indexOf(key)>=0)&&(target[key]=source[key]);return target}function TabList_inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype),subClass.prototype.constructor=subClass,TabList_setPrototypeOf(subClass,superClass)}function TabList_setPrototypeOf(o,p){return TabList_setPrototypeOf=Object.setPrototypeOf||function(o2,p2){return o2.__proto__=p2,o2},TabList_setPrototypeOf(o,p)}var TabList=function(_Component){TabList_inheritsLoose(TabList2,_Component);function TabList2(){return _Component.apply(this,arguments)||this}var _proto=TabList2.prototype;return _proto.render=function(){var _this$props=this.props,children=_this$props.children,className=_this$props.className,attributes=TabList_objectWithoutPropertiesLoose(_this$props,["children","className"]);return react.createElement("ul",TabList_extends({},attributes,{className:clsx_m(className),role:"tablist"}),children)},TabList2}(react.Component);TabList.defaultProps={className:"react-tabs__tab-list"},TabList.propTypes={},TabList.tabsRole="TabList";function Tab_extends(){return Tab_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},Tab_extends.apply(this,arguments)}function Tab_objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},sourceKeys=Object.keys(source),key,i;for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],!(excluded.indexOf(key)>=0)&&(target[key]=source[key]);return target}function Tab_inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype),subClass.prototype.constructor=subClass,Tab_setPrototypeOf(subClass,superClass)}function Tab_setPrototypeOf(o,p){return Tab_setPrototypeOf=Object.setPrototypeOf||function(o2,p2){return o2.__proto__=p2,o2},Tab_setPrototypeOf(o,p)}var DEFAULT_CLASS="react-tabs__tab",Tab=function(_Component){Tab_inheritsLoose(Tab2,_Component);function Tab2(){return _Component.apply(this,arguments)||this}var _proto=Tab2.prototype;return _proto.componentDidMount=function(){this.checkFocus()},_proto.componentDidUpdate=function(){this.checkFocus()},_proto.checkFocus=function(){var _this$props=this.props,selected=_this$props.selected,focus=_this$props.focus;selected&&focus&&this.node.focus()},_proto.render=function(){var _cx,_this=this,_this$props2=this.props,children=_this$props2.children,className=_this$props2.className,disabled=_this$props2.disabled,disabledClassName=_this$props2.disabledClassName,focus=_this$props2.focus,id=_this$props2.id,panelId=_this$props2.panelId,selected=_this$props2.selected,selectedClassName=_this$props2.selectedClassName,tabIndex=_this$props2.tabIndex,tabRef=_this$props2.tabRef,attributes=Tab_objectWithoutPropertiesLoose(_this$props2,["children","className","disabled","disabledClassName","focus","id","panelId","selected","selectedClassName","tabIndex","tabRef"]);return react.createElement("li",Tab_extends({},attributes,{className:clsx_m(className,(_cx={},_cx[selectedClassName]=selected,_cx[disabledClassName]=disabled,_cx)),ref:function(node){_this.node=node,tabRef&&tabRef(node)},role:"tab",id,"aria-selected":selected?"true":"false","aria-disabled":disabled?"true":"false","aria-controls":panelId,tabIndex:tabIndex||(selected?"0":null)}),children)},Tab2}(react.Component);Tab.defaultProps={className:DEFAULT_CLASS,disabledClassName:DEFAULT_CLASS+"--disabled",focus:!1,id:null,panelId:null,selected:!1,selectedClassName:DEFAULT_CLASS+"--selected"},Tab.propTypes={},Tab.tabsRole="Tab";function TabPanel_extends(){return TabPanel_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},TabPanel_extends.apply(this,arguments)}function TabPanel_objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},sourceKeys=Object.keys(source),key,i;for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],!(excluded.indexOf(key)>=0)&&(target[key]=source[key]);return target}function TabPanel_inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype),subClass.prototype.constructor=subClass,TabPanel_setPrototypeOf(subClass,superClass)}function TabPanel_setPrototypeOf(o,p){return TabPanel_setPrototypeOf=Object.setPrototypeOf||function(o2,p2){return o2.__proto__=p2,o2},TabPanel_setPrototypeOf(o,p)}var TabPanel_DEFAULT_CLASS="react-tabs__tab-panel",TabPanel=function(_Component){TabPanel_inheritsLoose(TabPanel2,_Component);function TabPanel2(){return _Component.apply(this,arguments)||this}var _proto=TabPanel2.prototype;return _proto.render=function(){var _cx,_this$props=this.props,children=_this$props.children,className=_this$props.className,forceRender=_this$props.forceRender,id=_this$props.id,selected=_this$props.selected,selectedClassName=_this$props.selectedClassName,tabId=_this$props.tabId,attributes=TabPanel_objectWithoutPropertiesLoose(_this$props,["children","className","forceRender","id","selected","selectedClassName","tabId"]);return react.createElement("div",TabPanel_extends({},attributes,{className:clsx_m(className,(_cx={},_cx[selectedClassName]=selected,_cx)),role:"tabpanel",id,"aria-labelledby":tabId}),forceRender||selected?children:null)},TabPanel2}(react.Component);TabPanel.defaultProps={className:TabPanel_DEFAULT_CLASS,forceRender:!1,selectedClassName:TabPanel_DEFAULT_CLASS+"--selected"},TabPanel.propTypes={},TabPanel.tabsRole="TabPanel"},32715:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(59496);function getDimensionObject(node){var rect=node.getBoundingClientRect();return{width:rect.width,height:rect.height,top:"x"in rect?rect.x:rect.top,left:"y"in rect?rect.y:rect.left,x:"x"in rect?rect.x:rect.left,y:"y"in rect?rect.y:rect.top,right:rect.right,bottom:rect.bottom}}function useDimensions(){var _ref=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},_ref$liveMeasure=_ref.liveMeasure,liveMeasure=_ref$liveMeasure===void 0?!0:_ref$liveMeasure,_useState=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)({}),dimensions=_useState[0],setDimensions=_useState[1],_useState2=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(null),node=_useState2[0],setNode=_useState2[1],ref=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function(node2){setNode(node2)},[]);return(0,react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect)(function(){if(node){var measure=function(){return window.requestAnimationFrame(function(){return setDimensions(getDimensionObject(node))})};if(measure(),liveMeasure)return window.addEventListener("resize",measure),window.addEventListener("scroll",measure),function(){window.removeEventListener("resize",measure),window.removeEventListener("scroll",measure)}}},[node]),[ref,dimensions,node]}const __WEBPACK_DEFAULT_EXPORT__=useDimensions},60981:module=>{"use strict";function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype),subClass.prototype.constructor=subClass,subClass.__proto__=superClass}var codes={};function createErrorType(code,message,Base){Base||(Base=Error);function getMessage(arg1,arg2,arg3){return typeof message=="string"?message:message(arg1,arg2,arg3)}var NodeError=function(_Base){_inheritsLoose(NodeError2,_Base);function NodeError2(arg1,arg2,arg3){return _Base.call(this,getMessage(arg1,arg2,arg3))||this}return NodeError2}(Base);NodeError.prototype.name=Base.name,NodeError.prototype.code=code,codes[code]=NodeError}function oneOf(expected,thing){if(Array.isArray(expected)){var len=expected.length;return expected=expected.map(function(i){return String(i)}),len>2?"one of ".concat(thing," ").concat(expected.slice(0,len-1).join(", "),", or ")+expected[len-1]:len===2?"one of ".concat(thing," ").concat(expected[0]," or ").concat(expected[1]):"of ".concat(thing," ").concat(expected[0])}else return"of ".concat(thing," ").concat(String(expected))}function startsWith(str,search,pos){return str.substr(!pos||pos<0?0:+pos,search.length)===search}function endsWith(str,search,this_len){return(this_len===void 0||this_len>str.length)&&(this_len=str.length),str.substring(this_len-search.length,this_len)===search}function includes(str,search,start){return typeof start!="number"&&(start=0),start+search.length>str.length?!1:str.indexOf(search,start)!==-1}createErrorType("ERR_INVALID_OPT_VALUE",function(name,value){return'The value "'+value+'" is invalid for option "'+name+'"'},TypeError),createErrorType("ERR_INVALID_ARG_TYPE",function(name,expected,actual){var determiner;typeof expected=="string"&&startsWith(expected,"not ")?(determiner="must not be",expected=expected.replace(/^not /,"")):determiner="must be";var msg;if(endsWith(name," argument"))msg="The ".concat(name," ").concat(determiner," ").concat(oneOf(expected,"type"));else{var type=includes(name,".")?"property":"argument";msg='The "'.concat(name,'" ').concat(type," ").concat(determiner," ").concat(oneOf(expected,"type"))}return msg+=". Received type ".concat(typeof actual),msg},TypeError),createErrorType("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),createErrorType("ERR_METHOD_NOT_IMPLEMENTED",function(name){return"The "+name+" method is not implemented"}),createErrorType("ERR_STREAM_PREMATURE_CLOSE","Premature close"),createErrorType("ERR_STREAM_DESTROYED",function(name){return"Cannot call "+name+" after a stream was destroyed"}),createErrorType("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),createErrorType("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end"),createErrorType("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),createErrorType("ERR_UNKNOWN_ENCODING",function(arg){return"Unknown encoding: "+arg},TypeError),createErrorType("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),module.exports.q=codes},93337:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var process=__webpack_require__(14224),objectKeys=Object.keys||function(obj){var keys2=[];for(var key in obj)keys2.push(key);return keys2};module.exports=Duplex;var Readable=__webpack_require__(25294),Writable=__webpack_require__(86481);__webpack_require__(2937)(Duplex,Readable);for(var keys=objectKeys(Writable.prototype),v=0;v<keys.length;v++){var method=keys[v];Duplex.prototype[method]||(Duplex.prototype[method]=Writable.prototype[method])}function Duplex(options){if(!(this instanceof Duplex))return new Duplex(options);Readable.call(this,options),Writable.call(this,options),this.allowHalfOpen=!0,options&&(options.readable===!1&&(this.readable=!1),options.writable===!1&&(this.writable=!1),options.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",onend)))}Object.defineProperty(Duplex.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(Duplex.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(Duplex.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function onend(){this._writableState.ended||process.nextTick(onEndNT,this)}function onEndNT(self2){self2.end()}Object.defineProperty(Duplex.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(value){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=value,this._writableState.destroyed=value)}})},68797:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=PassThrough;var Transform=__webpack_require__(41683);__webpack_require__(2937)(PassThrough,Transform);function PassThrough(options){if(!(this instanceof PassThrough))return new PassThrough(options);Transform.call(this,options)}PassThrough.prototype._transform=function(chunk,encoding,cb){cb(null,chunk)}},25294:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var process=__webpack_require__(14224);module.exports=Readable;var Duplex;Readable.ReadableState=ReadableState;var EE=__webpack_require__(27379).EventEmitter,EElistenerCount=function(emitter,type){return emitter.listeners(type).length},Stream=__webpack_require__(26922),Buffer=__webpack_require__(55872).Buffer,OurUint8Array=(typeof __webpack_require__.g<"u"?__webpack_require__.g:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(chunk){return Buffer.from(chunk)}function _isUint8Array(obj){return Buffer.isBuffer(obj)||obj instanceof OurUint8Array}var debugUtil=__webpack_require__(82880),debug;debugUtil&&debugUtil.debuglog?debug=debugUtil.debuglog("stream"):debug=function(){};var BufferList=__webpack_require__(96292),destroyImpl=__webpack_require__(87484),_require=__webpack_require__(16084),getHighWaterMark=_require.getHighWaterMark,_require$codes=__webpack_require__(60981).q,ERR_INVALID_ARG_TYPE=_require$codes.ERR_INVALID_ARG_TYPE,ERR_STREAM_PUSH_AFTER_EOF=_require$codes.ERR_STREAM_PUSH_AFTER_EOF,ERR_METHOD_NOT_IMPLEMENTED=_require$codes.ERR_METHOD_NOT_IMPLEMENTED,ERR_STREAM_UNSHIFT_AFTER_END_EVENT=_require$codes.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,StringDecoder,createReadableStreamAsyncIterator,from;__webpack_require__(2937)(Readable,Stream);var errorOrDestroy=destroyImpl.errorOrDestroy,kProxyEvents=["error","close","destroy","pause","resume"];function prependListener(emitter,event,fn){if(typeof emitter.prependListener=="function")return emitter.prependListener(event,fn);!emitter._events||!emitter._events[event]?emitter.on(event,fn):Array.isArray(emitter._events[event])?emitter._events[event].unshift(fn):emitter._events[event]=[fn,emitter._events[event]]}function ReadableState(options,stream,isDuplex){Duplex=Duplex||__webpack_require__(93337),options=options||{},typeof isDuplex!="boolean"&&(isDuplex=stream instanceof Duplex),this.objectMode=!!options.objectMode,isDuplex&&(this.objectMode=this.objectMode||!!options.readableObjectMode),this.highWaterMark=getHighWaterMark(this,options,"readableHighWaterMark",isDuplex),this.buffer=new BufferList,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=options.emitClose!==!1,this.autoDestroy=!!options.autoDestroy,this.destroyed=!1,this.defaultEncoding=options.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,options.encoding&&(StringDecoder||(StringDecoder=__webpack_require__(72699).s),this.decoder=new StringDecoder(options.encoding),this.encoding=options.encoding)}function Readable(options){if(Duplex=Duplex||__webpack_require__(93337),!(this instanceof Readable))return new Readable(options);var isDuplex=this instanceof Duplex;this._readableState=new ReadableState(options,this,isDuplex),this.readable=!0,options&&(typeof options.read=="function"&&(this._read=options.read),typeof options.destroy=="function"&&(this._destroy=options.destroy)),Stream.call(this)}Object.defineProperty(Readable.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(value){!this._readableState||(this._readableState.destroyed=value)}}),Readable.prototype.destroy=destroyImpl.destroy,Readable.prototype._undestroy=destroyImpl.undestroy,Readable.prototype._destroy=function(err,cb){cb(err)},Readable.prototype.push=function(chunk,encoding){var state=this._readableState,skipChunkCheck;return state.objectMode?skipChunkCheck=!0:typeof chunk=="string"&&(encoding=encoding||state.defaultEncoding,encoding!==state.encoding&&(chunk=Buffer.from(chunk,encoding),encoding=""),skipChunkCheck=!0),readableAddChunk(this,chunk,encoding,!1,skipChunkCheck)},Readable.prototype.unshift=function(chunk){return readableAddChunk(this,chunk,null,!0,!1)};function readableAddChunk(stream,chunk,encoding,addToFront,skipChunkCheck){debug("readableAddChunk",chunk);var state=stream._readableState;if(chunk===null)state.reading=!1,onEofChunk(stream,state);else{var er;if(skipChunkCheck||(er=chunkInvalid(state,chunk)),er)errorOrDestroy(stream,er);else if(state.objectMode||chunk&&chunk.length>0)if(typeof chunk!="string"&&!state.objectMode&&Object.getPrototypeOf(chunk)!==Buffer.prototype&&(chunk=_uint8ArrayToBuffer(chunk)),addToFront)state.endEmitted?errorOrDestroy(stream,new ERR_STREAM_UNSHIFT_AFTER_END_EVENT):addChunk(stream,state,chunk,!0);else if(state.ended)errorOrDestroy(stream,new ERR_STREAM_PUSH_AFTER_EOF);else{if(state.destroyed)return!1;state.reading=!1,state.decoder&&!encoding?(chunk=state.decoder.write(chunk),state.objectMode||chunk.length!==0?addChunk(stream,state,chunk,!1):maybeReadMore(stream,state)):addChunk(stream,state,chunk,!1)}else addToFront||(state.reading=!1,maybeReadMore(stream,state))}return!state.ended&&(state.length<state.highWaterMark||state.length===0)}function addChunk(stream,state,chunk,addToFront){state.flowing&&state.length===0&&!state.sync?(state.awaitDrain=0,stream.emit("data",chunk)):(state.length+=state.objectMode?1:chunk.length,addToFront?state.buffer.unshift(chunk):state.buffer.push(chunk),state.needReadable&&emitReadable(stream)),maybeReadMore(stream,state)}function chunkInvalid(state,chunk){var er;return!_isUint8Array(chunk)&&typeof chunk!="string"&&chunk!==void 0&&!state.objectMode&&(er=new ERR_INVALID_ARG_TYPE("chunk",["string","Buffer","Uint8Array"],chunk)),er}Readable.prototype.isPaused=function(){return this._readableState.flowing===!1},Readable.prototype.setEncoding=function(enc){StringDecoder||(StringDecoder=__webpack_require__(72699).s);var decoder=new StringDecoder(enc);this._readableState.decoder=decoder,this._readableState.encoding=this._readableState.decoder.encoding;for(var p=this._readableState.buffer.head,content="";p!==null;)content+=decoder.write(p.data),p=p.next;return this._readableState.buffer.clear(),content!==""&&this._readableState.buffer.push(content),this._readableState.length=content.length,this};var MAX_HWM=1073741824;function computeNewHighWaterMark(n){return n>=MAX_HWM?n=MAX_HWM:(n--,n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n++),n}function howMuchToRead(n,state){return n<=0||state.length===0&&state.ended?0:state.objectMode?1:n!==n?state.flowing&&state.length?state.buffer.head.data.length:state.length:(n>state.highWaterMark&&(state.highWaterMark=computeNewHighWaterMark(n)),n<=state.length?n:state.ended?state.length:(state.needReadable=!0,0))}Readable.prototype.read=function(n){debug("read",n),n=parseInt(n,10);var state=this._readableState,nOrig=n;if(n!==0&&(state.emittedReadable=!1),n===0&&state.needReadable&&((state.highWaterMark!==0?state.length>=state.highWaterMark:state.length>0)||state.ended))return debug("read: emitReadable",state.length,state.ended),state.length===0&&state.ended?endReadable(this):emitReadable(this),null;if(n=howMuchToRead(n,state),n===0&&state.ended)return state.length===0&&endReadable(this),null;var doRead=state.needReadable;debug("need readable",doRead),(state.length===0||state.length-n<state.highWaterMark)&&(doRead=!0,debug("length less than watermark",doRead)),state.ended||state.reading?(doRead=!1,debug("reading or ended",doRead)):doRead&&(debug("do read"),state.reading=!0,state.sync=!0,state.length===0&&(state.needReadable=!0),this._read(state.highWaterMark),state.sync=!1,state.reading||(n=howMuchToRead(nOrig,state)));var ret;return n>0?ret=fromList(n,state):ret=null,ret===null?(state.needReadable=state.length<=state.highWaterMark,n=0):(state.length-=n,state.awaitDrain=0),state.length===0&&(state.ended||(state.needReadable=!0),nOrig!==n&&state.ended&&endReadable(this)),ret!==null&&this.emit("data",ret),ret};function onEofChunk(stream,state){if(debug("onEofChunk"),!state.ended){if(state.decoder){var chunk=state.decoder.end();chunk&&chunk.length&&(state.buffer.push(chunk),state.length+=state.objectMode?1:chunk.length)}state.ended=!0,state.sync?emitReadable(stream):(state.needReadable=!1,state.emittedReadable||(state.emittedReadable=!0,emitReadable_(stream)))}}function emitReadable(stream){var state=stream._readableState;debug("emitReadable",state.needReadable,state.emittedReadable),state.needReadable=!1,state.emittedReadable||(debug("emitReadable",state.flowing),state.emittedReadable=!0,process.nextTick(emitReadable_,stream))}function emitReadable_(stream){var state=stream._readableState;debug("emitReadable_",state.destroyed,state.length,state.ended),!state.destroyed&&(state.length||state.ended)&&(stream.emit("readable"),state.emittedReadable=!1),state.needReadable=!state.flowing&&!state.ended&&state.length<=state.highWaterMark,flow(stream)}function maybeReadMore(stream,state){state.readingMore||(state.readingMore=!0,process.nextTick(maybeReadMore_,stream,state))}function maybeReadMore_(stream,state){for(;!state.reading&&!state.ended&&(state.length<state.highWaterMark||state.flowing&&state.length===0);){var len=state.length;if(debug("maybeReadMore read 0"),stream.read(0),len===state.length)break}state.readingMore=!1}Readable.prototype._read=function(n){errorOrDestroy(this,new ERR_METHOD_NOT_IMPLEMENTED("_read()"))},Readable.prototype.pipe=function(dest,pipeOpts){var src=this,state=this._readableState;switch(state.pipesCount){case 0:state.pipes=dest;break;case 1:state.pipes=[state.pipes,dest];break;default:state.pipes.push(dest);break}state.pipesCount+=1,debug("pipe count=%d opts=%j",state.pipesCount,pipeOpts);var doEnd=(!pipeOpts||pipeOpts.end!==!1)&&dest!==process.stdout&&dest!==process.stderr,endFn=doEnd?onend:unpipe;state.endEmitted?process.nextTick(endFn):src.once("end",endFn),dest.on("unpipe",onunpipe);function onunpipe(readable,unpipeInfo){debug("onunpipe"),readable===src&&unpipeInfo&&unpipeInfo.hasUnpiped===!1&&(unpipeInfo.hasUnpiped=!0,cleanup())}function onend(){debug("onend"),dest.end()}var ondrain=pipeOnDrain(src);dest.on("drain",ondrain);var cleanedUp=!1;function cleanup(){debug("cleanup"),dest.removeListener("close",onclose),dest.removeListener("finish",onfinish),dest.removeListener("drain",ondrain),dest.removeListener("error",onerror),dest.removeListener("unpipe",onunpipe),src.removeListener("end",onend),src.removeListener("end",unpipe),src.removeListener("data",ondata),cleanedUp=!0,state.awaitDrain&&(!dest._writableState||dest._writableState.needDrain)&&ondrain()}src.on("data",ondata);function ondata(chunk){debug("ondata");var ret=dest.write(chunk);debug("dest.write",ret),ret===!1&&((state.pipesCount===1&&state.pipes===dest||state.pipesCount>1&&indexOf(state.pipes,dest)!==-1)&&!cleanedUp&&(debug("false write response, pause",state.awaitDrain),state.awaitDrain++),src.pause())}function onerror(er){debug("onerror",er),unpipe(),dest.removeListener("error",onerror),EElistenerCount(dest,"error")===0&&errorOrDestroy(dest,er)}prependListener(dest,"error",onerror);function onclose(){dest.removeListener("finish",onfinish),unpipe()}dest.once("close",onclose);function onfinish(){debug("onfinish"),dest.removeListener("close",onclose),unpipe()}dest.once("finish",onfinish);function unpipe(){debug("unpipe"),src.unpipe(dest)}return dest.emit("pipe",src),state.flowing||(debug("pipe resume"),src.resume()),dest};function pipeOnDrain(src){return function(){var state=src._readableState;debug("pipeOnDrain",state.awaitDrain),state.awaitDrain&&state.awaitDrain--,state.awaitDrain===0&&EElistenerCount(src,"data")&&(state.flowing=!0,flow(src))}}Readable.prototype.unpipe=function(dest){var state=this._readableState,unpipeInfo={hasUnpiped:!1};if(state.pipesCount===0)return this;if(state.pipesCount===1)return dest&&dest!==state.pipes?this:(dest||(dest=state.pipes),state.pipes=null,state.pipesCount=0,state.flowing=!1,dest&&dest.emit("unpipe",this,unpipeInfo),this);if(!dest){var dests=state.pipes,len=state.pipesCount;state.pipes=null,state.pipesCount=0,state.flowing=!1;for(var i=0;i<len;i++)dests[i].emit("unpipe",this,{hasUnpiped:!1});return this}var index=indexOf(state.pipes,dest);return index===-1?this:(state.pipes.splice(index,1),state.pipesCount-=1,state.pipesCount===1&&(state.pipes=state.pipes[0]),dest.emit("unpipe",this,unpipeInfo),this)},Readable.prototype.on=function(ev,fn){var res=Stream.prototype.on.call(this,ev,fn),state=this._readableState;return ev==="data"?(state.readableListening=this.listenerCount("readable")>0,state.flowing!==!1&&this.resume()):ev==="readable"&&!state.endEmitted&&!state.readableListening&&(state.readableListening=state.needReadable=!0,state.flowing=!1,state.emittedReadable=!1,debug("on readable",state.length,state.reading),state.length?emitReadable(this):state.reading||process.nextTick(nReadingNextTick,this)),res},Readable.prototype.addListener=Readable.prototype.on,Readable.prototype.removeListener=function(ev,fn){var res=Stream.prototype.removeListener.call(this,ev,fn);return ev==="readable"&&process.nextTick(updateReadableListening,this),res},Readable.prototype.removeAllListeners=function(ev){var res=Stream.prototype.removeAllListeners.apply(this,arguments);return(ev==="readable"||ev===void 0)&&process.nextTick(updateReadableListening,this),res};function updateReadableListening(self2){var state=self2._readableState;state.readableListening=self2.listenerCount("readable")>0,state.resumeScheduled&&!state.paused?state.flowing=!0:self2.listenerCount("data")>0&&self2.resume()}function nReadingNextTick(self2){debug("readable nexttick read 0"),self2.read(0)}Readable.prototype.resume=function(){var state=this._readableState;return state.flowing||(debug("resume"),state.flowing=!state.readableListening,resume(this,state)),state.paused=!1,this};function resume(stream,state){state.resumeScheduled||(state.resumeScheduled=!0,process.nextTick(resume_,stream,state))}function resume_(stream,state){debug("resume",state.reading),state.reading||stream.read(0),state.resumeScheduled=!1,stream.emit("resume"),flow(stream),state.flowing&&!state.reading&&stream.read(0)}Readable.prototype.pause=function(){return debug("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(debug("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function flow(stream){var state=stream._readableState;for(debug("flow",state.flowing);state.flowing&&stream.read()!==null;);}Readable.prototype.wrap=function(stream){var _this=this,state=this._readableState,paused=!1;stream.on("end",function(){if(debug("wrapped end"),state.decoder&&!state.ended){var chunk=state.decoder.end();chunk&&chunk.length&&_this.push(chunk)}_this.push(null)}),stream.on("data",function(chunk){if(debug("wrapped data"),state.decoder&&(chunk=state.decoder.write(chunk)),!(state.objectMode&&chunk==null)&&!(!state.objectMode&&(!chunk||!chunk.length))){var ret=_this.push(chunk);ret||(paused=!0,stream.pause())}});for(var i in stream)this[i]===void 0&&typeof stream[i]=="function"&&(this[i]=function(method){return function(){return stream[method].apply(stream,arguments)}}(i));for(var n=0;n<kProxyEvents.length;n++)stream.on(kProxyEvents[n],this.emit.bind(this,kProxyEvents[n]));return this._read=function(n2){debug("wrapped _read",n2),paused&&(paused=!1,stream.resume())},this},typeof Symbol=="function"&&(Readable.prototype[Symbol.asyncIterator]=function(){return createReadableStreamAsyncIterator===void 0&&(createReadableStreamAsyncIterator=__webpack_require__(29954)),createReadableStreamAsyncIterator(this)}),Object.defineProperty(Readable.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(Readable.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(Readable.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(state){this._readableState&&(this._readableState.flowing=state)}}),Readable._fromList=fromList,Object.defineProperty(Readable.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function fromList(n,state){if(state.length===0)return null;var ret;return state.objectMode?ret=state.buffer.shift():!n||n>=state.length?(state.decoder?ret=state.buffer.join(""):state.buffer.length===1?ret=state.buffer.first():ret=state.buffer.concat(state.length),state.buffer.clear()):ret=state.buffer.consume(n,state.decoder),ret}function endReadable(stream){var state=stream._readableState;debug("endReadable",state.endEmitted),state.endEmitted||(state.ended=!0,process.nextTick(endReadableNT,state,stream))}function endReadableNT(state,stream){if(debug("endReadableNT",state.endEmitted,state.length),!state.endEmitted&&state.length===0&&(state.endEmitted=!0,stream.readable=!1,stream.emit("end"),state.autoDestroy)){var wState=stream._writableState;(!wState||wState.autoDestroy&&wState.finished)&&stream.destroy()}}typeof Symbol=="function"&&(Readable.from=function(iterable,opts){return from===void 0&&(from=__webpack_require__(82037)),from(Readable,iterable,opts)});function indexOf(xs,x){for(var i=0,l=xs.length;i<l;i++)if(xs[i]===x)return i;return-1}},41683:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=Transform;var _require$codes=__webpack_require__(60981).q,ERR_METHOD_NOT_IMPLEMENTED=_require$codes.ERR_METHOD_NOT_IMPLEMENTED,ERR_MULTIPLE_CALLBACK=_require$codes.ERR_MULTIPLE_CALLBACK,ERR_TRANSFORM_ALREADY_TRANSFORMING=_require$codes.ERR_TRANSFORM_ALREADY_TRANSFORMING,ERR_TRANSFORM_WITH_LENGTH_0=_require$codes.ERR_TRANSFORM_WITH_LENGTH_0,Duplex=__webpack_require__(93337);__webpack_require__(2937)(Transform,Duplex);function afterTransform(er,data){var ts=this._transformState;ts.transforming=!1;var cb=ts.writecb;if(cb===null)return this.emit("error",new ERR_MULTIPLE_CALLBACK);ts.writechunk=null,ts.writecb=null,data!=null&&this.push(data),cb(er);var rs=this._readableState;rs.reading=!1,(rs.needReadable||rs.length<rs.highWaterMark)&&this._read(rs.highWaterMark)}function Transform(options){if(!(this instanceof Transform))return new Transform(options);Duplex.call(this,options),this._transformState={afterTransform:afterTransform.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,options&&(typeof options.transform=="function"&&(this._transform=options.transform),typeof options.flush=="function"&&(this._flush=options.flush)),this.on("prefinish",prefinish)}function prefinish(){var _this=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(er,data){done(_this,er,data)}):done(this,null,null)}Transform.prototype.push=function(chunk,encoding){return this._transformState.needTransform=!1,Duplex.prototype.push.call(this,chunk,encoding)},Transform.prototype._transform=function(chunk,encoding,cb){cb(new ERR_METHOD_NOT_IMPLEMENTED("_transform()"))},Transform.prototype._write=function(chunk,encoding,cb){var ts=this._transformState;if(ts.writecb=cb,ts.writechunk=chunk,ts.writeencoding=encoding,!ts.transforming){var rs=this._readableState;(ts.needTransform||rs.needReadable||rs.length<rs.highWaterMark)&&this._read(rs.highWaterMark)}},Transform.prototype._read=function(n){var ts=this._transformState;ts.writechunk!==null&&!ts.transforming?(ts.transforming=!0,this._transform(ts.writechunk,ts.writeencoding,ts.afterTransform)):ts.needTransform=!0},Transform.prototype._destroy=function(err,cb){Duplex.prototype._destroy.call(this,err,function(err2){cb(err2)})};function done(stream,er,data){if(er)return stream.emit("error",er);if(data!=null&&stream.push(data),stream._writableState.length)throw new ERR_TRANSFORM_WITH_LENGTH_0;if(stream._transformState.transforming)throw new ERR_TRANSFORM_ALREADY_TRANSFORMING;return stream.push(null)}},86481:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var process=__webpack_require__(14224);module.exports=Writable;function WriteReq(chunk,encoding,cb){this.chunk=chunk,this.encoding=encoding,this.callback=cb,this.next=null}function CorkedRequest(state){var _this=this;this.next=null,this.entry=null,this.finish=function(){onCorkedFinish(_this,state)}}var Duplex;Writable.WritableState=WritableState;var internalUtil={deprecate:__webpack_require__(48863)},Stream=__webpack_require__(26922),Buffer=__webpack_require__(55872).Buffer,OurUint8Array=(typeof __webpack_require__.g<"u"?__webpack_require__.g:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(chunk){return Buffer.from(chunk)}function _isUint8Array(obj){return Buffer.isBuffer(obj)||obj instanceof OurUint8Array}var destroyImpl=__webpack_require__(87484),_require=__webpack_require__(16084),getHighWaterMark=_require.getHighWaterMark,_require$codes=__webpack_require__(60981).q,ERR_INVALID_ARG_TYPE=_require$codes.ERR_INVALID_ARG_TYPE,ERR_METHOD_NOT_IMPLEMENTED=_require$codes.ERR_METHOD_NOT_IMPLEMENTED,ERR_MULTIPLE_CALLBACK=_require$codes.ERR_MULTIPLE_CALLBACK,ERR_STREAM_CANNOT_PIPE=_require$codes.ERR_STREAM_CANNOT_PIPE,ERR_STREAM_DESTROYED=_require$codes.ERR_STREAM_DESTROYED,ERR_STREAM_NULL_VALUES=_require$codes.ERR_STREAM_NULL_VALUES,ERR_STREAM_WRITE_AFTER_END=_require$codes.ERR_STREAM_WRITE_AFTER_END,ERR_UNKNOWN_ENCODING=_require$codes.ERR_UNKNOWN_ENCODING,errorOrDestroy=destroyImpl.errorOrDestroy;__webpack_require__(2937)(Writable,Stream);function nop(){}function WritableState(options,stream,isDuplex){Duplex=Duplex||__webpack_require__(93337),options=options||{},typeof isDuplex!="boolean"&&(isDuplex=stream instanceof Duplex),this.objectMode=!!options.objectMode,isDuplex&&(this.objectMode=this.objectMode||!!options.writableObjectMode),this.highWaterMark=getHighWaterMark(this,options,"writableHighWaterMark",isDuplex),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var noDecode=options.decodeStrings===!1;this.decodeStrings=!noDecode,this.defaultEncoding=options.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(er){onwrite(stream,er)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=options.emitClose!==!1,this.autoDestroy=!!options.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new CorkedRequest(this)}WritableState.prototype.getBuffer=function(){for(var current=this.bufferedRequest,out=[];current;)out.push(current),current=current.next;return out},function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:internalUtil.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var realHasInstance;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(realHasInstance=Function.prototype[Symbol.hasInstance],Object.defineProperty(Writable,Symbol.hasInstance,{value:function(object){return realHasInstance.call(this,object)?!0:this!==Writable?!1:object&&object._writableState instanceof WritableState}})):realHasInstance=function(object){return object instanceof this};function Writable(options){Duplex=Duplex||__webpack_require__(93337);var isDuplex=this instanceof Duplex;if(!isDuplex&&!realHasInstance.call(Writable,this))return new Writable(options);this._writableState=new WritableState(options,this,isDuplex),this.writable=!0,options&&(typeof options.write=="function"&&(this._write=options.write),typeof options.writev=="function"&&(this._writev=options.writev),typeof options.destroy=="function"&&(this._destroy=options.destroy),typeof options.final=="function"&&(this._final=options.final)),Stream.call(this)}Writable.prototype.pipe=function(){errorOrDestroy(this,new ERR_STREAM_CANNOT_PIPE)};function writeAfterEnd(stream,cb){var er=new ERR_STREAM_WRITE_AFTER_END;errorOrDestroy(stream,er),process.nextTick(cb,er)}function validChunk(stream,state,chunk,cb){var er;return chunk===null?er=new ERR_STREAM_NULL_VALUES:typeof chunk!="string"&&!state.objectMode&&(er=new ERR_INVALID_ARG_TYPE("chunk",["string","Buffer"],chunk)),er?(errorOrDestroy(stream,er),process.nextTick(cb,er),!1):!0}Writable.prototype.write=function(chunk,encoding,cb){var state=this._writableState,ret=!1,isBuf=!state.objectMode&&_isUint8Array(chunk);return isBuf&&!Buffer.isBuffer(chunk)&&(chunk=_uint8ArrayToBuffer(chunk)),typeof encoding=="function"&&(cb=encoding,encoding=null),isBuf?encoding="buffer":encoding||(encoding=state.defaultEncoding),typeof cb!="function"&&(cb=nop),state.ending?writeAfterEnd(this,cb):(isBuf||validChunk(this,state,chunk,cb))&&(state.pendingcb++,ret=writeOrBuffer(this,state,isBuf,chunk,encoding,cb)),ret},Writable.prototype.cork=function(){this._writableState.corked++},Writable.prototype.uncork=function(){var state=this._writableState;state.corked&&(state.corked--,!state.writing&&!state.corked&&!state.bufferProcessing&&state.bufferedRequest&&clearBuffer(this,state))},Writable.prototype.setDefaultEncoding=function(encoding){if(typeof encoding=="string"&&(encoding=encoding.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((encoding+"").toLowerCase())>-1))throw new ERR_UNKNOWN_ENCODING(encoding);return this._writableState.defaultEncoding=encoding,this},Object.defineProperty(Writable.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function decodeChunk(state,chunk,encoding){return!state.objectMode&&state.decodeStrings!==!1&&typeof chunk=="string"&&(chunk=Buffer.from(chunk,encoding)),chunk}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function writeOrBuffer(stream,state,isBuf,chunk,encoding,cb){if(!isBuf){var newChunk=decodeChunk(state,chunk,encoding);chunk!==newChunk&&(isBuf=!0,encoding="buffer",chunk=newChunk)}var len=state.objectMode?1:chunk.length;state.length+=len;var ret=state.length<state.highWaterMark;if(ret||(state.needDrain=!0),state.writing||state.corked){var last=state.lastBufferedRequest;state.lastBufferedRequest={chunk,encoding,isBuf,callback:cb,next:null},last?last.next=state.lastBufferedRequest:state.bufferedRequest=state.lastBufferedRequest,state.bufferedRequestCount+=1}else doWrite(stream,state,!1,len,chunk,encoding,cb);return ret}function doWrite(stream,state,writev,len,chunk,encoding,cb){state.writelen=len,state.writecb=cb,state.writing=!0,state.sync=!0,state.destroyed?state.onwrite(new ERR_STREAM_DESTROYED("write")):writev?stream._writev(chunk,state.onwrite):stream._write(chunk,encoding,state.onwrite),state.sync=!1}function onwriteError(stream,state,sync,er,cb){--state.pendingcb,sync?(process.nextTick(cb,er),process.nextTick(finishMaybe,stream,state),stream._writableState.errorEmitted=!0,errorOrDestroy(stream,er)):(cb(er),stream._writableState.errorEmitted=!0,errorOrDestroy(stream,er),finishMaybe(stream,state))}function onwriteStateUpdate(state){state.writing=!1,state.writecb=null,state.length-=state.writelen,state.writelen=0}function onwrite(stream,er){var state=stream._writableState,sync=state.sync,cb=state.writecb;if(typeof cb!="function")throw new ERR_MULTIPLE_CALLBACK;if(onwriteStateUpdate(state),er)onwriteError(stream,state,sync,er,cb);else{var finished=needFinish(state)||stream.destroyed;!finished&&!state.corked&&!state.bufferProcessing&&state.bufferedRequest&&clearBuffer(stream,state),sync?process.nextTick(afterWrite,stream,state,finished,cb):afterWrite(stream,state,finished,cb)}}function afterWrite(stream,state,finished,cb){finished||onwriteDrain(stream,state),state.pendingcb--,cb(),finishMaybe(stream,state)}function onwriteDrain(stream,state){state.length===0&&state.needDrain&&(state.needDrain=!1,stream.emit("drain"))}function clearBuffer(stream,state){state.bufferProcessing=!0;var entry=state.bufferedRequest;if(stream._writev&&entry&&entry.next){var l=state.bufferedRequestCount,buffer=new Array(l),holder=state.corkedRequestsFree;holder.entry=entry;for(var count=0,allBuffers=!0;entry;)buffer[count]=entry,entry.isBuf||(allBuffers=!1),entry=entry.next,count+=1;buffer.allBuffers=allBuffers,doWrite(stream,state,!0,state.length,buffer,"",holder.finish),state.pendingcb++,state.lastBufferedRequest=null,holder.next?(state.corkedRequestsFree=holder.next,holder.next=null):state.corkedRequestsFree=new CorkedRequest(state),state.bufferedRequestCount=0}else{for(;entry;){var chunk=entry.chunk,encoding=entry.encoding,cb=entry.callback,len=state.objectMode?1:chunk.length;if(doWrite(stream,state,!1,len,chunk,encoding,cb),entry=entry.next,state.bufferedRequestCount--,state.writing)break}entry===null&&(state.lastBufferedRequest=null)}state.bufferedRequest=entry,state.bufferProcessing=!1}Writable.prototype._write=function(chunk,encoding,cb){cb(new ERR_METHOD_NOT_IMPLEMENTED("_write()"))},Writable.prototype._writev=null,Writable.prototype.end=function(chunk,encoding,cb){var state=this._writableState;return typeof chunk=="function"?(cb=chunk,chunk=null,encoding=null):typeof encoding=="function"&&(cb=encoding,encoding=null),chunk!=null&&this.write(chunk,encoding),state.corked&&(state.corked=1,this.uncork()),state.ending||endWritable(this,state,cb),this},Object.defineProperty(Writable.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function needFinish(state){return state.ending&&state.length===0&&state.bufferedRequest===null&&!state.finished&&!state.writing}function callFinal(stream,state){stream._final(function(err){state.pendingcb--,err&&errorOrDestroy(stream,err),state.prefinished=!0,stream.emit("prefinish"),finishMaybe(stream,state)})}function prefinish(stream,state){!state.prefinished&&!state.finalCalled&&(typeof stream._final=="function"&&!state.destroyed?(state.pendingcb++,state.finalCalled=!0,process.nextTick(callFinal,stream,state)):(state.prefinished=!0,stream.emit("prefinish")))}function finishMaybe(stream,state){var need=needFinish(state);if(need&&(prefinish(stream,state),state.pendingcb===0&&(state.finished=!0,stream.emit("finish"),state.autoDestroy))){var rState=stream._readableState;(!rState||rState.autoDestroy&&rState.endEmitted)&&stream.destroy()}return need}function endWritable(stream,state,cb){state.ending=!0,finishMaybe(stream,state),cb&&(state.finished?process.nextTick(cb):stream.once("finish",cb)),state.ended=!0,stream.writable=!1}function onCorkedFinish(corkReq,state,err){var entry=corkReq.entry;for(corkReq.entry=null;entry;){var cb=entry.callback;state.pendingcb--,cb(err),entry=entry.next}state.corkedRequestsFree.next=corkReq}Object.defineProperty(Writable.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(value){!this._writableState||(this._writableState.destroyed=value)}}),Writable.prototype.destroy=destroyImpl.destroy,Writable.prototype._undestroy=destroyImpl.undestroy,Writable.prototype._destroy=function(err,cb){cb(err)}},29954:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var process=__webpack_require__(14224),_Object$setPrototypeO;function _defineProperty(obj,key,value){return key=_toPropertyKey(key),key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _toPropertyKey(arg){var key=_toPrimitive(arg,"string");return typeof key=="symbol"?key:String(key)}function _toPrimitive(input,hint){if(typeof input!="object"||input===null)return input;var prim=input[Symbol.toPrimitive];if(prim!==void 0){var res=prim.call(input,hint||"default");if(typeof res!="object")return res;throw new TypeError("@@toPrimitive must return a primitive value.")}return(hint==="string"?String:Number)(input)}var finished=__webpack_require__(43675),kLastResolve=Symbol("lastResolve"),kLastReject=Symbol("lastReject"),kError=Symbol("error"),kEnded=Symbol("ended"),kLastPromise=Symbol("lastPromise"),kHandlePromise=Symbol("handlePromise"),kStream=Symbol("stream");function createIterResult(value,done){return{value,done}}function readAndResolve(iter){var resolve=iter[kLastResolve];if(resolve!==null){var data=iter[kStream].read();data!==null&&(iter[kLastPromise]=null,iter[kLastResolve]=null,iter[kLastReject]=null,resolve(createIterResult(data,!1)))}}function onReadable(iter){process.nextTick(readAndResolve,iter)}function wrapForNext(lastPromise,iter){return function(resolve,reject){lastPromise.then(function(){if(iter[kEnded]){resolve(createIterResult(void 0,!0));return}iter[kHandlePromise](resolve,reject)},reject)}}var AsyncIteratorPrototype=Object.getPrototypeOf(function(){}),ReadableStreamAsyncIteratorPrototype=Object.setPrototypeOf((_Object$setPrototypeO={get stream(){return this[kStream]},next:function(){var _this=this,error=this[kError];if(error!==null)return Promise.reject(error);if(this[kEnded])return Promise.resolve(createIterResult(void 0,!0));if(this[kStream].destroyed)return new Promise(function(resolve,reject){process.nextTick(function(){_this[kError]?reject(_this[kError]):resolve(createIterResult(void 0,!0))})});var lastPromise=this[kLastPromise],promise;if(lastPromise)promise=new Promise(wrapForNext(lastPromise,this));else{var data=this[kStream].read();if(data!==null)return Promise.resolve(createIterResult(data,!1));promise=new Promise(this[kHandlePromise])}return this[kLastPromise]=promise,promise}},_defineProperty(_Object$setPrototypeO,Symbol.asyncIterator,function(){return this}),_defineProperty(_Object$setPrototypeO,"return",function(){var _this2=this;return new Promise(function(resolve,reject){_this2[kStream].destroy(null,function(err){if(err){reject(err);return}resolve(createIterResult(void 0,!0))})})}),_Object$setPrototypeO),AsyncIteratorPrototype),createReadableStreamAsyncIterator=function(stream){var _Object$create,iterator=Object.create(ReadableStreamAsyncIteratorPrototype,(_Object$create={},_defineProperty(_Object$create,kStream,{value:stream,writable:!0}),_defineProperty(_Object$create,kLastResolve,{value:null,writable:!0}),_defineProperty(_Object$create,kLastReject,{value:null,writable:!0}),_defineProperty(_Object$create,kError,{value:null,writable:!0}),_defineProperty(_Object$create,kEnded,{value:stream._readableState.endEmitted,writable:!0}),_defineProperty(_Object$create,kHandlePromise,{value:function(resolve,reject){var data=iterator[kStream].read();data?(iterator[kLastPromise]=null,iterator[kLastResolve]=null,iterator[kLastReject]=null,resolve(createIterResult(data,!1))):(iterator[kLastResolve]=resolve,iterator[kLastReject]=reject)},writable:!0}),_Object$create));return iterator[kLastPromise]=null,finished(stream,function(err){if(err&&err.code!=="ERR_STREAM_PREMATURE_CLOSE"){var reject=iterator[kLastReject];reject!==null&&(iterator[kLastPromise]=null,iterator[kLastResolve]=null,iterator[kLastReject]=null,reject(err)),iterator[kError]=err;return}var resolve=iterator[kLastResolve];resolve!==null&&(iterator[kLastPromise]=null,iterator[kLastResolve]=null,iterator[kLastReject]=null,resolve(createIterResult(void 0,!0))),iterator[kEnded]=!0}),stream.on("readable",onReadable.bind(null,iterator)),iterator};module.exports=createReadableStreamAsyncIterator},96292:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}function _defineProperty(obj,key,value){return key=_toPropertyKey(key),key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,_toPropertyKey(descriptor.key),descriptor)}}function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}function _toPropertyKey(arg){var key=_toPrimitive(arg,"string");return typeof key=="symbol"?key:String(key)}function _toPrimitive(input,hint){if(typeof input!="object"||input===null)return input;var prim=input[Symbol.toPrimitive];if(prim!==void 0){var res=prim.call(input,hint||"default");if(typeof res!="object")return res;throw new TypeError("@@toPrimitive must return a primitive value.")}return(hint==="string"?String:Number)(input)}var _require=__webpack_require__(55872),Buffer=_require.Buffer,_require2=__webpack_require__(87942),inspect=_require2.inspect,custom=inspect&&inspect.custom||"inspect";function copyBuffer(src,target,offset){Buffer.prototype.copy.call(src,target,offset)}module.exports=function(){function BufferList(){_classCallCheck(this,BufferList),this.head=null,this.tail=null,this.length=0}return _createClass(BufferList,[{key:"push",value:function(v){var entry={data:v,next:null};this.length>0?this.tail.next=entry:this.head=entry,this.tail=entry,++this.length}},{key:"unshift",value:function(v){var entry={data:v,next:this.head};this.length===0&&(this.tail=entry),this.head=entry,++this.length}},{key:"shift",value:function(){if(this.length!==0){var ret=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,ret}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(s){if(this.length===0)return"";for(var p=this.head,ret=""+p.data;p=p.next;)ret+=s+p.data;return ret}},{key:"concat",value:function(n){if(this.length===0)return Buffer.alloc(0);for(var ret=Buffer.allocUnsafe(n>>>0),p=this.head,i=0;p;)copyBuffer(p.data,ret,i),i+=p.data.length,p=p.next;return ret}},{key:"consume",value:function(n,hasStrings){var ret;return n<this.head.data.length?(ret=this.head.data.slice(0,n),this.head.data=this.head.data.slice(n)):n===this.head.data.length?ret=this.shift():ret=hasStrings?this._getString(n):this._getBuffer(n),ret}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(n){var p=this.head,c=1,ret=p.data;for(n-=ret.length;p=p.next;){var str=p.data,nb=n>str.length?str.length:n;if(nb===str.length?ret+=str:ret+=str.slice(0,n),n-=nb,n===0){nb===str.length?(++c,p.next?this.head=p.next:this.head=this.tail=null):(this.head=p,p.data=str.slice(nb));break}++c}return this.length-=c,ret}},{key:"_getBuffer",value:function(n){var ret=Buffer.allocUnsafe(n),p=this.head,c=1;for(p.data.copy(ret),n-=p.data.length;p=p.next;){var buf=p.data,nb=n>buf.length?buf.length:n;if(buf.copy(ret,ret.length-n,0,nb),n-=nb,n===0){nb===buf.length?(++c,p.next?this.head=p.next:this.head=this.tail=null):(this.head=p,p.data=buf.slice(nb));break}++c}return this.length-=c,ret}},{key:custom,value:function(_,options){return inspect(this,_objectSpread(_objectSpread({},options),{},{depth:0,customInspect:!1}))}}]),BufferList}()},87484:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var process=__webpack_require__(14224);function destroy(err,cb){var _this=this,readableDestroyed=this._readableState&&this._readableState.destroyed,writableDestroyed=this._writableState&&this._writableState.destroyed;return readableDestroyed||writableDestroyed?(cb?cb(err):err&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(emitErrorNT,this,err)):process.nextTick(emitErrorNT,this,err)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(err||null,function(err2){!cb&&err2?_this._writableState?_this._writableState.errorEmitted?process.nextTick(emitCloseNT,_this):(_this._writableState.errorEmitted=!0,process.nextTick(emitErrorAndCloseNT,_this,err2)):process.nextTick(emitErrorAndCloseNT,_this,err2):cb?(process.nextTick(emitCloseNT,_this),cb(err2)):process.nextTick(emitCloseNT,_this)}),this)}function emitErrorAndCloseNT(self2,err){emitErrorNT(self2,err),emitCloseNT(self2)}function emitCloseNT(self2){self2._writableState&&!self2._writableState.emitClose||self2._readableState&&!self2._readableState.emitClose||self2.emit("close")}function undestroy(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function emitErrorNT(self2,err){self2.emit("error",err)}function errorOrDestroy(stream,err){var rState=stream._readableState,wState=stream._writableState;rState&&rState.autoDestroy||wState&&wState.autoDestroy?stream.destroy(err):stream.emit("error",err)}module.exports={destroy,undestroy,errorOrDestroy}},43675:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var ERR_STREAM_PREMATURE_CLOSE=__webpack_require__(60981).q.ERR_STREAM_PREMATURE_CLOSE;function once(callback){var called=!1;return function(){if(!called){called=!0;for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];callback.apply(this,args)}}}function noop(){}function isRequest(stream){return stream.setHeader&&typeof stream.abort=="function"}function eos(stream,opts,callback){if(typeof opts=="function")return eos(stream,null,opts);opts||(opts={}),callback=once(callback||noop);var readable=opts.readable||opts.readable!==!1&&stream.readable,writable=opts.writable||opts.writable!==!1&&stream.writable,onlegacyfinish=function(){stream.writable||onfinish()},writableEnded=stream._writableState&&stream._writableState.finished,onfinish=function(){writable=!1,writableEnded=!0,readable||callback.call(stream)},readableEnded=stream._readableState&&stream._readableState.endEmitted,onend=function(){readable=!1,readableEnded=!0,writable||callback.call(stream)},onerror=function(err){callback.call(stream,err)},onclose=function(){var err;if(readable&&!readableEnded)return(!stream._readableState||!stream._readableState.ended)&&(err=new ERR_STREAM_PREMATURE_CLOSE),callback.call(stream,err);if(writable&&!writableEnded)return(!stream._writableState||!stream._writableState.ended)&&(err=new ERR_STREAM_PREMATURE_CLOSE),callback.call(stream,err)},onrequest=function(){stream.req.on("finish",onfinish)};return isRequest(stream)?(stream.on("complete",onfinish),stream.on("abort",onclose),stream.req?onrequest():stream.on("request",onrequest)):writable&&!stream._writableState&&(stream.on("end",onlegacyfinish),stream.on("close",onlegacyfinish)),stream.on("end",onend),stream.on("finish",onfinish),opts.error!==!1&&stream.on("error",onerror),stream.on("close",onclose),function(){stream.removeListener("complete",onfinish),stream.removeListener("abort",onclose),stream.removeListener("request",onrequest),stream.req&&stream.req.removeListener("finish",onfinish),stream.removeListener("end",onlegacyfinish),stream.removeListener("close",onlegacyfinish),stream.removeListener("finish",onfinish),stream.removeListener("end",onend),stream.removeListener("error",onerror),stream.removeListener("close",onclose)}}module.exports=eos},82037:module=>{module.exports=function(){throw new Error("Readable.from is not available in the browser")}},95597:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var eos;function once(callback){var called=!1;return function(){called||(called=!0,callback.apply(void 0,arguments))}}var _require$codes=__webpack_require__(60981).q,ERR_MISSING_ARGS=_require$codes.ERR_MISSING_ARGS,ERR_STREAM_DESTROYED=_require$codes.ERR_STREAM_DESTROYED;function noop(err){if(err)throw err}function isRequest(stream){return stream.setHeader&&typeof stream.abort=="function"}function destroyer(stream,reading,writing,callback){callback=once(callback);var closed=!1;stream.on("close",function(){closed=!0}),eos===void 0&&(eos=__webpack_require__(43675)),eos(stream,{readable:reading,writable:writing},function(err){if(err)return callback(err);closed=!0,callback()});var destroyed=!1;return function(err){if(!closed&&!destroyed){if(destroyed=!0,isRequest(stream))return stream.abort();if(typeof stream.destroy=="function")return stream.destroy();callback(err||new ERR_STREAM_DESTROYED("pipe"))}}}function call(fn){fn()}function pipe(from,to){return from.pipe(to)}function popCallback(streams){return!streams.length||typeof streams[streams.length-1]!="function"?noop:streams.pop()}function pipeline(){for(var _len=arguments.length,streams=new Array(_len),_key=0;_key<_len;_key++)streams[_key]=arguments[_key];var callback=popCallback(streams);if(Array.isArray(streams[0])&&(streams=streams[0]),streams.length<2)throw new ERR_MISSING_ARGS("streams");var error,destroys=streams.map(function(stream,i){var reading=i<streams.length-1,writing=i>0;return destroyer(stream,reading,writing,function(err){error||(error=err),err&&destroys.forEach(call),!reading&&(destroys.forEach(call),callback(error))})});return streams.reduce(pipe)}module.exports=pipeline},16084:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var ERR_INVALID_OPT_VALUE=__webpack_require__(60981).q.ERR_INVALID_OPT_VALUE;function highWaterMarkFrom(options,isDuplex,duplexKey){return options.highWaterMark!=null?options.highWaterMark:isDuplex?options[duplexKey]:null}function getHighWaterMark(state,options,duplexKey,isDuplex){var hwm=highWaterMarkFrom(options,isDuplex,duplexKey);if(hwm!=null){if(!(isFinite(hwm)&&Math.floor(hwm)===hwm)||hwm<0){var name=isDuplex?duplexKey:"highWaterMark";throw new ERR_INVALID_OPT_VALUE(name,hwm)}return Math.floor(hwm)}return state.objectMode?16:16*1024}module.exports={getHighWaterMark}},26922:(module,__unused_webpack_exports,__webpack_require__)=>{module.exports=__webpack_require__(27379).EventEmitter},44678:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var ctx=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof __webpack_require__.g=="object"?__webpack_require__.g:{},restore=capture();ctx.Prism={manual:!0,disableWorkerMessageHandler:!0};var h=__webpack_require__(86675),decode=__webpack_require__(3177),Prism=__webpack_require__(58925),markup=__webpack_require__(21042),css=__webpack_require__(40579),clike=__webpack_require__(21625),js=__webpack_require__(57600);restore();var own={}.hasOwnProperty;function Refractor(){}Refractor.prototype=Prism;var refract=new Refractor;module.exports=refract,refract.highlight=highlight,refract.register=register,refract.alias=alias,refract.registered=registered,refract.listLanguages=listLanguages,register(markup),register(css),register(clike),register(js),refract.util.encode=encode,refract.Token.stringify=stringify;function register(grammar){if(typeof grammar!="function"||!grammar.displayName)throw new Error("Expected `function` for `grammar`, got `"+grammar+"`");refract.languages[grammar.displayName]===void 0&&grammar(refract)}function alias(name,alias2){var languages=refract.languages,map=name,key,list,length,index;alias2&&(map={},map[name]=alias2);for(key in map)for(list=map[key],list=typeof list=="string"?[list]:list,length=list.length,index=-1;++index<length;)languages[list[index]]=languages[key]}function highlight(value,name){var sup=Prism.highlight,grammar;if(typeof value!="string")throw new Error("Expected `string` for `value`, got `"+value+"`");if(refract.util.type(name)==="Object")grammar=name,name=null;else{if(typeof name!="string")throw new Error("Expected `string` for `name`, got `"+name+"`");if(own.call(refract.languages,name))grammar=refract.languages[name];else throw new Error("Unknown language: `"+name+"` is not registered")}return sup.call(this,value,grammar,name)}function registered(language){if(typeof language!="string")throw new Error("Expected `string` for `language`, got `"+language+"`");return own.call(refract.languages,language)}function listLanguages(){var languages=refract.languages,list=[],language;for(language in languages)own.call(languages,language)&&typeof languages[language]=="object"&&list.push(language);return list}function stringify(value,language,parent){var env;return typeof value=="string"?{type:"text",value}:refract.util.type(value)==="Array"?stringifyAll(value,language):(env={type:value.type,content:refract.Token.stringify(value.content,language,parent),tag:"span",classes:["token",value.type],attributes:{},language,parent},value.alias&&(env.classes=env.classes.concat(value.alias)),refract.hooks.run("wrap",env),h(env.tag+"."+env.classes.join("."),attributes(env.attributes),env.content))}function stringifyAll(values,language){for(var result=[],length=values.length,index=-1,value;++index<length;)value=values[index],value!==""&&value!==null&&value!==void 0&&result.push(value);for(index=-1,length=result.length;++index<length;)value=result[index],result[index]=refract.Token.stringify(value,language,result);return result}function encode(tokens){return tokens}function attributes(attrs){var key;for(key in attrs)attrs[key]=decode(attrs[key]);return attrs}function capture(){var defined="Prism"in ctx,current=defined?ctx.Prism:void 0;return restore2;function restore2(){defined?ctx.Prism=current:delete ctx.Prism,defined=void 0,current=void 0}}},21625:module=>{"use strict";module.exports=clike,clike.displayName="clike",clike.aliases=[];function clike(Prism){Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}},40579:module=>{"use strict";module.exports=css,css.displayName="css",css.aliases=[];function css(Prism){(function(Prism2){var string=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;Prism2.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+string.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+string.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+string.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:string,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},Prism2.languages.css.atrule.inside.rest=Prism2.languages.css;var markup=Prism2.languages.markup;markup&&(markup.tag.addInlined("style","css"),markup.tag.addAttribute("style","css"))})(Prism)}},57600:module=>{"use strict";module.exports=javascript,javascript.displayName="javascript",javascript.aliases=["js"];function javascript(Prism){Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript}},82961:module=>{"use strict";module.exports=jsx,jsx.displayName="jsx",jsx.aliases=[];function jsx(Prism){(function(Prism2){var javascript=Prism2.util.clone(Prism2.languages.javascript),space=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,braces=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,spread=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function re(source,flags){return source=source.replace(/<S>/g,function(){return space}).replace(/<BRACES>/g,function(){return braces}).replace(/<SPREAD>/g,function(){return spread}),RegExp(source,flags)}spread=re(spread).source,Prism2.languages.jsx=Prism2.languages.extend("markup",javascript),Prism2.languages.jsx.tag.pattern=re(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),Prism2.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,Prism2.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,Prism2.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,Prism2.languages.jsx.tag.inside.comment=javascript.comment,Prism2.languages.insertBefore("inside","attr-name",{spread:{pattern:re(/<SPREAD>/.source),inside:Prism2.languages.jsx}},Prism2.languages.jsx.tag),Prism2.languages.insertBefore("inside","special-attr",{script:{pattern:re(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:Prism2.languages.jsx}}},Prism2.languages.jsx.tag);var stringifyToken=function(token){return token?typeof token=="string"?token:typeof token.content=="string"?token.content:token.content.map(stringifyToken).join(""):""},walkTokens=function(tokens){for(var openedTags=[],i=0;i<tokens.length;i++){var token=tokens[i],notTagNorBrace=!1;if(typeof token!="string"&&(token.type==="tag"&&token.content[0]&&token.content[0].type==="tag"?token.content[0].content[0].content==="</"?openedTags.length>0&&openedTags[openedTags.length-1].tagName===stringifyToken(token.content[0].content[1])&&openedTags.pop():token.content[token.content.length-1].content==="/>"||openedTags.push({tagName:stringifyToken(token.content[0].content[1]),openedBraces:0}):openedTags.length>0&&token.type==="punctuation"&&token.content==="{"?openedTags[openedTags.length-1].openedBraces++:openedTags.length>0&&openedTags[openedTags.length-1].openedBraces>0&&token.type==="punctuation"&&token.content==="}"?openedTags[openedTags.length-1].openedBraces--:notTagNorBrace=!0),(notTagNorBrace||typeof token=="string")&&openedTags.length>0&&openedTags[openedTags.length-1].openedBraces===0){var plainText=stringifyToken(token);i<tokens.length-1&&(typeof tokens[i+1]=="string"||tokens[i+1].type==="plain-text")&&(plainText+=stringifyToken(tokens[i+1]),tokens.splice(i+1,1)),i>0&&(typeof tokens[i-1]=="string"||tokens[i-1].type==="plain-text")&&(plainText=stringifyToken(tokens[i-1])+plainText,tokens.splice(i-1,1),i--),tokens[i]=new Prism2.Token("plain-text",plainText,null,plainText)}token.content&&typeof token.content!="string"&&walkTokens(token.content)}};Prism2.hooks.add("after-tokenize",function(env){env.language!=="jsx"&&env.language!=="tsx"||walkTokens(env.tokens)})})(Prism)}},21042:module=>{"use strict";module.exports=markup,markup.displayName="markup",markup.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function markup(Prism){Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(env){env.type==="entity"&&(env.attributes.title=env.content.value.replace(/&amp;/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(tagName,lang){var includedCdataInside={};includedCdataInside["language-"+lang]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[lang]},includedCdataInside.cdata=/^<!\[CDATA\[|\]\]>$/i;var inside={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:includedCdataInside}};inside["language-"+lang]={pattern:/[\s\S]+/,inside:Prism.languages[lang]};var def={};def[tagName]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return tagName}),"i"),lookbehind:!0,greedy:!0,inside},Prism.languages.insertBefore("markup","cdata",def)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(attrName,lang){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+attrName+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[lang,"language-"+lang],inside:Prism.languages[lang]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml}},72663:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var refractorJsx=__webpack_require__(82961),refractorTypescript=__webpack_require__(66409);module.exports=tsx,tsx.displayName="tsx",tsx.aliases=[];function tsx(Prism){Prism.register(refractorJsx),Prism.register(refractorTypescript),function(Prism2){var typescript=Prism2.util.clone(Prism2.languages.typescript);Prism2.languages.tsx=Prism2.languages.extend("jsx",typescript),delete Prism2.languages.tsx.parameter,delete Prism2.languages.tsx["literal-property"];var tag=Prism2.languages.tsx.tag;tag.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+tag.pattern.source+")",tag.pattern.flags),tag.lookbehind=!0}(Prism)}},66409:module=>{"use strict";module.exports=typescript,typescript.displayName="typescript",typescript.aliases=["ts"];function typescript(Prism){(function(Prism2){Prism2.languages.typescript=Prism2.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),Prism2.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete Prism2.languages.typescript.parameter,delete Prism2.languages.typescript["literal-property"];var typeInside=Prism2.languages.extend("typescript",{});delete typeInside["class-name"],Prism2.languages.typescript["class-name"].inside=typeInside,Prism2.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:typeInside}}}}),Prism2.languages.ts=Prism2.languages.typescript})(Prism)}},69540:(module,__unused_webpack_exports,__webpack_require__)=>{module.exports={locale:"en",long:__webpack_require__(45641),short:__webpack_require__(30963),narrow:__webpack_require__(97009),quantify:__webpack_require__(47931)}},47931:module=>{module.exports=function(n){var r=!String(n).split(".")[1];return n==1&&r?"one":"other"}},61874:(module,exports,__webpack_require__)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var buffer=__webpack_require__(55872),Buffer=buffer.Buffer;function copyProps(src,dst){for(var key in src)dst[key]=src[key]}Buffer.from&&Buffer.alloc&&Buffer.allocUnsafe&&Buffer.allocUnsafeSlow?module.exports=buffer:(copyProps(buffer,exports),exports.Buffer=SafeBuffer);function SafeBuffer(arg,encodingOrOffset,length){return Buffer(arg,encodingOrOffset,length)}SafeBuffer.prototype=Object.create(Buffer.prototype),copyProps(Buffer,SafeBuffer),SafeBuffer.from=function(arg,encodingOrOffset,length){if(typeof arg=="number")throw new TypeError("Argument must not be a number");return Buffer(arg,encodingOrOffset,length)},SafeBuffer.alloc=function(size,fill,encoding){if(typeof size!="number")throw new TypeError("Argument must be a number");var buf=Buffer(size);return fill!==void 0?typeof encoding=="string"?buf.fill(fill,encoding):buf.fill(fill):buf.fill(0),buf},SafeBuffer.allocUnsafe=function(size){if(typeof size!="number")throw new TypeError("Argument must be a number");return Buffer(size)},SafeBuffer.allocUnsafeSlow=function(size){if(typeof size!="number")throw new TypeError("Argument must be a number");return buffer.SlowBuffer(size)}},69823:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var GetIntrinsic=__webpack_require__(67415),define=__webpack_require__(18003),hasDescriptors=__webpack_require__(94074)(),gOPD=__webpack_require__(70658),$TypeError=__webpack_require__(29837),$floor=GetIntrinsic("%Math.floor%");module.exports=function(fn,length){if(typeof fn!="function")throw new $TypeError("`fn` is not a function");if(typeof length!="number"||length<0||length>4294967295||$floor(length)!==length)throw new $TypeError("`length` must be a positive 32-bit integer");var loose=arguments.length>2&&!!arguments[2],functionLengthIsConfigurable=!0,functionLengthIsWritable=!0;if("length"in fn&&gOPD){var desc=gOPD(fn,"length");desc&&!desc.configurable&&(functionLengthIsConfigurable=!1),desc&&!desc.writable&&(functionLengthIsWritable=!1)}return(functionLengthIsConfigurable||functionLengthIsWritable||!loose)&&(hasDescriptors?define(fn,"length",length,!0,!0):define(fn,"length",length)),fn}},5025:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var GetIntrinsic=__webpack_require__(67415),callBound=__webpack_require__(74161),inspect=__webpack_require__(85306),$TypeError=__webpack_require__(29837),$WeakMap=GetIntrinsic("%WeakMap%",!0),$Map=GetIntrinsic("%Map%",!0),$weakMapGet=callBound("WeakMap.prototype.get",!0),$weakMapSet=callBound("WeakMap.prototype.set",!0),$weakMapHas=callBound("WeakMap.prototype.has",!0),$mapGet=callBound("Map.prototype.get",!0),$mapSet=callBound("Map.prototype.set",!0),$mapHas=callBound("Map.prototype.has",!0),listGetNode=function(list,key){for(var prev=list,curr;(curr=prev.next)!==null;prev=curr)if(curr.key===key)return prev.next=curr.next,curr.next=list.next,list.next=curr,curr},listGet=function(objects,key){var node=listGetNode(objects,key);return node&&node.value},listSet=function(objects,key,value){var node=listGetNode(objects,key);node?node.value=value:objects.next={key,next:objects.next,value}},listHas=function(objects,key){return!!listGetNode(objects,key)};module.exports=function(){var $wm,$m,$o,channel={assert:function(key){if(!channel.has(key))throw new $TypeError("Side channel does not contain "+inspect(key))},get:function(key){if($WeakMap&&key&&(typeof key=="object"||typeof key=="function")){if($wm)return $weakMapGet($wm,key)}else if($Map){if($m)return $mapGet($m,key)}else if($o)return listGet($o,key)},has:function(key){if($WeakMap&&key&&(typeof key=="object"||typeof key=="function")){if($wm)return $weakMapHas($wm,key)}else if($Map){if($m)return $mapHas($m,key)}else if($o)return listHas($o,key);return!1},set:function(key,value){$WeakMap&&key&&(typeof key=="object"||typeof key=="function")?($wm||($wm=new $WeakMap),$weakMapSet($wm,key,value)):$Map?($m||($m=new $Map),$mapSet($m,key,value)):($o||($o={key:{},next:null}),listSet($o,key,value))}};return channel}},92868:(__unused_webpack_module,exports)=>{"use strict";var __webpack_unused_export__;exports.Q=parse,__webpack_unused_export__=stringify;var empty="",space=" ",whiteSpace=/[ \t\n\r\f]+/g;function parse(value){var input=String(value||empty).trim();return input===empty?[]:input.split(whiteSpace)}function stringify(values){return values.join(space).trim()}},76835:(module,__unused_webpack_exports,__webpack_require__)=>{module.exports=Stream;var EE=__webpack_require__(27379).EventEmitter,inherits=__webpack_require__(2937);inherits(Stream,EE),Stream.Readable=__webpack_require__(25294),Stream.Writable=__webpack_require__(86481),Stream.Duplex=__webpack_require__(93337),Stream.Transform=__webpack_require__(41683),Stream.PassThrough=__webpack_require__(68797),Stream.finished=__webpack_require__(43675),Stream.pipeline=__webpack_require__(95597),Stream.Stream=Stream;function Stream(){EE.call(this)}Stream.prototype.pipe=function(dest,options){var source=this;function ondata(chunk){dest.writable&&dest.write(chunk)===!1&&source.pause&&source.pause()}source.on("data",ondata);function ondrain(){source.readable&&source.resume&&source.resume()}dest.on("drain",ondrain),!dest._isStdio&&(!options||options.end!==!1)&&(source.on("end",onend),source.on("close",onclose));var didOnEnd=!1;function onend(){didOnEnd||(didOnEnd=!0,dest.end())}function onclose(){didOnEnd||(didOnEnd=!0,typeof dest.destroy=="function"&&dest.destroy())}function onerror(er){if(cleanup(),EE.listenerCount(this,"error")===0)throw er}source.on("error",onerror),dest.on("error",onerror);function cleanup(){source.removeListener("data",ondata),dest.removeListener("drain",ondrain),source.removeListener("end",onend),source.removeListener("close",onclose),source.removeListener("error",onerror),dest.removeListener("error",onerror),source.removeListener("end",cleanup),source.removeListener("close",cleanup),dest.removeListener("close",cleanup)}return source.on("end",cleanup),source.on("close",cleanup),dest.on("close",cleanup),dest.emit("pipe",source),dest}},72699:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var Buffer=__webpack_require__(61874).Buffer,isEncoding=Buffer.isEncoding||function(encoding){switch(encoding=""+encoding,encoding&&encoding.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function _normalizeEncoding(enc){if(!enc)return"utf8";for(var retried;;)switch(enc){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return enc;default:if(retried)return;enc=(""+enc).toLowerCase(),retried=!0}}function normalizeEncoding(enc){var nenc=_normalizeEncoding(enc);if(typeof nenc!="string"&&(Buffer.isEncoding===isEncoding||!isEncoding(enc)))throw new Error("Unknown encoding: "+enc);return nenc||enc}exports.s=StringDecoder;function StringDecoder(encoding){this.encoding=normalizeEncoding(encoding);var nb;switch(this.encoding){case"utf16le":this.text=utf16Text,this.end=utf16End,nb=4;break;case"utf8":this.fillLast=utf8FillLast,nb=4;break;case"base64":this.text=base64Text,this.end=base64End,nb=3;break;default:this.write=simpleWrite,this.end=simpleEnd;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Buffer.allocUnsafe(nb)}StringDecoder.prototype.write=function(buf){if(buf.length===0)return"";var r,i;if(this.lastNeed){if(r=this.fillLast(buf),r===void 0)return"";i=this.lastNeed,this.lastNeed=0}else i=0;return i<buf.length?r?r+this.text(buf,i):this.text(buf,i):r||""},StringDecoder.prototype.end=utf8End,StringDecoder.prototype.text=utf8Text,StringDecoder.prototype.fillLast=function(buf){if(this.lastNeed<=buf.length)return buf.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);buf.copy(this.lastChar,this.lastTotal-this.lastNeed,0,buf.length),this.lastNeed-=buf.length};function utf8CheckByte(byte){return byte<=127?0:byte>>5===6?2:byte>>4===14?3:byte>>3===30?4:byte>>6===2?-1:-2}function utf8CheckIncomplete(self2,buf,i){var j=buf.length-1;if(j<i)return 0;var nb=utf8CheckByte(buf[j]);return nb>=0?(nb>0&&(self2.lastNeed=nb-1),nb):--j<i||nb===-2?0:(nb=utf8CheckByte(buf[j]),nb>=0?(nb>0&&(self2.lastNeed=nb-2),nb):--j<i||nb===-2?0:(nb=utf8CheckByte(buf[j]),nb>=0?(nb>0&&(nb===2?nb=0:self2.lastNeed=nb-3),nb):0))}function utf8CheckExtraBytes(self2,buf,p){if((buf[0]&192)!==128)return self2.lastNeed=0,"\uFFFD";if(self2.lastNeed>1&&buf.length>1){if((buf[1]&192)!==128)return self2.lastNeed=1,"\uFFFD";if(self2.lastNeed>2&&buf.length>2&&(buf[2]&192)!==128)return self2.lastNeed=2,"\uFFFD"}}function utf8FillLast(buf){var p=this.lastTotal-this.lastNeed,r=utf8CheckExtraBytes(this,buf,p);if(r!==void 0)return r;if(this.lastNeed<=buf.length)return buf.copy(this.lastChar,p,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);buf.copy(this.lastChar,p,0,buf.length),this.lastNeed-=buf.length}function utf8Text(buf,i){var total=utf8CheckIncomplete(this,buf,i);if(!this.lastNeed)return buf.toString("utf8",i);this.lastTotal=total;var end=buf.length-(total-this.lastNeed);return buf.copy(this.lastChar,0,end),buf.toString("utf8",i,end)}function utf8End(buf){var r=buf&&buf.length?this.write(buf):"";return this.lastNeed?r+"\uFFFD":r}function utf16Text(buf,i){if((buf.length-i)%2===0){var r=buf.toString("utf16le",i);if(r){var c=r.charCodeAt(r.length-1);if(c>=55296&&c<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=buf[buf.length-2],this.lastChar[1]=buf[buf.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=buf[buf.length-1],buf.toString("utf16le",i,buf.length-1)}function utf16End(buf){var r=buf&&buf.length?this.write(buf):"";if(this.lastNeed){var end=this.lastTotal-this.lastNeed;return r+this.lastChar.toString("utf16le",0,end)}return r}function base64Text(buf,i){var n=(buf.length-i)%3;return n===0?buf.toString("base64",i):(this.lastNeed=3-n,this.lastTotal=3,n===1?this.lastChar[0]=buf[buf.length-1]:(this.lastChar[0]=buf[buf.length-2],this.lastChar[1]=buf[buf.length-1]),buf.toString("base64",i,buf.length-n))}function base64End(buf){var r=buf&&buf.length?this.write(buf):"";return this.lastNeed?r+this.lastChar.toString("base64",0,3-this.lastNeed):r}function simpleWrite(buf){return buf.toString(this.encoding)}function simpleEnd(buf){return buf&&buf.length?this.write(buf):""}},98950:module=>{"use strict";module.exports={stdout:!1,stderr:!1}},48199:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{animateFill:()=>animateFill,createSingleton:()=>createSingleton,default:()=>__WEBPACK_DEFAULT_EXPORT__,delegate:()=>delegate,followCursor:()=>followCursor,hideAll:()=>hideAll,inlinePositioning:()=>inlinePositioning,roundArrow:()=>ROUND_ARROW,sticky:()=>sticky});var _popperjs_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(60510),ROUND_ARROW='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',BOX_CLASS="tippy-box",CONTENT_CLASS="tippy-content",BACKDROP_CLASS="tippy-backdrop",ARROW_CLASS="tippy-arrow",SVG_ARROW_CLASS="tippy-svg-arrow",TOUCH_OPTIONS={passive:!0,capture:!0};function hasOwnProperty(obj,key){return{}.hasOwnProperty.call(obj,key)}function getValueAtIndexOrReturn(value,index,defaultValue){if(Array.isArray(value)){var v=value[index];return v??(Array.isArray(defaultValue)?defaultValue[index]:defaultValue)}return value}function isType(value,type){var str={}.toString.call(value);return str.indexOf("[object")===0&&str.indexOf(type+"]")>-1}function invokeWithArgsOrReturn(value,args){return typeof value=="function"?value.apply(void 0,args):value}function debounce(fn,ms){if(ms===0)return fn;var timeout;return function(arg){clearTimeout(timeout),timeout=setTimeout(function(){fn(arg)},ms)}}function removeProperties(obj,keys){var clone=Object.assign({},obj);return keys.forEach(function(key){delete clone[key]}),clone}function splitBySpaces(value){return value.split(/\s+/).filter(Boolean)}function normalizeToArray(value){return[].concat(value)}function pushIfUnique(arr,value){arr.indexOf(value)===-1&&arr.push(value)}function unique(arr){return arr.filter(function(item,index){return arr.indexOf(item)===index})}function getBasePlacement(placement){return placement.split("-")[0]}function arrayFrom(value){return[].slice.call(value)}function removeUndefinedProps(obj){return Object.keys(obj).reduce(function(acc,key){return obj[key]!==void 0&&(acc[key]=obj[key]),acc},{})}function div(){return document.createElement("div")}function isElement(value){return["Element","Fragment"].some(function(type){return isType(value,type)})}function isNodeList(value){return isType(value,"NodeList")}function isMouseEvent(value){return isType(value,"MouseEvent")}function isReferenceElement(value){return!!(value&&value._tippy&&value._tippy.reference===value)}function getArrayOfElements(value){return isElement(value)?[value]:isNodeList(value)?arrayFrom(value):Array.isArray(value)?value:arrayFrom(document.querySelectorAll(value))}function setTransitionDuration(els,value){els.forEach(function(el){el&&(el.style.transitionDuration=value+"ms")})}function setVisibilityState(els,state){els.forEach(function(el){el&&el.setAttribute("data-state",state)})}function getOwnerDocument(elementOrElements){var _normalizeToArray=normalizeToArray(elementOrElements),element=_normalizeToArray[0];return element&&element.ownerDocument||document}function isCursorOutsideInteractiveBorder(popperTreeData,event){var clientX=event.clientX,clientY=event.clientY;return popperTreeData.every(function(_ref){var popperRect=_ref.popperRect,popperState=_ref.popperState,props=_ref.props,interactiveBorder=props.interactiveBorder,basePlacement=getBasePlacement(popperState.placement),offsetData=popperState.modifiersData.offset;if(!offsetData)return!0;var topDistance=basePlacement==="bottom"?offsetData.top.y:0,bottomDistance=basePlacement==="top"?offsetData.bottom.y:0,leftDistance=basePlacement==="right"?offsetData.left.x:0,rightDistance=basePlacement==="left"?offsetData.right.x:0,exceedsTop=popperRect.top-clientY+topDistance>interactiveBorder,exceedsBottom=clientY-popperRect.bottom-bottomDistance>interactiveBorder,exceedsLeft=popperRect.left-clientX+leftDistance>interactiveBorder,exceedsRight=clientX-popperRect.right-rightDistance>interactiveBorder;return exceedsTop||exceedsBottom||exceedsLeft||exceedsRight})}function updateTransitionEndListener(box,action,listener){var method=action+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(event){box[method](event,listener)})}var currentInput={isTouch:!1},lastMouseMoveTime=0;function onDocumentTouchStart(){currentInput.isTouch||(currentInput.isTouch=!0,window.performance&&document.addEventListener("mousemove",onDocumentMouseMove))}function onDocumentMouseMove(){var now=performance.now();now-lastMouseMoveTime<20&&(currentInput.isTouch=!1,document.removeEventListener("mousemove",onDocumentMouseMove)),lastMouseMoveTime=now}function onWindowBlur(){var activeElement=document.activeElement;if(isReferenceElement(activeElement)){var instance=activeElement._tippy;activeElement.blur&&!instance.state.isVisible&&activeElement.blur()}}function bindGlobalEventListeners(){document.addEventListener("touchstart",onDocumentTouchStart,TOUCH_OPTIONS),window.addEventListener("blur",onWindowBlur)}var isBrowser=typeof window<"u"&&typeof document<"u",ua=isBrowser?navigator.userAgent:"",isIE=/MSIE |Trident\//.test(ua);function createMemoryLeakWarning(method){var txt=method==="destroy"?"n already-":" ";return[method+"() was called on a"+txt+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function clean(value){var spacesAndTabs=/[ \t]{2,}/g,lineStartWithSpaces=/^[ \t]*/gm;return value.replace(spacesAndTabs," ").replace(lineStartWithSpaces,"").trim()}function getDevMessage(message){return clean(`
606
+ `)};if(i===0){var _children=tree.slice(lastLineBreakIndex+1,index).concat(createLineElement({children:[newChild],className:node.properties.className})),_line=createLine(_children,lineNumber2);newTree.push(_line)}else if(i===splitValue.length-1){var stringChild=tree[index+1]&&tree[index+1].children&&tree[index+1].children[0];if(stringChild){var lastLineInPreviousSpan={type:"text",value:"".concat(text)},newElem=createLineElement({children:[lastLineInPreviousSpan],className:node.properties.className});tree.splice(index+1,0,newElem)}else{var _children2=[newChild],_line2=createLine(_children2,lineNumber2,node.properties.className);newTree.push(_line2)}}else{var _children3=[newChild],_line3=createLine(_children3,lineNumber2,node.properties.className);newTree.push(_line3)}}),lastLineBreakIndex=index}index++};index<tree.length;)_loop();if(lastLineBreakIndex!==tree.length-1){var children=tree.slice(lastLineBreakIndex+1,tree.length);if(children&&children.length){var lineNumber=newTree.length+startingLineNumber,line=createLine(children,lineNumber);newTree.push(line)}}return wrapLines?newTree:(_ref4=[]).concat.apply(_ref4,newTree)}function defaultRenderer(_ref5){var rows=_ref5.rows,stylesheet=_ref5.stylesheet,useInlineStyles=_ref5.useInlineStyles;return rows.map(function(node,i){return createElement({node,stylesheet,useInlineStyles,key:"code-segement".concat(i)})})}function isHighlightJs(astGenerator){return astGenerator&&typeof astGenerator.highlightAuto<"u"}function getCodeTree(_ref6){var astGenerator=_ref6.astGenerator,language=_ref6.language,code=_ref6.code,defaultCodeValue=_ref6.defaultCodeValue;if(isHighlightJs(astGenerator)){var hasLanguage=checkForListedLanguage(astGenerator,language);return language==="text"?{value:defaultCodeValue,language:"text"}:hasLanguage?astGenerator.highlight(language,code):astGenerator.highlightAuto(code)}try{return language&&language!=="text"?{value:astGenerator.highlight(code,language)}:{value:defaultCodeValue}}catch{return{value:defaultCodeValue}}}function highlight(defaultAstGenerator,defaultStyle){return function(_ref7){var language=_ref7.language,children=_ref7.children,_ref7$style=_ref7.style,style=_ref7$style===void 0?defaultStyle:_ref7$style,_ref7$customStyle=_ref7.customStyle,customStyle=_ref7$customStyle===void 0?{}:_ref7$customStyle,_ref7$codeTagProps=_ref7.codeTagProps,codeTagProps=_ref7$codeTagProps===void 0?{className:language?"language-".concat(language):void 0,style:style['code[class*="language-"]']}:_ref7$codeTagProps,_ref7$useInlineStyles=_ref7.useInlineStyles,useInlineStyles=_ref7$useInlineStyles===void 0?!0:_ref7$useInlineStyles,_ref7$showLineNumbers=_ref7.showLineNumbers,showLineNumbers=_ref7$showLineNumbers===void 0?!1:_ref7$showLineNumbers,_ref7$showInlineLineN=_ref7.showInlineLineNumbers,showInlineLineNumbers=_ref7$showInlineLineN===void 0?!1:_ref7$showInlineLineN,_ref7$startingLineNum=_ref7.startingLineNumber,startingLineNumber=_ref7$startingLineNum===void 0?1:_ref7$startingLineNum,lineNumberContainerStyle=_ref7.lineNumberContainerStyle,_ref7$lineNumberStyle=_ref7.lineNumberStyle,lineNumberStyle=_ref7$lineNumberStyle===void 0?{}:_ref7$lineNumberStyle,wrapLines=_ref7.wrapLines,_ref7$lineProps=_ref7.lineProps,lineProps=_ref7$lineProps===void 0?{}:_ref7$lineProps,renderer=_ref7.renderer,_ref7$PreTag=_ref7.PreTag,PreTag=_ref7$PreTag===void 0?"pre":_ref7$PreTag,_ref7$CodeTag=_ref7.CodeTag,CodeTag=_ref7$CodeTag===void 0?"code":_ref7$CodeTag,_ref7$code=_ref7.code,code=_ref7$code===void 0?Array.isArray(children)?children[0]:children:_ref7$code,astGenerator=_ref7.astGenerator,rest=(0,objectWithoutProperties.Z)(_ref7,["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"]);astGenerator=astGenerator||defaultAstGenerator;var allLineNumbers=showLineNumbers?react.createElement(AllLineNumbers,{containerStyle:lineNumberContainerStyle,codeStyle:codeTagProps.style||{},numberStyle:lineNumberStyle,startingLineNumber,codeString:code}):null,defaultPreStyle=style.hljs||style['pre[class*="language-"]']||{backgroundColor:"#fff"},generatorClassName=isHighlightJs(astGenerator)?"hljs":"prismjs",preProps=useInlineStyles?Object.assign({},rest,{style:Object.assign({},defaultPreStyle,customStyle)}):Object.assign({},rest,{className:rest.className?"".concat(generatorClassName," ").concat(rest.className):generatorClassName,style:Object.assign({},customStyle)});if(!astGenerator)return react.createElement(PreTag,preProps,allLineNumbers,react.createElement(CodeTag,codeTagProps,code));wrapLines=renderer&&wrapLines===void 0?!0:wrapLines,renderer=renderer||defaultRenderer;var defaultCodeValue=[{type:"text",value:code}],codeTree=getCodeTree({astGenerator,language,code,defaultCodeValue});codeTree.language===null&&(codeTree.value=defaultCodeValue);var largestLineNumber=codeTree.value.length+startingLineNumber,rows=processLines(codeTree,wrapLines,lineProps,showLineNumbers,showInlineLineNumbers,startingLineNumber,largestLineNumber,lineNumberStyle);return react.createElement(PreTag,preProps,react.createElement(CodeTag,codeTagProps,!showInlineLineNumbers&&allLineNumbers,renderer({rows,stylesheet:style,useInlineStyles})))}}var core=__webpack_require__(44678),core_default=__webpack_require__.n(core),SyntaxHighlighter=highlight(core_default(),{});SyntaxHighlighter.registerLanguage=function(_,language){return core_default().register(language)};const prism_light=SyntaxHighlighter},27116:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={'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"}}},35493:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Tab:()=>Tab,TabList:()=>TabList,TabPanel:()=>TabPanel,Tabs:()=>Tabs,resetIdCounter:()=>uuid_reset});var react=__webpack_require__(59496);function makeTypeChecker(tabsRole){return function(element){return!!element.type&&element.type.tabsRole===tabsRole}}var elementTypes_isTab=makeTypeChecker("Tab"),elementTypes_isTabList=makeTypeChecker("TabList"),elementTypes_isTabPanel=makeTypeChecker("TabPanel");function _extends(){return _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function isTabChild(child){return elementTypes_isTab(child)||elementTypes_isTabList(child)||elementTypes_isTabPanel(child)}function deepMap(children,callback){return react.Children.map(children,function(child){return child===null?null:isTabChild(child)?callback(child):child.props&&child.props.children&&typeof child.props.children=="object"?(0,react.cloneElement)(child,_extends({},child.props,{children:deepMap(child.props.children,callback)})):child})}function childrenDeepMap_deepForEach(children,callback){return react.Children.forEach(children,function(child){child!==null&&(elementTypes_isTab(child)||elementTypes_isTabPanel(child)?callback(child):child.props&&child.props.children&&typeof child.props.children=="object"&&(elementTypes_isTabList(child)&&callback(child),childrenDeepMap_deepForEach(child.props.children,callback)))})}function childrenPropType(props,propName,componentName){var error,tabsCount=0,panelsCount=0,tabListFound=!1,listTabs=[],children=props[propName];return deepForEach(children,function(child){isTabList(child)&&(child.props&&child.props.children&&typeof child.props.children=="object"&&deepForEach(child.props.children,function(listChild){return listTabs.push(listChild)}),tabListFound&&(error=new Error("Found multiple 'TabList' components inside 'Tabs'. Only one is allowed.")),tabListFound=!0),isTab(child)?((!tabListFound||listTabs.indexOf(child)===-1)&&(error=new Error("Found a 'Tab' component outside of the 'TabList' component. 'Tab' components have to be inside the 'TabList' component.")),tabsCount++):isTabPanel(child)&&panelsCount++}),!error&&tabsCount!==panelsCount&&(error=new Error("There should be an equal number of 'Tab' and 'TabPanel' in `"+componentName+"`. "+("Received "+tabsCount+" 'Tab' and "+panelsCount+" 'TabPanel'."))),error}function onSelectPropType(props,propName,componentName,location,propFullName){var prop=props[propName],name=propFullName||propName,error=null;return prop&&typeof prop!="function"?error=new Error("Invalid "+location+" `"+name+"` of type `"+typeof prop+"` supplied "+("to `"+componentName+"`, expected `function`.")):props.selectedIndex!=null&&prop==null&&(error=new Error("The "+location+" `"+name+"` is marked as required in `"+componentName+"`, but its value is `undefined` or `null`.\n`onSelect` is required when `selectedIndex` is also set. Not doing so will make the tabs not do anything, as `selectedIndex` indicates that you want to handle the selected tab yourself.\nIf you only want to set the inital tab replace `selectedIndex` with `defaultIndex`.")),error}function selectedIndexPropType(props,propName,componentName,location,propFullName){var prop=props[propName],name=propFullName||propName,error=null;if(prop!=null&&typeof prop!="number")error=new Error("Invalid "+location+" `"+name+"` of type `"+typeof prop+"` supplied to "+("`"+componentName+"`, expected `number`."));else if(props.defaultIndex!=null&&prop!=null)return new Error("The "+location+" `"+name+"` cannot be used together with `defaultIndex` "+("in `"+componentName+"`.\n")+("Either remove `"+name+"` to let `"+componentName+"` handle the selected ")+"tab internally or remove `defaultIndex` to handle it yourself.");return error}function r(e){var t,f,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}const clsx_m=clsx;var count=0;function uuid(){return"react-tabs-"+count++}function uuid_reset(){count=0}function count_getTabsCount(children){var tabCount=0;return childrenDeepMap_deepForEach(children,function(child){elementTypes_isTab(child)&&tabCount++}),tabCount}function count_getPanelsCount(children){var panelCount=0;return childrenDeepMap_deepForEach(children,function(child){elementTypes_isTabPanel(child)&&panelCount++}),panelCount}function UncontrolledTabs_extends(){return UncontrolledTabs_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},UncontrolledTabs_extends.apply(this,arguments)}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},sourceKeys=Object.keys(source),key,i;for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],!(excluded.indexOf(key)>=0)&&(target[key]=source[key]);return target}function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype),subClass.prototype.constructor=subClass,_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){return _setPrototypeOf=Object.setPrototypeOf||function(o2,p2){return o2.__proto__=p2,o2},_setPrototypeOf(o,p)}function isNode(node){return node&&"getAttribute"in node}function isTabNode(node){return isNode(node)&&node.getAttribute("role")==="tab"}function isTabDisabled(node){return isNode(node)&&node.getAttribute("aria-disabled")==="true"}var canUseActiveElement;function determineCanUseActiveElement(environment){var env=environment||(typeof window<"u"?window:void 0);try{canUseActiveElement=!!(typeof env<"u"&&env.document&&env.document.activeElement)}catch{canUseActiveElement=!1}}var UncontrolledTabs=function(_Component){_inheritsLoose(UncontrolledTabs2,_Component);function UncontrolledTabs2(){for(var _this,_len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _this=_Component.call.apply(_Component,[this].concat(args))||this,_this.tabNodes=[],_this.handleKeyDown=function(e){var _this$props=_this.props,direction=_this$props.direction,disableUpDownKeys=_this$props.disableUpDownKeys;if(_this.isTabFromContainer(e.target)){var index=_this.props.selectedIndex,preventDefault=!1,useSelectedIndex=!1;(e.keyCode===32||e.keyCode===13)&&(preventDefault=!0,useSelectedIndex=!1,_this.handleClick(e)),e.keyCode===37||!disableUpDownKeys&&e.keyCode===38?(direction==="rtl"?index=_this.getNextTab(index):index=_this.getPrevTab(index),preventDefault=!0,useSelectedIndex=!0):e.keyCode===39||!disableUpDownKeys&&e.keyCode===40?(direction==="rtl"?index=_this.getPrevTab(index):index=_this.getNextTab(index),preventDefault=!0,useSelectedIndex=!0):e.keyCode===35?(index=_this.getLastTab(),preventDefault=!0,useSelectedIndex=!0):e.keyCode===36&&(index=_this.getFirstTab(),preventDefault=!0,useSelectedIndex=!0),preventDefault&&e.preventDefault(),useSelectedIndex&&_this.setSelected(index,e)}},_this.handleClick=function(e){var node=e.target;do if(_this.isTabFromContainer(node)){if(isTabDisabled(node))return;var index=[].slice.call(node.parentNode.children).filter(isTabNode).indexOf(node);_this.setSelected(index,e);return}while((node=node.parentNode)!=null)},_this}var _proto=UncontrolledTabs2.prototype;return _proto.setSelected=function(index,event){if(!(index<0||index>=this.getTabsCount())){var _this$props2=this.props,onSelect=_this$props2.onSelect,selectedIndex=_this$props2.selectedIndex;onSelect(index,selectedIndex,event)}},_proto.getNextTab=function(index){for(var count2=this.getTabsCount(),i=index+1;i<count2;i++)if(!isTabDisabled(this.getTab(i)))return i;for(var _i=0;_i<index;_i++)if(!isTabDisabled(this.getTab(_i)))return _i;return index},_proto.getPrevTab=function(index){for(var i=index;i--;)if(!isTabDisabled(this.getTab(i)))return i;for(i=this.getTabsCount();i-- >index;)if(!isTabDisabled(this.getTab(i)))return i;return index},_proto.getFirstTab=function(){for(var count2=this.getTabsCount(),i=0;i<count2;i++)if(!isTabDisabled(this.getTab(i)))return i;return null},_proto.getLastTab=function(){for(var i=this.getTabsCount();i--;)if(!isTabDisabled(this.getTab(i)))return i;return null},_proto.getTabsCount=function(){var children=this.props.children;return count_getTabsCount(children)},_proto.getPanelsCount=function(){var children=this.props.children;return count_getPanelsCount(children)},_proto.getTab=function(index){return this.tabNodes["tabs-"+index]},_proto.getChildren=function(){var _this2=this,index=0,_this$props3=this.props,children=_this$props3.children,disabledTabClassName=_this$props3.disabledTabClassName,focus=_this$props3.focus,forceRenderTabPanel=_this$props3.forceRenderTabPanel,selectedIndex=_this$props3.selectedIndex,selectedTabClassName=_this$props3.selectedTabClassName,selectedTabPanelClassName=_this$props3.selectedTabPanelClassName,environment=_this$props3.environment;this.tabIds=this.tabIds||[],this.panelIds=this.panelIds||[];for(var diff=this.tabIds.length-this.getTabsCount();diff++<0;)this.tabIds.push(uuid()),this.panelIds.push(uuid());return deepMap(children,function(child){var result=child;if(elementTypes_isTabList(child)){var listIndex=0,wasTabFocused=!1;canUseActiveElement==null&&determineCanUseActiveElement(environment),canUseActiveElement&&(wasTabFocused=react.Children.toArray(child.props.children).filter(elementTypes_isTab).some(function(tab,i){var env=environment||(typeof window<"u"?window:void 0);return env&&env.document.activeElement===_this2.getTab(i)})),result=(0,react.cloneElement)(child,{children:deepMap(child.props.children,function(tab){var key="tabs-"+listIndex,selected=selectedIndex===listIndex,props2={tabRef:function(node){_this2.tabNodes[key]=node},id:_this2.tabIds[listIndex],panelId:_this2.panelIds[listIndex],selected,focus:selected&&(focus||wasTabFocused)};return selectedTabClassName&&(props2.selectedClassName=selectedTabClassName),disabledTabClassName&&(props2.disabledClassName=disabledTabClassName),listIndex++,(0,react.cloneElement)(tab,props2)})})}else if(elementTypes_isTabPanel(child)){var props={id:_this2.panelIds[index],tabId:_this2.tabIds[index],selected:selectedIndex===index};forceRenderTabPanel&&(props.forceRender=forceRenderTabPanel),selectedTabPanelClassName&&(props.selectedClassName=selectedTabPanelClassName),index++,result=(0,react.cloneElement)(child,props)}return result})},_proto.isTabFromContainer=function(node){if(!isTabNode(node))return!1;var nodeAncestor=node.parentElement;do{if(nodeAncestor===this.node)return!0;if(nodeAncestor.getAttribute("data-tabs"))break;nodeAncestor=nodeAncestor.parentElement}while(nodeAncestor);return!1},_proto.render=function(){var _this3=this,_this$props4=this.props,children=_this$props4.children,className=_this$props4.className,disabledTabClassName=_this$props4.disabledTabClassName,domRef=_this$props4.domRef,focus=_this$props4.focus,forceRenderTabPanel=_this$props4.forceRenderTabPanel,onSelect=_this$props4.onSelect,selectedIndex=_this$props4.selectedIndex,selectedTabClassName=_this$props4.selectedTabClassName,selectedTabPanelClassName=_this$props4.selectedTabPanelClassName,environment=_this$props4.environment,disableUpDownKeys=_this$props4.disableUpDownKeys,attributes=_objectWithoutPropertiesLoose(_this$props4,["children","className","disabledTabClassName","domRef","focus","forceRenderTabPanel","onSelect","selectedIndex","selectedTabClassName","selectedTabPanelClassName","environment","disableUpDownKeys"]);return react.createElement("div",UncontrolledTabs_extends({},attributes,{className:clsx_m(className),onClick:this.handleClick,onKeyDown:this.handleKeyDown,ref:function(node){_this3.node=node,domRef&&domRef(node)},"data-tabs":!0}),this.getChildren())},UncontrolledTabs2}(react.Component);UncontrolledTabs.defaultProps={className:"react-tabs",focus:!1},UncontrolledTabs.propTypes={};function Tabs_objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},sourceKeys=Object.keys(source),key,i;for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],!(excluded.indexOf(key)>=0)&&(target[key]=source[key]);return target}function Tabs_inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype),subClass.prototype.constructor=subClass,Tabs_setPrototypeOf(subClass,superClass)}function Tabs_setPrototypeOf(o,p){return Tabs_setPrototypeOf=Object.setPrototypeOf||function(o2,p2){return o2.__proto__=p2,o2},Tabs_setPrototypeOf(o,p)}var MODE_CONTROLLED=0,MODE_UNCONTROLLED=1,Tabs=function(_Component){Tabs_inheritsLoose(Tabs2,_Component);function Tabs2(props){var _this;return _this=_Component.call(this,props)||this,_this.handleSelected=function(index,last,event){var onSelect=_this.props.onSelect,mode=_this.state.mode;if(!(typeof onSelect=="function"&&onSelect(index,last,event)===!1)){var state={focus:event.type==="keydown"};mode===MODE_UNCONTROLLED&&(state.selectedIndex=index),_this.setState(state)}},_this.state=Tabs2.copyPropsToState(_this.props,{},props.defaultFocus),_this}Tabs2.getDerivedStateFromProps=function(props,state){return Tabs2.copyPropsToState(props,state)},Tabs2.getModeFromProps=function(props){return props.selectedIndex===null?MODE_UNCONTROLLED:MODE_CONTROLLED},Tabs2.copyPropsToState=function(props,state,focus){focus===void 0&&(focus=!1);var newState={focus,mode:Tabs2.getModeFromProps(props)};if(newState.mode===MODE_UNCONTROLLED){var maxTabIndex=count_getTabsCount(props.children)-1,selectedIndex=null;state.selectedIndex!=null?selectedIndex=Math.min(state.selectedIndex,maxTabIndex):selectedIndex=props.defaultIndex||0,newState.selectedIndex=selectedIndex}return newState};var _proto=Tabs2.prototype;return _proto.render=function(){var _this$props=this.props,children=_this$props.children,defaultIndex=_this$props.defaultIndex,defaultFocus=_this$props.defaultFocus,props=Tabs_objectWithoutPropertiesLoose(_this$props,["children","defaultIndex","defaultFocus"]),_this$state=this.state,focus=_this$state.focus,selectedIndex=_this$state.selectedIndex;return props.focus=focus,props.onSelect=this.handleSelected,selectedIndex!=null&&(props.selectedIndex=selectedIndex),react.createElement(UncontrolledTabs,props,children)},Tabs2}(react.Component);Tabs.defaultProps={defaultFocus:!1,forceRenderTabPanel:!1,selectedIndex:null,defaultIndex:null,environment:null,disableUpDownKeys:!1},Tabs.propTypes={},Tabs.tabsRole="Tabs";function TabList_extends(){return TabList_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},TabList_extends.apply(this,arguments)}function TabList_objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},sourceKeys=Object.keys(source),key,i;for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],!(excluded.indexOf(key)>=0)&&(target[key]=source[key]);return target}function TabList_inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype),subClass.prototype.constructor=subClass,TabList_setPrototypeOf(subClass,superClass)}function TabList_setPrototypeOf(o,p){return TabList_setPrototypeOf=Object.setPrototypeOf||function(o2,p2){return o2.__proto__=p2,o2},TabList_setPrototypeOf(o,p)}var TabList=function(_Component){TabList_inheritsLoose(TabList2,_Component);function TabList2(){return _Component.apply(this,arguments)||this}var _proto=TabList2.prototype;return _proto.render=function(){var _this$props=this.props,children=_this$props.children,className=_this$props.className,attributes=TabList_objectWithoutPropertiesLoose(_this$props,["children","className"]);return react.createElement("ul",TabList_extends({},attributes,{className:clsx_m(className),role:"tablist"}),children)},TabList2}(react.Component);TabList.defaultProps={className:"react-tabs__tab-list"},TabList.propTypes={},TabList.tabsRole="TabList";function Tab_extends(){return Tab_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},Tab_extends.apply(this,arguments)}function Tab_objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},sourceKeys=Object.keys(source),key,i;for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],!(excluded.indexOf(key)>=0)&&(target[key]=source[key]);return target}function Tab_inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype),subClass.prototype.constructor=subClass,Tab_setPrototypeOf(subClass,superClass)}function Tab_setPrototypeOf(o,p){return Tab_setPrototypeOf=Object.setPrototypeOf||function(o2,p2){return o2.__proto__=p2,o2},Tab_setPrototypeOf(o,p)}var DEFAULT_CLASS="react-tabs__tab",Tab=function(_Component){Tab_inheritsLoose(Tab2,_Component);function Tab2(){return _Component.apply(this,arguments)||this}var _proto=Tab2.prototype;return _proto.componentDidMount=function(){this.checkFocus()},_proto.componentDidUpdate=function(){this.checkFocus()},_proto.checkFocus=function(){var _this$props=this.props,selected=_this$props.selected,focus=_this$props.focus;selected&&focus&&this.node.focus()},_proto.render=function(){var _cx,_this=this,_this$props2=this.props,children=_this$props2.children,className=_this$props2.className,disabled=_this$props2.disabled,disabledClassName=_this$props2.disabledClassName,focus=_this$props2.focus,id=_this$props2.id,panelId=_this$props2.panelId,selected=_this$props2.selected,selectedClassName=_this$props2.selectedClassName,tabIndex=_this$props2.tabIndex,tabRef=_this$props2.tabRef,attributes=Tab_objectWithoutPropertiesLoose(_this$props2,["children","className","disabled","disabledClassName","focus","id","panelId","selected","selectedClassName","tabIndex","tabRef"]);return react.createElement("li",Tab_extends({},attributes,{className:clsx_m(className,(_cx={},_cx[selectedClassName]=selected,_cx[disabledClassName]=disabled,_cx)),ref:function(node){_this.node=node,tabRef&&tabRef(node)},role:"tab",id,"aria-selected":selected?"true":"false","aria-disabled":disabled?"true":"false","aria-controls":panelId,tabIndex:tabIndex||(selected?"0":null)}),children)},Tab2}(react.Component);Tab.defaultProps={className:DEFAULT_CLASS,disabledClassName:DEFAULT_CLASS+"--disabled",focus:!1,id:null,panelId:null,selected:!1,selectedClassName:DEFAULT_CLASS+"--selected"},Tab.propTypes={},Tab.tabsRole="Tab";function TabPanel_extends(){return TabPanel_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},TabPanel_extends.apply(this,arguments)}function TabPanel_objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},sourceKeys=Object.keys(source),key,i;for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],!(excluded.indexOf(key)>=0)&&(target[key]=source[key]);return target}function TabPanel_inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype),subClass.prototype.constructor=subClass,TabPanel_setPrototypeOf(subClass,superClass)}function TabPanel_setPrototypeOf(o,p){return TabPanel_setPrototypeOf=Object.setPrototypeOf||function(o2,p2){return o2.__proto__=p2,o2},TabPanel_setPrototypeOf(o,p)}var TabPanel_DEFAULT_CLASS="react-tabs__tab-panel",TabPanel=function(_Component){TabPanel_inheritsLoose(TabPanel2,_Component);function TabPanel2(){return _Component.apply(this,arguments)||this}var _proto=TabPanel2.prototype;return _proto.render=function(){var _cx,_this$props=this.props,children=_this$props.children,className=_this$props.className,forceRender=_this$props.forceRender,id=_this$props.id,selected=_this$props.selected,selectedClassName=_this$props.selectedClassName,tabId=_this$props.tabId,attributes=TabPanel_objectWithoutPropertiesLoose(_this$props,["children","className","forceRender","id","selected","selectedClassName","tabId"]);return react.createElement("div",TabPanel_extends({},attributes,{className:clsx_m(className,(_cx={},_cx[selectedClassName]=selected,_cx)),role:"tabpanel",id,"aria-labelledby":tabId}),forceRender||selected?children:null)},TabPanel2}(react.Component);TabPanel.defaultProps={className:TabPanel_DEFAULT_CLASS,forceRender:!1,selectedClassName:TabPanel_DEFAULT_CLASS+"--selected"},TabPanel.propTypes={},TabPanel.tabsRole="TabPanel"},32715:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(59496);function getDimensionObject(node){var rect=node.getBoundingClientRect();return{width:rect.width,height:rect.height,top:"x"in rect?rect.x:rect.top,left:"y"in rect?rect.y:rect.left,x:"x"in rect?rect.x:rect.left,y:"y"in rect?rect.y:rect.top,right:rect.right,bottom:rect.bottom}}function useDimensions(){var _ref=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},_ref$liveMeasure=_ref.liveMeasure,liveMeasure=_ref$liveMeasure===void 0?!0:_ref$liveMeasure,_useState=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)({}),dimensions=_useState[0],setDimensions=_useState[1],_useState2=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(null),node=_useState2[0],setNode=_useState2[1],ref=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function(node2){setNode(node2)},[]);return(0,react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect)(function(){if(node){var measure=function(){return window.requestAnimationFrame(function(){return setDimensions(getDimensionObject(node))})};if(measure(),liveMeasure)return window.addEventListener("resize",measure),window.addEventListener("scroll",measure),function(){window.removeEventListener("resize",measure),window.removeEventListener("scroll",measure)}}},[node]),[ref,dimensions,node]}const __WEBPACK_DEFAULT_EXPORT__=useDimensions},60981:module=>{"use strict";function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype),subClass.prototype.constructor=subClass,subClass.__proto__=superClass}var codes={};function createErrorType(code,message,Base){Base||(Base=Error);function getMessage(arg1,arg2,arg3){return typeof message=="string"?message:message(arg1,arg2,arg3)}var NodeError=function(_Base){_inheritsLoose(NodeError2,_Base);function NodeError2(arg1,arg2,arg3){return _Base.call(this,getMessage(arg1,arg2,arg3))||this}return NodeError2}(Base);NodeError.prototype.name=Base.name,NodeError.prototype.code=code,codes[code]=NodeError}function oneOf(expected,thing){if(Array.isArray(expected)){var len=expected.length;return expected=expected.map(function(i){return String(i)}),len>2?"one of ".concat(thing," ").concat(expected.slice(0,len-1).join(", "),", or ")+expected[len-1]:len===2?"one of ".concat(thing," ").concat(expected[0]," or ").concat(expected[1]):"of ".concat(thing," ").concat(expected[0])}else return"of ".concat(thing," ").concat(String(expected))}function startsWith(str,search,pos){return str.substr(!pos||pos<0?0:+pos,search.length)===search}function endsWith(str,search,this_len){return(this_len===void 0||this_len>str.length)&&(this_len=str.length),str.substring(this_len-search.length,this_len)===search}function includes(str,search,start){return typeof start!="number"&&(start=0),start+search.length>str.length?!1:str.indexOf(search,start)!==-1}createErrorType("ERR_INVALID_OPT_VALUE",function(name,value){return'The value "'+value+'" is invalid for option "'+name+'"'},TypeError),createErrorType("ERR_INVALID_ARG_TYPE",function(name,expected,actual){var determiner;typeof expected=="string"&&startsWith(expected,"not ")?(determiner="must not be",expected=expected.replace(/^not /,"")):determiner="must be";var msg;if(endsWith(name," argument"))msg="The ".concat(name," ").concat(determiner," ").concat(oneOf(expected,"type"));else{var type=includes(name,".")?"property":"argument";msg='The "'.concat(name,'" ').concat(type," ").concat(determiner," ").concat(oneOf(expected,"type"))}return msg+=". Received type ".concat(typeof actual),msg},TypeError),createErrorType("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),createErrorType("ERR_METHOD_NOT_IMPLEMENTED",function(name){return"The "+name+" method is not implemented"}),createErrorType("ERR_STREAM_PREMATURE_CLOSE","Premature close"),createErrorType("ERR_STREAM_DESTROYED",function(name){return"Cannot call "+name+" after a stream was destroyed"}),createErrorType("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),createErrorType("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end"),createErrorType("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),createErrorType("ERR_UNKNOWN_ENCODING",function(arg){return"Unknown encoding: "+arg},TypeError),createErrorType("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),module.exports.q=codes},93337:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var process=__webpack_require__(14224),objectKeys=Object.keys||function(obj){var keys2=[];for(var key in obj)keys2.push(key);return keys2};module.exports=Duplex;var Readable=__webpack_require__(25294),Writable=__webpack_require__(86481);__webpack_require__(2937)(Duplex,Readable);for(var keys=objectKeys(Writable.prototype),v=0;v<keys.length;v++){var method=keys[v];Duplex.prototype[method]||(Duplex.prototype[method]=Writable.prototype[method])}function Duplex(options){if(!(this instanceof Duplex))return new Duplex(options);Readable.call(this,options),Writable.call(this,options),this.allowHalfOpen=!0,options&&(options.readable===!1&&(this.readable=!1),options.writable===!1&&(this.writable=!1),options.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",onend)))}Object.defineProperty(Duplex.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(Duplex.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(Duplex.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function onend(){this._writableState.ended||process.nextTick(onEndNT,this)}function onEndNT(self2){self2.end()}Object.defineProperty(Duplex.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(value){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=value,this._writableState.destroyed=value)}})},68797:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=PassThrough;var Transform=__webpack_require__(41683);__webpack_require__(2937)(PassThrough,Transform);function PassThrough(options){if(!(this instanceof PassThrough))return new PassThrough(options);Transform.call(this,options)}PassThrough.prototype._transform=function(chunk,encoding,cb){cb(null,chunk)}},25294:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var process=__webpack_require__(14224);module.exports=Readable;var Duplex;Readable.ReadableState=ReadableState;var EE=__webpack_require__(27379).EventEmitter,EElistenerCount=function(emitter,type){return emitter.listeners(type).length},Stream=__webpack_require__(26922),Buffer=__webpack_require__(55872).Buffer,OurUint8Array=(typeof __webpack_require__.g<"u"?__webpack_require__.g:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(chunk){return Buffer.from(chunk)}function _isUint8Array(obj){return Buffer.isBuffer(obj)||obj instanceof OurUint8Array}var debugUtil=__webpack_require__(82880),debug;debugUtil&&debugUtil.debuglog?debug=debugUtil.debuglog("stream"):debug=function(){};var BufferList=__webpack_require__(96292),destroyImpl=__webpack_require__(87484),_require=__webpack_require__(16084),getHighWaterMark=_require.getHighWaterMark,_require$codes=__webpack_require__(60981).q,ERR_INVALID_ARG_TYPE=_require$codes.ERR_INVALID_ARG_TYPE,ERR_STREAM_PUSH_AFTER_EOF=_require$codes.ERR_STREAM_PUSH_AFTER_EOF,ERR_METHOD_NOT_IMPLEMENTED=_require$codes.ERR_METHOD_NOT_IMPLEMENTED,ERR_STREAM_UNSHIFT_AFTER_END_EVENT=_require$codes.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,StringDecoder,createReadableStreamAsyncIterator,from;__webpack_require__(2937)(Readable,Stream);var errorOrDestroy=destroyImpl.errorOrDestroy,kProxyEvents=["error","close","destroy","pause","resume"];function prependListener(emitter,event,fn){if(typeof emitter.prependListener=="function")return emitter.prependListener(event,fn);!emitter._events||!emitter._events[event]?emitter.on(event,fn):Array.isArray(emitter._events[event])?emitter._events[event].unshift(fn):emitter._events[event]=[fn,emitter._events[event]]}function ReadableState(options,stream,isDuplex){Duplex=Duplex||__webpack_require__(93337),options=options||{},typeof isDuplex!="boolean"&&(isDuplex=stream instanceof Duplex),this.objectMode=!!options.objectMode,isDuplex&&(this.objectMode=this.objectMode||!!options.readableObjectMode),this.highWaterMark=getHighWaterMark(this,options,"readableHighWaterMark",isDuplex),this.buffer=new BufferList,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=options.emitClose!==!1,this.autoDestroy=!!options.autoDestroy,this.destroyed=!1,this.defaultEncoding=options.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,options.encoding&&(StringDecoder||(StringDecoder=__webpack_require__(72699).s),this.decoder=new StringDecoder(options.encoding),this.encoding=options.encoding)}function Readable(options){if(Duplex=Duplex||__webpack_require__(93337),!(this instanceof Readable))return new Readable(options);var isDuplex=this instanceof Duplex;this._readableState=new ReadableState(options,this,isDuplex),this.readable=!0,options&&(typeof options.read=="function"&&(this._read=options.read),typeof options.destroy=="function"&&(this._destroy=options.destroy)),Stream.call(this)}Object.defineProperty(Readable.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(value){!this._readableState||(this._readableState.destroyed=value)}}),Readable.prototype.destroy=destroyImpl.destroy,Readable.prototype._undestroy=destroyImpl.undestroy,Readable.prototype._destroy=function(err,cb){cb(err)},Readable.prototype.push=function(chunk,encoding){var state=this._readableState,skipChunkCheck;return state.objectMode?skipChunkCheck=!0:typeof chunk=="string"&&(encoding=encoding||state.defaultEncoding,encoding!==state.encoding&&(chunk=Buffer.from(chunk,encoding),encoding=""),skipChunkCheck=!0),readableAddChunk(this,chunk,encoding,!1,skipChunkCheck)},Readable.prototype.unshift=function(chunk){return readableAddChunk(this,chunk,null,!0,!1)};function readableAddChunk(stream,chunk,encoding,addToFront,skipChunkCheck){debug("readableAddChunk",chunk);var state=stream._readableState;if(chunk===null)state.reading=!1,onEofChunk(stream,state);else{var er;if(skipChunkCheck||(er=chunkInvalid(state,chunk)),er)errorOrDestroy(stream,er);else if(state.objectMode||chunk&&chunk.length>0)if(typeof chunk!="string"&&!state.objectMode&&Object.getPrototypeOf(chunk)!==Buffer.prototype&&(chunk=_uint8ArrayToBuffer(chunk)),addToFront)state.endEmitted?errorOrDestroy(stream,new ERR_STREAM_UNSHIFT_AFTER_END_EVENT):addChunk(stream,state,chunk,!0);else if(state.ended)errorOrDestroy(stream,new ERR_STREAM_PUSH_AFTER_EOF);else{if(state.destroyed)return!1;state.reading=!1,state.decoder&&!encoding?(chunk=state.decoder.write(chunk),state.objectMode||chunk.length!==0?addChunk(stream,state,chunk,!1):maybeReadMore(stream,state)):addChunk(stream,state,chunk,!1)}else addToFront||(state.reading=!1,maybeReadMore(stream,state))}return!state.ended&&(state.length<state.highWaterMark||state.length===0)}function addChunk(stream,state,chunk,addToFront){state.flowing&&state.length===0&&!state.sync?(state.awaitDrain=0,stream.emit("data",chunk)):(state.length+=state.objectMode?1:chunk.length,addToFront?state.buffer.unshift(chunk):state.buffer.push(chunk),state.needReadable&&emitReadable(stream)),maybeReadMore(stream,state)}function chunkInvalid(state,chunk){var er;return!_isUint8Array(chunk)&&typeof chunk!="string"&&chunk!==void 0&&!state.objectMode&&(er=new ERR_INVALID_ARG_TYPE("chunk",["string","Buffer","Uint8Array"],chunk)),er}Readable.prototype.isPaused=function(){return this._readableState.flowing===!1},Readable.prototype.setEncoding=function(enc){StringDecoder||(StringDecoder=__webpack_require__(72699).s);var decoder=new StringDecoder(enc);this._readableState.decoder=decoder,this._readableState.encoding=this._readableState.decoder.encoding;for(var p=this._readableState.buffer.head,content="";p!==null;)content+=decoder.write(p.data),p=p.next;return this._readableState.buffer.clear(),content!==""&&this._readableState.buffer.push(content),this._readableState.length=content.length,this};var MAX_HWM=1073741824;function computeNewHighWaterMark(n){return n>=MAX_HWM?n=MAX_HWM:(n--,n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n++),n}function howMuchToRead(n,state){return n<=0||state.length===0&&state.ended?0:state.objectMode?1:n!==n?state.flowing&&state.length?state.buffer.head.data.length:state.length:(n>state.highWaterMark&&(state.highWaterMark=computeNewHighWaterMark(n)),n<=state.length?n:state.ended?state.length:(state.needReadable=!0,0))}Readable.prototype.read=function(n){debug("read",n),n=parseInt(n,10);var state=this._readableState,nOrig=n;if(n!==0&&(state.emittedReadable=!1),n===0&&state.needReadable&&((state.highWaterMark!==0?state.length>=state.highWaterMark:state.length>0)||state.ended))return debug("read: emitReadable",state.length,state.ended),state.length===0&&state.ended?endReadable(this):emitReadable(this),null;if(n=howMuchToRead(n,state),n===0&&state.ended)return state.length===0&&endReadable(this),null;var doRead=state.needReadable;debug("need readable",doRead),(state.length===0||state.length-n<state.highWaterMark)&&(doRead=!0,debug("length less than watermark",doRead)),state.ended||state.reading?(doRead=!1,debug("reading or ended",doRead)):doRead&&(debug("do read"),state.reading=!0,state.sync=!0,state.length===0&&(state.needReadable=!0),this._read(state.highWaterMark),state.sync=!1,state.reading||(n=howMuchToRead(nOrig,state)));var ret;return n>0?ret=fromList(n,state):ret=null,ret===null?(state.needReadable=state.length<=state.highWaterMark,n=0):(state.length-=n,state.awaitDrain=0),state.length===0&&(state.ended||(state.needReadable=!0),nOrig!==n&&state.ended&&endReadable(this)),ret!==null&&this.emit("data",ret),ret};function onEofChunk(stream,state){if(debug("onEofChunk"),!state.ended){if(state.decoder){var chunk=state.decoder.end();chunk&&chunk.length&&(state.buffer.push(chunk),state.length+=state.objectMode?1:chunk.length)}state.ended=!0,state.sync?emitReadable(stream):(state.needReadable=!1,state.emittedReadable||(state.emittedReadable=!0,emitReadable_(stream)))}}function emitReadable(stream){var state=stream._readableState;debug("emitReadable",state.needReadable,state.emittedReadable),state.needReadable=!1,state.emittedReadable||(debug("emitReadable",state.flowing),state.emittedReadable=!0,process.nextTick(emitReadable_,stream))}function emitReadable_(stream){var state=stream._readableState;debug("emitReadable_",state.destroyed,state.length,state.ended),!state.destroyed&&(state.length||state.ended)&&(stream.emit("readable"),state.emittedReadable=!1),state.needReadable=!state.flowing&&!state.ended&&state.length<=state.highWaterMark,flow(stream)}function maybeReadMore(stream,state){state.readingMore||(state.readingMore=!0,process.nextTick(maybeReadMore_,stream,state))}function maybeReadMore_(stream,state){for(;!state.reading&&!state.ended&&(state.length<state.highWaterMark||state.flowing&&state.length===0);){var len=state.length;if(debug("maybeReadMore read 0"),stream.read(0),len===state.length)break}state.readingMore=!1}Readable.prototype._read=function(n){errorOrDestroy(this,new ERR_METHOD_NOT_IMPLEMENTED("_read()"))},Readable.prototype.pipe=function(dest,pipeOpts){var src=this,state=this._readableState;switch(state.pipesCount){case 0:state.pipes=dest;break;case 1:state.pipes=[state.pipes,dest];break;default:state.pipes.push(dest);break}state.pipesCount+=1,debug("pipe count=%d opts=%j",state.pipesCount,pipeOpts);var doEnd=(!pipeOpts||pipeOpts.end!==!1)&&dest!==process.stdout&&dest!==process.stderr,endFn=doEnd?onend:unpipe;state.endEmitted?process.nextTick(endFn):src.once("end",endFn),dest.on("unpipe",onunpipe);function onunpipe(readable,unpipeInfo){debug("onunpipe"),readable===src&&unpipeInfo&&unpipeInfo.hasUnpiped===!1&&(unpipeInfo.hasUnpiped=!0,cleanup())}function onend(){debug("onend"),dest.end()}var ondrain=pipeOnDrain(src);dest.on("drain",ondrain);var cleanedUp=!1;function cleanup(){debug("cleanup"),dest.removeListener("close",onclose),dest.removeListener("finish",onfinish),dest.removeListener("drain",ondrain),dest.removeListener("error",onerror),dest.removeListener("unpipe",onunpipe),src.removeListener("end",onend),src.removeListener("end",unpipe),src.removeListener("data",ondata),cleanedUp=!0,state.awaitDrain&&(!dest._writableState||dest._writableState.needDrain)&&ondrain()}src.on("data",ondata);function ondata(chunk){debug("ondata");var ret=dest.write(chunk);debug("dest.write",ret),ret===!1&&((state.pipesCount===1&&state.pipes===dest||state.pipesCount>1&&indexOf(state.pipes,dest)!==-1)&&!cleanedUp&&(debug("false write response, pause",state.awaitDrain),state.awaitDrain++),src.pause())}function onerror(er){debug("onerror",er),unpipe(),dest.removeListener("error",onerror),EElistenerCount(dest,"error")===0&&errorOrDestroy(dest,er)}prependListener(dest,"error",onerror);function onclose(){dest.removeListener("finish",onfinish),unpipe()}dest.once("close",onclose);function onfinish(){debug("onfinish"),dest.removeListener("close",onclose),unpipe()}dest.once("finish",onfinish);function unpipe(){debug("unpipe"),src.unpipe(dest)}return dest.emit("pipe",src),state.flowing||(debug("pipe resume"),src.resume()),dest};function pipeOnDrain(src){return function(){var state=src._readableState;debug("pipeOnDrain",state.awaitDrain),state.awaitDrain&&state.awaitDrain--,state.awaitDrain===0&&EElistenerCount(src,"data")&&(state.flowing=!0,flow(src))}}Readable.prototype.unpipe=function(dest){var state=this._readableState,unpipeInfo={hasUnpiped:!1};if(state.pipesCount===0)return this;if(state.pipesCount===1)return dest&&dest!==state.pipes?this:(dest||(dest=state.pipes),state.pipes=null,state.pipesCount=0,state.flowing=!1,dest&&dest.emit("unpipe",this,unpipeInfo),this);if(!dest){var dests=state.pipes,len=state.pipesCount;state.pipes=null,state.pipesCount=0,state.flowing=!1;for(var i=0;i<len;i++)dests[i].emit("unpipe",this,{hasUnpiped:!1});return this}var index=indexOf(state.pipes,dest);return index===-1?this:(state.pipes.splice(index,1),state.pipesCount-=1,state.pipesCount===1&&(state.pipes=state.pipes[0]),dest.emit("unpipe",this,unpipeInfo),this)},Readable.prototype.on=function(ev,fn){var res=Stream.prototype.on.call(this,ev,fn),state=this._readableState;return ev==="data"?(state.readableListening=this.listenerCount("readable")>0,state.flowing!==!1&&this.resume()):ev==="readable"&&!state.endEmitted&&!state.readableListening&&(state.readableListening=state.needReadable=!0,state.flowing=!1,state.emittedReadable=!1,debug("on readable",state.length,state.reading),state.length?emitReadable(this):state.reading||process.nextTick(nReadingNextTick,this)),res},Readable.prototype.addListener=Readable.prototype.on,Readable.prototype.removeListener=function(ev,fn){var res=Stream.prototype.removeListener.call(this,ev,fn);return ev==="readable"&&process.nextTick(updateReadableListening,this),res},Readable.prototype.removeAllListeners=function(ev){var res=Stream.prototype.removeAllListeners.apply(this,arguments);return(ev==="readable"||ev===void 0)&&process.nextTick(updateReadableListening,this),res};function updateReadableListening(self2){var state=self2._readableState;state.readableListening=self2.listenerCount("readable")>0,state.resumeScheduled&&!state.paused?state.flowing=!0:self2.listenerCount("data")>0&&self2.resume()}function nReadingNextTick(self2){debug("readable nexttick read 0"),self2.read(0)}Readable.prototype.resume=function(){var state=this._readableState;return state.flowing||(debug("resume"),state.flowing=!state.readableListening,resume(this,state)),state.paused=!1,this};function resume(stream,state){state.resumeScheduled||(state.resumeScheduled=!0,process.nextTick(resume_,stream,state))}function resume_(stream,state){debug("resume",state.reading),state.reading||stream.read(0),state.resumeScheduled=!1,stream.emit("resume"),flow(stream),state.flowing&&!state.reading&&stream.read(0)}Readable.prototype.pause=function(){return debug("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(debug("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function flow(stream){var state=stream._readableState;for(debug("flow",state.flowing);state.flowing&&stream.read()!==null;);}Readable.prototype.wrap=function(stream){var _this=this,state=this._readableState,paused=!1;stream.on("end",function(){if(debug("wrapped end"),state.decoder&&!state.ended){var chunk=state.decoder.end();chunk&&chunk.length&&_this.push(chunk)}_this.push(null)}),stream.on("data",function(chunk){if(debug("wrapped data"),state.decoder&&(chunk=state.decoder.write(chunk)),!(state.objectMode&&chunk==null)&&!(!state.objectMode&&(!chunk||!chunk.length))){var ret=_this.push(chunk);ret||(paused=!0,stream.pause())}});for(var i in stream)this[i]===void 0&&typeof stream[i]=="function"&&(this[i]=function(method){return function(){return stream[method].apply(stream,arguments)}}(i));for(var n=0;n<kProxyEvents.length;n++)stream.on(kProxyEvents[n],this.emit.bind(this,kProxyEvents[n]));return this._read=function(n2){debug("wrapped _read",n2),paused&&(paused=!1,stream.resume())},this},typeof Symbol=="function"&&(Readable.prototype[Symbol.asyncIterator]=function(){return createReadableStreamAsyncIterator===void 0&&(createReadableStreamAsyncIterator=__webpack_require__(29954)),createReadableStreamAsyncIterator(this)}),Object.defineProperty(Readable.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(Readable.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(Readable.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(state){this._readableState&&(this._readableState.flowing=state)}}),Readable._fromList=fromList,Object.defineProperty(Readable.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function fromList(n,state){if(state.length===0)return null;var ret;return state.objectMode?ret=state.buffer.shift():!n||n>=state.length?(state.decoder?ret=state.buffer.join(""):state.buffer.length===1?ret=state.buffer.first():ret=state.buffer.concat(state.length),state.buffer.clear()):ret=state.buffer.consume(n,state.decoder),ret}function endReadable(stream){var state=stream._readableState;debug("endReadable",state.endEmitted),state.endEmitted||(state.ended=!0,process.nextTick(endReadableNT,state,stream))}function endReadableNT(state,stream){if(debug("endReadableNT",state.endEmitted,state.length),!state.endEmitted&&state.length===0&&(state.endEmitted=!0,stream.readable=!1,stream.emit("end"),state.autoDestroy)){var wState=stream._writableState;(!wState||wState.autoDestroy&&wState.finished)&&stream.destroy()}}typeof Symbol=="function"&&(Readable.from=function(iterable,opts){return from===void 0&&(from=__webpack_require__(82037)),from(Readable,iterable,opts)});function indexOf(xs,x){for(var i=0,l=xs.length;i<l;i++)if(xs[i]===x)return i;return-1}},41683:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=Transform;var _require$codes=__webpack_require__(60981).q,ERR_METHOD_NOT_IMPLEMENTED=_require$codes.ERR_METHOD_NOT_IMPLEMENTED,ERR_MULTIPLE_CALLBACK=_require$codes.ERR_MULTIPLE_CALLBACK,ERR_TRANSFORM_ALREADY_TRANSFORMING=_require$codes.ERR_TRANSFORM_ALREADY_TRANSFORMING,ERR_TRANSFORM_WITH_LENGTH_0=_require$codes.ERR_TRANSFORM_WITH_LENGTH_0,Duplex=__webpack_require__(93337);__webpack_require__(2937)(Transform,Duplex);function afterTransform(er,data){var ts=this._transformState;ts.transforming=!1;var cb=ts.writecb;if(cb===null)return this.emit("error",new ERR_MULTIPLE_CALLBACK);ts.writechunk=null,ts.writecb=null,data!=null&&this.push(data),cb(er);var rs=this._readableState;rs.reading=!1,(rs.needReadable||rs.length<rs.highWaterMark)&&this._read(rs.highWaterMark)}function Transform(options){if(!(this instanceof Transform))return new Transform(options);Duplex.call(this,options),this._transformState={afterTransform:afterTransform.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,options&&(typeof options.transform=="function"&&(this._transform=options.transform),typeof options.flush=="function"&&(this._flush=options.flush)),this.on("prefinish",prefinish)}function prefinish(){var _this=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(er,data){done(_this,er,data)}):done(this,null,null)}Transform.prototype.push=function(chunk,encoding){return this._transformState.needTransform=!1,Duplex.prototype.push.call(this,chunk,encoding)},Transform.prototype._transform=function(chunk,encoding,cb){cb(new ERR_METHOD_NOT_IMPLEMENTED("_transform()"))},Transform.prototype._write=function(chunk,encoding,cb){var ts=this._transformState;if(ts.writecb=cb,ts.writechunk=chunk,ts.writeencoding=encoding,!ts.transforming){var rs=this._readableState;(ts.needTransform||rs.needReadable||rs.length<rs.highWaterMark)&&this._read(rs.highWaterMark)}},Transform.prototype._read=function(n){var ts=this._transformState;ts.writechunk!==null&&!ts.transforming?(ts.transforming=!0,this._transform(ts.writechunk,ts.writeencoding,ts.afterTransform)):ts.needTransform=!0},Transform.prototype._destroy=function(err,cb){Duplex.prototype._destroy.call(this,err,function(err2){cb(err2)})};function done(stream,er,data){if(er)return stream.emit("error",er);if(data!=null&&stream.push(data),stream._writableState.length)throw new ERR_TRANSFORM_WITH_LENGTH_0;if(stream._transformState.transforming)throw new ERR_TRANSFORM_ALREADY_TRANSFORMING;return stream.push(null)}},86481:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var process=__webpack_require__(14224);module.exports=Writable;function WriteReq(chunk,encoding,cb){this.chunk=chunk,this.encoding=encoding,this.callback=cb,this.next=null}function CorkedRequest(state){var _this=this;this.next=null,this.entry=null,this.finish=function(){onCorkedFinish(_this,state)}}var Duplex;Writable.WritableState=WritableState;var internalUtil={deprecate:__webpack_require__(48863)},Stream=__webpack_require__(26922),Buffer=__webpack_require__(55872).Buffer,OurUint8Array=(typeof __webpack_require__.g<"u"?__webpack_require__.g:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(chunk){return Buffer.from(chunk)}function _isUint8Array(obj){return Buffer.isBuffer(obj)||obj instanceof OurUint8Array}var destroyImpl=__webpack_require__(87484),_require=__webpack_require__(16084),getHighWaterMark=_require.getHighWaterMark,_require$codes=__webpack_require__(60981).q,ERR_INVALID_ARG_TYPE=_require$codes.ERR_INVALID_ARG_TYPE,ERR_METHOD_NOT_IMPLEMENTED=_require$codes.ERR_METHOD_NOT_IMPLEMENTED,ERR_MULTIPLE_CALLBACK=_require$codes.ERR_MULTIPLE_CALLBACK,ERR_STREAM_CANNOT_PIPE=_require$codes.ERR_STREAM_CANNOT_PIPE,ERR_STREAM_DESTROYED=_require$codes.ERR_STREAM_DESTROYED,ERR_STREAM_NULL_VALUES=_require$codes.ERR_STREAM_NULL_VALUES,ERR_STREAM_WRITE_AFTER_END=_require$codes.ERR_STREAM_WRITE_AFTER_END,ERR_UNKNOWN_ENCODING=_require$codes.ERR_UNKNOWN_ENCODING,errorOrDestroy=destroyImpl.errorOrDestroy;__webpack_require__(2937)(Writable,Stream);function nop(){}function WritableState(options,stream,isDuplex){Duplex=Duplex||__webpack_require__(93337),options=options||{},typeof isDuplex!="boolean"&&(isDuplex=stream instanceof Duplex),this.objectMode=!!options.objectMode,isDuplex&&(this.objectMode=this.objectMode||!!options.writableObjectMode),this.highWaterMark=getHighWaterMark(this,options,"writableHighWaterMark",isDuplex),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var noDecode=options.decodeStrings===!1;this.decodeStrings=!noDecode,this.defaultEncoding=options.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(er){onwrite(stream,er)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=options.emitClose!==!1,this.autoDestroy=!!options.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new CorkedRequest(this)}WritableState.prototype.getBuffer=function(){for(var current=this.bufferedRequest,out=[];current;)out.push(current),current=current.next;return out},function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:internalUtil.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var realHasInstance;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(realHasInstance=Function.prototype[Symbol.hasInstance],Object.defineProperty(Writable,Symbol.hasInstance,{value:function(object){return realHasInstance.call(this,object)?!0:this!==Writable?!1:object&&object._writableState instanceof WritableState}})):realHasInstance=function(object){return object instanceof this};function Writable(options){Duplex=Duplex||__webpack_require__(93337);var isDuplex=this instanceof Duplex;if(!isDuplex&&!realHasInstance.call(Writable,this))return new Writable(options);this._writableState=new WritableState(options,this,isDuplex),this.writable=!0,options&&(typeof options.write=="function"&&(this._write=options.write),typeof options.writev=="function"&&(this._writev=options.writev),typeof options.destroy=="function"&&(this._destroy=options.destroy),typeof options.final=="function"&&(this._final=options.final)),Stream.call(this)}Writable.prototype.pipe=function(){errorOrDestroy(this,new ERR_STREAM_CANNOT_PIPE)};function writeAfterEnd(stream,cb){var er=new ERR_STREAM_WRITE_AFTER_END;errorOrDestroy(stream,er),process.nextTick(cb,er)}function validChunk(stream,state,chunk,cb){var er;return chunk===null?er=new ERR_STREAM_NULL_VALUES:typeof chunk!="string"&&!state.objectMode&&(er=new ERR_INVALID_ARG_TYPE("chunk",["string","Buffer"],chunk)),er?(errorOrDestroy(stream,er),process.nextTick(cb,er),!1):!0}Writable.prototype.write=function(chunk,encoding,cb){var state=this._writableState,ret=!1,isBuf=!state.objectMode&&_isUint8Array(chunk);return isBuf&&!Buffer.isBuffer(chunk)&&(chunk=_uint8ArrayToBuffer(chunk)),typeof encoding=="function"&&(cb=encoding,encoding=null),isBuf?encoding="buffer":encoding||(encoding=state.defaultEncoding),typeof cb!="function"&&(cb=nop),state.ending?writeAfterEnd(this,cb):(isBuf||validChunk(this,state,chunk,cb))&&(state.pendingcb++,ret=writeOrBuffer(this,state,isBuf,chunk,encoding,cb)),ret},Writable.prototype.cork=function(){this._writableState.corked++},Writable.prototype.uncork=function(){var state=this._writableState;state.corked&&(state.corked--,!state.writing&&!state.corked&&!state.bufferProcessing&&state.bufferedRequest&&clearBuffer(this,state))},Writable.prototype.setDefaultEncoding=function(encoding){if(typeof encoding=="string"&&(encoding=encoding.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((encoding+"").toLowerCase())>-1))throw new ERR_UNKNOWN_ENCODING(encoding);return this._writableState.defaultEncoding=encoding,this},Object.defineProperty(Writable.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function decodeChunk(state,chunk,encoding){return!state.objectMode&&state.decodeStrings!==!1&&typeof chunk=="string"&&(chunk=Buffer.from(chunk,encoding)),chunk}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function writeOrBuffer(stream,state,isBuf,chunk,encoding,cb){if(!isBuf){var newChunk=decodeChunk(state,chunk,encoding);chunk!==newChunk&&(isBuf=!0,encoding="buffer",chunk=newChunk)}var len=state.objectMode?1:chunk.length;state.length+=len;var ret=state.length<state.highWaterMark;if(ret||(state.needDrain=!0),state.writing||state.corked){var last=state.lastBufferedRequest;state.lastBufferedRequest={chunk,encoding,isBuf,callback:cb,next:null},last?last.next=state.lastBufferedRequest:state.bufferedRequest=state.lastBufferedRequest,state.bufferedRequestCount+=1}else doWrite(stream,state,!1,len,chunk,encoding,cb);return ret}function doWrite(stream,state,writev,len,chunk,encoding,cb){state.writelen=len,state.writecb=cb,state.writing=!0,state.sync=!0,state.destroyed?state.onwrite(new ERR_STREAM_DESTROYED("write")):writev?stream._writev(chunk,state.onwrite):stream._write(chunk,encoding,state.onwrite),state.sync=!1}function onwriteError(stream,state,sync,er,cb){--state.pendingcb,sync?(process.nextTick(cb,er),process.nextTick(finishMaybe,stream,state),stream._writableState.errorEmitted=!0,errorOrDestroy(stream,er)):(cb(er),stream._writableState.errorEmitted=!0,errorOrDestroy(stream,er),finishMaybe(stream,state))}function onwriteStateUpdate(state){state.writing=!1,state.writecb=null,state.length-=state.writelen,state.writelen=0}function onwrite(stream,er){var state=stream._writableState,sync=state.sync,cb=state.writecb;if(typeof cb!="function")throw new ERR_MULTIPLE_CALLBACK;if(onwriteStateUpdate(state),er)onwriteError(stream,state,sync,er,cb);else{var finished=needFinish(state)||stream.destroyed;!finished&&!state.corked&&!state.bufferProcessing&&state.bufferedRequest&&clearBuffer(stream,state),sync?process.nextTick(afterWrite,stream,state,finished,cb):afterWrite(stream,state,finished,cb)}}function afterWrite(stream,state,finished,cb){finished||onwriteDrain(stream,state),state.pendingcb--,cb(),finishMaybe(stream,state)}function onwriteDrain(stream,state){state.length===0&&state.needDrain&&(state.needDrain=!1,stream.emit("drain"))}function clearBuffer(stream,state){state.bufferProcessing=!0;var entry=state.bufferedRequest;if(stream._writev&&entry&&entry.next){var l=state.bufferedRequestCount,buffer=new Array(l),holder=state.corkedRequestsFree;holder.entry=entry;for(var count=0,allBuffers=!0;entry;)buffer[count]=entry,entry.isBuf||(allBuffers=!1),entry=entry.next,count+=1;buffer.allBuffers=allBuffers,doWrite(stream,state,!0,state.length,buffer,"",holder.finish),state.pendingcb++,state.lastBufferedRequest=null,holder.next?(state.corkedRequestsFree=holder.next,holder.next=null):state.corkedRequestsFree=new CorkedRequest(state),state.bufferedRequestCount=0}else{for(;entry;){var chunk=entry.chunk,encoding=entry.encoding,cb=entry.callback,len=state.objectMode?1:chunk.length;if(doWrite(stream,state,!1,len,chunk,encoding,cb),entry=entry.next,state.bufferedRequestCount--,state.writing)break}entry===null&&(state.lastBufferedRequest=null)}state.bufferedRequest=entry,state.bufferProcessing=!1}Writable.prototype._write=function(chunk,encoding,cb){cb(new ERR_METHOD_NOT_IMPLEMENTED("_write()"))},Writable.prototype._writev=null,Writable.prototype.end=function(chunk,encoding,cb){var state=this._writableState;return typeof chunk=="function"?(cb=chunk,chunk=null,encoding=null):typeof encoding=="function"&&(cb=encoding,encoding=null),chunk!=null&&this.write(chunk,encoding),state.corked&&(state.corked=1,this.uncork()),state.ending||endWritable(this,state,cb),this},Object.defineProperty(Writable.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function needFinish(state){return state.ending&&state.length===0&&state.bufferedRequest===null&&!state.finished&&!state.writing}function callFinal(stream,state){stream._final(function(err){state.pendingcb--,err&&errorOrDestroy(stream,err),state.prefinished=!0,stream.emit("prefinish"),finishMaybe(stream,state)})}function prefinish(stream,state){!state.prefinished&&!state.finalCalled&&(typeof stream._final=="function"&&!state.destroyed?(state.pendingcb++,state.finalCalled=!0,process.nextTick(callFinal,stream,state)):(state.prefinished=!0,stream.emit("prefinish")))}function finishMaybe(stream,state){var need=needFinish(state);if(need&&(prefinish(stream,state),state.pendingcb===0&&(state.finished=!0,stream.emit("finish"),state.autoDestroy))){var rState=stream._readableState;(!rState||rState.autoDestroy&&rState.endEmitted)&&stream.destroy()}return need}function endWritable(stream,state,cb){state.ending=!0,finishMaybe(stream,state),cb&&(state.finished?process.nextTick(cb):stream.once("finish",cb)),state.ended=!0,stream.writable=!1}function onCorkedFinish(corkReq,state,err){var entry=corkReq.entry;for(corkReq.entry=null;entry;){var cb=entry.callback;state.pendingcb--,cb(err),entry=entry.next}state.corkedRequestsFree.next=corkReq}Object.defineProperty(Writable.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(value){!this._writableState||(this._writableState.destroyed=value)}}),Writable.prototype.destroy=destroyImpl.destroy,Writable.prototype._undestroy=destroyImpl.undestroy,Writable.prototype._destroy=function(err,cb){cb(err)}},29954:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var process=__webpack_require__(14224),_Object$setPrototypeO;function _defineProperty(obj,key,value){return key=_toPropertyKey(key),key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _toPropertyKey(arg){var key=_toPrimitive(arg,"string");return typeof key=="symbol"?key:String(key)}function _toPrimitive(input,hint){if(typeof input!="object"||input===null)return input;var prim=input[Symbol.toPrimitive];if(prim!==void 0){var res=prim.call(input,hint||"default");if(typeof res!="object")return res;throw new TypeError("@@toPrimitive must return a primitive value.")}return(hint==="string"?String:Number)(input)}var finished=__webpack_require__(43675),kLastResolve=Symbol("lastResolve"),kLastReject=Symbol("lastReject"),kError=Symbol("error"),kEnded=Symbol("ended"),kLastPromise=Symbol("lastPromise"),kHandlePromise=Symbol("handlePromise"),kStream=Symbol("stream");function createIterResult(value,done){return{value,done}}function readAndResolve(iter){var resolve=iter[kLastResolve];if(resolve!==null){var data=iter[kStream].read();data!==null&&(iter[kLastPromise]=null,iter[kLastResolve]=null,iter[kLastReject]=null,resolve(createIterResult(data,!1)))}}function onReadable(iter){process.nextTick(readAndResolve,iter)}function wrapForNext(lastPromise,iter){return function(resolve,reject){lastPromise.then(function(){if(iter[kEnded]){resolve(createIterResult(void 0,!0));return}iter[kHandlePromise](resolve,reject)},reject)}}var AsyncIteratorPrototype=Object.getPrototypeOf(function(){}),ReadableStreamAsyncIteratorPrototype=Object.setPrototypeOf((_Object$setPrototypeO={get stream(){return this[kStream]},next:function(){var _this=this,error=this[kError];if(error!==null)return Promise.reject(error);if(this[kEnded])return Promise.resolve(createIterResult(void 0,!0));if(this[kStream].destroyed)return new Promise(function(resolve,reject){process.nextTick(function(){_this[kError]?reject(_this[kError]):resolve(createIterResult(void 0,!0))})});var lastPromise=this[kLastPromise],promise;if(lastPromise)promise=new Promise(wrapForNext(lastPromise,this));else{var data=this[kStream].read();if(data!==null)return Promise.resolve(createIterResult(data,!1));promise=new Promise(this[kHandlePromise])}return this[kLastPromise]=promise,promise}},_defineProperty(_Object$setPrototypeO,Symbol.asyncIterator,function(){return this}),_defineProperty(_Object$setPrototypeO,"return",function(){var _this2=this;return new Promise(function(resolve,reject){_this2[kStream].destroy(null,function(err){if(err){reject(err);return}resolve(createIterResult(void 0,!0))})})}),_Object$setPrototypeO),AsyncIteratorPrototype),createReadableStreamAsyncIterator=function(stream){var _Object$create,iterator=Object.create(ReadableStreamAsyncIteratorPrototype,(_Object$create={},_defineProperty(_Object$create,kStream,{value:stream,writable:!0}),_defineProperty(_Object$create,kLastResolve,{value:null,writable:!0}),_defineProperty(_Object$create,kLastReject,{value:null,writable:!0}),_defineProperty(_Object$create,kError,{value:null,writable:!0}),_defineProperty(_Object$create,kEnded,{value:stream._readableState.endEmitted,writable:!0}),_defineProperty(_Object$create,kHandlePromise,{value:function(resolve,reject){var data=iterator[kStream].read();data?(iterator[kLastPromise]=null,iterator[kLastResolve]=null,iterator[kLastReject]=null,resolve(createIterResult(data,!1))):(iterator[kLastResolve]=resolve,iterator[kLastReject]=reject)},writable:!0}),_Object$create));return iterator[kLastPromise]=null,finished(stream,function(err){if(err&&err.code!=="ERR_STREAM_PREMATURE_CLOSE"){var reject=iterator[kLastReject];reject!==null&&(iterator[kLastPromise]=null,iterator[kLastResolve]=null,iterator[kLastReject]=null,reject(err)),iterator[kError]=err;return}var resolve=iterator[kLastResolve];resolve!==null&&(iterator[kLastPromise]=null,iterator[kLastResolve]=null,iterator[kLastReject]=null,resolve(createIterResult(void 0,!0))),iterator[kEnded]=!0}),stream.on("readable",onReadable.bind(null,iterator)),iterator};module.exports=createReadableStreamAsyncIterator},96292:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}function _defineProperty(obj,key,value){return key=_toPropertyKey(key),key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,_toPropertyKey(descriptor.key),descriptor)}}function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}function _toPropertyKey(arg){var key=_toPrimitive(arg,"string");return typeof key=="symbol"?key:String(key)}function _toPrimitive(input,hint){if(typeof input!="object"||input===null)return input;var prim=input[Symbol.toPrimitive];if(prim!==void 0){var res=prim.call(input,hint||"default");if(typeof res!="object")return res;throw new TypeError("@@toPrimitive must return a primitive value.")}return(hint==="string"?String:Number)(input)}var _require=__webpack_require__(55872),Buffer=_require.Buffer,_require2=__webpack_require__(87942),inspect=_require2.inspect,custom=inspect&&inspect.custom||"inspect";function copyBuffer(src,target,offset){Buffer.prototype.copy.call(src,target,offset)}module.exports=function(){function BufferList(){_classCallCheck(this,BufferList),this.head=null,this.tail=null,this.length=0}return _createClass(BufferList,[{key:"push",value:function(v){var entry={data:v,next:null};this.length>0?this.tail.next=entry:this.head=entry,this.tail=entry,++this.length}},{key:"unshift",value:function(v){var entry={data:v,next:this.head};this.length===0&&(this.tail=entry),this.head=entry,++this.length}},{key:"shift",value:function(){if(this.length!==0){var ret=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,ret}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(s){if(this.length===0)return"";for(var p=this.head,ret=""+p.data;p=p.next;)ret+=s+p.data;return ret}},{key:"concat",value:function(n){if(this.length===0)return Buffer.alloc(0);for(var ret=Buffer.allocUnsafe(n>>>0),p=this.head,i=0;p;)copyBuffer(p.data,ret,i),i+=p.data.length,p=p.next;return ret}},{key:"consume",value:function(n,hasStrings){var ret;return n<this.head.data.length?(ret=this.head.data.slice(0,n),this.head.data=this.head.data.slice(n)):n===this.head.data.length?ret=this.shift():ret=hasStrings?this._getString(n):this._getBuffer(n),ret}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(n){var p=this.head,c=1,ret=p.data;for(n-=ret.length;p=p.next;){var str=p.data,nb=n>str.length?str.length:n;if(nb===str.length?ret+=str:ret+=str.slice(0,n),n-=nb,n===0){nb===str.length?(++c,p.next?this.head=p.next:this.head=this.tail=null):(this.head=p,p.data=str.slice(nb));break}++c}return this.length-=c,ret}},{key:"_getBuffer",value:function(n){var ret=Buffer.allocUnsafe(n),p=this.head,c=1;for(p.data.copy(ret),n-=p.data.length;p=p.next;){var buf=p.data,nb=n>buf.length?buf.length:n;if(buf.copy(ret,ret.length-n,0,nb),n-=nb,n===0){nb===buf.length?(++c,p.next?this.head=p.next:this.head=this.tail=null):(this.head=p,p.data=buf.slice(nb));break}++c}return this.length-=c,ret}},{key:custom,value:function(_,options){return inspect(this,_objectSpread(_objectSpread({},options),{},{depth:0,customInspect:!1}))}}]),BufferList}()},87484:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var process=__webpack_require__(14224);function destroy(err,cb){var _this=this,readableDestroyed=this._readableState&&this._readableState.destroyed,writableDestroyed=this._writableState&&this._writableState.destroyed;return readableDestroyed||writableDestroyed?(cb?cb(err):err&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(emitErrorNT,this,err)):process.nextTick(emitErrorNT,this,err)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(err||null,function(err2){!cb&&err2?_this._writableState?_this._writableState.errorEmitted?process.nextTick(emitCloseNT,_this):(_this._writableState.errorEmitted=!0,process.nextTick(emitErrorAndCloseNT,_this,err2)):process.nextTick(emitErrorAndCloseNT,_this,err2):cb?(process.nextTick(emitCloseNT,_this),cb(err2)):process.nextTick(emitCloseNT,_this)}),this)}function emitErrorAndCloseNT(self2,err){emitErrorNT(self2,err),emitCloseNT(self2)}function emitCloseNT(self2){self2._writableState&&!self2._writableState.emitClose||self2._readableState&&!self2._readableState.emitClose||self2.emit("close")}function undestroy(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function emitErrorNT(self2,err){self2.emit("error",err)}function errorOrDestroy(stream,err){var rState=stream._readableState,wState=stream._writableState;rState&&rState.autoDestroy||wState&&wState.autoDestroy?stream.destroy(err):stream.emit("error",err)}module.exports={destroy,undestroy,errorOrDestroy}},43675:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var ERR_STREAM_PREMATURE_CLOSE=__webpack_require__(60981).q.ERR_STREAM_PREMATURE_CLOSE;function once(callback){var called=!1;return function(){if(!called){called=!0;for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];callback.apply(this,args)}}}function noop(){}function isRequest(stream){return stream.setHeader&&typeof stream.abort=="function"}function eos(stream,opts,callback){if(typeof opts=="function")return eos(stream,null,opts);opts||(opts={}),callback=once(callback||noop);var readable=opts.readable||opts.readable!==!1&&stream.readable,writable=opts.writable||opts.writable!==!1&&stream.writable,onlegacyfinish=function(){stream.writable||onfinish()},writableEnded=stream._writableState&&stream._writableState.finished,onfinish=function(){writable=!1,writableEnded=!0,readable||callback.call(stream)},readableEnded=stream._readableState&&stream._readableState.endEmitted,onend=function(){readable=!1,readableEnded=!0,writable||callback.call(stream)},onerror=function(err){callback.call(stream,err)},onclose=function(){var err;if(readable&&!readableEnded)return(!stream._readableState||!stream._readableState.ended)&&(err=new ERR_STREAM_PREMATURE_CLOSE),callback.call(stream,err);if(writable&&!writableEnded)return(!stream._writableState||!stream._writableState.ended)&&(err=new ERR_STREAM_PREMATURE_CLOSE),callback.call(stream,err)},onrequest=function(){stream.req.on("finish",onfinish)};return isRequest(stream)?(stream.on("complete",onfinish),stream.on("abort",onclose),stream.req?onrequest():stream.on("request",onrequest)):writable&&!stream._writableState&&(stream.on("end",onlegacyfinish),stream.on("close",onlegacyfinish)),stream.on("end",onend),stream.on("finish",onfinish),opts.error!==!1&&stream.on("error",onerror),stream.on("close",onclose),function(){stream.removeListener("complete",onfinish),stream.removeListener("abort",onclose),stream.removeListener("request",onrequest),stream.req&&stream.req.removeListener("finish",onfinish),stream.removeListener("end",onlegacyfinish),stream.removeListener("close",onlegacyfinish),stream.removeListener("finish",onfinish),stream.removeListener("end",onend),stream.removeListener("error",onerror),stream.removeListener("close",onclose)}}module.exports=eos},82037:module=>{module.exports=function(){throw new Error("Readable.from is not available in the browser")}},95597:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var eos;function once(callback){var called=!1;return function(){called||(called=!0,callback.apply(void 0,arguments))}}var _require$codes=__webpack_require__(60981).q,ERR_MISSING_ARGS=_require$codes.ERR_MISSING_ARGS,ERR_STREAM_DESTROYED=_require$codes.ERR_STREAM_DESTROYED;function noop(err){if(err)throw err}function isRequest(stream){return stream.setHeader&&typeof stream.abort=="function"}function destroyer(stream,reading,writing,callback){callback=once(callback);var closed=!1;stream.on("close",function(){closed=!0}),eos===void 0&&(eos=__webpack_require__(43675)),eos(stream,{readable:reading,writable:writing},function(err){if(err)return callback(err);closed=!0,callback()});var destroyed=!1;return function(err){if(!closed&&!destroyed){if(destroyed=!0,isRequest(stream))return stream.abort();if(typeof stream.destroy=="function")return stream.destroy();callback(err||new ERR_STREAM_DESTROYED("pipe"))}}}function call(fn){fn()}function pipe(from,to){return from.pipe(to)}function popCallback(streams){return!streams.length||typeof streams[streams.length-1]!="function"?noop:streams.pop()}function pipeline(){for(var _len=arguments.length,streams=new Array(_len),_key=0;_key<_len;_key++)streams[_key]=arguments[_key];var callback=popCallback(streams);if(Array.isArray(streams[0])&&(streams=streams[0]),streams.length<2)throw new ERR_MISSING_ARGS("streams");var error,destroys=streams.map(function(stream,i){var reading=i<streams.length-1,writing=i>0;return destroyer(stream,reading,writing,function(err){error||(error=err),err&&destroys.forEach(call),!reading&&(destroys.forEach(call),callback(error))})});return streams.reduce(pipe)}module.exports=pipeline},16084:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var ERR_INVALID_OPT_VALUE=__webpack_require__(60981).q.ERR_INVALID_OPT_VALUE;function highWaterMarkFrom(options,isDuplex,duplexKey){return options.highWaterMark!=null?options.highWaterMark:isDuplex?options[duplexKey]:null}function getHighWaterMark(state,options,duplexKey,isDuplex){var hwm=highWaterMarkFrom(options,isDuplex,duplexKey);if(hwm!=null){if(!(isFinite(hwm)&&Math.floor(hwm)===hwm)||hwm<0){var name=isDuplex?duplexKey:"highWaterMark";throw new ERR_INVALID_OPT_VALUE(name,hwm)}return Math.floor(hwm)}return state.objectMode?16:16*1024}module.exports={getHighWaterMark}},26922:(module,__unused_webpack_exports,__webpack_require__)=>{module.exports=__webpack_require__(27379).EventEmitter},44678:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var ctx=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof __webpack_require__.g=="object"?__webpack_require__.g:{},restore=capture();ctx.Prism={manual:!0,disableWorkerMessageHandler:!0};var h=__webpack_require__(86675),decode=__webpack_require__(3177),Prism=__webpack_require__(58925),markup=__webpack_require__(21042),css=__webpack_require__(40579),clike=__webpack_require__(71223),js=__webpack_require__(57600);restore();var own={}.hasOwnProperty;function Refractor(){}Refractor.prototype=Prism;var refract=new Refractor;module.exports=refract,refract.highlight=highlight,refract.register=register,refract.alias=alias,refract.registered=registered,refract.listLanguages=listLanguages,register(markup),register(css),register(clike),register(js),refract.util.encode=encode,refract.Token.stringify=stringify;function register(grammar){if(typeof grammar!="function"||!grammar.displayName)throw new Error("Expected `function` for `grammar`, got `"+grammar+"`");refract.languages[grammar.displayName]===void 0&&grammar(refract)}function alias(name,alias2){var languages=refract.languages,map=name,key,list,length,index;alias2&&(map={},map[name]=alias2);for(key in map)for(list=map[key],list=typeof list=="string"?[list]:list,length=list.length,index=-1;++index<length;)languages[list[index]]=languages[key]}function highlight(value,name){var sup=Prism.highlight,grammar;if(typeof value!="string")throw new Error("Expected `string` for `value`, got `"+value+"`");if(refract.util.type(name)==="Object")grammar=name,name=null;else{if(typeof name!="string")throw new Error("Expected `string` for `name`, got `"+name+"`");if(own.call(refract.languages,name))grammar=refract.languages[name];else throw new Error("Unknown language: `"+name+"` is not registered")}return sup.call(this,value,grammar,name)}function registered(language){if(typeof language!="string")throw new Error("Expected `string` for `language`, got `"+language+"`");return own.call(refract.languages,language)}function listLanguages(){var languages=refract.languages,list=[],language;for(language in languages)own.call(languages,language)&&typeof languages[language]=="object"&&list.push(language);return list}function stringify(value,language,parent){var env;return typeof value=="string"?{type:"text",value}:refract.util.type(value)==="Array"?stringifyAll(value,language):(env={type:value.type,content:refract.Token.stringify(value.content,language,parent),tag:"span",classes:["token",value.type],attributes:{},language,parent},value.alias&&(env.classes=env.classes.concat(value.alias)),refract.hooks.run("wrap",env),h(env.tag+"."+env.classes.join("."),attributes(env.attributes),env.content))}function stringifyAll(values,language){for(var result=[],length=values.length,index=-1,value;++index<length;)value=values[index],value!==""&&value!==null&&value!==void 0&&result.push(value);for(index=-1,length=result.length;++index<length;)value=result[index],result[index]=refract.Token.stringify(value,language,result);return result}function encode(tokens){return tokens}function attributes(attrs){var key;for(key in attrs)attrs[key]=decode(attrs[key]);return attrs}function capture(){var defined="Prism"in ctx,current=defined?ctx.Prism:void 0;return restore2;function restore2(){defined?ctx.Prism=current:delete ctx.Prism,defined=void 0,current=void 0}}},71223:module=>{"use strict";module.exports=clike,clike.displayName="clike",clike.aliases=[];function clike(Prism){Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}},40579:module=>{"use strict";module.exports=css,css.displayName="css",css.aliases=[];function css(Prism){(function(Prism2){var string=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;Prism2.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+string.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+string.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+string.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:string,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},Prism2.languages.css.atrule.inside.rest=Prism2.languages.css;var markup=Prism2.languages.markup;markup&&(markup.tag.addInlined("style","css"),markup.tag.addAttribute("style","css"))})(Prism)}},57600:module=>{"use strict";module.exports=javascript,javascript.displayName="javascript",javascript.aliases=["js"];function javascript(Prism){Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript}},82961:module=>{"use strict";module.exports=jsx,jsx.displayName="jsx",jsx.aliases=[];function jsx(Prism){(function(Prism2){var javascript=Prism2.util.clone(Prism2.languages.javascript),space=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,braces=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,spread=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function re(source,flags){return source=source.replace(/<S>/g,function(){return space}).replace(/<BRACES>/g,function(){return braces}).replace(/<SPREAD>/g,function(){return spread}),RegExp(source,flags)}spread=re(spread).source,Prism2.languages.jsx=Prism2.languages.extend("markup",javascript),Prism2.languages.jsx.tag.pattern=re(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),Prism2.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,Prism2.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,Prism2.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,Prism2.languages.jsx.tag.inside.comment=javascript.comment,Prism2.languages.insertBefore("inside","attr-name",{spread:{pattern:re(/<SPREAD>/.source),inside:Prism2.languages.jsx}},Prism2.languages.jsx.tag),Prism2.languages.insertBefore("inside","special-attr",{script:{pattern:re(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:Prism2.languages.jsx}}},Prism2.languages.jsx.tag);var stringifyToken=function(token){return token?typeof token=="string"?token:typeof token.content=="string"?token.content:token.content.map(stringifyToken).join(""):""},walkTokens=function(tokens){for(var openedTags=[],i=0;i<tokens.length;i++){var token=tokens[i],notTagNorBrace=!1;if(typeof token!="string"&&(token.type==="tag"&&token.content[0]&&token.content[0].type==="tag"?token.content[0].content[0].content==="</"?openedTags.length>0&&openedTags[openedTags.length-1].tagName===stringifyToken(token.content[0].content[1])&&openedTags.pop():token.content[token.content.length-1].content==="/>"||openedTags.push({tagName:stringifyToken(token.content[0].content[1]),openedBraces:0}):openedTags.length>0&&token.type==="punctuation"&&token.content==="{"?openedTags[openedTags.length-1].openedBraces++:openedTags.length>0&&openedTags[openedTags.length-1].openedBraces>0&&token.type==="punctuation"&&token.content==="}"?openedTags[openedTags.length-1].openedBraces--:notTagNorBrace=!0),(notTagNorBrace||typeof token=="string")&&openedTags.length>0&&openedTags[openedTags.length-1].openedBraces===0){var plainText=stringifyToken(token);i<tokens.length-1&&(typeof tokens[i+1]=="string"||tokens[i+1].type==="plain-text")&&(plainText+=stringifyToken(tokens[i+1]),tokens.splice(i+1,1)),i>0&&(typeof tokens[i-1]=="string"||tokens[i-1].type==="plain-text")&&(plainText=stringifyToken(tokens[i-1])+plainText,tokens.splice(i-1,1),i--),tokens[i]=new Prism2.Token("plain-text",plainText,null,plainText)}token.content&&typeof token.content!="string"&&walkTokens(token.content)}};Prism2.hooks.add("after-tokenize",function(env){env.language!=="jsx"&&env.language!=="tsx"||walkTokens(env.tokens)})})(Prism)}},21042:module=>{"use strict";module.exports=markup,markup.displayName="markup",markup.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function markup(Prism){Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(env){env.type==="entity"&&(env.attributes.title=env.content.value.replace(/&amp;/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(tagName,lang){var includedCdataInside={};includedCdataInside["language-"+lang]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[lang]},includedCdataInside.cdata=/^<!\[CDATA\[|\]\]>$/i;var inside={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:includedCdataInside}};inside["language-"+lang]={pattern:/[\s\S]+/,inside:Prism.languages[lang]};var def={};def[tagName]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return tagName}),"i"),lookbehind:!0,greedy:!0,inside},Prism.languages.insertBefore("markup","cdata",def)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(attrName,lang){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+attrName+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[lang,"language-"+lang],inside:Prism.languages[lang]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml}},72663:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var refractorJsx=__webpack_require__(82961),refractorTypescript=__webpack_require__(66409);module.exports=tsx,tsx.displayName="tsx",tsx.aliases=[];function tsx(Prism){Prism.register(refractorJsx),Prism.register(refractorTypescript),function(Prism2){var typescript=Prism2.util.clone(Prism2.languages.typescript);Prism2.languages.tsx=Prism2.languages.extend("jsx",typescript),delete Prism2.languages.tsx.parameter,delete Prism2.languages.tsx["literal-property"];var tag=Prism2.languages.tsx.tag;tag.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+tag.pattern.source+")",tag.pattern.flags),tag.lookbehind=!0}(Prism)}},66409:module=>{"use strict";module.exports=typescript,typescript.displayName="typescript",typescript.aliases=["ts"];function typescript(Prism){(function(Prism2){Prism2.languages.typescript=Prism2.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),Prism2.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete Prism2.languages.typescript.parameter,delete Prism2.languages.typescript["literal-property"];var typeInside=Prism2.languages.extend("typescript",{});delete typeInside["class-name"],Prism2.languages.typescript["class-name"].inside=typeInside,Prism2.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:typeInside}}}}),Prism2.languages.ts=Prism2.languages.typescript})(Prism)}},69540:(module,__unused_webpack_exports,__webpack_require__)=>{module.exports={locale:"en",long:__webpack_require__(45641),short:__webpack_require__(30963),narrow:__webpack_require__(97009),quantify:__webpack_require__(47931)}},47931:module=>{module.exports=function(n){var r=!String(n).split(".")[1];return n==1&&r?"one":"other"}},61874:(module,exports,__webpack_require__)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var buffer=__webpack_require__(55872),Buffer=buffer.Buffer;function copyProps(src,dst){for(var key in src)dst[key]=src[key]}Buffer.from&&Buffer.alloc&&Buffer.allocUnsafe&&Buffer.allocUnsafeSlow?module.exports=buffer:(copyProps(buffer,exports),exports.Buffer=SafeBuffer);function SafeBuffer(arg,encodingOrOffset,length){return Buffer(arg,encodingOrOffset,length)}SafeBuffer.prototype=Object.create(Buffer.prototype),copyProps(Buffer,SafeBuffer),SafeBuffer.from=function(arg,encodingOrOffset,length){if(typeof arg=="number")throw new TypeError("Argument must not be a number");return Buffer(arg,encodingOrOffset,length)},SafeBuffer.alloc=function(size,fill,encoding){if(typeof size!="number")throw new TypeError("Argument must be a number");var buf=Buffer(size);return fill!==void 0?typeof encoding=="string"?buf.fill(fill,encoding):buf.fill(fill):buf.fill(0),buf},SafeBuffer.allocUnsafe=function(size){if(typeof size!="number")throw new TypeError("Argument must be a number");return Buffer(size)},SafeBuffer.allocUnsafeSlow=function(size){if(typeof size!="number")throw new TypeError("Argument must be a number");return buffer.SlowBuffer(size)}},69823:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var GetIntrinsic=__webpack_require__(67415),define=__webpack_require__(18003),hasDescriptors=__webpack_require__(94074)(),gOPD=__webpack_require__(70658),$TypeError=__webpack_require__(29837),$floor=GetIntrinsic("%Math.floor%");module.exports=function(fn,length){if(typeof fn!="function")throw new $TypeError("`fn` is not a function");if(typeof length!="number"||length<0||length>4294967295||$floor(length)!==length)throw new $TypeError("`length` must be a positive 32-bit integer");var loose=arguments.length>2&&!!arguments[2],functionLengthIsConfigurable=!0,functionLengthIsWritable=!0;if("length"in fn&&gOPD){var desc=gOPD(fn,"length");desc&&!desc.configurable&&(functionLengthIsConfigurable=!1),desc&&!desc.writable&&(functionLengthIsWritable=!1)}return(functionLengthIsConfigurable||functionLengthIsWritable||!loose)&&(hasDescriptors?define(fn,"length",length,!0,!0):define(fn,"length",length)),fn}},5025:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var GetIntrinsic=__webpack_require__(67415),callBound=__webpack_require__(74161),inspect=__webpack_require__(85306),$TypeError=__webpack_require__(29837),$WeakMap=GetIntrinsic("%WeakMap%",!0),$Map=GetIntrinsic("%Map%",!0),$weakMapGet=callBound("WeakMap.prototype.get",!0),$weakMapSet=callBound("WeakMap.prototype.set",!0),$weakMapHas=callBound("WeakMap.prototype.has",!0),$mapGet=callBound("Map.prototype.get",!0),$mapSet=callBound("Map.prototype.set",!0),$mapHas=callBound("Map.prototype.has",!0),listGetNode=function(list,key){for(var prev=list,curr;(curr=prev.next)!==null;prev=curr)if(curr.key===key)return prev.next=curr.next,curr.next=list.next,list.next=curr,curr},listGet=function(objects,key){var node=listGetNode(objects,key);return node&&node.value},listSet=function(objects,key,value){var node=listGetNode(objects,key);node?node.value=value:objects.next={key,next:objects.next,value}},listHas=function(objects,key){return!!listGetNode(objects,key)};module.exports=function(){var $wm,$m,$o,channel={assert:function(key){if(!channel.has(key))throw new $TypeError("Side channel does not contain "+inspect(key))},get:function(key){if($WeakMap&&key&&(typeof key=="object"||typeof key=="function")){if($wm)return $weakMapGet($wm,key)}else if($Map){if($m)return $mapGet($m,key)}else if($o)return listGet($o,key)},has:function(key){if($WeakMap&&key&&(typeof key=="object"||typeof key=="function")){if($wm)return $weakMapHas($wm,key)}else if($Map){if($m)return $mapHas($m,key)}else if($o)return listHas($o,key);return!1},set:function(key,value){$WeakMap&&key&&(typeof key=="object"||typeof key=="function")?($wm||($wm=new $WeakMap),$weakMapSet($wm,key,value)):$Map?($m||($m=new $Map),$mapSet($m,key,value)):($o||($o={key:{},next:null}),listSet($o,key,value))}};return channel}},92868:(__unused_webpack_module,exports)=>{"use strict";var __webpack_unused_export__;exports.Q=parse,__webpack_unused_export__=stringify;var empty="",space=" ",whiteSpace=/[ \t\n\r\f]+/g;function parse(value){var input=String(value||empty).trim();return input===empty?[]:input.split(whiteSpace)}function stringify(values){return values.join(space).trim()}},76835:(module,__unused_webpack_exports,__webpack_require__)=>{module.exports=Stream;var EE=__webpack_require__(27379).EventEmitter,inherits=__webpack_require__(2937);inherits(Stream,EE),Stream.Readable=__webpack_require__(25294),Stream.Writable=__webpack_require__(86481),Stream.Duplex=__webpack_require__(93337),Stream.Transform=__webpack_require__(41683),Stream.PassThrough=__webpack_require__(68797),Stream.finished=__webpack_require__(43675),Stream.pipeline=__webpack_require__(95597),Stream.Stream=Stream;function Stream(){EE.call(this)}Stream.prototype.pipe=function(dest,options){var source=this;function ondata(chunk){dest.writable&&dest.write(chunk)===!1&&source.pause&&source.pause()}source.on("data",ondata);function ondrain(){source.readable&&source.resume&&source.resume()}dest.on("drain",ondrain),!dest._isStdio&&(!options||options.end!==!1)&&(source.on("end",onend),source.on("close",onclose));var didOnEnd=!1;function onend(){didOnEnd||(didOnEnd=!0,dest.end())}function onclose(){didOnEnd||(didOnEnd=!0,typeof dest.destroy=="function"&&dest.destroy())}function onerror(er){if(cleanup(),EE.listenerCount(this,"error")===0)throw er}source.on("error",onerror),dest.on("error",onerror);function cleanup(){source.removeListener("data",ondata),dest.removeListener("drain",ondrain),source.removeListener("end",onend),source.removeListener("close",onclose),source.removeListener("error",onerror),dest.removeListener("error",onerror),source.removeListener("end",cleanup),source.removeListener("close",cleanup),dest.removeListener("close",cleanup)}return source.on("end",cleanup),source.on("close",cleanup),dest.on("close",cleanup),dest.emit("pipe",source),dest}},72699:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var Buffer=__webpack_require__(61874).Buffer,isEncoding=Buffer.isEncoding||function(encoding){switch(encoding=""+encoding,encoding&&encoding.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function _normalizeEncoding(enc){if(!enc)return"utf8";for(var retried;;)switch(enc){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return enc;default:if(retried)return;enc=(""+enc).toLowerCase(),retried=!0}}function normalizeEncoding(enc){var nenc=_normalizeEncoding(enc);if(typeof nenc!="string"&&(Buffer.isEncoding===isEncoding||!isEncoding(enc)))throw new Error("Unknown encoding: "+enc);return nenc||enc}exports.s=StringDecoder;function StringDecoder(encoding){this.encoding=normalizeEncoding(encoding);var nb;switch(this.encoding){case"utf16le":this.text=utf16Text,this.end=utf16End,nb=4;break;case"utf8":this.fillLast=utf8FillLast,nb=4;break;case"base64":this.text=base64Text,this.end=base64End,nb=3;break;default:this.write=simpleWrite,this.end=simpleEnd;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Buffer.allocUnsafe(nb)}StringDecoder.prototype.write=function(buf){if(buf.length===0)return"";var r,i;if(this.lastNeed){if(r=this.fillLast(buf),r===void 0)return"";i=this.lastNeed,this.lastNeed=0}else i=0;return i<buf.length?r?r+this.text(buf,i):this.text(buf,i):r||""},StringDecoder.prototype.end=utf8End,StringDecoder.prototype.text=utf8Text,StringDecoder.prototype.fillLast=function(buf){if(this.lastNeed<=buf.length)return buf.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);buf.copy(this.lastChar,this.lastTotal-this.lastNeed,0,buf.length),this.lastNeed-=buf.length};function utf8CheckByte(byte){return byte<=127?0:byte>>5===6?2:byte>>4===14?3:byte>>3===30?4:byte>>6===2?-1:-2}function utf8CheckIncomplete(self2,buf,i){var j=buf.length-1;if(j<i)return 0;var nb=utf8CheckByte(buf[j]);return nb>=0?(nb>0&&(self2.lastNeed=nb-1),nb):--j<i||nb===-2?0:(nb=utf8CheckByte(buf[j]),nb>=0?(nb>0&&(self2.lastNeed=nb-2),nb):--j<i||nb===-2?0:(nb=utf8CheckByte(buf[j]),nb>=0?(nb>0&&(nb===2?nb=0:self2.lastNeed=nb-3),nb):0))}function utf8CheckExtraBytes(self2,buf,p){if((buf[0]&192)!==128)return self2.lastNeed=0,"\uFFFD";if(self2.lastNeed>1&&buf.length>1){if((buf[1]&192)!==128)return self2.lastNeed=1,"\uFFFD";if(self2.lastNeed>2&&buf.length>2&&(buf[2]&192)!==128)return self2.lastNeed=2,"\uFFFD"}}function utf8FillLast(buf){var p=this.lastTotal-this.lastNeed,r=utf8CheckExtraBytes(this,buf,p);if(r!==void 0)return r;if(this.lastNeed<=buf.length)return buf.copy(this.lastChar,p,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);buf.copy(this.lastChar,p,0,buf.length),this.lastNeed-=buf.length}function utf8Text(buf,i){var total=utf8CheckIncomplete(this,buf,i);if(!this.lastNeed)return buf.toString("utf8",i);this.lastTotal=total;var end=buf.length-(total-this.lastNeed);return buf.copy(this.lastChar,0,end),buf.toString("utf8",i,end)}function utf8End(buf){var r=buf&&buf.length?this.write(buf):"";return this.lastNeed?r+"\uFFFD":r}function utf16Text(buf,i){if((buf.length-i)%2===0){var r=buf.toString("utf16le",i);if(r){var c=r.charCodeAt(r.length-1);if(c>=55296&&c<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=buf[buf.length-2],this.lastChar[1]=buf[buf.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=buf[buf.length-1],buf.toString("utf16le",i,buf.length-1)}function utf16End(buf){var r=buf&&buf.length?this.write(buf):"";if(this.lastNeed){var end=this.lastTotal-this.lastNeed;return r+this.lastChar.toString("utf16le",0,end)}return r}function base64Text(buf,i){var n=(buf.length-i)%3;return n===0?buf.toString("base64",i):(this.lastNeed=3-n,this.lastTotal=3,n===1?this.lastChar[0]=buf[buf.length-1]:(this.lastChar[0]=buf[buf.length-2],this.lastChar[1]=buf[buf.length-1]),buf.toString("base64",i,buf.length-n))}function base64End(buf){var r=buf&&buf.length?this.write(buf):"";return this.lastNeed?r+this.lastChar.toString("base64",0,3-this.lastNeed):r}function simpleWrite(buf){return buf.toString(this.encoding)}function simpleEnd(buf){return buf&&buf.length?this.write(buf):""}},98950:module=>{"use strict";module.exports={stdout:!1,stderr:!1}},48199:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{animateFill:()=>animateFill,createSingleton:()=>createSingleton,default:()=>__WEBPACK_DEFAULT_EXPORT__,delegate:()=>delegate,followCursor:()=>followCursor,hideAll:()=>hideAll,inlinePositioning:()=>inlinePositioning,roundArrow:()=>ROUND_ARROW,sticky:()=>sticky});var _popperjs_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(60510),ROUND_ARROW='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',BOX_CLASS="tippy-box",CONTENT_CLASS="tippy-content",BACKDROP_CLASS="tippy-backdrop",ARROW_CLASS="tippy-arrow",SVG_ARROW_CLASS="tippy-svg-arrow",TOUCH_OPTIONS={passive:!0,capture:!0};function hasOwnProperty(obj,key){return{}.hasOwnProperty.call(obj,key)}function getValueAtIndexOrReturn(value,index,defaultValue){if(Array.isArray(value)){var v=value[index];return v??(Array.isArray(defaultValue)?defaultValue[index]:defaultValue)}return value}function isType(value,type){var str={}.toString.call(value);return str.indexOf("[object")===0&&str.indexOf(type+"]")>-1}function invokeWithArgsOrReturn(value,args){return typeof value=="function"?value.apply(void 0,args):value}function debounce(fn,ms){if(ms===0)return fn;var timeout;return function(arg){clearTimeout(timeout),timeout=setTimeout(function(){fn(arg)},ms)}}function removeProperties(obj,keys){var clone=Object.assign({},obj);return keys.forEach(function(key){delete clone[key]}),clone}function splitBySpaces(value){return value.split(/\s+/).filter(Boolean)}function normalizeToArray(value){return[].concat(value)}function pushIfUnique(arr,value){arr.indexOf(value)===-1&&arr.push(value)}function unique(arr){return arr.filter(function(item,index){return arr.indexOf(item)===index})}function getBasePlacement(placement){return placement.split("-")[0]}function arrayFrom(value){return[].slice.call(value)}function removeUndefinedProps(obj){return Object.keys(obj).reduce(function(acc,key){return obj[key]!==void 0&&(acc[key]=obj[key]),acc},{})}function div(){return document.createElement("div")}function isElement(value){return["Element","Fragment"].some(function(type){return isType(value,type)})}function isNodeList(value){return isType(value,"NodeList")}function isMouseEvent(value){return isType(value,"MouseEvent")}function isReferenceElement(value){return!!(value&&value._tippy&&value._tippy.reference===value)}function getArrayOfElements(value){return isElement(value)?[value]:isNodeList(value)?arrayFrom(value):Array.isArray(value)?value:arrayFrom(document.querySelectorAll(value))}function setTransitionDuration(els,value){els.forEach(function(el){el&&(el.style.transitionDuration=value+"ms")})}function setVisibilityState(els,state){els.forEach(function(el){el&&el.setAttribute("data-state",state)})}function getOwnerDocument(elementOrElements){var _normalizeToArray=normalizeToArray(elementOrElements),element=_normalizeToArray[0];return element&&element.ownerDocument||document}function isCursorOutsideInteractiveBorder(popperTreeData,event){var clientX=event.clientX,clientY=event.clientY;return popperTreeData.every(function(_ref){var popperRect=_ref.popperRect,popperState=_ref.popperState,props=_ref.props,interactiveBorder=props.interactiveBorder,basePlacement=getBasePlacement(popperState.placement),offsetData=popperState.modifiersData.offset;if(!offsetData)return!0;var topDistance=basePlacement==="bottom"?offsetData.top.y:0,bottomDistance=basePlacement==="top"?offsetData.bottom.y:0,leftDistance=basePlacement==="right"?offsetData.left.x:0,rightDistance=basePlacement==="left"?offsetData.right.x:0,exceedsTop=popperRect.top-clientY+topDistance>interactiveBorder,exceedsBottom=clientY-popperRect.bottom-bottomDistance>interactiveBorder,exceedsLeft=popperRect.left-clientX+leftDistance>interactiveBorder,exceedsRight=clientX-popperRect.right-rightDistance>interactiveBorder;return exceedsTop||exceedsBottom||exceedsLeft||exceedsRight})}function updateTransitionEndListener(box,action,listener){var method=action+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(event){box[method](event,listener)})}var currentInput={isTouch:!1},lastMouseMoveTime=0;function onDocumentTouchStart(){currentInput.isTouch||(currentInput.isTouch=!0,window.performance&&document.addEventListener("mousemove",onDocumentMouseMove))}function onDocumentMouseMove(){var now=performance.now();now-lastMouseMoveTime<20&&(currentInput.isTouch=!1,document.removeEventListener("mousemove",onDocumentMouseMove)),lastMouseMoveTime=now}function onWindowBlur(){var activeElement=document.activeElement;if(isReferenceElement(activeElement)){var instance=activeElement._tippy;activeElement.blur&&!instance.state.isVisible&&activeElement.blur()}}function bindGlobalEventListeners(){document.addEventListener("touchstart",onDocumentTouchStart,TOUCH_OPTIONS),window.addEventListener("blur",onWindowBlur)}var isBrowser=typeof window<"u"&&typeof document<"u",ua=isBrowser?navigator.userAgent:"",isIE=/MSIE |Trident\//.test(ua);function createMemoryLeakWarning(method){var txt=method==="destroy"?"n already-":" ";return[method+"() was called on a"+txt+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function clean(value){var spacesAndTabs=/[ \t]{2,}/g,lineStartWithSpaces=/^[ \t]*/gm;return value.replace(spacesAndTabs," ").replace(lineStartWithSpaces,"").trim()}function getDevMessage(message){return clean(`
607
607
  %ctippy.js
608
608
 
609
609
  %c`+clean(message)+`
@@ -670,7 +670,7 @@ ${namesToRegister.map(({variableName,uniqueLocalName})=>` reactHotLoader.regist
670
670
  ${issueTitle}${colon}
671
671
  `)}exports.formatTitle=formatTitle;function componentIssueToString(value){return Array.isArray(value)?value.join(", "):value}exports.componentIssueToString=componentIssueToString;function deserializeWithBitId(dataStr){const data=JSON.parse(dataStr);return Object.keys(data).forEach(filePath=>{data[filePath]=data[filePath].map(id=>new component_id_1.ComponentID(id))}),data}exports.deserializeWithBitId=deserializeWithBitId},63087:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DuplicateComponentAndPackage=void 0;const component_issue_1=__webpack_require__(50581);class DuplicateComponentAndPackage extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="tracked component added as a package",this.solution="either remove the package from the workspace.jsonc (bit uninstall) or remove the component (bit remove)",this.isTagBlocker=!0}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data}}exports.DuplicateComponentAndPackage=DuplicateComponentAndPackage},60873:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ExternalEnvWithoutVersion=void 0;const component_issue_1=__webpack_require__(50581);class ExternalEnvWithoutVersion extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="failed loading env - external env without a version",this.solution="",this.isTagBlocker=!0}formatSolution(){return`(run "bit env set ${this.data.componentId} ${this.data.envId}")`}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data.envId}}exports.ExternalEnvWithoutVersion=ExternalEnvWithoutVersion},86826:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ImportNonMainFiles=void 0;const component_issue_1=__webpack_require__(50581);class ImportNonMainFiles extends component_issue_1.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}}exports.ImportNonMainFiles=ImportNonMainFiles},86853:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RelativeComponentsAuthoredEntry=exports.MISSING_NESTED_DEPS_SPACE=exports.UntrackedFileDependencyEntry=exports.ComponentIssue=exports.MISSING_DEPS_SPACE=exports.IssuesNames=exports.IssuesClasses=exports.IssuesList=void 0;var issues_list_1=__webpack_require__(99838);Object.defineProperty(exports,"IssuesList",{enumerable:!0,get:function(){return issues_list_1.IssuesList}}),Object.defineProperty(exports,"IssuesClasses",{enumerable:!0,get:function(){return issues_list_1.IssuesClasses}}),Object.defineProperty(exports,"IssuesNames",{enumerable:!0,get:function(){return issues_list_1.IssuesNames}});var component_issue_1=__webpack_require__(50581);Object.defineProperty(exports,"MISSING_DEPS_SPACE",{enumerable:!0,get:function(){return component_issue_1.ISSUE_FORMAT_SPACE}}),Object.defineProperty(exports,"ComponentIssue",{enumerable:!0,get:function(){return component_issue_1.ComponentIssue}});var untracked_dependencies_1=__webpack_require__(89695);Object.defineProperty(exports,"UntrackedFileDependencyEntry",{enumerable:!0,get:function(){return untracked_dependencies_1.UntrackedFileDependencyEntry}}),Object.defineProperty(exports,"MISSING_NESTED_DEPS_SPACE",{enumerable:!0,get:function(){return untracked_dependencies_1.MISSING_NESTED_DEPS_SPACE}});var relative_components_authored_1=__webpack_require__(68545);Object.defineProperty(exports,"RelativeComponentsAuthoredEntry",{enumerable:!0,get:function(){return relative_components_authored_1.RelativeComponentsAuthoredEntry}})},99838:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.IssuesList=exports.IssuesClasses=void 0;const import_non_main_files_1=__webpack_require__(86826),missing_dependencies_on_fs_1=__webpack_require__(34904),missing_dists_1=__webpack_require__(47153),missing_packages_dependencies_on_fs_1=__webpack_require__(38568),missing_manually_configured_packages_1=__webpack_require__(97331),parse_errors_1=__webpack_require__(3185),relative_components_1=__webpack_require__(41420),relative_components_authored_1=__webpack_require__(68545),resolve_errors_1=__webpack_require__(5649),untracked_dependencies_1=__webpack_require__(89695),legacy_inside_harmony_1=__webpack_require__(27842),multiple_envs_1=__webpack_require__(88821),missing_links_from_nm_to_src_1=__webpack_require__(83813),circular_dependencies_1=__webpack_require__(65559),duplicate_component_and_package_1=__webpack_require__(63087),merge_config_has_conflict_1=__webpack_require__(2720),non_loaded_env_1=__webpack_require__(57524),external_env_without_version_1=__webpack_require__(60873),removed_dependencies_1=__webpack_require__(84981),self_reference_1=__webpack_require__(55088);exports.IssuesClasses={MissingPackagesDependenciesOnFs:missing_packages_dependencies_on_fs_1.MissingPackagesDependenciesOnFs,MissingManuallyConfiguredPackages:missing_manually_configured_packages_1.MissingManuallyConfiguredPackages,UntrackedDependencies:untracked_dependencies_1.UntrackedDependencies,ResolveErrors:resolve_errors_1.ResolveErrors,RelativeComponents:relative_components_1.RelativeComponents,RelativeComponentsAuthored:relative_components_authored_1.RelativeComponentsAuthored,ParseErrors:parse_errors_1.ParseErrors,MissingDists:missing_dists_1.MissingDists,LegacyInsideHarmony:legacy_inside_harmony_1.LegacyInsideHarmony,MissingDependenciesOnFs:missing_dependencies_on_fs_1.MissingDependenciesOnFs,ImportNonMainFiles:import_non_main_files_1.ImportNonMainFiles,MultipleEnvs:multiple_envs_1.MultipleEnvs,MissingLinksFromNodeModulesToSrc:missing_links_from_nm_to_src_1.MissingLinksFromNodeModulesToSrc,CircularDependencies:circular_dependencies_1.CircularDependencies,DuplicateComponentAndPackage:duplicate_component_and_package_1.DuplicateComponentAndPackage,MergeConfigHasConflict:merge_config_has_conflict_1.MergeConfigHasConflict,NonLoadedEnv:non_loaded_env_1.NonLoadedEnv,ExternalEnvWithoutVersion:external_env_without_version_1.ExternalEnvWithoutVersion,RemovedDependencies:removed_dependencies_1.RemovedDependencies,SelfReference:self_reference_1.SelfReference};class IssuesList{constructor(_issues=[]){this._issues=_issues}get count(){return this._issues.length}isEmpty(){return this._issues.length===0}outputForCLI(){return this._issues.map(issue=>issue.outputForCLI()).join("")}toObject(){return this._issues.map(issue=>issue.toObject())}toObjectWithDataAsString(){return this._issues.map(issue=>Object.assign(Object.assign({},issue.toObject()),{data:issue.dataToString().trim()}))}add(issue){this._issues.push(issue)}delete(IssueClass){this._issues=this._issues.filter(issue=>issue.constructor.name!==IssueClass.name)}getIssue(IssueClass){return this._issues.find(issue=>issue instanceof IssueClass)}getIssueByName(issueType){return this._issues.find(issue=>issue.constructor.name===issueType)}getAllIssues(){return this._issues}getAllIssueNames(){return this._issues.map(issue=>issue.constructor.name)}createIssue(IssueClass){const newIssue=new IssueClass;return this.add(newIssue),newIssue}getOrCreate(IssueClass){return this.getIssue(IssueClass)||this.createIssue(IssueClass)}shouldBlockSavingInCache(){return this._issues.some(issue=>issue.isCacheBlocker)}shouldBlockTagging(){return this._issues.some(issue=>issue.isTagBlocker)}filterNonTagBlocking(){return new IssuesList(this._issues.filter(issue=>issue.isTagBlocker))}toObjectIncludeDataAsString(){return this._issues.map(issue=>Object.assign(Object.assign({},issue.toObject()),{dataAsString:issue.dataToString()}))}serialize(){return this._issues.map(issue=>({type:issue.constructor.name,data:issue.serialize()}))}static deserialize(data){if(!Array.isArray(data))return new IssuesList;const issues=data.map(issue=>{const ClassName=issue.type;if(!Object.keys(exports.IssuesClasses).includes(ClassName))throw new Error(`issue type "${ClassName}" is not recognized.
672
672
  the following are permitted ${Object.keys(exports.IssuesClasses).join(", ")}`);const issueInstance=new exports.IssuesClasses[ClassName];return issueInstance.data=issueInstance.deserialize(issue.data),issueInstance});return new IssuesList(issues)}}exports.IssuesList=IssuesList},27842:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LegacyInsideHarmony=void 0;const component_issue_1=__webpack_require__(50581);class LegacyInsideHarmony extends component_issue_1.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,component_issue_1.formatTitle)(this.descriptionWithSolution,!1)}}exports.LegacyInsideHarmony=LegacyInsideHarmony},2720:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MergeConfigHasConflict=void 0;const component_issue_1=__webpack_require__(50581);class MergeConfigHasConflict extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="merge-conflict file has unresolved conflicts",this.solution="edit the merge-conflict file in the workspace root and resolve the conflicts",this.isTagBlocker=!0}outputForCLI(){return(0,component_issue_1.formatTitle)(this.descriptionWithSolution,!1)}}exports.MergeConfigHasConflict=MergeConfigHasConflict},34904:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MissingDependenciesOnFs=void 0;const component_issue_1=__webpack_require__(50581);class MissingDependenciesOnFs extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="non-existing dependency files",this.solution="make sure all files exists on your workspace",this.data={}}}exports.MissingDependenciesOnFs=MissingDependenciesOnFs},47153:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MissingDists=void 0;const component_issue_1=__webpack_require__(50581);class MissingDists extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="missing dists",this.solution='run "bit compile"',this.isTagBlocker=!1}outputForCLI(){return(0,component_issue_1.formatTitle)(this.descriptionWithSolution,!1)}}exports.MissingDists=MissingDists},83813:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MissingLinksFromNodeModulesToSrc=void 0;const component_issue_1=__webpack_require__(50581);class MissingLinksFromNodeModulesToSrc extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="missing links from node_modules to source",this.solution='run "bit link"',this.isTagBlocker=!1}outputForCLI(){return(0,component_issue_1.formatTitle)(this.descriptionWithSolution,!1)}}exports.MissingLinksFromNodeModulesToSrc=MissingLinksFromNodeModulesToSrc},97331:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MissingManuallyConfiguredPackages=void 0;const component_issue_1=__webpack_require__(50581);class MissingManuallyConfiguredPackages extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="missing packages that were manually set",this.solution='run "bit install"',this.data=[]}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data.join(", ")}}exports.MissingManuallyConfiguredPackages=MissingManuallyConfiguredPackages},38568:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MissingPackagesDependenciesOnFs=void 0;const component_issue_1=__webpack_require__(50581);class MissingPackagesDependenciesOnFs extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="missing packages or links from node_modules to the source",this.solution='run "bit install --add-missing-deps" to fix both issues',this.data=[]}dataToString(){return this.data.map(d=>`${component_issue_1.ISSUE_FORMAT_SPACE}${d.filePath} -> ${this.formatDataFunction(d.missingPackages)}`).join(`
673
- `)}}exports.MissingPackagesDependenciesOnFs=MissingPackagesDependenciesOnFs},88821:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MultipleEnvs=void 0;const component_issue_1=__webpack_require__(50581);class MultipleEnvs extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="multiple envs",this.solution=`set the desired env by running "bit env set <component> <env>", if it doesn't work, run "bit aspect unset <component> <unwanted-env-id>". to keep troubleshooting run "bit aspect list <component-id>"`,this.isTagBlocker=!0}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data.join(", ")}}exports.MultipleEnvs=MultipleEnvs},57524:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.NonLoadedEnv=void 0;const component_issue_1=__webpack_require__(50581);class NonLoadedEnv extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="failed loading env",this.solution='run "bit install"',this.isTagBlocker=!0}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data}}exports.NonLoadedEnv=NonLoadedEnv},3185:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ParseErrors=void 0;const component_issue_1=__webpack_require__(50581);class ParseErrors extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="error found while parsing the file",this.solution="edit the file and fix the parsing error",this.data={}}}exports.ParseErrors=ParseErrors},68545:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RelativeComponentsAuthored=void 0;const component_id_1=__webpack_require__(99978),component_issue_1=__webpack_require__(50581);class RelativeComponentsAuthored extends component_issue_1.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=relativeComponentsAuthoredIssuesToString}serialize(){const obj=Object.keys(this.data).reduce((acc,fileName)=>(acc[fileName]=this.data[fileName].map(record=>({importSource:record.importSource,componentId:record.componentId.serialize(),relativePath:record.relativePath})),acc),{});return JSON.stringify(obj)}deserialize(dataStr){const data=JSON.parse(dataStr);return Object.keys(data).forEach(fileName=>{data[fileName]=data[fileName].map(record=>({importSource:record.importSource,componentId:component_id_1.ComponentID.deserialize(record.componentId),relativePath:record.relativePath}))}),data}}exports.RelativeComponentsAuthored=RelativeComponentsAuthored;function relativeComponentsAuthoredIssuesToString(relativeEntries){const stringifyEntry=entry=>`"${entry.importSource}" (${entry.componentId.toString()})`;return relativeEntries.map(stringifyEntry).join(", ")}},41420:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RelativeComponents=void 0;const component_issue_1=__webpack_require__(50581);class RelativeComponents extends component_issue_1.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(data){return(0,component_issue_1.deserializeWithBitId)(data)}}exports.RelativeComponents=RelativeComponents},84981:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RemovedDependencies=void 0;const component_issue_1=__webpack_require__(50581);class RemovedDependencies extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="removed dependencies",this.solution='run "bit install <missing-dep>" or remove any unneeded references to that component from your code',this.isTagBlocker=!0}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data.join(", ")}}exports.RemovedDependencies=RemovedDependencies},5649:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ResolveErrors=void 0;const component_issue_1=__webpack_require__(50581);class ResolveErrors extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="error found while resolving the file dependencies",this.solution="see the log for the full error",this.data={}}}exports.ResolveErrors=ResolveErrors},55088:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SelfReference=void 0;const component_issue_1=__webpack_require__(50581);class SelfReference extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="a component has an import statement that points to itself",this.solution="edit the file and change the import statement to a relative path",this.data={},this.isTagBlocker=!1}}exports.SelfReference=SelfReference},89695:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.UntrackedDependencies=exports.MISSING_NESTED_DEPS_SPACE=void 0;const chalk_1=__importDefault(__webpack_require__(23729)),component_issue_1=__webpack_require__(50581);exports.MISSING_NESTED_DEPS_SPACE=" ".repeat(component_issue_1.ISSUE_FORMAT_SPACE_COUNT+2);class UntrackedDependencies extends component_issue_1.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(k=>{let space=component_issue_1.ISSUE_FORMAT_SPACE;return this.data[k].nested&&(space=exports.MISSING_NESTED_DEPS_SPACE),`${space}${k} -> ${untrackedFilesComponentIssueToString(this.data[k])}`}).join(`
673
+ `)}}exports.MissingPackagesDependenciesOnFs=MissingPackagesDependenciesOnFs},88821:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MultipleEnvs=void 0;const component_issue_1=__webpack_require__(50581);class MultipleEnvs extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="multiple envs",this.solution=`set the desired env by running "bit env set <component> <env>", if it doesn't work, run "bit aspect unset <component> <unwanted-env-id>". to keep troubleshooting run "bit aspect list <component-id>"`,this.isTagBlocker=!0}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data.join(", ")}}exports.MultipleEnvs=MultipleEnvs},57524:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.NonLoadedEnv=void 0;const component_issue_1=__webpack_require__(50581);class NonLoadedEnv extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="failed loading env",this.solution='run "bit install"',this.isTagBlocker=!0}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data}}exports.NonLoadedEnv=NonLoadedEnv},3185:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ParseErrors=void 0;const component_issue_1=__webpack_require__(50581);class ParseErrors extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="error found while parsing the file",this.solution="edit the file and fix the parsing error",this.data={}}}exports.ParseErrors=ParseErrors},68545:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RelativeComponentsAuthored=void 0;const component_id_1=__webpack_require__(99978),component_issue_1=__webpack_require__(50581);class RelativeComponentsAuthored extends component_issue_1.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=relativeComponentsAuthoredIssuesToString}serialize(){const obj=Object.keys(this.data).reduce((acc,fileName)=>(acc[fileName]=this.data[fileName].map(record=>({importSource:record.importSource,componentId:record.componentId.serialize(),relativePath:record.relativePath})),acc),{});return JSON.stringify(obj)}deserialize(dataStr){const data=JSON.parse(dataStr);return Object.keys(data).forEach(fileName=>{data[fileName]=data[fileName].map(record=>({importSource:record.importSource,componentId:component_id_1.ComponentID.deserialize(record.componentId),relativePath:record.relativePath}))}),data}}exports.RelativeComponentsAuthored=RelativeComponentsAuthored;function relativeComponentsAuthoredIssuesToString(relativeEntries){const stringifyEntry=entry=>`"${entry.importSource}" (${entry.componentId.toString()})`;return relativeEntries.map(stringifyEntry).join(", ")}},41420:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RelativeComponents=void 0;const component_issue_1=__webpack_require__(50581);class RelativeComponents extends component_issue_1.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(data){return(0,component_issue_1.deserializeWithBitId)(data)}}exports.RelativeComponents=RelativeComponents},84981:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RemovedDependencies=void 0;const component_issue_1=__webpack_require__(50581);class RemovedDependencies extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="dependencies used in the code were deleted",this.solution='if the dependencies are no longer needed, remove them from the code. otherwise, to get it installed from main run "bit install <missing dep>". to undo the delete, run "bit recover"',this.isTagBlocker=!0}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data.join(", ")}}exports.RemovedDependencies=RemovedDependencies},5649:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ResolveErrors=void 0;const component_issue_1=__webpack_require__(50581);class ResolveErrors extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="error found while resolving the file dependencies",this.solution="see the log for the full error",this.data={}}}exports.ResolveErrors=ResolveErrors},55088:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SelfReference=void 0;const component_issue_1=__webpack_require__(50581);class SelfReference extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="a component has an import statement that points to itself",this.solution="edit the file and change the import statement to a relative path",this.data={},this.isTagBlocker=!1}}exports.SelfReference=SelfReference},89695:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.UntrackedDependencies=exports.MISSING_NESTED_DEPS_SPACE=void 0;const chalk_1=__importDefault(__webpack_require__(23729)),component_issue_1=__webpack_require__(50581);exports.MISSING_NESTED_DEPS_SPACE=" ".repeat(component_issue_1.ISSUE_FORMAT_SPACE_COUNT+2);class UntrackedDependencies extends component_issue_1.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(k=>{let space=component_issue_1.ISSUE_FORMAT_SPACE;return this.data[k].nested&&(space=exports.MISSING_NESTED_DEPS_SPACE),`${space}${k} -> ${untrackedFilesComponentIssueToString(this.data[k])}`}).join(`
674
674
  `)}}exports.UntrackedDependencies=UntrackedDependencies;function untrackedFilesComponentIssueToString(value){return value.untrackedFiles.map(curr=>curr.existing?`${chalk_1.default.yellow(curr.relativePath)}`:curr.relativePath).join(", ")}},24636:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.VersionDropdown=exports.DetailedVersion=exports.SimpleVersion=void 0;var version_dropdown_placeholder_1=__webpack_require__(38052);Object.defineProperty(exports,"SimpleVersion",{enumerable:!0,get:function(){return version_dropdown_placeholder_1.SimpleVersion}}),Object.defineProperty(exports,"DetailedVersion",{enumerable:!0,get:function(){return version_dropdown_placeholder_1.DetailedVersion}});var version_dropdown_1=__webpack_require__(18827);Object.defineProperty(exports,"VersionDropdown",{enumerable:!0,get:function(){return version_dropdown_1.VersionDropdown}})},43272:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LaneInfo=void 0;var lane_info_1=__webpack_require__(89053);Object.defineProperty(exports,"LaneInfo",{enumerable:!0,get:function(){return lane_info_1.LaneInfo}})},89053:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.LaneInfo=void 0;const lanes_ui_models_lanes_model_1=__webpack_require__(97223),react_1=__importDefault(__webpack_require__(59496)),design_ui_surfaces_menu_link_item_1=__webpack_require__(50419),evangelist_elements_icon_1=__webpack_require__(6281),lane_info_module_scss_1=__importDefault(__webpack_require__(72154));function LaneInfo({id,currentLane}){const isCurrent=currentLane&&id.isEqual(currentLane.id);return react_1.default.createElement("div",{key:id.toString()},react_1.default.createElement(design_ui_surfaces_menu_link_item_1.MenuLinkItem,{active:isCurrent,href:lanes_ui_models_lanes_model_1.LanesModel.getLaneUrl(id),className:lane_info_module_scss_1.default.versionRow},react_1.default.createElement("span",null,react_1.default.createElement(evangelist_elements_icon_1.Icon,{className:lane_info_module_scss_1.default.laneIcon,of:"lane"}),id.toString())))}exports.LaneInfo=LaneInfo},38052:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.DetailedVersion=exports.SimpleVersion=void 0;const react_1=__importDefault(__webpack_require__(59496)),design_ui_styles_ellipsis_1=__webpack_require__(25747),classnames_1=__importDefault(__webpack_require__(97754)),semver=__importStar(__webpack_require__(9131)),evangelist_elements_icon_1=__webpack_require__(6281),design_ui_time_ago_1=__webpack_require__(69327),design_ui_avatar_1=__webpack_require__(7719),base_ui_loaders_skeleton_1=__webpack_require__(16623),version_dropdown_placeholder_module_scss_1=__importDefault(__webpack_require__(97276));function SimpleVersion(_a){var{currentVersion,className,disabled,hasMoreVersions,isTag=version=>semver.valid(version)!==null,useCurrentVersionLog,showFullVersion,loading}=_a,rest=__rest(_a,["currentVersion","className","disabled","hasMoreVersions","isTag","useCurrentVersionLog","showFullVersion","loading"]);if(loading)return react_1.default.createElement(base_ui_loaders_skeleton_1.WordSkeleton,{className:version_dropdown_placeholder_module_scss_1.default.loader,length:9});const formattedVersion=showFullVersion||isTag(currentVersion)?currentVersion:currentVersion?.slice(0,6);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(version_dropdown_placeholder_module_scss_1.default.simple,className,disabled&&version_dropdown_placeholder_module_scss_1.default.disabled)}),react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:(0,classnames_1.default)(version_dropdown_placeholder_module_scss_1.default.versionName),onClick:rest.onClick},formattedVersion),hasMoreVersions&&react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"fat-arrow-down",onClick:rest.onClick}))}exports.SimpleVersion=SimpleVersion;function DetailedVersion(_a){var{currentVersion,className,disabled,hasMoreVersions,isTag=version=>semver.valid(version)!==null,loading,useCurrentVersionLog,showFullVersion}=_a,rest=__rest(_a,["currentVersion","className","disabled","hasMoreVersions","isTag","loading","useCurrentVersionLog","showFullVersion"]);const currentVersionLog=useCurrentVersionLog?.({skip:loading,version:currentVersion}),{displayName,message,username,email,date:_date,profileImage}=currentVersionLog||{},author=react_1.default.useMemo(()=>({displayName:displayName??"",email,name:username??"",profileImage}),[displayName,email,username,profileImage]),formattedVersion=showFullVersion||isTag(currentVersion)?currentVersion:currentVersion?.slice(0,6),date=_date?new Date(+_date):void 0,timestamp=react_1.default.useMemo(()=>date?new Date(+date).toString():new Date().toString(),[date]);return loading?react_1.default.createElement(base_ui_loaders_skeleton_1.WordSkeleton,{className:version_dropdown_placeholder_module_scss_1.default.loader,length:9}):react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(version_dropdown_placeholder_module_scss_1.default.detailed,className,disabled&&version_dropdown_placeholder_module_scss_1.default.disabled)}),react_1.default.createElement(design_ui_avatar_1.UserAvatar,{size:24,account:author??{},className:version_dropdown_placeholder_module_scss_1.default.versionUserAvatar,showTooltip:!0,onClick:rest.onClick}),react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:(0,classnames_1.default)(version_dropdown_placeholder_module_scss_1.default.versionName),onClick:rest.onClick},formattedVersion),commitMessage(message,rest.onClick),react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:version_dropdown_placeholder_module_scss_1.default.versionTimestamp,onClick:rest.onClick},react_1.default.createElement(design_ui_time_ago_1.TimeAgo,{date:timestamp,onClick:rest.onClick})),hasMoreVersions&&react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"fat-arrow-down",onClick:rest.onClick}))}exports.DetailedVersion=DetailedVersion;function commitMessage(message,onClick){return!message||message===""?react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:version_dropdown_placeholder_module_scss_1.default.emptyMessage,onClick},"No commit message"):react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:version_dropdown_placeholder_module_scss_1.default.commitMessage,onClick},message)}},18827:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.VersionDropdown=exports.LOCAL_VERSION=void 0;const react_1=__importStar(__webpack_require__(59496)),design_ui_surfaces_menu_link_item_1=__webpack_require__(50419),evangelist_surfaces_dropdown_1=__webpack_require__(47676),ui_foundation_ui_use_box_tab_1=__webpack_require__(11058),design_ui_avatar_1=__webpack_require__(7719),base_ui_loaders_skeleton_1=__webpack_require__(16623),classnames_1=__importDefault(__webpack_require__(97754)),version_dropdown_module_scss_1=__importDefault(__webpack_require__(40926)),version_info_1=__webpack_require__(27085),lane_info_1=__webpack_require__(43272),version_dropdown_placeholder_1=__webpack_require__(38052);exports.LOCAL_VERSION="workspace",exports.VersionDropdown=react_1.default.memo(_VersionDropdown);const VersionMenu=react_1.default.memo(_VersionMenu);function _VersionDropdown(_a){var{currentVersion,latestVersion,localVersion,useCurrentVersionLog,hasMoreVersions,loading,overrideVersionHref,className,placeholderClassName,getActiveTabIndex,dropdownClassName,menuClassName,showVersionDetails=!0,disabled,PlaceholderComponent:_PlaceholderComponent,currentLane,useComponentVersions,lanes}=_a,rest=__rest(_a,["currentVersion","latestVersion","localVersion","useCurrentVersionLog","hasMoreVersions","loading","overrideVersionHref","className","placeholderClassName","getActiveTabIndex","dropdownClassName","menuClassName","showVersionDetails","disabled","PlaceholderComponent","currentLane","useComponentVersions","lanes"]);const[key,setKey]=(0,react_1.useState)(0),singleVersion=!hasMoreVersions,[open,setOpen]=(0,react_1.useState)(!1);react_1.default.useEffect(()=>{loading&&open&&setOpen(!1)},[loading]);const handlePlaceholderClicked=e=>{loading||e.target===e.currentTarget&&setOpen(o=>!o)},defaultPlaceholder=react_1.default.createElement(version_dropdown_placeholder_1.SimpleVersion,{useCurrentVersionLog,disabled,className:placeholderClassName,currentVersion,onClick:handlePlaceholderClicked,hasMoreVersions,loading,showFullVersion:currentVersion==="workspace"}),PlaceholderComponent=_PlaceholderComponent?react_1.default.createElement(_PlaceholderComponent,{useCurrentVersionLog,disabled,className:placeholderClassName,currentVersion,onClick:handlePlaceholderClicked,hasMoreVersions,loading,showFullVersion:currentVersion==="workspace"}):defaultPlaceholder;return disabled||singleVersion&&!loading?react_1.default.createElement("div",{className:(0,classnames_1.default)(version_dropdown_module_scss_1.default.noVersions,className)},PlaceholderComponent):react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(version_dropdown_module_scss_1.default.versionDropdown,className)}),react_1.default.createElement(evangelist_surfaces_dropdown_1.Dropdown,{className:(0,classnames_1.default)(version_dropdown_module_scss_1.default.dropdown,dropdownClassName),dropClass:(0,classnames_1.default)(version_dropdown_module_scss_1.default.menu,menuClassName),open,onClick:handlePlaceholderClicked,onClickOutside:()=>setOpen(!1),onChange:(_e,_open)=>_open&&setKey(x=>x+1),PlaceholderComponent:_a2=>{var{children}=_a2,other=__rest(_a2,["children"]);return react_1.default.createElement("div",Object.assign({},other,{className:placeholderClassName,onClick:handlePlaceholderClicked}),children)},placeholder:PlaceholderComponent},react_1.default.createElement(VersionMenu,{className:menuClassName,key,currentVersion,latestVersion,localVersion,overrideVersionHref,showVersionDetails,currentLane,getActiveTabIndex,lanes,useVersions:useComponentVersions,open})))}const defaultActiveTabIndex=(currentVersion,tabs=[],tags,snaps)=>(snaps||[]).some(snap=>snap.version===currentVersion)?tabs.findIndex(tab=>tab.name==="SNAP"):0,VERSION_TAB_NAMES=["TAG","SNAP","LANE"];function _VersionMenu(_a){var _b,_c,{currentVersion,localVersion,latestVersion,overrideVersionHref,showVersionDetails,useVersions,currentLane,lanes,getActiveTabIndex=defaultActiveTabIndex,loading:loadingFromProps,open}=_a,rest=__rest(_a,["currentVersion","localVersion","latestVersion","overrideVersionHref","showVersionDetails","useVersions","currentLane","lanes","getActiveTabIndex","loading","open"]);const{snaps,tags,loading:loadingVersions}=useVersions?.()||{},loading=loadingFromProps||loadingVersions,tabs=react_1.default.useMemo(()=>VERSION_TAB_NAMES.map(name=>{switch(name){case"SNAP":return{name,payload:snaps||[]};case"LANE":return{name,payload:lanes||[]};default:return{name,payload:tags||[]}}}).filter(tab=>tab.payload.length>0),[snaps?.length,tags?.length,lanes?.length,loading]),[activeTabIndex,setActiveTab]=react_1.default.useState(getActiveTabIndex(currentVersion,tabs,tags,snaps,currentLane)),activeTab=react_1.default.useMemo(()=>activeTabIndex!==void 0?tabs[activeTabIndex]:void 0,[activeTabIndex,tabs]);react_1.default.useEffect(()=>{if(!currentLane||tabs.length===0)return;const _activeTabIndex=getActiveTabIndex(currentVersion,tabs,tags,snaps,currentLane);_activeTabIndex!==activeTabIndex&&setActiveTab(_activeTabIndex)},[currentLane,tabs.length,tags?.length,snaps?.length,currentVersion,loading]);const multipleTabs=tabs.length>1,message=multipleTabs?"Switch to view tags, snaps, or lanes":`Switch between ${(_b=tabs[0])===null||_b===void 0?void 0:_b.name.toLocaleLowerCase()}s`,showTab=activeTabIndex!==void 0&&((_c=tabs[activeTabIndex])===null||_c===void 0?void 0:_c.payload.length)>0,_rowRenderer=react_1.default.useCallback(function({index}){const{name,payload=[]}=activeTab||{},item=payload[index];if(!item)return null;if(name==="LANE"){const lane=item;return react_1.default.createElement(lane_info_1.LaneInfo,Object.assign({key:lane.id.toString(),currentLane},lane))}const version=item;return react_1.default.createElement(version_info_1.VersionInfo,Object.assign({key:version.version,currentVersion,latestVersion,overrideVersionHref,showDetails:showVersionDetails},version))},[activeTab,currentVersion,latestVersion,showVersionDetails,currentLane?.id.toString(),showTab]),rowRenderer=react_1.default.useMemo(()=>showTab&&activeTab?_rowRenderer:()=>null,[showTab,activeTab,_rowRenderer]),ActiveTab=react_1.default.useMemo(()=>activeTab?.payload.map((payload,index)=>rowRenderer({index})),[activeTab]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(version_dropdown_module_scss_1.default.versionMenuContainer,!open&&version_dropdown_module_scss_1.default.hide)}),react_1.default.createElement("div",{className:version_dropdown_module_scss_1.default.top},loading&&react_1.default.createElement(base_ui_loaders_skeleton_1.LineSkeleton,{count:6,className:version_dropdown_module_scss_1.default.loader}),!loading&&react_1.default.createElement("div",{className:(0,classnames_1.default)(version_dropdown_module_scss_1.default.titleContainer,version_dropdown_module_scss_1.default.title)},message),!loading&&localVersion&&react_1.default.createElement(design_ui_surfaces_menu_link_item_1.MenuLinkItem,{href:"?",active:currentVersion===exports.LOCAL_VERSION,className:(0,classnames_1.default)(version_dropdown_module_scss_1.default.versionRow,version_dropdown_module_scss_1.default.localVersion)},react_1.default.createElement("div",{className:version_dropdown_module_scss_1.default.version},react_1.default.createElement(design_ui_avatar_1.UserAvatar,{size:24,account:{},className:version_dropdown_module_scss_1.default.versionUserAvatar}),react_1.default.createElement("span",{className:version_dropdown_module_scss_1.default.versionName},exports.LOCAL_VERSION)))),react_1.default.createElement("div",{className:(0,classnames_1.default)(multipleTabs&&version_dropdown_module_scss_1.default.tabs)},multipleTabs&&tabs.map(({name},index)=>react_1.default.createElement(ui_foundation_ui_use_box_tab_1.Tab,{className:version_dropdown_module_scss_1.default.tab,key:name,isActive:activeTabIndex===index,onClick:()=>setActiveTab(index)},name))),react_1.default.createElement("div",{className:version_dropdown_module_scss_1.default.versionContainerRoot},ActiveTab))}},27085:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.VersionInfo=void 0;var version_info_1=__webpack_require__(62078);Object.defineProperty(exports,"VersionInfo",{enumerable:!0,get:function(){return version_info_1.VersionInfo}})},62078:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.VersionInfo=void 0;const design_ui_surfaces_menu_link_item_1=__webpack_require__(50419),design_ui_time_ago_1=__webpack_require__(69327),component_ui_version_label_1=__webpack_require__(35447),react_1=__importStar(__webpack_require__(59496)),design_ui_avatar_1=__webpack_require__(7719),design_ui_styles_ellipsis_1=__webpack_require__(25747),classnames_1=__importDefault(__webpack_require__(97754)),version_info_module_scss_1=__importDefault(__webpack_require__(63432));exports.VersionInfo=react_1.default.memo(react_1.default.forwardRef(_VersionInfo));function _VersionInfo({version,currentVersion,latestVersion,date,username,displayName,email,overrideVersionHref,showDetails,message,tag,profileImage},ref){const isCurrent=version===currentVersion,author=(0,react_1.useMemo)(()=>({displayName:displayName??"",email,name:username??"",profileImage}),[displayName,email,username,profileImage]),timestamp=(0,react_1.useMemo)(()=>date?new Date(parseInt(date)).toString():new Date().toString(),[date]),currentVersionRef=(0,react_1.useRef)(null);(0,react_1.useEffect)(()=>{var _a;isCurrent&&((_a=currentVersionRef.current)===null||_a===void 0||_a.scrollIntoView({block:"nearest"}))},[isCurrent]);const href=overrideVersionHref?overrideVersionHref(version):`?version=${version}`,formattedVersion=(0,react_1.useMemo)(()=>tag?version:version.slice(0,6),[tag,version]),isLatest=version===latestVersion;return react_1.default.createElement("div",{ref:ref||currentVersionRef},react_1.default.createElement(design_ui_surfaces_menu_link_item_1.MenuLinkItem,{active:isCurrent,href,className:version_info_module_scss_1.default.versionRow},react_1.default.createElement("div",{className:version_info_module_scss_1.default.version},react_1.default.createElement(design_ui_avatar_1.UserAvatar,{size:24,account:author,className:version_info_module_scss_1.default.versionUserAvatar,showTooltip:!0}),react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:(0,classnames_1.default)(version_info_module_scss_1.default.versionName)},formattedVersion),isLatest&&react_1.default.createElement(component_ui_version_label_1.VersionLabel,{status:"latest"}),react_1.default.createElement(CommitMessage,{message,showDetails})),react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:version_info_module_scss_1.default.versionTimestamp},react_1.default.createElement(design_ui_time_ago_1.TimeAgo,{date:timestamp}))))}function CommitMessage({message,showDetails}){return showDetails?!message||message===""?react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:version_info_module_scss_1.default.emptyMessage},"No commit message"):react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:version_info_module_scss_1.default.commitMessage},message):null}},69301:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.AspectEntry=void 0;class AspectEntry{constructor(id,legacyEntry){this.id=id,this.legacyEntry=legacyEntry}get legacy(){return this.legacyEntry}get isLegacy(){return!!this.config?.__legacy}get config(){return this.legacy.config}set config(config){this.legacy.config=config}get data(){return this.legacy.data}get isRemoved(){return this.legacy.isRemoved}set data(val){this.legacy.data=val}transform(newData){const newEntry=this.clone();return newEntry.data=newData,new AspectEntry(this.id,newEntry.legacy)}clone(){return new AspectEntry(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"}}}exports.AspectEntry=AspectEntry},11846:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;function _anyFs(){const data=__webpack_require__(21186);return _anyFs=function(){return data},data}function _eol(){const data=__webpack_require__(58225);return _eol=function(){return data},data}function _path(){const data=_interopRequireDefault(__webpack_require__(62005));return _path=function(){return data},data}function _toolboxPath(){const data=__webpack_require__(31461);return _toolboxPath=function(){return data},data}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}class ComponentFS extends _anyFs().MemoryFS{constructor(files){super();this.files=files}get hash(){return""}byRegex(extension){return this.files.filter(file=>file.path.match(extension))}byGlob(patterns){const{includePatterns,excludePatterns}=(0,_toolboxPath().splitPatterns)(patterns);return this.files.filter(file=>(0,_toolboxPath().matchPatterns)(file.relative,includePatterns,excludePatterns))}toObject(){return this.files.map(file=>({path:file.path,contents:file.contents}))}static fromVinyls(files){const fs=new ComponentFS(files);return files.forEach(file=>{let dirPath=file.relativeDir;dirPath.startsWith("/")||(dirPath=_path().default.join("/",dirPath)),fs.mkdirpSync(dirPath),fs.writeFileSync(`/${file.relative}`,(0,_eol().auto)(file.contents||""))}),fs}}exports.default=ComponentFS},87690:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentMap=void 0;class ComponentMap{constructor(hashMap){this.hashMap=hashMap}byComponent(component){return this.hashMap.get(component.id.toString())}get components(){return this.toArray().map(([component])=>component)}get(component){return this.hashMap.get(component.id.toString())}getValueByComponentId(componentId){const tuple=this.hashMap.get(componentId.toString());return tuple?tuple[1]:null}toArray(){return Array.from(this.hashMap.values())}map(predicate){const tuples=this.toArray().map(([component,value])=>{const newValue=predicate(value,component);return[component.id.toString(),[component,newValue]]});return new ComponentMap(new Map(tuples))}async asyncMap(predicate){const tuplesP=this.toArray().map(async([component,value])=>{const newValue=await predicate(value,component);return[component.id.toString(),[component,newValue]]}),tuples=await Promise.all(tuplesP);return new ComponentMap(new Map(tuples))}forEach(predicate){this.toArray().forEach(([component,value])=>{predicate(value,component)})}flattenValue(){return this.toArray().reduce((acc,[,value])=>(acc=acc.concat(value),acc),[])}filter(predicate){const asMap=this.toArray().filter(([,value])=>predicate(value)).map(([component,value])=>[component.id.toString(),[component,value]]);return new ComponentMap(new Map(asMap))}keys(){return this.hashMap.keys()}static create(rawMap){const newMap=rawMap.map(([component,data])=>[component.id.toString(),[component,data]]);return new ComponentMap(new Map(newMap))}static as(components,predicate){const tuples=components.map(component=>[component.id.toString(),[component,predicate(component)]]);return new ComponentMap(new Map(tuples))}static async asAsync(components,predicate){const tuples=await Promise.all(components.map(async component=>[component.id.toString(),[component,await predicate(component)]]));return new ComponentMap(new Map(tuples))}}exports.ComponentMap=ComponentMap},12178:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"ComponentMap",{enumerable:!0,get:function(){return _componentMap().ComponentMap}});function _componentMap(){const data=__webpack_require__(87690);return _componentMap=function(){return data},data}},42259:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.ComponentAspect=void 0;function _harmony(){const data=__webpack_require__(55669);return _harmony=function(){return data},data}const ComponentAspect=exports.ComponentAspect=_harmony().Aspect.create({id:"teambit.component/component",dependencies:[],defaultConfig:{}});var _default=exports.default=ComponentAspect},60195:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Component=void 0;function _toolboxString(){const data=__webpack_require__(58315);return _toolboxString=function(){return data},data}function _bitError(){const data=__webpack_require__(74155);return _bitError=function(){return data},data}function _lodash(){const data=__webpack_require__(32699);return _lodash=function(){return data},data}function _tagMap(){const data=__webpack_require__(50310);return _tagMap=function(){return data},data}function _exceptions(){const data=__webpack_require__(54428);return _exceptions=function(){return data},data}class Component{constructor(id,head=null,_state,tags=new(_tagMap()).TagMap,factory){this.id=id,this.head=head,this._state=_state,this.tags=tags,this.factory=factory}get mainFile(){return this.state.mainFile}get state(){return this._state}set state(state){this._state=state}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(err){if(err instanceof _exceptions().CouldNotFindLatest)return this.head.hash;throw err}}get(id){return this.state.aspects.get(id)?.serialize()}async getLogs(filter){const allLogs=await this.factory.getLogs(this.id,!1,filter?.head);if(!filter)return allLogs;const{type,limit,offset,sort}=filter,typeFilter=snap=>type==="tag"?snap.tag:type==="snap"?!snap.tag:!0;let filteredLogs=type&&allLogs.filter(typeFilter)||allLogs;return sort!=="asc"&&(filteredLogs=filteredLogs.reverse()),limit&&(filteredLogs=(0,_lodash().slice)(filteredLogs,offset,limit+(offset||0))),filteredLogs}stringify(){return JSON.stringify({id:this.id,head:this.head})}get displayName(){return this.id.name.split("-").map(token=>(0,_toolboxString().capitalize)(token)).join(" ")}tag(version){}isModified(){return this.factory.isModified(this)}isDeleted(){return this.state._consumer.isRemoved()}isOutdated(){if(!this.latest)return!1;const latestTag=this.tags.byVersion(this.latest);return latestTag?this.head?.hash!==latestTag?.hash:!1}isNew(){return Promise.resolve(this.head===null)}loadState(snapId){return this.factory.getState(this.id,snapId)}loadSnap(snapId){const snapToGet=snapId||this.head?.hash;if(!snapToGet)throw new(_bitError()).BitError("could not load snap for new components");return this.factory.getSnap(this.id,snapToGet)}snapsIterable(snapId,options={}){const snapToStart=snapId||this.head?.hash;let nextSnaps=[snapToStart],done;snapToStart||(done=!0);const iterator={next:async()=>{if(done)return{value:void 0,done};const currSnapId=nextSnaps.shift(),snap=await this.loadSnap(currSnapId);return snap.parents&&snap.parents.length&&(options.firstParentOnly?nextSnaps.push(snap.parents[0]):nextSnaps=nextSnaps.concat(snap.parents)),nextSnaps.length?options.stopFn&&(done=await options.stopFn(snap)):done=!0,{value:snap,done:void 0}}};return{[Symbol.asyncIterator]:()=>iterator}}async getClosestTag(snapToStartFrom){const tagsHashMap=this.tags.getHashMap(),stopFn=async snap=>!!tagsHashMap.has(snap.hash),iterable=this.snapsIterable(snapToStartFrom,{firstParentOnly:!0,stopFn}),snaps=[];for await(const snap of iterable)snaps.push(snap);if(snaps.length){const hashOfLastSnap=snaps[snaps.length-1].hash;return tagsHashMap.get(hashOfLastSnap)}}getTag(){const currentVersion=this.id.version;if(!!currentVersion)return this.tags.byVersion(currentVersion)||this.tags.byHash(currentVersion)}getSnapHash(){if(!this.id.hasVersion())return;const tag=this.tags.byVersion(this.id.version);return tag?tag.hash:this.id.version}async getCurrentSnap(){const snap=this.getSnapHash();if(!!snap)return this.loadSnap(snap)}checkout(version){}write(path,fs){}equals(component){return component.id.toString()===this.id.toString()}}exports.Component=Component},5075:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Config=void 0;class Config{constructor(consumerComponent){this.consumerComponent=consumerComponent}get main(){return this.consumerComponent.mainFile}get extensions(){return this.consumerComponent.extensions}}exports.Config=Config},90406:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CouldNotFindLatest=void 0;class CouldNotFindLatest extends Error{constructor(semverArray){super(`could not find latest semver in array: ${semverArray.join(", ")}`)}report(){return this.message}}exports.CouldNotFindLatest=CouldNotFindLatest},339:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.HostNotFound=void 0;class HostNotFound extends Error{constructor(hostName){super();this.hostName=hostName}toString(){return`[component] error: host '${this.hostName}' was not found`}}exports.HostNotFound=HostNotFound},54428:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"CouldNotFindLatest",{enumerable:!0,get:function(){return _couldNotFindLatest().CouldNotFindLatest}}),Object.defineProperty(exports,"HostNotFound",{enumerable:!0,get:function(){return _hostNotFound().HostNotFound}}),Object.defineProperty(exports,"MainFileNotFound",{enumerable:!0,get:function(){return _mainFileNotFound().MainFileNotFound}}),Object.defineProperty(exports,"NothingToSnap",{enumerable:!0,get:function(){return _nothingToSnap().default}});function _nothingToSnap(){const data=_interopRequireDefault(__webpack_require__(83277));return _nothingToSnap=function(){return data},data}function _hostNotFound(){const data=__webpack_require__(339);return _hostNotFound=function(){return data},data}function _couldNotFindLatest(){const data=__webpack_require__(90406);return _couldNotFindLatest=function(){return data},data}function _mainFileNotFound(){const data=__webpack_require__(58904);return _mainFileNotFound=function(){return data},data}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}},58904:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MainFileNotFound=void 0;class MainFileNotFound extends Error{constructor(id,mainFile){super();this.id=id,this.mainFile=mainFile}toString(){return`[component] error: main file ${this.mainFile} for component ${this.id.toString()} was not found`}}exports.MainFileNotFound=MainFileNotFound},83277:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;class NothingToSnap extends Error{}exports.default=NothingToSnap},72963:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentHostModel=void 0;function _ui(){const data=__webpack_require__(4744);return _ui=function(){return data},data}class ComponentHostModel{constructor(name,components){this.name=name,this.components=components}static from(data){return new ComponentHostModel(data.getHost.name,_ui().ComponentModel.fromArray(data.getHost.list))}}exports.ComponentHostModel=ComponentHostModel},23384:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={useComponentHost:!0};Object.defineProperty(exports,"useComponentHost",{enumerable:!0,get:function(){return _useComponentHost().useComponentHost}});function _useComponentHost(){const data=__webpack_require__(28796);return _useComponentHost=function(){return data},data}var _componentHostModel=__webpack_require__(72963);Object.keys(_componentHostModel).forEach(function(key){key==="default"||key==="__esModule"||Object.prototype.hasOwnProperty.call(_exportNames,key)||key in exports&&exports[key]===_componentHostModel[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _componentHostModel[key]}})})},28796:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useComponentHost=useComponentHost;function _uiFoundationUiHooks(){const data=__webpack_require__(25338);return _uiFoundationUiHooks=function(){return data},data}function _client(){const data=__webpack_require__(97299);return _client=function(){return data},data}function _componentHostModel(){const data=__webpack_require__(72963);return _componentHostModel=function(){return data},data}const COMPONENT_HOST=(0,_client().gql)`
675
675
  {
676
676
  getHost {