@teambit/env 1.0.188 → 1.0.189

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. package/artifacts/__bit_junit.xml +1 -1
  2. package/artifacts/env-template/public/{206.ccc4b8334526dbc48961.js → 291.1602676adae8a95a4658.js} +2 -2
  3. package/artifacts/env-template/public/{310.307965d54e009dc3367d.js → 310.267e5a2aa53c531c0fbd.js} +30 -29
  4. package/artifacts/env-template/public/{700.abf31755134a9a0e5356.js → 762.b304d8bb3020bb984902.js} +11 -11
  5. package/artifacts/env-template/public/assets-manifest.json +18 -18
  6. package/artifacts/env-template/public/compositions.e09b1696fc2e4c0ab871.js +17 -0
  7. package/artifacts/env-template/public/compositions.html +1 -1
  8. package/artifacts/env-template/public/{overview.008ec3a750c4b015464a.js → overview.dc2501b101a697f46686.js} +1 -1
  9. package/artifacts/env-template/public/overview.html +1 -1
  10. package/artifacts/env-template/public/peers.3ca63a210bfefbfe2dce.js +1 -0
  11. package/artifacts/env-template/public/{preview-root.475970907ce1877dcde2.js → preview-root.0ec292e5c07b0f7dbd11.js} +1 -1
  12. package/artifacts/env-template/public/static/css/{310.752c23fb.css → 310.9f487c8a.css} +1 -1
  13. package/artifacts/preview/teambit_envs_env-preview.js +1 -1
  14. package/artifacts/schema.json +1092 -0
  15. package/{compositions-1710040632859.js → compositions-1710224484125.js} +1 -1
  16. package/dist/env.aspect.js.map +1 -1
  17. package/dist/env.composition.js.map +1 -1
  18. package/dist/env.env.js.map +1 -1
  19. package/dist/env.main.runtime.js.map +1 -1
  20. package/dist/index.js.map +1 -1
  21. package/dist/preview-1710224484125.js +7 -0
  22. package/{overview-1710040632859.js → overview-1710224484125.js} +1 -1
  23. package/package.json +8 -8
  24. package/artifacts/env-template/public/compositions.4571e65b506129457066.js +0 -17
  25. package/artifacts/env-template/public/peers.09dfec9a411b4607437a.js +0 -1
  26. package/dist/preview-1710040632859.js +0 -7
  27. /package/artifacts/env-template/public/{851.66d0ce171d9b9726d3c5.js → 851.d2664a57f5d46b636e5f.js} +0 -0
@@ -1,14 +1,14 @@
1
- (self.__loadChunks_EnvTemplate=self.__loadChunks_EnvTemplate||[]).push([[700],{84135:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BitError=void 0;class BitError extends Error{constructor(msg){super(msg||"");this.isUserError=!0,this.name=this.constructor.name}report(){return this.message}}exports.BitError=BitError},75345:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BitError=void 0;var bit_error_1=__webpack_require__(84135);Object.defineProperty(exports,"BitError",{enumerable:!0,get:function(){return bit_error_1.BitError}})},68680:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentIdList=void 0;const lodash_1=__webpack_require__(58822),component_id_1=__webpack_require__(83947),component_version_1=__webpack_require__(10826);class ComponentIdList extends Array{toStringArray(){return this.map(componentId=>componentId.toString())}has(componentId){return Boolean(this.search(componentId))}hasWithoutVersion(componentId){return Boolean(this.searchWithoutVersion(componentId))}hasWithoutScopeAndVersion(componentId){return Boolean(this.searchWithoutScopeAndVersion(componentId))}search(componentId){return this.find(id=>id.fullName===componentId.fullName&&id.scope===componentId.scope&&id._legacy.hasSameVersion(componentId._legacy))}searchWithoutVersion(componentId){return this.find(id=>id.fullName===componentId.fullName&&id.scope===componentId.scope)}searchWithoutScopeAndVersion(componentId){return this.find(id=>id.fullName===componentId.fullName)}searchStrWithoutVersion(idStr){return this.find(id=>id.toStringWithoutVersion()===idStr)}filterExact(componentId){return this.filter(id=>id.fullName===componentId.fullName&&id.scope===componentId.scope&&id.hasSameVersion(componentId))}filterWithoutVersion(componentId){return this.filter(id=>id.fullName===componentId.fullName&&id.scope===componentId.scope)}removeIfExist(componentId){return ComponentIdList.fromArray(this.filter(id=>!id.isEqual(componentId)))}toObject(){return this.reduce((acc,componentId)=>(acc[componentId.toString()]=componentId,acc),{})}toString(){return this.map(id=>id.toString()).join(", ")}toGroupByIdWithoutVersion(){return this.reduce((acc,current)=>{const idStrWithoutVer=current.toStringWithoutVersion();return acc[idStrWithoutVer]?acc[idStrWithoutVer].push(current):acc[idStrWithoutVer]=new ComponentIdList(current),acc},{})}toGroupByScopeName(){return this.reduce((acc,current)=>{const scopeName=current.scope;return acc[scopeName]?acc[scopeName].push(current):acc[scopeName]=new ComponentIdList(current),acc},{})}findDuplicationsIgnoreVersion(){const duplications={};return this.forEach(id=>{const sameIds=this.filterWithoutVersion(id);sameIds.length>1&&(duplications[id.toStringWithoutVersion()]=sameIds)}),duplications}add(componentIds){componentIds.forEach(componentId=>{this.search(componentId)||this.push(componentId)})}static fromArray(ids){const componentIds=new ComponentIdList;return ids.forEach(id=>componentIds.push(id)),componentIds}static uniqFromArray(componentIds){const uniq=(0,lodash_1.uniqBy)(componentIds,id=>id.toString());return ComponentIdList.fromArray(uniq)}static fromStringArray(idsStr=[]){return ComponentIdList.fromArray(idsStr.map(id=>component_id_1.ComponentID.fromString(id)))}throwForDuplicationIgnoreVersion(){this.forEach(componentId=>{const found=this.filterWithoutVersion(componentId);if(found.length>1)throw new Error(`componentIds has "${componentId.toStringWithoutVersion()}" duplicated as following:
1
+ (self.__loadChunks_EnvTemplate=self.__loadChunks_EnvTemplate||[]).push([[762],{98658:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BitError=void 0;class BitError extends Error{constructor(msg){super(msg||"");this.isUserError=!0,this.name=this.constructor.name}report(){return this.message}}exports.BitError=BitError},81708:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BitError=void 0;var bit_error_1=__webpack_require__(98658);Object.defineProperty(exports,"BitError",{enumerable:!0,get:function(){return bit_error_1.BitError}})},87140:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentIdList=void 0;const lodash_1=__webpack_require__(58380),component_id_1=__webpack_require__(91428),component_version_1=__webpack_require__(97010);class ComponentIdList extends Array{toStringArray(){return this.map(componentId=>componentId.toString())}has(componentId){return Boolean(this.search(componentId))}hasWithoutVersion(componentId){return Boolean(this.searchWithoutVersion(componentId))}hasWithoutScopeAndVersion(componentId){return Boolean(this.searchWithoutScopeAndVersion(componentId))}search(componentId){return this.find(id=>id.fullName===componentId.fullName&&id.scope===componentId.scope&&id._legacy.hasSameVersion(componentId._legacy))}searchWithoutVersion(componentId){return this.find(id=>id.fullName===componentId.fullName&&id.scope===componentId.scope)}searchWithoutScopeAndVersion(componentId){return this.find(id=>id.fullName===componentId.fullName)}searchStrWithoutVersion(idStr){return this.find(id=>id.toStringWithoutVersion()===idStr)}filterExact(componentId){return this.filter(id=>id.fullName===componentId.fullName&&id.scope===componentId.scope&&id.hasSameVersion(componentId))}filterWithoutVersion(componentId){return this.filter(id=>id.fullName===componentId.fullName&&id.scope===componentId.scope)}removeIfExist(componentId){return ComponentIdList.fromArray(this.filter(id=>!id.isEqual(componentId)))}toObject(){return this.reduce((acc,componentId)=>(acc[componentId.toString()]=componentId,acc),{})}toString(){return this.map(id=>id.toString()).join(", ")}toGroupByIdWithoutVersion(){return this.reduce((acc,current)=>{const idStrWithoutVer=current.toStringWithoutVersion();return acc[idStrWithoutVer]?acc[idStrWithoutVer].push(current):acc[idStrWithoutVer]=new ComponentIdList(current),acc},{})}toGroupByScopeName(){return this.reduce((acc,current)=>{const scopeName=current.scope;return acc[scopeName]?acc[scopeName].push(current):acc[scopeName]=new ComponentIdList(current),acc},{})}findDuplicationsIgnoreVersion(){const duplications={};return this.forEach(id=>{const sameIds=this.filterWithoutVersion(id);sameIds.length>1&&(duplications[id.toStringWithoutVersion()]=sameIds)}),duplications}add(componentIds){componentIds.forEach(componentId=>{this.search(componentId)||this.push(componentId)})}static fromArray(ids){const componentIds=new ComponentIdList;return ids.forEach(id=>componentIds.push(id)),componentIds}static uniqFromArray(componentIds){const uniq=(0,lodash_1.uniqBy)(componentIds,id=>id.toString());return ComponentIdList.fromArray(uniq)}static fromStringArray(idsStr=[]){return ComponentIdList.fromArray(idsStr.map(id=>component_id_1.ComponentID.fromString(id)))}throwForDuplicationIgnoreVersion(){this.forEach(componentId=>{const found=this.filterWithoutVersion(componentId);if(found.length>1)throw new Error(`componentIds has "${componentId.toStringWithoutVersion()}" duplicated as following:
2
2
  ${found.map(id=>id.toString()).join(`
3
- `)}`)})}toVersionLatest(){return ComponentIdList.uniqFromArray(this.map(id=>id.changeVersion(component_version_1.LATEST_VERSION)))}clone(){return ComponentIdList.fromArray(this.map(id=>id.clone()))}}exports.ComponentIdList=ComponentIdList},32664:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentID=void 0;const legacy_bit_id_1=__webpack_require__(92439),exceptions_1=__webpack_require__(35886);class ComponentID{constructor(_legacy,_scope){if(this._legacy=_legacy,this._scope=_scope,!_legacy.name)throw new Error(`ComponentID expects to get an object with "name" prop. got ${_legacy}`);if(!_scope&&!_legacy.scope)throw new exceptions_1.MissingScope(_legacy)}hasVersion(){return this._legacy.hasVersion()}get version(){return this._legacy.version}get namespace(){return this._legacy.name.split("/").slice(0,-1).join("/")}get fullName(){return this._legacy.name}get name(){const arr=this._legacy.name.split("/");return arr[arr.length-1]}get scope(){const scope=this._legacy.scope;if(scope)return scope;if(!this._scope)throw new Error("scope cannot be undefined");return this._scope}changeScope(scopeName){const legacyId=this._legacy.changeScope(scopeName);return ComponentID.fromLegacy(legacyId,this.scope)}changeDefaultScope(scopeName){return ComponentID.fromLegacy(this._legacy,scopeName)}changeVersion(version){const legacyId=this._legacy.changeVersion(version);return ComponentID.fromLegacy(legacyId,this.scope)}isEqual(id,opts){return ComponentID.isEqual(this,id,opts)}isEqualWithoutVersion(id){return this.isEqual(id,{ignoreVersion:!0})}isLocal(scopeName){return this._legacy.isLocal(scopeName)}hasScope(){return this._legacy.hasScope()}serialize(){return this.toObject()}static deserialize(id){return ComponentID.fromObject(id)}static isValidVersion(version){return legacy_bit_id_1.BitId.isValidVersion(version)}static getVersionFromString(id){return id.split(legacy_bit_id_1.VERSION_DELIMITER)[1]}static getStringWithoutVersion(id){return id.split(legacy_bit_id_1.VERSION_DELIMITER)[0]}getVersionPreReleaseData(){return this._legacy.getVersionPreReleaseData()}toStringWithoutVersion(){let id=this._legacy;return this._scope&&!this._legacy.scope&&(id=id.changeScope(this._scope)),id.toStringWithoutVersion()}hasSameVersion(id){return this._legacy.hasSameVersion(id._legacy)}toString(opts={}){let id=this._legacy;this._scope&&!this._legacy.scope&&(id=id.changeScope(this._scope));const idStr=id.toString(!1,opts.ignoreVersion);return opts.fsCompatible?idStr.replace(/\//g,"_").replace(/\./g,"_").replace(/-/g,"_"):idStr}toObject(){const object=this._legacy.serialize();return object.scope||(object.scope=this.scope),object}clone(){return ComponentID.fromLegacy(this._legacy.clone(),this._scope)}static tryFromString(idStr,scope){try{return ComponentID.fromString(idStr,scope)}catch{return}}static isValidCompIdStr(idStr){return Boolean(ComponentID.tryFromString(idStr))}static fromString(idStr,scope){const legacyId=legacy_bit_id_1.BitId.parse(idStr,!0);if(!scope&&!legacyId.scope)throw new exceptions_1.MissingScope(idStr);return new ComponentID(legacyId,scope)}static fromLegacyString(idStr,scope){const legacyId=legacy_bit_id_1.BitId.parse(idStr,!1);return new ComponentID(legacyId,scope)}static fromObject(object,scope){if(object instanceof ComponentID)throw new Error(`ComponentID.fromObject expect to get an object, got an instance of ComponentID: ${object.toString()}`);return ComponentID.fromLegacy(new legacy_bit_id_1.BitId(object),scope)}static isValidObject(o){return typeof o=="object"&&typeof o.name=="string"&&typeof o.scope=="string"}static isEqual(a,b,opts={}){if(!a&&!b)return!0;if(!a||!b)return!1;const result=a.scope===b.scope&&a.toString({ignoreVersion:opts.ignoreVersion})===b.toString({ignoreVersion:opts.ignoreVersion});return opts.ignoreVersion?result:result&&a.hasSameVersion(b)}static isEqualObj(a,b,opts={}){if(!a&&!b)return!0;if(!a||!b)return!1;let result=a.scope===b.scope&&a.name===b.name;return opts.ignoreVersion||(result=result&&a.version===b.version),result}static fromLegacy(legacyId,scope){if(!scope&&!legacyId.scope)throw new exceptions_1.MissingScope(legacyId);return new ComponentID(legacyId,scope)}static sortIds(ids){return ids.sort((a,b)=>a.toString().localeCompare(b.toString()))}}exports.ComponentID=ComponentID},35886:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MissingScope=void 0;const missing_scope_1=__webpack_require__(93056);Object.defineProperty(exports,"MissingScope",{enumerable:!0,get:function(){return missing_scope_1.MissingScope}})},93056:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MissingScope=void 0;class MissingScope extends Error{constructor(src){super(`scope is missing from a component-id "${src.toString()}".
3
+ `)}`)})}toVersionLatest(){return ComponentIdList.uniqFromArray(this.map(id=>id.changeVersion(component_version_1.LATEST_VERSION)))}clone(){return ComponentIdList.fromArray(this.map(id=>id.clone()))}}exports.ComponentIdList=ComponentIdList},67314:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentID=void 0;const legacy_bit_id_1=__webpack_require__(55591),exceptions_1=__webpack_require__(69153);class ComponentID{constructor(_legacy,_scope){if(this._legacy=_legacy,this._scope=_scope,!_legacy.name)throw new Error(`ComponentID expects to get an object with "name" prop. got ${_legacy}`);if(!_scope&&!_legacy.scope)throw new exceptions_1.MissingScope(_legacy)}hasVersion(){return this._legacy.hasVersion()}get version(){return this._legacy.version}get namespace(){return this._legacy.name.split("/").slice(0,-1).join("/")}get fullName(){return this._legacy.name}get name(){const arr=this._legacy.name.split("/");return arr[arr.length-1]}get scope(){const scope=this._legacy.scope;if(scope)return scope;if(!this._scope)throw new Error("scope cannot be undefined");return this._scope}changeScope(scopeName){const legacyId=this._legacy.changeScope(scopeName);return ComponentID.fromLegacy(legacyId,this.scope)}changeDefaultScope(scopeName){return ComponentID.fromLegacy(this._legacy,scopeName)}changeVersion(version){const legacyId=this._legacy.changeVersion(version);return ComponentID.fromLegacy(legacyId,this.scope)}isEqual(id,opts){return ComponentID.isEqual(this,id,opts)}isEqualWithoutVersion(id){return this.isEqual(id,{ignoreVersion:!0})}isLocal(scopeName){return this._legacy.isLocal(scopeName)}hasScope(){return this._legacy.hasScope()}serialize(){return this.toObject()}static deserialize(id){return ComponentID.fromObject(id)}static isValidVersion(version){return legacy_bit_id_1.BitId.isValidVersion(version)}static getVersionFromString(id){return id.split(legacy_bit_id_1.VERSION_DELIMITER)[1]}static getStringWithoutVersion(id){return id.split(legacy_bit_id_1.VERSION_DELIMITER)[0]}getVersionPreReleaseData(){return this._legacy.getVersionPreReleaseData()}toStringWithoutVersion(){let id=this._legacy;return this._scope&&!this._legacy.scope&&(id=id.changeScope(this._scope)),id.toStringWithoutVersion()}hasSameVersion(id){return this._legacy.hasSameVersion(id._legacy)}toString(opts={}){let id=this._legacy;this._scope&&!this._legacy.scope&&(id=id.changeScope(this._scope));const idStr=id.toString(!1,opts.ignoreVersion);return opts.fsCompatible?idStr.replace(/\//g,"_").replace(/\./g,"_").replace(/-/g,"_"):idStr}toObject(){const object=this._legacy.serialize();return object.scope||(object.scope=this.scope),object}clone(){return ComponentID.fromLegacy(this._legacy.clone(),this._scope)}static tryFromString(idStr,scope){try{return ComponentID.fromString(idStr,scope)}catch{return}}static isValidCompIdStr(idStr){return Boolean(ComponentID.tryFromString(idStr))}static fromString(idStr,scope){const legacyId=legacy_bit_id_1.BitId.parse(idStr,!0);if(!scope&&!legacyId.scope)throw new exceptions_1.MissingScope(idStr);return new ComponentID(legacyId,scope)}static fromLegacyString(idStr,scope){const legacyId=legacy_bit_id_1.BitId.parse(idStr,!1);return new ComponentID(legacyId,scope)}static fromObject(object,scope){if(object instanceof ComponentID)throw new Error(`ComponentID.fromObject expect to get an object, got an instance of ComponentID: ${object.toString()}`);return ComponentID.fromLegacy(new legacy_bit_id_1.BitId(object),scope)}static isValidObject(o){return typeof o=="object"&&typeof o.name=="string"&&typeof o.scope=="string"}static isEqual(a,b,opts={}){if(!a&&!b)return!0;if(!a||!b)return!1;const result=a.scope===b.scope&&a.toString({ignoreVersion:opts.ignoreVersion})===b.toString({ignoreVersion:opts.ignoreVersion});return opts.ignoreVersion?result:result&&a.hasSameVersion(b)}static isEqualObj(a,b,opts={}){if(!a&&!b)return!0;if(!a||!b)return!1;let result=a.scope===b.scope&&a.name===b.name;return opts.ignoreVersion||(result=result&&a.version===b.version),result}static fromLegacy(legacyId,scope){if(!scope&&!legacyId.scope)throw new exceptions_1.MissingScope(legacyId);return new ComponentID(legacyId,scope)}static sortIds(ids){return ids.sort((a,b)=>a.toString().localeCompare(b.toString()))}}exports.ComponentID=ComponentID},69153:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MissingScope=void 0;const missing_scope_1=__webpack_require__(6146);Object.defineProperty(exports,"MissingScope",{enumerable:!0,get:function(){return missing_scope_1.MissingScope}})},6146:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MissingScope=void 0;class MissingScope extends Error{constructor(src){super(`scope is missing from a component-id "${src.toString()}".
4
4
  in case you just upgraded bit version to >= 1.2.10 and you're getting this error, please run "bit cc" and then "bit status" to fix it.
5
- if you're still getting the same error, run "bit reset --never-exported"`)}report(){return this.message}}exports.MissingScope=MissingScope},83947:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentIdList=exports.ComponentID=void 0;var component_id_1=__webpack_require__(32664);Object.defineProperty(exports,"ComponentID",{enumerable:!0,get:function(){return component_id_1.ComponentID}});var component_id_list_1=__webpack_require__(68680);Object.defineProperty(exports,"ComponentIdList",{enumerable:!0,get:function(){return component_id_list_1.ComponentIdList}})},9156: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.InvalidVersion=void 0;const invalid_version_1=__importDefault(__webpack_require__(93155));exports.InvalidVersion=invalid_version_1.default},93155:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const bit_error_1=__webpack_require__(75345);class InvalidVersion extends bit_error_1.BitError{constructor(version){super(`error: version ${version||"(empty)"} is not a valid semantic version. learn more: https://semver.org`)}}exports.default=InvalidVersion},10826: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.SHORT_HASH_MINIMUM_SIZE=exports.HASH_SIZE=exports.InvalidVersion=exports.isTag=exports.isSnap=exports.isHash=exports.versionParser=exports.LATEST_VERSION=exports.Version=void 0;const version_1=__webpack_require__(70535);Object.defineProperty(exports,"Version",{enumerable:!0,get:function(){return version_1.Version}}),Object.defineProperty(exports,"LATEST_VERSION",{enumerable:!0,get:function(){return version_1.LATEST_VERSION}});const version_parser_1=__importStar(__webpack_require__(70951));exports.versionParser=version_parser_1.default,Object.defineProperty(exports,"isHash",{enumerable:!0,get:function(){return version_parser_1.isHash}}),Object.defineProperty(exports,"isSnap",{enumerable:!0,get:function(){return version_parser_1.isSnap}}),Object.defineProperty(exports,"isTag",{enumerable:!0,get:function(){return version_parser_1.isTag}}),Object.defineProperty(exports,"HASH_SIZE",{enumerable:!0,get:function(){return version_parser_1.HASH_SIZE}}),Object.defineProperty(exports,"SHORT_HASH_MINIMUM_SIZE",{enumerable:!0,get:function(){return version_parser_1.SHORT_HASH_MINIMUM_SIZE}});const exceptions_1=__webpack_require__(9156);Object.defineProperty(exports,"InvalidVersion",{enumerable:!0,get:function(){return exceptions_1.InvalidVersion}})},70951: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.isSnap=exports.isTag=exports.isHash=exports.SHORT_HASH_MINIMUM_SIZE=exports.HASH_SIZE=void 0;const semver_1=__importDefault(__webpack_require__(41535)),exceptions_1=__webpack_require__(9156),version_1=__webpack_require__(70535);exports.HASH_SIZE=40,exports.SHORT_HASH_MINIMUM_SIZE=3;function isLatest(versionStr){return versionStr===version_1.LATEST_VERSION}function isSemverValid(versionStr){return Boolean(semver_1.default.valid(versionStr))}function returnSemver(versionStr){return new version_1.Version(versionStr,!1)}function returnLatest(){return new version_1.Version(null,!0)}function returnSnap(hash){return new version_1.Version(hash,!1)}function isHash(str){return typeof str=="string"&&isHex(str)&&str.length>=exports.SHORT_HASH_MINIMUM_SIZE&&str.length<=exports.HASH_SIZE}exports.isHash=isHash;function isTag(str){return typeof str=="string"&&isSemverValid(str)}exports.isTag=isTag;function isSnap(str){return isHash(str)&&typeof str=="string"&&str.length===exports.HASH_SIZE}exports.isSnap=isSnap;function versionParser(versionStr){if(!versionStr||isLatest(versionStr))return returnLatest();if(isSemverValid(versionStr))return returnSemver(versionStr);if(isHash(versionStr))return returnSnap(versionStr);throw new exceptions_1.InvalidVersion(versionStr.toString())}exports.default=versionParser;function isHex(str){return/^[0-9a-fA-F]+$/.test(str)}},70535: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.Version=exports.LATEST_VERSION=void 0;const semver_1=__importDefault(__webpack_require__(41535)),exceptions_1=__webpack_require__(9156);exports.LATEST_VERSION="latest";class Version{constructor(versionNum,latest){if(this.versionNum=versionNum,this.latest=latest,versionNum&&latest)throw new Error('a component version cannot have both: version and "latest"')}toString(){if(!this.versionNum&&this.latest)return"latest";if(this.versionNum&&!this.latest)return this.versionNum.toString();throw new exceptions_1.InvalidVersion(this.versionNum)}isLaterThan(otherVersion){return!this.versionNum||this.versionNum===exports.LATEST_VERSION?!0:!otherVersion.versionNum||otherVersion.versionNum===exports.LATEST_VERSION?!1:semver_1.default.gt(this.versionNum,otherVersion.versionNum)}}exports.Version=Version},76483:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Aspect=void 0;class Aspect{constructor(id,dependencies,slots,defaultConfig={},declareRuntime,files){this.id=id,this.dependencies=dependencies,this.slots=slots,this.defaultConfig=defaultConfig,this.declareRuntime=declareRuntime,this.files=files,this._runtimes=[]}addRuntime(runtimeManifest){return this._runtimes.push(runtimeManifest),this}getRuntime(runtimeDef){return this._runtimes.find(runtime=>typeof runtime.runtime=="string"?runtime.runtime===runtimeDef.name:runtime.runtime.name===runtimeDef.name)}getRuntimes(){return this._runtimes}static create(manifest){return new Aspect(manifest.id,manifest.dependencies||[],manifest.slots||[],manifest.defaultConfig,manifest.declareRuntime,manifest.files||[])}}exports.Aspect=Aspect},5514:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Config=void 0;class Config{constructor(raw){this.raw=raw}toObject(){return Array.from(this.raw.entries()).reduce((acc,[id,config])=>(acc[id]=config,acc),{})}set(id,config){this.raw.set(id,config)}get(id){return this.raw.get(id)}static from(raw){return new Config(new Map(Object.entries(raw)))}}exports.Config=Config},81363:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Config=void 0;var config_1=__webpack_require__(5514);Object.defineProperty(exports,"Config",{enumerable:!0,get:function(){return config_1.Config}})},57088:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ExtensionInstantiationException=void 0;class ExtensionInstantiationException extends Error{}exports.ExtensionInstantiationException=ExtensionInstantiationException},57526:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});class ExtensionLoadError extends Error{constructor(extension,originalError,msg){super();this.extension=extension,this.originalError=originalError,this.msg=msg}toString(){return`failed to load extension: ${this.extension.name} with error:
5
+ if you're still getting the same error, run "bit reset --never-exported"`)}report(){return this.message}}exports.MissingScope=MissingScope},91428:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentIdList=exports.ComponentID=void 0;var component_id_1=__webpack_require__(67314);Object.defineProperty(exports,"ComponentID",{enumerable:!0,get:function(){return component_id_1.ComponentID}});var component_id_list_1=__webpack_require__(87140);Object.defineProperty(exports,"ComponentIdList",{enumerable:!0,get:function(){return component_id_list_1.ComponentIdList}})},35123: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.InvalidVersion=void 0;const invalid_version_1=__importDefault(__webpack_require__(35664));exports.InvalidVersion=invalid_version_1.default},35664:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const bit_error_1=__webpack_require__(81708);class InvalidVersion extends bit_error_1.BitError{constructor(version){super(`error: version ${version||"(empty)"} is not a valid semantic version. learn more: https://semver.org`)}}exports.default=InvalidVersion},97010: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.SHORT_HASH_MINIMUM_SIZE=exports.HASH_SIZE=exports.InvalidVersion=exports.isTag=exports.isSnap=exports.isHash=exports.versionParser=exports.LATEST_VERSION=exports.Version=void 0;const version_1=__webpack_require__(97097);Object.defineProperty(exports,"Version",{enumerable:!0,get:function(){return version_1.Version}}),Object.defineProperty(exports,"LATEST_VERSION",{enumerable:!0,get:function(){return version_1.LATEST_VERSION}});const version_parser_1=__importStar(__webpack_require__(36743));exports.versionParser=version_parser_1.default,Object.defineProperty(exports,"isHash",{enumerable:!0,get:function(){return version_parser_1.isHash}}),Object.defineProperty(exports,"isSnap",{enumerable:!0,get:function(){return version_parser_1.isSnap}}),Object.defineProperty(exports,"isTag",{enumerable:!0,get:function(){return version_parser_1.isTag}}),Object.defineProperty(exports,"HASH_SIZE",{enumerable:!0,get:function(){return version_parser_1.HASH_SIZE}}),Object.defineProperty(exports,"SHORT_HASH_MINIMUM_SIZE",{enumerable:!0,get:function(){return version_parser_1.SHORT_HASH_MINIMUM_SIZE}});const exceptions_1=__webpack_require__(35123);Object.defineProperty(exports,"InvalidVersion",{enumerable:!0,get:function(){return exceptions_1.InvalidVersion}})},36743: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.isSnap=exports.isTag=exports.isHash=exports.SHORT_HASH_MINIMUM_SIZE=exports.HASH_SIZE=void 0;const semver_1=__importDefault(__webpack_require__(86090)),exceptions_1=__webpack_require__(35123),version_1=__webpack_require__(97097);exports.HASH_SIZE=40,exports.SHORT_HASH_MINIMUM_SIZE=3;function isLatest(versionStr){return versionStr===version_1.LATEST_VERSION}function isSemverValid(versionStr){return Boolean(semver_1.default.valid(versionStr))}function returnSemver(versionStr){return new version_1.Version(versionStr,!1)}function returnLatest(){return new version_1.Version(null,!0)}function returnSnap(hash){return new version_1.Version(hash,!1)}function isHash(str){return typeof str=="string"&&isHex(str)&&str.length>=exports.SHORT_HASH_MINIMUM_SIZE&&str.length<=exports.HASH_SIZE}exports.isHash=isHash;function isTag(str){return typeof str=="string"&&isSemverValid(str)}exports.isTag=isTag;function isSnap(str){return isHash(str)&&typeof str=="string"&&str.length===exports.HASH_SIZE}exports.isSnap=isSnap;function versionParser(versionStr){if(!versionStr||isLatest(versionStr))return returnLatest();if(isSemverValid(versionStr))return returnSemver(versionStr);if(isHash(versionStr))return returnSnap(versionStr);throw new exceptions_1.InvalidVersion(versionStr.toString())}exports.default=versionParser;function isHex(str){return/^[0-9a-fA-F]+$/.test(str)}},97097: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.Version=exports.LATEST_VERSION=void 0;const semver_1=__importDefault(__webpack_require__(86090)),exceptions_1=__webpack_require__(35123);exports.LATEST_VERSION="latest";class Version{constructor(versionNum,latest){if(this.versionNum=versionNum,this.latest=latest,versionNum&&latest)throw new Error('a component version cannot have both: version and "latest"')}toString(){if(!this.versionNum&&this.latest)return"latest";if(this.versionNum&&!this.latest)return this.versionNum.toString();throw new exceptions_1.InvalidVersion(this.versionNum)}isLaterThan(otherVersion){return!this.versionNum||this.versionNum===exports.LATEST_VERSION?!0:!otherVersion.versionNum||otherVersion.versionNum===exports.LATEST_VERSION?!1:semver_1.default.gt(this.versionNum,otherVersion.versionNum)}}exports.Version=Version},4220:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Aspect=void 0;class Aspect{constructor(id,dependencies,slots,defaultConfig={},declareRuntime,files){this.id=id,this.dependencies=dependencies,this.slots=slots,this.defaultConfig=defaultConfig,this.declareRuntime=declareRuntime,this.files=files,this._runtimes=[]}addRuntime(runtimeManifest){return this._runtimes.push(runtimeManifest),this}getRuntime(runtimeDef){return this._runtimes.find(runtime=>typeof runtime.runtime=="string"?runtime.runtime===runtimeDef.name:runtime.runtime.name===runtimeDef.name)}getRuntimes(){return this._runtimes}static create(manifest){return new Aspect(manifest.id,manifest.dependencies||[],manifest.slots||[],manifest.defaultConfig,manifest.declareRuntime,manifest.files||[])}}exports.Aspect=Aspect},63339:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Config=void 0;class Config{constructor(raw){this.raw=raw}toObject(){return Array.from(this.raw.entries()).reduce((acc,[id,config])=>(acc[id]=config,acc),{})}set(id,config){this.raw.set(id,config)}get(id){return this.raw.get(id)}static from(raw){return new Config(new Map(Object.entries(raw)))}}exports.Config=Config},58585:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Config=void 0;var config_1=__webpack_require__(63339);Object.defineProperty(exports,"Config",{enumerable:!0,get:function(){return config_1.Config}})},5498:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ExtensionInstantiationException=void 0;class ExtensionInstantiationException extends Error{}exports.ExtensionInstantiationException=ExtensionInstantiationException},66951:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});class ExtensionLoadError extends Error{constructor(extension,originalError,msg){super();this.extension=extension,this.originalError=originalError,this.msg=msg}toString(){return`failed to load extension: ${this.extension.name} with error:
6
6
 
7
- ${this.msg||this.originalError.stack}`}}exports.default=ExtensionLoadError},82239:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const harmony_error_1=__webpack_require__(65198);class ExtensionPotentialCircular extends harmony_error_1.HarmonyError{constructor(extension,validDeps){super();this.extension=extension,this.validDeps=validDeps}toString(){return`Failed to load the dependencies for extension .
7
+ ${this.msg||this.originalError.stack}`}}exports.default=ExtensionLoadError},32523:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const harmony_error_1=__webpack_require__(46718);class ExtensionPotentialCircular extends harmony_error_1.HarmonyError{constructor(extension,validDeps){super();this.extension=extension,this.validDeps=validDeps}toString(){return`Failed to load the dependencies for extension .
8
8
  This may result from a wrong import or from circular dependencies in imports.
9
- The following dependencies succeeded loading:`}}exports.default=ExtensionPotentialCircular},79245:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.HarmonyAlreadyRunning=void 0;class HarmonyAlreadyRunning extends Error{}exports.HarmonyAlreadyRunning=HarmonyAlreadyRunning},65198:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.HarmonyError=void 0;class HarmonyError extends Error{}exports.HarmonyError=HarmonyError},76976:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.HookNotFound=void 0;class HookNotFound extends Error{}exports.HookNotFound=HookNotFound},75529: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.ExtensionInstantiationException=exports.HookNotFound=exports.HarmonyAlreadyRunning=exports.ExtensionPotentialCircular=exports.ExtensionLoadError=void 0;var extension_load_error_1=__webpack_require__(57526);Object.defineProperty(exports,"ExtensionLoadError",{enumerable:!0,get:function(){return __importDefault(extension_load_error_1).default}});var extension_potential_circular_1=__webpack_require__(82239);Object.defineProperty(exports,"ExtensionPotentialCircular",{enumerable:!0,get:function(){return __importDefault(extension_potential_circular_1).default}});var harmony_already_running_1=__webpack_require__(79245);Object.defineProperty(exports,"HarmonyAlreadyRunning",{enumerable:!0,get:function(){return harmony_already_running_1.HarmonyAlreadyRunning}});var hook_not_found_1=__webpack_require__(76976);Object.defineProperty(exports,"HookNotFound",{enumerable:!0,get:function(){return hook_not_found_1.HookNotFound}});var extension_init_error_1=__webpack_require__(57088);Object.defineProperty(exports,"ExtensionInstantiationException",{enumerable:!0,get:function(){return extension_init_error_1.ExtensionInstantiationException}})},94415: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});const cleargraph_1=__webpack_require__(1290),from_extension_1=__webpack_require__(33505);function getName(manifest){return Reflect.getMetadata("harmony:name",manifest)||manifest.id||manifest.name}class DependencyGraph extends cleargraph_1.Graph{constructor(){super(...arguments);this.cache=new Map}getRuntimeDependencies(aspect,runtime,options={}){const dependencies=this.successors(aspect.name),runtimeDeps=this.successors(aspect.name,edge=>edge.runtime?edge.runtime===runtime.name:!1),runtimeManifest=aspect.getRuntime(runtime);return runtimeManifest?runtimeDeps&&runtimeDeps.size?this.sortDeps(runtimeManifest.dependencies,Array.from(runtimeDeps.values()),options):this.sortDeps(runtimeManifest.dependencies,Array.from(dependencies.values()),options):Array.from(dependencies.values())}sortDeps(originalDependencies,targetDependencies,options={}){const _originalDependencies=options.getName?originalDependencies?.map(aspect=>(options.getName&&(aspect.id=options.getName(aspect)),aspect))||[]:originalDependencies;return targetDependencies.sort((a,b)=>_originalDependencies.findIndex(item=>item.id===a.id)-_originalDependencies.findIndex(item=>item.id===b.id))}byExecutionOrder(){return this.toposort(!0)}enrichRuntimeExtension(id,aspect,runtime,runtimes,requireFn,options={}){return __awaiter(this,void 0,void 0,function*(){yield requireFn(aspect,runtime);const runtimeManifest=aspect.getRuntime(runtime);if(!runtimeManifest)return;const deps=runtimeManifest.dependencies;if(!deps)return;const promises=deps.map(dep=>__awaiter(this,void 0,void 0,function*(){const depId=options.getName?options.getName(dep):dep.id;if(!this.hasNode(depId)){this.add(dep),dep.declareRuntime&&runtimes.add(dep.declareRuntime);const node=this.get(depId);if(!node)return;yield requireFn(node,runtime),yield this.enrichRuntimeExtension(depId,this.get(depId),runtime,runtimes,requireFn)}this.setEdge(id,depId,{runtime:runtime.name,type:"runtime-dependency"})}));return Promise.all(promises)})}enrichRuntime(runtime,runtimes,requireFn,options={}){return __awaiter(this,void 0,void 0,function*(){const promises=Array.from(this.nodes.entries()).map(([id,aspect])=>__awaiter(this,void 0,void 0,function*(){return this.enrichRuntimeExtension(id,aspect,runtime,runtimes,requireFn,options)}));return Promise.all(promises)})}add(manifest){const{vertices,edges}=(0,from_extension_1.fromExtension)(manifest);return this.setNodes(vertices),this.setEdges(edges),this}load(extensions){const newExtensions=extensions.filter(extension=>extension.id?!this.get(extension.id):!1),{vertices,edges}=(0,from_extension_1.fromExtensions)(newExtensions);return this.setNodes(vertices,!1),this.setEdges(edges),this}getExtension(manifest){const id=getName(manifest),cachedVertex=this.cache.get(id);if(cachedVertex)return cachedVertex;const res=this.node(id);return res?(this.cache.set(res.name,res),res):null}get extensions(){return Array.from(this.nodes.values())}get aspects(){return this.extensions}get(id){const cachedVertex=this.cache.get(id);if(cachedVertex)return cachedVertex;const res=this.node(id);return res?(this.cache.set(res.name,res),res):null}static fromRoot(extension){const{vertices,edges}=(0,from_extension_1.fromExtension)(extension);return new DependencyGraph(vertices,edges)}static from(extensions,options={}){const{vertices,edges}=(0,from_extension_1.fromExtensions)(extensions,options);return new DependencyGraph(vertices,edges)}}exports.default=DependencyGraph},33505: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.fromExtensions=exports.fromExtension=void 0;const factory_1=__webpack_require__(52215),extension_potential_circular_1=__importDefault(__webpack_require__(82239));function getName(manifest){return Reflect.getMetadata("harmony:name",manifest)||manifest.id||manifest.name}function fromExtension(extension,options={}){const vertices={};let edges=[];function iterate(root){const id=options.getName?options.getName(root):getName(root);if(vertices[id])return;const instance=(0,factory_1.extensionFactory)(root),validDeps=instance.dependencies.filter(dep=>dep).map(dep=>(0,factory_1.extensionFactory)(dep));if(instance.dependencies.length>validDeps.length)throw new extension_potential_circular_1.default(instance,validDeps);vertices[id]=instance;const newEdges=validDeps.map(dep=>({sourceId:id,targetId:dep.name,edge:{type:"dependency"}}));edges=edges.concat(newEdges),instance.dependencies.forEach(dep=>iterate(dep))}iterate(extension);let vertexArray=[];for(let[key,value]of Object.entries(vertices))vertexArray.push({id:key,node:value});return{vertices:vertexArray,edges}}exports.fromExtension=fromExtension;function fromExtensions(extensions,options={}){return extensions.map(ext=>fromExtension(ext,options)).reduce((acc,subgraph)=>(acc.edges=acc.edges.concat(subgraph.edges),acc.vertices=acc.vertices.concat(subgraph.vertices),acc),{vertices:[],edges:[]})}exports.fromExtensions=fromExtensions},73934:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.HookRegistry=exports.hook=exports.createHook=exports.register=exports.provider=exports.ExtensionDecorator=void 0;const map={};function ExtensionDecorator({name,dependencies}={}){function classDecorator(constructor){Reflect.defineMetadata("harmony:name",name||constructor.name,constructor),Reflect.defineMetadata("harmony:dependencies",calculateDependnecies(constructor,dependencies),constructor)}return classDecorator}exports.ExtensionDecorator=ExtensionDecorator;function provider(){return function(target,propertyKey,descriptor){const keys=Reflect.getMetadata("design:paramtypes",descriptor)}}exports.provider=provider;function providerFn(classExtension){return classExtension.provide?classExtension.provide:classExtension.provider}function calculateDependnecies(classExtension,deps){function fromMetadata(){return providerFn(classExtension)?[]:Reflect.getMetadata("design:paramtypes",classExtension)}const dependnecies=deps||fromMetadata()||[],hookDeps=classExtension.__hookDeps?classExtension.__hookDeps:[];return dependnecies.concat(hookDeps)||[]}function register(extension,name){return function(target,propertyKey,descriptor){const extensionName=Reflect.getMetadata("harmony:name",extension);map[extensionName]||(map[extensionName]={});const hook2=map[extensionName][name||propertyKey];!hook2||hook2.register(target[propertyKey])}}exports.register=register;function createHook(){const randomId=Math.random().toString(36).substring(2);map[randomId]=HookRegistry.create();const decorator=function(target,propertyKey,descriptor){map[randomId].register(descriptor.value)};return decorator.hash=randomId,decorator}exports.createHook=createHook;function hook(name){return function(target,propertyKey){let instance=HookRegistry.create();const extensionName=Reflect.getMetadata("harmony:name",target.constructor),hookName=name||propertyKey;map[extensionName]?map[extensionName][hookName]=instance:map[extensionName]={[hookName]:instance},Object.defineProperty(target,propertyKey,{get:()=>instance,set:value=>{instance=value}})}}exports.hook=hook;class HookRegistry{constructor(fillers,hash){this.fillers=fillers,this.hash=hash}register(filler){this.fillers.push(filler)}list(){return this.fillers}static of(hook2){return map[hook2.hash]}static create(){return new HookRegistry([])}}exports.HookRegistry=HookRegistry},60524: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.Extension=void 0;const extension_init_error_1=__webpack_require__(57088);class Extension{constructor(manifest){this.manifest=manifest,this._instance=null,this._loaded=!1}get instance(){return this._instance}get name(){return Reflect.getMetadata("harmony:name",this.manifest)||this.manifest.id||this.manifest.name}get id(){return this.name}get dependencies(){return Reflect.getMetadata("harmony:dependencies",this.manifest)||this.manifest.dependencies||[]}get provider(){return Reflect.getMetadata("harmony:provider",this.manifest)||this.manifest.provider}get files(){return this.manifest.files}get loaded(){return this._loaded}toString(){return JSON.stringify(this.name)}buildSlotRegistries(slots,context){return slots.map(slot=>slot(()=>context.current))}get declareRuntime(){return this.manifest.declareRuntime}getRuntime(runtime){return this.manifest.getRuntime(runtime)}getRuntimes(){return this.manifest.getRuntimes()}getSlots(extensionRuntime){return extensionRuntime.slots&&extensionRuntime.slots.length?extensionRuntime.slots:this.manifest.slots||[]}getConfig(context,extensionRuntime){const defaultConfig=extensionRuntime.defaultConfig||this.manifest.defaultConfig||{},config=context.config.get(this.name)||{};return Object.assign({},defaultConfig,config)}__run(dependencies,context,runtime){return __awaiter(this,void 0,void 0,function*(){const name=this.name;context.initExtension(name);const extensionRuntime=this.getRuntime(runtime);if(!extensionRuntime)return;const registries=this.buildSlotRegistries(this.getSlots(extensionRuntime),context),config=this.getConfig(context,extensionRuntime);if(!this.loaded){if(extensionRuntime.provider)this._instance=yield extensionRuntime.provider(dependencies,config,registries,context);else try{this._instance=new extensionRuntime.manifest(...dependencies)}catch(err){throw new extension_init_error_1.ExtensionInstantiationException(err.toString())}return this._loaded=!0,this._instance}return context.endExtension(),Promise.resolve(this.instance)})}}exports.Extension=Extension},1013:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createHook=exports.provider=exports.HookRegistry=exports.hook=exports.register=exports.ExtensionDecorator=exports.Extension=void 0;var extension_1=__webpack_require__(60524);Object.defineProperty(exports,"Extension",{enumerable:!0,get:function(){return extension_1.Extension}});var decorator_1=__webpack_require__(73934);Object.defineProperty(exports,"ExtensionDecorator",{enumerable:!0,get:function(){return decorator_1.ExtensionDecorator}}),Object.defineProperty(exports,"register",{enumerable:!0,get:function(){return decorator_1.register}}),Object.defineProperty(exports,"hook",{enumerable:!0,get:function(){return decorator_1.hook}}),Object.defineProperty(exports,"HookRegistry",{enumerable:!0,get:function(){return decorator_1.HookRegistry}}),Object.defineProperty(exports,"provider",{enumerable:!0,get:function(){return decorator_1.provider}}),Object.defineProperty(exports,"createHook",{enumerable:!0,get:function(){return decorator_1.createHook}})},44539:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.extensionFactory=void 0;const extension_1=__webpack_require__(60524);function extensionFactory(manifest){return manifest.provide&&(manifest.provider=manifest.provide),new extension_1.Extension(manifest)}exports.extensionFactory=extensionFactory},52215:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.extensionFactory=void 0;var extension_factory_1=__webpack_require__(44539);Object.defineProperty(exports,"extensionFactory",{enumerable:!0,get:function(){return extension_factory_1.extensionFactory}})},25201: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())})},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Harmony=void 0,__webpack_require__(47266);const extension_graph_1=__importDefault(__webpack_require__(94415)),exceptions_1=__webpack_require__(75529),utils_1=__webpack_require__(51875),config_1=__webpack_require__(81363),runtimes_1=__webpack_require__(20748),exceptions_2=__webpack_require__(48745);class Harmony{constructor(graph,config,runtimes,activeRuntime,depOptions){this.graph=graph,this.config=config,this.runtimes=runtimes,this.activeRuntime=activeRuntime,this.depOptions=depOptions,this.current=null}get extensions(){return this.graph.nodes}get extensionsIds(){return[...this.graph.nodes.keys()]}load(extensions){return __awaiter(this,void 0,void 0,function*(){return this.set(extensions)})}set(extensions){return __awaiter(this,void 0,void 0,function*(){this.graph.load(extensions);const extensionsToLoad=extensions.map(ext=>Reflect.getMetadata("harmony:name",ext)||ext.id||ext.name);yield this.graph.enrichRuntime(this.runtime,this.runtimes,()=>{});const subgraphs=this.graph.successorsSubgraph(extensionsToLoad);if(subgraphs){const executionOrder=subgraphs.toposort(!0);yield(0,utils_1.asyncForEach)(executionOrder,ext=>__awaiter(this,void 0,void 0,function*(){if(!this.runtime)throw new exceptions_2.RuntimeNotDefined(this.activeRuntime);yield this.runOne(ext,this.runtime)}))}})}runOne(extension,runtime){return __awaiter(this,void 0,void 0,function*(){if(extension.loaded)return;const instances=this.graph.getRuntimeDependencies(extension,runtime,this.depOptions).map(extension2=>extension2.instance);try{return extension.__run(instances,this,runtime)}catch(err){throw new exceptions_1.ExtensionLoadError(extension,err)}})}getDependencies(aspect){if(!this.runtime)throw new exceptions_2.RuntimeNotDefined(this.activeRuntime);return this.graph.getRuntimeDependencies(aspect,this.runtime,this.depOptions)}initExtension(id){this.current=id}endExtension(){this.current=null}get(id){const extension=this.graph.get(id);if(!extension||!extension.instance)throw new Error(`failed loading extension ${id}`);return extension.instance}resolveRuntime(name){return this.runtimes.get(name)}run(requireFn){return __awaiter(this,void 0,void 0,function*(){const runtime=this.resolveRuntime(this.activeRuntime);this.runtime=runtime;const defaultRequireFn=(aspect,runtime2)=>__awaiter(this,void 0,void 0,function*(){runtime2.getRuntimeFile(aspect.files)});yield this.graph.enrichRuntime(runtime,this.runtimes,requireFn||defaultRequireFn,this.depOptions);const executionOrder=this.graph.byExecutionOrder();yield(0,utils_1.asyncForEach)(executionOrder,ext=>__awaiter(this,void 0,void 0,function*(){yield this.runOne(ext,runtime)}))})}static load(aspects,runtime,globalConfig,options={}){return __awaiter(this,void 0,void 0,function*(){const aspectGraph=extension_graph_1.default.from(aspects,options),runtimes=yield runtimes_1.Runtimes.load(aspectGraph);return new Harmony(aspectGraph,config_1.Config.from(globalConfig),runtimes,runtime,options)})}}exports.Harmony=Harmony},25217: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.AspectGraph=exports.RuntimeDefinition=exports.Aspect=exports.HarmonyError=exports.SlotRegistry=exports.Slot=exports.Harmony=exports.createHook=exports.provider=exports.hook=exports.HookRegistry=exports.register=exports.Extension=exports.ExtensionDecorator=void 0;var extension_1=__webpack_require__(1013);Object.defineProperty(exports,"ExtensionDecorator",{enumerable:!0,get:function(){return extension_1.ExtensionDecorator}}),Object.defineProperty(exports,"Extension",{enumerable:!0,get:function(){return extension_1.Extension}}),Object.defineProperty(exports,"register",{enumerable:!0,get:function(){return extension_1.register}}),Object.defineProperty(exports,"HookRegistry",{enumerable:!0,get:function(){return extension_1.HookRegistry}}),Object.defineProperty(exports,"hook",{enumerable:!0,get:function(){return extension_1.hook}}),Object.defineProperty(exports,"provider",{enumerable:!0,get:function(){return extension_1.provider}}),Object.defineProperty(exports,"createHook",{enumerable:!0,get:function(){return extension_1.createHook}});var harmony_1=__webpack_require__(25201);Object.defineProperty(exports,"Harmony",{enumerable:!0,get:function(){return harmony_1.Harmony}});var slots_1=__webpack_require__(75834);Object.defineProperty(exports,"Slot",{enumerable:!0,get:function(){return slots_1.Slot}}),Object.defineProperty(exports,"SlotRegistry",{enumerable:!0,get:function(){return slots_1.SlotRegistry}});var harmony_error_1=__webpack_require__(65198);Object.defineProperty(exports,"HarmonyError",{enumerable:!0,get:function(){return harmony_error_1.HarmonyError}});var aspect_1=__webpack_require__(76483);Object.defineProperty(exports,"Aspect",{enumerable:!0,get:function(){return aspect_1.Aspect}});var runtimes_1=__webpack_require__(73449);Object.defineProperty(exports,"RuntimeDefinition",{enumerable:!0,get:function(){return runtimes_1.RuntimeDefinition}});var extension_graph_1=__webpack_require__(94415);Object.defineProperty(exports,"AspectGraph",{enumerable:!0,get:function(){return __importDefault(extension_graph_1).default}})},48745:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RuntimeModuleError=exports.RuntimeNotDefined=void 0;var runtime_not_defined_1=__webpack_require__(88507);Object.defineProperty(exports,"RuntimeNotDefined",{enumerable:!0,get:function(){return runtime_not_defined_1.RuntimeNotDefined}});var runtime_module_error_1=__webpack_require__(26413);Object.defineProperty(exports,"RuntimeModuleError",{enumerable:!0,get:function(){return runtime_module_error_1.RuntimeModuleError}})},26413:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RuntimeModuleError=void 0;class RuntimeModuleError extends Error{constructor(err){super(`failed to load Harmony aspect with error message: ${err.message}`);this.err=err}get stack(){return this.err.stack}}exports.RuntimeModuleError=RuntimeModuleError},88507:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RuntimeNotDefined=void 0;class RuntimeNotDefined extends Error{constructor(name){super(`runtime: '${name}' was not defined by any aspect`)}}exports.RuntimeNotDefined=RuntimeNotDefined},73449:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RuntimeDefinition=exports.Runtimes=void 0;var runtimes_1=__webpack_require__(20748);Object.defineProperty(exports,"Runtimes",{enumerable:!0,get:function(){return runtimes_1.Runtimes}});var runtime_definition_1=__webpack_require__(906);Object.defineProperty(exports,"RuntimeDefinition",{enumerable:!0,get:function(){return runtime_definition_1.RuntimeDefinition}})},906:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RuntimeDefinition=void 0;const DEFAULT_PREDICATE=(filePath,name)=>filePath.includes(`.${name}.`);class RuntimeDefinition{constructor(name,filePredicate=DEFAULT_PREDICATE){this.name=name,this.filePredicate=filePredicate}getRuntimeFile(paths){return paths.find(path=>this.filePredicate(path,this.name))}require(file){}static create(def){return new RuntimeDefinition(def.name)}}exports.RuntimeDefinition=RuntimeDefinition},20748: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.Runtimes=void 0;const exceptions_1=__webpack_require__(48745);class Runtimes{constructor(runtimeDefinition){this.runtimeDefinition=runtimeDefinition}add(runtime){return this.runtimeDefinition[runtime.name]=runtime,this}get(name){if(!this.runtimeDefinition[name])throw new exceptions_1.RuntimeNotDefined(name);return this.runtimeDefinition[name]}dispose(){}static load(graph){return __awaiter(this,void 0,void 0,function*(){const runtimes={};return graph.extensions.forEach(manifest=>{!manifest.declareRuntime||(runtimes[manifest.declareRuntime.name]=manifest.declareRuntime)}),new Runtimes(runtimes)})}}exports.Runtimes=Runtimes},75834:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SlotRegistry=exports.Slot=void 0;var slot_1=__webpack_require__(41800);Object.defineProperty(exports,"Slot",{enumerable:!0,get:function(){return slot_1.Slot}});var registry_1=__webpack_require__(42121);Object.defineProperty(exports,"SlotRegistry",{enumerable:!0,get:function(){return registry_1.SlotRegistry}})},42121:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SlotRegistry=void 0;class SlotRegistry{constructor(registerFn,map=new Map){this.registerFn=registerFn,this.map=map}get(id){return this.map.get(id)}toArray(){return Array.from(this.map.entries())}values(){return Array.from(this.map.values())}register(value){const id=this.registerFn();this.map.set(id,value)}}exports.SlotRegistry=SlotRegistry},41800:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Slot=void 0;const registry_1=__webpack_require__(42121);class Slot{static withType(){return registerFn=>new registry_1.SlotRegistry(registerFn)}}exports.Slot=Slot},28943:function(__unused_webpack_module,exports){"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.asyncForEach=void 0;function asyncForEach(array,callback){return __awaiter(this,void 0,void 0,function*(){for(let index=0;index<array.length;index+=1)yield callback(array[index],index,array)})}exports.asyncForEach=asyncForEach},51875:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.asyncForEach=void 0;var async_for_each_1=__webpack_require__(28943);Object.defineProperty(exports,"asyncForEach",{enumerable:!0,get:function(){return async_for_each_1.asyncForEach}})},26375: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.VERSION_DELIMITER=void 0;const decamelize_1=__importDefault(__webpack_require__(96880)),path=__importStar(__webpack_require__(62005)),semver=__importStar(__webpack_require__(41535)),lodash_1=__webpack_require__(58822),component_version_1=__webpack_require__(10826),is_valid_id_chunk_1=__importDefault(__webpack_require__(91023)),is_valid_scope_name_1=__importDefault(__webpack_require__(74143)),exceptions_1=__webpack_require__(32172);exports.VERSION_DELIMITER="@";class BitId{constructor({scope,box,name,version}){if(!name)throw new exceptions_1.InvalidName(name);this.scope=scope||null,this.box=void 0,this.name=box?`${box}/${name}`:name,this.version=version||void 0,Object.freeze(this)}clone(){return new BitId(this)}changeScope(newScope){return new BitId({scope:newScope,name:this.name,version:this.version})}changeVersion(newVersion){return new BitId({scope:this.scope,name:this.name,version:newVersion})}isLocal(scopeName){return!this.scope||Boolean(scopeName&&scopeName===this.scope)}getVersion(){return(0,component_version_1.versionParser)(this.version)}hasVersion(){return Boolean(this.version&&this.version!==component_version_1.LATEST_VERSION)}hasScope(){return Boolean(this.scope)}hasSameName(id){return this.name===id.name}hasSameScope(id){return this.hasScope()&&id.hasScope()?this.scope===id.scope:!this.hasScope()&&!id.hasScope()}hasSameVersion(id){return this.hasVersion()&&id.hasVersion()?this.version===id.version:!this.hasVersion()&&!id.hasVersion()}toString(ignoreScope=!1,ignoreVersion=!1){const{name,version}=this,scope=this.scope,componentStr=ignoreScope||!scope?name:[scope,name].join("/");return ignoreVersion||!this.hasVersion()?componentStr:componentStr.concat(`${exports.VERSION_DELIMITER}${version}`)}toStringWithoutScope(){return this.toString(!0)}toStringWithoutVersion(){return this.toString(!1,!0)}toStringWithoutScopeAndVersion(){return this.toString(!0,!0)}isEqual(bitId){return this.hasSameName(bitId)&&this.hasSameScope(bitId)&&this.hasSameVersion(bitId)}isEqualWithoutVersion(bitId){return this.hasSameName(bitId)&&this.hasSameScope(bitId)}isEqualWithoutScopeAndVersion(bitId){return this.hasSameName(bitId)}serialize(){const obj={scope:this.scope,name:this.name,version:this.version};return this.hasVersion()||delete obj.version,this.hasScope()||delete obj.scope,obj}toFullPath(){if(!this.scope||!this.version)throw new Error("BitId.toFullPath is unable to generate a path without a scope or a version");return path.join(this.name,this.scope,this.version)}isVersionSnap(){return!(0,component_version_1.isTag)(this.version)}getVersionPreReleaseData(){return this.version?semver.prerelease(this.version):null}static getStringWithoutVersion(id){const splitted=id.split(exports.VERSION_DELIMITER);let res=splitted[0];return id.startsWith(exports.VERSION_DELIMITER)&&(res=`${exports.VERSION_DELIMITER}${splitted[1]}`),res}static getVersionOnlyFromString(id){return id.split(exports.VERSION_DELIMITER)[1]}static parse(id,hasScope=!0,version=component_version_1.LATEST_VERSION){if(typeof id!="string")throw new TypeError(`BitId.parse expects to get "id" as a string, instead, got ${typeof id}`);if(id.includes(exports.VERSION_DELIMITER)&&id.lastIndexOf(exports.VERSION_DELIMITER)>0){const[newId,newVersion]=id.split(exports.VERSION_DELIMITER);id=newId,version=newVersion}const getScopeAndName=()=>hasScope?BitId.getScopeAndName(id):{scope:void 0,name:id},{scope,name}=getScopeAndName();if(!(0,is_valid_id_chunk_1.default)(name))throw new exceptions_1.InvalidName(name);if(scope&&!(0,is_valid_scope_name_1.default)(scope))throw new exceptions_1.InvalidScopeName(scope,id);return new BitId({scope,name,version})}static getScopeAndName(id){const delimiterIndex=id.indexOf("/");if(delimiterIndex<0)throw new exceptions_1.InvalidBitId(id);const scope=id.substring(0,delimiterIndex),name=id.substring(delimiterIndex+1);return{scope,name}}static parseObsolete(id,version=component_version_1.LATEST_VERSION){if(id.includes(exports.VERSION_DELIMITER)){const[newId,newVersion]=id.split(exports.VERSION_DELIMITER);id=newId,version=newVersion}const idSplit=id.split("/");if(idSplit.length===3){const[scope,box,name]=idSplit;if(!(0,is_valid_id_chunk_1.default)(name,!1)||!(0,is_valid_id_chunk_1.default)(box,!1)||!(0,is_valid_scope_name_1.default)(scope))throw new exceptions_1.InvalidIdChunk(`${scope}/${box}/${name}`);return new BitId({scope,box,name,version})}if(idSplit.length===2){const[box,name]=idSplit;if(!(0,is_valid_id_chunk_1.default)(name,!1)||!(0,is_valid_id_chunk_1.default)(box,!1))throw new exceptions_1.InvalidIdChunk(`${box}/${name}`);return new BitId({box,name,version})}if(idSplit.length===1){const[name]=idSplit;if(!(0,is_valid_id_chunk_1.default)(name))throw new exceptions_1.InvalidIdChunk(name);return new BitId({name,version})}throw new exceptions_1.InvalidBitId(id)}static parseBackwardCompatible(id){return typeof id=="string"?BitId.parseObsolete(id):new BitId(id)}static getValidScopeName(scope){let cleanName=scope.toLowerCase().split("").map(char=>/^[$\-_!.a-z0-9]+$/.test(char)?char:"").join("");const nameSplitByDot=cleanName.split(".");if(nameSplitByDot.length>1&&(cleanName=`${(0,lodash_1.head)(nameSplitByDot)}.${(0,lodash_1.tail)(nameSplitByDot).join("")}`),!cleanName)throw new Error("scope name created by directory name have to contains at least one character or number");return cleanName}static getValidIdChunk(chunk){return(0,is_valid_id_chunk_1.default)(chunk)||(chunk=chunk.replace(/\./g,""),chunk=chunk.replace(/ /g,"-"),chunk=(0,decamelize_1.default)(chunk,"-")),chunk}static getValidBitId(box,name){return new BitId({name:BitId.getValidIdChunk(name),box:box?BitId.getValidIdChunk(box):void 0})}static isValidVersion(version){return(0,component_version_1.isTag)(version)||(0,component_version_1.isHash)(version)}static isValidSemver(version){return Boolean(semver.valid(version))}}exports.default=BitId},32172: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.InvalidScopeNameFromRemote=exports.InvalidScopeName=exports.InvalidName=exports.InvalidIdChunk=exports.InvalidBitId=void 0;const invalid_bit_id_1=__importDefault(__webpack_require__(18437));exports.InvalidBitId=invalid_bit_id_1.default;const invalid_id_chunk_1=__importDefault(__webpack_require__(41410));exports.InvalidIdChunk=invalid_id_chunk_1.default;const invalid_name_1=__importDefault(__webpack_require__(30940));exports.InvalidName=invalid_name_1.default;const invalid_scope_name_1=__importDefault(__webpack_require__(40316));exports.InvalidScopeName=invalid_scope_name_1.default;const invalid_scope_name_from_remote_1=__importDefault(__webpack_require__(17685));exports.InvalidScopeNameFromRemote=invalid_scope_name_from_remote_1.default},18437:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const bit_error_1=__webpack_require__(75345);class InvalidBitId extends bit_error_1.BitError{constructor(id){super(`error: component ID "${id}" is invalid, please use the following format: [scope]/<name>`)}}exports.default=InvalidBitId},41410:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const bit_error_1=__webpack_require__(75345);class InvalidIdChunk extends bit_error_1.BitError{constructor(id){super(`error: "${id}" is invalid, component IDs can only contain alphanumeric, lowercase characters, and the following ["-", "_", "$", "!"]`)}}exports.default=InvalidIdChunk},30940:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const bit_error_1=__webpack_require__(75345);class InvalidName extends bit_error_1.BitError{constructor(componentName){super(`error: "${componentName}" is invalid, component names can only contain alphanumeric, lowercase characters, and the following ["-", "_", "$", "!", "/"]`)}}exports.default=InvalidName},17685:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const bit_error_1=__webpack_require__(75345);class InvalidScopeNameFromRemote extends bit_error_1.BitError{constructor(scopeName){super(`cannot find scope '${scopeName}'.
9
+ The following dependencies succeeded loading:`}}exports.default=ExtensionPotentialCircular},18827:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.HarmonyAlreadyRunning=void 0;class HarmonyAlreadyRunning extends Error{}exports.HarmonyAlreadyRunning=HarmonyAlreadyRunning},46718:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.HarmonyError=void 0;class HarmonyError extends Error{}exports.HarmonyError=HarmonyError},37895:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.HookNotFound=void 0;class HookNotFound extends Error{}exports.HookNotFound=HookNotFound},23228: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.ExtensionInstantiationException=exports.HookNotFound=exports.HarmonyAlreadyRunning=exports.ExtensionPotentialCircular=exports.ExtensionLoadError=void 0;var extension_load_error_1=__webpack_require__(66951);Object.defineProperty(exports,"ExtensionLoadError",{enumerable:!0,get:function(){return __importDefault(extension_load_error_1).default}});var extension_potential_circular_1=__webpack_require__(32523);Object.defineProperty(exports,"ExtensionPotentialCircular",{enumerable:!0,get:function(){return __importDefault(extension_potential_circular_1).default}});var harmony_already_running_1=__webpack_require__(18827);Object.defineProperty(exports,"HarmonyAlreadyRunning",{enumerable:!0,get:function(){return harmony_already_running_1.HarmonyAlreadyRunning}});var hook_not_found_1=__webpack_require__(37895);Object.defineProperty(exports,"HookNotFound",{enumerable:!0,get:function(){return hook_not_found_1.HookNotFound}});var extension_init_error_1=__webpack_require__(5498);Object.defineProperty(exports,"ExtensionInstantiationException",{enumerable:!0,get:function(){return extension_init_error_1.ExtensionInstantiationException}})},27012: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});const cleargraph_1=__webpack_require__(91655),from_extension_1=__webpack_require__(34535);function getName(manifest){return Reflect.getMetadata("harmony:name",manifest)||manifest.id||manifest.name}class DependencyGraph extends cleargraph_1.Graph{constructor(){super(...arguments);this.cache=new Map}getRuntimeDependencies(aspect,runtime,options={}){const dependencies=this.successors(aspect.name),runtimeDeps=this.successors(aspect.name,edge=>edge.runtime?edge.runtime===runtime.name:!1),runtimeManifest=aspect.getRuntime(runtime);return runtimeManifest?runtimeDeps&&runtimeDeps.size?this.sortDeps(runtimeManifest.dependencies,Array.from(runtimeDeps.values()),options):this.sortDeps(runtimeManifest.dependencies,Array.from(dependencies.values()),options):Array.from(dependencies.values())}sortDeps(originalDependencies,targetDependencies,options={}){const _originalDependencies=options.getName?originalDependencies?.map(aspect=>(options.getName&&(aspect.id=options.getName(aspect)),aspect))||[]:originalDependencies;return targetDependencies.sort((a,b)=>_originalDependencies.findIndex(item=>item.id===a.id)-_originalDependencies.findIndex(item=>item.id===b.id))}byExecutionOrder(){return this.toposort(!0)}enrichRuntimeExtension(id,aspect,runtime,runtimes,requireFn,options={}){return __awaiter(this,void 0,void 0,function*(){yield requireFn(aspect,runtime);const runtimeManifest=aspect.getRuntime(runtime);if(!runtimeManifest)return;const deps=runtimeManifest.dependencies;if(!deps)return;const promises=deps.map(dep=>__awaiter(this,void 0,void 0,function*(){const depId=options.getName?options.getName(dep):dep.id;if(!this.hasNode(depId)){this.add(dep),dep.declareRuntime&&runtimes.add(dep.declareRuntime);const node=this.get(depId);if(!node)return;yield requireFn(node,runtime),yield this.enrichRuntimeExtension(depId,this.get(depId),runtime,runtimes,requireFn)}this.setEdge(id,depId,{runtime:runtime.name,type:"runtime-dependency"})}));return Promise.all(promises)})}enrichRuntime(runtime,runtimes,requireFn,options={}){return __awaiter(this,void 0,void 0,function*(){const promises=Array.from(this.nodes.entries()).map(([id,aspect])=>__awaiter(this,void 0,void 0,function*(){return this.enrichRuntimeExtension(id,aspect,runtime,runtimes,requireFn,options)}));return Promise.all(promises)})}add(manifest){const{vertices,edges}=(0,from_extension_1.fromExtension)(manifest);return this.setNodes(vertices),this.setEdges(edges),this}load(extensions){const newExtensions=extensions.filter(extension=>extension.id?!this.get(extension.id):!1),{vertices,edges}=(0,from_extension_1.fromExtensions)(newExtensions);return this.setNodes(vertices,!1),this.setEdges(edges),this}getExtension(manifest){const id=getName(manifest),cachedVertex=this.cache.get(id);if(cachedVertex)return cachedVertex;const res=this.node(id);return res?(this.cache.set(res.name,res),res):null}get extensions(){return Array.from(this.nodes.values())}get aspects(){return this.extensions}get(id){const cachedVertex=this.cache.get(id);if(cachedVertex)return cachedVertex;const res=this.node(id);return res?(this.cache.set(res.name,res),res):null}static fromRoot(extension){const{vertices,edges}=(0,from_extension_1.fromExtension)(extension);return new DependencyGraph(vertices,edges)}static from(extensions,options={}){const{vertices,edges}=(0,from_extension_1.fromExtensions)(extensions,options);return new DependencyGraph(vertices,edges)}}exports.default=DependencyGraph},34535: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.fromExtensions=exports.fromExtension=void 0;const factory_1=__webpack_require__(71022),extension_potential_circular_1=__importDefault(__webpack_require__(32523));function getName(manifest){return Reflect.getMetadata("harmony:name",manifest)||manifest.id||manifest.name}function fromExtension(extension,options={}){const vertices={};let edges=[];function iterate(root){const id=options.getName?options.getName(root):getName(root);if(vertices[id])return;const instance=(0,factory_1.extensionFactory)(root),validDeps=instance.dependencies.filter(dep=>dep).map(dep=>(0,factory_1.extensionFactory)(dep));if(instance.dependencies.length>validDeps.length)throw new extension_potential_circular_1.default(instance,validDeps);vertices[id]=instance;const newEdges=validDeps.map(dep=>({sourceId:id,targetId:dep.name,edge:{type:"dependency"}}));edges=edges.concat(newEdges),instance.dependencies.forEach(dep=>iterate(dep))}iterate(extension);let vertexArray=[];for(let[key,value]of Object.entries(vertices))vertexArray.push({id:key,node:value});return{vertices:vertexArray,edges}}exports.fromExtension=fromExtension;function fromExtensions(extensions,options={}){return extensions.map(ext=>fromExtension(ext,options)).reduce((acc,subgraph)=>(acc.edges=acc.edges.concat(subgraph.edges),acc.vertices=acc.vertices.concat(subgraph.vertices),acc),{vertices:[],edges:[]})}exports.fromExtensions=fromExtensions},10363:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.HookRegistry=exports.hook=exports.createHook=exports.register=exports.provider=exports.ExtensionDecorator=void 0;const map={};function ExtensionDecorator({name,dependencies}={}){function classDecorator(constructor){Reflect.defineMetadata("harmony:name",name||constructor.name,constructor),Reflect.defineMetadata("harmony:dependencies",calculateDependnecies(constructor,dependencies),constructor)}return classDecorator}exports.ExtensionDecorator=ExtensionDecorator;function provider(){return function(target,propertyKey,descriptor){const keys=Reflect.getMetadata("design:paramtypes",descriptor)}}exports.provider=provider;function providerFn(classExtension){return classExtension.provide?classExtension.provide:classExtension.provider}function calculateDependnecies(classExtension,deps){function fromMetadata(){return providerFn(classExtension)?[]:Reflect.getMetadata("design:paramtypes",classExtension)}const dependnecies=deps||fromMetadata()||[],hookDeps=classExtension.__hookDeps?classExtension.__hookDeps:[];return dependnecies.concat(hookDeps)||[]}function register(extension,name){return function(target,propertyKey,descriptor){const extensionName=Reflect.getMetadata("harmony:name",extension);map[extensionName]||(map[extensionName]={});const hook2=map[extensionName][name||propertyKey];!hook2||hook2.register(target[propertyKey])}}exports.register=register;function createHook(){const randomId=Math.random().toString(36).substring(2);map[randomId]=HookRegistry.create();const decorator=function(target,propertyKey,descriptor){map[randomId].register(descriptor.value)};return decorator.hash=randomId,decorator}exports.createHook=createHook;function hook(name){return function(target,propertyKey){let instance=HookRegistry.create();const extensionName=Reflect.getMetadata("harmony:name",target.constructor),hookName=name||propertyKey;map[extensionName]?map[extensionName][hookName]=instance:map[extensionName]={[hookName]:instance},Object.defineProperty(target,propertyKey,{get:()=>instance,set:value=>{instance=value}})}}exports.hook=hook;class HookRegistry{constructor(fillers,hash){this.fillers=fillers,this.hash=hash}register(filler){this.fillers.push(filler)}list(){return this.fillers}static of(hook2){return map[hook2.hash]}static create(){return new HookRegistry([])}}exports.HookRegistry=HookRegistry},33625: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.Extension=void 0;const extension_init_error_1=__webpack_require__(5498);class Extension{constructor(manifest){this.manifest=manifest,this._instance=null,this._loaded=!1}get instance(){return this._instance}get name(){return Reflect.getMetadata("harmony:name",this.manifest)||this.manifest.id||this.manifest.name}get id(){return this.name}get dependencies(){return Reflect.getMetadata("harmony:dependencies",this.manifest)||this.manifest.dependencies||[]}get provider(){return Reflect.getMetadata("harmony:provider",this.manifest)||this.manifest.provider}get files(){return this.manifest.files}get loaded(){return this._loaded}toString(){return JSON.stringify(this.name)}buildSlotRegistries(slots,context){return slots.map(slot=>slot(()=>context.current))}get declareRuntime(){return this.manifest.declareRuntime}getRuntime(runtime){return this.manifest.getRuntime(runtime)}getRuntimes(){return this.manifest.getRuntimes()}getSlots(extensionRuntime){return extensionRuntime.slots&&extensionRuntime.slots.length?extensionRuntime.slots:this.manifest.slots||[]}getConfig(context,extensionRuntime){const defaultConfig=extensionRuntime.defaultConfig||this.manifest.defaultConfig||{},config=context.config.get(this.name)||{};return Object.assign({},defaultConfig,config)}__run(dependencies,context,runtime){return __awaiter(this,void 0,void 0,function*(){const name=this.name;context.initExtension(name);const extensionRuntime=this.getRuntime(runtime);if(!extensionRuntime)return;const registries=this.buildSlotRegistries(this.getSlots(extensionRuntime),context),config=this.getConfig(context,extensionRuntime);if(!this.loaded){if(extensionRuntime.provider)this._instance=yield extensionRuntime.provider(dependencies,config,registries,context);else try{this._instance=new extensionRuntime.manifest(...dependencies)}catch(err){throw new extension_init_error_1.ExtensionInstantiationException(err.toString())}return this._loaded=!0,this._instance}return context.endExtension(),Promise.resolve(this.instance)})}}exports.Extension=Extension},45022:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createHook=exports.provider=exports.HookRegistry=exports.hook=exports.register=exports.ExtensionDecorator=exports.Extension=void 0;var extension_1=__webpack_require__(33625);Object.defineProperty(exports,"Extension",{enumerable:!0,get:function(){return extension_1.Extension}});var decorator_1=__webpack_require__(10363);Object.defineProperty(exports,"ExtensionDecorator",{enumerable:!0,get:function(){return decorator_1.ExtensionDecorator}}),Object.defineProperty(exports,"register",{enumerable:!0,get:function(){return decorator_1.register}}),Object.defineProperty(exports,"hook",{enumerable:!0,get:function(){return decorator_1.hook}}),Object.defineProperty(exports,"HookRegistry",{enumerable:!0,get:function(){return decorator_1.HookRegistry}}),Object.defineProperty(exports,"provider",{enumerable:!0,get:function(){return decorator_1.provider}}),Object.defineProperty(exports,"createHook",{enumerable:!0,get:function(){return decorator_1.createHook}})},63681:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.extensionFactory=void 0;const extension_1=__webpack_require__(33625);function extensionFactory(manifest){return manifest.provide&&(manifest.provider=manifest.provide),new extension_1.Extension(manifest)}exports.extensionFactory=extensionFactory},71022:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.extensionFactory=void 0;var extension_factory_1=__webpack_require__(63681);Object.defineProperty(exports,"extensionFactory",{enumerable:!0,get:function(){return extension_factory_1.extensionFactory}})},95987: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())})},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Harmony=void 0,__webpack_require__(72641);const extension_graph_1=__importDefault(__webpack_require__(27012)),exceptions_1=__webpack_require__(23228),utils_1=__webpack_require__(63201),config_1=__webpack_require__(58585),runtimes_1=__webpack_require__(57458),exceptions_2=__webpack_require__(49558);class Harmony{constructor(graph,config,runtimes,activeRuntime,depOptions){this.graph=graph,this.config=config,this.runtimes=runtimes,this.activeRuntime=activeRuntime,this.depOptions=depOptions,this.current=null}get extensions(){return this.graph.nodes}get extensionsIds(){return[...this.graph.nodes.keys()]}load(extensions){return __awaiter(this,void 0,void 0,function*(){return this.set(extensions)})}set(extensions){return __awaiter(this,void 0,void 0,function*(){this.graph.load(extensions);const extensionsToLoad=extensions.map(ext=>Reflect.getMetadata("harmony:name",ext)||ext.id||ext.name);yield this.graph.enrichRuntime(this.runtime,this.runtimes,()=>{});const subgraphs=this.graph.successorsSubgraph(extensionsToLoad);if(subgraphs){const executionOrder=subgraphs.toposort(!0);yield(0,utils_1.asyncForEach)(executionOrder,ext=>__awaiter(this,void 0,void 0,function*(){if(!this.runtime)throw new exceptions_2.RuntimeNotDefined(this.activeRuntime);yield this.runOne(ext,this.runtime)}))}})}runOne(extension,runtime){return __awaiter(this,void 0,void 0,function*(){if(extension.loaded)return;const instances=this.graph.getRuntimeDependencies(extension,runtime,this.depOptions).map(extension2=>extension2.instance);try{return extension.__run(instances,this,runtime)}catch(err){throw new exceptions_1.ExtensionLoadError(extension,err)}})}getDependencies(aspect){if(!this.runtime)throw new exceptions_2.RuntimeNotDefined(this.activeRuntime);return this.graph.getRuntimeDependencies(aspect,this.runtime,this.depOptions)}initExtension(id){this.current=id}endExtension(){this.current=null}get(id){const extension=this.graph.get(id);if(!extension||!extension.instance)throw new Error(`failed loading extension ${id}`);return extension.instance}resolveRuntime(name){return this.runtimes.get(name)}run(requireFn){return __awaiter(this,void 0,void 0,function*(){const runtime=this.resolveRuntime(this.activeRuntime);this.runtime=runtime;const defaultRequireFn=(aspect,runtime2)=>__awaiter(this,void 0,void 0,function*(){runtime2.getRuntimeFile(aspect.files)});yield this.graph.enrichRuntime(runtime,this.runtimes,requireFn||defaultRequireFn,this.depOptions);const executionOrder=this.graph.byExecutionOrder();yield(0,utils_1.asyncForEach)(executionOrder,ext=>__awaiter(this,void 0,void 0,function*(){yield this.runOne(ext,runtime)}))})}static load(aspects,runtime,globalConfig,options={}){return __awaiter(this,void 0,void 0,function*(){const aspectGraph=extension_graph_1.default.from(aspects,options),runtimes=yield runtimes_1.Runtimes.load(aspectGraph);return new Harmony(aspectGraph,config_1.Config.from(globalConfig),runtimes,runtime,options)})}}exports.Harmony=Harmony},64086: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.AspectGraph=exports.RuntimeDefinition=exports.Aspect=exports.HarmonyError=exports.SlotRegistry=exports.Slot=exports.Harmony=exports.createHook=exports.provider=exports.hook=exports.HookRegistry=exports.register=exports.Extension=exports.ExtensionDecorator=void 0;var extension_1=__webpack_require__(45022);Object.defineProperty(exports,"ExtensionDecorator",{enumerable:!0,get:function(){return extension_1.ExtensionDecorator}}),Object.defineProperty(exports,"Extension",{enumerable:!0,get:function(){return extension_1.Extension}}),Object.defineProperty(exports,"register",{enumerable:!0,get:function(){return extension_1.register}}),Object.defineProperty(exports,"HookRegistry",{enumerable:!0,get:function(){return extension_1.HookRegistry}}),Object.defineProperty(exports,"hook",{enumerable:!0,get:function(){return extension_1.hook}}),Object.defineProperty(exports,"provider",{enumerable:!0,get:function(){return extension_1.provider}}),Object.defineProperty(exports,"createHook",{enumerable:!0,get:function(){return extension_1.createHook}});var harmony_1=__webpack_require__(95987);Object.defineProperty(exports,"Harmony",{enumerable:!0,get:function(){return harmony_1.Harmony}});var slots_1=__webpack_require__(3304);Object.defineProperty(exports,"Slot",{enumerable:!0,get:function(){return slots_1.Slot}}),Object.defineProperty(exports,"SlotRegistry",{enumerable:!0,get:function(){return slots_1.SlotRegistry}});var harmony_error_1=__webpack_require__(46718);Object.defineProperty(exports,"HarmonyError",{enumerable:!0,get:function(){return harmony_error_1.HarmonyError}});var aspect_1=__webpack_require__(4220);Object.defineProperty(exports,"Aspect",{enumerable:!0,get:function(){return aspect_1.Aspect}});var runtimes_1=__webpack_require__(30191);Object.defineProperty(exports,"RuntimeDefinition",{enumerable:!0,get:function(){return runtimes_1.RuntimeDefinition}});var extension_graph_1=__webpack_require__(27012);Object.defineProperty(exports,"AspectGraph",{enumerable:!0,get:function(){return __importDefault(extension_graph_1).default}})},49558:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RuntimeModuleError=exports.RuntimeNotDefined=void 0;var runtime_not_defined_1=__webpack_require__(56570);Object.defineProperty(exports,"RuntimeNotDefined",{enumerable:!0,get:function(){return runtime_not_defined_1.RuntimeNotDefined}});var runtime_module_error_1=__webpack_require__(15918);Object.defineProperty(exports,"RuntimeModuleError",{enumerable:!0,get:function(){return runtime_module_error_1.RuntimeModuleError}})},15918:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RuntimeModuleError=void 0;class RuntimeModuleError extends Error{constructor(err){super(`failed to load Harmony aspect with error message: ${err.message}`);this.err=err}get stack(){return this.err.stack}}exports.RuntimeModuleError=RuntimeModuleError},56570:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RuntimeNotDefined=void 0;class RuntimeNotDefined extends Error{constructor(name){super(`runtime: '${name}' was not defined by any aspect`)}}exports.RuntimeNotDefined=RuntimeNotDefined},30191:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RuntimeDefinition=exports.Runtimes=void 0;var runtimes_1=__webpack_require__(57458);Object.defineProperty(exports,"Runtimes",{enumerable:!0,get:function(){return runtimes_1.Runtimes}});var runtime_definition_1=__webpack_require__(67124);Object.defineProperty(exports,"RuntimeDefinition",{enumerable:!0,get:function(){return runtime_definition_1.RuntimeDefinition}})},67124:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RuntimeDefinition=void 0;const DEFAULT_PREDICATE=(filePath,name)=>filePath.includes(`.${name}.`);class RuntimeDefinition{constructor(name,filePredicate=DEFAULT_PREDICATE){this.name=name,this.filePredicate=filePredicate}getRuntimeFile(paths){return paths.find(path=>this.filePredicate(path,this.name))}require(file){}static create(def){return new RuntimeDefinition(def.name)}}exports.RuntimeDefinition=RuntimeDefinition},57458: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.Runtimes=void 0;const exceptions_1=__webpack_require__(49558);class Runtimes{constructor(runtimeDefinition){this.runtimeDefinition=runtimeDefinition}add(runtime){return this.runtimeDefinition[runtime.name]=runtime,this}get(name){if(!this.runtimeDefinition[name])throw new exceptions_1.RuntimeNotDefined(name);return this.runtimeDefinition[name]}dispose(){}static load(graph){return __awaiter(this,void 0,void 0,function*(){const runtimes={};return graph.extensions.forEach(manifest=>{!manifest.declareRuntime||(runtimes[manifest.declareRuntime.name]=manifest.declareRuntime)}),new Runtimes(runtimes)})}}exports.Runtimes=Runtimes},3304:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SlotRegistry=exports.Slot=void 0;var slot_1=__webpack_require__(27277);Object.defineProperty(exports,"Slot",{enumerable:!0,get:function(){return slot_1.Slot}});var registry_1=__webpack_require__(86161);Object.defineProperty(exports,"SlotRegistry",{enumerable:!0,get:function(){return registry_1.SlotRegistry}})},86161:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SlotRegistry=void 0;class SlotRegistry{constructor(registerFn,map=new Map){this.registerFn=registerFn,this.map=map}get(id){return this.map.get(id)}toArray(){return Array.from(this.map.entries())}values(){return Array.from(this.map.values())}register(value){const id=this.registerFn();this.map.set(id,value)}}exports.SlotRegistry=SlotRegistry},27277:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Slot=void 0;const registry_1=__webpack_require__(86161);class Slot{static withType(){return registerFn=>new registry_1.SlotRegistry(registerFn)}}exports.Slot=Slot},74303:function(__unused_webpack_module,exports){"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.asyncForEach=void 0;function asyncForEach(array,callback){return __awaiter(this,void 0,void 0,function*(){for(let index=0;index<array.length;index+=1)yield callback(array[index],index,array)})}exports.asyncForEach=asyncForEach},63201:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.asyncForEach=void 0;var async_for_each_1=__webpack_require__(74303);Object.defineProperty(exports,"asyncForEach",{enumerable:!0,get:function(){return async_for_each_1.asyncForEach}})},44127: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.VERSION_DELIMITER=void 0;const decamelize_1=__importDefault(__webpack_require__(65830)),path=__importStar(__webpack_require__(62005)),semver=__importStar(__webpack_require__(86090)),lodash_1=__webpack_require__(58380),component_version_1=__webpack_require__(97010),is_valid_id_chunk_1=__importDefault(__webpack_require__(54014)),is_valid_scope_name_1=__importDefault(__webpack_require__(41418)),exceptions_1=__webpack_require__(8847);exports.VERSION_DELIMITER="@";class BitId{constructor({scope,box,name,version}){if(!name)throw new exceptions_1.InvalidName(name);this.scope=scope||null,this.box=void 0,this.name=box?`${box}/${name}`:name,this.version=version||void 0,Object.freeze(this)}clone(){return new BitId(this)}changeScope(newScope){return new BitId({scope:newScope,name:this.name,version:this.version})}changeVersion(newVersion){return new BitId({scope:this.scope,name:this.name,version:newVersion})}isLocal(scopeName){return!this.scope||Boolean(scopeName&&scopeName===this.scope)}getVersion(){return(0,component_version_1.versionParser)(this.version)}hasVersion(){return Boolean(this.version&&this.version!==component_version_1.LATEST_VERSION)}hasScope(){return Boolean(this.scope)}hasSameName(id){return this.name===id.name}hasSameScope(id){return this.hasScope()&&id.hasScope()?this.scope===id.scope:!this.hasScope()&&!id.hasScope()}hasSameVersion(id){return this.hasVersion()&&id.hasVersion()?this.version===id.version:!this.hasVersion()&&!id.hasVersion()}toString(ignoreScope=!1,ignoreVersion=!1){const{name,version}=this,scope=this.scope,componentStr=ignoreScope||!scope?name:[scope,name].join("/");return ignoreVersion||!this.hasVersion()?componentStr:componentStr.concat(`${exports.VERSION_DELIMITER}${version}`)}toStringWithoutScope(){return this.toString(!0)}toStringWithoutVersion(){return this.toString(!1,!0)}toStringWithoutScopeAndVersion(){return this.toString(!0,!0)}isEqual(bitId){return this.hasSameName(bitId)&&this.hasSameScope(bitId)&&this.hasSameVersion(bitId)}isEqualWithoutVersion(bitId){return this.hasSameName(bitId)&&this.hasSameScope(bitId)}isEqualWithoutScopeAndVersion(bitId){return this.hasSameName(bitId)}serialize(){const obj={scope:this.scope,name:this.name,version:this.version};return this.hasVersion()||delete obj.version,this.hasScope()||delete obj.scope,obj}toFullPath(){if(!this.scope||!this.version)throw new Error("BitId.toFullPath is unable to generate a path without a scope or a version");return path.join(this.name,this.scope,this.version)}isVersionSnap(){return!(0,component_version_1.isTag)(this.version)}getVersionPreReleaseData(){return this.version?semver.prerelease(this.version):null}static getStringWithoutVersion(id){const splitted=id.split(exports.VERSION_DELIMITER);let res=splitted[0];return id.startsWith(exports.VERSION_DELIMITER)&&(res=`${exports.VERSION_DELIMITER}${splitted[1]}`),res}static getVersionOnlyFromString(id){return id.split(exports.VERSION_DELIMITER)[1]}static parse(id,hasScope=!0,version=component_version_1.LATEST_VERSION){if(typeof id!="string")throw new TypeError(`BitId.parse expects to get "id" as a string, instead, got ${typeof id}`);if(id.includes(exports.VERSION_DELIMITER)&&id.lastIndexOf(exports.VERSION_DELIMITER)>0){const[newId,newVersion]=id.split(exports.VERSION_DELIMITER);id=newId,version=newVersion}const getScopeAndName=()=>hasScope?BitId.getScopeAndName(id):{scope:void 0,name:id},{scope,name}=getScopeAndName();if(!(0,is_valid_id_chunk_1.default)(name))throw new exceptions_1.InvalidName(name);if(scope&&!(0,is_valid_scope_name_1.default)(scope))throw new exceptions_1.InvalidScopeName(scope,id);return new BitId({scope,name,version})}static getScopeAndName(id){const delimiterIndex=id.indexOf("/");if(delimiterIndex<0)throw new exceptions_1.InvalidBitId(id);const scope=id.substring(0,delimiterIndex),name=id.substring(delimiterIndex+1);return{scope,name}}static parseObsolete(id,version=component_version_1.LATEST_VERSION){if(id.includes(exports.VERSION_DELIMITER)){const[newId,newVersion]=id.split(exports.VERSION_DELIMITER);id=newId,version=newVersion}const idSplit=id.split("/");if(idSplit.length===3){const[scope,box,name]=idSplit;if(!(0,is_valid_id_chunk_1.default)(name,!1)||!(0,is_valid_id_chunk_1.default)(box,!1)||!(0,is_valid_scope_name_1.default)(scope))throw new exceptions_1.InvalidIdChunk(`${scope}/${box}/${name}`);return new BitId({scope,box,name,version})}if(idSplit.length===2){const[box,name]=idSplit;if(!(0,is_valid_id_chunk_1.default)(name,!1)||!(0,is_valid_id_chunk_1.default)(box,!1))throw new exceptions_1.InvalidIdChunk(`${box}/${name}`);return new BitId({box,name,version})}if(idSplit.length===1){const[name]=idSplit;if(!(0,is_valid_id_chunk_1.default)(name))throw new exceptions_1.InvalidIdChunk(name);return new BitId({name,version})}throw new exceptions_1.InvalidBitId(id)}static parseBackwardCompatible(id){return typeof id=="string"?BitId.parseObsolete(id):new BitId(id)}static getValidScopeName(scope){let cleanName=scope.toLowerCase().split("").map(char=>/^[$\-_!.a-z0-9]+$/.test(char)?char:"").join("");const nameSplitByDot=cleanName.split(".");if(nameSplitByDot.length>1&&(cleanName=`${(0,lodash_1.head)(nameSplitByDot)}.${(0,lodash_1.tail)(nameSplitByDot).join("")}`),!cleanName)throw new Error("scope name created by directory name have to contains at least one character or number");return cleanName}static getValidIdChunk(chunk){return(0,is_valid_id_chunk_1.default)(chunk)||(chunk=chunk.replace(/\./g,""),chunk=chunk.replace(/ /g,"-"),chunk=(0,decamelize_1.default)(chunk,"-")),chunk}static getValidBitId(box,name){return new BitId({name:BitId.getValidIdChunk(name),box:box?BitId.getValidIdChunk(box):void 0})}static isValidVersion(version){return(0,component_version_1.isTag)(version)||(0,component_version_1.isHash)(version)}static isValidSemver(version){return Boolean(semver.valid(version))}}exports.default=BitId},8847: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.InvalidScopeNameFromRemote=exports.InvalidScopeName=exports.InvalidName=exports.InvalidIdChunk=exports.InvalidBitId=void 0;const invalid_bit_id_1=__importDefault(__webpack_require__(15002));exports.InvalidBitId=invalid_bit_id_1.default;const invalid_id_chunk_1=__importDefault(__webpack_require__(32873));exports.InvalidIdChunk=invalid_id_chunk_1.default;const invalid_name_1=__importDefault(__webpack_require__(7774));exports.InvalidName=invalid_name_1.default;const invalid_scope_name_1=__importDefault(__webpack_require__(49114));exports.InvalidScopeName=invalid_scope_name_1.default;const invalid_scope_name_from_remote_1=__importDefault(__webpack_require__(74357));exports.InvalidScopeNameFromRemote=invalid_scope_name_from_remote_1.default},15002:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const bit_error_1=__webpack_require__(81708);class InvalidBitId extends bit_error_1.BitError{constructor(id){super(`error: component ID "${id}" is invalid, please use the following format: [scope]/<name>`)}}exports.default=InvalidBitId},32873:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const bit_error_1=__webpack_require__(81708);class InvalidIdChunk extends bit_error_1.BitError{constructor(id){super(`error: "${id}" is invalid, component IDs can only contain alphanumeric, lowercase characters, and the following ["-", "_", "$", "!"]`)}}exports.default=InvalidIdChunk},7774:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const bit_error_1=__webpack_require__(81708);class InvalidName extends bit_error_1.BitError{constructor(componentName){super(`error: "${componentName}" is invalid, component names can only contain alphanumeric, lowercase characters, and the following ["-", "_", "$", "!", "/"]`)}}exports.default=InvalidName},74357:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const bit_error_1=__webpack_require__(81708);class InvalidScopeNameFromRemote extends bit_error_1.BitError{constructor(scopeName){super(`cannot find scope '${scopeName}'.
10
10
  if you are targeting a self-hosted scope, please ensure the scope is configured in your remotes (via "bit remote" command) and that the scope name is correct.
11
- if this is a scope on bit.cloud please add the organization name before the scope (yourOrg.some-scope-name)`);this.scopeName=scopeName}}exports.default=InvalidScopeNameFromRemote},40316:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const bit_error_1=__webpack_require__(75345);class InvalidScopeName extends bit_error_1.BitError{constructor(scopeName,id,variant){const variantStr=variant?`configured in variant "${variant}" `:"";super(`error: "${id||scopeName}" ${variantStr}is invalid, component scope names can only contain alphanumeric, lowercase characters, and the following ["-", "_", "$", "!"]`)}}exports.default=InvalidScopeName},92439: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.InvalidScopeNameFromRemote=exports.InvalidScopeName=exports.InvalidName=exports.isValidIdChunk=exports.isValidScopeName=exports.VERSION_DELIMITER=exports.BitId=void 0;const bit_id_1=__importStar(__webpack_require__(26375));exports.BitId=bit_id_1.default,Object.defineProperty(exports,"VERSION_DELIMITER",{enumerable:!0,get:function(){return bit_id_1.VERSION_DELIMITER}});const exceptions_1=__webpack_require__(32172);Object.defineProperty(exports,"InvalidName",{enumerable:!0,get:function(){return exceptions_1.InvalidName}}),Object.defineProperty(exports,"InvalidScopeName",{enumerable:!0,get:function(){return exceptions_1.InvalidScopeName}}),Object.defineProperty(exports,"InvalidScopeNameFromRemote",{enumerable:!0,get:function(){return exceptions_1.InvalidScopeNameFromRemote}});const is_valid_scope_name_1=__importDefault(__webpack_require__(74143));exports.isValidScopeName=is_valid_scope_name_1.default;const is_valid_id_chunk_1=__importDefault(__webpack_require__(91023));exports.isValidIdChunk=is_valid_id_chunk_1.default},91023:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const validationRegExp=/^[-_a-z0-9/]+$/,validationRegExpDisallowSlash=/^[-_a-z0-9]+$/;function isValidIdChunk(val,allowSlash=!0){return typeof val!="string"||val.includes("//")?!1:(allowSlash?validationRegExp:validationRegExpDisallowSlash).test(val)}exports.default=isValidIdChunk},74143:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const validationRegExp=/^[$\-_!a-z0-9]+[.]?[$\-_!a-z0-9]+$/;function isValidScopeName(val){return typeof val!="string"?!1:validationRegExp.test(val)}exports.default=isValidScopeName},54710:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.linkModules=exports.PreviewModules=exports.PREVIEW_MODULES=void 0;var preview_modules_1=__webpack_require__(5692);Object.defineProperty(exports,"PREVIEW_MODULES",{enumerable:!0,get:function(){return preview_modules_1.PREVIEW_MODULES}}),Object.defineProperty(exports,"PreviewModules",{enumerable:!0,get:function(){return preview_modules_1.PreviewModules}}),Object.defineProperty(exports,"linkModules",{enumerable:!0,get:function(){return preview_modules_1.linkModules}})},5692:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.linkModules=exports.PREVIEW_MODULES=exports.PreviewModules=void 0;class PreviewModules extends Map{constructor(){super(...arguments);this.onSet=new Set}set(id,preview){return super.set(id,preview),this.onSet.forEach(callback=>callback()),this}loadComponentPreviews(compId,previews){Object.entries(previews).forEach(([previewName,moduleFile])=>{const preview=this.get(previewName);!preview||(preview.componentMap[compId]=moduleFile)})}}exports.PreviewModules=PreviewModules;function getPreviewModules(){return typeof window<"u"?(window.__bit_preview_modules||(window.__bit_preview_modules=new PreviewModules),window.__bit_preview_modules):new PreviewModules}exports.PREVIEW_MODULES=getPreviewModules();function linkModules(previewName,previewModule){exports.PREVIEW_MODULES.set(previewName,previewModule)}exports.linkModules=linkModules},37587:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tarjan_1=__webpack_require__(15105);exports.tarjan=tarjan_1.tarjan},15105: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});const lodash_1=__importDefault(__webpack_require__(58822));function tarjan(g){var index=0,stack=[],visited={},results=[];function dfs(v){var entry=visited[v]={onStack:!0,lowlink:index,index:index++};if(stack.push(v),[...g.successors(v).keys()].forEach(function(w2){lodash_1.default.has(visited,w2)?visited[w2].onStack&&(entry.lowlink=Math.min(entry.lowlink,visited[w2].index)):(dfs(w2),entry.lowlink=Math.min(entry.lowlink,visited[w2].lowlink))}),entry.lowlink===entry.index){var cmpt=[],w;do w=stack.pop(),visited[w].onStack=!1,cmpt.push(w);while(v!==w);results.push(cmpt)}}return[...g.nodes.keys()].forEach(function(v){lodash_1.default.has(visited,v)||dfs(v)}),results}exports.tarjan=tarjan},58651:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});class GraphEdge{constructor(sourceId,targetId,attr){this.sourceId=sourceId,this.targetId=targetId,this.sourceId=sourceId,this.targetId=targetId,this.attr=attr}stringify(){let attrStr="";return!!this.attr.stringify&&typeof this.attr.stringify=="function"?attrStr=this.attr.stringify():attrStr=JSON.stringify(this.attr),attrStr}static fromObject(obj,parseEdge){if(!obj.hasOwnProperty("sourceId"))throw Error("missing source id");if(!obj.hasOwnProperty("targetId"))throw Error("missing target id");return{sourceId:obj.sourceId,targetId:obj.targetId,edge:parseEdge(obj.edge)}}static edgeId(sourceId,targetId){return`${sourceId}->${targetId}`}static parseEdgeId(id){const spl=id.split("->");return spl.length===2?{sourceId:spl[0],targetId:spl[1]}:{sourceId:"",targetId:""}}get nodes(){return[this.sourceId,this.targetId]}}exports.GraphEdge=GraphEdge;function genericParseEdge(edge){return Object.keys(edge).length===0&&edge.constructor===Object||typeof edge!="object"?edge:JSON.parse(edge)}exports.genericParseEdge=genericParseEdge;function genericEdgeToJson(edge){return edge}exports.genericEdgeToJson=genericEdgeToJson},77172:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});class CyclicError extends Error{constructor(message){super(message);Object.setPrototypeOf(this,new.target.prototype)}}exports.CyclicError=CyclicError;class NodeDoesntExist extends Error{constructor(message){super(message);Object.setPrototypeOf(this,new.target.prototype)}}exports.NodeDoesntExist=NodeDoesntExist},6748: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});const index_1=__webpack_require__(1290),index_2=__webpack_require__(1290),index_3=__webpack_require__(1290),lodash_1=__importDefault(__webpack_require__(58822)),algorithms_1=__webpack_require__(37587),node_1=__webpack_require__(84528),edge_1=__webpack_require__(58651);class Graph{constructor(nodes=[],edges=[]){this._nodes=new Map,this._edges=new Map,nodes.forEach(elem=>this.setNode(elem.id,elem.node)),edges.forEach(elem=>this.setEdge(elem.sourceId,elem.targetId,elem.edge))}create(nodes=[],edges=[]){return new Graph(nodes,edges)}get _userNodes(){return this._transformToUserNodeMap(this._nodes)}get _userEdges(){return this._transformToUserEdgeMap(this._edges)}_transformToUserNodeMap(map){let newMap=new Map;for(const[key,value]of map.entries())newMap.set(key,value.attr);return newMap}_transformToUserEdgeMap(map){let newMap=new Map;for(const[key,value]of map.entries())newMap.set(key,value.attr);return newMap}setNode(id,node,overrideExisting=!0){if(this.hasNode(id)){if(overrideExisting){let existingNode=this._node(id);existingNode&&(existingNode.attr=node)}}else{let graphNode=new index_1.GraphNode(id,node);this._nodes.set(id,graphNode)}return this}setEdge(sourceId,targetId,edge,overrideExisting=!0){if(this.hasEdge(sourceId,targetId))if(overrideExisting){let existingEdge=this._edge(sourceId,targetId);return existingEdge&&(existingEdge.attr=edge),this}else return this;const id=index_2.GraphEdge.edgeId(sourceId,targetId);let graphEdge=new index_2.GraphEdge(sourceId,targetId,edge);if(this._edges.set(id,graphEdge),this._nodes.has(sourceId)){let sourceNode=this._nodes.get(sourceId);sourceNode!==void 0&&sourceNode.setOutEdge(id)}else throw Error("source node does not exist");if(this._nodes.has(targetId)){let targetNode=this._nodes.get(targetId);targetNode!==void 0&&targetNode.setInEdge(id)}else throw Error("target node does not exist");return this}setNodes(nodes,overrideExisting=!0){return nodes.forEach(elem=>{if(!this.hasNode(elem.id))this.setNode(elem.id,elem.node);else if(overrideExisting){let existingNode=this._node(elem.id);existingNode&&(existingNode.attr=elem.node)}}),this}setEdges(edges,overrideExisting=!0){return edges.forEach(elem=>{if(!this.hasEdge(elem.sourceId,elem.targetId))this.setEdge(elem.sourceId,elem.targetId,elem.edge);else if(overrideExisting){let existingEdge=this._edge(elem.sourceId,elem.targetId);existingEdge&&(existingEdge.attr=elem.edge)}}),this}hasNode(id){return this._nodes.has(id)}hasEdge(sourceId,targetId){return this._edges.has(index_2.GraphEdge.edgeId(sourceId,targetId))}node(id){var _a;return(_a=this._nodes.get(id))===null||_a===void 0?void 0:_a.attr}edge(sourceId,targetId){var _a;return(_a=this._edges.get(index_2.GraphEdge.edgeId(sourceId,targetId)))===null||_a===void 0?void 0:_a.attr}_node(id){return this._nodes.get(id)}_edge(sourceId,targetId){return this._edges.get(index_2.GraphEdge.edgeId(sourceId,targetId))}_edgeById(edgeId){return this._edges.get(edgeId)}edgeNodesById(edgeId){var _a,_b;return{sourceId:(_a=this._edges.get(edgeId))===null||_a===void 0?void 0:_a.sourceId,targetId:(_b=this._edges.get(edgeId))===null||_b===void 0?void 0:_b.targetId}}get nodes(){return this._userNodes}get graphNodes(){return this._nodes}get edges(){return this._userEdges}get graphEdges(){return this._edges}nodeCount(){return[...this._nodes.keys()].length}edgeCount(){return[...this._edges.keys()].length}sources(){return[...this._nodes.values()].filter(node=>node.isSource()).map(elem=>elem.attr)}sinks(){return[...this._nodes.values()].filter(node=>node.isSink()).map(elem=>elem.attr)}deleteNode(id){const node=this._node(id);typeof node>"u"||(node.nodeEdges.forEach(edgeId=>{const{sourceId,targetId}=index_2.GraphEdge.parseEdgeId(edgeId);this.deleteEdge(sourceId,targetId)}),this._nodes.delete(id))}deleteEdge(sourceId,targetId){const edgeId=index_2.GraphEdge.edgeId(sourceId,targetId);if(this._edges.get(edgeId)!==void 0){let sourceNode=this._nodes.get(sourceId);sourceNode!==void 0&&sourceNode.deleteEdge(edgeId);let targetNode=this._nodes.get(targetId);targetNode!==void 0&&targetNode.deleteEdge(edgeId)}this._edges.delete(edgeId)}inEdges(nodeId){return this._transformToUserEdgeMap(this._inEdges(nodeId))}outEdges(nodeId){return this._transformToUserEdgeMap(this._outEdges(nodeId))}nodeEdges(nodeId){return this._transformToUserEdgeMap(this._nodeEdges(nodeId))}_inEdges(nodeId){let newEdges=new Map;const node=this._node(nodeId);return node===void 0||node.inEdges.forEach(edgeId=>{let{sourceId,targetId}=index_2.GraphEdge.parseEdgeId(edgeId),edge=this._edge(sourceId,targetId);edge!==void 0&&newEdges.set(edgeId,edge)}),newEdges}_outEdges(nodeId){let newEdges=new Map;const node=this._node(nodeId);return node===void 0||node.outEdges.forEach(edgeId=>{let{sourceId,targetId}=index_2.GraphEdge.parseEdgeId(edgeId),edge=this._edge(sourceId,targetId);edge!==void 0&&newEdges.set(edgeId,edge)}),newEdges}_nodeEdges(nodeId){let newEdges=new Map;const node=this._node(nodeId);return node===void 0||node.nodeEdges.forEach(edgeId=>{let{sourceId,targetId}=index_2.GraphEdge.parseEdgeId(edgeId),edge=this._edge(sourceId,targetId);edge!==void 0&&newEdges.set(edgeId,edge)}),newEdges}successors(nodeId,filterPredicate=returnTrue){return this._transformToUserNodeMap(this._successors(nodeId,filterPredicate))}predecessors(nodeId,filterPredicate=returnTrue){return this._transformToUserNodeMap(this._predecessors(nodeId,filterPredicate))}neighbors(nodeId,filterPredicate=returnTrue){return this._transformToUserNodeMap(this._neighbors(nodeId,filterPredicate))}_successors(nodeId,filterPredicate=returnTrue){let successors=new Map;const node=this._node(nodeId);return node===void 0||node.outEdges.forEach(edgeId=>{var _a;const edge=(_a=this._edges.get(edgeId))===null||_a===void 0?void 0:_a.attr;if(edge!=null&&filterPredicate(edge)){const{sourceId,targetId}=index_2.GraphEdge.parseEdgeId(edgeId),targetNode=this._node(targetId);!!targetId&&targetNode!==void 0&&successors.set(targetId,targetNode)}}),successors}_predecessors(nodeId,filterPredicate=returnTrue){let predecessors=new Map;const node=this._node(nodeId);return node===void 0||node.inEdges.forEach(edgeId=>{var _a;const edge=(_a=this._edges.get(edgeId))===null||_a===void 0?void 0:_a.attr;if(edge!=null&&filterPredicate(edge)){const{sourceId,targetId}=index_2.GraphEdge.parseEdgeId(edgeId),sourceNode=this._node(sourceId);!!sourceId&&sourceNode!==void 0&&predecessors.set(sourceId,sourceNode)}}),predecessors}_neighbors(nodeId,filterPredicate=returnTrue){return new Map([...this._predecessors(nodeId,filterPredicate),...this._successors(nodeId,filterPredicate)])}successorsSubgraph(nodeIds,filterPredicate=returnTrue){return this._buildSubgraphs(nodeIds,filterPredicate,"successors")}_alreadyProcessed(nodeId,subgraphs){for(const graph of subgraphs)if(graph.hasNode(nodeId))return!0;return!1}_buildSubgraphs(nodeIds,filterPredicate,order){let subgraphs=[];if(!Array.isArray(nodeIds))return this._buildSubgraph(nodeIds,filterPredicate,order);if(nodeIds.forEach(nodeId=>{this._alreadyProcessed(nodeId,subgraphs)||subgraphs.push(this._buildSubgraph(nodeId,filterPredicate,order))}),subgraphs.length===1)return subgraphs[0];let mergedGraphs=this.create();return subgraphs.length&&(mergedGraphs=subgraphs[0].merge(subgraphs)),mergedGraphs}_buildSubgraph(nodeId,filterPredicate,order){let g=this.create(),graphNode=this._node(nodeId);if(graphNode)g.setNode(nodeId,graphNode.attr);else throw new Error("Node does not exist on graph");return order==="successors"?this._successorsSubgraphUtil(nodeId,g,{},filterPredicate):this._predecessorsSubgraphUtil(nodeId,g,{},filterPredicate)}_successorsSubgraphUtil(nodeId,successorsGraph,visited={},filterPredicate){const successors=[...this._successors(nodeId,filterPredicate).keys()];return successors.length>0&&!visited[nodeId]&&successors.forEach(successor=>{visited[nodeId]=!0;const newNode=this._nodes.get(successor),newEdge=this._edges.get(index_2.GraphEdge.edgeId(nodeId,successor));if(newNode!==void 0&&newEdge!=null)return successorsGraph.setNode(successor,newNode.attr),successorsGraph.setEdge(nodeId,successor,newEdge.attr),this._successorsSubgraphUtil(successor,successorsGraph,visited,filterPredicate)}),successorsGraph}successorsArray(nodeId,filterPredicate=returnTrue){const successorIds=lodash_1.default.uniq(this._successorsArrayUtil(nodeId,[],{},filterPredicate));let successors=[];return successorIds.forEach(id=>{let node=this.node(id);node!=null&&successors.push(node)}),successors}_successorsArrayUtil(nodeId,successorsList=[],visited={},filterPredicate=returnTrue){const successors=[...this._successors(nodeId,filterPredicate).keys()];return successors.length>0&&!visited[nodeId]&&successors.forEach(successor=>(visited[nodeId]=!0,successorsList.push(successor),this._successorsArrayUtil(successor,successorsList,visited,filterPredicate))),successorsList}successorsLayers(nodeKey,filterPredicate=returnTrue,order="fromSource"){let successorsGraph=this.successorsSubgraph(nodeKey,filterPredicate);if(this.isCyclic(successorsGraph))throw new Error("cyclic dependency");let layers=[];layers[0]=[nodeKey];let floor=0,rawLayers=this._successorsLayersUtil([nodeKey],layers,floor,filterPredicate);return arrangeLayers(rawLayers,order)}_successorsLayersUtil(nodeKeys,layers,floor,filterPredicate=returnTrue){if(nodeKeys.length>0){let nextFloor=floor+1;return layers.push([]),layers[floor].forEach(successor=>{const successors=[...this.successors(successor,filterPredicate).keys()];layers[nextFloor]=layers[nextFloor].concat(successors)}),this._successorsLayersUtil(layers[nextFloor],layers,nextFloor,filterPredicate)}return layers}predecessorsSubgraph(nodeIds,filterPredicate=returnTrue){return this._buildSubgraphs(nodeIds,filterPredicate,"predecessors")}_predecessorsSubgraphUtil(nodeId,predecessorsGraph,visited={},filterPredicate=returnTrue){const predecessors=[...this._predecessors(nodeId,filterPredicate).keys()];return predecessors.length>0&&!visited[nodeId]&&predecessors.forEach(predecessor=>{visited[nodeId]=!0;const newNode=this._nodes.get(predecessor),newEdge=this._edges.get(index_2.GraphEdge.edgeId(predecessor,nodeId));if(newNode!==void 0&&newEdge!=null)return predecessorsGraph.setNode(predecessor,newNode.attr),predecessorsGraph.setEdge(predecessor,nodeId,newEdge.attr),this._predecessorsSubgraphUtil(predecessor,predecessorsGraph,visited,filterPredicate)}),predecessorsGraph}predecessorsArray(nodeId,filterPredicate=returnTrue){const predecessorIds=lodash_1.default.uniq(this._predecessorsArrayUtil(nodeId,[],{},filterPredicate));let predecessors=[];return predecessorIds.forEach(id=>{let node=this.node(id);node!=null&&predecessors.push(node)}),predecessors}_predecessorsArrayUtil(nodeId,predecessorsList=[],visited={},filterPredicate=returnTrue){const predecessors=[...this._predecessors(nodeId,filterPredicate).keys()];return predecessors.length>0&&!visited[nodeId]&&predecessors.forEach(predecessor=>(visited[nodeId]=!0,predecessorsList.push(predecessor),this._predecessorsArrayUtil(predecessor,predecessorsList,visited,filterPredicate))),predecessorsList}predecessorsLayers(nodeKey,filterPredicate=returnTrue,order="fromSource"){let successorsGraph=this.predecessorsSubgraph(nodeKey,filterPredicate);if(this.isCyclic(successorsGraph))throw new Error("cyclic sub-graph");let layers=[];layers[0]=[nodeKey];let floor=0,rawLayers=this._predecessorsLayersUtil([nodeKey],layers,floor,filterPredicate);return arrangeLayers(rawLayers,order)}_predecessorsLayersUtil(nodeKeys,layers,floor,filterPredicate=returnTrue){if(nodeKeys.length>0){let nextFloor=floor+1;return layers.push([]),layers[floor].forEach(predecessor=>{const predecessors=[...this.predecessors(predecessor,filterPredicate).keys()];layers[nextFloor]=layers[nextFloor].concat(predecessors)}),this._predecessorsLayersUtil(layers[nextFloor],layers,nextFloor,filterPredicate)}return layers}toposort(reverse=!1){let nodes=this._toposort().map(nodeId=>this.node(nodeId));return nodes=lodash_1.default.compact(nodes),reverse?nodes.reverse():nodes}_transformEdges(){let edges=[];return this._edges.forEach(originalEdge=>{edges.push([originalEdge.sourceId,originalEdge.targetId])}),edges}_toposort(){const nodes=[...this._nodes.keys()],edges=this._transformEdges();var cursor=nodes.length,sorted=new Array(cursor),visited={},i=cursor,outgoingEdges=makeOutgoingEdges(edges),nodesHash=makeNodesHash(nodes);for(edges.forEach(function(edge){if(!nodesHash.has(edge[0])||!nodesHash.has(edge[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});i--;)visited[i]||visit(nodes[i],i,new Set);return sorted;function visit(node,i2,predecessors){if(predecessors.has(node)){var nodeRep;try{nodeRep=", node was:"+JSON.stringify(node)}catch{nodeRep=""}throw new index_3.CyclicError("Cyclic dependency"+nodeRep)}if(!nodesHash.has(node))throw new Error("Found unknown node. Make sure to provide all involved nodes. Unknown node: "+JSON.stringify(node));if(!visited[i2]){visited[i2]=!0;var outgoing=outgoingEdges.get(node)||new Set;if(outgoing=Array.from(outgoing),i2=outgoing.length){predecessors.add(node);do{var child=outgoing[--i2];visit(child,nodesHash.get(child),predecessors)}while(i2);predecessors.delete(node)}sorted[--cursor]=node}}}isCyclic(graph=this){try{graph.toposort()}catch(e){if(e instanceof index_3.CyclicError)return!0;throw e}return!1}findCycles(graph=this){return findCycles(graph)}merge(graphs){let mergedGraph=this;return graphs.forEach(incomingGraph=>{var _a,_b;for(let[nodeId,nodeData]of incomingGraph.nodes)mergedGraph.setNode(nodeId,nodeData);for(let[edgeId,edgeData]of incomingGraph.edges){const sourceId=(_a=incomingGraph._edges.get(edgeId))===null||_a===void 0?void 0:_a.sourceId,targetId=(_b=incomingGraph._edges.get(edgeId))===null||_b===void 0?void 0:_b.targetId;if(mergedGraph.edges.has(edgeId)&&!!sourceId&&!!targetId)mergedGraph.setEdge(sourceId,targetId,edgeData);else if(!!sourceId&&!!targetId&&mergedGraph.hasNode(sourceId)&&mergedGraph.hasNode(targetId))mergedGraph.setEdge(sourceId,targetId,edgeData);else throw index_3.NodeDoesntExist}}),mergedGraph}allPaths(sourceId,targetId){return this._allPaths(sourceId,targetId,[],[])}_allPaths(source,target,currPath,paths,visited={}){return visited[source]=!0,currPath.push(source),source===target?paths.push(lodash_1.default.cloneDeep(currPath)):[...this._successors(source).keys()].forEach(nodeId=>{visited[nodeId]||this._allPaths(nodeId,target,currPath,paths,visited)}),currPath.pop(),visited[source]=!1,paths}toJson(graph){return graph?this._toJson(graph,"object"):this._toJson(this,"object")}stringify(graph){return graph?this._toJson(graph,"string"):this._toJson(this,"string")}static parse(json,parseNode=node_1.genericParseNode,parseEdge=edge_1.genericParseEdge){return this._fromJson(json,parseNode,parseEdge)}_toJson(graph,returnType){let nodeArray=[];for(let[nodeId,nodeData]of graph.nodes.entries()){const graphNode=graph._node(nodeId);if(graphNode){let convertedNode;returnType==="object"?!!graphNode.attr.toJson&&typeof graphNode.attr.toJson=="function"?convertedNode=graphNode.attr.toJson():convertedNode=node_1.genericNodeToJson(graphNode.attr):convertedNode=graphNode.stringify(),nodeArray.push({id:nodeId,node:convertedNode})}}let edgeArray=[];for(let[edgeId,edgeData]of graph.edges.entries()){const graphEdge=graph._edgeById(edgeId);if(graphEdge){let convertedEdge;returnType==="object"?!!graphEdge.attr.toJson&&typeof graphEdge.attr.toJson=="function"?convertedEdge=graphEdge.attr.toJson():convertedEdge=node_1.genericNodeToJson(graphEdge.attr):convertedEdge=graphEdge.stringify(),edgeArray.push({sourceId:graphEdge.sourceId,targetId:graphEdge.targetId,edge:convertedEdge})}}let json={nodes:nodeArray,edges:edgeArray};return returnType==="object"?json:JSON.stringify(json)}static _fromJson(json,parseNode,parseEdge){const obj=typeof json=="string"?JSON.parse(json):json;let graph=new Graph;if(!obj.hasOwnProperty("nodes")||!obj.hasOwnProperty("edges"))throw Error("missing properties on JSON. Should contain nodes: {id: string, node: N}[], and edges: {sourceId: string, targetId: string, edge:E}[]");return obj.nodes.forEach(nodeObj=>{const res=index_1.GraphNode.fromObject(nodeObj,parseNode);graph.setNode(res.id,res.node)}),obj.edges.forEach(edgeObj=>{const res=index_2.GraphEdge.fromObject(edgeObj,parseEdge);graph.setEdge(res.sourceId,res.targetId,res.edge)}),graph}bfs(){}dfs(){}}exports.Graph=Graph;function returnTrue(){return!0}function makeOutgoingEdges(arr){for(var edges=new Map,i=0,len=arr.length;i<len;i++){var edge=arr[i];edges.has(edge[0])||edges.set(edge[0],new Set),edges.has(edge[1])||edges.set(edge[1],new Set),edges.get(edge[0]).add(edge[1])}return edges}function makeNodesHash(arr){for(var res=new Map,i=0,len=arr.length;i<len;i++)res.set(arr[i],i);return res}function findCycles(g){return lodash_1.default.filter(algorithms_1.tarjan(g),function(cmpt){return cmpt.length>1||cmpt.length===1&&g.hasEdge(cmpt[0],cmpt[0])})}function arrangeLayers(layers,order){let finalLayers=[],seenNodes=[];layers=layers.reverse();let i=0;return layers.forEach(layer=>{layer.length>0&&(finalLayers.push([]),layer.forEach(node=>{seenNodes.indexOf(node)==-1&&(seenNodes.push(node),finalLayers[i].push(node))}),i++)}),order==="fromSource"?finalLayers.reverse():finalLayers}},1290:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var edge_1=__webpack_require__(58651);exports.GraphEdge=edge_1.GraphEdge;var node_1=__webpack_require__(84528);exports.GraphNode=node_1.GraphNode;var error_1=__webpack_require__(77172);exports.CyclicError=error_1.CyclicError,exports.NodeDoesntExist=error_1.NodeDoesntExist;var graph_1=__webpack_require__(6748);exports.Graph=graph_1.Graph},84528: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});const lodash_1=__webpack_require__(58822),lodash_2=__importDefault(__webpack_require__(58822));class GraphNode{constructor(id,attr,inEdges,outEdges){this.id=id,this.attr=attr,this._inEdges=inEdges||[],this._outEdges=outEdges||[]}setInEdge(edgeId){this._inEdges.push(edgeId)}setOutEdge(edgeId){this._outEdges.push(edgeId)}deleteEdge(edgeId){lodash_2.default.remove(this._inEdges,function(edge){return edge===edgeId}),lodash_2.default.remove(this._outEdges,function(edge){return edge===edgeId})}get inEdges(){return this._inEdges}get outEdges(){return this._outEdges}get nodeEdges(){return this._inEdges.concat(this._outEdges)}isSource(){return this._inEdges.length===0&&this._outEdges.length>0}isSink(){return this._inEdges.length>0&&this._outEdges.length===0}equals(node){return this.id!==node.id?!1:lodash_1.isEqual(this.attr,node.attr)}stringify(){let attrStr="";return!!this.attr.stringify&&typeof this.attr.stringify=="function"?attrStr=this.attr.stringify():attrStr=JSON.stringify(this.attr),attrStr}static fromObject(obj,parseNode){if(!obj.hasOwnProperty("id"))throw Error("missing object id");return{id:obj.id,node:parseNode(obj.node)}}}exports.GraphNode=GraphNode;function genericParseNode(node){return Object.keys(node).length===0&&node.constructor===Object||typeof node!="object"?node:JSON.parse(node)}exports.genericParseNode=genericParseNode;function genericNodeToJson(node){return node}exports.genericNodeToJson=genericNodeToJson},6:function(module,exports){var global=typeof self<"u"?self:this,__self__=function(){function F(){this.fetch=!1,this.DOMException=global.DOMException}return F.prototype=global,new F}();(function(self2){var irrelevant=function(exports2){var support={searchParams:"URLSearchParams"in self2,iterable:"Symbol"in self2&&"iterator"in Symbol,blob:"FileReader"in self2&&"Blob"in self2&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in self2,arrayBuffer:"ArrayBuffer"in self2};function isDataView(obj){return obj&&DataView.prototype.isPrototypeOf(obj)}if(support.arrayBuffer)var viewClasses=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],isArrayBufferView=ArrayBuffer.isView||function(obj){return obj&&viewClasses.indexOf(Object.prototype.toString.call(obj))>-1};function normalizeName(name){if(typeof name!="string"&&(name=String(name)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(name))throw new TypeError("Invalid character in header field name");return name.toLowerCase()}function normalizeValue(value){return typeof value!="string"&&(value=String(value)),value}function iteratorFor(items){var iterator={next:function(){var value=items.shift();return{done:value===void 0,value}}};return support.iterable&&(iterator[Symbol.iterator]=function(){return iterator}),iterator}function Headers2(headers){this.map={},headers instanceof Headers2?headers.forEach(function(value,name){this.append(name,value)},this):Array.isArray(headers)?headers.forEach(function(header){this.append(header[0],header[1])},this):headers&&Object.getOwnPropertyNames(headers).forEach(function(name){this.append(name,headers[name])},this)}Headers2.prototype.append=function(name,value){name=normalizeName(name),value=normalizeValue(value);var oldValue=this.map[name];this.map[name]=oldValue?oldValue+", "+value:value},Headers2.prototype.delete=function(name){delete this.map[normalizeName(name)]},Headers2.prototype.get=function(name){return name=normalizeName(name),this.has(name)?this.map[name]:null},Headers2.prototype.has=function(name){return this.map.hasOwnProperty(normalizeName(name))},Headers2.prototype.set=function(name,value){this.map[normalizeName(name)]=normalizeValue(value)},Headers2.prototype.forEach=function(callback,thisArg){for(var name in this.map)this.map.hasOwnProperty(name)&&callback.call(thisArg,this.map[name],name,this)},Headers2.prototype.keys=function(){var items=[];return this.forEach(function(value,name){items.push(name)}),iteratorFor(items)},Headers2.prototype.values=function(){var items=[];return this.forEach(function(value){items.push(value)}),iteratorFor(items)},Headers2.prototype.entries=function(){var items=[];return this.forEach(function(value,name){items.push([name,value])}),iteratorFor(items)},support.iterable&&(Headers2.prototype[Symbol.iterator]=Headers2.prototype.entries);function consumed(body){if(body.bodyUsed)return Promise.reject(new TypeError("Already read"));body.bodyUsed=!0}function fileReaderReady(reader){return new Promise(function(resolve,reject){reader.onload=function(){resolve(reader.result)},reader.onerror=function(){reject(reader.error)}})}function readBlobAsArrayBuffer(blob){var reader=new FileReader,promise=fileReaderReady(reader);return reader.readAsArrayBuffer(blob),promise}function readBlobAsText(blob){var reader=new FileReader,promise=fileReaderReady(reader);return reader.readAsText(blob),promise}function readArrayBufferAsText(buf){for(var view=new Uint8Array(buf),chars=new Array(view.length),i=0;i<view.length;i++)chars[i]=String.fromCharCode(view[i]);return chars.join("")}function bufferClone(buf){if(buf.slice)return buf.slice(0);var view=new Uint8Array(buf.byteLength);return view.set(new Uint8Array(buf)),view.buffer}function Body(){return this.bodyUsed=!1,this._initBody=function(body){this._bodyInit=body,body?typeof body=="string"?this._bodyText=body:support.blob&&Blob.prototype.isPrototypeOf(body)?this._bodyBlob=body:support.formData&&FormData.prototype.isPrototypeOf(body)?this._bodyFormData=body:support.searchParams&&URLSearchParams.prototype.isPrototypeOf(body)?this._bodyText=body.toString():support.arrayBuffer&&support.blob&&isDataView(body)?(this._bodyArrayBuffer=bufferClone(body.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):support.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(body)||isArrayBufferView(body))?this._bodyArrayBuffer=bufferClone(body):this._bodyText=body=Object.prototype.toString.call(body):this._bodyText="",this.headers.get("content-type")||(typeof body=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):support.searchParams&&URLSearchParams.prototype.isPrototypeOf(body)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},support.blob&&(this.blob=function(){var rejected=consumed(this);if(rejected)return rejected;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?consumed(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(readBlobAsArrayBuffer)}),this.text=function(){var rejected=consumed(this);if(rejected)return rejected;if(this._bodyBlob)return readBlobAsText(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},support.formData&&(this.formData=function(){return this.text().then(decode)}),this.json=function(){return this.text().then(JSON.parse)},this}var methods=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function normalizeMethod(method){var upcased=method.toUpperCase();return methods.indexOf(upcased)>-1?upcased:method}function Request(input,options){options=options||{};var body=options.body;if(input instanceof Request){if(input.bodyUsed)throw new TypeError("Already read");this.url=input.url,this.credentials=input.credentials,options.headers||(this.headers=new Headers2(input.headers)),this.method=input.method,this.mode=input.mode,this.signal=input.signal,!body&&input._bodyInit!=null&&(body=input._bodyInit,input.bodyUsed=!0)}else this.url=String(input);if(this.credentials=options.credentials||this.credentials||"same-origin",(options.headers||!this.headers)&&(this.headers=new Headers2(options.headers)),this.method=normalizeMethod(options.method||this.method||"GET"),this.mode=options.mode||this.mode||null,this.signal=options.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&body)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(body)}Request.prototype.clone=function(){return new Request(this,{body:this._bodyInit})};function decode(body){var form=new FormData;return body.trim().split("&").forEach(function(bytes){if(bytes){var split=bytes.split("="),name=split.shift().replace(/\+/g," "),value=split.join("=").replace(/\+/g," ");form.append(decodeURIComponent(name),decodeURIComponent(value))}}),form}function parseHeaders(rawHeaders){var headers=new Headers2,preProcessedHeaders=rawHeaders.replace(/\r?\n[\t ]+/g," ");return preProcessedHeaders.split(/\r?\n/).forEach(function(line){var parts=line.split(":"),key=parts.shift().trim();if(key){var value=parts.join(":").trim();headers.append(key,value)}}),headers}Body.call(Request.prototype);function Response(bodyInit,options){options||(options={}),this.type="default",this.status=options.status===void 0?200:options.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in options?options.statusText:"OK",this.headers=new Headers2(options.headers),this.url=options.url||"",this._initBody(bodyInit)}Body.call(Response.prototype),Response.prototype.clone=function(){return new Response(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Headers2(this.headers),url:this.url})},Response.error=function(){var response=new Response(null,{status:0,statusText:""});return response.type="error",response};var redirectStatuses=[301,302,303,307,308];Response.redirect=function(url,status){if(redirectStatuses.indexOf(status)===-1)throw new RangeError("Invalid status code");return new Response(null,{status,headers:{location:url}})},exports2.DOMException=self2.DOMException;try{new exports2.DOMException}catch{exports2.DOMException=function(message,name){this.message=message,this.name=name;var error=Error(message);this.stack=error.stack},exports2.DOMException.prototype=Object.create(Error.prototype),exports2.DOMException.prototype.constructor=exports2.DOMException}function fetch(input,init){return new Promise(function(resolve,reject){var request=new Request(input,init);if(request.signal&&request.signal.aborted)return reject(new exports2.DOMException("Aborted","AbortError"));var xhr=new XMLHttpRequest;function abortXhr(){xhr.abort()}xhr.onload=function(){var options={status:xhr.status,statusText:xhr.statusText,headers:parseHeaders(xhr.getAllResponseHeaders()||"")};options.url="responseURL"in xhr?xhr.responseURL:options.headers.get("X-Request-URL");var body="response"in xhr?xhr.response:xhr.responseText;resolve(new Response(body,options))},xhr.onerror=function(){reject(new TypeError("Network request failed"))},xhr.ontimeout=function(){reject(new TypeError("Network request failed"))},xhr.onabort=function(){reject(new exports2.DOMException("Aborted","AbortError"))},xhr.open(request.method,request.url,!0),request.credentials==="include"?xhr.withCredentials=!0:request.credentials==="omit"&&(xhr.withCredentials=!1),"responseType"in xhr&&support.blob&&(xhr.responseType="blob"),request.headers.forEach(function(value,name){xhr.setRequestHeader(name,value)}),request.signal&&(request.signal.addEventListener("abort",abortXhr),xhr.onreadystatechange=function(){xhr.readyState===4&&request.signal.removeEventListener("abort",abortXhr)}),xhr.send(typeof request._bodyInit>"u"?null:request._bodyInit)})}return fetch.polyfill=!0,self2.fetch||(self2.fetch=fetch,self2.Headers=Headers2,self2.Request=Request,self2.Response=Response),exports2.Headers=Headers2,exports2.Request=Request,exports2.Response=Response,exports2.fetch=fetch,Object.defineProperty(exports2,"__esModule",{value:!0}),exports2}({})})(__self__),__self__.fetch.ponyfill=!0,delete __self__.fetch.polyfill;var ctx=__self__;exports=ctx.fetch,exports.default=ctx.fetch,exports.fetch=ctx.fetch,exports.Headers=ctx.Headers,exports.Request=ctx.Request,exports.Response=ctx.Response,module.exports=exports},24618:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var isValue=__webpack_require__(53464),isPlainFunction=__webpack_require__(98637),assign=__webpack_require__(24493),normalizeOpts=__webpack_require__(4162),contains=__webpack_require__(19037),d=module.exports=function(dscr,value){var c,e,w,options,desc;return arguments.length<2||typeof dscr!="string"?(options=value,value=dscr,dscr=null):options=arguments[2],isValue(dscr)?(c=contains.call(dscr,"c"),e=contains.call(dscr,"e"),w=contains.call(dscr,"w")):(c=w=!0,e=!1),desc={value,configurable:c,enumerable:e,writable:w},options?assign(normalizeOpts(options),desc):desc};d.gs=function(dscr,get,set){var c,e,options,desc;return typeof dscr!="string"?(options=set,set=get,get=dscr,dscr=null):options=arguments[3],isValue(get)?isPlainFunction(get)?isValue(set)?isPlainFunction(set)||(options=set,set=void 0):set=void 0:(options=get,get=set=void 0):get=void 0,isValue(dscr)?(c=contains.call(dscr,"c"),e=contains.call(dscr,"e")):(c=!0,e=!1),desc={get,set,configurable:c,enumerable:e},options?assign(normalizeOpts(options),desc):desc}},96880:module=>{"use strict";module.exports=function(str,sep){if(typeof str!="string")throw new TypeError("Expected a string");return sep=typeof sep>"u"?"_":sep,str.replace(/([a-z\d])([A-Z])/g,"$1"+sep+"$2").replace(/([A-Z]+)([A-Z][a-z\d]+)/g,"$1"+sep+"$2").toLowerCase()}},47662:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var numberIsNaN=__webpack_require__(78224),toPosInt=__webpack_require__(139),value=__webpack_require__(73640),indexOf=Array.prototype.indexOf,objHasOwnProperty=Object.prototype.hasOwnProperty,abs=Math.abs,floor=Math.floor;module.exports=function(searchElement){var i,length,fromIndex,val;if(!numberIsNaN(searchElement))return indexOf.apply(this,arguments);for(length=toPosInt(value(this).length),fromIndex=arguments[1],isNaN(fromIndex)?fromIndex=0:fromIndex>=0?fromIndex=floor(fromIndex):fromIndex=toPosInt(this.length)-floor(abs(fromIndex)),i=fromIndex;i<length;++i)if(objHasOwnProperty.call(this,i)&&(val=this[i],numberIsNaN(val)))return i;return-1}},72517:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__(6943)()?Array.from:__webpack_require__(79330)},6943:module=>{"use strict";module.exports=function(){var from=Array.from,arr,result;return typeof from!="function"?!1:(arr=["raz","dwa"],result=from(arr),Boolean(result&&result!==arr&&result[1]==="dwa"))}},79330:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var iteratorSymbol=__webpack_require__(88840).iterator,isArguments=__webpack_require__(16408),isFunction=__webpack_require__(75150),toPosInt=__webpack_require__(139),callable=__webpack_require__(87695),validValue=__webpack_require__(73640),isValue=__webpack_require__(5708),isString=__webpack_require__(35814),isArray=Array.isArray,call=Function.prototype.call,desc={configurable:!0,enumerable:!0,writable:!0,value:null},defineProperty=Object.defineProperty;module.exports=function(arrayLike){var mapFn=arguments[1],thisArg=arguments[2],Context,i,j,arr,length,code,iterator,result,getIterator,value;if(arrayLike=Object(validValue(arrayLike)),isValue(mapFn)&&callable(mapFn),!this||this===Array||!isFunction(this)){if(!mapFn){if(isArguments(arrayLike))return length=arrayLike.length,length!==1?Array.apply(null,arrayLike):(arr=new Array(1),arr[0]=arrayLike[0],arr);if(isArray(arrayLike)){for(arr=new Array(length=arrayLike.length),i=0;i<length;++i)arr[i]=arrayLike[i];return arr}}arr=[]}else Context=this;if(!isArray(arrayLike)){if((getIterator=arrayLike[iteratorSymbol])!==void 0){for(iterator=callable(getIterator).call(arrayLike),Context&&(arr=new Context),result=iterator.next(),i=0;!result.done;)value=mapFn?call.call(mapFn,thisArg,result.value,i):result.value,Context?(desc.value=value,defineProperty(arr,i,desc)):arr[i]=value,result=iterator.next(),++i;length=i}else if(isString(arrayLike)){for(length=arrayLike.length,Context&&(arr=new Context),i=0,j=0;i<length;++i)value=arrayLike[i],i+1<length&&(code=value.charCodeAt(0),code>=55296&&code<=56319&&(value+=arrayLike[++i])),value=mapFn?call.call(mapFn,thisArg,value,j):value,Context?(desc.value=value,defineProperty(arr,j,desc)):arr[j]=value,++j;length=j}}if(length===void 0)for(length=toPosInt(arrayLike.length),Context&&(arr=new Context(length)),i=0;i<length;++i)value=mapFn?call.call(mapFn,thisArg,arrayLike[i],i):arrayLike[i],Context?(desc.value=value,defineProperty(arr,i,desc)):arr[i]=value;return Context&&(desc.value=null,arr.length=length),arr}},52138:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var from=__webpack_require__(72517),isArray=Array.isArray;module.exports=function(arrayLike){return isArray(arrayLike)?arrayLike:from(arrayLike)}},13061:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var assign=__webpack_require__(24493),isObject=__webpack_require__(71608),isValue=__webpack_require__(5708),captureStackTrace=Error.captureStackTrace;module.exports=function(message){var err=new Error(message),code=arguments[1],ext=arguments[2];return isValue(ext)||isObject(code)&&(ext=code,code=null),isValue(ext)&&assign(err,ext),isValue(code)&&(err.code=code),captureStackTrace&&captureStackTrace(err,module.exports),err}},65414:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var toPosInt=__webpack_require__(139),test=function(arg1,arg2){return arg2},desc,defineProperty,generate,mixin;try{Object.defineProperty(test,"length",{configurable:!0,writable:!1,enumerable:!1,value:1})}catch{}test.length===1?(desc={configurable:!0,writable:!1,enumerable:!1},defineProperty=Object.defineProperty,module.exports=function(fn,length){return length=toPosInt(length),fn.length===length?fn:(desc.value=length,defineProperty(fn,"length",desc))}):(mixin=__webpack_require__(35843),generate=function(){var cache=[];return function(length){var args,i=0;if(cache[length])return cache[length];for(args=[];length--;)args.push("a"+(++i).toString(36));return new Function("fn","return function ("+args.join(", ")+") { return fn.apply(this, arguments); };")}}(),module.exports=function(src,length){var target;if(length=toPosInt(length),src.length===length)return src;target=generate(length)(src);try{mixin(target,src)}catch{}return target})},16408:module=>{"use strict";var objToString=Object.prototype.toString,id=objToString.call(function(){return arguments}());module.exports=function(value){return objToString.call(value)===id}},75150:module=>{"use strict";var objToString=Object.prototype.toString,isFunctionStringTag=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);module.exports=function(value){return typeof value=="function"&&isFunctionStringTag(objToString.call(value))}},62547:module=>{"use strict";module.exports=function(){}},56374:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__(71199)()?Math.sign:__webpack_require__(17398)},71199:module=>{"use strict";module.exports=function(){var sign=Math.sign;return typeof sign!="function"?!1:sign(10)===1&&sign(-20)===-1}},17398:module=>{"use strict";module.exports=function(value){return value=Number(value),isNaN(value)||value===0?value:value>0?1:-1}},78224:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__(53627)()?Number.isNaN:__webpack_require__(11739)},53627:module=>{"use strict";module.exports=function(){var numberIsNaN=Number.isNaN;return typeof numberIsNaN!="function"?!1:!numberIsNaN({})&&numberIsNaN(NaN)&&!numberIsNaN(34)}},11739:module=>{"use strict";module.exports=function(value){return value!==value}},73951:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var sign=__webpack_require__(56374),abs=Math.abs,floor=Math.floor;module.exports=function(value){return isNaN(value)?0:(value=Number(value),value===0||!isFinite(value)?value:sign(value)*floor(abs(value)))}},139:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var toInteger=__webpack_require__(73951),max=Math.max;module.exports=function(value){return max(0,toInteger(value))}},79103:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var callable=__webpack_require__(87695),value=__webpack_require__(73640),bind=Function.prototype.bind,call=Function.prototype.call,keys=Object.keys,objPropertyIsEnumerable=Object.prototype.propertyIsEnumerable;module.exports=function(method,defVal){return function(obj,cb){var list,thisArg=arguments[2],compareFn=arguments[3];return obj=Object(value(obj)),callable(cb),list=keys(obj),compareFn&&list.sort(typeof compareFn=="function"?bind.call(compareFn,obj):void 0),typeof method!="function"&&(method=list[method]),call.call(method,list,function(key,index){return objPropertyIsEnumerable.call(obj,key)?call.call(cb,thisArg,obj[key],key,obj,index):defVal})}}},24493:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__(61538)()?Object.assign:__webpack_require__(71070)},61538:module=>{"use strict";module.exports=function(){var assign=Object.assign,obj;return typeof assign!="function"?!1:(obj={foo:"raz"},assign(obj,{bar:"dwa"},{trzy:"trzy"}),obj.foo+obj.bar+obj.trzy==="razdwatrzy")}},71070:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var keys=__webpack_require__(31383),value=__webpack_require__(73640),max=Math.max;module.exports=function(dest,src){var error,i,length=max(arguments.length,2),assign;for(dest=Object(value(dest)),assign=function(key){try{dest[key]=src[key]}catch(e){error||(error=e)}},i=1;i<length;++i)src=arguments[i],keys(src).forEach(assign);if(error!==void 0)throw error;return dest}},14489:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__(79103)("forEach")},94705:module=>{"use strict";module.exports=function(obj){return typeof obj=="function"}},71608:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var isValue=__webpack_require__(5708),map={function:!0,object:!0};module.exports=function(value){return isValue(value)&&map[typeof value]||!1}},5708:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var _undefined=__webpack_require__(62547)();module.exports=function(val){return val!==_undefined&&val!==null}},31383:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__(77230)()?Object.keys:__webpack_require__(1441)},77230:module=>{"use strict";module.exports=function(){try{return Object.keys("primitive"),!0}catch{return!1}}},1441:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var isValue=__webpack_require__(5708),keys=Object.keys;module.exports=function(object){return keys(isValue(object)?Object(object):object)}},91148:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var callable=__webpack_require__(87695),forEach=__webpack_require__(14489),call=Function.prototype.call;module.exports=function(obj,cb){var result={},thisArg=arguments[2];return callable(cb),forEach(obj,function(value,key,targetObj,index){result[key]=call.call(cb,thisArg,value,key,targetObj,index)}),result}},35843:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var value=__webpack_require__(73640),defineProperty=Object.defineProperty,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,getOwnPropertyNames=Object.getOwnPropertyNames,getOwnPropertySymbols=Object.getOwnPropertySymbols;module.exports=function(target,source){var error,sourceObject=Object(value(source));if(target=Object(value(target)),getOwnPropertyNames(sourceObject).forEach(function(name){try{defineProperty(target,name,getOwnPropertyDescriptor(source,name))}catch(e){error=e}}),typeof getOwnPropertySymbols=="function"&&getOwnPropertySymbols(sourceObject).forEach(function(symbol){try{defineProperty(target,symbol,getOwnPropertyDescriptor(source,symbol))}catch(e){error=e}}),error!==void 0)throw error;return target}},4162:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var isValue=__webpack_require__(5708),forEach=Array.prototype.forEach,create=Object.create,process=function(src,obj){var key;for(key in src)obj[key]=src[key]};module.exports=function(opts1){var result=create(null);return forEach.call(arguments,function(options){!isValue(options)||process(Object(options),result)}),result}},51941:module=>{"use strict";var forEach=Array.prototype.forEach,create=Object.create;module.exports=function(arg){var set=create(null);return forEach.call(arguments,function(name){set[name]=!0}),set}},87695:module=>{"use strict";module.exports=function(fn){if(typeof fn!="function")throw new TypeError(fn+" is not a function");return fn}},73640:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var isValue=__webpack_require__(5708);module.exports=function(value){if(!isValue(value))throw new TypeError("Cannot use null or undefined");return value}},30924:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var ensureValue=__webpack_require__(73640),stringifiable=__webpack_require__(93929);module.exports=function(value){return stringifiable(ensureValue(value))}},93929:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var isCallable=__webpack_require__(94705);module.exports=function(stringifiable){try{return stringifiable&&isCallable(stringifiable.toString)?stringifiable.toString():String(stringifiable)}catch{throw new TypeError("Passed argument cannot be stringifed")}}},97898:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var isCallable=__webpack_require__(94705);module.exports=function(value){try{return value&&isCallable(value.toString)?value.toString():String(value)}catch{return"<Non-coercible to string value>"}}},19037:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__(83914)()?String.prototype.contains:__webpack_require__(97336)},83914:module=>{"use strict";var str="razdwatrzy";module.exports=function(){return typeof str.contains!="function"?!1:str.contains("dwa")===!0&&str.contains("foo")===!1}},97336:module=>{"use strict";var indexOf=String.prototype.indexOf;module.exports=function(searchString){return indexOf.call(this,searchString,arguments[1])>-1}},35814:module=>{"use strict";var objToString=Object.prototype.toString,id=objToString.call("");module.exports=function(value){return typeof value=="string"||value&&typeof value=="object"&&(value instanceof String||objToString.call(value)===id)||!1}},48700:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var safeToString=__webpack_require__(97898),reNewLine=/[\n\r\u2028\u2029]/g;module.exports=function(value){var string=safeToString(value);return string.length>100&&(string=string.slice(0,99)+"\u2026"),string=string.replace(reNewLine,function(char){return JSON.stringify(char).slice(1,-1)}),string}},88840:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__(99275)()?__webpack_require__(42626).Symbol:__webpack_require__(14290)},99275:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var global=__webpack_require__(42626),validTypes={object:!0,symbol:!0};module.exports=function(){var Symbol2=global.Symbol,symbol;if(typeof Symbol2!="function")return!1;symbol=Symbol2("test symbol");try{String(symbol)}catch{return!1}return!(!validTypes[typeof Symbol2.iterator]||!validTypes[typeof Symbol2.toPrimitive]||!validTypes[typeof Symbol2.toStringTag])}},55351:module=>{"use strict";module.exports=function(value){return value?typeof value=="symbol"?!0:!value.constructor||value.constructor.name!=="Symbol"?!1:value[value.constructor.toStringTag]==="Symbol":!1}},75244:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var d=__webpack_require__(24618),create=Object.create,defineProperty=Object.defineProperty,objPrototype=Object.prototype,created=create(null);module.exports=function(desc){for(var postfix=0,name,ie11BugWorkaround;created[desc+(postfix||"")];)++postfix;return desc+=postfix||"",created[desc]=!0,name="@@"+desc,defineProperty(objPrototype,name,d.gs(null,function(value){ie11BugWorkaround||(ie11BugWorkaround=!0,defineProperty(this,name,d(value)),ie11BugWorkaround=!1)})),name}},81490:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var d=__webpack_require__(24618),NativeSymbol=__webpack_require__(42626).Symbol;module.exports=function(SymbolPolyfill){return Object.defineProperties(SymbolPolyfill,{hasInstance:d("",NativeSymbol&&NativeSymbol.hasInstance||SymbolPolyfill("hasInstance")),isConcatSpreadable:d("",NativeSymbol&&NativeSymbol.isConcatSpreadable||SymbolPolyfill("isConcatSpreadable")),iterator:d("",NativeSymbol&&NativeSymbol.iterator||SymbolPolyfill("iterator")),match:d("",NativeSymbol&&NativeSymbol.match||SymbolPolyfill("match")),replace:d("",NativeSymbol&&NativeSymbol.replace||SymbolPolyfill("replace")),search:d("",NativeSymbol&&NativeSymbol.search||SymbolPolyfill("search")),species:d("",NativeSymbol&&NativeSymbol.species||SymbolPolyfill("species")),split:d("",NativeSymbol&&NativeSymbol.split||SymbolPolyfill("split")),toPrimitive:d("",NativeSymbol&&NativeSymbol.toPrimitive||SymbolPolyfill("toPrimitive")),toStringTag:d("",NativeSymbol&&NativeSymbol.toStringTag||SymbolPolyfill("toStringTag")),unscopables:d("",NativeSymbol&&NativeSymbol.unscopables||SymbolPolyfill("unscopables"))})}},93504:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var d=__webpack_require__(24618),validateSymbol=__webpack_require__(64068),registry=Object.create(null);module.exports=function(SymbolPolyfill){return Object.defineProperties(SymbolPolyfill,{for:d(function(key){return registry[key]?registry[key]:registry[key]=SymbolPolyfill(String(key))}),keyFor:d(function(symbol){var key;validateSymbol(symbol);for(key in registry)if(registry[key]===symbol)return key})})}},14290:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var d=__webpack_require__(24618),validateSymbol=__webpack_require__(64068),NativeSymbol=__webpack_require__(42626).Symbol,generateName=__webpack_require__(75244),setupStandardSymbols=__webpack_require__(81490),setupSymbolRegistry=__webpack_require__(93504),create=Object.create,defineProperties=Object.defineProperties,defineProperty=Object.defineProperty,SymbolPolyfill,HiddenSymbol,isNativeSafe;if(typeof NativeSymbol=="function")try{String(NativeSymbol()),isNativeSafe=!0}catch{}else NativeSymbol=null;HiddenSymbol=function(description){if(this instanceof HiddenSymbol)throw new TypeError("Symbol is not a constructor");return SymbolPolyfill(description)},module.exports=SymbolPolyfill=function Symbol2(description){var symbol;if(this instanceof Symbol2)throw new TypeError("Symbol is not a constructor");return isNativeSafe?NativeSymbol(description):(symbol=create(HiddenSymbol.prototype),description=description===void 0?"":String(description),defineProperties(symbol,{__description__:d("",description),__name__:d("",generateName(description))}))},setupStandardSymbols(SymbolPolyfill),setupSymbolRegistry(SymbolPolyfill),defineProperties(HiddenSymbol.prototype,{constructor:d(SymbolPolyfill),toString:d("",function(){return this.__name__})}),defineProperties(SymbolPolyfill.prototype,{toString:d(function(){return"Symbol ("+validateSymbol(this).__description__+")"}),valueOf:d(function(){return validateSymbol(this)})}),defineProperty(SymbolPolyfill.prototype,SymbolPolyfill.toPrimitive,d("",function(){var symbol=validateSymbol(this);return typeof symbol=="symbol"?symbol:symbol.toString()})),defineProperty(SymbolPolyfill.prototype,SymbolPolyfill.toStringTag,d("c","Symbol")),defineProperty(HiddenSymbol.prototype,SymbolPolyfill.toStringTag,d("c",SymbolPolyfill.prototype[SymbolPolyfill.toStringTag])),defineProperty(HiddenSymbol.prototype,SymbolPolyfill.toPrimitive,d("c",SymbolPolyfill.prototype[SymbolPolyfill.toPrimitive]))},64068:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var isSymbol=__webpack_require__(55351);module.exports=function(value){if(!isSymbol(value))throw new TypeError(value+" is not a symbol");return value}},88809:(module,exports,__webpack_require__)=>{"use strict";var d=__webpack_require__(24618),callable=__webpack_require__(87695),apply=Function.prototype.apply,call=Function.prototype.call,create=Object.create,defineProperty=Object.defineProperty,defineProperties=Object.defineProperties,hasOwnProperty2=Object.prototype.hasOwnProperty,descriptor={configurable:!0,enumerable:!1,writable:!0},on,once,off,emit,methods,descriptors,base;on=function(type,listener){var data;return callable(listener),hasOwnProperty2.call(this,"__ee__")?data=this.__ee__:(data=descriptor.value=create(null),defineProperty(this,"__ee__",descriptor),descriptor.value=null),data[type]?typeof data[type]=="object"?data[type].push(listener):data[type]=[data[type],listener]:data[type]=listener,this},once=function(type,listener){var once2,self2;return callable(listener),self2=this,on.call(this,type,once2=function(){off.call(self2,type,once2),apply.call(listener,this,arguments)}),once2.__eeOnceListener__=listener,this},off=function(type,listener){var data,listeners,candidate,i;if(callable(listener),!hasOwnProperty2.call(this,"__ee__"))return this;if(data=this.__ee__,!data[type])return this;if(listeners=data[type],typeof listeners=="object")for(i=0;candidate=listeners[i];++i)(candidate===listener||candidate.__eeOnceListener__===listener)&&(listeners.length===2?data[type]=listeners[i?0:1]:listeners.splice(i,1));else(listeners===listener||listeners.__eeOnceListener__===listener)&&delete data[type];return this},emit=function(type){var i,l,listener,listeners,args;if(!!hasOwnProperty2.call(this,"__ee__")&&(listeners=this.__ee__[type],!!listeners))if(typeof listeners=="object"){for(l=arguments.length,args=new Array(l-1),i=1;i<l;++i)args[i-1]=arguments[i];for(listeners=listeners.slice(),i=0;listener=listeners[i];++i)apply.call(listener,this,args)}else switch(arguments.length){case 1:call.call(listeners,this);break;case 2:call.call(listeners,this,arguments[1]);break;case 3:call.call(listeners,this,arguments[1],arguments[2]);break;default:for(l=arguments.length,args=new Array(l-1),i=1;i<l;++i)args[i-1]=arguments[i];apply.call(listeners,this,args)}},methods={on,once,off,emit},descriptors={on:d(on),once:d(once),off:d(off),emit:d(emit)},base=defineProperties({},descriptors),module.exports=exports=function(o){return o==null?create(base):defineProperties(Object(o),descriptors)},exports.methods=methods},56698:module=>{var naiveFallback=function(){if(typeof self=="object"&&self)return self;if(typeof window=="object"&&window)return window;throw new Error("Unable to resolve global `this`")};module.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return naiveFallback()}try{return __global__||naiveFallback()}finally{delete Object.prototype.__global__}}()},42626:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__(50692)()?globalThis:__webpack_require__(56698)},50692:module=>{"use strict";module.exports=function(){return typeof globalThis!="object"||!globalThis?!1:globalThis.Array===Array}},4907:module=>{module.exports=isPromise,module.exports.default=isPromise;function isPromise(obj){return!!obj&&(typeof obj=="object"||typeof obj=="function")&&typeof obj.then=="function"}},58822:function(module,exports,__webpack_require__){module=__webpack_require__.nmd(module);var __WEBPACK_AMD_DEFINE_RESULT__;/**
11
+ if this is a scope on bit.cloud please add the organization name before the scope (yourOrg.some-scope-name)`);this.scopeName=scopeName}}exports.default=InvalidScopeNameFromRemote},49114:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const bit_error_1=__webpack_require__(81708);class InvalidScopeName extends bit_error_1.BitError{constructor(scopeName,id,variant){const variantStr=variant?`configured in variant "${variant}" `:"";super(`error: "${id||scopeName}" ${variantStr}is invalid, component scope names can only contain alphanumeric, lowercase characters, and the following ["-", "_", "$", "!"]`)}}exports.default=InvalidScopeName},55591: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.InvalidScopeNameFromRemote=exports.InvalidScopeName=exports.InvalidName=exports.isValidIdChunk=exports.isValidScopeName=exports.VERSION_DELIMITER=exports.BitId=void 0;const bit_id_1=__importStar(__webpack_require__(44127));exports.BitId=bit_id_1.default,Object.defineProperty(exports,"VERSION_DELIMITER",{enumerable:!0,get:function(){return bit_id_1.VERSION_DELIMITER}});const exceptions_1=__webpack_require__(8847);Object.defineProperty(exports,"InvalidName",{enumerable:!0,get:function(){return exceptions_1.InvalidName}}),Object.defineProperty(exports,"InvalidScopeName",{enumerable:!0,get:function(){return exceptions_1.InvalidScopeName}}),Object.defineProperty(exports,"InvalidScopeNameFromRemote",{enumerable:!0,get:function(){return exceptions_1.InvalidScopeNameFromRemote}});const is_valid_scope_name_1=__importDefault(__webpack_require__(41418));exports.isValidScopeName=is_valid_scope_name_1.default;const is_valid_id_chunk_1=__importDefault(__webpack_require__(54014));exports.isValidIdChunk=is_valid_id_chunk_1.default},54014:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const validationRegExp=/^[-_a-z0-9/]+$/,validationRegExpDisallowSlash=/^[-_a-z0-9]+$/;function isValidIdChunk(val,allowSlash=!0){return typeof val!="string"||val.includes("//")?!1:(allowSlash?validationRegExp:validationRegExpDisallowSlash).test(val)}exports.default=isValidIdChunk},41418:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const validationRegExp=/^[$\-_!a-z0-9]+[.]?[$\-_!a-z0-9]+$/;function isValidScopeName(val){return typeof val!="string"?!1:validationRegExp.test(val)}exports.default=isValidScopeName},39144:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.linkModules=exports.PreviewModules=exports.PREVIEW_MODULES=void 0;var preview_modules_1=__webpack_require__(18500);Object.defineProperty(exports,"PREVIEW_MODULES",{enumerable:!0,get:function(){return preview_modules_1.PREVIEW_MODULES}}),Object.defineProperty(exports,"PreviewModules",{enumerable:!0,get:function(){return preview_modules_1.PreviewModules}}),Object.defineProperty(exports,"linkModules",{enumerable:!0,get:function(){return preview_modules_1.linkModules}})},18500:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.linkModules=exports.PREVIEW_MODULES=exports.PreviewModules=void 0;class PreviewModules extends Map{constructor(){super(...arguments);this.onSet=new Set}set(id,preview){return super.set(id,preview),this.onSet.forEach(callback=>callback()),this}loadComponentPreviews(compId,previews){Object.entries(previews).forEach(([previewName,moduleFile])=>{const preview=this.get(previewName);!preview||(preview.componentMap[compId]=moduleFile)})}}exports.PreviewModules=PreviewModules;function getPreviewModules(){return typeof window<"u"?(window.__bit_preview_modules||(window.__bit_preview_modules=new PreviewModules),window.__bit_preview_modules):new PreviewModules}exports.PREVIEW_MODULES=getPreviewModules();function linkModules(previewName,previewModule){exports.PREVIEW_MODULES.set(previewName,previewModule)}exports.linkModules=linkModules},95619:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tarjan_1=__webpack_require__(80128);exports.tarjan=tarjan_1.tarjan},80128: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});const lodash_1=__importDefault(__webpack_require__(58380));function tarjan(g){var index=0,stack=[],visited={},results=[];function dfs(v){var entry=visited[v]={onStack:!0,lowlink:index,index:index++};if(stack.push(v),[...g.successors(v).keys()].forEach(function(w2){lodash_1.default.has(visited,w2)?visited[w2].onStack&&(entry.lowlink=Math.min(entry.lowlink,visited[w2].index)):(dfs(w2),entry.lowlink=Math.min(entry.lowlink,visited[w2].lowlink))}),entry.lowlink===entry.index){var cmpt=[],w;do w=stack.pop(),visited[w].onStack=!1,cmpt.push(w);while(v!==w);results.push(cmpt)}}return[...g.nodes.keys()].forEach(function(v){lodash_1.default.has(visited,v)||dfs(v)}),results}exports.tarjan=tarjan},54440:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});class GraphEdge{constructor(sourceId,targetId,attr){this.sourceId=sourceId,this.targetId=targetId,this.sourceId=sourceId,this.targetId=targetId,this.attr=attr}stringify(){let attrStr="";return!!this.attr.stringify&&typeof this.attr.stringify=="function"?attrStr=this.attr.stringify():attrStr=JSON.stringify(this.attr),attrStr}static fromObject(obj,parseEdge){if(!obj.hasOwnProperty("sourceId"))throw Error("missing source id");if(!obj.hasOwnProperty("targetId"))throw Error("missing target id");return{sourceId:obj.sourceId,targetId:obj.targetId,edge:parseEdge(obj.edge)}}static edgeId(sourceId,targetId){return`${sourceId}->${targetId}`}static parseEdgeId(id){const spl=id.split("->");return spl.length===2?{sourceId:spl[0],targetId:spl[1]}:{sourceId:"",targetId:""}}get nodes(){return[this.sourceId,this.targetId]}}exports.GraphEdge=GraphEdge;function genericParseEdge(edge){return Object.keys(edge).length===0&&edge.constructor===Object||typeof edge!="object"?edge:JSON.parse(edge)}exports.genericParseEdge=genericParseEdge;function genericEdgeToJson(edge){return edge}exports.genericEdgeToJson=genericEdgeToJson},56013:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});class CyclicError extends Error{constructor(message){super(message);Object.setPrototypeOf(this,new.target.prototype)}}exports.CyclicError=CyclicError;class NodeDoesntExist extends Error{constructor(message){super(message);Object.setPrototypeOf(this,new.target.prototype)}}exports.NodeDoesntExist=NodeDoesntExist},46658: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});const index_1=__webpack_require__(91655),index_2=__webpack_require__(91655),index_3=__webpack_require__(91655),lodash_1=__importDefault(__webpack_require__(58380)),algorithms_1=__webpack_require__(95619),node_1=__webpack_require__(60110),edge_1=__webpack_require__(54440);class Graph{constructor(nodes=[],edges=[]){this._nodes=new Map,this._edges=new Map,nodes.forEach(elem=>this.setNode(elem.id,elem.node)),edges.forEach(elem=>this.setEdge(elem.sourceId,elem.targetId,elem.edge))}create(nodes=[],edges=[]){return new Graph(nodes,edges)}get _userNodes(){return this._transformToUserNodeMap(this._nodes)}get _userEdges(){return this._transformToUserEdgeMap(this._edges)}_transformToUserNodeMap(map){let newMap=new Map;for(const[key,value]of map.entries())newMap.set(key,value.attr);return newMap}_transformToUserEdgeMap(map){let newMap=new Map;for(const[key,value]of map.entries())newMap.set(key,value.attr);return newMap}setNode(id,node,overrideExisting=!0){if(this.hasNode(id)){if(overrideExisting){let existingNode=this._node(id);existingNode&&(existingNode.attr=node)}}else{let graphNode=new index_1.GraphNode(id,node);this._nodes.set(id,graphNode)}return this}setEdge(sourceId,targetId,edge,overrideExisting=!0){if(this.hasEdge(sourceId,targetId))if(overrideExisting){let existingEdge=this._edge(sourceId,targetId);return existingEdge&&(existingEdge.attr=edge),this}else return this;const id=index_2.GraphEdge.edgeId(sourceId,targetId);let graphEdge=new index_2.GraphEdge(sourceId,targetId,edge);if(this._edges.set(id,graphEdge),this._nodes.has(sourceId)){let sourceNode=this._nodes.get(sourceId);sourceNode!==void 0&&sourceNode.setOutEdge(id)}else throw Error("source node does not exist");if(this._nodes.has(targetId)){let targetNode=this._nodes.get(targetId);targetNode!==void 0&&targetNode.setInEdge(id)}else throw Error("target node does not exist");return this}setNodes(nodes,overrideExisting=!0){return nodes.forEach(elem=>{if(!this.hasNode(elem.id))this.setNode(elem.id,elem.node);else if(overrideExisting){let existingNode=this._node(elem.id);existingNode&&(existingNode.attr=elem.node)}}),this}setEdges(edges,overrideExisting=!0){return edges.forEach(elem=>{if(!this.hasEdge(elem.sourceId,elem.targetId))this.setEdge(elem.sourceId,elem.targetId,elem.edge);else if(overrideExisting){let existingEdge=this._edge(elem.sourceId,elem.targetId);existingEdge&&(existingEdge.attr=elem.edge)}}),this}hasNode(id){return this._nodes.has(id)}hasEdge(sourceId,targetId){return this._edges.has(index_2.GraphEdge.edgeId(sourceId,targetId))}node(id){var _a;return(_a=this._nodes.get(id))===null||_a===void 0?void 0:_a.attr}edge(sourceId,targetId){var _a;return(_a=this._edges.get(index_2.GraphEdge.edgeId(sourceId,targetId)))===null||_a===void 0?void 0:_a.attr}_node(id){return this._nodes.get(id)}_edge(sourceId,targetId){return this._edges.get(index_2.GraphEdge.edgeId(sourceId,targetId))}_edgeById(edgeId){return this._edges.get(edgeId)}edgeNodesById(edgeId){var _a,_b;return{sourceId:(_a=this._edges.get(edgeId))===null||_a===void 0?void 0:_a.sourceId,targetId:(_b=this._edges.get(edgeId))===null||_b===void 0?void 0:_b.targetId}}get nodes(){return this._userNodes}get graphNodes(){return this._nodes}get edges(){return this._userEdges}get graphEdges(){return this._edges}nodeCount(){return[...this._nodes.keys()].length}edgeCount(){return[...this._edges.keys()].length}sources(){return[...this._nodes.values()].filter(node=>node.isSource()).map(elem=>elem.attr)}sinks(){return[...this._nodes.values()].filter(node=>node.isSink()).map(elem=>elem.attr)}deleteNode(id){const node=this._node(id);typeof node>"u"||(node.nodeEdges.forEach(edgeId=>{const{sourceId,targetId}=index_2.GraphEdge.parseEdgeId(edgeId);this.deleteEdge(sourceId,targetId)}),this._nodes.delete(id))}deleteEdge(sourceId,targetId){const edgeId=index_2.GraphEdge.edgeId(sourceId,targetId);if(this._edges.get(edgeId)!==void 0){let sourceNode=this._nodes.get(sourceId);sourceNode!==void 0&&sourceNode.deleteEdge(edgeId);let targetNode=this._nodes.get(targetId);targetNode!==void 0&&targetNode.deleteEdge(edgeId)}this._edges.delete(edgeId)}inEdges(nodeId){return this._transformToUserEdgeMap(this._inEdges(nodeId))}outEdges(nodeId){return this._transformToUserEdgeMap(this._outEdges(nodeId))}nodeEdges(nodeId){return this._transformToUserEdgeMap(this._nodeEdges(nodeId))}_inEdges(nodeId){let newEdges=new Map;const node=this._node(nodeId);return node===void 0||node.inEdges.forEach(edgeId=>{let{sourceId,targetId}=index_2.GraphEdge.parseEdgeId(edgeId),edge=this._edge(sourceId,targetId);edge!==void 0&&newEdges.set(edgeId,edge)}),newEdges}_outEdges(nodeId){let newEdges=new Map;const node=this._node(nodeId);return node===void 0||node.outEdges.forEach(edgeId=>{let{sourceId,targetId}=index_2.GraphEdge.parseEdgeId(edgeId),edge=this._edge(sourceId,targetId);edge!==void 0&&newEdges.set(edgeId,edge)}),newEdges}_nodeEdges(nodeId){let newEdges=new Map;const node=this._node(nodeId);return node===void 0||node.nodeEdges.forEach(edgeId=>{let{sourceId,targetId}=index_2.GraphEdge.parseEdgeId(edgeId),edge=this._edge(sourceId,targetId);edge!==void 0&&newEdges.set(edgeId,edge)}),newEdges}successors(nodeId,filterPredicate=returnTrue){return this._transformToUserNodeMap(this._successors(nodeId,filterPredicate))}predecessors(nodeId,filterPredicate=returnTrue){return this._transformToUserNodeMap(this._predecessors(nodeId,filterPredicate))}neighbors(nodeId,filterPredicate=returnTrue){return this._transformToUserNodeMap(this._neighbors(nodeId,filterPredicate))}_successors(nodeId,filterPredicate=returnTrue){let successors=new Map;const node=this._node(nodeId);return node===void 0||node.outEdges.forEach(edgeId=>{var _a;const edge=(_a=this._edges.get(edgeId))===null||_a===void 0?void 0:_a.attr;if(edge!=null&&filterPredicate(edge)){const{sourceId,targetId}=index_2.GraphEdge.parseEdgeId(edgeId),targetNode=this._node(targetId);!!targetId&&targetNode!==void 0&&successors.set(targetId,targetNode)}}),successors}_predecessors(nodeId,filterPredicate=returnTrue){let predecessors=new Map;const node=this._node(nodeId);return node===void 0||node.inEdges.forEach(edgeId=>{var _a;const edge=(_a=this._edges.get(edgeId))===null||_a===void 0?void 0:_a.attr;if(edge!=null&&filterPredicate(edge)){const{sourceId,targetId}=index_2.GraphEdge.parseEdgeId(edgeId),sourceNode=this._node(sourceId);!!sourceId&&sourceNode!==void 0&&predecessors.set(sourceId,sourceNode)}}),predecessors}_neighbors(nodeId,filterPredicate=returnTrue){return new Map([...this._predecessors(nodeId,filterPredicate),...this._successors(nodeId,filterPredicate)])}successorsSubgraph(nodeIds,filterPredicate=returnTrue){return this._buildSubgraphs(nodeIds,filterPredicate,"successors")}_alreadyProcessed(nodeId,subgraphs){for(const graph of subgraphs)if(graph.hasNode(nodeId))return!0;return!1}_buildSubgraphs(nodeIds,filterPredicate,order){let subgraphs=[];if(!Array.isArray(nodeIds))return this._buildSubgraph(nodeIds,filterPredicate,order);if(nodeIds.forEach(nodeId=>{this._alreadyProcessed(nodeId,subgraphs)||subgraphs.push(this._buildSubgraph(nodeId,filterPredicate,order))}),subgraphs.length===1)return subgraphs[0];let mergedGraphs=this.create();return subgraphs.length&&(mergedGraphs=subgraphs[0].merge(subgraphs)),mergedGraphs}_buildSubgraph(nodeId,filterPredicate,order){let g=this.create(),graphNode=this._node(nodeId);if(graphNode)g.setNode(nodeId,graphNode.attr);else throw new Error("Node does not exist on graph");return order==="successors"?this._successorsSubgraphUtil(nodeId,g,{},filterPredicate):this._predecessorsSubgraphUtil(nodeId,g,{},filterPredicate)}_successorsSubgraphUtil(nodeId,successorsGraph,visited={},filterPredicate){const successors=[...this._successors(nodeId,filterPredicate).keys()];return successors.length>0&&!visited[nodeId]&&successors.forEach(successor=>{visited[nodeId]=!0;const newNode=this._nodes.get(successor),newEdge=this._edges.get(index_2.GraphEdge.edgeId(nodeId,successor));if(newNode!==void 0&&newEdge!=null)return successorsGraph.setNode(successor,newNode.attr),successorsGraph.setEdge(nodeId,successor,newEdge.attr),this._successorsSubgraphUtil(successor,successorsGraph,visited,filterPredicate)}),successorsGraph}successorsArray(nodeId,filterPredicate=returnTrue){const successorIds=lodash_1.default.uniq(this._successorsArrayUtil(nodeId,[],{},filterPredicate));let successors=[];return successorIds.forEach(id=>{let node=this.node(id);node!=null&&successors.push(node)}),successors}_successorsArrayUtil(nodeId,successorsList=[],visited={},filterPredicate=returnTrue){const successors=[...this._successors(nodeId,filterPredicate).keys()];return successors.length>0&&!visited[nodeId]&&successors.forEach(successor=>(visited[nodeId]=!0,successorsList.push(successor),this._successorsArrayUtil(successor,successorsList,visited,filterPredicate))),successorsList}successorsLayers(nodeKey,filterPredicate=returnTrue,order="fromSource"){let successorsGraph=this.successorsSubgraph(nodeKey,filterPredicate);if(this.isCyclic(successorsGraph))throw new Error("cyclic dependency");let layers=[];layers[0]=[nodeKey];let floor=0,rawLayers=this._successorsLayersUtil([nodeKey],layers,floor,filterPredicate);return arrangeLayers(rawLayers,order)}_successorsLayersUtil(nodeKeys,layers,floor,filterPredicate=returnTrue){if(nodeKeys.length>0){let nextFloor=floor+1;return layers.push([]),layers[floor].forEach(successor=>{const successors=[...this.successors(successor,filterPredicate).keys()];layers[nextFloor]=layers[nextFloor].concat(successors)}),this._successorsLayersUtil(layers[nextFloor],layers,nextFloor,filterPredicate)}return layers}predecessorsSubgraph(nodeIds,filterPredicate=returnTrue){return this._buildSubgraphs(nodeIds,filterPredicate,"predecessors")}_predecessorsSubgraphUtil(nodeId,predecessorsGraph,visited={},filterPredicate=returnTrue){const predecessors=[...this._predecessors(nodeId,filterPredicate).keys()];return predecessors.length>0&&!visited[nodeId]&&predecessors.forEach(predecessor=>{visited[nodeId]=!0;const newNode=this._nodes.get(predecessor),newEdge=this._edges.get(index_2.GraphEdge.edgeId(predecessor,nodeId));if(newNode!==void 0&&newEdge!=null)return predecessorsGraph.setNode(predecessor,newNode.attr),predecessorsGraph.setEdge(predecessor,nodeId,newEdge.attr),this._predecessorsSubgraphUtil(predecessor,predecessorsGraph,visited,filterPredicate)}),predecessorsGraph}predecessorsArray(nodeId,filterPredicate=returnTrue){const predecessorIds=lodash_1.default.uniq(this._predecessorsArrayUtil(nodeId,[],{},filterPredicate));let predecessors=[];return predecessorIds.forEach(id=>{let node=this.node(id);node!=null&&predecessors.push(node)}),predecessors}_predecessorsArrayUtil(nodeId,predecessorsList=[],visited={},filterPredicate=returnTrue){const predecessors=[...this._predecessors(nodeId,filterPredicate).keys()];return predecessors.length>0&&!visited[nodeId]&&predecessors.forEach(predecessor=>(visited[nodeId]=!0,predecessorsList.push(predecessor),this._predecessorsArrayUtil(predecessor,predecessorsList,visited,filterPredicate))),predecessorsList}predecessorsLayers(nodeKey,filterPredicate=returnTrue,order="fromSource"){let successorsGraph=this.predecessorsSubgraph(nodeKey,filterPredicate);if(this.isCyclic(successorsGraph))throw new Error("cyclic sub-graph");let layers=[];layers[0]=[nodeKey];let floor=0,rawLayers=this._predecessorsLayersUtil([nodeKey],layers,floor,filterPredicate);return arrangeLayers(rawLayers,order)}_predecessorsLayersUtil(nodeKeys,layers,floor,filterPredicate=returnTrue){if(nodeKeys.length>0){let nextFloor=floor+1;return layers.push([]),layers[floor].forEach(predecessor=>{const predecessors=[...this.predecessors(predecessor,filterPredicate).keys()];layers[nextFloor]=layers[nextFloor].concat(predecessors)}),this._predecessorsLayersUtil(layers[nextFloor],layers,nextFloor,filterPredicate)}return layers}toposort(reverse=!1){let nodes=this._toposort().map(nodeId=>this.node(nodeId));return nodes=lodash_1.default.compact(nodes),reverse?nodes.reverse():nodes}_transformEdges(){let edges=[];return this._edges.forEach(originalEdge=>{edges.push([originalEdge.sourceId,originalEdge.targetId])}),edges}_toposort(){const nodes=[...this._nodes.keys()],edges=this._transformEdges();var cursor=nodes.length,sorted=new Array(cursor),visited={},i=cursor,outgoingEdges=makeOutgoingEdges(edges),nodesHash=makeNodesHash(nodes);for(edges.forEach(function(edge){if(!nodesHash.has(edge[0])||!nodesHash.has(edge[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});i--;)visited[i]||visit(nodes[i],i,new Set);return sorted;function visit(node,i2,predecessors){if(predecessors.has(node)){var nodeRep;try{nodeRep=", node was:"+JSON.stringify(node)}catch{nodeRep=""}throw new index_3.CyclicError("Cyclic dependency"+nodeRep)}if(!nodesHash.has(node))throw new Error("Found unknown node. Make sure to provide all involved nodes. Unknown node: "+JSON.stringify(node));if(!visited[i2]){visited[i2]=!0;var outgoing=outgoingEdges.get(node)||new Set;if(outgoing=Array.from(outgoing),i2=outgoing.length){predecessors.add(node);do{var child=outgoing[--i2];visit(child,nodesHash.get(child),predecessors)}while(i2);predecessors.delete(node)}sorted[--cursor]=node}}}isCyclic(graph=this){try{graph.toposort()}catch(e){if(e instanceof index_3.CyclicError)return!0;throw e}return!1}findCycles(graph=this){return findCycles(graph)}merge(graphs){let mergedGraph=this;return graphs.forEach(incomingGraph=>{var _a,_b;for(let[nodeId,nodeData]of incomingGraph.nodes)mergedGraph.setNode(nodeId,nodeData);for(let[edgeId,edgeData]of incomingGraph.edges){const sourceId=(_a=incomingGraph._edges.get(edgeId))===null||_a===void 0?void 0:_a.sourceId,targetId=(_b=incomingGraph._edges.get(edgeId))===null||_b===void 0?void 0:_b.targetId;if(mergedGraph.edges.has(edgeId)&&!!sourceId&&!!targetId)mergedGraph.setEdge(sourceId,targetId,edgeData);else if(!!sourceId&&!!targetId&&mergedGraph.hasNode(sourceId)&&mergedGraph.hasNode(targetId))mergedGraph.setEdge(sourceId,targetId,edgeData);else throw index_3.NodeDoesntExist}}),mergedGraph}allPaths(sourceId,targetId){return this._allPaths(sourceId,targetId,[],[])}_allPaths(source,target,currPath,paths,visited={}){return visited[source]=!0,currPath.push(source),source===target?paths.push(lodash_1.default.cloneDeep(currPath)):[...this._successors(source).keys()].forEach(nodeId=>{visited[nodeId]||this._allPaths(nodeId,target,currPath,paths,visited)}),currPath.pop(),visited[source]=!1,paths}toJson(graph){return graph?this._toJson(graph,"object"):this._toJson(this,"object")}stringify(graph){return graph?this._toJson(graph,"string"):this._toJson(this,"string")}static parse(json,parseNode=node_1.genericParseNode,parseEdge=edge_1.genericParseEdge){return this._fromJson(json,parseNode,parseEdge)}_toJson(graph,returnType){let nodeArray=[];for(let[nodeId,nodeData]of graph.nodes.entries()){const graphNode=graph._node(nodeId);if(graphNode){let convertedNode;returnType==="object"?!!graphNode.attr.toJson&&typeof graphNode.attr.toJson=="function"?convertedNode=graphNode.attr.toJson():convertedNode=node_1.genericNodeToJson(graphNode.attr):convertedNode=graphNode.stringify(),nodeArray.push({id:nodeId,node:convertedNode})}}let edgeArray=[];for(let[edgeId,edgeData]of graph.edges.entries()){const graphEdge=graph._edgeById(edgeId);if(graphEdge){let convertedEdge;returnType==="object"?!!graphEdge.attr.toJson&&typeof graphEdge.attr.toJson=="function"?convertedEdge=graphEdge.attr.toJson():convertedEdge=node_1.genericNodeToJson(graphEdge.attr):convertedEdge=graphEdge.stringify(),edgeArray.push({sourceId:graphEdge.sourceId,targetId:graphEdge.targetId,edge:convertedEdge})}}let json={nodes:nodeArray,edges:edgeArray};return returnType==="object"?json:JSON.stringify(json)}static _fromJson(json,parseNode,parseEdge){const obj=typeof json=="string"?JSON.parse(json):json;let graph=new Graph;if(!obj.hasOwnProperty("nodes")||!obj.hasOwnProperty("edges"))throw Error("missing properties on JSON. Should contain nodes: {id: string, node: N}[], and edges: {sourceId: string, targetId: string, edge:E}[]");return obj.nodes.forEach(nodeObj=>{const res=index_1.GraphNode.fromObject(nodeObj,parseNode);graph.setNode(res.id,res.node)}),obj.edges.forEach(edgeObj=>{const res=index_2.GraphEdge.fromObject(edgeObj,parseEdge);graph.setEdge(res.sourceId,res.targetId,res.edge)}),graph}bfs(){}dfs(){}}exports.Graph=Graph;function returnTrue(){return!0}function makeOutgoingEdges(arr){for(var edges=new Map,i=0,len=arr.length;i<len;i++){var edge=arr[i];edges.has(edge[0])||edges.set(edge[0],new Set),edges.has(edge[1])||edges.set(edge[1],new Set),edges.get(edge[0]).add(edge[1])}return edges}function makeNodesHash(arr){for(var res=new Map,i=0,len=arr.length;i<len;i++)res.set(arr[i],i);return res}function findCycles(g){return lodash_1.default.filter(algorithms_1.tarjan(g),function(cmpt){return cmpt.length>1||cmpt.length===1&&g.hasEdge(cmpt[0],cmpt[0])})}function arrangeLayers(layers,order){let finalLayers=[],seenNodes=[];layers=layers.reverse();let i=0;return layers.forEach(layer=>{layer.length>0&&(finalLayers.push([]),layer.forEach(node=>{seenNodes.indexOf(node)==-1&&(seenNodes.push(node),finalLayers[i].push(node))}),i++)}),order==="fromSource"?finalLayers.reverse():finalLayers}},91655:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var edge_1=__webpack_require__(54440);exports.GraphEdge=edge_1.GraphEdge;var node_1=__webpack_require__(60110);exports.GraphNode=node_1.GraphNode;var error_1=__webpack_require__(56013);exports.CyclicError=error_1.CyclicError,exports.NodeDoesntExist=error_1.NodeDoesntExist;var graph_1=__webpack_require__(46658);exports.Graph=graph_1.Graph},60110: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});const lodash_1=__webpack_require__(58380),lodash_2=__importDefault(__webpack_require__(58380));class GraphNode{constructor(id,attr,inEdges,outEdges){this.id=id,this.attr=attr,this._inEdges=inEdges||[],this._outEdges=outEdges||[]}setInEdge(edgeId){this._inEdges.push(edgeId)}setOutEdge(edgeId){this._outEdges.push(edgeId)}deleteEdge(edgeId){lodash_2.default.remove(this._inEdges,function(edge){return edge===edgeId}),lodash_2.default.remove(this._outEdges,function(edge){return edge===edgeId})}get inEdges(){return this._inEdges}get outEdges(){return this._outEdges}get nodeEdges(){return this._inEdges.concat(this._outEdges)}isSource(){return this._inEdges.length===0&&this._outEdges.length>0}isSink(){return this._inEdges.length>0&&this._outEdges.length===0}equals(node){return this.id!==node.id?!1:lodash_1.isEqual(this.attr,node.attr)}stringify(){let attrStr="";return!!this.attr.stringify&&typeof this.attr.stringify=="function"?attrStr=this.attr.stringify():attrStr=JSON.stringify(this.attr),attrStr}static fromObject(obj,parseNode){if(!obj.hasOwnProperty("id"))throw Error("missing object id");return{id:obj.id,node:parseNode(obj.node)}}}exports.GraphNode=GraphNode;function genericParseNode(node){return Object.keys(node).length===0&&node.constructor===Object||typeof node!="object"?node:JSON.parse(node)}exports.genericParseNode=genericParseNode;function genericNodeToJson(node){return node}exports.genericNodeToJson=genericNodeToJson},13448:function(module,exports){var global=typeof self<"u"?self:this,__self__=function(){function F(){this.fetch=!1,this.DOMException=global.DOMException}return F.prototype=global,new F}();(function(self2){var irrelevant=function(exports2){var support={searchParams:"URLSearchParams"in self2,iterable:"Symbol"in self2&&"iterator"in Symbol,blob:"FileReader"in self2&&"Blob"in self2&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in self2,arrayBuffer:"ArrayBuffer"in self2};function isDataView(obj){return obj&&DataView.prototype.isPrototypeOf(obj)}if(support.arrayBuffer)var viewClasses=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],isArrayBufferView=ArrayBuffer.isView||function(obj){return obj&&viewClasses.indexOf(Object.prototype.toString.call(obj))>-1};function normalizeName(name){if(typeof name!="string"&&(name=String(name)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(name))throw new TypeError("Invalid character in header field name");return name.toLowerCase()}function normalizeValue(value){return typeof value!="string"&&(value=String(value)),value}function iteratorFor(items){var iterator={next:function(){var value=items.shift();return{done:value===void 0,value}}};return support.iterable&&(iterator[Symbol.iterator]=function(){return iterator}),iterator}function Headers2(headers){this.map={},headers instanceof Headers2?headers.forEach(function(value,name){this.append(name,value)},this):Array.isArray(headers)?headers.forEach(function(header){this.append(header[0],header[1])},this):headers&&Object.getOwnPropertyNames(headers).forEach(function(name){this.append(name,headers[name])},this)}Headers2.prototype.append=function(name,value){name=normalizeName(name),value=normalizeValue(value);var oldValue=this.map[name];this.map[name]=oldValue?oldValue+", "+value:value},Headers2.prototype.delete=function(name){delete this.map[normalizeName(name)]},Headers2.prototype.get=function(name){return name=normalizeName(name),this.has(name)?this.map[name]:null},Headers2.prototype.has=function(name){return this.map.hasOwnProperty(normalizeName(name))},Headers2.prototype.set=function(name,value){this.map[normalizeName(name)]=normalizeValue(value)},Headers2.prototype.forEach=function(callback,thisArg){for(var name in this.map)this.map.hasOwnProperty(name)&&callback.call(thisArg,this.map[name],name,this)},Headers2.prototype.keys=function(){var items=[];return this.forEach(function(value,name){items.push(name)}),iteratorFor(items)},Headers2.prototype.values=function(){var items=[];return this.forEach(function(value){items.push(value)}),iteratorFor(items)},Headers2.prototype.entries=function(){var items=[];return this.forEach(function(value,name){items.push([name,value])}),iteratorFor(items)},support.iterable&&(Headers2.prototype[Symbol.iterator]=Headers2.prototype.entries);function consumed(body){if(body.bodyUsed)return Promise.reject(new TypeError("Already read"));body.bodyUsed=!0}function fileReaderReady(reader){return new Promise(function(resolve,reject){reader.onload=function(){resolve(reader.result)},reader.onerror=function(){reject(reader.error)}})}function readBlobAsArrayBuffer(blob){var reader=new FileReader,promise=fileReaderReady(reader);return reader.readAsArrayBuffer(blob),promise}function readBlobAsText(blob){var reader=new FileReader,promise=fileReaderReady(reader);return reader.readAsText(blob),promise}function readArrayBufferAsText(buf){for(var view=new Uint8Array(buf),chars=new Array(view.length),i=0;i<view.length;i++)chars[i]=String.fromCharCode(view[i]);return chars.join("")}function bufferClone(buf){if(buf.slice)return buf.slice(0);var view=new Uint8Array(buf.byteLength);return view.set(new Uint8Array(buf)),view.buffer}function Body(){return this.bodyUsed=!1,this._initBody=function(body){this._bodyInit=body,body?typeof body=="string"?this._bodyText=body:support.blob&&Blob.prototype.isPrototypeOf(body)?this._bodyBlob=body:support.formData&&FormData.prototype.isPrototypeOf(body)?this._bodyFormData=body:support.searchParams&&URLSearchParams.prototype.isPrototypeOf(body)?this._bodyText=body.toString():support.arrayBuffer&&support.blob&&isDataView(body)?(this._bodyArrayBuffer=bufferClone(body.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):support.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(body)||isArrayBufferView(body))?this._bodyArrayBuffer=bufferClone(body):this._bodyText=body=Object.prototype.toString.call(body):this._bodyText="",this.headers.get("content-type")||(typeof body=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):support.searchParams&&URLSearchParams.prototype.isPrototypeOf(body)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},support.blob&&(this.blob=function(){var rejected=consumed(this);if(rejected)return rejected;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?consumed(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(readBlobAsArrayBuffer)}),this.text=function(){var rejected=consumed(this);if(rejected)return rejected;if(this._bodyBlob)return readBlobAsText(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},support.formData&&(this.formData=function(){return this.text().then(decode)}),this.json=function(){return this.text().then(JSON.parse)},this}var methods=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function normalizeMethod(method){var upcased=method.toUpperCase();return methods.indexOf(upcased)>-1?upcased:method}function Request(input,options){options=options||{};var body=options.body;if(input instanceof Request){if(input.bodyUsed)throw new TypeError("Already read");this.url=input.url,this.credentials=input.credentials,options.headers||(this.headers=new Headers2(input.headers)),this.method=input.method,this.mode=input.mode,this.signal=input.signal,!body&&input._bodyInit!=null&&(body=input._bodyInit,input.bodyUsed=!0)}else this.url=String(input);if(this.credentials=options.credentials||this.credentials||"same-origin",(options.headers||!this.headers)&&(this.headers=new Headers2(options.headers)),this.method=normalizeMethod(options.method||this.method||"GET"),this.mode=options.mode||this.mode||null,this.signal=options.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&body)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(body)}Request.prototype.clone=function(){return new Request(this,{body:this._bodyInit})};function decode(body){var form=new FormData;return body.trim().split("&").forEach(function(bytes){if(bytes){var split=bytes.split("="),name=split.shift().replace(/\+/g," "),value=split.join("=").replace(/\+/g," ");form.append(decodeURIComponent(name),decodeURIComponent(value))}}),form}function parseHeaders(rawHeaders){var headers=new Headers2,preProcessedHeaders=rawHeaders.replace(/\r?\n[\t ]+/g," ");return preProcessedHeaders.split(/\r?\n/).forEach(function(line){var parts=line.split(":"),key=parts.shift().trim();if(key){var value=parts.join(":").trim();headers.append(key,value)}}),headers}Body.call(Request.prototype);function Response(bodyInit,options){options||(options={}),this.type="default",this.status=options.status===void 0?200:options.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in options?options.statusText:"OK",this.headers=new Headers2(options.headers),this.url=options.url||"",this._initBody(bodyInit)}Body.call(Response.prototype),Response.prototype.clone=function(){return new Response(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Headers2(this.headers),url:this.url})},Response.error=function(){var response=new Response(null,{status:0,statusText:""});return response.type="error",response};var redirectStatuses=[301,302,303,307,308];Response.redirect=function(url,status){if(redirectStatuses.indexOf(status)===-1)throw new RangeError("Invalid status code");return new Response(null,{status,headers:{location:url}})},exports2.DOMException=self2.DOMException;try{new exports2.DOMException}catch{exports2.DOMException=function(message,name){this.message=message,this.name=name;var error=Error(message);this.stack=error.stack},exports2.DOMException.prototype=Object.create(Error.prototype),exports2.DOMException.prototype.constructor=exports2.DOMException}function fetch(input,init){return new Promise(function(resolve,reject){var request=new Request(input,init);if(request.signal&&request.signal.aborted)return reject(new exports2.DOMException("Aborted","AbortError"));var xhr=new XMLHttpRequest;function abortXhr(){xhr.abort()}xhr.onload=function(){var options={status:xhr.status,statusText:xhr.statusText,headers:parseHeaders(xhr.getAllResponseHeaders()||"")};options.url="responseURL"in xhr?xhr.responseURL:options.headers.get("X-Request-URL");var body="response"in xhr?xhr.response:xhr.responseText;resolve(new Response(body,options))},xhr.onerror=function(){reject(new TypeError("Network request failed"))},xhr.ontimeout=function(){reject(new TypeError("Network request failed"))},xhr.onabort=function(){reject(new exports2.DOMException("Aborted","AbortError"))},xhr.open(request.method,request.url,!0),request.credentials==="include"?xhr.withCredentials=!0:request.credentials==="omit"&&(xhr.withCredentials=!1),"responseType"in xhr&&support.blob&&(xhr.responseType="blob"),request.headers.forEach(function(value,name){xhr.setRequestHeader(name,value)}),request.signal&&(request.signal.addEventListener("abort",abortXhr),xhr.onreadystatechange=function(){xhr.readyState===4&&request.signal.removeEventListener("abort",abortXhr)}),xhr.send(typeof request._bodyInit>"u"?null:request._bodyInit)})}return fetch.polyfill=!0,self2.fetch||(self2.fetch=fetch,self2.Headers=Headers2,self2.Request=Request,self2.Response=Response),exports2.Headers=Headers2,exports2.Request=Request,exports2.Response=Response,exports2.fetch=fetch,Object.defineProperty(exports2,"__esModule",{value:!0}),exports2}({})})(__self__),__self__.fetch.ponyfill=!0,delete __self__.fetch.polyfill;var ctx=__self__;exports=ctx.fetch,exports.default=ctx.fetch,exports.fetch=ctx.fetch,exports.Headers=ctx.Headers,exports.Request=ctx.Request,exports.Response=ctx.Response,module.exports=exports},82923:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var isValue=__webpack_require__(28772),isPlainFunction=__webpack_require__(3181),assign=__webpack_require__(7686),normalizeOpts=__webpack_require__(9847),contains=__webpack_require__(81078),d=module.exports=function(dscr,value){var c,e,w,options,desc;return arguments.length<2||typeof dscr!="string"?(options=value,value=dscr,dscr=null):options=arguments[2],isValue(dscr)?(c=contains.call(dscr,"c"),e=contains.call(dscr,"e"),w=contains.call(dscr,"w")):(c=w=!0,e=!1),desc={value,configurable:c,enumerable:e,writable:w},options?assign(normalizeOpts(options),desc):desc};d.gs=function(dscr,get,set){var c,e,options,desc;return typeof dscr!="string"?(options=set,set=get,get=dscr,dscr=null):options=arguments[3],isValue(get)?isPlainFunction(get)?isValue(set)?isPlainFunction(set)||(options=set,set=void 0):set=void 0:(options=get,get=set=void 0):get=void 0,isValue(dscr)?(c=contains.call(dscr,"c"),e=contains.call(dscr,"e")):(c=!0,e=!1),desc={get,set,configurable:c,enumerable:e},options?assign(normalizeOpts(options),desc):desc}},65830:module=>{"use strict";module.exports=function(str,sep){if(typeof str!="string")throw new TypeError("Expected a string");return sep=typeof sep>"u"?"_":sep,str.replace(/([a-z\d])([A-Z])/g,"$1"+sep+"$2").replace(/([A-Z]+)([A-Z][a-z\d]+)/g,"$1"+sep+"$2").toLowerCase()}},51879:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var numberIsNaN=__webpack_require__(303),toPosInt=__webpack_require__(4238),value=__webpack_require__(52774),indexOf=Array.prototype.indexOf,objHasOwnProperty=Object.prototype.hasOwnProperty,abs=Math.abs,floor=Math.floor;module.exports=function(searchElement){var i,length,fromIndex,val;if(!numberIsNaN(searchElement))return indexOf.apply(this,arguments);for(length=toPosInt(value(this).length),fromIndex=arguments[1],isNaN(fromIndex)?fromIndex=0:fromIndex>=0?fromIndex=floor(fromIndex):fromIndex=toPosInt(this.length)-floor(abs(fromIndex)),i=fromIndex;i<length;++i)if(objHasOwnProperty.call(this,i)&&(val=this[i],numberIsNaN(val)))return i;return-1}},90505:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__(59762)()?Array.from:__webpack_require__(86788)},59762:module=>{"use strict";module.exports=function(){var from=Array.from,arr,result;return typeof from!="function"?!1:(arr=["raz","dwa"],result=from(arr),Boolean(result&&result!==arr&&result[1]==="dwa"))}},86788:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var iteratorSymbol=__webpack_require__(59652).iterator,isArguments=__webpack_require__(14366),isFunction=__webpack_require__(16506),toPosInt=__webpack_require__(4238),callable=__webpack_require__(95765),validValue=__webpack_require__(52774),isValue=__webpack_require__(33982),isString=__webpack_require__(91763),isArray=Array.isArray,call=Function.prototype.call,desc={configurable:!0,enumerable:!0,writable:!0,value:null},defineProperty=Object.defineProperty;module.exports=function(arrayLike){var mapFn=arguments[1],thisArg=arguments[2],Context,i,j,arr,length,code,iterator,result,getIterator,value;if(arrayLike=Object(validValue(arrayLike)),isValue(mapFn)&&callable(mapFn),!this||this===Array||!isFunction(this)){if(!mapFn){if(isArguments(arrayLike))return length=arrayLike.length,length!==1?Array.apply(null,arrayLike):(arr=new Array(1),arr[0]=arrayLike[0],arr);if(isArray(arrayLike)){for(arr=new Array(length=arrayLike.length),i=0;i<length;++i)arr[i]=arrayLike[i];return arr}}arr=[]}else Context=this;if(!isArray(arrayLike)){if((getIterator=arrayLike[iteratorSymbol])!==void 0){for(iterator=callable(getIterator).call(arrayLike),Context&&(arr=new Context),result=iterator.next(),i=0;!result.done;)value=mapFn?call.call(mapFn,thisArg,result.value,i):result.value,Context?(desc.value=value,defineProperty(arr,i,desc)):arr[i]=value,result=iterator.next(),++i;length=i}else if(isString(arrayLike)){for(length=arrayLike.length,Context&&(arr=new Context),i=0,j=0;i<length;++i)value=arrayLike[i],i+1<length&&(code=value.charCodeAt(0),code>=55296&&code<=56319&&(value+=arrayLike[++i])),value=mapFn?call.call(mapFn,thisArg,value,j):value,Context?(desc.value=value,defineProperty(arr,j,desc)):arr[j]=value,++j;length=j}}if(length===void 0)for(length=toPosInt(arrayLike.length),Context&&(arr=new Context(length)),i=0;i<length;++i)value=mapFn?call.call(mapFn,thisArg,arrayLike[i],i):arrayLike[i],Context?(desc.value=value,defineProperty(arr,i,desc)):arr[i]=value;return Context&&(desc.value=null,arr.length=length),arr}},95335:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var from=__webpack_require__(90505),isArray=Array.isArray;module.exports=function(arrayLike){return isArray(arrayLike)?arrayLike:from(arrayLike)}},57275:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var assign=__webpack_require__(7686),isObject=__webpack_require__(15976),isValue=__webpack_require__(33982),captureStackTrace=Error.captureStackTrace;module.exports=function(message){var err=new Error(message),code=arguments[1],ext=arguments[2];return isValue(ext)||isObject(code)&&(ext=code,code=null),isValue(ext)&&assign(err,ext),isValue(code)&&(err.code=code),captureStackTrace&&captureStackTrace(err,module.exports),err}},52045:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var toPosInt=__webpack_require__(4238),test=function(arg1,arg2){return arg2},desc,defineProperty,generate,mixin;try{Object.defineProperty(test,"length",{configurable:!0,writable:!1,enumerable:!1,value:1})}catch{}test.length===1?(desc={configurable:!0,writable:!1,enumerable:!1},defineProperty=Object.defineProperty,module.exports=function(fn,length){return length=toPosInt(length),fn.length===length?fn:(desc.value=length,defineProperty(fn,"length",desc))}):(mixin=__webpack_require__(78448),generate=function(){var cache=[];return function(length){var args,i=0;if(cache[length])return cache[length];for(args=[];length--;)args.push("a"+(++i).toString(36));return new Function("fn","return function ("+args.join(", ")+") { return fn.apply(this, arguments); };")}}(),module.exports=function(src,length){var target;if(length=toPosInt(length),src.length===length)return src;target=generate(length)(src);try{mixin(target,src)}catch{}return target})},14366:module=>{"use strict";var objToString=Object.prototype.toString,id=objToString.call(function(){return arguments}());module.exports=function(value){return objToString.call(value)===id}},16506:module=>{"use strict";var objToString=Object.prototype.toString,isFunctionStringTag=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);module.exports=function(value){return typeof value=="function"&&isFunctionStringTag(objToString.call(value))}},90282:module=>{"use strict";module.exports=function(){}},95645:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__(41590)()?Math.sign:__webpack_require__(11494)},41590:module=>{"use strict";module.exports=function(){var sign=Math.sign;return typeof sign!="function"?!1:sign(10)===1&&sign(-20)===-1}},11494:module=>{"use strict";module.exports=function(value){return value=Number(value),isNaN(value)||value===0?value:value>0?1:-1}},303:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__(71224)()?Number.isNaN:__webpack_require__(60060)},71224:module=>{"use strict";module.exports=function(){var numberIsNaN=Number.isNaN;return typeof numberIsNaN!="function"?!1:!numberIsNaN({})&&numberIsNaN(NaN)&&!numberIsNaN(34)}},60060:module=>{"use strict";module.exports=function(value){return value!==value}},81942:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var sign=__webpack_require__(95645),abs=Math.abs,floor=Math.floor;module.exports=function(value){return isNaN(value)?0:(value=Number(value),value===0||!isFinite(value)?value:sign(value)*floor(abs(value)))}},4238:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var toInteger=__webpack_require__(81942),max=Math.max;module.exports=function(value){return max(0,toInteger(value))}},61242:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var callable=__webpack_require__(95765),value=__webpack_require__(52774),bind=Function.prototype.bind,call=Function.prototype.call,keys=Object.keys,objPropertyIsEnumerable=Object.prototype.propertyIsEnumerable;module.exports=function(method,defVal){return function(obj,cb){var list,thisArg=arguments[2],compareFn=arguments[3];return obj=Object(value(obj)),callable(cb),list=keys(obj),compareFn&&list.sort(typeof compareFn=="function"?bind.call(compareFn,obj):void 0),typeof method!="function"&&(method=list[method]),call.call(method,list,function(key,index){return objPropertyIsEnumerable.call(obj,key)?call.call(cb,thisArg,obj[key],key,obj,index):defVal})}}},7686:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__(23318)()?Object.assign:__webpack_require__(31762)},23318:module=>{"use strict";module.exports=function(){var assign=Object.assign,obj;return typeof assign!="function"?!1:(obj={foo:"raz"},assign(obj,{bar:"dwa"},{trzy:"trzy"}),obj.foo+obj.bar+obj.trzy==="razdwatrzy")}},31762:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var keys=__webpack_require__(18673),value=__webpack_require__(52774),max=Math.max;module.exports=function(dest,src){var error,i,length=max(arguments.length,2),assign;for(dest=Object(value(dest)),assign=function(key){try{dest[key]=src[key]}catch(e){error||(error=e)}},i=1;i<length;++i)src=arguments[i],keys(src).forEach(assign);if(error!==void 0)throw error;return dest}},90981:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__(61242)("forEach")},79141:module=>{"use strict";module.exports=function(obj){return typeof obj=="function"}},15976:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var isValue=__webpack_require__(33982),map={function:!0,object:!0};module.exports=function(value){return isValue(value)&&map[typeof value]||!1}},33982:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var _undefined=__webpack_require__(90282)();module.exports=function(val){return val!==_undefined&&val!==null}},18673:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__(90388)()?Object.keys:__webpack_require__(49250)},90388:module=>{"use strict";module.exports=function(){try{return Object.keys("primitive"),!0}catch{return!1}}},49250:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var isValue=__webpack_require__(33982),keys=Object.keys;module.exports=function(object){return keys(isValue(object)?Object(object):object)}},2579:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var callable=__webpack_require__(95765),forEach=__webpack_require__(90981),call=Function.prototype.call;module.exports=function(obj,cb){var result={},thisArg=arguments[2];return callable(cb),forEach(obj,function(value,key,targetObj,index){result[key]=call.call(cb,thisArg,value,key,targetObj,index)}),result}},78448:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var value=__webpack_require__(52774),defineProperty=Object.defineProperty,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,getOwnPropertyNames=Object.getOwnPropertyNames,getOwnPropertySymbols=Object.getOwnPropertySymbols;module.exports=function(target,source){var error,sourceObject=Object(value(source));if(target=Object(value(target)),getOwnPropertyNames(sourceObject).forEach(function(name){try{defineProperty(target,name,getOwnPropertyDescriptor(source,name))}catch(e){error=e}}),typeof getOwnPropertySymbols=="function"&&getOwnPropertySymbols(sourceObject).forEach(function(symbol){try{defineProperty(target,symbol,getOwnPropertyDescriptor(source,symbol))}catch(e){error=e}}),error!==void 0)throw error;return target}},9847:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var isValue=__webpack_require__(33982),forEach=Array.prototype.forEach,create=Object.create,process=function(src,obj){var key;for(key in src)obj[key]=src[key]};module.exports=function(opts1){var result=create(null);return forEach.call(arguments,function(options){!isValue(options)||process(Object(options),result)}),result}},24249:module=>{"use strict";var forEach=Array.prototype.forEach,create=Object.create;module.exports=function(arg){var set=create(null);return forEach.call(arguments,function(name){set[name]=!0}),set}},95765:module=>{"use strict";module.exports=function(fn){if(typeof fn!="function")throw new TypeError(fn+" is not a function");return fn}},52774:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var isValue=__webpack_require__(33982);module.exports=function(value){if(!isValue(value))throw new TypeError("Cannot use null or undefined");return value}},11012:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var ensureValue=__webpack_require__(52774),stringifiable=__webpack_require__(40023);module.exports=function(value){return stringifiable(ensureValue(value))}},40023:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var isCallable=__webpack_require__(79141);module.exports=function(stringifiable){try{return stringifiable&&isCallable(stringifiable.toString)?stringifiable.toString():String(stringifiable)}catch{throw new TypeError("Passed argument cannot be stringifed")}}},77054:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var isCallable=__webpack_require__(79141);module.exports=function(value){try{return value&&isCallable(value.toString)?value.toString():String(value)}catch{return"<Non-coercible to string value>"}}},81078:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__(9723)()?String.prototype.contains:__webpack_require__(84041)},9723:module=>{"use strict";var str="razdwatrzy";module.exports=function(){return typeof str.contains!="function"?!1:str.contains("dwa")===!0&&str.contains("foo")===!1}},84041:module=>{"use strict";var indexOf=String.prototype.indexOf;module.exports=function(searchString){return indexOf.call(this,searchString,arguments[1])>-1}},91763:module=>{"use strict";var objToString=Object.prototype.toString,id=objToString.call("");module.exports=function(value){return typeof value=="string"||value&&typeof value=="object"&&(value instanceof String||objToString.call(value)===id)||!1}},15931:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var safeToString=__webpack_require__(77054),reNewLine=/[\n\r\u2028\u2029]/g;module.exports=function(value){var string=safeToString(value);return string.length>100&&(string=string.slice(0,99)+"\u2026"),string=string.replace(reNewLine,function(char){return JSON.stringify(char).slice(1,-1)}),string}},59652:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__(47302)()?__webpack_require__(12590).Symbol:__webpack_require__(35603)},47302:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var global=__webpack_require__(12590),validTypes={object:!0,symbol:!0};module.exports=function(){var Symbol2=global.Symbol,symbol;if(typeof Symbol2!="function")return!1;symbol=Symbol2("test symbol");try{String(symbol)}catch{return!1}return!(!validTypes[typeof Symbol2.iterator]||!validTypes[typeof Symbol2.toPrimitive]||!validTypes[typeof Symbol2.toStringTag])}},66850:module=>{"use strict";module.exports=function(value){return value?typeof value=="symbol"?!0:!value.constructor||value.constructor.name!=="Symbol"?!1:value[value.constructor.toStringTag]==="Symbol":!1}},29677:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var d=__webpack_require__(82923),create=Object.create,defineProperty=Object.defineProperty,objPrototype=Object.prototype,created=create(null);module.exports=function(desc){for(var postfix=0,name,ie11BugWorkaround;created[desc+(postfix||"")];)++postfix;return desc+=postfix||"",created[desc]=!0,name="@@"+desc,defineProperty(objPrototype,name,d.gs(null,function(value){ie11BugWorkaround||(ie11BugWorkaround=!0,defineProperty(this,name,d(value)),ie11BugWorkaround=!1)})),name}},25741:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var d=__webpack_require__(82923),NativeSymbol=__webpack_require__(12590).Symbol;module.exports=function(SymbolPolyfill){return Object.defineProperties(SymbolPolyfill,{hasInstance:d("",NativeSymbol&&NativeSymbol.hasInstance||SymbolPolyfill("hasInstance")),isConcatSpreadable:d("",NativeSymbol&&NativeSymbol.isConcatSpreadable||SymbolPolyfill("isConcatSpreadable")),iterator:d("",NativeSymbol&&NativeSymbol.iterator||SymbolPolyfill("iterator")),match:d("",NativeSymbol&&NativeSymbol.match||SymbolPolyfill("match")),replace:d("",NativeSymbol&&NativeSymbol.replace||SymbolPolyfill("replace")),search:d("",NativeSymbol&&NativeSymbol.search||SymbolPolyfill("search")),species:d("",NativeSymbol&&NativeSymbol.species||SymbolPolyfill("species")),split:d("",NativeSymbol&&NativeSymbol.split||SymbolPolyfill("split")),toPrimitive:d("",NativeSymbol&&NativeSymbol.toPrimitive||SymbolPolyfill("toPrimitive")),toStringTag:d("",NativeSymbol&&NativeSymbol.toStringTag||SymbolPolyfill("toStringTag")),unscopables:d("",NativeSymbol&&NativeSymbol.unscopables||SymbolPolyfill("unscopables"))})}},41213:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var d=__webpack_require__(82923),validateSymbol=__webpack_require__(2565),registry=Object.create(null);module.exports=function(SymbolPolyfill){return Object.defineProperties(SymbolPolyfill,{for:d(function(key){return registry[key]?registry[key]:registry[key]=SymbolPolyfill(String(key))}),keyFor:d(function(symbol){var key;validateSymbol(symbol);for(key in registry)if(registry[key]===symbol)return key})})}},35603:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var d=__webpack_require__(82923),validateSymbol=__webpack_require__(2565),NativeSymbol=__webpack_require__(12590).Symbol,generateName=__webpack_require__(29677),setupStandardSymbols=__webpack_require__(25741),setupSymbolRegistry=__webpack_require__(41213),create=Object.create,defineProperties=Object.defineProperties,defineProperty=Object.defineProperty,SymbolPolyfill,HiddenSymbol,isNativeSafe;if(typeof NativeSymbol=="function")try{String(NativeSymbol()),isNativeSafe=!0}catch{}else NativeSymbol=null;HiddenSymbol=function(description){if(this instanceof HiddenSymbol)throw new TypeError("Symbol is not a constructor");return SymbolPolyfill(description)},module.exports=SymbolPolyfill=function Symbol2(description){var symbol;if(this instanceof Symbol2)throw new TypeError("Symbol is not a constructor");return isNativeSafe?NativeSymbol(description):(symbol=create(HiddenSymbol.prototype),description=description===void 0?"":String(description),defineProperties(symbol,{__description__:d("",description),__name__:d("",generateName(description))}))},setupStandardSymbols(SymbolPolyfill),setupSymbolRegistry(SymbolPolyfill),defineProperties(HiddenSymbol.prototype,{constructor:d(SymbolPolyfill),toString:d("",function(){return this.__name__})}),defineProperties(SymbolPolyfill.prototype,{toString:d(function(){return"Symbol ("+validateSymbol(this).__description__+")"}),valueOf:d(function(){return validateSymbol(this)})}),defineProperty(SymbolPolyfill.prototype,SymbolPolyfill.toPrimitive,d("",function(){var symbol=validateSymbol(this);return typeof symbol=="symbol"?symbol:symbol.toString()})),defineProperty(SymbolPolyfill.prototype,SymbolPolyfill.toStringTag,d("c","Symbol")),defineProperty(HiddenSymbol.prototype,SymbolPolyfill.toStringTag,d("c",SymbolPolyfill.prototype[SymbolPolyfill.toStringTag])),defineProperty(HiddenSymbol.prototype,SymbolPolyfill.toPrimitive,d("c",SymbolPolyfill.prototype[SymbolPolyfill.toPrimitive]))},2565:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var isSymbol=__webpack_require__(66850);module.exports=function(value){if(!isSymbol(value))throw new TypeError(value+" is not a symbol");return value}},24250:(module,exports,__webpack_require__)=>{"use strict";var d=__webpack_require__(82923),callable=__webpack_require__(95765),apply=Function.prototype.apply,call=Function.prototype.call,create=Object.create,defineProperty=Object.defineProperty,defineProperties=Object.defineProperties,hasOwnProperty2=Object.prototype.hasOwnProperty,descriptor={configurable:!0,enumerable:!1,writable:!0},on,once,off,emit,methods,descriptors,base;on=function(type,listener){var data;return callable(listener),hasOwnProperty2.call(this,"__ee__")?data=this.__ee__:(data=descriptor.value=create(null),defineProperty(this,"__ee__",descriptor),descriptor.value=null),data[type]?typeof data[type]=="object"?data[type].push(listener):data[type]=[data[type],listener]:data[type]=listener,this},once=function(type,listener){var once2,self2;return callable(listener),self2=this,on.call(this,type,once2=function(){off.call(self2,type,once2),apply.call(listener,this,arguments)}),once2.__eeOnceListener__=listener,this},off=function(type,listener){var data,listeners,candidate,i;if(callable(listener),!hasOwnProperty2.call(this,"__ee__"))return this;if(data=this.__ee__,!data[type])return this;if(listeners=data[type],typeof listeners=="object")for(i=0;candidate=listeners[i];++i)(candidate===listener||candidate.__eeOnceListener__===listener)&&(listeners.length===2?data[type]=listeners[i?0:1]:listeners.splice(i,1));else(listeners===listener||listeners.__eeOnceListener__===listener)&&delete data[type];return this},emit=function(type){var i,l,listener,listeners,args;if(!!hasOwnProperty2.call(this,"__ee__")&&(listeners=this.__ee__[type],!!listeners))if(typeof listeners=="object"){for(l=arguments.length,args=new Array(l-1),i=1;i<l;++i)args[i-1]=arguments[i];for(listeners=listeners.slice(),i=0;listener=listeners[i];++i)apply.call(listener,this,args)}else switch(arguments.length){case 1:call.call(listeners,this);break;case 2:call.call(listeners,this,arguments[1]);break;case 3:call.call(listeners,this,arguments[1],arguments[2]);break;default:for(l=arguments.length,args=new Array(l-1),i=1;i<l;++i)args[i-1]=arguments[i];apply.call(listeners,this,args)}},methods={on,once,off,emit},descriptors={on:d(on),once:d(once),off:d(off),emit:d(emit)},base=defineProperties({},descriptors),module.exports=exports=function(o){return o==null?create(base):defineProperties(Object(o),descriptors)},exports.methods=methods},33250:module=>{var naiveFallback=function(){if(typeof self=="object"&&self)return self;if(typeof window=="object"&&window)return window;throw new Error("Unable to resolve global `this`")};module.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return naiveFallback()}try{return __global__||naiveFallback()}finally{delete Object.prototype.__global__}}()},12590:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__(46457)()?globalThis:__webpack_require__(33250)},46457:module=>{"use strict";module.exports=function(){return typeof globalThis!="object"||!globalThis?!1:globalThis.Array===Array}},3134:module=>{module.exports=isPromise,module.exports.default=isPromise;function isPromise(obj){return!!obj&&(typeof obj=="object"||typeof obj=="function")&&typeof obj.then=="function"}},58380:function(module,exports,__webpack_require__){module=__webpack_require__.nmd(module);var __WEBPACK_AMD_DEFINE_RESULT__;/**
12
12
  * @license
13
13
  * Lodash <https://lodash.com/>
14
14
  * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
@@ -34,8 +34,8 @@ __p += '`),interpolateValue&&(source+=`' +
34
34
  function print() { __p += __j.call(arguments, '') }
35
35
  `:`;
36
36
  `)+source+`return __p
37
- }`;var result2=attempt(function(){return Function2(importsKeys,sourceURL+"return "+source).apply(undefined2,importsValues)});if(result2.source=source,isError(result2))throw result2;return result2}function toLower(value){return toString(value).toLowerCase()}function toUpper(value){return toString(value).toUpperCase()}function trim(string,chars,guard){if(string=toString(string),string&&(guard||chars===undefined2))return baseTrim(string);if(!string||!(chars=baseToString(chars)))return string;var strSymbols=stringToArray(string),chrSymbols=stringToArray(chars),start=charsStartIndex(strSymbols,chrSymbols),end=charsEndIndex(strSymbols,chrSymbols)+1;return castSlice(strSymbols,start,end).join("")}function trimEnd(string,chars,guard){if(string=toString(string),string&&(guard||chars===undefined2))return string.slice(0,trimmedEndIndex(string)+1);if(!string||!(chars=baseToString(chars)))return string;var strSymbols=stringToArray(string),end=charsEndIndex(strSymbols,stringToArray(chars))+1;return castSlice(strSymbols,0,end).join("")}function trimStart(string,chars,guard){if(string=toString(string),string&&(guard||chars===undefined2))return string.replace(reTrimStart,"");if(!string||!(chars=baseToString(chars)))return string;var strSymbols=stringToArray(string),start=charsStartIndex(strSymbols,stringToArray(chars));return castSlice(strSymbols,start).join("")}function truncate(string,options){var length=DEFAULT_TRUNC_LENGTH,omission=DEFAULT_TRUNC_OMISSION;if(isObject(options)){var separator="separator"in options?options.separator:separator;length="length"in options?toInteger(options.length):length,omission="omission"in options?baseToString(options.omission):omission}string=toString(string);var strLength=string.length;if(hasUnicode(string)){var strSymbols=stringToArray(string);strLength=strSymbols.length}if(length>=strLength)return string;var end=length-stringSize(omission);if(end<1)return omission;var result2=strSymbols?castSlice(strSymbols,0,end).join(""):string.slice(0,end);if(separator===undefined2)return result2+omission;if(strSymbols&&(end+=result2.length-end),isRegExp(separator)){if(string.slice(end).search(separator)){var match,substring=result2;for(separator.global||(separator=RegExp2(separator.source,toString(reFlags.exec(separator))+"g")),separator.lastIndex=0;match=separator.exec(substring);)var newEnd=match.index;result2=result2.slice(0,newEnd===undefined2?end:newEnd)}}else if(string.indexOf(baseToString(separator),end)!=end){var index=result2.lastIndexOf(separator);index>-1&&(result2=result2.slice(0,index))}return result2+omission}function unescape2(string){return string=toString(string),string&&reHasEscapedHtml.test(string)?string.replace(reEscapedHtml,unescapeHtmlChar):string}var upperCase=createCompounder(function(result2,word,index){return result2+(index?" ":"")+word.toUpperCase()}),upperFirst=createCaseFirst("toUpperCase");function words(string,pattern,guard){return string=toString(string),pattern=guard?undefined2:pattern,pattern===undefined2?hasUnicodeWord(string)?unicodeWords(string):asciiWords(string):string.match(pattern)||[]}var attempt=baseRest(function(func,args){try{return apply(func,undefined2,args)}catch(e){return isError(e)?e:new Error2(e)}}),bindAll=flatRest(function(object,methodNames){return arrayEach(methodNames,function(key){key=toKey(key),baseAssignValue(object,key,bind(object[key],object))}),object});function cond(pairs){var length=pairs==null?0:pairs.length,toIteratee=getIteratee();return pairs=length?arrayMap(pairs,function(pair){if(typeof pair[1]!="function")throw new TypeError2(FUNC_ERROR_TEXT);return[toIteratee(pair[0]),pair[1]]}):[],baseRest(function(args){for(var index=-1;++index<length;){var pair=pairs[index];if(apply(pair[0],this,args))return apply(pair[1],this,args)}})}function conforms(source){return baseConforms(baseClone(source,CLONE_DEEP_FLAG))}function constant(value){return function(){return value}}function defaultTo(value,defaultValue){return value==null||value!==value?defaultValue:value}var flow=createFlow(),flowRight=createFlow(!0);function identity(value){return value}function iteratee(func){return baseIteratee(typeof func=="function"?func:baseClone(func,CLONE_DEEP_FLAG))}function matches(source){return baseMatches(baseClone(source,CLONE_DEEP_FLAG))}function matchesProperty(path,srcValue){return baseMatchesProperty(path,baseClone(srcValue,CLONE_DEEP_FLAG))}var method=baseRest(function(path,args){return function(object){return baseInvoke(object,path,args)}}),methodOf=baseRest(function(object,args){return function(path){return baseInvoke(object,path,args)}});function mixin(object,source,options){var props=keys(source),methodNames=baseFunctions(source,props);options==null&&!(isObject(source)&&(methodNames.length||!props.length))&&(options=source,source=object,object=this,methodNames=baseFunctions(source,keys(source)));var chain2=!(isObject(options)&&"chain"in options)||!!options.chain,isFunc=isFunction(object);return arrayEach(methodNames,function(methodName){var func=source[methodName];object[methodName]=func,isFunc&&(object.prototype[methodName]=function(){var chainAll=this.__chain__;if(chain2||chainAll){var result2=object(this.__wrapped__),actions=result2.__actions__=copyArray(this.__actions__);return actions.push({func,args:arguments,thisArg:object}),result2.__chain__=chainAll,result2}return func.apply(object,arrayPush([this.value()],arguments))})}),object}function noConflict(){return root._===this&&(root._=oldDash),this}function noop(){}function nthArg(n){return n=toInteger(n),baseRest(function(args){return baseNth(args,n)})}var over=createOver(arrayMap),overEvery=createOver(arrayEvery),overSome=createOver(arraySome);function property(path){return isKey(path)?baseProperty(toKey(path)):basePropertyDeep(path)}function propertyOf(object){return function(path){return object==null?undefined2:baseGet(object,path)}}var range=createRange(),rangeRight=createRange(!0);function stubArray(){return[]}function stubFalse(){return!1}function stubObject(){return{}}function stubString(){return""}function stubTrue(){return!0}function times(n,iteratee2){if(n=toInteger(n),n<1||n>MAX_SAFE_INTEGER)return[];var index=MAX_ARRAY_LENGTH,length=nativeMin(n,MAX_ARRAY_LENGTH);iteratee2=getIteratee(iteratee2),n-=MAX_ARRAY_LENGTH;for(var result2=baseTimes(length,iteratee2);++index<n;)iteratee2(index);return result2}function toPath(value){return isArray(value)?arrayMap(value,toKey):isSymbol(value)?[value]:copyArray(stringToPath(toString(value)))}function uniqueId(prefix){var id=++idCounter;return toString(prefix)+id}var add=createMathOperation(function(augend,addend){return augend+addend},0),ceil=createRound("ceil"),divide=createMathOperation(function(dividend,divisor){return dividend/divisor},1),floor=createRound("floor");function max(array){return array&&array.length?baseExtremum(array,identity,baseGt):undefined2}function maxBy(array,iteratee2){return array&&array.length?baseExtremum(array,getIteratee(iteratee2,2),baseGt):undefined2}function mean(array){return baseMean(array,identity)}function meanBy(array,iteratee2){return baseMean(array,getIteratee(iteratee2,2))}function min(array){return array&&array.length?baseExtremum(array,identity,baseLt):undefined2}function minBy(array,iteratee2){return array&&array.length?baseExtremum(array,getIteratee(iteratee2,2),baseLt):undefined2}var multiply=createMathOperation(function(multiplier,multiplicand){return multiplier*multiplicand},1),round=createRound("round"),subtract=createMathOperation(function(minuend,subtrahend){return minuend-subtrahend},0);function sum(array){return array&&array.length?baseSum(array,identity):0}function sumBy(array,iteratee2){return array&&array.length?baseSum(array,getIteratee(iteratee2,2)):0}return lodash.after=after,lodash.ary=ary,lodash.assign=assign,lodash.assignIn=assignIn,lodash.assignInWith=assignInWith,lodash.assignWith=assignWith,lodash.at=at,lodash.before=before,lodash.bind=bind,lodash.bindAll=bindAll,lodash.bindKey=bindKey,lodash.castArray=castArray,lodash.chain=chain,lodash.chunk=chunk,lodash.compact=compact,lodash.concat=concat,lodash.cond=cond,lodash.conforms=conforms,lodash.constant=constant,lodash.countBy=countBy,lodash.create=create,lodash.curry=curry,lodash.curryRight=curryRight,lodash.debounce=debounce,lodash.defaults=defaults,lodash.defaultsDeep=defaultsDeep,lodash.defer=defer,lodash.delay=delay,lodash.difference=difference,lodash.differenceBy=differenceBy,lodash.differenceWith=differenceWith,lodash.drop=drop,lodash.dropRight=dropRight,lodash.dropRightWhile=dropRightWhile,lodash.dropWhile=dropWhile,lodash.fill=fill,lodash.filter=filter,lodash.flatMap=flatMap,lodash.flatMapDeep=flatMapDeep,lodash.flatMapDepth=flatMapDepth,lodash.flatten=flatten,lodash.flattenDeep=flattenDeep,lodash.flattenDepth=flattenDepth,lodash.flip=flip,lodash.flow=flow,lodash.flowRight=flowRight,lodash.fromPairs=fromPairs,lodash.functions=functions,lodash.functionsIn=functionsIn,lodash.groupBy=groupBy,lodash.initial=initial,lodash.intersection=intersection,lodash.intersectionBy=intersectionBy,lodash.intersectionWith=intersectionWith,lodash.invert=invert,lodash.invertBy=invertBy,lodash.invokeMap=invokeMap,lodash.iteratee=iteratee,lodash.keyBy=keyBy,lodash.keys=keys,lodash.keysIn=keysIn,lodash.map=map,lodash.mapKeys=mapKeys,lodash.mapValues=mapValues,lodash.matches=matches,lodash.matchesProperty=matchesProperty,lodash.memoize=memoize,lodash.merge=merge,lodash.mergeWith=mergeWith,lodash.method=method,lodash.methodOf=methodOf,lodash.mixin=mixin,lodash.negate=negate,lodash.nthArg=nthArg,lodash.omit=omit,lodash.omitBy=omitBy,lodash.once=once,lodash.orderBy=orderBy,lodash.over=over,lodash.overArgs=overArgs,lodash.overEvery=overEvery,lodash.overSome=overSome,lodash.partial=partial,lodash.partialRight=partialRight,lodash.partition=partition,lodash.pick=pick,lodash.pickBy=pickBy,lodash.property=property,lodash.propertyOf=propertyOf,lodash.pull=pull,lodash.pullAll=pullAll,lodash.pullAllBy=pullAllBy,lodash.pullAllWith=pullAllWith,lodash.pullAt=pullAt,lodash.range=range,lodash.rangeRight=rangeRight,lodash.rearg=rearg,lodash.reject=reject,lodash.remove=remove,lodash.rest=rest,lodash.reverse=reverse,lodash.sampleSize=sampleSize,lodash.set=set,lodash.setWith=setWith,lodash.shuffle=shuffle,lodash.slice=slice,lodash.sortBy=sortBy,lodash.sortedUniq=sortedUniq,lodash.sortedUniqBy=sortedUniqBy,lodash.split=split,lodash.spread=spread,lodash.tail=tail,lodash.take=take,lodash.takeRight=takeRight,lodash.takeRightWhile=takeRightWhile,lodash.takeWhile=takeWhile,lodash.tap=tap,lodash.throttle=throttle,lodash.thru=thru,lodash.toArray=toArray,lodash.toPairs=toPairs,lodash.toPairsIn=toPairsIn,lodash.toPath=toPath,lodash.toPlainObject=toPlainObject,lodash.transform=transform,lodash.unary=unary,lodash.union=union,lodash.unionBy=unionBy,lodash.unionWith=unionWith,lodash.uniq=uniq,lodash.uniqBy=uniqBy,lodash.uniqWith=uniqWith,lodash.unset=unset,lodash.unzip=unzip,lodash.unzipWith=unzipWith,lodash.update=update,lodash.updateWith=updateWith,lodash.values=values,lodash.valuesIn=valuesIn,lodash.without=without,lodash.words=words,lodash.wrap=wrap,lodash.xor=xor,lodash.xorBy=xorBy,lodash.xorWith=xorWith,lodash.zip=zip,lodash.zipObject=zipObject,lodash.zipObjectDeep=zipObjectDeep,lodash.zipWith=zipWith,lodash.entries=toPairs,lodash.entriesIn=toPairsIn,lodash.extend=assignIn,lodash.extendWith=assignInWith,mixin(lodash,lodash),lodash.add=add,lodash.attempt=attempt,lodash.camelCase=camelCase,lodash.capitalize=capitalize,lodash.ceil=ceil,lodash.clamp=clamp,lodash.clone=clone,lodash.cloneDeep=cloneDeep,lodash.cloneDeepWith=cloneDeepWith,lodash.cloneWith=cloneWith,lodash.conformsTo=conformsTo,lodash.deburr=deburr,lodash.defaultTo=defaultTo,lodash.divide=divide,lodash.endsWith=endsWith,lodash.eq=eq,lodash.escape=escape,lodash.escapeRegExp=escapeRegExp,lodash.every=every,lodash.find=find,lodash.findIndex=findIndex,lodash.findKey=findKey,lodash.findLast=findLast,lodash.findLastIndex=findLastIndex,lodash.findLastKey=findLastKey,lodash.floor=floor,lodash.forEach=forEach,lodash.forEachRight=forEachRight,lodash.forIn=forIn,lodash.forInRight=forInRight,lodash.forOwn=forOwn,lodash.forOwnRight=forOwnRight,lodash.get=get,lodash.gt=gt,lodash.gte=gte,lodash.has=has,lodash.hasIn=hasIn,lodash.head=head,lodash.identity=identity,lodash.includes=includes,lodash.indexOf=indexOf,lodash.inRange=inRange,lodash.invoke=invoke,lodash.isArguments=isArguments,lodash.isArray=isArray,lodash.isArrayBuffer=isArrayBuffer,lodash.isArrayLike=isArrayLike,lodash.isArrayLikeObject=isArrayLikeObject,lodash.isBoolean=isBoolean,lodash.isBuffer=isBuffer,lodash.isDate=isDate,lodash.isElement=isElement,lodash.isEmpty=isEmpty,lodash.isEqual=isEqual,lodash.isEqualWith=isEqualWith,lodash.isError=isError,lodash.isFinite=isFinite2,lodash.isFunction=isFunction,lodash.isInteger=isInteger,lodash.isLength=isLength,lodash.isMap=isMap,lodash.isMatch=isMatch,lodash.isMatchWith=isMatchWith,lodash.isNaN=isNaN2,lodash.isNative=isNative,lodash.isNil=isNil,lodash.isNull=isNull,lodash.isNumber=isNumber,lodash.isObject=isObject,lodash.isObjectLike=isObjectLike,lodash.isPlainObject=isPlainObject,lodash.isRegExp=isRegExp,lodash.isSafeInteger=isSafeInteger,lodash.isSet=isSet,lodash.isString=isString,lodash.isSymbol=isSymbol,lodash.isTypedArray=isTypedArray,lodash.isUndefined=isUndefined,lodash.isWeakMap=isWeakMap,lodash.isWeakSet=isWeakSet,lodash.join=join,lodash.kebabCase=kebabCase,lodash.last=last,lodash.lastIndexOf=lastIndexOf,lodash.lowerCase=lowerCase,lodash.lowerFirst=lowerFirst,lodash.lt=lt,lodash.lte=lte,lodash.max=max,lodash.maxBy=maxBy,lodash.mean=mean,lodash.meanBy=meanBy,lodash.min=min,lodash.minBy=minBy,lodash.stubArray=stubArray,lodash.stubFalse=stubFalse,lodash.stubObject=stubObject,lodash.stubString=stubString,lodash.stubTrue=stubTrue,lodash.multiply=multiply,lodash.nth=nth,lodash.noConflict=noConflict,lodash.noop=noop,lodash.now=now,lodash.pad=pad,lodash.padEnd=padEnd,lodash.padStart=padStart,lodash.parseInt=parseInt2,lodash.random=random,lodash.reduce=reduce,lodash.reduceRight=reduceRight,lodash.repeat=repeat,lodash.replace=replace,lodash.result=result,lodash.round=round,lodash.runInContext=runInContext2,lodash.sample=sample,lodash.size=size,lodash.snakeCase=snakeCase,lodash.some=some,lodash.sortedIndex=sortedIndex,lodash.sortedIndexBy=sortedIndexBy,lodash.sortedIndexOf=sortedIndexOf,lodash.sortedLastIndex=sortedLastIndex,lodash.sortedLastIndexBy=sortedLastIndexBy,lodash.sortedLastIndexOf=sortedLastIndexOf,lodash.startCase=startCase,lodash.startsWith=startsWith,lodash.subtract=subtract,lodash.sum=sum,lodash.sumBy=sumBy,lodash.template=template,lodash.times=times,lodash.toFinite=toFinite,lodash.toInteger=toInteger,lodash.toLength=toLength,lodash.toLower=toLower,lodash.toNumber=toNumber,lodash.toSafeInteger=toSafeInteger,lodash.toString=toString,lodash.toUpper=toUpper,lodash.trim=trim,lodash.trimEnd=trimEnd,lodash.trimStart=trimStart,lodash.truncate=truncate,lodash.unescape=unescape2,lodash.uniqueId=uniqueId,lodash.upperCase=upperCase,lodash.upperFirst=upperFirst,lodash.each=forEach,lodash.eachRight=forEachRight,lodash.first=head,mixin(lodash,function(){var source={};return baseForOwn(lodash,function(func,methodName){hasOwnProperty2.call(lodash.prototype,methodName)||(source[methodName]=func)}),source}(),{chain:!1}),lodash.VERSION=VERSION,arrayEach(["bind","bindKey","curry","curryRight","partial","partialRight"],function(methodName){lodash[methodName].placeholder=lodash}),arrayEach(["drop","take"],function(methodName,index){LazyWrapper.prototype[methodName]=function(n){n=n===undefined2?1:nativeMax(toInteger(n),0);var result2=this.__filtered__&&!index?new LazyWrapper(this):this.clone();return result2.__filtered__?result2.__takeCount__=nativeMin(n,result2.__takeCount__):result2.__views__.push({size:nativeMin(n,MAX_ARRAY_LENGTH),type:methodName+(result2.__dir__<0?"Right":"")}),result2},LazyWrapper.prototype[methodName+"Right"]=function(n){return this.reverse()[methodName](n).reverse()}}),arrayEach(["filter","map","takeWhile"],function(methodName,index){var type=index+1,isFilter=type==LAZY_FILTER_FLAG||type==LAZY_WHILE_FLAG;LazyWrapper.prototype[methodName]=function(iteratee2){var result2=this.clone();return result2.__iteratees__.push({iteratee:getIteratee(iteratee2,3),type}),result2.__filtered__=result2.__filtered__||isFilter,result2}}),arrayEach(["head","last"],function(methodName,index){var takeName="take"+(index?"Right":"");LazyWrapper.prototype[methodName]=function(){return this[takeName](1).value()[0]}}),arrayEach(["initial","tail"],function(methodName,index){var dropName="drop"+(index?"":"Right");LazyWrapper.prototype[methodName]=function(){return this.__filtered__?new LazyWrapper(this):this[dropName](1)}}),LazyWrapper.prototype.compact=function(){return this.filter(identity)},LazyWrapper.prototype.find=function(predicate){return this.filter(predicate).head()},LazyWrapper.prototype.findLast=function(predicate){return this.reverse().find(predicate)},LazyWrapper.prototype.invokeMap=baseRest(function(path,args){return typeof path=="function"?new LazyWrapper(this):this.map(function(value){return baseInvoke(value,path,args)})}),LazyWrapper.prototype.reject=function(predicate){return this.filter(negate(getIteratee(predicate)))},LazyWrapper.prototype.slice=function(start,end){start=toInteger(start);var result2=this;return result2.__filtered__&&(start>0||end<0)?new LazyWrapper(result2):(start<0?result2=result2.takeRight(-start):start&&(result2=result2.drop(start)),end!==undefined2&&(end=toInteger(end),result2=end<0?result2.dropRight(-end):result2.take(end-start)),result2)},LazyWrapper.prototype.takeRightWhile=function(predicate){return this.reverse().takeWhile(predicate).reverse()},LazyWrapper.prototype.toArray=function(){return this.take(MAX_ARRAY_LENGTH)},baseForOwn(LazyWrapper.prototype,function(func,methodName){var checkIteratee=/^(?:filter|find|map|reject)|While$/.test(methodName),isTaker=/^(?:head|last)$/.test(methodName),lodashFunc=lodash[isTaker?"take"+(methodName=="last"?"Right":""):methodName],retUnwrapped=isTaker||/^find/.test(methodName);!lodashFunc||(lodash.prototype[methodName]=function(){var value=this.__wrapped__,args=isTaker?[1]:arguments,isLazy=value instanceof LazyWrapper,iteratee2=args[0],useLazy=isLazy||isArray(value),interceptor=function(value2){var result3=lodashFunc.apply(lodash,arrayPush([value2],args));return isTaker&&chainAll?result3[0]:result3};useLazy&&checkIteratee&&typeof iteratee2=="function"&&iteratee2.length!=1&&(isLazy=useLazy=!1);var chainAll=this.__chain__,isHybrid=!!this.__actions__.length,isUnwrapped=retUnwrapped&&!chainAll,onlyLazy=isLazy&&!isHybrid;if(!retUnwrapped&&useLazy){value=onlyLazy?value:new LazyWrapper(this);var result2=func.apply(value,args);return result2.__actions__.push({func:thru,args:[interceptor],thisArg:undefined2}),new LodashWrapper(result2,chainAll)}return isUnwrapped&&onlyLazy?func.apply(this,args):(result2=this.thru(interceptor),isUnwrapped?isTaker?result2.value()[0]:result2.value():result2)})}),arrayEach(["pop","push","shift","sort","splice","unshift"],function(methodName){var func=arrayProto[methodName],chainName=/^(?:push|sort|unshift)$/.test(methodName)?"tap":"thru",retUnwrapped=/^(?:pop|shift)$/.test(methodName);lodash.prototype[methodName]=function(){var args=arguments;if(retUnwrapped&&!this.__chain__){var value=this.value();return func.apply(isArray(value)?value:[],args)}return this[chainName](function(value2){return func.apply(isArray(value2)?value2:[],args)})}}),baseForOwn(LazyWrapper.prototype,function(func,methodName){var lodashFunc=lodash[methodName];if(lodashFunc){var key=lodashFunc.name+"";hasOwnProperty2.call(realNames,key)||(realNames[key]=[]),realNames[key].push({name:methodName,func:lodashFunc})}}),realNames[createHybrid(undefined2,WRAP_BIND_KEY_FLAG).name]=[{name:"wrapper",func:undefined2}],LazyWrapper.prototype.clone=lazyClone,LazyWrapper.prototype.reverse=lazyReverse,LazyWrapper.prototype.value=lazyValue,lodash.prototype.at=wrapperAt,lodash.prototype.chain=wrapperChain,lodash.prototype.commit=wrapperCommit,lodash.prototype.next=wrapperNext,lodash.prototype.plant=wrapperPlant,lodash.prototype.reverse=wrapperReverse,lodash.prototype.toJSON=lodash.prototype.valueOf=lodash.prototype.value=wrapperValue,lodash.prototype.first=lodash.prototype.head,symIterator&&(lodash.prototype[symIterator]=wrapperToIterator),lodash},_=runInContext();root._=_,__WEBPACK_AMD_DEFINE_RESULT__=function(){return _}.call(exports,__webpack_require__,exports,module),__WEBPACK_AMD_DEFINE_RESULT__!==undefined2&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)}).call(this)},57247:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";const Yallist=__webpack_require__(83406),MAX=Symbol("max"),LENGTH=Symbol("length"),LENGTH_CALCULATOR=Symbol("lengthCalculator"),ALLOW_STALE=Symbol("allowStale"),MAX_AGE=Symbol("maxAge"),DISPOSE=Symbol("dispose"),NO_DISPOSE_ON_SET=Symbol("noDisposeOnSet"),LRU_LIST=Symbol("lruList"),CACHE=Symbol("cache"),UPDATE_AGE_ON_GET=Symbol("updateAgeOnGet"),naiveLength=()=>1;class LRUCache{constructor(options){if(typeof options=="number"&&(options={max:options}),options||(options={}),options.max&&(typeof options.max!="number"||options.max<0))throw new TypeError("max must be a non-negative number");const max=this[MAX]=options.max||1/0,lc=options.length||naiveLength;if(this[LENGTH_CALCULATOR]=typeof lc!="function"?naiveLength:lc,this[ALLOW_STALE]=options.stale||!1,options.maxAge&&typeof options.maxAge!="number")throw new TypeError("maxAge must be a number");this[MAX_AGE]=options.maxAge||0,this[DISPOSE]=options.dispose,this[NO_DISPOSE_ON_SET]=options.noDisposeOnSet||!1,this[UPDATE_AGE_ON_GET]=options.updateAgeOnGet||!1,this.reset()}set max(mL){if(typeof mL!="number"||mL<0)throw new TypeError("max must be a non-negative number");this[MAX]=mL||1/0,trim(this)}get max(){return this[MAX]}set allowStale(allowStale){this[ALLOW_STALE]=!!allowStale}get allowStale(){return this[ALLOW_STALE]}set maxAge(mA){if(typeof mA!="number")throw new TypeError("maxAge must be a non-negative number");this[MAX_AGE]=mA,trim(this)}get maxAge(){return this[MAX_AGE]}set lengthCalculator(lC){typeof lC!="function"&&(lC=naiveLength),lC!==this[LENGTH_CALCULATOR]&&(this[LENGTH_CALCULATOR]=lC,this[LENGTH]=0,this[LRU_LIST].forEach(hit=>{hit.length=this[LENGTH_CALCULATOR](hit.value,hit.key),this[LENGTH]+=hit.length})),trim(this)}get lengthCalculator(){return this[LENGTH_CALCULATOR]}get length(){return this[LENGTH]}get itemCount(){return this[LRU_LIST].length}rforEach(fn,thisp){thisp=thisp||this;for(let walker=this[LRU_LIST].tail;walker!==null;){const prev=walker.prev;forEachStep(this,fn,walker,thisp),walker=prev}}forEach(fn,thisp){thisp=thisp||this;for(let walker=this[LRU_LIST].head;walker!==null;){const next=walker.next;forEachStep(this,fn,walker,thisp),walker=next}}keys(){return this[LRU_LIST].toArray().map(k=>k.key)}values(){return this[LRU_LIST].toArray().map(k=>k.value)}reset(){this[DISPOSE]&&this[LRU_LIST]&&this[LRU_LIST].length&&this[LRU_LIST].forEach(hit=>this[DISPOSE](hit.key,hit.value)),this[CACHE]=new Map,this[LRU_LIST]=new Yallist,this[LENGTH]=0}dump(){return this[LRU_LIST].map(hit=>isStale(this,hit)?!1:{k:hit.key,v:hit.value,e:hit.now+(hit.maxAge||0)}).toArray().filter(h=>h)}dumpLru(){return this[LRU_LIST]}set(key,value,maxAge){if(maxAge=maxAge||this[MAX_AGE],maxAge&&typeof maxAge!="number")throw new TypeError("maxAge must be a number");const now=maxAge?Date.now():0,len=this[LENGTH_CALCULATOR](value,key);if(this[CACHE].has(key)){if(len>this[MAX])return del(this,this[CACHE].get(key)),!1;const item=this[CACHE].get(key).value;return this[DISPOSE]&&(this[NO_DISPOSE_ON_SET]||this[DISPOSE](key,item.value)),item.now=now,item.maxAge=maxAge,item.value=value,this[LENGTH]+=len-item.length,item.length=len,this.get(key),trim(this),!0}const hit=new Entry(key,value,len,now,maxAge);return hit.length>this[MAX]?(this[DISPOSE]&&this[DISPOSE](key,value),!1):(this[LENGTH]+=hit.length,this[LRU_LIST].unshift(hit),this[CACHE].set(key,this[LRU_LIST].head),trim(this),!0)}has(key){if(!this[CACHE].has(key))return!1;const hit=this[CACHE].get(key).value;return!isStale(this,hit)}get(key){return get(this,key,!0)}peek(key){return get(this,key,!1)}pop(){const node=this[LRU_LIST].tail;return node?(del(this,node),node.value):null}del(key){del(this,this[CACHE].get(key))}load(arr){this.reset();const now=Date.now();for(let l=arr.length-1;l>=0;l--){const hit=arr[l],expiresAt=hit.e||0;if(expiresAt===0)this.set(hit.k,hit.v);else{const maxAge=expiresAt-now;maxAge>0&&this.set(hit.k,hit.v,maxAge)}}}prune(){this[CACHE].forEach((value,key)=>get(this,key,!1))}}const get=(self2,key,doUse)=>{const node=self2[CACHE].get(key);if(node){const hit=node.value;if(isStale(self2,hit)){if(del(self2,node),!self2[ALLOW_STALE])return}else doUse&&(self2[UPDATE_AGE_ON_GET]&&(node.value.now=Date.now()),self2[LRU_LIST].unshiftNode(node));return hit.value}},isStale=(self2,hit)=>{if(!hit||!hit.maxAge&&!self2[MAX_AGE])return!1;const diff=Date.now()-hit.now;return hit.maxAge?diff>hit.maxAge:self2[MAX_AGE]&&diff>self2[MAX_AGE]},trim=self2=>{if(self2[LENGTH]>self2[MAX])for(let walker=self2[LRU_LIST].tail;self2[LENGTH]>self2[MAX]&&walker!==null;){const prev=walker.prev;del(self2,walker),walker=prev}},del=(self2,node)=>{if(node){const hit=node.value;self2[DISPOSE]&&self2[DISPOSE](hit.key,hit.value),self2[LENGTH]-=hit.length,self2[CACHE].delete(hit.key),self2[LRU_LIST].removeNode(node)}};class Entry{constructor(key,value,length,now,maxAge){this.key=key,this.value=value,this.length=length,this.now=now,this.maxAge=maxAge||0}}const forEachStep=(self2,fn,node,thisp)=>{let hit=node.value;isStale(self2,hit)&&(del(self2,node),self2[ALLOW_STALE]||(hit=void 0)),hit&&fn.call(thisp,hit.value,hit.key,self2)};module.exports=LRUCache},71156:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var toPosInt=__webpack_require__(139),create=Object.create,hasOwnProperty2=Object.prototype.hasOwnProperty;module.exports=function(limit){var size=0,base=1,queue=create(null),map=create(null),index=0,del;return limit=toPosInt(limit),{hit:function(id){var oldIndex=map[id],nuIndex=++index;if(queue[nuIndex]=id,map[id]=nuIndex,!oldIndex)return++size,size<=limit?void 0:(id=queue[base],del(id),id);if(delete queue[oldIndex],base===oldIndex)for(;!hasOwnProperty2.call(queue,++base););},delete:del=function(id){var oldIndex=map[id];if(!!oldIndex&&(delete queue[oldIndex],delete map[id],--size,base===oldIndex)){if(!size){index=0,base=1;return}for(;!hasOwnProperty2.call(queue,++base););}},clear:function(){size=0,base=1,queue=create(null),map=create(null),index=0}}}},79670:(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var aFrom=__webpack_require__(72517),objectMap=__webpack_require__(91148),mixin=__webpack_require__(35843),defineLength=__webpack_require__(65414),nextTick=__webpack_require__(64409),slice=Array.prototype.slice,apply=Function.prototype.apply,create=Object.create;__webpack_require__(77029).async=function(tbi,conf){var waiting=create(null),cache=create(null),base=conf.memoized,original=conf.original,currentCallback,currentContext,currentArgs;conf.memoized=defineLength(function(arg){var args=arguments,last=args[args.length-1];return typeof last=="function"&&(currentCallback=last,args=slice.call(args,0,-1)),base.apply(currentContext=this,currentArgs=args)},base);try{mixin(conf.memoized,base)}catch{}conf.on("get",function(id){var cb,context,args;if(!!currentCallback){if(waiting[id]){typeof waiting[id]=="function"?waiting[id]=[waiting[id],currentCallback]:waiting[id].push(currentCallback),currentCallback=null;return}cb=currentCallback,context=currentContext,args=currentArgs,currentCallback=currentContext=currentArgs=null,nextTick(function(){var data;hasOwnProperty.call(cache,id)?(data=cache[id],conf.emit("getasync",id,args,context),apply.call(cb,data.context,data.args)):(currentCallback=cb,currentContext=context,currentArgs=args,base.apply(context,args))})}}),conf.original=function(){var args,cb,origCb,result;return currentCallback?(args=aFrom(arguments),cb=function self2(err){var cb2,args2,id=self2.id;if(id==null){nextTick(apply.bind(self2,this,arguments));return}if(delete self2.id,cb2=waiting[id],delete waiting[id],!!cb2)return args2=aFrom(arguments),conf.has(id)&&(err?conf.delete(id):(cache[id]={context:this,args:args2},conf.emit("setasync",id,typeof cb2=="function"?1:cb2.length))),typeof cb2=="function"?result=apply.call(cb2,this,args2):cb2.forEach(function(cb3){result=apply.call(cb3,this,args2)},this),result},origCb=currentCallback,currentCallback=currentContext=currentArgs=null,args.push(cb),result=apply.call(original,this,args),cb.cb=origCb,currentCallback=cb,result):apply.call(original,this,arguments)},conf.on("set",function(id){if(!currentCallback){conf.delete(id);return}waiting[id]?typeof waiting[id]=="function"?waiting[id]=[waiting[id],currentCallback.cb]:waiting[id].push(currentCallback.cb):waiting[id]=currentCallback.cb,delete currentCallback.cb,currentCallback.id=id,currentCallback=null}),conf.on("delete",function(id){var result;hasOwnProperty.call(waiting,id)||!cache[id]||(result=cache[id],delete cache[id],conf.emit("deleteasync",id,slice.call(result.args,1)))}),conf.on("clear",function(){var oldCache=cache;cache=create(null),conf.emit("clearasync",objectMap(oldCache,function(data){return slice.call(data.args,1)}))})}},33777:(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var callable=__webpack_require__(87695),forEach=__webpack_require__(14489),extensions=__webpack_require__(77029),apply=Function.prototype.apply;extensions.dispose=function(dispose,conf,options){var del;if(callable(dispose),options.async&&extensions.async||options.promise&&extensions.promise){conf.on("deleteasync",del=function(id,resultArray){apply.call(dispose,null,resultArray)}),conf.on("clearasync",function(cache){forEach(cache,function(result,id){del(id,result)})});return}conf.on("delete",del=function(id,result){dispose(result)}),conf.on("clear",function(cache){forEach(cache,function(result,id){del(id,result)})})}},47703:(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var aFrom=__webpack_require__(72517),forEach=__webpack_require__(14489),nextTick=__webpack_require__(64409),isPromise=__webpack_require__(4907),timeout=__webpack_require__(37838),extensions=__webpack_require__(77029),noop=Function.prototype,max=Math.max,min=Math.min,create=Object.create;extensions.maxAge=function(maxAge,conf,options){var timeouts,postfix,preFetchAge,preFetchTimeouts;maxAge=timeout(maxAge),maxAge&&(timeouts=create(null),postfix=options.async&&extensions.async||options.promise&&extensions.promise?"async":"",conf.on("set"+postfix,function(id){timeouts[id]=setTimeout(function(){conf.delete(id)},maxAge),typeof timeouts[id].unref=="function"&&timeouts[id].unref(),preFetchTimeouts&&(preFetchTimeouts[id]&&preFetchTimeouts[id]!=="nextTick"&&clearTimeout(preFetchTimeouts[id]),preFetchTimeouts[id]=setTimeout(function(){delete preFetchTimeouts[id]},preFetchAge),typeof preFetchTimeouts[id].unref=="function"&&preFetchTimeouts[id].unref())}),conf.on("delete"+postfix,function(id){clearTimeout(timeouts[id]),delete timeouts[id],preFetchTimeouts&&(preFetchTimeouts[id]!=="nextTick"&&clearTimeout(preFetchTimeouts[id]),delete preFetchTimeouts[id])}),options.preFetch&&(options.preFetch===!0||isNaN(options.preFetch)?preFetchAge=.333:preFetchAge=max(min(Number(options.preFetch),1),0),preFetchAge&&(preFetchTimeouts={},preFetchAge=(1-preFetchAge)*maxAge,conf.on("get"+postfix,function(id,args,context){preFetchTimeouts[id]||(preFetchTimeouts[id]="nextTick",nextTick(function(){var result;preFetchTimeouts[id]==="nextTick"&&(delete preFetchTimeouts[id],conf.delete(id),options.async&&(args=aFrom(args),args.push(noop)),result=conf.memoized.apply(context,args),options.promise&&isPromise(result)&&(typeof result.done=="function"?result.done(noop,noop):result.then(noop,noop)))}))}))),conf.on("clear"+postfix,function(){forEach(timeouts,function(id){clearTimeout(id)}),timeouts={},preFetchTimeouts&&(forEach(preFetchTimeouts,function(id){id!=="nextTick"&&clearTimeout(id)}),preFetchTimeouts={})}))}},55799:(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var toPosInteger=__webpack_require__(139),lruQueue=__webpack_require__(71156),extensions=__webpack_require__(77029);extensions.max=function(max,conf,options){var postfix,queue,hit;max=toPosInteger(max),max&&(queue=lruQueue(max),postfix=options.async&&extensions.async||options.promise&&extensions.promise?"async":"",conf.on("set"+postfix,hit=function(id){id=queue.hit(id),id!==void 0&&conf.delete(id)}),conf.on("get"+postfix,hit),conf.on("delete"+postfix,queue.delete),conf.on("clear"+postfix,queue.clear))}},49907:(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var objectMap=__webpack_require__(91148),primitiveSet=__webpack_require__(51941),ensureString=__webpack_require__(30924),toShortString=__webpack_require__(48700),isPromise=__webpack_require__(4907),nextTick=__webpack_require__(64409),create=Object.create,supportedModes=primitiveSet("then","then:finally","done","done:finally");__webpack_require__(77029).promise=function(mode,conf){var waiting=create(null),cache=create(null),promises=create(null);if(mode===!0)mode=null;else if(mode=ensureString(mode),!supportedModes[mode])throw new TypeError("'"+toShortString(mode)+"' is not valid promise mode");conf.on("set",function(id,ignore,promise){var isFailed=!1;if(!isPromise(promise)){cache[id]=promise,conf.emit("setasync",id,1);return}waiting[id]=1,promises[id]=promise;var onSuccess=function(result){var count=waiting[id];if(isFailed)throw new Error(`Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)
38
- Consider to rely on 'then' or 'done' mode instead.`);!count||(delete waiting[id],cache[id]=result,conf.emit("setasync",id,count))},onFailure=function(){isFailed=!0,waiting[id]&&(delete waiting[id],delete promises[id],conf.delete(id))},resolvedMode=mode;if(resolvedMode||(resolvedMode="then"),resolvedMode==="then"){var nextTickFailure=function(){nextTick(onFailure)};promise=promise.then(function(result){nextTick(onSuccess.bind(this,result))},nextTickFailure),typeof promise.finally=="function"&&promise.finally(nextTickFailure)}else if(resolvedMode==="done"){if(typeof promise.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");promise.done(onSuccess,onFailure)}else if(resolvedMode==="done:finally"){if(typeof promise.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof promise.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");promise.done(onSuccess),promise.finally(onFailure)}}),conf.on("get",function(id,args,context){var promise;if(waiting[id]){++waiting[id];return}promise=promises[id];var emit=function(){conf.emit("getasync",id,args,context)};isPromise(promise)?typeof promise.done=="function"?promise.done(emit):promise.then(function(){nextTick(emit)}):emit()}),conf.on("delete",function(id){if(delete promises[id],waiting[id]){delete waiting[id];return}if(!!hasOwnProperty.call(cache,id)){var result=cache[id];delete cache[id],conf.emit("deleteasync",id,[result])}}),conf.on("clear",function(){var oldCache=cache;cache=create(null),waiting=create(null),promises=create(null),conf.emit("clearasync",objectMap(oldCache,function(data){return[data]}))})}},42458:(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var d=__webpack_require__(24618),extensions=__webpack_require__(77029),create=Object.create,defineProperties=Object.defineProperties;extensions.refCounter=function(ignore,conf,options){var cache,postfix;cache=create(null),postfix=options.async&&extensions.async||options.promise&&extensions.promise?"async":"",conf.on("set"+postfix,function(id,length){cache[id]=length||1}),conf.on("get"+postfix,function(id){++cache[id]}),conf.on("delete"+postfix,function(id){delete cache[id]}),conf.on("clear"+postfix,function(){cache={}}),defineProperties(conf.memoized,{deleteRef:d(function(){var id=conf.get(arguments);return id===null||!cache[id]?null:--cache[id]?!1:(conf.delete(id),!0)}),getRefCount:d(function(){var id=conf.get(arguments);return id===null||!cache[id]?0:cache[id]})})}},94300:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var normalizeOpts=__webpack_require__(4162),resolveLength=__webpack_require__(12239),plain=__webpack_require__(86149);module.exports=function(fn){var options=normalizeOpts(arguments[1]),length;return options.normalizer||(length=options.length=resolveLength(options.length,fn.length,options.async),length!==0&&(options.primitive?length===!1?options.normalizer=__webpack_require__(6212):length>1&&(options.normalizer=__webpack_require__(73703)(length)):length===!1?options.normalizer=__webpack_require__(68260)():length===1?options.normalizer=__webpack_require__(97305)():options.normalizer=__webpack_require__(11756)(length))),options.async&&__webpack_require__(79670),options.promise&&__webpack_require__(49907),options.dispose&&__webpack_require__(33777),options.maxAge&&__webpack_require__(47703),options.max&&__webpack_require__(55799),options.refCounter&&__webpack_require__(42458),plain(fn,options)}},33162:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var customError=__webpack_require__(13061),defineLength=__webpack_require__(65414),d=__webpack_require__(24618),ee=__webpack_require__(88809).methods,resolveResolve=__webpack_require__(11367),resolveNormalize=__webpack_require__(60913),apply=Function.prototype.apply,call=Function.prototype.call,create=Object.create,defineProperties=Object.defineProperties,on=ee.on,emit=ee.emit;module.exports=function(original,length,options){var cache=create(null),conf,memLength,get,set,del,clear,extDel,extGet,extHas,normalizer,getListeners,setListeners,deleteListeners,memoized,resolve;return length!==!1?memLength=length:isNaN(original.length)?memLength=1:memLength=original.length,options.normalizer&&(normalizer=resolveNormalize(options.normalizer),get=normalizer.get,set=normalizer.set,del=normalizer.delete,clear=normalizer.clear),options.resolvers!=null&&(resolve=resolveResolve(options.resolvers)),get?memoized=defineLength(function(arg){var id,result,args=arguments;if(resolve&&(args=resolve(args)),id=get(args),id!==null&&hasOwnProperty.call(cache,id))return getListeners&&conf.emit("get",id,args,this),cache[id];if(args.length===1?result=call.call(original,this,args[0]):result=apply.call(original,this,args),id===null){if(id=get(args),id!==null)throw customError("Circular invocation","CIRCULAR_INVOCATION");id=set(args)}else if(hasOwnProperty.call(cache,id))throw customError("Circular invocation","CIRCULAR_INVOCATION");return cache[id]=result,setListeners&&conf.emit("set",id,null,result),result},memLength):length===0?memoized=function(){var result;if(hasOwnProperty.call(cache,"data"))return getListeners&&conf.emit("get","data",arguments,this),cache.data;if(arguments.length?result=apply.call(original,this,arguments):result=call.call(original,this),hasOwnProperty.call(cache,"data"))throw customError("Circular invocation","CIRCULAR_INVOCATION");return cache.data=result,setListeners&&conf.emit("set","data",null,result),result}:memoized=function(arg){var result,args=arguments,id;if(resolve&&(args=resolve(arguments)),id=String(args[0]),hasOwnProperty.call(cache,id))return getListeners&&conf.emit("get",id,args,this),cache[id];if(args.length===1?result=call.call(original,this,args[0]):result=apply.call(original,this,args),hasOwnProperty.call(cache,id))throw customError("Circular invocation","CIRCULAR_INVOCATION");return cache[id]=result,setListeners&&conf.emit("set",id,null,result),result},conf={original,memoized,profileName:options.profileName,get:function(args){return resolve&&(args=resolve(args)),get?get(args):String(args[0])},has:function(id){return hasOwnProperty.call(cache,id)},delete:function(id){var result;!hasOwnProperty.call(cache,id)||(del&&del(id),result=cache[id],delete cache[id],deleteListeners&&conf.emit("delete",id,result))},clear:function(){var oldCache=cache;clear&&clear(),cache=create(null),conf.emit("clear",oldCache)},on:function(type,listener){return type==="get"?getListeners=!0:type==="set"?setListeners=!0:type==="delete"&&(deleteListeners=!0),on.call(this,type,listener)},emit,updateEnv:function(){original=conf.original}},get?extDel=defineLength(function(arg){var id,args=arguments;resolve&&(args=resolve(args)),id=get(args),id!==null&&conf.delete(id)},memLength):length===0?extDel=function(){return conf.delete("data")}:extDel=function(arg){return resolve&&(arg=resolve(arguments)[0]),conf.delete(arg)},extGet=defineLength(function(){var id,args=arguments;return length===0?cache.data:(resolve&&(args=resolve(args)),get?id=get(args):id=String(args[0]),cache[id])}),extHas=defineLength(function(){var id,args=arguments;return length===0?conf.has("data"):(resolve&&(args=resolve(args)),get?id=get(args):id=String(args[0]),id===null?!1:conf.has(id))}),defineProperties(memoized,{__memoized__:d(!0),delete:d(extDel),clear:d(conf.clear),_get:d(extGet),_has:d(extHas)}),conf}},77029:()=>{"use strict"},12239:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var toPosInt=__webpack_require__(139);module.exports=function(optsLength,fnLength,isAsync){var length;return isNaN(optsLength)?(length=fnLength,length>=0?isAsync&&length?length-1:length:1):optsLength===!1?!1:toPosInt(optsLength)}},60913:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var callable=__webpack_require__(87695);module.exports=function(userNormalizer){var normalizer;return typeof userNormalizer=="function"?{set:userNormalizer,get:userNormalizer}:(normalizer={get:callable(userNormalizer.get)},userNormalizer.set!==void 0?(normalizer.set=callable(userNormalizer.set),userNormalizer.delete&&(normalizer.delete=callable(userNormalizer.delete)),userNormalizer.clear&&(normalizer.clear=callable(userNormalizer.clear)),normalizer):(normalizer.set=normalizer.get,normalizer))}},11367:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var toArray=__webpack_require__(52138),isValue=__webpack_require__(5708),callable=__webpack_require__(87695),slice=Array.prototype.slice,resolveArgs;resolveArgs=function(args){return this.map(function(resolve,i){return resolve?resolve(args[i]):args[i]}).concat(slice.call(args,this.length))},module.exports=function(resolvers){return resolvers=toArray(resolvers),resolvers.forEach(function(resolve){isValue(resolve)&&callable(resolve)}),resolveArgs.bind(resolvers)}},97305:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var indexOf=__webpack_require__(47662);module.exports=function(){var lastId=0,argsMap=[],cache=[];return{get:function(args){var index=indexOf.call(argsMap,args[0]);return index===-1?null:cache[index]},set:function(args){return argsMap.push(args[0]),cache.push(++lastId),lastId},delete:function(id){var index=indexOf.call(cache,id);index!==-1&&(argsMap.splice(index,1),cache.splice(index,1))},clear:function(){argsMap=[],cache=[]}}}},11756:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var indexOf=__webpack_require__(47662),create=Object.create;module.exports=function(length){var lastId=0,map=[[],[]],cache=create(null);return{get:function(args){for(var index=0,set=map,i;index<length-1;){if(i=indexOf.call(set[0],args[index]),i===-1)return null;set=set[1][i],++index}return i=indexOf.call(set[0],args[index]),i===-1?null:set[1][i]||null},set:function(args){for(var index=0,set=map,i;index<length-1;)i=indexOf.call(set[0],args[index]),i===-1&&(i=set[0].push(args[index])-1,set[1].push([[],[]])),set=set[1][i],++index;return i=indexOf.call(set[0],args[index]),i===-1&&(i=set[0].push(args[index])-1),set[1][i]=++lastId,cache[lastId]=args,lastId},delete:function(id){for(var index=0,set=map,i,path=[],args=cache[id];index<length-1;){if(i=indexOf.call(set[0],args[index]),i===-1)return;path.push(set,i),set=set[1][i],++index}if(i=indexOf.call(set[0],args[index]),i!==-1){for(id=set[1][i],set[0].splice(i,1),set[1].splice(i,1);!set[0].length&&path.length;)i=path.pop(),set=path.pop(),set[0].splice(i,1),set[1].splice(i,1);delete cache[id]}},clear:function(){map=[[],[]],cache=create(null)}}}},73703:module=>{"use strict";module.exports=function(length){return length?function(args){for(var id=String(args[0]),i=0,currentLength=length;--currentLength;)id+=""+args[++i];return id}:function(){return""}}},68260:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var indexOf=__webpack_require__(47662),create=Object.create;module.exports=function(){var lastId=0,map=[],cache=create(null);return{get:function(args){var index=0,set=map,i,length=args.length;if(length===0)return set[length]||null;if(set=set[length]){for(;index<length-1;){if(i=indexOf.call(set[0],args[index]),i===-1)return null;set=set[1][i],++index}return i=indexOf.call(set[0],args[index]),i===-1?null:set[1][i]||null}return null},set:function(args){var index=0,set=map,i,length=args.length;if(length===0)set[length]=++lastId;else{for(set[length]||(set[length]=[[],[]]),set=set[length];index<length-1;)i=indexOf.call(set[0],args[index]),i===-1&&(i=set[0].push(args[index])-1,set[1].push([[],[]])),set=set[1][i],++index;i=indexOf.call(set[0],args[index]),i===-1&&(i=set[0].push(args[index])-1),set[1][i]=++lastId}return cache[lastId]=args,lastId},delete:function(id){var index=0,set=map,i,args=cache[id],length=args.length,path=[];if(length===0)delete set[length];else if(set=set[length]){for(;index<length-1;){if(i=indexOf.call(set[0],args[index]),i===-1)return;path.push(set,i),set=set[1][i],++index}if(i=indexOf.call(set[0],args[index]),i===-1)return;for(id=set[1][i],set[0].splice(i,1),set[1].splice(i,1);!set[0].length&&path.length;)i=path.pop(),set=path.pop(),set[0].splice(i,1),set[1].splice(i,1)}delete cache[id]},clear:function(){map=[],cache=create(null)}}}},6212:module=>{"use strict";module.exports=function(args){var id,i,length=args.length;if(!length)return"";for(id=String(args[i=0]);--length;)id+=""+args[++i];return id}},86149:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var callable=__webpack_require__(87695),forEach=__webpack_require__(14489),extensions=__webpack_require__(77029),configure=__webpack_require__(33162),resolveLength=__webpack_require__(12239);module.exports=function self2(fn){var options,length,conf;if(callable(fn),options=Object(arguments[1]),options.async&&options.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(fn,"__memoized__")&&!options.force?fn:(length=resolveLength(options.length,fn.length,options.async&&extensions.async),conf=configure(fn,length,options),forEach(extensions,function(extFn,name){options[name]&&extFn(options[name],conf,options)}),self2.__profiler__&&self2.__profiler__(conf),conf.updateEnv(),conf.memoized)}},64409:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var process=__webpack_require__(14224),ensureCallable=function(fn){if(typeof fn!="function")throw new TypeError(fn+" is not a function");return fn},byObserver=function(Observer){var node=document.createTextNode(""),queue,currentQueue,i=0;return new Observer(function(){var callback;if(queue)currentQueue&&(queue=currentQueue.concat(queue));else{if(!currentQueue)return;queue=currentQueue}if(currentQueue=queue,queue=null,typeof currentQueue=="function"){callback=currentQueue,currentQueue=null,callback();return}for(node.data=i=++i%2;currentQueue;)callback=currentQueue.shift(),currentQueue.length||(currentQueue=null),callback()}).observe(node,{characterData:!0}),function(fn){if(ensureCallable(fn),queue){typeof queue=="function"?queue=[queue,fn]:queue.push(fn);return}queue=fn,node.data=i=++i%2}};module.exports=function(){if(typeof process=="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(cb){queueMicrotask(ensureCallable(cb))};if(typeof document=="object"&&document){if(typeof MutationObserver=="function")return byObserver(MutationObserver);if(typeof WebKitMutationObserver=="function")return byObserver(WebKitMutationObserver)}return typeof setImmediate=="function"?function(cb){setImmediate(ensureCallable(cb))}:typeof setTimeout=="function"||typeof setTimeout=="object"?function(cb){setTimeout(ensureCallable(cb),0)}:null}()},47266:(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var process=__webpack_require__(14224);/*! *****************************************************************************
37
+ }`;var result2=attempt(function(){return Function2(importsKeys,sourceURL+"return "+source).apply(undefined2,importsValues)});if(result2.source=source,isError(result2))throw result2;return result2}function toLower(value){return toString(value).toLowerCase()}function toUpper(value){return toString(value).toUpperCase()}function trim(string,chars,guard){if(string=toString(string),string&&(guard||chars===undefined2))return baseTrim(string);if(!string||!(chars=baseToString(chars)))return string;var strSymbols=stringToArray(string),chrSymbols=stringToArray(chars),start=charsStartIndex(strSymbols,chrSymbols),end=charsEndIndex(strSymbols,chrSymbols)+1;return castSlice(strSymbols,start,end).join("")}function trimEnd(string,chars,guard){if(string=toString(string),string&&(guard||chars===undefined2))return string.slice(0,trimmedEndIndex(string)+1);if(!string||!(chars=baseToString(chars)))return string;var strSymbols=stringToArray(string),end=charsEndIndex(strSymbols,stringToArray(chars))+1;return castSlice(strSymbols,0,end).join("")}function trimStart(string,chars,guard){if(string=toString(string),string&&(guard||chars===undefined2))return string.replace(reTrimStart,"");if(!string||!(chars=baseToString(chars)))return string;var strSymbols=stringToArray(string),start=charsStartIndex(strSymbols,stringToArray(chars));return castSlice(strSymbols,start).join("")}function truncate(string,options){var length=DEFAULT_TRUNC_LENGTH,omission=DEFAULT_TRUNC_OMISSION;if(isObject(options)){var separator="separator"in options?options.separator:separator;length="length"in options?toInteger(options.length):length,omission="omission"in options?baseToString(options.omission):omission}string=toString(string);var strLength=string.length;if(hasUnicode(string)){var strSymbols=stringToArray(string);strLength=strSymbols.length}if(length>=strLength)return string;var end=length-stringSize(omission);if(end<1)return omission;var result2=strSymbols?castSlice(strSymbols,0,end).join(""):string.slice(0,end);if(separator===undefined2)return result2+omission;if(strSymbols&&(end+=result2.length-end),isRegExp(separator)){if(string.slice(end).search(separator)){var match,substring=result2;for(separator.global||(separator=RegExp2(separator.source,toString(reFlags.exec(separator))+"g")),separator.lastIndex=0;match=separator.exec(substring);)var newEnd=match.index;result2=result2.slice(0,newEnd===undefined2?end:newEnd)}}else if(string.indexOf(baseToString(separator),end)!=end){var index=result2.lastIndexOf(separator);index>-1&&(result2=result2.slice(0,index))}return result2+omission}function unescape2(string){return string=toString(string),string&&reHasEscapedHtml.test(string)?string.replace(reEscapedHtml,unescapeHtmlChar):string}var upperCase=createCompounder(function(result2,word,index){return result2+(index?" ":"")+word.toUpperCase()}),upperFirst=createCaseFirst("toUpperCase");function words(string,pattern,guard){return string=toString(string),pattern=guard?undefined2:pattern,pattern===undefined2?hasUnicodeWord(string)?unicodeWords(string):asciiWords(string):string.match(pattern)||[]}var attempt=baseRest(function(func,args){try{return apply(func,undefined2,args)}catch(e){return isError(e)?e:new Error2(e)}}),bindAll=flatRest(function(object,methodNames){return arrayEach(methodNames,function(key){key=toKey(key),baseAssignValue(object,key,bind(object[key],object))}),object});function cond(pairs){var length=pairs==null?0:pairs.length,toIteratee=getIteratee();return pairs=length?arrayMap(pairs,function(pair){if(typeof pair[1]!="function")throw new TypeError2(FUNC_ERROR_TEXT);return[toIteratee(pair[0]),pair[1]]}):[],baseRest(function(args){for(var index=-1;++index<length;){var pair=pairs[index];if(apply(pair[0],this,args))return apply(pair[1],this,args)}})}function conforms(source){return baseConforms(baseClone(source,CLONE_DEEP_FLAG))}function constant(value){return function(){return value}}function defaultTo(value,defaultValue){return value==null||value!==value?defaultValue:value}var flow=createFlow(),flowRight=createFlow(!0);function identity(value){return value}function iteratee(func){return baseIteratee(typeof func=="function"?func:baseClone(func,CLONE_DEEP_FLAG))}function matches(source){return baseMatches(baseClone(source,CLONE_DEEP_FLAG))}function matchesProperty(path,srcValue){return baseMatchesProperty(path,baseClone(srcValue,CLONE_DEEP_FLAG))}var method=baseRest(function(path,args){return function(object){return baseInvoke(object,path,args)}}),methodOf=baseRest(function(object,args){return function(path){return baseInvoke(object,path,args)}});function mixin(object,source,options){var props=keys(source),methodNames=baseFunctions(source,props);options==null&&!(isObject(source)&&(methodNames.length||!props.length))&&(options=source,source=object,object=this,methodNames=baseFunctions(source,keys(source)));var chain2=!(isObject(options)&&"chain"in options)||!!options.chain,isFunc=isFunction(object);return arrayEach(methodNames,function(methodName){var func=source[methodName];object[methodName]=func,isFunc&&(object.prototype[methodName]=function(){var chainAll=this.__chain__;if(chain2||chainAll){var result2=object(this.__wrapped__),actions=result2.__actions__=copyArray(this.__actions__);return actions.push({func,args:arguments,thisArg:object}),result2.__chain__=chainAll,result2}return func.apply(object,arrayPush([this.value()],arguments))})}),object}function noConflict(){return root._===this&&(root._=oldDash),this}function noop(){}function nthArg(n){return n=toInteger(n),baseRest(function(args){return baseNth(args,n)})}var over=createOver(arrayMap),overEvery=createOver(arrayEvery),overSome=createOver(arraySome);function property(path){return isKey(path)?baseProperty(toKey(path)):basePropertyDeep(path)}function propertyOf(object){return function(path){return object==null?undefined2:baseGet(object,path)}}var range=createRange(),rangeRight=createRange(!0);function stubArray(){return[]}function stubFalse(){return!1}function stubObject(){return{}}function stubString(){return""}function stubTrue(){return!0}function times(n,iteratee2){if(n=toInteger(n),n<1||n>MAX_SAFE_INTEGER)return[];var index=MAX_ARRAY_LENGTH,length=nativeMin(n,MAX_ARRAY_LENGTH);iteratee2=getIteratee(iteratee2),n-=MAX_ARRAY_LENGTH;for(var result2=baseTimes(length,iteratee2);++index<n;)iteratee2(index);return result2}function toPath(value){return isArray(value)?arrayMap(value,toKey):isSymbol(value)?[value]:copyArray(stringToPath(toString(value)))}function uniqueId(prefix){var id=++idCounter;return toString(prefix)+id}var add=createMathOperation(function(augend,addend){return augend+addend},0),ceil=createRound("ceil"),divide=createMathOperation(function(dividend,divisor){return dividend/divisor},1),floor=createRound("floor");function max(array){return array&&array.length?baseExtremum(array,identity,baseGt):undefined2}function maxBy(array,iteratee2){return array&&array.length?baseExtremum(array,getIteratee(iteratee2,2),baseGt):undefined2}function mean(array){return baseMean(array,identity)}function meanBy(array,iteratee2){return baseMean(array,getIteratee(iteratee2,2))}function min(array){return array&&array.length?baseExtremum(array,identity,baseLt):undefined2}function minBy(array,iteratee2){return array&&array.length?baseExtremum(array,getIteratee(iteratee2,2),baseLt):undefined2}var multiply=createMathOperation(function(multiplier,multiplicand){return multiplier*multiplicand},1),round=createRound("round"),subtract=createMathOperation(function(minuend,subtrahend){return minuend-subtrahend},0);function sum(array){return array&&array.length?baseSum(array,identity):0}function sumBy(array,iteratee2){return array&&array.length?baseSum(array,getIteratee(iteratee2,2)):0}return lodash.after=after,lodash.ary=ary,lodash.assign=assign,lodash.assignIn=assignIn,lodash.assignInWith=assignInWith,lodash.assignWith=assignWith,lodash.at=at,lodash.before=before,lodash.bind=bind,lodash.bindAll=bindAll,lodash.bindKey=bindKey,lodash.castArray=castArray,lodash.chain=chain,lodash.chunk=chunk,lodash.compact=compact,lodash.concat=concat,lodash.cond=cond,lodash.conforms=conforms,lodash.constant=constant,lodash.countBy=countBy,lodash.create=create,lodash.curry=curry,lodash.curryRight=curryRight,lodash.debounce=debounce,lodash.defaults=defaults,lodash.defaultsDeep=defaultsDeep,lodash.defer=defer,lodash.delay=delay,lodash.difference=difference,lodash.differenceBy=differenceBy,lodash.differenceWith=differenceWith,lodash.drop=drop,lodash.dropRight=dropRight,lodash.dropRightWhile=dropRightWhile,lodash.dropWhile=dropWhile,lodash.fill=fill,lodash.filter=filter,lodash.flatMap=flatMap,lodash.flatMapDeep=flatMapDeep,lodash.flatMapDepth=flatMapDepth,lodash.flatten=flatten,lodash.flattenDeep=flattenDeep,lodash.flattenDepth=flattenDepth,lodash.flip=flip,lodash.flow=flow,lodash.flowRight=flowRight,lodash.fromPairs=fromPairs,lodash.functions=functions,lodash.functionsIn=functionsIn,lodash.groupBy=groupBy,lodash.initial=initial,lodash.intersection=intersection,lodash.intersectionBy=intersectionBy,lodash.intersectionWith=intersectionWith,lodash.invert=invert,lodash.invertBy=invertBy,lodash.invokeMap=invokeMap,lodash.iteratee=iteratee,lodash.keyBy=keyBy,lodash.keys=keys,lodash.keysIn=keysIn,lodash.map=map,lodash.mapKeys=mapKeys,lodash.mapValues=mapValues,lodash.matches=matches,lodash.matchesProperty=matchesProperty,lodash.memoize=memoize,lodash.merge=merge,lodash.mergeWith=mergeWith,lodash.method=method,lodash.methodOf=methodOf,lodash.mixin=mixin,lodash.negate=negate,lodash.nthArg=nthArg,lodash.omit=omit,lodash.omitBy=omitBy,lodash.once=once,lodash.orderBy=orderBy,lodash.over=over,lodash.overArgs=overArgs,lodash.overEvery=overEvery,lodash.overSome=overSome,lodash.partial=partial,lodash.partialRight=partialRight,lodash.partition=partition,lodash.pick=pick,lodash.pickBy=pickBy,lodash.property=property,lodash.propertyOf=propertyOf,lodash.pull=pull,lodash.pullAll=pullAll,lodash.pullAllBy=pullAllBy,lodash.pullAllWith=pullAllWith,lodash.pullAt=pullAt,lodash.range=range,lodash.rangeRight=rangeRight,lodash.rearg=rearg,lodash.reject=reject,lodash.remove=remove,lodash.rest=rest,lodash.reverse=reverse,lodash.sampleSize=sampleSize,lodash.set=set,lodash.setWith=setWith,lodash.shuffle=shuffle,lodash.slice=slice,lodash.sortBy=sortBy,lodash.sortedUniq=sortedUniq,lodash.sortedUniqBy=sortedUniqBy,lodash.split=split,lodash.spread=spread,lodash.tail=tail,lodash.take=take,lodash.takeRight=takeRight,lodash.takeRightWhile=takeRightWhile,lodash.takeWhile=takeWhile,lodash.tap=tap,lodash.throttle=throttle,lodash.thru=thru,lodash.toArray=toArray,lodash.toPairs=toPairs,lodash.toPairsIn=toPairsIn,lodash.toPath=toPath,lodash.toPlainObject=toPlainObject,lodash.transform=transform,lodash.unary=unary,lodash.union=union,lodash.unionBy=unionBy,lodash.unionWith=unionWith,lodash.uniq=uniq,lodash.uniqBy=uniqBy,lodash.uniqWith=uniqWith,lodash.unset=unset,lodash.unzip=unzip,lodash.unzipWith=unzipWith,lodash.update=update,lodash.updateWith=updateWith,lodash.values=values,lodash.valuesIn=valuesIn,lodash.without=without,lodash.words=words,lodash.wrap=wrap,lodash.xor=xor,lodash.xorBy=xorBy,lodash.xorWith=xorWith,lodash.zip=zip,lodash.zipObject=zipObject,lodash.zipObjectDeep=zipObjectDeep,lodash.zipWith=zipWith,lodash.entries=toPairs,lodash.entriesIn=toPairsIn,lodash.extend=assignIn,lodash.extendWith=assignInWith,mixin(lodash,lodash),lodash.add=add,lodash.attempt=attempt,lodash.camelCase=camelCase,lodash.capitalize=capitalize,lodash.ceil=ceil,lodash.clamp=clamp,lodash.clone=clone,lodash.cloneDeep=cloneDeep,lodash.cloneDeepWith=cloneDeepWith,lodash.cloneWith=cloneWith,lodash.conformsTo=conformsTo,lodash.deburr=deburr,lodash.defaultTo=defaultTo,lodash.divide=divide,lodash.endsWith=endsWith,lodash.eq=eq,lodash.escape=escape,lodash.escapeRegExp=escapeRegExp,lodash.every=every,lodash.find=find,lodash.findIndex=findIndex,lodash.findKey=findKey,lodash.findLast=findLast,lodash.findLastIndex=findLastIndex,lodash.findLastKey=findLastKey,lodash.floor=floor,lodash.forEach=forEach,lodash.forEachRight=forEachRight,lodash.forIn=forIn,lodash.forInRight=forInRight,lodash.forOwn=forOwn,lodash.forOwnRight=forOwnRight,lodash.get=get,lodash.gt=gt,lodash.gte=gte,lodash.has=has,lodash.hasIn=hasIn,lodash.head=head,lodash.identity=identity,lodash.includes=includes,lodash.indexOf=indexOf,lodash.inRange=inRange,lodash.invoke=invoke,lodash.isArguments=isArguments,lodash.isArray=isArray,lodash.isArrayBuffer=isArrayBuffer,lodash.isArrayLike=isArrayLike,lodash.isArrayLikeObject=isArrayLikeObject,lodash.isBoolean=isBoolean,lodash.isBuffer=isBuffer,lodash.isDate=isDate,lodash.isElement=isElement,lodash.isEmpty=isEmpty,lodash.isEqual=isEqual,lodash.isEqualWith=isEqualWith,lodash.isError=isError,lodash.isFinite=isFinite2,lodash.isFunction=isFunction,lodash.isInteger=isInteger,lodash.isLength=isLength,lodash.isMap=isMap,lodash.isMatch=isMatch,lodash.isMatchWith=isMatchWith,lodash.isNaN=isNaN2,lodash.isNative=isNative,lodash.isNil=isNil,lodash.isNull=isNull,lodash.isNumber=isNumber,lodash.isObject=isObject,lodash.isObjectLike=isObjectLike,lodash.isPlainObject=isPlainObject,lodash.isRegExp=isRegExp,lodash.isSafeInteger=isSafeInteger,lodash.isSet=isSet,lodash.isString=isString,lodash.isSymbol=isSymbol,lodash.isTypedArray=isTypedArray,lodash.isUndefined=isUndefined,lodash.isWeakMap=isWeakMap,lodash.isWeakSet=isWeakSet,lodash.join=join,lodash.kebabCase=kebabCase,lodash.last=last,lodash.lastIndexOf=lastIndexOf,lodash.lowerCase=lowerCase,lodash.lowerFirst=lowerFirst,lodash.lt=lt,lodash.lte=lte,lodash.max=max,lodash.maxBy=maxBy,lodash.mean=mean,lodash.meanBy=meanBy,lodash.min=min,lodash.minBy=minBy,lodash.stubArray=stubArray,lodash.stubFalse=stubFalse,lodash.stubObject=stubObject,lodash.stubString=stubString,lodash.stubTrue=stubTrue,lodash.multiply=multiply,lodash.nth=nth,lodash.noConflict=noConflict,lodash.noop=noop,lodash.now=now,lodash.pad=pad,lodash.padEnd=padEnd,lodash.padStart=padStart,lodash.parseInt=parseInt2,lodash.random=random,lodash.reduce=reduce,lodash.reduceRight=reduceRight,lodash.repeat=repeat,lodash.replace=replace,lodash.result=result,lodash.round=round,lodash.runInContext=runInContext2,lodash.sample=sample,lodash.size=size,lodash.snakeCase=snakeCase,lodash.some=some,lodash.sortedIndex=sortedIndex,lodash.sortedIndexBy=sortedIndexBy,lodash.sortedIndexOf=sortedIndexOf,lodash.sortedLastIndex=sortedLastIndex,lodash.sortedLastIndexBy=sortedLastIndexBy,lodash.sortedLastIndexOf=sortedLastIndexOf,lodash.startCase=startCase,lodash.startsWith=startsWith,lodash.subtract=subtract,lodash.sum=sum,lodash.sumBy=sumBy,lodash.template=template,lodash.times=times,lodash.toFinite=toFinite,lodash.toInteger=toInteger,lodash.toLength=toLength,lodash.toLower=toLower,lodash.toNumber=toNumber,lodash.toSafeInteger=toSafeInteger,lodash.toString=toString,lodash.toUpper=toUpper,lodash.trim=trim,lodash.trimEnd=trimEnd,lodash.trimStart=trimStart,lodash.truncate=truncate,lodash.unescape=unescape2,lodash.uniqueId=uniqueId,lodash.upperCase=upperCase,lodash.upperFirst=upperFirst,lodash.each=forEach,lodash.eachRight=forEachRight,lodash.first=head,mixin(lodash,function(){var source={};return baseForOwn(lodash,function(func,methodName){hasOwnProperty2.call(lodash.prototype,methodName)||(source[methodName]=func)}),source}(),{chain:!1}),lodash.VERSION=VERSION,arrayEach(["bind","bindKey","curry","curryRight","partial","partialRight"],function(methodName){lodash[methodName].placeholder=lodash}),arrayEach(["drop","take"],function(methodName,index){LazyWrapper.prototype[methodName]=function(n){n=n===undefined2?1:nativeMax(toInteger(n),0);var result2=this.__filtered__&&!index?new LazyWrapper(this):this.clone();return result2.__filtered__?result2.__takeCount__=nativeMin(n,result2.__takeCount__):result2.__views__.push({size:nativeMin(n,MAX_ARRAY_LENGTH),type:methodName+(result2.__dir__<0?"Right":"")}),result2},LazyWrapper.prototype[methodName+"Right"]=function(n){return this.reverse()[methodName](n).reverse()}}),arrayEach(["filter","map","takeWhile"],function(methodName,index){var type=index+1,isFilter=type==LAZY_FILTER_FLAG||type==LAZY_WHILE_FLAG;LazyWrapper.prototype[methodName]=function(iteratee2){var result2=this.clone();return result2.__iteratees__.push({iteratee:getIteratee(iteratee2,3),type}),result2.__filtered__=result2.__filtered__||isFilter,result2}}),arrayEach(["head","last"],function(methodName,index){var takeName="take"+(index?"Right":"");LazyWrapper.prototype[methodName]=function(){return this[takeName](1).value()[0]}}),arrayEach(["initial","tail"],function(methodName,index){var dropName="drop"+(index?"":"Right");LazyWrapper.prototype[methodName]=function(){return this.__filtered__?new LazyWrapper(this):this[dropName](1)}}),LazyWrapper.prototype.compact=function(){return this.filter(identity)},LazyWrapper.prototype.find=function(predicate){return this.filter(predicate).head()},LazyWrapper.prototype.findLast=function(predicate){return this.reverse().find(predicate)},LazyWrapper.prototype.invokeMap=baseRest(function(path,args){return typeof path=="function"?new LazyWrapper(this):this.map(function(value){return baseInvoke(value,path,args)})}),LazyWrapper.prototype.reject=function(predicate){return this.filter(negate(getIteratee(predicate)))},LazyWrapper.prototype.slice=function(start,end){start=toInteger(start);var result2=this;return result2.__filtered__&&(start>0||end<0)?new LazyWrapper(result2):(start<0?result2=result2.takeRight(-start):start&&(result2=result2.drop(start)),end!==undefined2&&(end=toInteger(end),result2=end<0?result2.dropRight(-end):result2.take(end-start)),result2)},LazyWrapper.prototype.takeRightWhile=function(predicate){return this.reverse().takeWhile(predicate).reverse()},LazyWrapper.prototype.toArray=function(){return this.take(MAX_ARRAY_LENGTH)},baseForOwn(LazyWrapper.prototype,function(func,methodName){var checkIteratee=/^(?:filter|find|map|reject)|While$/.test(methodName),isTaker=/^(?:head|last)$/.test(methodName),lodashFunc=lodash[isTaker?"take"+(methodName=="last"?"Right":""):methodName],retUnwrapped=isTaker||/^find/.test(methodName);!lodashFunc||(lodash.prototype[methodName]=function(){var value=this.__wrapped__,args=isTaker?[1]:arguments,isLazy=value instanceof LazyWrapper,iteratee2=args[0],useLazy=isLazy||isArray(value),interceptor=function(value2){var result3=lodashFunc.apply(lodash,arrayPush([value2],args));return isTaker&&chainAll?result3[0]:result3};useLazy&&checkIteratee&&typeof iteratee2=="function"&&iteratee2.length!=1&&(isLazy=useLazy=!1);var chainAll=this.__chain__,isHybrid=!!this.__actions__.length,isUnwrapped=retUnwrapped&&!chainAll,onlyLazy=isLazy&&!isHybrid;if(!retUnwrapped&&useLazy){value=onlyLazy?value:new LazyWrapper(this);var result2=func.apply(value,args);return result2.__actions__.push({func:thru,args:[interceptor],thisArg:undefined2}),new LodashWrapper(result2,chainAll)}return isUnwrapped&&onlyLazy?func.apply(this,args):(result2=this.thru(interceptor),isUnwrapped?isTaker?result2.value()[0]:result2.value():result2)})}),arrayEach(["pop","push","shift","sort","splice","unshift"],function(methodName){var func=arrayProto[methodName],chainName=/^(?:push|sort|unshift)$/.test(methodName)?"tap":"thru",retUnwrapped=/^(?:pop|shift)$/.test(methodName);lodash.prototype[methodName]=function(){var args=arguments;if(retUnwrapped&&!this.__chain__){var value=this.value();return func.apply(isArray(value)?value:[],args)}return this[chainName](function(value2){return func.apply(isArray(value2)?value2:[],args)})}}),baseForOwn(LazyWrapper.prototype,function(func,methodName){var lodashFunc=lodash[methodName];if(lodashFunc){var key=lodashFunc.name+"";hasOwnProperty2.call(realNames,key)||(realNames[key]=[]),realNames[key].push({name:methodName,func:lodashFunc})}}),realNames[createHybrid(undefined2,WRAP_BIND_KEY_FLAG).name]=[{name:"wrapper",func:undefined2}],LazyWrapper.prototype.clone=lazyClone,LazyWrapper.prototype.reverse=lazyReverse,LazyWrapper.prototype.value=lazyValue,lodash.prototype.at=wrapperAt,lodash.prototype.chain=wrapperChain,lodash.prototype.commit=wrapperCommit,lodash.prototype.next=wrapperNext,lodash.prototype.plant=wrapperPlant,lodash.prototype.reverse=wrapperReverse,lodash.prototype.toJSON=lodash.prototype.valueOf=lodash.prototype.value=wrapperValue,lodash.prototype.first=lodash.prototype.head,symIterator&&(lodash.prototype[symIterator]=wrapperToIterator),lodash},_=runInContext();root._=_,__WEBPACK_AMD_DEFINE_RESULT__=function(){return _}.call(exports,__webpack_require__,exports,module),__WEBPACK_AMD_DEFINE_RESULT__!==undefined2&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)}).call(this)},19790:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";const Yallist=__webpack_require__(54746),MAX=Symbol("max"),LENGTH=Symbol("length"),LENGTH_CALCULATOR=Symbol("lengthCalculator"),ALLOW_STALE=Symbol("allowStale"),MAX_AGE=Symbol("maxAge"),DISPOSE=Symbol("dispose"),NO_DISPOSE_ON_SET=Symbol("noDisposeOnSet"),LRU_LIST=Symbol("lruList"),CACHE=Symbol("cache"),UPDATE_AGE_ON_GET=Symbol("updateAgeOnGet"),naiveLength=()=>1;class LRUCache{constructor(options){if(typeof options=="number"&&(options={max:options}),options||(options={}),options.max&&(typeof options.max!="number"||options.max<0))throw new TypeError("max must be a non-negative number");const max=this[MAX]=options.max||1/0,lc=options.length||naiveLength;if(this[LENGTH_CALCULATOR]=typeof lc!="function"?naiveLength:lc,this[ALLOW_STALE]=options.stale||!1,options.maxAge&&typeof options.maxAge!="number")throw new TypeError("maxAge must be a number");this[MAX_AGE]=options.maxAge||0,this[DISPOSE]=options.dispose,this[NO_DISPOSE_ON_SET]=options.noDisposeOnSet||!1,this[UPDATE_AGE_ON_GET]=options.updateAgeOnGet||!1,this.reset()}set max(mL){if(typeof mL!="number"||mL<0)throw new TypeError("max must be a non-negative number");this[MAX]=mL||1/0,trim(this)}get max(){return this[MAX]}set allowStale(allowStale){this[ALLOW_STALE]=!!allowStale}get allowStale(){return this[ALLOW_STALE]}set maxAge(mA){if(typeof mA!="number")throw new TypeError("maxAge must be a non-negative number");this[MAX_AGE]=mA,trim(this)}get maxAge(){return this[MAX_AGE]}set lengthCalculator(lC){typeof lC!="function"&&(lC=naiveLength),lC!==this[LENGTH_CALCULATOR]&&(this[LENGTH_CALCULATOR]=lC,this[LENGTH]=0,this[LRU_LIST].forEach(hit=>{hit.length=this[LENGTH_CALCULATOR](hit.value,hit.key),this[LENGTH]+=hit.length})),trim(this)}get lengthCalculator(){return this[LENGTH_CALCULATOR]}get length(){return this[LENGTH]}get itemCount(){return this[LRU_LIST].length}rforEach(fn,thisp){thisp=thisp||this;for(let walker=this[LRU_LIST].tail;walker!==null;){const prev=walker.prev;forEachStep(this,fn,walker,thisp),walker=prev}}forEach(fn,thisp){thisp=thisp||this;for(let walker=this[LRU_LIST].head;walker!==null;){const next=walker.next;forEachStep(this,fn,walker,thisp),walker=next}}keys(){return this[LRU_LIST].toArray().map(k=>k.key)}values(){return this[LRU_LIST].toArray().map(k=>k.value)}reset(){this[DISPOSE]&&this[LRU_LIST]&&this[LRU_LIST].length&&this[LRU_LIST].forEach(hit=>this[DISPOSE](hit.key,hit.value)),this[CACHE]=new Map,this[LRU_LIST]=new Yallist,this[LENGTH]=0}dump(){return this[LRU_LIST].map(hit=>isStale(this,hit)?!1:{k:hit.key,v:hit.value,e:hit.now+(hit.maxAge||0)}).toArray().filter(h=>h)}dumpLru(){return this[LRU_LIST]}set(key,value,maxAge){if(maxAge=maxAge||this[MAX_AGE],maxAge&&typeof maxAge!="number")throw new TypeError("maxAge must be a number");const now=maxAge?Date.now():0,len=this[LENGTH_CALCULATOR](value,key);if(this[CACHE].has(key)){if(len>this[MAX])return del(this,this[CACHE].get(key)),!1;const item=this[CACHE].get(key).value;return this[DISPOSE]&&(this[NO_DISPOSE_ON_SET]||this[DISPOSE](key,item.value)),item.now=now,item.maxAge=maxAge,item.value=value,this[LENGTH]+=len-item.length,item.length=len,this.get(key),trim(this),!0}const hit=new Entry(key,value,len,now,maxAge);return hit.length>this[MAX]?(this[DISPOSE]&&this[DISPOSE](key,value),!1):(this[LENGTH]+=hit.length,this[LRU_LIST].unshift(hit),this[CACHE].set(key,this[LRU_LIST].head),trim(this),!0)}has(key){if(!this[CACHE].has(key))return!1;const hit=this[CACHE].get(key).value;return!isStale(this,hit)}get(key){return get(this,key,!0)}peek(key){return get(this,key,!1)}pop(){const node=this[LRU_LIST].tail;return node?(del(this,node),node.value):null}del(key){del(this,this[CACHE].get(key))}load(arr){this.reset();const now=Date.now();for(let l=arr.length-1;l>=0;l--){const hit=arr[l],expiresAt=hit.e||0;if(expiresAt===0)this.set(hit.k,hit.v);else{const maxAge=expiresAt-now;maxAge>0&&this.set(hit.k,hit.v,maxAge)}}}prune(){this[CACHE].forEach((value,key)=>get(this,key,!1))}}const get=(self2,key,doUse)=>{const node=self2[CACHE].get(key);if(node){const hit=node.value;if(isStale(self2,hit)){if(del(self2,node),!self2[ALLOW_STALE])return}else doUse&&(self2[UPDATE_AGE_ON_GET]&&(node.value.now=Date.now()),self2[LRU_LIST].unshiftNode(node));return hit.value}},isStale=(self2,hit)=>{if(!hit||!hit.maxAge&&!self2[MAX_AGE])return!1;const diff=Date.now()-hit.now;return hit.maxAge?diff>hit.maxAge:self2[MAX_AGE]&&diff>self2[MAX_AGE]},trim=self2=>{if(self2[LENGTH]>self2[MAX])for(let walker=self2[LRU_LIST].tail;self2[LENGTH]>self2[MAX]&&walker!==null;){const prev=walker.prev;del(self2,walker),walker=prev}},del=(self2,node)=>{if(node){const hit=node.value;self2[DISPOSE]&&self2[DISPOSE](hit.key,hit.value),self2[LENGTH]-=hit.length,self2[CACHE].delete(hit.key),self2[LRU_LIST].removeNode(node)}};class Entry{constructor(key,value,length,now,maxAge){this.key=key,this.value=value,this.length=length,this.now=now,this.maxAge=maxAge||0}}const forEachStep=(self2,fn,node,thisp)=>{let hit=node.value;isStale(self2,hit)&&(del(self2,node),self2[ALLOW_STALE]||(hit=void 0)),hit&&fn.call(thisp,hit.value,hit.key,self2)};module.exports=LRUCache},12051:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var toPosInt=__webpack_require__(4238),create=Object.create,hasOwnProperty2=Object.prototype.hasOwnProperty;module.exports=function(limit){var size=0,base=1,queue=create(null),map=create(null),index=0,del;return limit=toPosInt(limit),{hit:function(id){var oldIndex=map[id],nuIndex=++index;if(queue[nuIndex]=id,map[id]=nuIndex,!oldIndex)return++size,size<=limit?void 0:(id=queue[base],del(id),id);if(delete queue[oldIndex],base===oldIndex)for(;!hasOwnProperty2.call(queue,++base););},delete:del=function(id){var oldIndex=map[id];if(!!oldIndex&&(delete queue[oldIndex],delete map[id],--size,base===oldIndex)){if(!size){index=0,base=1;return}for(;!hasOwnProperty2.call(queue,++base););}},clear:function(){size=0,base=1,queue=create(null),map=create(null),index=0}}}},31019:(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var aFrom=__webpack_require__(90505),objectMap=__webpack_require__(2579),mixin=__webpack_require__(78448),defineLength=__webpack_require__(52045),nextTick=__webpack_require__(65656),slice=Array.prototype.slice,apply=Function.prototype.apply,create=Object.create;__webpack_require__(90334).async=function(tbi,conf){var waiting=create(null),cache=create(null),base=conf.memoized,original=conf.original,currentCallback,currentContext,currentArgs;conf.memoized=defineLength(function(arg){var args=arguments,last=args[args.length-1];return typeof last=="function"&&(currentCallback=last,args=slice.call(args,0,-1)),base.apply(currentContext=this,currentArgs=args)},base);try{mixin(conf.memoized,base)}catch{}conf.on("get",function(id){var cb,context,args;if(!!currentCallback){if(waiting[id]){typeof waiting[id]=="function"?waiting[id]=[waiting[id],currentCallback]:waiting[id].push(currentCallback),currentCallback=null;return}cb=currentCallback,context=currentContext,args=currentArgs,currentCallback=currentContext=currentArgs=null,nextTick(function(){var data;hasOwnProperty.call(cache,id)?(data=cache[id],conf.emit("getasync",id,args,context),apply.call(cb,data.context,data.args)):(currentCallback=cb,currentContext=context,currentArgs=args,base.apply(context,args))})}}),conf.original=function(){var args,cb,origCb,result;return currentCallback?(args=aFrom(arguments),cb=function self2(err){var cb2,args2,id=self2.id;if(id==null){nextTick(apply.bind(self2,this,arguments));return}if(delete self2.id,cb2=waiting[id],delete waiting[id],!!cb2)return args2=aFrom(arguments),conf.has(id)&&(err?conf.delete(id):(cache[id]={context:this,args:args2},conf.emit("setasync",id,typeof cb2=="function"?1:cb2.length))),typeof cb2=="function"?result=apply.call(cb2,this,args2):cb2.forEach(function(cb3){result=apply.call(cb3,this,args2)},this),result},origCb=currentCallback,currentCallback=currentContext=currentArgs=null,args.push(cb),result=apply.call(original,this,args),cb.cb=origCb,currentCallback=cb,result):apply.call(original,this,arguments)},conf.on("set",function(id){if(!currentCallback){conf.delete(id);return}waiting[id]?typeof waiting[id]=="function"?waiting[id]=[waiting[id],currentCallback.cb]:waiting[id].push(currentCallback.cb):waiting[id]=currentCallback.cb,delete currentCallback.cb,currentCallback.id=id,currentCallback=null}),conf.on("delete",function(id){var result;hasOwnProperty.call(waiting,id)||!cache[id]||(result=cache[id],delete cache[id],conf.emit("deleteasync",id,slice.call(result.args,1)))}),conf.on("clear",function(){var oldCache=cache;cache=create(null),conf.emit("clearasync",objectMap(oldCache,function(data){return slice.call(data.args,1)}))})}},88768:(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var callable=__webpack_require__(95765),forEach=__webpack_require__(90981),extensions=__webpack_require__(90334),apply=Function.prototype.apply;extensions.dispose=function(dispose,conf,options){var del;if(callable(dispose),options.async&&extensions.async||options.promise&&extensions.promise){conf.on("deleteasync",del=function(id,resultArray){apply.call(dispose,null,resultArray)}),conf.on("clearasync",function(cache){forEach(cache,function(result,id){del(id,result)})});return}conf.on("delete",del=function(id,result){dispose(result)}),conf.on("clear",function(cache){forEach(cache,function(result,id){del(id,result)})})}},81489:(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var aFrom=__webpack_require__(90505),forEach=__webpack_require__(90981),nextTick=__webpack_require__(65656),isPromise=__webpack_require__(3134),timeout=__webpack_require__(19123),extensions=__webpack_require__(90334),noop=Function.prototype,max=Math.max,min=Math.min,create=Object.create;extensions.maxAge=function(maxAge,conf,options){var timeouts,postfix,preFetchAge,preFetchTimeouts;maxAge=timeout(maxAge),maxAge&&(timeouts=create(null),postfix=options.async&&extensions.async||options.promise&&extensions.promise?"async":"",conf.on("set"+postfix,function(id){timeouts[id]=setTimeout(function(){conf.delete(id)},maxAge),typeof timeouts[id].unref=="function"&&timeouts[id].unref(),preFetchTimeouts&&(preFetchTimeouts[id]&&preFetchTimeouts[id]!=="nextTick"&&clearTimeout(preFetchTimeouts[id]),preFetchTimeouts[id]=setTimeout(function(){delete preFetchTimeouts[id]},preFetchAge),typeof preFetchTimeouts[id].unref=="function"&&preFetchTimeouts[id].unref())}),conf.on("delete"+postfix,function(id){clearTimeout(timeouts[id]),delete timeouts[id],preFetchTimeouts&&(preFetchTimeouts[id]!=="nextTick"&&clearTimeout(preFetchTimeouts[id]),delete preFetchTimeouts[id])}),options.preFetch&&(options.preFetch===!0||isNaN(options.preFetch)?preFetchAge=.333:preFetchAge=max(min(Number(options.preFetch),1),0),preFetchAge&&(preFetchTimeouts={},preFetchAge=(1-preFetchAge)*maxAge,conf.on("get"+postfix,function(id,args,context){preFetchTimeouts[id]||(preFetchTimeouts[id]="nextTick",nextTick(function(){var result;preFetchTimeouts[id]==="nextTick"&&(delete preFetchTimeouts[id],conf.delete(id),options.async&&(args=aFrom(args),args.push(noop)),result=conf.memoized.apply(context,args),options.promise&&isPromise(result)&&(typeof result.done=="function"?result.done(noop,noop):result.then(noop,noop)))}))}))),conf.on("clear"+postfix,function(){forEach(timeouts,function(id){clearTimeout(id)}),timeouts={},preFetchTimeouts&&(forEach(preFetchTimeouts,function(id){id!=="nextTick"&&clearTimeout(id)}),preFetchTimeouts={})}))}},39893:(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var toPosInteger=__webpack_require__(4238),lruQueue=__webpack_require__(12051),extensions=__webpack_require__(90334);extensions.max=function(max,conf,options){var postfix,queue,hit;max=toPosInteger(max),max&&(queue=lruQueue(max),postfix=options.async&&extensions.async||options.promise&&extensions.promise?"async":"",conf.on("set"+postfix,hit=function(id){id=queue.hit(id),id!==void 0&&conf.delete(id)}),conf.on("get"+postfix,hit),conf.on("delete"+postfix,queue.delete),conf.on("clear"+postfix,queue.clear))}},47860:(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var objectMap=__webpack_require__(2579),primitiveSet=__webpack_require__(24249),ensureString=__webpack_require__(11012),toShortString=__webpack_require__(15931),isPromise=__webpack_require__(3134),nextTick=__webpack_require__(65656),create=Object.create,supportedModes=primitiveSet("then","then:finally","done","done:finally");__webpack_require__(90334).promise=function(mode,conf){var waiting=create(null),cache=create(null),promises=create(null);if(mode===!0)mode=null;else if(mode=ensureString(mode),!supportedModes[mode])throw new TypeError("'"+toShortString(mode)+"' is not valid promise mode");conf.on("set",function(id,ignore,promise){var isFailed=!1;if(!isPromise(promise)){cache[id]=promise,conf.emit("setasync",id,1);return}waiting[id]=1,promises[id]=promise;var onSuccess=function(result){var count=waiting[id];if(isFailed)throw new Error(`Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)
38
+ Consider to rely on 'then' or 'done' mode instead.`);!count||(delete waiting[id],cache[id]=result,conf.emit("setasync",id,count))},onFailure=function(){isFailed=!0,waiting[id]&&(delete waiting[id],delete promises[id],conf.delete(id))},resolvedMode=mode;if(resolvedMode||(resolvedMode="then"),resolvedMode==="then"){var nextTickFailure=function(){nextTick(onFailure)};promise=promise.then(function(result){nextTick(onSuccess.bind(this,result))},nextTickFailure),typeof promise.finally=="function"&&promise.finally(nextTickFailure)}else if(resolvedMode==="done"){if(typeof promise.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");promise.done(onSuccess,onFailure)}else if(resolvedMode==="done:finally"){if(typeof promise.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof promise.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");promise.done(onSuccess),promise.finally(onFailure)}}),conf.on("get",function(id,args,context){var promise;if(waiting[id]){++waiting[id];return}promise=promises[id];var emit=function(){conf.emit("getasync",id,args,context)};isPromise(promise)?typeof promise.done=="function"?promise.done(emit):promise.then(function(){nextTick(emit)}):emit()}),conf.on("delete",function(id){if(delete promises[id],waiting[id]){delete waiting[id];return}if(!!hasOwnProperty.call(cache,id)){var result=cache[id];delete cache[id],conf.emit("deleteasync",id,[result])}}),conf.on("clear",function(){var oldCache=cache;cache=create(null),waiting=create(null),promises=create(null),conf.emit("clearasync",objectMap(oldCache,function(data){return[data]}))})}},22527:(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var d=__webpack_require__(82923),extensions=__webpack_require__(90334),create=Object.create,defineProperties=Object.defineProperties;extensions.refCounter=function(ignore,conf,options){var cache,postfix;cache=create(null),postfix=options.async&&extensions.async||options.promise&&extensions.promise?"async":"",conf.on("set"+postfix,function(id,length){cache[id]=length||1}),conf.on("get"+postfix,function(id){++cache[id]}),conf.on("delete"+postfix,function(id){delete cache[id]}),conf.on("clear"+postfix,function(){cache={}}),defineProperties(conf.memoized,{deleteRef:d(function(){var id=conf.get(arguments);return id===null||!cache[id]?null:--cache[id]?!1:(conf.delete(id),!0)}),getRefCount:d(function(){var id=conf.get(arguments);return id===null||!cache[id]?0:cache[id]})})}},69428:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var normalizeOpts=__webpack_require__(9847),resolveLength=__webpack_require__(53225),plain=__webpack_require__(90317);module.exports=function(fn){var options=normalizeOpts(arguments[1]),length;return options.normalizer||(length=options.length=resolveLength(options.length,fn.length,options.async),length!==0&&(options.primitive?length===!1?options.normalizer=__webpack_require__(65456):length>1&&(options.normalizer=__webpack_require__(13886)(length)):length===!1?options.normalizer=__webpack_require__(36248)():length===1?options.normalizer=__webpack_require__(67675)():options.normalizer=__webpack_require__(49133)(length))),options.async&&__webpack_require__(31019),options.promise&&__webpack_require__(47860),options.dispose&&__webpack_require__(88768),options.maxAge&&__webpack_require__(81489),options.max&&__webpack_require__(39893),options.refCounter&&__webpack_require__(22527),plain(fn,options)}},2156:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var customError=__webpack_require__(57275),defineLength=__webpack_require__(52045),d=__webpack_require__(82923),ee=__webpack_require__(24250).methods,resolveResolve=__webpack_require__(81813),resolveNormalize=__webpack_require__(25782),apply=Function.prototype.apply,call=Function.prototype.call,create=Object.create,defineProperties=Object.defineProperties,on=ee.on,emit=ee.emit;module.exports=function(original,length,options){var cache=create(null),conf,memLength,get,set,del,clear,extDel,extGet,extHas,normalizer,getListeners,setListeners,deleteListeners,memoized,resolve;return length!==!1?memLength=length:isNaN(original.length)?memLength=1:memLength=original.length,options.normalizer&&(normalizer=resolveNormalize(options.normalizer),get=normalizer.get,set=normalizer.set,del=normalizer.delete,clear=normalizer.clear),options.resolvers!=null&&(resolve=resolveResolve(options.resolvers)),get?memoized=defineLength(function(arg){var id,result,args=arguments;if(resolve&&(args=resolve(args)),id=get(args),id!==null&&hasOwnProperty.call(cache,id))return getListeners&&conf.emit("get",id,args,this),cache[id];if(args.length===1?result=call.call(original,this,args[0]):result=apply.call(original,this,args),id===null){if(id=get(args),id!==null)throw customError("Circular invocation","CIRCULAR_INVOCATION");id=set(args)}else if(hasOwnProperty.call(cache,id))throw customError("Circular invocation","CIRCULAR_INVOCATION");return cache[id]=result,setListeners&&conf.emit("set",id,null,result),result},memLength):length===0?memoized=function(){var result;if(hasOwnProperty.call(cache,"data"))return getListeners&&conf.emit("get","data",arguments,this),cache.data;if(arguments.length?result=apply.call(original,this,arguments):result=call.call(original,this),hasOwnProperty.call(cache,"data"))throw customError("Circular invocation","CIRCULAR_INVOCATION");return cache.data=result,setListeners&&conf.emit("set","data",null,result),result}:memoized=function(arg){var result,args=arguments,id;if(resolve&&(args=resolve(arguments)),id=String(args[0]),hasOwnProperty.call(cache,id))return getListeners&&conf.emit("get",id,args,this),cache[id];if(args.length===1?result=call.call(original,this,args[0]):result=apply.call(original,this,args),hasOwnProperty.call(cache,id))throw customError("Circular invocation","CIRCULAR_INVOCATION");return cache[id]=result,setListeners&&conf.emit("set",id,null,result),result},conf={original,memoized,profileName:options.profileName,get:function(args){return resolve&&(args=resolve(args)),get?get(args):String(args[0])},has:function(id){return hasOwnProperty.call(cache,id)},delete:function(id){var result;!hasOwnProperty.call(cache,id)||(del&&del(id),result=cache[id],delete cache[id],deleteListeners&&conf.emit("delete",id,result))},clear:function(){var oldCache=cache;clear&&clear(),cache=create(null),conf.emit("clear",oldCache)},on:function(type,listener){return type==="get"?getListeners=!0:type==="set"?setListeners=!0:type==="delete"&&(deleteListeners=!0),on.call(this,type,listener)},emit,updateEnv:function(){original=conf.original}},get?extDel=defineLength(function(arg){var id,args=arguments;resolve&&(args=resolve(args)),id=get(args),id!==null&&conf.delete(id)},memLength):length===0?extDel=function(){return conf.delete("data")}:extDel=function(arg){return resolve&&(arg=resolve(arguments)[0]),conf.delete(arg)},extGet=defineLength(function(){var id,args=arguments;return length===0?cache.data:(resolve&&(args=resolve(args)),get?id=get(args):id=String(args[0]),cache[id])}),extHas=defineLength(function(){var id,args=arguments;return length===0?conf.has("data"):(resolve&&(args=resolve(args)),get?id=get(args):id=String(args[0]),id===null?!1:conf.has(id))}),defineProperties(memoized,{__memoized__:d(!0),delete:d(extDel),clear:d(conf.clear),_get:d(extGet),_has:d(extHas)}),conf}},90334:()=>{"use strict"},53225:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var toPosInt=__webpack_require__(4238);module.exports=function(optsLength,fnLength,isAsync){var length;return isNaN(optsLength)?(length=fnLength,length>=0?isAsync&&length?length-1:length:1):optsLength===!1?!1:toPosInt(optsLength)}},25782:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var callable=__webpack_require__(95765);module.exports=function(userNormalizer){var normalizer;return typeof userNormalizer=="function"?{set:userNormalizer,get:userNormalizer}:(normalizer={get:callable(userNormalizer.get)},userNormalizer.set!==void 0?(normalizer.set=callable(userNormalizer.set),userNormalizer.delete&&(normalizer.delete=callable(userNormalizer.delete)),userNormalizer.clear&&(normalizer.clear=callable(userNormalizer.clear)),normalizer):(normalizer.set=normalizer.get,normalizer))}},81813:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var toArray=__webpack_require__(95335),isValue=__webpack_require__(33982),callable=__webpack_require__(95765),slice=Array.prototype.slice,resolveArgs;resolveArgs=function(args){return this.map(function(resolve,i){return resolve?resolve(args[i]):args[i]}).concat(slice.call(args,this.length))},module.exports=function(resolvers){return resolvers=toArray(resolvers),resolvers.forEach(function(resolve){isValue(resolve)&&callable(resolve)}),resolveArgs.bind(resolvers)}},67675:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var indexOf=__webpack_require__(51879);module.exports=function(){var lastId=0,argsMap=[],cache=[];return{get:function(args){var index=indexOf.call(argsMap,args[0]);return index===-1?null:cache[index]},set:function(args){return argsMap.push(args[0]),cache.push(++lastId),lastId},delete:function(id){var index=indexOf.call(cache,id);index!==-1&&(argsMap.splice(index,1),cache.splice(index,1))},clear:function(){argsMap=[],cache=[]}}}},49133:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var indexOf=__webpack_require__(51879),create=Object.create;module.exports=function(length){var lastId=0,map=[[],[]],cache=create(null);return{get:function(args){for(var index=0,set=map,i;index<length-1;){if(i=indexOf.call(set[0],args[index]),i===-1)return null;set=set[1][i],++index}return i=indexOf.call(set[0],args[index]),i===-1?null:set[1][i]||null},set:function(args){for(var index=0,set=map,i;index<length-1;)i=indexOf.call(set[0],args[index]),i===-1&&(i=set[0].push(args[index])-1,set[1].push([[],[]])),set=set[1][i],++index;return i=indexOf.call(set[0],args[index]),i===-1&&(i=set[0].push(args[index])-1),set[1][i]=++lastId,cache[lastId]=args,lastId},delete:function(id){for(var index=0,set=map,i,path=[],args=cache[id];index<length-1;){if(i=indexOf.call(set[0],args[index]),i===-1)return;path.push(set,i),set=set[1][i],++index}if(i=indexOf.call(set[0],args[index]),i!==-1){for(id=set[1][i],set[0].splice(i,1),set[1].splice(i,1);!set[0].length&&path.length;)i=path.pop(),set=path.pop(),set[0].splice(i,1),set[1].splice(i,1);delete cache[id]}},clear:function(){map=[[],[]],cache=create(null)}}}},13886:module=>{"use strict";module.exports=function(length){return length?function(args){for(var id=String(args[0]),i=0,currentLength=length;--currentLength;)id+=""+args[++i];return id}:function(){return""}}},36248:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var indexOf=__webpack_require__(51879),create=Object.create;module.exports=function(){var lastId=0,map=[],cache=create(null);return{get:function(args){var index=0,set=map,i,length=args.length;if(length===0)return set[length]||null;if(set=set[length]){for(;index<length-1;){if(i=indexOf.call(set[0],args[index]),i===-1)return null;set=set[1][i],++index}return i=indexOf.call(set[0],args[index]),i===-1?null:set[1][i]||null}return null},set:function(args){var index=0,set=map,i,length=args.length;if(length===0)set[length]=++lastId;else{for(set[length]||(set[length]=[[],[]]),set=set[length];index<length-1;)i=indexOf.call(set[0],args[index]),i===-1&&(i=set[0].push(args[index])-1,set[1].push([[],[]])),set=set[1][i],++index;i=indexOf.call(set[0],args[index]),i===-1&&(i=set[0].push(args[index])-1),set[1][i]=++lastId}return cache[lastId]=args,lastId},delete:function(id){var index=0,set=map,i,args=cache[id],length=args.length,path=[];if(length===0)delete set[length];else if(set=set[length]){for(;index<length-1;){if(i=indexOf.call(set[0],args[index]),i===-1)return;path.push(set,i),set=set[1][i],++index}if(i=indexOf.call(set[0],args[index]),i===-1)return;for(id=set[1][i],set[0].splice(i,1),set[1].splice(i,1);!set[0].length&&path.length;)i=path.pop(),set=path.pop(),set[0].splice(i,1),set[1].splice(i,1)}delete cache[id]},clear:function(){map=[],cache=create(null)}}}},65456:module=>{"use strict";module.exports=function(args){var id,i,length=args.length;if(!length)return"";for(id=String(args[i=0]);--length;)id+=""+args[++i];return id}},90317:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var callable=__webpack_require__(95765),forEach=__webpack_require__(90981),extensions=__webpack_require__(90334),configure=__webpack_require__(2156),resolveLength=__webpack_require__(53225);module.exports=function self2(fn){var options,length,conf;if(callable(fn),options=Object(arguments[1]),options.async&&options.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(fn,"__memoized__")&&!options.force?fn:(length=resolveLength(options.length,fn.length,options.async&&extensions.async),conf=configure(fn,length,options),forEach(extensions,function(extFn,name){options[name]&&extFn(options[name],conf,options)}),self2.__profiler__&&self2.__profiler__(conf),conf.updateEnv(),conf.memoized)}},65656:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var process=__webpack_require__(14224),ensureCallable=function(fn){if(typeof fn!="function")throw new TypeError(fn+" is not a function");return fn},byObserver=function(Observer){var node=document.createTextNode(""),queue,currentQueue,i=0;return new Observer(function(){var callback;if(queue)currentQueue&&(queue=currentQueue.concat(queue));else{if(!currentQueue)return;queue=currentQueue}if(currentQueue=queue,queue=null,typeof currentQueue=="function"){callback=currentQueue,currentQueue=null,callback();return}for(node.data=i=++i%2;currentQueue;)callback=currentQueue.shift(),currentQueue.length||(currentQueue=null),callback()}).observe(node,{characterData:!0}),function(fn){if(ensureCallable(fn),queue){typeof queue=="function"?queue=[queue,fn]:queue.push(fn);return}queue=fn,node.data=i=++i%2}};module.exports=function(){if(typeof process=="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(cb){queueMicrotask(ensureCallable(cb))};if(typeof document=="object"&&document){if(typeof MutationObserver=="function")return byObserver(MutationObserver);if(typeof WebKitMutationObserver=="function")return byObserver(WebKitMutationObserver)}return typeof setImmediate=="function"?function(cb){setImmediate(ensureCallable(cb))}:typeof setTimeout=="function"||typeof setTimeout=="object"?function(cb){setTimeout(ensureCallable(cb),0)}:null}()},72641:(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var process=__webpack_require__(14224);/*! *****************************************************************************
39
39
  Copyright (C) Microsoft. All rights reserved.
40
40
  Licensed under the Apache License, Version 2.0 (the "License"); you may not use
41
41
  this file except in compliance with the License. You may obtain a copy of the
@@ -48,14 +48,14 @@ MERCHANTABLITY OR NON-INFRINGEMENT.
48
48
 
49
49
  See the Apache Version 2.0 License for specific language governing permissions
50
50
  and limitations under the License.
51
- ***************************************************************************** */var Reflect2;(function(Reflect3){(function(factory){var root=typeof __webpack_require__.g=="object"?__webpack_require__.g:typeof self=="object"?self:typeof this=="object"?this:Function("return this;")(),exporter=makeExporter(Reflect3);typeof root.Reflect>"u"?root.Reflect=Reflect3:exporter=makeExporter(root.Reflect,exporter),factory(exporter);function makeExporter(target,previous){return function(key,value){typeof target[key]!="function"&&Object.defineProperty(target,key,{configurable:!0,writable:!0,value}),previous&&previous(key,value)}}})(function(exporter){var hasOwn=Object.prototype.hasOwnProperty,supportsSymbol=typeof Symbol=="function",toPrimitiveSymbol=supportsSymbol&&typeof Symbol.toPrimitive<"u"?Symbol.toPrimitive:"@@toPrimitive",iteratorSymbol=supportsSymbol&&typeof Symbol.iterator<"u"?Symbol.iterator:"@@iterator",supportsCreate=typeof Object.create=="function",supportsProto={__proto__:[]}instanceof Array,downLevel=!supportsCreate&&!supportsProto,HashMap={create:supportsCreate?function(){return MakeDictionary(Object.create(null))}:supportsProto?function(){return MakeDictionary({__proto__:null})}:function(){return MakeDictionary({})},has:downLevel?function(map,key){return hasOwn.call(map,key)}:function(map,key){return key in map},get:downLevel?function(map,key){return hasOwn.call(map,key)?map[key]:void 0}:function(map,key){return map[key]}},functionPrototype=Object.getPrototypeOf(Function),usePolyfill=typeof process=="object"&&process.env&&process.env.REFLECT_METADATA_USE_MAP_POLYFILL==="true",_Map=!usePolyfill&&typeof Map=="function"&&typeof Map.prototype.entries=="function"?Map:CreateMapPolyfill(),_Set=!usePolyfill&&typeof Set=="function"&&typeof Set.prototype.entries=="function"?Set:CreateSetPolyfill(),_WeakMap=!usePolyfill&&typeof WeakMap=="function"?WeakMap:CreateWeakMapPolyfill(),Metadata=new _WeakMap;function decorate(decorators,target,propertyKey,attributes){if(IsUndefined(propertyKey)){if(!IsArray(decorators))throw new TypeError;if(!IsConstructor(target))throw new TypeError;return DecorateConstructor(decorators,target)}else{if(!IsArray(decorators))throw new TypeError;if(!IsObject(target))throw new TypeError;if(!IsObject(attributes)&&!IsUndefined(attributes)&&!IsNull(attributes))throw new TypeError;return IsNull(attributes)&&(attributes=void 0),propertyKey=ToPropertyKey(propertyKey),DecorateProperty(decorators,target,propertyKey,attributes)}}exporter("decorate",decorate);function metadata(metadataKey,metadataValue){function decorator(target,propertyKey){if(!IsObject(target))throw new TypeError;if(!IsUndefined(propertyKey)&&!IsPropertyKey(propertyKey))throw new TypeError;OrdinaryDefineOwnMetadata(metadataKey,metadataValue,target,propertyKey)}return decorator}exporter("metadata",metadata);function defineMetadata(metadataKey,metadataValue,target,propertyKey){if(!IsObject(target))throw new TypeError;return IsUndefined(propertyKey)||(propertyKey=ToPropertyKey(propertyKey)),OrdinaryDefineOwnMetadata(metadataKey,metadataValue,target,propertyKey)}exporter("defineMetadata",defineMetadata);function hasMetadata(metadataKey,target,propertyKey){if(!IsObject(target))throw new TypeError;return IsUndefined(propertyKey)||(propertyKey=ToPropertyKey(propertyKey)),OrdinaryHasMetadata(metadataKey,target,propertyKey)}exporter("hasMetadata",hasMetadata);function hasOwnMetadata(metadataKey,target,propertyKey){if(!IsObject(target))throw new TypeError;return IsUndefined(propertyKey)||(propertyKey=ToPropertyKey(propertyKey)),OrdinaryHasOwnMetadata(metadataKey,target,propertyKey)}exporter("hasOwnMetadata",hasOwnMetadata);function getMetadata(metadataKey,target,propertyKey){if(!IsObject(target))throw new TypeError;return IsUndefined(propertyKey)||(propertyKey=ToPropertyKey(propertyKey)),OrdinaryGetMetadata(metadataKey,target,propertyKey)}exporter("getMetadata",getMetadata);function getOwnMetadata(metadataKey,target,propertyKey){if(!IsObject(target))throw new TypeError;return IsUndefined(propertyKey)||(propertyKey=ToPropertyKey(propertyKey)),OrdinaryGetOwnMetadata(metadataKey,target,propertyKey)}exporter("getOwnMetadata",getOwnMetadata);function getMetadataKeys(target,propertyKey){if(!IsObject(target))throw new TypeError;return IsUndefined(propertyKey)||(propertyKey=ToPropertyKey(propertyKey)),OrdinaryMetadataKeys(target,propertyKey)}exporter("getMetadataKeys",getMetadataKeys);function getOwnMetadataKeys(target,propertyKey){if(!IsObject(target))throw new TypeError;return IsUndefined(propertyKey)||(propertyKey=ToPropertyKey(propertyKey)),OrdinaryOwnMetadataKeys(target,propertyKey)}exporter("getOwnMetadataKeys",getOwnMetadataKeys);function deleteMetadata(metadataKey,target,propertyKey){if(!IsObject(target))throw new TypeError;IsUndefined(propertyKey)||(propertyKey=ToPropertyKey(propertyKey));var metadataMap=GetOrCreateMetadataMap(target,propertyKey,!1);if(IsUndefined(metadataMap)||!metadataMap.delete(metadataKey))return!1;if(metadataMap.size>0)return!0;var targetMetadata=Metadata.get(target);return targetMetadata.delete(propertyKey),targetMetadata.size>0||Metadata.delete(target),!0}exporter("deleteMetadata",deleteMetadata);function DecorateConstructor(decorators,target){for(var i=decorators.length-1;i>=0;--i){var decorator=decorators[i],decorated=decorator(target);if(!IsUndefined(decorated)&&!IsNull(decorated)){if(!IsConstructor(decorated))throw new TypeError;target=decorated}}return target}function DecorateProperty(decorators,target,propertyKey,descriptor){for(var i=decorators.length-1;i>=0;--i){var decorator=decorators[i],decorated=decorator(target,propertyKey,descriptor);if(!IsUndefined(decorated)&&!IsNull(decorated)){if(!IsObject(decorated))throw new TypeError;descriptor=decorated}}return descriptor}function GetOrCreateMetadataMap(O,P,Create){var targetMetadata=Metadata.get(O);if(IsUndefined(targetMetadata)){if(!Create)return;targetMetadata=new _Map,Metadata.set(O,targetMetadata)}var metadataMap=targetMetadata.get(P);if(IsUndefined(metadataMap)){if(!Create)return;metadataMap=new _Map,targetMetadata.set(P,metadataMap)}return metadataMap}function OrdinaryHasMetadata(MetadataKey,O,P){var hasOwn2=OrdinaryHasOwnMetadata(MetadataKey,O,P);if(hasOwn2)return!0;var parent=OrdinaryGetPrototypeOf(O);return IsNull(parent)?!1:OrdinaryHasMetadata(MetadataKey,parent,P)}function OrdinaryHasOwnMetadata(MetadataKey,O,P){var metadataMap=GetOrCreateMetadataMap(O,P,!1);return IsUndefined(metadataMap)?!1:ToBoolean(metadataMap.has(MetadataKey))}function OrdinaryGetMetadata(MetadataKey,O,P){var hasOwn2=OrdinaryHasOwnMetadata(MetadataKey,O,P);if(hasOwn2)return OrdinaryGetOwnMetadata(MetadataKey,O,P);var parent=OrdinaryGetPrototypeOf(O);if(!IsNull(parent))return OrdinaryGetMetadata(MetadataKey,parent,P)}function OrdinaryGetOwnMetadata(MetadataKey,O,P){var metadataMap=GetOrCreateMetadataMap(O,P,!1);if(!IsUndefined(metadataMap))return metadataMap.get(MetadataKey)}function OrdinaryDefineOwnMetadata(MetadataKey,MetadataValue,O,P){var metadataMap=GetOrCreateMetadataMap(O,P,!0);metadataMap.set(MetadataKey,MetadataValue)}function OrdinaryMetadataKeys(O,P){var ownKeys=OrdinaryOwnMetadataKeys(O,P),parent=OrdinaryGetPrototypeOf(O);if(parent===null)return ownKeys;var parentKeys=OrdinaryMetadataKeys(parent,P);if(parentKeys.length<=0)return ownKeys;if(ownKeys.length<=0)return parentKeys;for(var set=new _Set,keys=[],_i=0,ownKeys_1=ownKeys;_i<ownKeys_1.length;_i++){var key=ownKeys_1[_i],hasKey=set.has(key);hasKey||(set.add(key),keys.push(key))}for(var _a=0,parentKeys_1=parentKeys;_a<parentKeys_1.length;_a++){var key=parentKeys_1[_a],hasKey=set.has(key);hasKey||(set.add(key),keys.push(key))}return keys}function OrdinaryOwnMetadataKeys(O,P){var keys=[],metadataMap=GetOrCreateMetadataMap(O,P,!1);if(IsUndefined(metadataMap))return keys;for(var keysObj=metadataMap.keys(),iterator=GetIterator(keysObj),k=0;;){var next=IteratorStep(iterator);if(!next)return keys.length=k,keys;var nextValue=IteratorValue(next);try{keys[k]=nextValue}catch(e){try{IteratorClose(iterator)}finally{throw e}}k++}}function Type(x){if(x===null)return 1;switch(typeof x){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return x===null?1:6;default:return 6}}function IsUndefined(x){return x===void 0}function IsNull(x){return x===null}function IsSymbol(x){return typeof x=="symbol"}function IsObject(x){return typeof x=="object"?x!==null:typeof x=="function"}function ToPrimitive(input,PreferredType){switch(Type(input)){case 0:return input;case 1:return input;case 2:return input;case 3:return input;case 4:return input;case 5:return input}var hint=PreferredType===3?"string":PreferredType===5?"number":"default",exoticToPrim=GetMethod(input,toPrimitiveSymbol);if(exoticToPrim!==void 0){var result=exoticToPrim.call(input,hint);if(IsObject(result))throw new TypeError;return result}return OrdinaryToPrimitive(input,hint==="default"?"number":hint)}function OrdinaryToPrimitive(O,hint){if(hint==="string"){var toString_1=O.toString;if(IsCallable(toString_1)){var result=toString_1.call(O);if(!IsObject(result))return result}var valueOf=O.valueOf;if(IsCallable(valueOf)){var result=valueOf.call(O);if(!IsObject(result))return result}}else{var valueOf=O.valueOf;if(IsCallable(valueOf)){var result=valueOf.call(O);if(!IsObject(result))return result}var toString_2=O.toString;if(IsCallable(toString_2)){var result=toString_2.call(O);if(!IsObject(result))return result}}throw new TypeError}function ToBoolean(argument){return!!argument}function ToString(argument){return""+argument}function ToPropertyKey(argument){var key=ToPrimitive(argument,3);return IsSymbol(key)?key:ToString(key)}function IsArray(argument){return Array.isArray?Array.isArray(argument):argument instanceof Object?argument instanceof Array:Object.prototype.toString.call(argument)==="[object Array]"}function IsCallable(argument){return typeof argument=="function"}function IsConstructor(argument){return typeof argument=="function"}function IsPropertyKey(argument){switch(Type(argument)){case 3:return!0;case 4:return!0;default:return!1}}function GetMethod(V,P){var func=V[P];if(func!=null){if(!IsCallable(func))throw new TypeError;return func}}function GetIterator(obj){var method=GetMethod(obj,iteratorSymbol);if(!IsCallable(method))throw new TypeError;var iterator=method.call(obj);if(!IsObject(iterator))throw new TypeError;return iterator}function IteratorValue(iterResult){return iterResult.value}function IteratorStep(iterator){var result=iterator.next();return result.done?!1:result}function IteratorClose(iterator){var f=iterator.return;f&&f.call(iterator)}function OrdinaryGetPrototypeOf(O){var proto=Object.getPrototypeOf(O);if(typeof O!="function"||O===functionPrototype||proto!==functionPrototype)return proto;var prototype=O.prototype,prototypeProto=prototype&&Object.getPrototypeOf(prototype);if(prototypeProto==null||prototypeProto===Object.prototype)return proto;var constructor=prototypeProto.constructor;return typeof constructor!="function"||constructor===O?proto:constructor}function CreateMapPolyfill(){var cacheSentinel={},arraySentinel=[],MapIterator=function(){function MapIterator2(keys,values,selector){this._index=0,this._keys=keys,this._values=values,this._selector=selector}return MapIterator2.prototype["@@iterator"]=function(){return this},MapIterator2.prototype[iteratorSymbol]=function(){return this},MapIterator2.prototype.next=function(){var index=this._index;if(index>=0&&index<this._keys.length){var result=this._selector(this._keys[index],this._values[index]);return index+1>=this._keys.length?(this._index=-1,this._keys=arraySentinel,this._values=arraySentinel):this._index++,{value:result,done:!1}}return{value:void 0,done:!0}},MapIterator2.prototype.throw=function(error){throw this._index>=0&&(this._index=-1,this._keys=arraySentinel,this._values=arraySentinel),error},MapIterator2.prototype.return=function(value){return this._index>=0&&(this._index=-1,this._keys=arraySentinel,this._values=arraySentinel),{value,done:!0}},MapIterator2}();return function(){function Map2(){this._keys=[],this._values=[],this._cacheKey=cacheSentinel,this._cacheIndex=-2}return Object.defineProperty(Map2.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),Map2.prototype.has=function(key){return this._find(key,!1)>=0},Map2.prototype.get=function(key){var index=this._find(key,!1);return index>=0?this._values[index]:void 0},Map2.prototype.set=function(key,value){var index=this._find(key,!0);return this._values[index]=value,this},Map2.prototype.delete=function(key){var index=this._find(key,!1);if(index>=0){for(var size=this._keys.length,i=index+1;i<size;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,key===this._cacheKey&&(this._cacheKey=cacheSentinel,this._cacheIndex=-2),!0}return!1},Map2.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=cacheSentinel,this._cacheIndex=-2},Map2.prototype.keys=function(){return new MapIterator(this._keys,this._values,getKey)},Map2.prototype.values=function(){return new MapIterator(this._keys,this._values,getValue)},Map2.prototype.entries=function(){return new MapIterator(this._keys,this._values,getEntry)},Map2.prototype["@@iterator"]=function(){return this.entries()},Map2.prototype[iteratorSymbol]=function(){return this.entries()},Map2.prototype._find=function(key,insert){return this._cacheKey!==key&&(this._cacheIndex=this._keys.indexOf(this._cacheKey=key)),this._cacheIndex<0&&insert&&(this._cacheIndex=this._keys.length,this._keys.push(key),this._values.push(void 0)),this._cacheIndex},Map2}();function getKey(key,_){return key}function getValue(_,value){return value}function getEntry(key,value){return[key,value]}}function CreateSetPolyfill(){return function(){function Set2(){this._map=new _Map}return Object.defineProperty(Set2.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),Set2.prototype.has=function(value){return this._map.has(value)},Set2.prototype.add=function(value){return this._map.set(value,value),this},Set2.prototype.delete=function(value){return this._map.delete(value)},Set2.prototype.clear=function(){this._map.clear()},Set2.prototype.keys=function(){return this._map.keys()},Set2.prototype.values=function(){return this._map.values()},Set2.prototype.entries=function(){return this._map.entries()},Set2.prototype["@@iterator"]=function(){return this.keys()},Set2.prototype[iteratorSymbol]=function(){return this.keys()},Set2}()}function CreateWeakMapPolyfill(){var UUID_SIZE=16,keys=HashMap.create(),rootKey=CreateUniqueKey();return function(){function WeakMap2(){this._key=CreateUniqueKey()}return WeakMap2.prototype.has=function(target){var table=GetOrCreateWeakMapTable(target,!1);return table!==void 0?HashMap.has(table,this._key):!1},WeakMap2.prototype.get=function(target){var table=GetOrCreateWeakMapTable(target,!1);return table!==void 0?HashMap.get(table,this._key):void 0},WeakMap2.prototype.set=function(target,value){var table=GetOrCreateWeakMapTable(target,!0);return table[this._key]=value,this},WeakMap2.prototype.delete=function(target){var table=GetOrCreateWeakMapTable(target,!1);return table!==void 0?delete table[this._key]:!1},WeakMap2.prototype.clear=function(){this._key=CreateUniqueKey()},WeakMap2}();function CreateUniqueKey(){var key;do key="@@WeakMap@@"+CreateUUID();while(HashMap.has(keys,key));return keys[key]=!0,key}function GetOrCreateWeakMapTable(target,create){if(!hasOwn.call(target,rootKey)){if(!create)return;Object.defineProperty(target,rootKey,{value:HashMap.create()})}return target[rootKey]}function FillRandomBytes(buffer,size){for(var i=0;i<size;++i)buffer[i]=Math.random()*255|0;return buffer}function GenRandomBytes(size){return typeof Uint8Array=="function"?typeof crypto<"u"?crypto.getRandomValues(new Uint8Array(size)):typeof msCrypto<"u"?msCrypto.getRandomValues(new Uint8Array(size)):FillRandomBytes(new Uint8Array(size),size):FillRandomBytes(new Array(size),size)}function CreateUUID(){var data=GenRandomBytes(UUID_SIZE);data[6]=data[6]&79|64,data[8]=data[8]&191|128;for(var result="",offset=0;offset<UUID_SIZE;++offset){var byte=data[offset];(offset===4||offset===6||offset===8)&&(result+="-"),byte<16&&(result+="0"),result+=byte.toString(16).toLowerCase()}return result}}function MakeDictionary(obj){return obj.__=void 0,delete obj.__,obj}})})(Reflect2||(Reflect2={}))},17480:(module,__unused_webpack_exports,__webpack_require__)=>{const ANY=Symbol("SemVer ANY");class Comparator{static get ANY(){return ANY}constructor(comp,options){if(options=parseOptions(options),comp instanceof Comparator){if(comp.loose===!!options.loose)return comp;comp=comp.value}comp=comp.trim().split(/\s+/).join(" "),debug("comparator",comp,options),this.options=options,this.loose=!!options.loose,this.parse(comp),this.semver===ANY?this.value="":this.value=this.operator+this.semver.version,debug("comp",this)}parse(comp){const r=this.options.loose?re[t.COMPARATORLOOSE]:re[t.COMPARATOR],m=comp.match(r);if(!m)throw new TypeError(`Invalid comparator: ${comp}`);this.operator=m[1]!==void 0?m[1]:"",this.operator==="="&&(this.operator=""),m[2]?this.semver=new SemVer(m[2],this.options.loose):this.semver=ANY}toString(){return this.value}test(version){if(debug("Comparator.test",version,this.options.loose),this.semver===ANY||version===ANY)return!0;if(typeof version=="string")try{version=new SemVer(version,this.options)}catch{return!1}return cmp(version,this.operator,this.semver,this.options)}intersects(comp,options){if(!(comp instanceof Comparator))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new Range(comp.value,options).test(this.value):comp.operator===""?comp.value===""?!0:new Range(this.value,options).test(comp.semver):(options=parseOptions(options),options.includePrerelease&&(this.value==="<0.0.0-0"||comp.value==="<0.0.0-0")||!options.includePrerelease&&(this.value.startsWith("<0.0.0")||comp.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&comp.operator.startsWith(">")||this.operator.startsWith("<")&&comp.operator.startsWith("<")||this.semver.version===comp.semver.version&&this.operator.includes("=")&&comp.operator.includes("=")||cmp(this.semver,"<",comp.semver,options)&&this.operator.startsWith(">")&&comp.operator.startsWith("<")||cmp(this.semver,">",comp.semver,options)&&this.operator.startsWith("<")&&comp.operator.startsWith(">")))}}module.exports=Comparator;const parseOptions=__webpack_require__(56950),{safeRe:re,t}=__webpack_require__(36951),cmp=__webpack_require__(44934),debug=__webpack_require__(96706),SemVer=__webpack_require__(60870),Range=__webpack_require__(3632)},3632:(module,__unused_webpack_exports,__webpack_require__)=>{class Range{constructor(range,options){if(options=parseOptions(options),range instanceof Range)return range.loose===!!options.loose&&range.includePrerelease===!!options.includePrerelease?range:new Range(range.raw,options);if(range instanceof Comparator)return this.raw=range.value,this.set=[[range]],this.format(),this;if(this.options=options,this.loose=!!options.loose,this.includePrerelease=!!options.includePrerelease,this.raw=range.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(r=>this.parseRange(r)).filter(c=>c.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const first=this.set[0];if(this.set=this.set.filter(c=>!isNullSet(c[0])),this.set.length===0)this.set=[first];else if(this.set.length>1){for(const c of this.set)if(c.length===1&&isAny(c[0])){this.set=[c];break}}}this.format()}format(){return this.range=this.set.map(comps=>comps.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(range){const memoKey=((this.options.includePrerelease&&FLAG_INCLUDE_PRERELEASE)|(this.options.loose&&FLAG_LOOSE))+":"+range,cached=cache.get(memoKey);if(cached)return cached;const loose=this.options.loose,hr=loose?re[t.HYPHENRANGELOOSE]:re[t.HYPHENRANGE];range=range.replace(hr,hyphenReplace(this.options.includePrerelease)),debug("hyphen replace",range),range=range.replace(re[t.COMPARATORTRIM],comparatorTrimReplace),debug("comparator trim",range),range=range.replace(re[t.TILDETRIM],tildeTrimReplace),range=range.replace(re[t.CARETTRIM],caretTrimReplace);let rangeList=range.split(" ").map(comp=>parseComparator(comp,this.options)).join(" ").split(/\s+/).map(comp=>replaceGTE0(comp,this.options));loose&&(rangeList=rangeList.filter(comp=>(debug("loose invalid filter",comp,this.options),!!comp.match(re[t.COMPARATORLOOSE])))),debug("range list",rangeList);const rangeMap=new Map,comparators=rangeList.map(comp=>new Comparator(comp,this.options));for(const comp of comparators){if(isNullSet(comp))return[comp];rangeMap.set(comp.value,comp)}rangeMap.size>1&&rangeMap.has("")&&rangeMap.delete("");const result=[...rangeMap.values()];return cache.set(memoKey,result),result}intersects(range,options){if(!(range instanceof Range))throw new TypeError("a Range is required");return this.set.some(thisComparators=>isSatisfiable(thisComparators,options)&&range.set.some(rangeComparators=>isSatisfiable(rangeComparators,options)&&thisComparators.every(thisComparator=>rangeComparators.every(rangeComparator=>thisComparator.intersects(rangeComparator,options)))))}test(version){if(!version)return!1;if(typeof version=="string")try{version=new SemVer(version,this.options)}catch{return!1}for(let i=0;i<this.set.length;i++)if(testSet(this.set[i],version,this.options))return!0;return!1}}module.exports=Range;const LRU=__webpack_require__(57247),cache=new LRU({max:1e3}),parseOptions=__webpack_require__(56950),Comparator=__webpack_require__(17480),debug=__webpack_require__(96706),SemVer=__webpack_require__(60870),{safeRe:re,t,comparatorTrimReplace,tildeTrimReplace,caretTrimReplace}=__webpack_require__(36951),{FLAG_INCLUDE_PRERELEASE,FLAG_LOOSE}=__webpack_require__(8473),isNullSet=c=>c.value==="<0.0.0-0",isAny=c=>c.value==="",isSatisfiable=(comparators,options)=>{let result=!0;const remainingComparators=comparators.slice();let testComparator=remainingComparators.pop();for(;result&&remainingComparators.length;)result=remainingComparators.every(otherComparator=>testComparator.intersects(otherComparator,options)),testComparator=remainingComparators.pop();return result},parseComparator=(comp,options)=>(debug("comp",comp,options),comp=replaceCarets(comp,options),debug("caret",comp),comp=replaceTildes(comp,options),debug("tildes",comp),comp=replaceXRanges(comp,options),debug("xrange",comp),comp=replaceStars(comp,options),debug("stars",comp),comp),isX=id=>!id||id.toLowerCase()==="x"||id==="*",replaceTildes=(comp,options)=>comp.trim().split(/\s+/).map(c=>replaceTilde(c,options)).join(" "),replaceTilde=(comp,options)=>{const r=options.loose?re[t.TILDELOOSE]:re[t.TILDE];return comp.replace(r,(_,M,m,p,pr)=>{debug("tilde",comp,_,M,m,p,pr);let ret;return isX(M)?ret="":isX(m)?ret=`>=${M}.0.0 <${+M+1}.0.0-0`:isX(p)?ret=`>=${M}.${m}.0 <${M}.${+m+1}.0-0`:pr?(debug("replaceTilde pr",pr),ret=`>=${M}.${m}.${p}-${pr} <${M}.${+m+1}.0-0`):ret=`>=${M}.${m}.${p} <${M}.${+m+1}.0-0`,debug("tilde return",ret),ret})},replaceCarets=(comp,options)=>comp.trim().split(/\s+/).map(c=>replaceCaret(c,options)).join(" "),replaceCaret=(comp,options)=>{debug("caret",comp,options);const r=options.loose?re[t.CARETLOOSE]:re[t.CARET],z=options.includePrerelease?"-0":"";return comp.replace(r,(_,M,m,p,pr)=>{debug("caret",comp,_,M,m,p,pr);let ret;return isX(M)?ret="":isX(m)?ret=`>=${M}.0.0${z} <${+M+1}.0.0-0`:isX(p)?M==="0"?ret=`>=${M}.${m}.0${z} <${M}.${+m+1}.0-0`:ret=`>=${M}.${m}.0${z} <${+M+1}.0.0-0`:pr?(debug("replaceCaret pr",pr),M==="0"?m==="0"?ret=`>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p+1}-0`:ret=`>=${M}.${m}.${p}-${pr} <${M}.${+m+1}.0-0`:ret=`>=${M}.${m}.${p}-${pr} <${+M+1}.0.0-0`):(debug("no pr"),M==="0"?m==="0"?ret=`>=${M}.${m}.${p}${z} <${M}.${m}.${+p+1}-0`:ret=`>=${M}.${m}.${p}${z} <${M}.${+m+1}.0-0`:ret=`>=${M}.${m}.${p} <${+M+1}.0.0-0`),debug("caret return",ret),ret})},replaceXRanges=(comp,options)=>(debug("replaceXRanges",comp,options),comp.split(/\s+/).map(c=>replaceXRange(c,options)).join(" ")),replaceXRange=(comp,options)=>{comp=comp.trim();const r=options.loose?re[t.XRANGELOOSE]:re[t.XRANGE];return comp.replace(r,(ret,gtlt,M,m,p,pr)=>{debug("xRange",comp,ret,gtlt,M,m,p,pr);const xM=isX(M),xm=xM||isX(m),xp=xm||isX(p),anyX=xp;return gtlt==="="&&anyX&&(gtlt=""),pr=options.includePrerelease?"-0":"",xM?gtlt===">"||gtlt==="<"?ret="<0.0.0-0":ret="*":gtlt&&anyX?(xm&&(m=0),p=0,gtlt===">"?(gtlt=">=",xm?(M=+M+1,m=0,p=0):(m=+m+1,p=0)):gtlt==="<="&&(gtlt="<",xm?M=+M+1:m=+m+1),gtlt==="<"&&(pr="-0"),ret=`${gtlt+M}.${m}.${p}${pr}`):xm?ret=`>=${M}.0.0${pr} <${+M+1}.0.0-0`:xp&&(ret=`>=${M}.${m}.0${pr} <${M}.${+m+1}.0-0`),debug("xRange return",ret),ret})},replaceStars=(comp,options)=>(debug("replaceStars",comp,options),comp.trim().replace(re[t.STAR],"")),replaceGTE0=(comp,options)=>(debug("replaceGTE0",comp,options),comp.trim().replace(re[options.includePrerelease?t.GTE0PRE:t.GTE0],"")),hyphenReplace=incPr=>($0,from,fM,fm,fp,fpr,fb,to,tM,tm,tp,tpr,tb)=>(isX(fM)?from="":isX(fm)?from=`>=${fM}.0.0${incPr?"-0":""}`:isX(fp)?from=`>=${fM}.${fm}.0${incPr?"-0":""}`:fpr?from=`>=${from}`:from=`>=${from}${incPr?"-0":""}`,isX(tM)?to="":isX(tm)?to=`<${+tM+1}.0.0-0`:isX(tp)?to=`<${tM}.${+tm+1}.0-0`:tpr?to=`<=${tM}.${tm}.${tp}-${tpr}`:incPr?to=`<${tM}.${tm}.${+tp+1}-0`:to=`<=${to}`,`${from} ${to}`.trim()),testSet=(set,version,options)=>{for(let i=0;i<set.length;i++)if(!set[i].test(version))return!1;if(version.prerelease.length&&!options.includePrerelease){for(let i=0;i<set.length;i++)if(debug(set[i].semver),set[i].semver!==Comparator.ANY&&set[i].semver.prerelease.length>0){const allowed=set[i].semver;if(allowed.major===version.major&&allowed.minor===version.minor&&allowed.patch===version.patch)return!0}return!1}return!0}},60870:(module,__unused_webpack_exports,__webpack_require__)=>{const debug=__webpack_require__(96706),{MAX_LENGTH,MAX_SAFE_INTEGER}=__webpack_require__(8473),{safeRe:re,t}=__webpack_require__(36951),parseOptions=__webpack_require__(56950),{compareIdentifiers}=__webpack_require__(34512);class SemVer{constructor(version,options){if(options=parseOptions(options),version instanceof SemVer){if(version.loose===!!options.loose&&version.includePrerelease===!!options.includePrerelease)return version;version=version.version}else if(typeof version!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`);if(version.length>MAX_LENGTH)throw new TypeError(`version is longer than ${MAX_LENGTH} characters`);debug("SemVer",version,options),this.options=options,this.loose=!!options.loose,this.includePrerelease=!!options.includePrerelease;const m=version.trim().match(options.loose?re[t.LOOSE]:re[t.FULL]);if(!m)throw new TypeError(`Invalid Version: ${version}`);if(this.raw=version,this.major=+m[1],this.minor=+m[2],this.patch=+m[3],this.major>MAX_SAFE_INTEGER||this.major<0)throw new TypeError("Invalid major version");if(this.minor>MAX_SAFE_INTEGER||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>MAX_SAFE_INTEGER||this.patch<0)throw new TypeError("Invalid patch version");m[4]?this.prerelease=m[4].split(".").map(id=>{if(/^[0-9]+$/.test(id)){const num=+id;if(num>=0&&num<MAX_SAFE_INTEGER)return num}return id}):this.prerelease=[],this.build=m[5]?m[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(other){if(debug("SemVer.compare",this.version,this.options,other),!(other instanceof SemVer)){if(typeof other=="string"&&other===this.version)return 0;other=new SemVer(other,this.options)}return other.version===this.version?0:this.compareMain(other)||this.comparePre(other)}compareMain(other){return other instanceof SemVer||(other=new SemVer(other,this.options)),compareIdentifiers(this.major,other.major)||compareIdentifiers(this.minor,other.minor)||compareIdentifiers(this.patch,other.patch)}comparePre(other){if(other instanceof SemVer||(other=new SemVer(other,this.options)),this.prerelease.length&&!other.prerelease.length)return-1;if(!this.prerelease.length&&other.prerelease.length)return 1;if(!this.prerelease.length&&!other.prerelease.length)return 0;let i=0;do{const a=this.prerelease[i],b=other.prerelease[i];if(debug("prerelease compare",i,a,b),a===void 0&&b===void 0)return 0;if(b===void 0)return 1;if(a===void 0)return-1;if(a===b)continue;return compareIdentifiers(a,b)}while(++i)}compareBuild(other){other instanceof SemVer||(other=new SemVer(other,this.options));let i=0;do{const a=this.build[i],b=other.build[i];if(debug("prerelease compare",i,a,b),a===void 0&&b===void 0)return 0;if(b===void 0)return 1;if(a===void 0)return-1;if(a===b)continue;return compareIdentifiers(a,b)}while(++i)}inc(release,identifier,identifierBase){switch(release){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",identifier,identifierBase);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",identifier,identifierBase);break;case"prepatch":this.prerelease.length=0,this.inc("patch",identifier,identifierBase),this.inc("pre",identifier,identifierBase);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",identifier,identifierBase),this.inc("pre",identifier,identifierBase);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const base=Number(identifierBase)?1:0;if(!identifier&&identifierBase===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[base];else{let i=this.prerelease.length;for(;--i>=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);if(i===-1){if(identifier===this.prerelease.join(".")&&identifierBase===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(base)}}if(identifier){let prerelease=[identifier,base];identifierBase===!1&&(prerelease=[identifier]),compareIdentifiers(this.prerelease[0],identifier)===0?isNaN(this.prerelease[1])&&(this.prerelease=prerelease):this.prerelease=prerelease}break}default:throw new Error(`invalid increment argument: ${release}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}module.exports=SemVer},15214:(module,__unused_webpack_exports,__webpack_require__)=>{const parse=__webpack_require__(96144),clean=(version,options)=>{const s=parse(version.trim().replace(/^[=v]+/,""),options);return s?s.version:null};module.exports=clean},44934:(module,__unused_webpack_exports,__webpack_require__)=>{const eq=__webpack_require__(33525),neq=__webpack_require__(60239),gt=__webpack_require__(69740),gte=__webpack_require__(43850),lt=__webpack_require__(27649),lte=__webpack_require__(44963),cmp=(a,op,b,loose)=>{switch(op){case"===":return typeof a=="object"&&(a=a.version),typeof b=="object"&&(b=b.version),a===b;case"!==":return typeof a=="object"&&(a=a.version),typeof b=="object"&&(b=b.version),a!==b;case"":case"=":case"==":return eq(a,b,loose);case"!=":return neq(a,b,loose);case">":return gt(a,b,loose);case">=":return gte(a,b,loose);case"<":return lt(a,b,loose);case"<=":return lte(a,b,loose);default:throw new TypeError(`Invalid operator: ${op}`)}};module.exports=cmp},70134:(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__(60870),parse=__webpack_require__(96144),{safeRe:re,t}=__webpack_require__(36951),coerce=(version,options)=>{if(version instanceof SemVer)return version;if(typeof version=="number"&&(version=String(version)),typeof version!="string")return null;options=options||{};let match=null;if(!options.rtl)match=version.match(re[t.COERCE]);else{let next;for(;(next=re[t.COERCERTL].exec(version))&&(!match||match.index+match[0].length!==version.length);)(!match||next.index+next[0].length!==match.index+match[0].length)&&(match=next),re[t.COERCERTL].lastIndex=next.index+next[1].length+next[2].length;re[t.COERCERTL].lastIndex=-1}return match===null?null:parse(`${match[2]}.${match[3]||"0"}.${match[4]||"0"}`,options)};module.exports=coerce},57824:(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__(60870),compareBuild=(a,b,loose)=>{const versionA=new SemVer(a,loose),versionB=new SemVer(b,loose);return versionA.compare(versionB)||versionA.compareBuild(versionB)};module.exports=compareBuild},4455:(module,__unused_webpack_exports,__webpack_require__)=>{const compare=__webpack_require__(7732),compareLoose=(a,b)=>compare(a,b,!0);module.exports=compareLoose},7732:(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__(60870),compare=(a,b,loose)=>new SemVer(a,loose).compare(new SemVer(b,loose));module.exports=compare},78069:(module,__unused_webpack_exports,__webpack_require__)=>{const parse=__webpack_require__(96144),diff=(version1,version2)=>{const v1=parse(version1,null,!0),v2=parse(version2,null,!0),comparison=v1.compare(v2);if(comparison===0)return null;const v1Higher=comparison>0,highVersion=v1Higher?v1:v2,lowVersion=v1Higher?v2:v1,highHasPre=!!highVersion.prerelease.length;if(!!lowVersion.prerelease.length&&!highHasPre)return!lowVersion.patch&&!lowVersion.minor?"major":highVersion.patch?"patch":highVersion.minor?"minor":"major";const prefix=highHasPre?"pre":"";return v1.major!==v2.major?prefix+"major":v1.minor!==v2.minor?prefix+"minor":v1.patch!==v2.patch?prefix+"patch":"prerelease"};module.exports=diff},33525:(module,__unused_webpack_exports,__webpack_require__)=>{const compare=__webpack_require__(7732),eq=(a,b,loose)=>compare(a,b,loose)===0;module.exports=eq},69740:(module,__unused_webpack_exports,__webpack_require__)=>{const compare=__webpack_require__(7732),gt=(a,b,loose)=>compare(a,b,loose)>0;module.exports=gt},43850:(module,__unused_webpack_exports,__webpack_require__)=>{const compare=__webpack_require__(7732),gte=(a,b,loose)=>compare(a,b,loose)>=0;module.exports=gte},99234:(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__(60870),inc=(version,release,options,identifier,identifierBase)=>{typeof options=="string"&&(identifierBase=identifier,identifier=options,options=void 0);try{return new SemVer(version instanceof SemVer?version.version:version,options).inc(release,identifier,identifierBase).version}catch{return null}};module.exports=inc},27649:(module,__unused_webpack_exports,__webpack_require__)=>{const compare=__webpack_require__(7732),lt=(a,b,loose)=>compare(a,b,loose)<0;module.exports=lt},44963:(module,__unused_webpack_exports,__webpack_require__)=>{const compare=__webpack_require__(7732),lte=(a,b,loose)=>compare(a,b,loose)<=0;module.exports=lte},48303:(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__(60870),major=(a,loose)=>new SemVer(a,loose).major;module.exports=major},15193:(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__(60870),minor=(a,loose)=>new SemVer(a,loose).minor;module.exports=minor},60239:(module,__unused_webpack_exports,__webpack_require__)=>{const compare=__webpack_require__(7732),neq=(a,b,loose)=>compare(a,b,loose)!==0;module.exports=neq},96144:(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__(60870),parse=(version,options,throwErrors=!1)=>{if(version instanceof SemVer)return version;try{return new SemVer(version,options)}catch(er){if(!throwErrors)return null;throw er}};module.exports=parse},82682:(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__(60870),patch=(a,loose)=>new SemVer(a,loose).patch;module.exports=patch},25718:(module,__unused_webpack_exports,__webpack_require__)=>{const parse=__webpack_require__(96144),prerelease=(version,options)=>{const parsed=parse(version,options);return parsed&&parsed.prerelease.length?parsed.prerelease:null};module.exports=prerelease},18569:(module,__unused_webpack_exports,__webpack_require__)=>{const compare=__webpack_require__(7732),rcompare=(a,b,loose)=>compare(b,a,loose);module.exports=rcompare},5701:(module,__unused_webpack_exports,__webpack_require__)=>{const compareBuild=__webpack_require__(57824),rsort=(list,loose)=>list.sort((a,b)=>compareBuild(b,a,loose));module.exports=rsort},38769:(module,__unused_webpack_exports,__webpack_require__)=>{const Range=__webpack_require__(3632),satisfies=(version,range,options)=>{try{range=new Range(range,options)}catch{return!1}return range.test(version)};module.exports=satisfies},15171:(module,__unused_webpack_exports,__webpack_require__)=>{const compareBuild=__webpack_require__(57824),sort=(list,loose)=>list.sort((a,b)=>compareBuild(a,b,loose));module.exports=sort},5275:(module,__unused_webpack_exports,__webpack_require__)=>{const parse=__webpack_require__(96144),valid=(version,options)=>{const v=parse(version,options);return v?v.version:null};module.exports=valid},41535:(module,__unused_webpack_exports,__webpack_require__)=>{const internalRe=__webpack_require__(36951),constants=__webpack_require__(8473),SemVer=__webpack_require__(60870),identifiers=__webpack_require__(34512),parse=__webpack_require__(96144),valid=__webpack_require__(5275),clean=__webpack_require__(15214),inc=__webpack_require__(99234),diff=__webpack_require__(78069),major=__webpack_require__(48303),minor=__webpack_require__(15193),patch=__webpack_require__(82682),prerelease=__webpack_require__(25718),compare=__webpack_require__(7732),rcompare=__webpack_require__(18569),compareLoose=__webpack_require__(4455),compareBuild=__webpack_require__(57824),sort=__webpack_require__(15171),rsort=__webpack_require__(5701),gt=__webpack_require__(69740),lt=__webpack_require__(27649),eq=__webpack_require__(33525),neq=__webpack_require__(60239),gte=__webpack_require__(43850),lte=__webpack_require__(44963),cmp=__webpack_require__(44934),coerce=__webpack_require__(70134),Comparator=__webpack_require__(17480),Range=__webpack_require__(3632),satisfies=__webpack_require__(38769),toComparators=__webpack_require__(56234),maxSatisfying=__webpack_require__(14661),minSatisfying=__webpack_require__(51511),minVersion=__webpack_require__(64081),validRange=__webpack_require__(52579),outside=__webpack_require__(26998),gtr=__webpack_require__(30089),ltr=__webpack_require__(15172),intersects=__webpack_require__(95732),simplifyRange=__webpack_require__(77769),subset=__webpack_require__(20067);module.exports={parse,valid,clean,inc,diff,major,minor,patch,prerelease,compare,rcompare,compareLoose,compareBuild,sort,rsort,gt,lt,eq,neq,gte,lte,cmp,coerce,Comparator,Range,satisfies,toComparators,maxSatisfying,minSatisfying,minVersion,validRange,outside,gtr,ltr,intersects,simplifyRange,subset,SemVer,re:internalRe.re,src:internalRe.src,tokens:internalRe.t,SEMVER_SPEC_VERSION:constants.SEMVER_SPEC_VERSION,RELEASE_TYPES:constants.RELEASE_TYPES,compareIdentifiers:identifiers.compareIdentifiers,rcompareIdentifiers:identifiers.rcompareIdentifiers}},8473:module=>{const SEMVER_SPEC_VERSION="2.0.0",MAX_SAFE_INTEGER=Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH=16,RELEASE_TYPES=["major","premajor","minor","preminor","patch","prepatch","prerelease"];module.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH,MAX_SAFE_INTEGER,RELEASE_TYPES,SEMVER_SPEC_VERSION,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},96706:(module,__unused_webpack_exports,__webpack_require__)=>{var process=__webpack_require__(14224);const debug=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...args)=>console.error("SEMVER",...args):()=>{};module.exports=debug},34512:module=>{const numeric=/^[0-9]+$/,compareIdentifiers=(a,b)=>{const anum=numeric.test(a),bnum=numeric.test(b);return anum&&bnum&&(a=+a,b=+b),a===b?0:anum&&!bnum?-1:bnum&&!anum?1:a<b?-1:1},rcompareIdentifiers=(a,b)=>compareIdentifiers(b,a);module.exports={compareIdentifiers,rcompareIdentifiers}},56950:module=>{const looseOption=Object.freeze({loose:!0}),emptyOpts=Object.freeze({}),parseOptions=options=>options?typeof options!="object"?looseOption:options:emptyOpts;module.exports=parseOptions},36951:(module,exports,__webpack_require__)=>{const{MAX_SAFE_COMPONENT_LENGTH}=__webpack_require__(8473),debug=__webpack_require__(96706);exports=module.exports={};const re=exports.re=[],safeRe=exports.safeRe=[],src=exports.src=[],t=exports.t={};let R=0;const createToken=(name,value,isGlobal)=>{const safe=value.split("\\s*").join("\\s{0,1}").split("\\s+").join("\\s"),index=R++;debug(name,index,value),t[name]=index,src[index]=value,re[index]=new RegExp(value,isGlobal?"g":void 0),safeRe[index]=new RegExp(safe,isGlobal?"g":void 0)};createToken("NUMERICIDENTIFIER","0|[1-9]\\d*"),createToken("NUMERICIDENTIFIERLOOSE","[0-9]+"),createToken("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),createToken("MAINVERSION",`(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`),createToken("MAINVERSIONLOOSE",`(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`),createToken("PRERELEASEIDENTIFIER",`(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`),createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`),createToken("PRERELEASE",`(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`),createToken("PRERELEASELOOSE",`(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`),createToken("BUILDIDENTIFIER","[0-9A-Za-z-]+"),createToken("BUILD",`(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`),createToken("FULLPLAIN",`v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`),createToken("FULL",`^${src[t.FULLPLAIN]}$`),createToken("LOOSEPLAIN",`[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`),createToken("LOOSE",`^${src[t.LOOSEPLAIN]}$`),createToken("GTLT","((?:<|>)?=?)"),createToken("XRANGEIDENTIFIERLOOSE",`${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),createToken("XRANGEIDENTIFIER",`${src[t.NUMERICIDENTIFIER]}|x|X|\\*`),createToken("XRANGEPLAIN",`[v=\\s]*(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?)?)?`),createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?)?)?`),createToken("XRANGE",`^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`),createToken("XRANGELOOSE",`^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`),createToken("COERCE",`(^|[^\\d])(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:$|[^\\d])`),createToken("COERCERTL",src[t.COERCE],!0),createToken("LONETILDE","(?:~>?)"),createToken("TILDETRIM",`(\\s*)${src[t.LONETILDE]}\\s+`,!0),exports.tildeTrimReplace="$1~",createToken("TILDE",`^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`),createToken("TILDELOOSE",`^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`),createToken("LONECARET","(?:\\^)"),createToken("CARETTRIM",`(\\s*)${src[t.LONECARET]}\\s+`,!0),exports.caretTrimReplace="$1^",createToken("CARET",`^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`),createToken("CARETLOOSE",`^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`),createToken("COMPARATORLOOSE",`^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`),createToken("COMPARATOR",`^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`),createToken("COMPARATORTRIM",`(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`,!0),exports.comparatorTrimReplace="$1$2$3",createToken("HYPHENRANGE",`^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*$`),createToken("HYPHENRANGELOOSE",`^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*$`),createToken("STAR","(<|>)?=?\\s*\\*"),createToken("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),createToken("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},30089:(module,__unused_webpack_exports,__webpack_require__)=>{const outside=__webpack_require__(26998),gtr=(version,range,options)=>outside(version,range,">",options);module.exports=gtr},95732:(module,__unused_webpack_exports,__webpack_require__)=>{const Range=__webpack_require__(3632),intersects=(r1,r2,options)=>(r1=new Range(r1,options),r2=new Range(r2,options),r1.intersects(r2,options));module.exports=intersects},15172:(module,__unused_webpack_exports,__webpack_require__)=>{const outside=__webpack_require__(26998),ltr=(version,range,options)=>outside(version,range,"<",options);module.exports=ltr},14661:(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__(60870),Range=__webpack_require__(3632),maxSatisfying=(versions,range,options)=>{let max=null,maxSV=null,rangeObj=null;try{rangeObj=new Range(range,options)}catch{return null}return versions.forEach(v=>{rangeObj.test(v)&&(!max||maxSV.compare(v)===-1)&&(max=v,maxSV=new SemVer(max,options))}),max};module.exports=maxSatisfying},51511:(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__(60870),Range=__webpack_require__(3632),minSatisfying=(versions,range,options)=>{let min=null,minSV=null,rangeObj=null;try{rangeObj=new Range(range,options)}catch{return null}return versions.forEach(v=>{rangeObj.test(v)&&(!min||minSV.compare(v)===1)&&(min=v,minSV=new SemVer(min,options))}),min};module.exports=minSatisfying},64081:(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__(60870),Range=__webpack_require__(3632),gt=__webpack_require__(69740),minVersion=(range,loose)=>{range=new Range(range,loose);let minver=new SemVer("0.0.0");if(range.test(minver)||(minver=new SemVer("0.0.0-0"),range.test(minver)))return minver;minver=null;for(let i=0;i<range.set.length;++i){const comparators=range.set[i];let setMin=null;comparators.forEach(comparator=>{const compver=new SemVer(comparator.semver.version);switch(comparator.operator){case">":compver.prerelease.length===0?compver.patch++:compver.prerelease.push(0),compver.raw=compver.format();case"":case">=":(!setMin||gt(compver,setMin))&&(setMin=compver);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${comparator.operator}`)}}),setMin&&(!minver||gt(minver,setMin))&&(minver=setMin)}return minver&&range.test(minver)?minver:null};module.exports=minVersion},26998:(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__(60870),Comparator=__webpack_require__(17480),{ANY}=Comparator,Range=__webpack_require__(3632),satisfies=__webpack_require__(38769),gt=__webpack_require__(69740),lt=__webpack_require__(27649),lte=__webpack_require__(44963),gte=__webpack_require__(43850),outside=(version,range,hilo,options)=>{version=new SemVer(version,options),range=new Range(range,options);let gtfn,ltefn,ltfn,comp,ecomp;switch(hilo){case">":gtfn=gt,ltefn=lte,ltfn=lt,comp=">",ecomp=">=";break;case"<":gtfn=lt,ltefn=gte,ltfn=gt,comp="<",ecomp="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(version,range,options))return!1;for(let i=0;i<range.set.length;++i){const comparators=range.set[i];let high=null,low=null;if(comparators.forEach(comparator=>{comparator.semver===ANY&&(comparator=new Comparator(">=0.0.0")),high=high||comparator,low=low||comparator,gtfn(comparator.semver,high.semver,options)?high=comparator:ltfn(comparator.semver,low.semver,options)&&(low=comparator)}),high.operator===comp||high.operator===ecomp||(!low.operator||low.operator===comp)&&ltefn(version,low.semver))return!1;if(low.operator===ecomp&&ltfn(version,low.semver))return!1}return!0};module.exports=outside},77769:(module,__unused_webpack_exports,__webpack_require__)=>{const satisfies=__webpack_require__(38769),compare=__webpack_require__(7732);module.exports=(versions,range,options)=>{const set=[];let first=null,prev=null;const v=versions.sort((a,b)=>compare(a,b,options));for(const version of v)satisfies(version,range,options)?(prev=version,first||(first=version)):(prev&&set.push([first,prev]),prev=null,first=null);first&&set.push([first,null]);const ranges=[];for(const[min,max]of set)min===max?ranges.push(min):!max&&min===v[0]?ranges.push("*"):max?min===v[0]?ranges.push(`<=${max}`):ranges.push(`${min} - ${max}`):ranges.push(`>=${min}`);const simplified=ranges.join(" || "),original=typeof range.raw=="string"?range.raw:String(range);return simplified.length<original.length?simplified:range}},20067:(module,__unused_webpack_exports,__webpack_require__)=>{const Range=__webpack_require__(3632),Comparator=__webpack_require__(17480),{ANY}=Comparator,satisfies=__webpack_require__(38769),compare=__webpack_require__(7732),subset=(sub,dom,options={})=>{if(sub===dom)return!0;sub=new Range(sub,options),dom=new Range(dom,options);let sawNonNull=!1;OUTER:for(const simpleSub of sub.set){for(const simpleDom of dom.set){const isSub=simpleSubset(simpleSub,simpleDom,options);if(sawNonNull=sawNonNull||isSub!==null,isSub)continue OUTER}if(sawNonNull)return!1}return!0},minimumVersionWithPreRelease=[new Comparator(">=0.0.0-0")],minimumVersion=[new Comparator(">=0.0.0")],simpleSubset=(sub,dom,options)=>{if(sub===dom)return!0;if(sub.length===1&&sub[0].semver===ANY){if(dom.length===1&&dom[0].semver===ANY)return!0;options.includePrerelease?sub=minimumVersionWithPreRelease:sub=minimumVersion}if(dom.length===1&&dom[0].semver===ANY){if(options.includePrerelease)return!0;dom=minimumVersion}const eqSet=new Set;let gt,lt;for(const c of sub)c.operator===">"||c.operator===">="?gt=higherGT(gt,c,options):c.operator==="<"||c.operator==="<="?lt=lowerLT(lt,c,options):eqSet.add(c.semver);if(eqSet.size>1)return null;let gtltComp;if(gt&&lt){if(gtltComp=compare(gt.semver,lt.semver,options),gtltComp>0)return null;if(gtltComp===0&&(gt.operator!==">="||lt.operator!=="<="))return null}for(const eq of eqSet){if(gt&&!satisfies(eq,String(gt),options)||lt&&!satisfies(eq,String(lt),options))return null;for(const c of dom)if(!satisfies(eq,String(c),options))return!1;return!0}let higher,lower,hasDomLT,hasDomGT,needDomLTPre=lt&&!options.includePrerelease&&lt.semver.prerelease.length?lt.semver:!1,needDomGTPre=gt&&!options.includePrerelease&&gt.semver.prerelease.length?gt.semver:!1;needDomLTPre&&needDomLTPre.prerelease.length===1&&lt.operator==="<"&&needDomLTPre.prerelease[0]===0&&(needDomLTPre=!1);for(const c of dom){if(hasDomGT=hasDomGT||c.operator===">"||c.operator===">=",hasDomLT=hasDomLT||c.operator==="<"||c.operator==="<=",gt){if(needDomGTPre&&c.semver.prerelease&&c.semver.prerelease.length&&c.semver.major===needDomGTPre.major&&c.semver.minor===needDomGTPre.minor&&c.semver.patch===needDomGTPre.patch&&(needDomGTPre=!1),c.operator===">"||c.operator===">="){if(higher=higherGT(gt,c,options),higher===c&&higher!==gt)return!1}else if(gt.operator===">="&&!satisfies(gt.semver,String(c),options))return!1}if(lt){if(needDomLTPre&&c.semver.prerelease&&c.semver.prerelease.length&&c.semver.major===needDomLTPre.major&&c.semver.minor===needDomLTPre.minor&&c.semver.patch===needDomLTPre.patch&&(needDomLTPre=!1),c.operator==="<"||c.operator==="<="){if(lower=lowerLT(lt,c,options),lower===c&&lower!==lt)return!1}else if(lt.operator==="<="&&!satisfies(lt.semver,String(c),options))return!1}if(!c.operator&&(lt||gt)&&gtltComp!==0)return!1}return!(gt&&hasDomLT&&!lt&&gtltComp!==0||lt&&hasDomGT&&!gt&&gtltComp!==0||needDomGTPre||needDomLTPre)},higherGT=(a,b,options)=>{if(!a)return b;const comp=compare(a.semver,b.semver,options);return comp>0?a:comp<0||b.operator===">"&&a.operator===">="?b:a},lowerLT=(a,b,options)=>{if(!a)return b;const comp=compare(a.semver,b.semver,options);return comp<0?a:comp>0||b.operator==="<"&&a.operator==="<="?b:a};module.exports=subset},56234:(module,__unused_webpack_exports,__webpack_require__)=>{const Range=__webpack_require__(3632),toComparators=(range,options)=>new Range(range,options).set.map(comp=>comp.map(c=>c.value).join(" ").trim().split(" "));module.exports=toComparators},52579:(module,__unused_webpack_exports,__webpack_require__)=>{const Range=__webpack_require__(3632),validRange=(range,options)=>{try{return new Range(range,options).range||"*"}catch{return null}};module.exports=validRange},28508:module=>{"use strict";module.exports=2147483647},37838:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var toPosInt=__webpack_require__(139),maxTimeout=__webpack_require__(28508);module.exports=function(value){if(value=toPosInt(value),value>maxTimeout)throw new TypeError(value+" exceeds maximum possible timeout");return value}},36158:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var isPrototype=__webpack_require__(67083);module.exports=function(value){if(typeof value!="function"||!hasOwnProperty.call(value,"length"))return!1;try{if(typeof value.length!="number"||typeof value.call!="function"||typeof value.apply!="function")return!1}catch{return!1}return!isPrototype(value)}},74849:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var isValue=__webpack_require__(53464),possibleTypes={object:!0,function:!0,undefined:!0};module.exports=function(value){return isValue(value)?hasOwnProperty.call(possibleTypes,typeof value):!1}},98637:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var isFunction=__webpack_require__(36158),classRe=/^\s*class[\s{/}]/,functionToString=Function.prototype.toString;module.exports=function(value){return!(!isFunction(value)||classRe.test(functionToString.call(value)))}},67083:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var isObject=__webpack_require__(74849);module.exports=function(value){if(!isObject(value))return!1;try{return value.constructor?value.constructor.prototype===value:!1}catch{return!1}}},53464:module=>{"use strict";var _undefined=void 0;module.exports=function(value){return value!==_undefined&&value!==null}},66119:module=>{"use strict";module.exports=function(Yallist){Yallist.prototype[Symbol.iterator]=function*(){for(let walker=this.head;walker;walker=walker.next)yield walker.value}}},83406:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=Yallist,Yallist.Node=Node,Yallist.create=Yallist;function Yallist(list){var self2=this;if(self2 instanceof Yallist||(self2=new Yallist),self2.tail=null,self2.head=null,self2.length=0,list&&typeof list.forEach=="function")list.forEach(function(item){self2.push(item)});else if(arguments.length>0)for(var i=0,l=arguments.length;i<l;i++)self2.push(arguments[i]);return self2}Yallist.prototype.removeNode=function(node){if(node.list!==this)throw new Error("removing node which does not belong to this list");var next=node.next,prev=node.prev;return next&&(next.prev=prev),prev&&(prev.next=next),node===this.head&&(this.head=next),node===this.tail&&(this.tail=prev),node.list.length--,node.next=null,node.prev=null,node.list=null,next},Yallist.prototype.unshiftNode=function(node){if(node!==this.head){node.list&&node.list.removeNode(node);var head=this.head;node.list=this,node.next=head,head&&(head.prev=node),this.head=node,this.tail||(this.tail=node),this.length++}},Yallist.prototype.pushNode=function(node){if(node!==this.tail){node.list&&node.list.removeNode(node);var tail=this.tail;node.list=this,node.prev=tail,tail&&(tail.next=node),this.tail=node,this.head||(this.head=node),this.length++}},Yallist.prototype.push=function(){for(var i=0,l=arguments.length;i<l;i++)push(this,arguments[i]);return this.length},Yallist.prototype.unshift=function(){for(var i=0,l=arguments.length;i<l;i++)unshift(this,arguments[i]);return this.length},Yallist.prototype.pop=function(){if(!!this.tail){var res=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,res}},Yallist.prototype.shift=function(){if(!!this.head){var res=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,res}},Yallist.prototype.forEach=function(fn,thisp){thisp=thisp||this;for(var walker=this.head,i=0;walker!==null;i++)fn.call(thisp,walker.value,i,this),walker=walker.next},Yallist.prototype.forEachReverse=function(fn,thisp){thisp=thisp||this;for(var walker=this.tail,i=this.length-1;walker!==null;i--)fn.call(thisp,walker.value,i,this),walker=walker.prev},Yallist.prototype.get=function(n){for(var i=0,walker=this.head;walker!==null&&i<n;i++)walker=walker.next;if(i===n&&walker!==null)return walker.value},Yallist.prototype.getReverse=function(n){for(var i=0,walker=this.tail;walker!==null&&i<n;i++)walker=walker.prev;if(i===n&&walker!==null)return walker.value},Yallist.prototype.map=function(fn,thisp){thisp=thisp||this;for(var res=new Yallist,walker=this.head;walker!==null;)res.push(fn.call(thisp,walker.value,this)),walker=walker.next;return res},Yallist.prototype.mapReverse=function(fn,thisp){thisp=thisp||this;for(var res=new Yallist,walker=this.tail;walker!==null;)res.push(fn.call(thisp,walker.value,this)),walker=walker.prev;return res},Yallist.prototype.reduce=function(fn,initial){var acc,walker=this.head;if(arguments.length>1)acc=initial;else if(this.head)walker=this.head.next,acc=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var i=0;walker!==null;i++)acc=fn(acc,walker.value,i),walker=walker.next;return acc},Yallist.prototype.reduceReverse=function(fn,initial){var acc,walker=this.tail;if(arguments.length>1)acc=initial;else if(this.tail)walker=this.tail.prev,acc=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var i=this.length-1;walker!==null;i--)acc=fn(acc,walker.value,i),walker=walker.prev;return acc},Yallist.prototype.toArray=function(){for(var arr=new Array(this.length),i=0,walker=this.head;walker!==null;i++)arr[i]=walker.value,walker=walker.next;return arr},Yallist.prototype.toArrayReverse=function(){for(var arr=new Array(this.length),i=0,walker=this.tail;walker!==null;i++)arr[i]=walker.value,walker=walker.prev;return arr},Yallist.prototype.slice=function(from,to){to=to||this.length,to<0&&(to+=this.length),from=from||0,from<0&&(from+=this.length);var ret=new Yallist;if(to<from||to<0)return ret;from<0&&(from=0),to>this.length&&(to=this.length);for(var i=0,walker=this.head;walker!==null&&i<from;i++)walker=walker.next;for(;walker!==null&&i<to;i++,walker=walker.next)ret.push(walker.value);return ret},Yallist.prototype.sliceReverse=function(from,to){to=to||this.length,to<0&&(to+=this.length),from=from||0,from<0&&(from+=this.length);var ret=new Yallist;if(to<from||to<0)return ret;from<0&&(from=0),to>this.length&&(to=this.length);for(var i=this.length,walker=this.tail;walker!==null&&i>to;i--)walker=walker.prev;for(;walker!==null&&i>from;i--,walker=walker.prev)ret.push(walker.value);return ret},Yallist.prototype.splice=function(start,deleteCount,...nodes){start>this.length&&(start=this.length-1),start<0&&(start=this.length+start);for(var i=0,walker=this.head;walker!==null&&i<start;i++)walker=walker.next;for(var ret=[],i=0;walker&&i<deleteCount;i++)ret.push(walker.value),walker=this.removeNode(walker);walker===null&&(walker=this.tail),walker!==this.head&&walker!==this.tail&&(walker=walker.prev);for(var i=0;i<nodes.length;i++)walker=insert(this,walker,nodes[i]);return ret},Yallist.prototype.reverse=function(){for(var head=this.head,tail=this.tail,walker=head;walker!==null;walker=walker.prev){var p=walker.prev;walker.prev=walker.next,walker.next=p}return this.head=tail,this.tail=head,this};function insert(self2,node,value){var inserted=node===self2.head?new Node(value,null,node,self2):new Node(value,node,node.next,self2);return inserted.next===null&&(self2.tail=inserted),inserted.prev===null&&(self2.head=inserted),self2.length++,inserted}function push(self2,item){self2.tail=new Node(item,self2.tail,null,self2),self2.head||(self2.head=self2.tail),self2.length++}function unshift(self2,item){self2.head=new Node(item,null,self2.head,self2),self2.tail||(self2.tail=self2.head),self2.length++}function Node(value,prev,next,list){if(!(this instanceof Node))return new Node(value,prev,next,list);this.list=list,this.value=value,prev?(prev.next=this,this.prev=prev):this.prev=null,next?(next.prev=this,this.next=next):this.next=null}try{__webpack_require__(66119)(Yallist)}catch{}},97667:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.NavigationProvider=exports.useNavigation=exports.useNavigate=exports.useLocation=exports.Link=void 0;var link_1=__webpack_require__(46680);Object.defineProperty(exports,"Link",{enumerable:!0,get:function(){return link_1.Link}});var use_location_1=__webpack_require__(30668);Object.defineProperty(exports,"useLocation",{enumerable:!0,get:function(){return use_location_1.useLocation}});var use_navigate_1=__webpack_require__(66342);Object.defineProperty(exports,"useNavigate",{enumerable:!0,get:function(){return use_navigate_1.useNavigate}});var navigation_provider_1=__webpack_require__(31735);Object.defineProperty(exports,"useNavigation",{enumerable:!0,get:function(){return navigation_provider_1.useNavigation}}),Object.defineProperty(exports,"NavigationProvider",{enumerable:!0,get:function(){return navigation_provider_1.NavigationProvider}})},46680: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),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}: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.Link=void 0;const react_1=__importStar(__webpack_require__(59496)),navigation_provider_1=__webpack_require__(31735),native_link_1=__webpack_require__(67394);exports.Link=(0,react_1.forwardRef)(function(props,ref){const ActualLink=(0,navigation_provider_1.useNavigation)().Link||native_link_1.NativeLink;return props.native||props.external?react_1.default.createElement(native_link_1.NativeLink,Object.assign({},props,{ref})):react_1.default.createElement(ActualLink,Object.assign({},props,{ref}))})},67394: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),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}: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.NativeLink=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),base_ui_routing_compare_url_1=__webpack_require__(15654),use_location_1=__webpack_require__(30668),externalLinkAttributes={rel:"noopener",target:"_blank"};exports.NativeLink=(0,react_1.forwardRef)(function(_a,ref){var{className,style,activeClassName,activeStyle,active,strict,exact,href,external,native,state}=_a,rest=__rest(_a,["className","style","activeClassName","activeStyle","active","strict","exact","href","external","native","state"]);const location=(0,use_location_1.useLocation)(),shouldCalcActive=!!activeClassName||!!activeStyle,isActive=(0,react_1.useMemo)(()=>shouldCalcActive?typeof active=="boolean"?active:!location||!href?!1:(0,base_ui_routing_compare_url_1.compareUrl)(location.pathname,href,{exact,strict}):!1,[active,href,location,shouldCalcActive]),externalProps=external?externalLinkAttributes:{},combinedStyles=(0,react_1.useMemo)(()=>isActive&&activeStyle?Object.assign(Object.assign({},style),activeStyle):style,[isActive,style]);return react_1.default.createElement("a",Object.assign({},externalProps,rest,{ref,href,className:(0,classnames_1.default)(className,isActive&&activeClassName),style:combinedStyles}))})},31735: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),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}: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.NavigationProvider=exports.useNavigation=exports.NavigationContext=void 0;const react_1=__importStar(__webpack_require__(59496));exports.NavigationContext=react_1.default.createContext({});function useNavigation(){return(0,react_1.useContext)(exports.NavigationContext)}exports.useNavigation=useNavigation;function NavigationProvider({children,implementation}){return react_1.default.createElement(exports.NavigationContext.Provider,{value:implementation},children)}exports.NavigationProvider=NavigationProvider},30668:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLocation=void 0;const navigation_provider_1=__webpack_require__(31735);function useLocation(){return((0,navigation_provider_1.useNavigation)().useLocation||NativeUseLocation)()}exports.useLocation=useLocation;function NativeUseLocation(){if(!(typeof window>"u"))return window.location}},66342:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useNavigate=void 0;const navigation_provider_1=__webpack_require__(31735);function useNavigate(){var _a;const nav=(0,navigation_provider_1.useNavigation)();return((_a=nav.useNavigate)===null||_a===void 0?void 0:_a.call(nav))||nativeNavigator}exports.useNavigate=useNavigate;function nativeNavigator(target,{replace}={}){if(typeof window>"u")throw new Error("base-react.navigation.use-location - cannot use native navigator outside of browser. Inject a custom useNavigate, or use navigation after mount");const{location,history}=window;typeof target=="number"?history.go(target):replace?location.replace(target):location.assign(target)}},38453:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LoaderRibbon=void 0;var loader_ribbon_1=__webpack_require__(27216);Object.defineProperty(exports,"LoaderRibbon",{enumerable:!0,get:function(){return loader_ribbon_1.LoaderRibbon}})},27216:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __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.LoaderRibbon=void 0;const classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),loader_ribbon_module_scss_1=__importDefault(__webpack_require__(7489));function LoaderRibbon(_a){var{active,className}=_a,rest=__rest(_a,["active","className"]);return react_1.default.createElement("div",Object.assign({},rest,{className:classnames_1.default(className,loader_ribbon_module_scss_1.default.loader,active&&loader_ribbon_module_scss_1.default.loading)}),react_1.default.createElement("div",{className:loader_ribbon_module_scss_1.default.progress}))}exports.LoaderRibbon=LoaderRibbon},37072: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.compareUrl=void 0;const url_parse_1=__importDefault(__webpack_require__(54386));function compareUrl(baseUrl,toMatchUrl,{exact,strict}={}){if(baseUrl===toMatchUrl)return!0;strict||(baseUrl=baseUrl.replace(/\/(?=[?#]|$)/,""),toMatchUrl=toMatchUrl.replace(/\/(?=[?#]|$)/,""));const base=url_parse_1.default(baseUrl),match=url_parse_1.default(toMatchUrl),subUrl=isSubUrl(base,match),exactMatch=!exact||isExactMatch(base,match),strictMatch=!strict||isStrictMatch(base,match);return subUrl&&exactMatch&&strictMatch}exports.compareUrl=compareUrl;function isSubUrl(base,match){return(!match.protocol||match.protocol===base.protocol)&&(!match.hostname||match.hostname===base.hostname)&&(!match.port||match.port===base.port)&&(!match.pathname||base.pathname.startsWith(match.pathname))&&(!match.query||isSubObject(match.query,base.query))&&(!match.hash||match.hash===base.hash)&&(!match.password||match.password===base.password)&&(!match.username||match.username===base.username)}function isExactMatch(base,match){return(!match.pathname||base.pathname===match.pathname)&&(!match.query||isSubObject(base.query,match.query))}function isStrictMatch(base,match){return!match.pathname||base.pathname.endsWith("/")===match.pathname.endsWith("/")}function isSubObject(source,target){return Object.keys(source).every(key=>source[key]===target[key])}},15654:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.compareUrl=void 0;var compare_url_1=__webpack_require__(37072);Object.defineProperty(exports,"compareUrl",{enumerable:!0,get:function(){return compare_url_1.compareUrl}})},24920: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.Composer=void 0;const react_1=__importDefault(__webpack_require__(59496));function Composer(props){const{components=[],children}=props,arrayified=components.map(tuple=>Array.isArray(tuple)?tuple:[tuple,void 0]);return react_1.default.createElement(react_1.default.Fragment,null,arrayified.reduceRight((acc,[Comp,forwardProps])=>react_1.default.createElement(Comp,Object.assign({},forwardProps),acc),children))}exports.Composer=Composer},97383:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Composer=void 0;var composer_1=__webpack_require__(24920);Object.defineProperty(exports,"Composer",{enumerable:!0,get:function(){return composer_1.Composer}})},93042:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.links=void 0;var links_1=__webpack_require__(39204);Object.defineProperty(exports,"links",{enumerable:!0,get:function(){return links_1.links}})},39204:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.links=void 0,exports.links={docs:"https://bit.dev/docs",github:"https://github.com/teambit/bit",slack:"https://join.slack.com/t/bit-dev-community/shared_invite/zt-1el4b4sb5-FpgRefqUiZbUH9lvnHgwRg",blog:"https://bit.cloud/blog",twitter:"https://twitter.com/bitdev_",linkedin:"https://www.linkedin.com/company/bit-dev",bitRegistry:"https://node.bit.cloud",youtube:"https://www.youtube.com/c/Bitdev/videos",careers:"https://bit.breezy.hr"}},56435: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.ContactIcons=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_react_navigation_link_1=__webpack_require__(97667),community_constants_links_1=__webpack_require__(93042),styles={link:{textDecoration:"none",lineHeight:"inherit",color:"unset"},logo:{width:"24px",height:"24px",margin:"0 13px"}};function ContactIcons(props){return react_1.default.createElement("div",Object.assign({style:Object.assign(Object.assign({},styles.iconLine),props.style)},props),react_1.default.createElement(base_react_navigation_link_1.Link,{external:!0,style:styles.link,href:community_constants_links_1.links.slack},react_1.default.createElement("img",{alt:"slack",style:styles.logo,src:"https://static.bit.dev/harmony/slack-round-icon.svg"})),react_1.default.createElement(base_react_navigation_link_1.Link,{external:!0,style:styles.link,href:community_constants_links_1.links.github},react_1.default.createElement("img",{alt:"github",style:styles.logo,src:"https://static.bit.dev/harmony/github.svg"})),react_1.default.createElement(base_react_navigation_link_1.Link,{external:!0,style:styles.link,href:community_constants_links_1.links.docs},react_1.default.createElement("img",{alt:"bit docs",style:styles.logo,src:"https://static.bit.dev/bit-logo.svg"})))}exports.ContactIcons=ContactIcons},39091:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __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.ErrorPage=void 0;const react_1=__importDefault(__webpack_require__(59496)),styles={errorPage:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",margin:"auto",padding:"24px",textAlign:"center"},title:{fontWeight:"bold",margin:"0 0 24px 0"},img:{maxWidth:"700px",marginBottom:"24px",width:"100%"}},inlineStyles=`
51
+ ***************************************************************************** */var Reflect2;(function(Reflect3){(function(factory){var root=typeof __webpack_require__.g=="object"?__webpack_require__.g:typeof self=="object"?self:typeof this=="object"?this:Function("return this;")(),exporter=makeExporter(Reflect3);typeof root.Reflect>"u"?root.Reflect=Reflect3:exporter=makeExporter(root.Reflect,exporter),factory(exporter);function makeExporter(target,previous){return function(key,value){typeof target[key]!="function"&&Object.defineProperty(target,key,{configurable:!0,writable:!0,value}),previous&&previous(key,value)}}})(function(exporter){var hasOwn=Object.prototype.hasOwnProperty,supportsSymbol=typeof Symbol=="function",toPrimitiveSymbol=supportsSymbol&&typeof Symbol.toPrimitive<"u"?Symbol.toPrimitive:"@@toPrimitive",iteratorSymbol=supportsSymbol&&typeof Symbol.iterator<"u"?Symbol.iterator:"@@iterator",supportsCreate=typeof Object.create=="function",supportsProto={__proto__:[]}instanceof Array,downLevel=!supportsCreate&&!supportsProto,HashMap={create:supportsCreate?function(){return MakeDictionary(Object.create(null))}:supportsProto?function(){return MakeDictionary({__proto__:null})}:function(){return MakeDictionary({})},has:downLevel?function(map,key){return hasOwn.call(map,key)}:function(map,key){return key in map},get:downLevel?function(map,key){return hasOwn.call(map,key)?map[key]:void 0}:function(map,key){return map[key]}},functionPrototype=Object.getPrototypeOf(Function),usePolyfill=typeof process=="object"&&process.env&&process.env.REFLECT_METADATA_USE_MAP_POLYFILL==="true",_Map=!usePolyfill&&typeof Map=="function"&&typeof Map.prototype.entries=="function"?Map:CreateMapPolyfill(),_Set=!usePolyfill&&typeof Set=="function"&&typeof Set.prototype.entries=="function"?Set:CreateSetPolyfill(),_WeakMap=!usePolyfill&&typeof WeakMap=="function"?WeakMap:CreateWeakMapPolyfill(),Metadata=new _WeakMap;function decorate(decorators,target,propertyKey,attributes){if(IsUndefined(propertyKey)){if(!IsArray(decorators))throw new TypeError;if(!IsConstructor(target))throw new TypeError;return DecorateConstructor(decorators,target)}else{if(!IsArray(decorators))throw new TypeError;if(!IsObject(target))throw new TypeError;if(!IsObject(attributes)&&!IsUndefined(attributes)&&!IsNull(attributes))throw new TypeError;return IsNull(attributes)&&(attributes=void 0),propertyKey=ToPropertyKey(propertyKey),DecorateProperty(decorators,target,propertyKey,attributes)}}exporter("decorate",decorate);function metadata(metadataKey,metadataValue){function decorator(target,propertyKey){if(!IsObject(target))throw new TypeError;if(!IsUndefined(propertyKey)&&!IsPropertyKey(propertyKey))throw new TypeError;OrdinaryDefineOwnMetadata(metadataKey,metadataValue,target,propertyKey)}return decorator}exporter("metadata",metadata);function defineMetadata(metadataKey,metadataValue,target,propertyKey){if(!IsObject(target))throw new TypeError;return IsUndefined(propertyKey)||(propertyKey=ToPropertyKey(propertyKey)),OrdinaryDefineOwnMetadata(metadataKey,metadataValue,target,propertyKey)}exporter("defineMetadata",defineMetadata);function hasMetadata(metadataKey,target,propertyKey){if(!IsObject(target))throw new TypeError;return IsUndefined(propertyKey)||(propertyKey=ToPropertyKey(propertyKey)),OrdinaryHasMetadata(metadataKey,target,propertyKey)}exporter("hasMetadata",hasMetadata);function hasOwnMetadata(metadataKey,target,propertyKey){if(!IsObject(target))throw new TypeError;return IsUndefined(propertyKey)||(propertyKey=ToPropertyKey(propertyKey)),OrdinaryHasOwnMetadata(metadataKey,target,propertyKey)}exporter("hasOwnMetadata",hasOwnMetadata);function getMetadata(metadataKey,target,propertyKey){if(!IsObject(target))throw new TypeError;return IsUndefined(propertyKey)||(propertyKey=ToPropertyKey(propertyKey)),OrdinaryGetMetadata(metadataKey,target,propertyKey)}exporter("getMetadata",getMetadata);function getOwnMetadata(metadataKey,target,propertyKey){if(!IsObject(target))throw new TypeError;return IsUndefined(propertyKey)||(propertyKey=ToPropertyKey(propertyKey)),OrdinaryGetOwnMetadata(metadataKey,target,propertyKey)}exporter("getOwnMetadata",getOwnMetadata);function getMetadataKeys(target,propertyKey){if(!IsObject(target))throw new TypeError;return IsUndefined(propertyKey)||(propertyKey=ToPropertyKey(propertyKey)),OrdinaryMetadataKeys(target,propertyKey)}exporter("getMetadataKeys",getMetadataKeys);function getOwnMetadataKeys(target,propertyKey){if(!IsObject(target))throw new TypeError;return IsUndefined(propertyKey)||(propertyKey=ToPropertyKey(propertyKey)),OrdinaryOwnMetadataKeys(target,propertyKey)}exporter("getOwnMetadataKeys",getOwnMetadataKeys);function deleteMetadata(metadataKey,target,propertyKey){if(!IsObject(target))throw new TypeError;IsUndefined(propertyKey)||(propertyKey=ToPropertyKey(propertyKey));var metadataMap=GetOrCreateMetadataMap(target,propertyKey,!1);if(IsUndefined(metadataMap)||!metadataMap.delete(metadataKey))return!1;if(metadataMap.size>0)return!0;var targetMetadata=Metadata.get(target);return targetMetadata.delete(propertyKey),targetMetadata.size>0||Metadata.delete(target),!0}exporter("deleteMetadata",deleteMetadata);function DecorateConstructor(decorators,target){for(var i=decorators.length-1;i>=0;--i){var decorator=decorators[i],decorated=decorator(target);if(!IsUndefined(decorated)&&!IsNull(decorated)){if(!IsConstructor(decorated))throw new TypeError;target=decorated}}return target}function DecorateProperty(decorators,target,propertyKey,descriptor){for(var i=decorators.length-1;i>=0;--i){var decorator=decorators[i],decorated=decorator(target,propertyKey,descriptor);if(!IsUndefined(decorated)&&!IsNull(decorated)){if(!IsObject(decorated))throw new TypeError;descriptor=decorated}}return descriptor}function GetOrCreateMetadataMap(O,P,Create){var targetMetadata=Metadata.get(O);if(IsUndefined(targetMetadata)){if(!Create)return;targetMetadata=new _Map,Metadata.set(O,targetMetadata)}var metadataMap=targetMetadata.get(P);if(IsUndefined(metadataMap)){if(!Create)return;metadataMap=new _Map,targetMetadata.set(P,metadataMap)}return metadataMap}function OrdinaryHasMetadata(MetadataKey,O,P){var hasOwn2=OrdinaryHasOwnMetadata(MetadataKey,O,P);if(hasOwn2)return!0;var parent=OrdinaryGetPrototypeOf(O);return IsNull(parent)?!1:OrdinaryHasMetadata(MetadataKey,parent,P)}function OrdinaryHasOwnMetadata(MetadataKey,O,P){var metadataMap=GetOrCreateMetadataMap(O,P,!1);return IsUndefined(metadataMap)?!1:ToBoolean(metadataMap.has(MetadataKey))}function OrdinaryGetMetadata(MetadataKey,O,P){var hasOwn2=OrdinaryHasOwnMetadata(MetadataKey,O,P);if(hasOwn2)return OrdinaryGetOwnMetadata(MetadataKey,O,P);var parent=OrdinaryGetPrototypeOf(O);if(!IsNull(parent))return OrdinaryGetMetadata(MetadataKey,parent,P)}function OrdinaryGetOwnMetadata(MetadataKey,O,P){var metadataMap=GetOrCreateMetadataMap(O,P,!1);if(!IsUndefined(metadataMap))return metadataMap.get(MetadataKey)}function OrdinaryDefineOwnMetadata(MetadataKey,MetadataValue,O,P){var metadataMap=GetOrCreateMetadataMap(O,P,!0);metadataMap.set(MetadataKey,MetadataValue)}function OrdinaryMetadataKeys(O,P){var ownKeys=OrdinaryOwnMetadataKeys(O,P),parent=OrdinaryGetPrototypeOf(O);if(parent===null)return ownKeys;var parentKeys=OrdinaryMetadataKeys(parent,P);if(parentKeys.length<=0)return ownKeys;if(ownKeys.length<=0)return parentKeys;for(var set=new _Set,keys=[],_i=0,ownKeys_1=ownKeys;_i<ownKeys_1.length;_i++){var key=ownKeys_1[_i],hasKey=set.has(key);hasKey||(set.add(key),keys.push(key))}for(var _a=0,parentKeys_1=parentKeys;_a<parentKeys_1.length;_a++){var key=parentKeys_1[_a],hasKey=set.has(key);hasKey||(set.add(key),keys.push(key))}return keys}function OrdinaryOwnMetadataKeys(O,P){var keys=[],metadataMap=GetOrCreateMetadataMap(O,P,!1);if(IsUndefined(metadataMap))return keys;for(var keysObj=metadataMap.keys(),iterator=GetIterator(keysObj),k=0;;){var next=IteratorStep(iterator);if(!next)return keys.length=k,keys;var nextValue=IteratorValue(next);try{keys[k]=nextValue}catch(e){try{IteratorClose(iterator)}finally{throw e}}k++}}function Type(x){if(x===null)return 1;switch(typeof x){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return x===null?1:6;default:return 6}}function IsUndefined(x){return x===void 0}function IsNull(x){return x===null}function IsSymbol(x){return typeof x=="symbol"}function IsObject(x){return typeof x=="object"?x!==null:typeof x=="function"}function ToPrimitive(input,PreferredType){switch(Type(input)){case 0:return input;case 1:return input;case 2:return input;case 3:return input;case 4:return input;case 5:return input}var hint=PreferredType===3?"string":PreferredType===5?"number":"default",exoticToPrim=GetMethod(input,toPrimitiveSymbol);if(exoticToPrim!==void 0){var result=exoticToPrim.call(input,hint);if(IsObject(result))throw new TypeError;return result}return OrdinaryToPrimitive(input,hint==="default"?"number":hint)}function OrdinaryToPrimitive(O,hint){if(hint==="string"){var toString_1=O.toString;if(IsCallable(toString_1)){var result=toString_1.call(O);if(!IsObject(result))return result}var valueOf=O.valueOf;if(IsCallable(valueOf)){var result=valueOf.call(O);if(!IsObject(result))return result}}else{var valueOf=O.valueOf;if(IsCallable(valueOf)){var result=valueOf.call(O);if(!IsObject(result))return result}var toString_2=O.toString;if(IsCallable(toString_2)){var result=toString_2.call(O);if(!IsObject(result))return result}}throw new TypeError}function ToBoolean(argument){return!!argument}function ToString(argument){return""+argument}function ToPropertyKey(argument){var key=ToPrimitive(argument,3);return IsSymbol(key)?key:ToString(key)}function IsArray(argument){return Array.isArray?Array.isArray(argument):argument instanceof Object?argument instanceof Array:Object.prototype.toString.call(argument)==="[object Array]"}function IsCallable(argument){return typeof argument=="function"}function IsConstructor(argument){return typeof argument=="function"}function IsPropertyKey(argument){switch(Type(argument)){case 3:return!0;case 4:return!0;default:return!1}}function GetMethod(V,P){var func=V[P];if(func!=null){if(!IsCallable(func))throw new TypeError;return func}}function GetIterator(obj){var method=GetMethod(obj,iteratorSymbol);if(!IsCallable(method))throw new TypeError;var iterator=method.call(obj);if(!IsObject(iterator))throw new TypeError;return iterator}function IteratorValue(iterResult){return iterResult.value}function IteratorStep(iterator){var result=iterator.next();return result.done?!1:result}function IteratorClose(iterator){var f=iterator.return;f&&f.call(iterator)}function OrdinaryGetPrototypeOf(O){var proto=Object.getPrototypeOf(O);if(typeof O!="function"||O===functionPrototype||proto!==functionPrototype)return proto;var prototype=O.prototype,prototypeProto=prototype&&Object.getPrototypeOf(prototype);if(prototypeProto==null||prototypeProto===Object.prototype)return proto;var constructor=prototypeProto.constructor;return typeof constructor!="function"||constructor===O?proto:constructor}function CreateMapPolyfill(){var cacheSentinel={},arraySentinel=[],MapIterator=function(){function MapIterator2(keys,values,selector){this._index=0,this._keys=keys,this._values=values,this._selector=selector}return MapIterator2.prototype["@@iterator"]=function(){return this},MapIterator2.prototype[iteratorSymbol]=function(){return this},MapIterator2.prototype.next=function(){var index=this._index;if(index>=0&&index<this._keys.length){var result=this._selector(this._keys[index],this._values[index]);return index+1>=this._keys.length?(this._index=-1,this._keys=arraySentinel,this._values=arraySentinel):this._index++,{value:result,done:!1}}return{value:void 0,done:!0}},MapIterator2.prototype.throw=function(error){throw this._index>=0&&(this._index=-1,this._keys=arraySentinel,this._values=arraySentinel),error},MapIterator2.prototype.return=function(value){return this._index>=0&&(this._index=-1,this._keys=arraySentinel,this._values=arraySentinel),{value,done:!0}},MapIterator2}();return function(){function Map2(){this._keys=[],this._values=[],this._cacheKey=cacheSentinel,this._cacheIndex=-2}return Object.defineProperty(Map2.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),Map2.prototype.has=function(key){return this._find(key,!1)>=0},Map2.prototype.get=function(key){var index=this._find(key,!1);return index>=0?this._values[index]:void 0},Map2.prototype.set=function(key,value){var index=this._find(key,!0);return this._values[index]=value,this},Map2.prototype.delete=function(key){var index=this._find(key,!1);if(index>=0){for(var size=this._keys.length,i=index+1;i<size;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,key===this._cacheKey&&(this._cacheKey=cacheSentinel,this._cacheIndex=-2),!0}return!1},Map2.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=cacheSentinel,this._cacheIndex=-2},Map2.prototype.keys=function(){return new MapIterator(this._keys,this._values,getKey)},Map2.prototype.values=function(){return new MapIterator(this._keys,this._values,getValue)},Map2.prototype.entries=function(){return new MapIterator(this._keys,this._values,getEntry)},Map2.prototype["@@iterator"]=function(){return this.entries()},Map2.prototype[iteratorSymbol]=function(){return this.entries()},Map2.prototype._find=function(key,insert){return this._cacheKey!==key&&(this._cacheIndex=this._keys.indexOf(this._cacheKey=key)),this._cacheIndex<0&&insert&&(this._cacheIndex=this._keys.length,this._keys.push(key),this._values.push(void 0)),this._cacheIndex},Map2}();function getKey(key,_){return key}function getValue(_,value){return value}function getEntry(key,value){return[key,value]}}function CreateSetPolyfill(){return function(){function Set2(){this._map=new _Map}return Object.defineProperty(Set2.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),Set2.prototype.has=function(value){return this._map.has(value)},Set2.prototype.add=function(value){return this._map.set(value,value),this},Set2.prototype.delete=function(value){return this._map.delete(value)},Set2.prototype.clear=function(){this._map.clear()},Set2.prototype.keys=function(){return this._map.keys()},Set2.prototype.values=function(){return this._map.values()},Set2.prototype.entries=function(){return this._map.entries()},Set2.prototype["@@iterator"]=function(){return this.keys()},Set2.prototype[iteratorSymbol]=function(){return this.keys()},Set2}()}function CreateWeakMapPolyfill(){var UUID_SIZE=16,keys=HashMap.create(),rootKey=CreateUniqueKey();return function(){function WeakMap2(){this._key=CreateUniqueKey()}return WeakMap2.prototype.has=function(target){var table=GetOrCreateWeakMapTable(target,!1);return table!==void 0?HashMap.has(table,this._key):!1},WeakMap2.prototype.get=function(target){var table=GetOrCreateWeakMapTable(target,!1);return table!==void 0?HashMap.get(table,this._key):void 0},WeakMap2.prototype.set=function(target,value){var table=GetOrCreateWeakMapTable(target,!0);return table[this._key]=value,this},WeakMap2.prototype.delete=function(target){var table=GetOrCreateWeakMapTable(target,!1);return table!==void 0?delete table[this._key]:!1},WeakMap2.prototype.clear=function(){this._key=CreateUniqueKey()},WeakMap2}();function CreateUniqueKey(){var key;do key="@@WeakMap@@"+CreateUUID();while(HashMap.has(keys,key));return keys[key]=!0,key}function GetOrCreateWeakMapTable(target,create){if(!hasOwn.call(target,rootKey)){if(!create)return;Object.defineProperty(target,rootKey,{value:HashMap.create()})}return target[rootKey]}function FillRandomBytes(buffer,size){for(var i=0;i<size;++i)buffer[i]=Math.random()*255|0;return buffer}function GenRandomBytes(size){return typeof Uint8Array=="function"?typeof crypto<"u"?crypto.getRandomValues(new Uint8Array(size)):typeof msCrypto<"u"?msCrypto.getRandomValues(new Uint8Array(size)):FillRandomBytes(new Uint8Array(size),size):FillRandomBytes(new Array(size),size)}function CreateUUID(){var data=GenRandomBytes(UUID_SIZE);data[6]=data[6]&79|64,data[8]=data[8]&191|128;for(var result="",offset=0;offset<UUID_SIZE;++offset){var byte=data[offset];(offset===4||offset===6||offset===8)&&(result+="-"),byte<16&&(result+="0"),result+=byte.toString(16).toLowerCase()}return result}}function MakeDictionary(obj){return obj.__=void 0,delete obj.__,obj}})})(Reflect2||(Reflect2={}))},59525:(module,__unused_webpack_exports,__webpack_require__)=>{const ANY=Symbol("SemVer ANY");class Comparator{static get ANY(){return ANY}constructor(comp,options){if(options=parseOptions(options),comp instanceof Comparator){if(comp.loose===!!options.loose)return comp;comp=comp.value}comp=comp.trim().split(/\s+/).join(" "),debug("comparator",comp,options),this.options=options,this.loose=!!options.loose,this.parse(comp),this.semver===ANY?this.value="":this.value=this.operator+this.semver.version,debug("comp",this)}parse(comp){const r=this.options.loose?re[t.COMPARATORLOOSE]:re[t.COMPARATOR],m=comp.match(r);if(!m)throw new TypeError(`Invalid comparator: ${comp}`);this.operator=m[1]!==void 0?m[1]:"",this.operator==="="&&(this.operator=""),m[2]?this.semver=new SemVer(m[2],this.options.loose):this.semver=ANY}toString(){return this.value}test(version){if(debug("Comparator.test",version,this.options.loose),this.semver===ANY||version===ANY)return!0;if(typeof version=="string")try{version=new SemVer(version,this.options)}catch{return!1}return cmp(version,this.operator,this.semver,this.options)}intersects(comp,options){if(!(comp instanceof Comparator))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new Range(comp.value,options).test(this.value):comp.operator===""?comp.value===""?!0:new Range(this.value,options).test(comp.semver):(options=parseOptions(options),options.includePrerelease&&(this.value==="<0.0.0-0"||comp.value==="<0.0.0-0")||!options.includePrerelease&&(this.value.startsWith("<0.0.0")||comp.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&comp.operator.startsWith(">")||this.operator.startsWith("<")&&comp.operator.startsWith("<")||this.semver.version===comp.semver.version&&this.operator.includes("=")&&comp.operator.includes("=")||cmp(this.semver,"<",comp.semver,options)&&this.operator.startsWith(">")&&comp.operator.startsWith("<")||cmp(this.semver,">",comp.semver,options)&&this.operator.startsWith("<")&&comp.operator.startsWith(">")))}}module.exports=Comparator;const parseOptions=__webpack_require__(12217),{safeRe:re,t}=__webpack_require__(91121),cmp=__webpack_require__(89578),debug=__webpack_require__(22401),SemVer=__webpack_require__(25402),Range=__webpack_require__(32703)},32703:(module,__unused_webpack_exports,__webpack_require__)=>{class Range{constructor(range,options){if(options=parseOptions(options),range instanceof Range)return range.loose===!!options.loose&&range.includePrerelease===!!options.includePrerelease?range:new Range(range.raw,options);if(range instanceof Comparator)return this.raw=range.value,this.set=[[range]],this.format(),this;if(this.options=options,this.loose=!!options.loose,this.includePrerelease=!!options.includePrerelease,this.raw=range.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(r=>this.parseRange(r)).filter(c=>c.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const first=this.set[0];if(this.set=this.set.filter(c=>!isNullSet(c[0])),this.set.length===0)this.set=[first];else if(this.set.length>1){for(const c of this.set)if(c.length===1&&isAny(c[0])){this.set=[c];break}}}this.format()}format(){return this.range=this.set.map(comps=>comps.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(range){const memoKey=((this.options.includePrerelease&&FLAG_INCLUDE_PRERELEASE)|(this.options.loose&&FLAG_LOOSE))+":"+range,cached=cache.get(memoKey);if(cached)return cached;const loose=this.options.loose,hr=loose?re[t.HYPHENRANGELOOSE]:re[t.HYPHENRANGE];range=range.replace(hr,hyphenReplace(this.options.includePrerelease)),debug("hyphen replace",range),range=range.replace(re[t.COMPARATORTRIM],comparatorTrimReplace),debug("comparator trim",range),range=range.replace(re[t.TILDETRIM],tildeTrimReplace),range=range.replace(re[t.CARETTRIM],caretTrimReplace);let rangeList=range.split(" ").map(comp=>parseComparator(comp,this.options)).join(" ").split(/\s+/).map(comp=>replaceGTE0(comp,this.options));loose&&(rangeList=rangeList.filter(comp=>(debug("loose invalid filter",comp,this.options),!!comp.match(re[t.COMPARATORLOOSE])))),debug("range list",rangeList);const rangeMap=new Map,comparators=rangeList.map(comp=>new Comparator(comp,this.options));for(const comp of comparators){if(isNullSet(comp))return[comp];rangeMap.set(comp.value,comp)}rangeMap.size>1&&rangeMap.has("")&&rangeMap.delete("");const result=[...rangeMap.values()];return cache.set(memoKey,result),result}intersects(range,options){if(!(range instanceof Range))throw new TypeError("a Range is required");return this.set.some(thisComparators=>isSatisfiable(thisComparators,options)&&range.set.some(rangeComparators=>isSatisfiable(rangeComparators,options)&&thisComparators.every(thisComparator=>rangeComparators.every(rangeComparator=>thisComparator.intersects(rangeComparator,options)))))}test(version){if(!version)return!1;if(typeof version=="string")try{version=new SemVer(version,this.options)}catch{return!1}for(let i=0;i<this.set.length;i++)if(testSet(this.set[i],version,this.options))return!0;return!1}}module.exports=Range;const LRU=__webpack_require__(19790),cache=new LRU({max:1e3}),parseOptions=__webpack_require__(12217),Comparator=__webpack_require__(59525),debug=__webpack_require__(22401),SemVer=__webpack_require__(25402),{safeRe:re,t,comparatorTrimReplace,tildeTrimReplace,caretTrimReplace}=__webpack_require__(91121),{FLAG_INCLUDE_PRERELEASE,FLAG_LOOSE}=__webpack_require__(1231),isNullSet=c=>c.value==="<0.0.0-0",isAny=c=>c.value==="",isSatisfiable=(comparators,options)=>{let result=!0;const remainingComparators=comparators.slice();let testComparator=remainingComparators.pop();for(;result&&remainingComparators.length;)result=remainingComparators.every(otherComparator=>testComparator.intersects(otherComparator,options)),testComparator=remainingComparators.pop();return result},parseComparator=(comp,options)=>(debug("comp",comp,options),comp=replaceCarets(comp,options),debug("caret",comp),comp=replaceTildes(comp,options),debug("tildes",comp),comp=replaceXRanges(comp,options),debug("xrange",comp),comp=replaceStars(comp,options),debug("stars",comp),comp),isX=id=>!id||id.toLowerCase()==="x"||id==="*",replaceTildes=(comp,options)=>comp.trim().split(/\s+/).map(c=>replaceTilde(c,options)).join(" "),replaceTilde=(comp,options)=>{const r=options.loose?re[t.TILDELOOSE]:re[t.TILDE];return comp.replace(r,(_,M,m,p,pr)=>{debug("tilde",comp,_,M,m,p,pr);let ret;return isX(M)?ret="":isX(m)?ret=`>=${M}.0.0 <${+M+1}.0.0-0`:isX(p)?ret=`>=${M}.${m}.0 <${M}.${+m+1}.0-0`:pr?(debug("replaceTilde pr",pr),ret=`>=${M}.${m}.${p}-${pr} <${M}.${+m+1}.0-0`):ret=`>=${M}.${m}.${p} <${M}.${+m+1}.0-0`,debug("tilde return",ret),ret})},replaceCarets=(comp,options)=>comp.trim().split(/\s+/).map(c=>replaceCaret(c,options)).join(" "),replaceCaret=(comp,options)=>{debug("caret",comp,options);const r=options.loose?re[t.CARETLOOSE]:re[t.CARET],z=options.includePrerelease?"-0":"";return comp.replace(r,(_,M,m,p,pr)=>{debug("caret",comp,_,M,m,p,pr);let ret;return isX(M)?ret="":isX(m)?ret=`>=${M}.0.0${z} <${+M+1}.0.0-0`:isX(p)?M==="0"?ret=`>=${M}.${m}.0${z} <${M}.${+m+1}.0-0`:ret=`>=${M}.${m}.0${z} <${+M+1}.0.0-0`:pr?(debug("replaceCaret pr",pr),M==="0"?m==="0"?ret=`>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p+1}-0`:ret=`>=${M}.${m}.${p}-${pr} <${M}.${+m+1}.0-0`:ret=`>=${M}.${m}.${p}-${pr} <${+M+1}.0.0-0`):(debug("no pr"),M==="0"?m==="0"?ret=`>=${M}.${m}.${p}${z} <${M}.${m}.${+p+1}-0`:ret=`>=${M}.${m}.${p}${z} <${M}.${+m+1}.0-0`:ret=`>=${M}.${m}.${p} <${+M+1}.0.0-0`),debug("caret return",ret),ret})},replaceXRanges=(comp,options)=>(debug("replaceXRanges",comp,options),comp.split(/\s+/).map(c=>replaceXRange(c,options)).join(" ")),replaceXRange=(comp,options)=>{comp=comp.trim();const r=options.loose?re[t.XRANGELOOSE]:re[t.XRANGE];return comp.replace(r,(ret,gtlt,M,m,p,pr)=>{debug("xRange",comp,ret,gtlt,M,m,p,pr);const xM=isX(M),xm=xM||isX(m),xp=xm||isX(p),anyX=xp;return gtlt==="="&&anyX&&(gtlt=""),pr=options.includePrerelease?"-0":"",xM?gtlt===">"||gtlt==="<"?ret="<0.0.0-0":ret="*":gtlt&&anyX?(xm&&(m=0),p=0,gtlt===">"?(gtlt=">=",xm?(M=+M+1,m=0,p=0):(m=+m+1,p=0)):gtlt==="<="&&(gtlt="<",xm?M=+M+1:m=+m+1),gtlt==="<"&&(pr="-0"),ret=`${gtlt+M}.${m}.${p}${pr}`):xm?ret=`>=${M}.0.0${pr} <${+M+1}.0.0-0`:xp&&(ret=`>=${M}.${m}.0${pr} <${M}.${+m+1}.0-0`),debug("xRange return",ret),ret})},replaceStars=(comp,options)=>(debug("replaceStars",comp,options),comp.trim().replace(re[t.STAR],"")),replaceGTE0=(comp,options)=>(debug("replaceGTE0",comp,options),comp.trim().replace(re[options.includePrerelease?t.GTE0PRE:t.GTE0],"")),hyphenReplace=incPr=>($0,from,fM,fm,fp,fpr,fb,to,tM,tm,tp,tpr,tb)=>(isX(fM)?from="":isX(fm)?from=`>=${fM}.0.0${incPr?"-0":""}`:isX(fp)?from=`>=${fM}.${fm}.0${incPr?"-0":""}`:fpr?from=`>=${from}`:from=`>=${from}${incPr?"-0":""}`,isX(tM)?to="":isX(tm)?to=`<${+tM+1}.0.0-0`:isX(tp)?to=`<${tM}.${+tm+1}.0-0`:tpr?to=`<=${tM}.${tm}.${tp}-${tpr}`:incPr?to=`<${tM}.${tm}.${+tp+1}-0`:to=`<=${to}`,`${from} ${to}`.trim()),testSet=(set,version,options)=>{for(let i=0;i<set.length;i++)if(!set[i].test(version))return!1;if(version.prerelease.length&&!options.includePrerelease){for(let i=0;i<set.length;i++)if(debug(set[i].semver),set[i].semver!==Comparator.ANY&&set[i].semver.prerelease.length>0){const allowed=set[i].semver;if(allowed.major===version.major&&allowed.minor===version.minor&&allowed.patch===version.patch)return!0}return!1}return!0}},25402:(module,__unused_webpack_exports,__webpack_require__)=>{const debug=__webpack_require__(22401),{MAX_LENGTH,MAX_SAFE_INTEGER}=__webpack_require__(1231),{safeRe:re,t}=__webpack_require__(91121),parseOptions=__webpack_require__(12217),{compareIdentifiers}=__webpack_require__(23036);class SemVer{constructor(version,options){if(options=parseOptions(options),version instanceof SemVer){if(version.loose===!!options.loose&&version.includePrerelease===!!options.includePrerelease)return version;version=version.version}else if(typeof version!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`);if(version.length>MAX_LENGTH)throw new TypeError(`version is longer than ${MAX_LENGTH} characters`);debug("SemVer",version,options),this.options=options,this.loose=!!options.loose,this.includePrerelease=!!options.includePrerelease;const m=version.trim().match(options.loose?re[t.LOOSE]:re[t.FULL]);if(!m)throw new TypeError(`Invalid Version: ${version}`);if(this.raw=version,this.major=+m[1],this.minor=+m[2],this.patch=+m[3],this.major>MAX_SAFE_INTEGER||this.major<0)throw new TypeError("Invalid major version");if(this.minor>MAX_SAFE_INTEGER||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>MAX_SAFE_INTEGER||this.patch<0)throw new TypeError("Invalid patch version");m[4]?this.prerelease=m[4].split(".").map(id=>{if(/^[0-9]+$/.test(id)){const num=+id;if(num>=0&&num<MAX_SAFE_INTEGER)return num}return id}):this.prerelease=[],this.build=m[5]?m[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(other){if(debug("SemVer.compare",this.version,this.options,other),!(other instanceof SemVer)){if(typeof other=="string"&&other===this.version)return 0;other=new SemVer(other,this.options)}return other.version===this.version?0:this.compareMain(other)||this.comparePre(other)}compareMain(other){return other instanceof SemVer||(other=new SemVer(other,this.options)),compareIdentifiers(this.major,other.major)||compareIdentifiers(this.minor,other.minor)||compareIdentifiers(this.patch,other.patch)}comparePre(other){if(other instanceof SemVer||(other=new SemVer(other,this.options)),this.prerelease.length&&!other.prerelease.length)return-1;if(!this.prerelease.length&&other.prerelease.length)return 1;if(!this.prerelease.length&&!other.prerelease.length)return 0;let i=0;do{const a=this.prerelease[i],b=other.prerelease[i];if(debug("prerelease compare",i,a,b),a===void 0&&b===void 0)return 0;if(b===void 0)return 1;if(a===void 0)return-1;if(a===b)continue;return compareIdentifiers(a,b)}while(++i)}compareBuild(other){other instanceof SemVer||(other=new SemVer(other,this.options));let i=0;do{const a=this.build[i],b=other.build[i];if(debug("prerelease compare",i,a,b),a===void 0&&b===void 0)return 0;if(b===void 0)return 1;if(a===void 0)return-1;if(a===b)continue;return compareIdentifiers(a,b)}while(++i)}inc(release,identifier,identifierBase){switch(release){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",identifier,identifierBase);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",identifier,identifierBase);break;case"prepatch":this.prerelease.length=0,this.inc("patch",identifier,identifierBase),this.inc("pre",identifier,identifierBase);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",identifier,identifierBase),this.inc("pre",identifier,identifierBase);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const base=Number(identifierBase)?1:0;if(!identifier&&identifierBase===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[base];else{let i=this.prerelease.length;for(;--i>=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);if(i===-1){if(identifier===this.prerelease.join(".")&&identifierBase===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(base)}}if(identifier){let prerelease=[identifier,base];identifierBase===!1&&(prerelease=[identifier]),compareIdentifiers(this.prerelease[0],identifier)===0?isNaN(this.prerelease[1])&&(this.prerelease=prerelease):this.prerelease=prerelease}break}default:throw new Error(`invalid increment argument: ${release}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}module.exports=SemVer},89053:(module,__unused_webpack_exports,__webpack_require__)=>{const parse=__webpack_require__(18961),clean=(version,options)=>{const s=parse(version.trim().replace(/^[=v]+/,""),options);return s?s.version:null};module.exports=clean},89578:(module,__unused_webpack_exports,__webpack_require__)=>{const eq=__webpack_require__(19243),neq=__webpack_require__(75529),gt=__webpack_require__(76981),gte=__webpack_require__(16709),lt=__webpack_require__(54266),lte=__webpack_require__(96665),cmp=(a,op,b,loose)=>{switch(op){case"===":return typeof a=="object"&&(a=a.version),typeof b=="object"&&(b=b.version),a===b;case"!==":return typeof a=="object"&&(a=a.version),typeof b=="object"&&(b=b.version),a!==b;case"":case"=":case"==":return eq(a,b,loose);case"!=":return neq(a,b,loose);case">":return gt(a,b,loose);case">=":return gte(a,b,loose);case"<":return lt(a,b,loose);case"<=":return lte(a,b,loose);default:throw new TypeError(`Invalid operator: ${op}`)}};module.exports=cmp},25423:(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__(25402),parse=__webpack_require__(18961),{safeRe:re,t}=__webpack_require__(91121),coerce=(version,options)=>{if(version instanceof SemVer)return version;if(typeof version=="number"&&(version=String(version)),typeof version!="string")return null;options=options||{};let match=null;if(!options.rtl)match=version.match(re[t.COERCE]);else{let next;for(;(next=re[t.COERCERTL].exec(version))&&(!match||match.index+match[0].length!==version.length);)(!match||next.index+next[0].length!==match.index+match[0].length)&&(match=next),re[t.COERCERTL].lastIndex=next.index+next[1].length+next[2].length;re[t.COERCERTL].lastIndex=-1}return match===null?null:parse(`${match[2]}.${match[3]||"0"}.${match[4]||"0"}`,options)};module.exports=coerce},70405:(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__(25402),compareBuild=(a,b,loose)=>{const versionA=new SemVer(a,loose),versionB=new SemVer(b,loose);return versionA.compare(versionB)||versionA.compareBuild(versionB)};module.exports=compareBuild},54206:(module,__unused_webpack_exports,__webpack_require__)=>{const compare=__webpack_require__(24819),compareLoose=(a,b)=>compare(a,b,!0);module.exports=compareLoose},24819:(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__(25402),compare=(a,b,loose)=>new SemVer(a,loose).compare(new SemVer(b,loose));module.exports=compare},51637:(module,__unused_webpack_exports,__webpack_require__)=>{const parse=__webpack_require__(18961),diff=(version1,version2)=>{const v1=parse(version1,null,!0),v2=parse(version2,null,!0),comparison=v1.compare(v2);if(comparison===0)return null;const v1Higher=comparison>0,highVersion=v1Higher?v1:v2,lowVersion=v1Higher?v2:v1,highHasPre=!!highVersion.prerelease.length;if(!!lowVersion.prerelease.length&&!highHasPre)return!lowVersion.patch&&!lowVersion.minor?"major":highVersion.patch?"patch":highVersion.minor?"minor":"major";const prefix=highHasPre?"pre":"";return v1.major!==v2.major?prefix+"major":v1.minor!==v2.minor?prefix+"minor":v1.patch!==v2.patch?prefix+"patch":"prerelease"};module.exports=diff},19243:(module,__unused_webpack_exports,__webpack_require__)=>{const compare=__webpack_require__(24819),eq=(a,b,loose)=>compare(a,b,loose)===0;module.exports=eq},76981:(module,__unused_webpack_exports,__webpack_require__)=>{const compare=__webpack_require__(24819),gt=(a,b,loose)=>compare(a,b,loose)>0;module.exports=gt},16709:(module,__unused_webpack_exports,__webpack_require__)=>{const compare=__webpack_require__(24819),gte=(a,b,loose)=>compare(a,b,loose)>=0;module.exports=gte},45444:(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__(25402),inc=(version,release,options,identifier,identifierBase)=>{typeof options=="string"&&(identifierBase=identifier,identifier=options,options=void 0);try{return new SemVer(version instanceof SemVer?version.version:version,options).inc(release,identifier,identifierBase).version}catch{return null}};module.exports=inc},54266:(module,__unused_webpack_exports,__webpack_require__)=>{const compare=__webpack_require__(24819),lt=(a,b,loose)=>compare(a,b,loose)<0;module.exports=lt},96665:(module,__unused_webpack_exports,__webpack_require__)=>{const compare=__webpack_require__(24819),lte=(a,b,loose)=>compare(a,b,loose)<=0;module.exports=lte},91875:(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__(25402),major=(a,loose)=>new SemVer(a,loose).major;module.exports=major},56025:(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__(25402),minor=(a,loose)=>new SemVer(a,loose).minor;module.exports=minor},75529:(module,__unused_webpack_exports,__webpack_require__)=>{const compare=__webpack_require__(24819),neq=(a,b,loose)=>compare(a,b,loose)!==0;module.exports=neq},18961:(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__(25402),parse=(version,options,throwErrors=!1)=>{if(version instanceof SemVer)return version;try{return new SemVer(version,options)}catch(er){if(!throwErrors)return null;throw er}};module.exports=parse},43717:(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__(25402),patch=(a,loose)=>new SemVer(a,loose).patch;module.exports=patch},43203:(module,__unused_webpack_exports,__webpack_require__)=>{const parse=__webpack_require__(18961),prerelease=(version,options)=>{const parsed=parse(version,options);return parsed&&parsed.prerelease.length?parsed.prerelease:null};module.exports=prerelease},70664:(module,__unused_webpack_exports,__webpack_require__)=>{const compare=__webpack_require__(24819),rcompare=(a,b,loose)=>compare(b,a,loose);module.exports=rcompare},12977:(module,__unused_webpack_exports,__webpack_require__)=>{const compareBuild=__webpack_require__(70405),rsort=(list,loose)=>list.sort((a,b)=>compareBuild(b,a,loose));module.exports=rsort},5222:(module,__unused_webpack_exports,__webpack_require__)=>{const Range=__webpack_require__(32703),satisfies=(version,range,options)=>{try{range=new Range(range,options)}catch{return!1}return range.test(version)};module.exports=satisfies},22556:(module,__unused_webpack_exports,__webpack_require__)=>{const compareBuild=__webpack_require__(70405),sort=(list,loose)=>list.sort((a,b)=>compareBuild(a,b,loose));module.exports=sort},37314:(module,__unused_webpack_exports,__webpack_require__)=>{const parse=__webpack_require__(18961),valid=(version,options)=>{const v=parse(version,options);return v?v.version:null};module.exports=valid},86090:(module,__unused_webpack_exports,__webpack_require__)=>{const internalRe=__webpack_require__(91121),constants=__webpack_require__(1231),SemVer=__webpack_require__(25402),identifiers=__webpack_require__(23036),parse=__webpack_require__(18961),valid=__webpack_require__(37314),clean=__webpack_require__(89053),inc=__webpack_require__(45444),diff=__webpack_require__(51637),major=__webpack_require__(91875),minor=__webpack_require__(56025),patch=__webpack_require__(43717),prerelease=__webpack_require__(43203),compare=__webpack_require__(24819),rcompare=__webpack_require__(70664),compareLoose=__webpack_require__(54206),compareBuild=__webpack_require__(70405),sort=__webpack_require__(22556),rsort=__webpack_require__(12977),gt=__webpack_require__(76981),lt=__webpack_require__(54266),eq=__webpack_require__(19243),neq=__webpack_require__(75529),gte=__webpack_require__(16709),lte=__webpack_require__(96665),cmp=__webpack_require__(89578),coerce=__webpack_require__(25423),Comparator=__webpack_require__(59525),Range=__webpack_require__(32703),satisfies=__webpack_require__(5222),toComparators=__webpack_require__(64095),maxSatisfying=__webpack_require__(37575),minSatisfying=__webpack_require__(81487),minVersion=__webpack_require__(14077),validRange=__webpack_require__(98149),outside=__webpack_require__(27218),gtr=__webpack_require__(29782),ltr=__webpack_require__(24522),intersects=__webpack_require__(21533),simplifyRange=__webpack_require__(42521),subset=__webpack_require__(74723);module.exports={parse,valid,clean,inc,diff,major,minor,patch,prerelease,compare,rcompare,compareLoose,compareBuild,sort,rsort,gt,lt,eq,neq,gte,lte,cmp,coerce,Comparator,Range,satisfies,toComparators,maxSatisfying,minSatisfying,minVersion,validRange,outside,gtr,ltr,intersects,simplifyRange,subset,SemVer,re:internalRe.re,src:internalRe.src,tokens:internalRe.t,SEMVER_SPEC_VERSION:constants.SEMVER_SPEC_VERSION,RELEASE_TYPES:constants.RELEASE_TYPES,compareIdentifiers:identifiers.compareIdentifiers,rcompareIdentifiers:identifiers.rcompareIdentifiers}},1231:module=>{const SEMVER_SPEC_VERSION="2.0.0",MAX_SAFE_INTEGER=Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH=16,RELEASE_TYPES=["major","premajor","minor","preminor","patch","prepatch","prerelease"];module.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH,MAX_SAFE_INTEGER,RELEASE_TYPES,SEMVER_SPEC_VERSION,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},22401:(module,__unused_webpack_exports,__webpack_require__)=>{var process=__webpack_require__(14224);const debug=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...args)=>console.error("SEMVER",...args):()=>{};module.exports=debug},23036:module=>{const numeric=/^[0-9]+$/,compareIdentifiers=(a,b)=>{const anum=numeric.test(a),bnum=numeric.test(b);return anum&&bnum&&(a=+a,b=+b),a===b?0:anum&&!bnum?-1:bnum&&!anum?1:a<b?-1:1},rcompareIdentifiers=(a,b)=>compareIdentifiers(b,a);module.exports={compareIdentifiers,rcompareIdentifiers}},12217:module=>{const looseOption=Object.freeze({loose:!0}),emptyOpts=Object.freeze({}),parseOptions=options=>options?typeof options!="object"?looseOption:options:emptyOpts;module.exports=parseOptions},91121:(module,exports,__webpack_require__)=>{const{MAX_SAFE_COMPONENT_LENGTH}=__webpack_require__(1231),debug=__webpack_require__(22401);exports=module.exports={};const re=exports.re=[],safeRe=exports.safeRe=[],src=exports.src=[],t=exports.t={};let R=0;const createToken=(name,value,isGlobal)=>{const safe=value.split("\\s*").join("\\s{0,1}").split("\\s+").join("\\s"),index=R++;debug(name,index,value),t[name]=index,src[index]=value,re[index]=new RegExp(value,isGlobal?"g":void 0),safeRe[index]=new RegExp(safe,isGlobal?"g":void 0)};createToken("NUMERICIDENTIFIER","0|[1-9]\\d*"),createToken("NUMERICIDENTIFIERLOOSE","[0-9]+"),createToken("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),createToken("MAINVERSION",`(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`),createToken("MAINVERSIONLOOSE",`(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`),createToken("PRERELEASEIDENTIFIER",`(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`),createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`),createToken("PRERELEASE",`(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`),createToken("PRERELEASELOOSE",`(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`),createToken("BUILDIDENTIFIER","[0-9A-Za-z-]+"),createToken("BUILD",`(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`),createToken("FULLPLAIN",`v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`),createToken("FULL",`^${src[t.FULLPLAIN]}$`),createToken("LOOSEPLAIN",`[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`),createToken("LOOSE",`^${src[t.LOOSEPLAIN]}$`),createToken("GTLT","((?:<|>)?=?)"),createToken("XRANGEIDENTIFIERLOOSE",`${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),createToken("XRANGEIDENTIFIER",`${src[t.NUMERICIDENTIFIER]}|x|X|\\*`),createToken("XRANGEPLAIN",`[v=\\s]*(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?)?)?`),createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?)?)?`),createToken("XRANGE",`^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`),createToken("XRANGELOOSE",`^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`),createToken("COERCE",`(^|[^\\d])(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:$|[^\\d])`),createToken("COERCERTL",src[t.COERCE],!0),createToken("LONETILDE","(?:~>?)"),createToken("TILDETRIM",`(\\s*)${src[t.LONETILDE]}\\s+`,!0),exports.tildeTrimReplace="$1~",createToken("TILDE",`^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`),createToken("TILDELOOSE",`^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`),createToken("LONECARET","(?:\\^)"),createToken("CARETTRIM",`(\\s*)${src[t.LONECARET]}\\s+`,!0),exports.caretTrimReplace="$1^",createToken("CARET",`^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`),createToken("CARETLOOSE",`^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`),createToken("COMPARATORLOOSE",`^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`),createToken("COMPARATOR",`^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`),createToken("COMPARATORTRIM",`(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`,!0),exports.comparatorTrimReplace="$1$2$3",createToken("HYPHENRANGE",`^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*$`),createToken("HYPHENRANGELOOSE",`^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*$`),createToken("STAR","(<|>)?=?\\s*\\*"),createToken("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),createToken("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},29782:(module,__unused_webpack_exports,__webpack_require__)=>{const outside=__webpack_require__(27218),gtr=(version,range,options)=>outside(version,range,">",options);module.exports=gtr},21533:(module,__unused_webpack_exports,__webpack_require__)=>{const Range=__webpack_require__(32703),intersects=(r1,r2,options)=>(r1=new Range(r1,options),r2=new Range(r2,options),r1.intersects(r2,options));module.exports=intersects},24522:(module,__unused_webpack_exports,__webpack_require__)=>{const outside=__webpack_require__(27218),ltr=(version,range,options)=>outside(version,range,"<",options);module.exports=ltr},37575:(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__(25402),Range=__webpack_require__(32703),maxSatisfying=(versions,range,options)=>{let max=null,maxSV=null,rangeObj=null;try{rangeObj=new Range(range,options)}catch{return null}return versions.forEach(v=>{rangeObj.test(v)&&(!max||maxSV.compare(v)===-1)&&(max=v,maxSV=new SemVer(max,options))}),max};module.exports=maxSatisfying},81487:(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__(25402),Range=__webpack_require__(32703),minSatisfying=(versions,range,options)=>{let min=null,minSV=null,rangeObj=null;try{rangeObj=new Range(range,options)}catch{return null}return versions.forEach(v=>{rangeObj.test(v)&&(!min||minSV.compare(v)===1)&&(min=v,minSV=new SemVer(min,options))}),min};module.exports=minSatisfying},14077:(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__(25402),Range=__webpack_require__(32703),gt=__webpack_require__(76981),minVersion=(range,loose)=>{range=new Range(range,loose);let minver=new SemVer("0.0.0");if(range.test(minver)||(minver=new SemVer("0.0.0-0"),range.test(minver)))return minver;minver=null;for(let i=0;i<range.set.length;++i){const comparators=range.set[i];let setMin=null;comparators.forEach(comparator=>{const compver=new SemVer(comparator.semver.version);switch(comparator.operator){case">":compver.prerelease.length===0?compver.patch++:compver.prerelease.push(0),compver.raw=compver.format();case"":case">=":(!setMin||gt(compver,setMin))&&(setMin=compver);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${comparator.operator}`)}}),setMin&&(!minver||gt(minver,setMin))&&(minver=setMin)}return minver&&range.test(minver)?minver:null};module.exports=minVersion},27218:(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__(25402),Comparator=__webpack_require__(59525),{ANY}=Comparator,Range=__webpack_require__(32703),satisfies=__webpack_require__(5222),gt=__webpack_require__(76981),lt=__webpack_require__(54266),lte=__webpack_require__(96665),gte=__webpack_require__(16709),outside=(version,range,hilo,options)=>{version=new SemVer(version,options),range=new Range(range,options);let gtfn,ltefn,ltfn,comp,ecomp;switch(hilo){case">":gtfn=gt,ltefn=lte,ltfn=lt,comp=">",ecomp=">=";break;case"<":gtfn=lt,ltefn=gte,ltfn=gt,comp="<",ecomp="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(version,range,options))return!1;for(let i=0;i<range.set.length;++i){const comparators=range.set[i];let high=null,low=null;if(comparators.forEach(comparator=>{comparator.semver===ANY&&(comparator=new Comparator(">=0.0.0")),high=high||comparator,low=low||comparator,gtfn(comparator.semver,high.semver,options)?high=comparator:ltfn(comparator.semver,low.semver,options)&&(low=comparator)}),high.operator===comp||high.operator===ecomp||(!low.operator||low.operator===comp)&&ltefn(version,low.semver))return!1;if(low.operator===ecomp&&ltfn(version,low.semver))return!1}return!0};module.exports=outside},42521:(module,__unused_webpack_exports,__webpack_require__)=>{const satisfies=__webpack_require__(5222),compare=__webpack_require__(24819);module.exports=(versions,range,options)=>{const set=[];let first=null,prev=null;const v=versions.sort((a,b)=>compare(a,b,options));for(const version of v)satisfies(version,range,options)?(prev=version,first||(first=version)):(prev&&set.push([first,prev]),prev=null,first=null);first&&set.push([first,null]);const ranges=[];for(const[min,max]of set)min===max?ranges.push(min):!max&&min===v[0]?ranges.push("*"):max?min===v[0]?ranges.push(`<=${max}`):ranges.push(`${min} - ${max}`):ranges.push(`>=${min}`);const simplified=ranges.join(" || "),original=typeof range.raw=="string"?range.raw:String(range);return simplified.length<original.length?simplified:range}},74723:(module,__unused_webpack_exports,__webpack_require__)=>{const Range=__webpack_require__(32703),Comparator=__webpack_require__(59525),{ANY}=Comparator,satisfies=__webpack_require__(5222),compare=__webpack_require__(24819),subset=(sub,dom,options={})=>{if(sub===dom)return!0;sub=new Range(sub,options),dom=new Range(dom,options);let sawNonNull=!1;OUTER:for(const simpleSub of sub.set){for(const simpleDom of dom.set){const isSub=simpleSubset(simpleSub,simpleDom,options);if(sawNonNull=sawNonNull||isSub!==null,isSub)continue OUTER}if(sawNonNull)return!1}return!0},minimumVersionWithPreRelease=[new Comparator(">=0.0.0-0")],minimumVersion=[new Comparator(">=0.0.0")],simpleSubset=(sub,dom,options)=>{if(sub===dom)return!0;if(sub.length===1&&sub[0].semver===ANY){if(dom.length===1&&dom[0].semver===ANY)return!0;options.includePrerelease?sub=minimumVersionWithPreRelease:sub=minimumVersion}if(dom.length===1&&dom[0].semver===ANY){if(options.includePrerelease)return!0;dom=minimumVersion}const eqSet=new Set;let gt,lt;for(const c of sub)c.operator===">"||c.operator===">="?gt=higherGT(gt,c,options):c.operator==="<"||c.operator==="<="?lt=lowerLT(lt,c,options):eqSet.add(c.semver);if(eqSet.size>1)return null;let gtltComp;if(gt&&lt){if(gtltComp=compare(gt.semver,lt.semver,options),gtltComp>0)return null;if(gtltComp===0&&(gt.operator!==">="||lt.operator!=="<="))return null}for(const eq of eqSet){if(gt&&!satisfies(eq,String(gt),options)||lt&&!satisfies(eq,String(lt),options))return null;for(const c of dom)if(!satisfies(eq,String(c),options))return!1;return!0}let higher,lower,hasDomLT,hasDomGT,needDomLTPre=lt&&!options.includePrerelease&&lt.semver.prerelease.length?lt.semver:!1,needDomGTPre=gt&&!options.includePrerelease&&gt.semver.prerelease.length?gt.semver:!1;needDomLTPre&&needDomLTPre.prerelease.length===1&&lt.operator==="<"&&needDomLTPre.prerelease[0]===0&&(needDomLTPre=!1);for(const c of dom){if(hasDomGT=hasDomGT||c.operator===">"||c.operator===">=",hasDomLT=hasDomLT||c.operator==="<"||c.operator==="<=",gt){if(needDomGTPre&&c.semver.prerelease&&c.semver.prerelease.length&&c.semver.major===needDomGTPre.major&&c.semver.minor===needDomGTPre.minor&&c.semver.patch===needDomGTPre.patch&&(needDomGTPre=!1),c.operator===">"||c.operator===">="){if(higher=higherGT(gt,c,options),higher===c&&higher!==gt)return!1}else if(gt.operator===">="&&!satisfies(gt.semver,String(c),options))return!1}if(lt){if(needDomLTPre&&c.semver.prerelease&&c.semver.prerelease.length&&c.semver.major===needDomLTPre.major&&c.semver.minor===needDomLTPre.minor&&c.semver.patch===needDomLTPre.patch&&(needDomLTPre=!1),c.operator==="<"||c.operator==="<="){if(lower=lowerLT(lt,c,options),lower===c&&lower!==lt)return!1}else if(lt.operator==="<="&&!satisfies(lt.semver,String(c),options))return!1}if(!c.operator&&(lt||gt)&&gtltComp!==0)return!1}return!(gt&&hasDomLT&&!lt&&gtltComp!==0||lt&&hasDomGT&&!gt&&gtltComp!==0||needDomGTPre||needDomLTPre)},higherGT=(a,b,options)=>{if(!a)return b;const comp=compare(a.semver,b.semver,options);return comp>0?a:comp<0||b.operator===">"&&a.operator===">="?b:a},lowerLT=(a,b,options)=>{if(!a)return b;const comp=compare(a.semver,b.semver,options);return comp<0?a:comp>0||b.operator==="<"&&a.operator==="<="?b:a};module.exports=subset},64095:(module,__unused_webpack_exports,__webpack_require__)=>{const Range=__webpack_require__(32703),toComparators=(range,options)=>new Range(range,options).set.map(comp=>comp.map(c=>c.value).join(" ").trim().split(" "));module.exports=toComparators},98149:(module,__unused_webpack_exports,__webpack_require__)=>{const Range=__webpack_require__(32703),validRange=(range,options)=>{try{return new Range(range,options).range||"*"}catch{return null}};module.exports=validRange},58140:module=>{"use strict";module.exports=2147483647},19123:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var toPosInt=__webpack_require__(4238),maxTimeout=__webpack_require__(58140);module.exports=function(value){if(value=toPosInt(value),value>maxTimeout)throw new TypeError(value+" exceeds maximum possible timeout");return value}},69472:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var isPrototype=__webpack_require__(85302);module.exports=function(value){if(typeof value!="function"||!hasOwnProperty.call(value,"length"))return!1;try{if(typeof value.length!="number"||typeof value.call!="function"||typeof value.apply!="function")return!1}catch{return!1}return!isPrototype(value)}},80997:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var isValue=__webpack_require__(28772),possibleTypes={object:!0,function:!0,undefined:!0};module.exports=function(value){return isValue(value)?hasOwnProperty.call(possibleTypes,typeof value):!1}},3181:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var isFunction=__webpack_require__(69472),classRe=/^\s*class[\s{/}]/,functionToString=Function.prototype.toString;module.exports=function(value){return!(!isFunction(value)||classRe.test(functionToString.call(value)))}},85302:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var isObject=__webpack_require__(80997);module.exports=function(value){if(!isObject(value))return!1;try{return value.constructor?value.constructor.prototype===value:!1}catch{return!1}}},28772:module=>{"use strict";var _undefined=void 0;module.exports=function(value){return value!==_undefined&&value!==null}},98221:module=>{"use strict";module.exports=function(Yallist){Yallist.prototype[Symbol.iterator]=function*(){for(let walker=this.head;walker;walker=walker.next)yield walker.value}}},54746:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=Yallist,Yallist.Node=Node,Yallist.create=Yallist;function Yallist(list){var self2=this;if(self2 instanceof Yallist||(self2=new Yallist),self2.tail=null,self2.head=null,self2.length=0,list&&typeof list.forEach=="function")list.forEach(function(item){self2.push(item)});else if(arguments.length>0)for(var i=0,l=arguments.length;i<l;i++)self2.push(arguments[i]);return self2}Yallist.prototype.removeNode=function(node){if(node.list!==this)throw new Error("removing node which does not belong to this list");var next=node.next,prev=node.prev;return next&&(next.prev=prev),prev&&(prev.next=next),node===this.head&&(this.head=next),node===this.tail&&(this.tail=prev),node.list.length--,node.next=null,node.prev=null,node.list=null,next},Yallist.prototype.unshiftNode=function(node){if(node!==this.head){node.list&&node.list.removeNode(node);var head=this.head;node.list=this,node.next=head,head&&(head.prev=node),this.head=node,this.tail||(this.tail=node),this.length++}},Yallist.prototype.pushNode=function(node){if(node!==this.tail){node.list&&node.list.removeNode(node);var tail=this.tail;node.list=this,node.prev=tail,tail&&(tail.next=node),this.tail=node,this.head||(this.head=node),this.length++}},Yallist.prototype.push=function(){for(var i=0,l=arguments.length;i<l;i++)push(this,arguments[i]);return this.length},Yallist.prototype.unshift=function(){for(var i=0,l=arguments.length;i<l;i++)unshift(this,arguments[i]);return this.length},Yallist.prototype.pop=function(){if(!!this.tail){var res=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,res}},Yallist.prototype.shift=function(){if(!!this.head){var res=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,res}},Yallist.prototype.forEach=function(fn,thisp){thisp=thisp||this;for(var walker=this.head,i=0;walker!==null;i++)fn.call(thisp,walker.value,i,this),walker=walker.next},Yallist.prototype.forEachReverse=function(fn,thisp){thisp=thisp||this;for(var walker=this.tail,i=this.length-1;walker!==null;i--)fn.call(thisp,walker.value,i,this),walker=walker.prev},Yallist.prototype.get=function(n){for(var i=0,walker=this.head;walker!==null&&i<n;i++)walker=walker.next;if(i===n&&walker!==null)return walker.value},Yallist.prototype.getReverse=function(n){for(var i=0,walker=this.tail;walker!==null&&i<n;i++)walker=walker.prev;if(i===n&&walker!==null)return walker.value},Yallist.prototype.map=function(fn,thisp){thisp=thisp||this;for(var res=new Yallist,walker=this.head;walker!==null;)res.push(fn.call(thisp,walker.value,this)),walker=walker.next;return res},Yallist.prototype.mapReverse=function(fn,thisp){thisp=thisp||this;for(var res=new Yallist,walker=this.tail;walker!==null;)res.push(fn.call(thisp,walker.value,this)),walker=walker.prev;return res},Yallist.prototype.reduce=function(fn,initial){var acc,walker=this.head;if(arguments.length>1)acc=initial;else if(this.head)walker=this.head.next,acc=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var i=0;walker!==null;i++)acc=fn(acc,walker.value,i),walker=walker.next;return acc},Yallist.prototype.reduceReverse=function(fn,initial){var acc,walker=this.tail;if(arguments.length>1)acc=initial;else if(this.tail)walker=this.tail.prev,acc=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var i=this.length-1;walker!==null;i--)acc=fn(acc,walker.value,i),walker=walker.prev;return acc},Yallist.prototype.toArray=function(){for(var arr=new Array(this.length),i=0,walker=this.head;walker!==null;i++)arr[i]=walker.value,walker=walker.next;return arr},Yallist.prototype.toArrayReverse=function(){for(var arr=new Array(this.length),i=0,walker=this.tail;walker!==null;i++)arr[i]=walker.value,walker=walker.prev;return arr},Yallist.prototype.slice=function(from,to){to=to||this.length,to<0&&(to+=this.length),from=from||0,from<0&&(from+=this.length);var ret=new Yallist;if(to<from||to<0)return ret;from<0&&(from=0),to>this.length&&(to=this.length);for(var i=0,walker=this.head;walker!==null&&i<from;i++)walker=walker.next;for(;walker!==null&&i<to;i++,walker=walker.next)ret.push(walker.value);return ret},Yallist.prototype.sliceReverse=function(from,to){to=to||this.length,to<0&&(to+=this.length),from=from||0,from<0&&(from+=this.length);var ret=new Yallist;if(to<from||to<0)return ret;from<0&&(from=0),to>this.length&&(to=this.length);for(var i=this.length,walker=this.tail;walker!==null&&i>to;i--)walker=walker.prev;for(;walker!==null&&i>from;i--,walker=walker.prev)ret.push(walker.value);return ret},Yallist.prototype.splice=function(start,deleteCount,...nodes){start>this.length&&(start=this.length-1),start<0&&(start=this.length+start);for(var i=0,walker=this.head;walker!==null&&i<start;i++)walker=walker.next;for(var ret=[],i=0;walker&&i<deleteCount;i++)ret.push(walker.value),walker=this.removeNode(walker);walker===null&&(walker=this.tail),walker!==this.head&&walker!==this.tail&&(walker=walker.prev);for(var i=0;i<nodes.length;i++)walker=insert(this,walker,nodes[i]);return ret},Yallist.prototype.reverse=function(){for(var head=this.head,tail=this.tail,walker=head;walker!==null;walker=walker.prev){var p=walker.prev;walker.prev=walker.next,walker.next=p}return this.head=tail,this.tail=head,this};function insert(self2,node,value){var inserted=node===self2.head?new Node(value,null,node,self2):new Node(value,node,node.next,self2);return inserted.next===null&&(self2.tail=inserted),inserted.prev===null&&(self2.head=inserted),self2.length++,inserted}function push(self2,item){self2.tail=new Node(item,self2.tail,null,self2),self2.head||(self2.head=self2.tail),self2.length++}function unshift(self2,item){self2.head=new Node(item,null,self2.head,self2),self2.tail||(self2.tail=self2.head),self2.length++}function Node(value,prev,next,list){if(!(this instanceof Node))return new Node(value,prev,next,list);this.list=list,this.value=value,prev?(prev.next=this,this.prev=prev):this.prev=null,next?(next.prev=this,this.next=next):this.next=null}try{__webpack_require__(98221)(Yallist)}catch{}},97667:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.NavigationProvider=exports.useNavigation=exports.useNavigate=exports.useLocation=exports.Link=void 0;var link_1=__webpack_require__(46680);Object.defineProperty(exports,"Link",{enumerable:!0,get:function(){return link_1.Link}});var use_location_1=__webpack_require__(30668);Object.defineProperty(exports,"useLocation",{enumerable:!0,get:function(){return use_location_1.useLocation}});var use_navigate_1=__webpack_require__(66342);Object.defineProperty(exports,"useNavigate",{enumerable:!0,get:function(){return use_navigate_1.useNavigate}});var navigation_provider_1=__webpack_require__(31735);Object.defineProperty(exports,"useNavigation",{enumerable:!0,get:function(){return navigation_provider_1.useNavigation}}),Object.defineProperty(exports,"NavigationProvider",{enumerable:!0,get:function(){return navigation_provider_1.NavigationProvider}})},46680: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),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}: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.Link=void 0;const react_1=__importStar(__webpack_require__(59496)),navigation_provider_1=__webpack_require__(31735),native_link_1=__webpack_require__(67394);exports.Link=(0,react_1.forwardRef)(function(props,ref){const ActualLink=(0,navigation_provider_1.useNavigation)().Link||native_link_1.NativeLink;return props.native||props.external?react_1.default.createElement(native_link_1.NativeLink,Object.assign({},props,{ref})):react_1.default.createElement(ActualLink,Object.assign({},props,{ref}))})},67394: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),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}: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.NativeLink=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),base_ui_routing_compare_url_1=__webpack_require__(15654),use_location_1=__webpack_require__(30668),externalLinkAttributes={rel:"noopener",target:"_blank"};exports.NativeLink=(0,react_1.forwardRef)(function(_a,ref){var{className,style,activeClassName,activeStyle,active,strict,exact,href,external,native,state}=_a,rest=__rest(_a,["className","style","activeClassName","activeStyle","active","strict","exact","href","external","native","state"]);const location=(0,use_location_1.useLocation)(),shouldCalcActive=!!activeClassName||!!activeStyle,isActive=(0,react_1.useMemo)(()=>shouldCalcActive?typeof active=="boolean"?active:!location||!href?!1:(0,base_ui_routing_compare_url_1.compareUrl)(location.pathname,href,{exact,strict}):!1,[active,href,location,shouldCalcActive]),externalProps=external?externalLinkAttributes:{},combinedStyles=(0,react_1.useMemo)(()=>isActive&&activeStyle?Object.assign(Object.assign({},style),activeStyle):style,[isActive,style]);return react_1.default.createElement("a",Object.assign({},externalProps,rest,{ref,href,className:(0,classnames_1.default)(className,isActive&&activeClassName),style:combinedStyles}))})},31735: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),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}: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.NavigationProvider=exports.useNavigation=exports.NavigationContext=void 0;const react_1=__importStar(__webpack_require__(59496));exports.NavigationContext=react_1.default.createContext({});function useNavigation(){return(0,react_1.useContext)(exports.NavigationContext)}exports.useNavigation=useNavigation;function NavigationProvider({children,implementation}){return react_1.default.createElement(exports.NavigationContext.Provider,{value:implementation},children)}exports.NavigationProvider=NavigationProvider},30668:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLocation=void 0;const navigation_provider_1=__webpack_require__(31735);function useLocation(){return((0,navigation_provider_1.useNavigation)().useLocation||NativeUseLocation)()}exports.useLocation=useLocation;function NativeUseLocation(){if(!(typeof window>"u"))return window.location}},66342:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useNavigate=void 0;const navigation_provider_1=__webpack_require__(31735);function useNavigate(){var _a;const nav=(0,navigation_provider_1.useNavigation)();return((_a=nav.useNavigate)===null||_a===void 0?void 0:_a.call(nav))||nativeNavigator}exports.useNavigate=useNavigate;function nativeNavigator(target,{replace}={}){if(typeof window>"u")throw new Error("base-react.navigation.use-location - cannot use native navigator outside of browser. Inject a custom useNavigate, or use navigation after mount");const{location,history}=window;typeof target=="number"?history.go(target):replace?location.replace(target):location.assign(target)}},38453:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LoaderRibbon=void 0;var loader_ribbon_1=__webpack_require__(27216);Object.defineProperty(exports,"LoaderRibbon",{enumerable:!0,get:function(){return loader_ribbon_1.LoaderRibbon}})},27216:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __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.LoaderRibbon=void 0;const classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),loader_ribbon_module_scss_1=__importDefault(__webpack_require__(7489));function LoaderRibbon(_a){var{active,className}=_a,rest=__rest(_a,["active","className"]);return react_1.default.createElement("div",Object.assign({},rest,{className:classnames_1.default(className,loader_ribbon_module_scss_1.default.loader,active&&loader_ribbon_module_scss_1.default.loading)}),react_1.default.createElement("div",{className:loader_ribbon_module_scss_1.default.progress}))}exports.LoaderRibbon=LoaderRibbon},37072: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.compareUrl=void 0;const url_parse_1=__importDefault(__webpack_require__(54386));function compareUrl(baseUrl,toMatchUrl,{exact,strict}={}){if(baseUrl===toMatchUrl)return!0;strict||(baseUrl=baseUrl.replace(/\/(?=[?#]|$)/,""),toMatchUrl=toMatchUrl.replace(/\/(?=[?#]|$)/,""));const base=url_parse_1.default(baseUrl),match=url_parse_1.default(toMatchUrl),subUrl=isSubUrl(base,match),exactMatch=!exact||isExactMatch(base,match),strictMatch=!strict||isStrictMatch(base,match);return subUrl&&exactMatch&&strictMatch}exports.compareUrl=compareUrl;function isSubUrl(base,match){return(!match.protocol||match.protocol===base.protocol)&&(!match.hostname||match.hostname===base.hostname)&&(!match.port||match.port===base.port)&&(!match.pathname||base.pathname.startsWith(match.pathname))&&(!match.query||isSubObject(match.query,base.query))&&(!match.hash||match.hash===base.hash)&&(!match.password||match.password===base.password)&&(!match.username||match.username===base.username)}function isExactMatch(base,match){return(!match.pathname||base.pathname===match.pathname)&&(!match.query||isSubObject(base.query,match.query))}function isStrictMatch(base,match){return!match.pathname||base.pathname.endsWith("/")===match.pathname.endsWith("/")}function isSubObject(source,target){return Object.keys(source).every(key=>source[key]===target[key])}},15654:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.compareUrl=void 0;var compare_url_1=__webpack_require__(37072);Object.defineProperty(exports,"compareUrl",{enumerable:!0,get:function(){return compare_url_1.compareUrl}})},24920: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.Composer=void 0;const react_1=__importDefault(__webpack_require__(59496));function Composer(props){const{components=[],children}=props,arrayified=components.map(tuple=>Array.isArray(tuple)?tuple:[tuple,void 0]);return react_1.default.createElement(react_1.default.Fragment,null,arrayified.reduceRight((acc,[Comp,forwardProps])=>react_1.default.createElement(Comp,Object.assign({},forwardProps),acc),children))}exports.Composer=Composer},97383:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Composer=void 0;var composer_1=__webpack_require__(24920);Object.defineProperty(exports,"Composer",{enumerable:!0,get:function(){return composer_1.Composer}})},93042:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.links=void 0;var links_1=__webpack_require__(39204);Object.defineProperty(exports,"links",{enumerable:!0,get:function(){return links_1.links}})},39204:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.links=void 0,exports.links={docs:"https://bit.dev/docs",github:"https://github.com/teambit/bit",slack:"https://join.slack.com/t/bit-dev-community/shared_invite/zt-1el4b4sb5-FpgRefqUiZbUH9lvnHgwRg",blog:"https://bit.cloud/blog",twitter:"https://twitter.com/bitdev_",linkedin:"https://www.linkedin.com/company/bit-dev",bitRegistry:"https://node.bit.cloud",youtube:"https://www.youtube.com/c/Bitdev/videos",careers:"https://bit.breezy.hr"}},56435: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.ContactIcons=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_react_navigation_link_1=__webpack_require__(97667),community_constants_links_1=__webpack_require__(93042),styles={link:{textDecoration:"none",lineHeight:"inherit",color:"unset"},logo:{width:"24px",height:"24px",margin:"0 13px"}};function ContactIcons(props){return react_1.default.createElement("div",Object.assign({style:Object.assign(Object.assign({},styles.iconLine),props.style)},props),react_1.default.createElement(base_react_navigation_link_1.Link,{external:!0,style:styles.link,href:community_constants_links_1.links.slack},react_1.default.createElement("img",{alt:"slack",style:styles.logo,src:"https://static.bit.dev/harmony/slack-round-icon.svg"})),react_1.default.createElement(base_react_navigation_link_1.Link,{external:!0,style:styles.link,href:community_constants_links_1.links.github},react_1.default.createElement("img",{alt:"github",style:styles.logo,src:"https://static.bit.dev/harmony/github.svg"})),react_1.default.createElement(base_react_navigation_link_1.Link,{external:!0,style:styles.link,href:community_constants_links_1.links.docs},react_1.default.createElement("img",{alt:"bit docs",style:styles.logo,src:"https://static.bit.dev/bit-logo.svg"})))}exports.ContactIcons=ContactIcons},39091:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __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.ErrorPage=void 0;const react_1=__importDefault(__webpack_require__(59496)),styles={errorPage:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",margin:"auto",padding:"24px",textAlign:"center"},title:{fontWeight:"bold",margin:"0 0 24px 0"},img:{maxWidth:"700px",marginBottom:"24px",width:"100%"}},inlineStyles=`
52
52
  .bit-error-page-title { font-size: 36px; }
53
53
  @media screen and (max-width: 480px) { .bit-error-page-title { font-size: 24px; } }
54
- `;function ErrorPage(_a){var{code,title,style,children}=_a,rest=__rest(_a,["code","title","style","children"]);return react_1.default.createElement("div",Object.assign({},rest,{style:Object.assign(Object.assign({},styles.errorPage),style)}),react_1.default.createElement("style",null,inlineStyles),react_1.default.createElement("h1",{style:styles.title,className:"bit-error-page-title"},title),react_1.default.createElement("img",{alt:"error-image",style:styles.img,src:`https://static.bit.dev/harmony/${code}.svg`}),children)}exports.ErrorPage=ErrorPage},47740: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]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),exports.ContactIcons=void 0,__exportStar(__webpack_require__(39091),exports);var contact_footer_1=__webpack_require__(56435);Object.defineProperty(exports,"ContactIcons",{enumerable:!0,get:function(){return contact_footer_1.ContactIcons}})},42355:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.NotFoundPage=void 0;var not_found_page_1=__webpack_require__(41270);Object.defineProperty(exports,"NotFoundPage",{enumerable:!0,get:function(){return not_found_page_1.NotFoundPage}})},41270:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __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.NotFoundPage=void 0;const react_1=__importDefault(__webpack_require__(59496)),design_ui_error_page_1=__webpack_require__(47740);function NotFoundPage(_a){var rest=__rest(_a,[]);return react_1.default.createElement(design_ui_error_page_1.ErrorPage,Object.assign({},rest,{code:404,title:"Page not found"}),react_1.default.createElement(design_ui_error_page_1.ContactIcons,null))}exports.NotFoundPage=NotFoundPage},8314: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]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(64095),exports)},64095: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.StandaloneNotFoundPage=void 0;const react_1=__importDefault(__webpack_require__(59496)),design_ui_pages_not_found_1=__webpack_require__(42355);function StandaloneNotFoundPage(){return react_1.default.createElement(design_ui_pages_not_found_1.NotFoundPage,{style:{fontFamily:'"Helvetica Neue",Helvetica, sans-serif'}})}exports.StandaloneNotFoundPage=StandaloneNotFoundPage},19803:(module,exports)=>{var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;/*!
54
+ `;function ErrorPage(_a){var{code,title,style,children}=_a,rest=__rest(_a,["code","title","style","children"]);return react_1.default.createElement("div",Object.assign({},rest,{style:Object.assign(Object.assign({},styles.errorPage),style)}),react_1.default.createElement("style",null,inlineStyles),react_1.default.createElement("h1",{style:styles.title,className:"bit-error-page-title"},title),react_1.default.createElement("img",{alt:"error-image",style:styles.img,src:`https://static.bit.dev/harmony/${code}.svg`}),children)}exports.ErrorPage=ErrorPage},47740: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]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),exports.ContactIcons=void 0,__exportStar(__webpack_require__(39091),exports);var contact_footer_1=__webpack_require__(56435);Object.defineProperty(exports,"ContactIcons",{enumerable:!0,get:function(){return contact_footer_1.ContactIcons}})},42355:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.NotFoundPage=void 0;var not_found_page_1=__webpack_require__(41270);Object.defineProperty(exports,"NotFoundPage",{enumerable:!0,get:function(){return not_found_page_1.NotFoundPage}})},41270:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __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.NotFoundPage=void 0;const react_1=__importDefault(__webpack_require__(59496)),design_ui_error_page_1=__webpack_require__(47740);function NotFoundPage(_a){var rest=__rest(_a,[]);return react_1.default.createElement(design_ui_error_page_1.ErrorPage,Object.assign({},rest,{code:404,title:"Page not found"}),react_1.default.createElement(design_ui_error_page_1.ContactIcons,null))}exports.NotFoundPage=NotFoundPage},8314: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]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(18826),exports)},18826: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.StandaloneNotFoundPage=void 0;const react_1=__importDefault(__webpack_require__(59496)),design_ui_pages_not_found_1=__webpack_require__(42355);function StandaloneNotFoundPage(){return react_1.default.createElement(design_ui_pages_not_found_1.NotFoundPage,{style:{fontFamily:'"Helvetica Neue",Helvetica, sans-serif'}})}exports.StandaloneNotFoundPage=StandaloneNotFoundPage},19803:(module,exports)=>{var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;/*!
55
55
  Copyright (c) 2018 Jed Watson.
56
56
  Licensed under the MIT License (MIT), see
57
57
  http://jedwatson.github.io/classnames
58
- */(function(){"use strict";var hasOwn={}.hasOwnProperty;function classNames(){for(var classes=[],i=0;i<arguments.length;i++){var arg=arguments[i];if(!!arg){var argType=typeof arg;if(argType==="string"||argType==="number")classes.push(arg);else if(Array.isArray(arg)){if(arg.length){var inner=classNames.apply(null,arg);inner&&classes.push(inner)}}else if(argType==="object")if(arg.toString===Object.prototype.toString)for(var key in arg)hasOwn.call(arg,key)&&arg[key]&&classes.push(key);else classes.push(arg.toString())}}return classes.join(" ")}module.exports?(classNames.default=classNames,module.exports=classNames):(__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return classNames}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))})()},7489:(__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__={loader:"loader-ribbon_loader__1jKFr",loading:"loader-ribbon_loading__1zzRF",progress:"loader-ribbon_progress__2ORtc",completed:"loader-ribbon_completed__BbYGF"}},98878:(__unused_webpack_module,exports)=>{"use strict";var has=Object.prototype.hasOwnProperty,undef;function decode(input){try{return decodeURIComponent(input.replace(/\+/g," "))}catch{return null}}function encode(input){try{return encodeURIComponent(input)}catch{return null}}function querystring(query){for(var parser=/([^=?#&]+)=?([^&]*)/g,result={},part;part=parser.exec(query);){var key=decode(part[1]),value=decode(part[2]);key===null||value===null||key in result||(result[key]=value)}return result}function querystringify(obj,prefix){prefix=prefix||"";var pairs=[],value,key;typeof prefix!="string"&&(prefix="?");for(key in obj)if(has.call(obj,key)){if(value=obj[key],!value&&(value===null||value===undef||isNaN(value))&&(value=""),key=encode(key),value=encode(value),key===null||value===null)continue;pairs.push(key+"="+value)}return pairs.length?prefix+pairs.join("&"):""}exports.stringify=querystringify,exports.parse=querystring},41384:module=>{"use strict";module.exports=function(port,protocol){if(protocol=protocol.split(":")[0],port=+port,!port)return!1;switch(protocol){case"http":case"ws":return port!==80;case"https":case"wss":return port!==443;case"ftp":return port!==21;case"gopher":return port!==70;case"file":return!1}return port!==0}},54386:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var required=__webpack_require__(41384),qs=__webpack_require__(98878),slashes=/^[A-Za-z][A-Za-z0-9+-.]*:[\\/]+/,protocolre=/^([a-z][a-z0-9.+-]*:)?([\\/]{1,})?([\S\s]*)/i,whitespace="[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]",left=new RegExp("^"+whitespace+"+");function trimLeft(str){return(str||"").toString().replace(left,"")}var rules=[["#","hash"],["?","query"],function(address){return address.replace("\\","/")},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d+)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],ignore={hash:1,query:1};function lolcation(loc){var globalVar;typeof window<"u"?globalVar=window:typeof __webpack_require__.g<"u"?globalVar=__webpack_require__.g:typeof self<"u"?globalVar=self:globalVar={};var location=globalVar.location||{};loc=loc||location;var finaldestination={},type=typeof loc,key;if(loc.protocol==="blob:")finaldestination=new Url(unescape(loc.pathname),{});else if(type==="string"){finaldestination=new Url(loc,{});for(key in ignore)delete finaldestination[key]}else if(type==="object"){for(key in loc)key in ignore||(finaldestination[key]=loc[key]);finaldestination.slashes===void 0&&(finaldestination.slashes=slashes.test(loc.href))}return finaldestination}function extractProtocol(address){address=trimLeft(address);var match=protocolre.exec(address),protocol=match[1]?match[1].toLowerCase():"",slashes2=!!(match[2]&&match[2].length>=2),rest=match[2]&&match[2].length===1?"/"+match[3]:match[3];return{protocol,slashes:slashes2,rest}}function resolve(relative,base){if(relative==="")return base;for(var path=(base||"/").split("/").slice(0,-1).concat(relative.split("/")),i=path.length,last=path[i-1],unshift=!1,up=0;i--;)path[i]==="."?path.splice(i,1):path[i]===".."?(path.splice(i,1),up++):up&&(i===0&&(unshift=!0),path.splice(i,1),up--);return unshift&&path.unshift(""),(last==="."||last==="..")&&path.push(""),path.join("/")}function Url(address,location,parser){if(address=trimLeft(address),!(this instanceof Url))return new Url(address,location,parser);var relative,extracted,parse,instruction,index,key,instructions=rules.slice(),type=typeof location,url=this,i=0;for(type!=="object"&&type!=="string"&&(parser=location,location=null),parser&&typeof parser!="function"&&(parser=qs.parse),location=lolcation(location),extracted=extractProtocol(address||""),relative=!extracted.protocol&&!extracted.slashes,url.slashes=extracted.slashes||relative&&location.slashes,url.protocol=extracted.protocol||location.protocol||"",address=extracted.rest,extracted.slashes||(instructions[3]=[/(.*)/,"pathname"]);i<instructions.length;i++){if(instruction=instructions[i],typeof instruction=="function"){address=instruction(address);continue}parse=instruction[0],key=instruction[1],parse!==parse?url[key]=address:typeof parse=="string"?~(index=address.indexOf(parse))&&(typeof instruction[2]=="number"?(url[key]=address.slice(0,index),address=address.slice(index+instruction[2])):(url[key]=address.slice(index),address=address.slice(0,index))):(index=parse.exec(address))&&(url[key]=index[1],address=address.slice(0,index.index)),url[key]=url[key]||relative&&instruction[3]&&location[key]||"",instruction[4]&&(url[key]=url[key].toLowerCase())}parser&&(url.query=parser(url.query)),relative&&location.slashes&&url.pathname.charAt(0)!=="/"&&(url.pathname!==""||location.pathname!=="")&&(url.pathname=resolve(url.pathname,location.pathname)),url.pathname.charAt(0)!=="/"&&url.hostname&&(url.pathname="/"+url.pathname),required(url.port,url.protocol)||(url.host=url.hostname,url.port=""),url.username=url.password="",url.auth&&(instruction=url.auth.split(":"),url.username=instruction[0]||"",url.password=instruction[1]||""),url.origin=url.protocol&&url.host&&url.protocol!=="file:"?url.protocol+"//"+url.host:"null",url.href=url.toString()}function set(part,value,fn){var url=this;switch(part){case"query":typeof value=="string"&&value.length&&(value=(fn||qs.parse)(value)),url[part]=value;break;case"port":url[part]=value,required(value,url.protocol)?value&&(url.host=url.hostname+":"+value):(url.host=url.hostname,url[part]="");break;case"hostname":url[part]=value,url.port&&(value+=":"+url.port),url.host=value;break;case"host":url[part]=value,/:\d+$/.test(value)?(value=value.split(":"),url.port=value.pop(),url.hostname=value.join(":")):(url.hostname=value,url.port="");break;case"protocol":url.protocol=value.toLowerCase(),url.slashes=!fn;break;case"pathname":case"hash":if(value){var char=part==="pathname"?"/":"#";url[part]=value.charAt(0)!==char?char+value:value}else url[part]=value;break;default:url[part]=value}for(var i=0;i<rules.length;i++){var ins=rules[i];ins[4]&&(url[ins[1]]=url[ins[1]].toLowerCase())}return url.origin=url.protocol&&url.host&&url.protocol!=="file:"?url.protocol+"//"+url.host:"null",url.href=url.toString(),url}function toString(stringify){(!stringify||typeof stringify!="function")&&(stringify=qs.stringify);var query,url=this,protocol=url.protocol;protocol&&protocol.charAt(protocol.length-1)!==":"&&(protocol+=":");var result=protocol+(url.slashes?"//":"");return url.username&&(result+=url.username,url.password&&(result+=":"+url.password),result+="@"),result+=url.host+url.pathname,query=typeof url.query=="object"?stringify(url.query):url.query,query&&(result+=query.charAt(0)!=="?"?"?"+query:query),url.hash&&(result+=url.hash),result}Url.prototype={set,toString},Url.extractProtocol=extractProtocol,Url.location=lolcation,Url.trimLeft=trimLeft,Url.qs=qs,module.exports=Url},51166: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.CompositionsApp=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_ui_utils_composer_1=__webpack_require__(97383),design_ui_pages_standalone_not_found_page_1=__webpack_require__(8314),react_ui_loader_fallback_1=__webpack_require__(4603),hideScrollbars="body::-webkit-scrollbar {display: none;}";function CompositionsApp({Composition,previewContext}){const{providers=[]}=previewContext?.get("teambit.react/react")||{},safeComposition=(0,react_ui_loader_fallback_1.useFallback)(Composition&&react_1.default.createElement(Composition,null),react_1.default.createElement(design_ui_pages_standalone_not_found_page_1.StandaloneNotFoundPage,null));return react_1.default.createElement(base_ui_utils_composer_1.Composer,{components:providers},react_1.default.createElement("style",null,hideScrollbars),safeComposition)}exports.CompositionsApp=CompositionsApp},40105: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});const react_1=__importDefault(__webpack_require__(59496)),react_dom_1=__importDefault(__webpack_require__(87995)),compositions_app_1=__webpack_require__(51166);exports.default=(Composition,previewContext)=>{react_dom_1.default.render(react_1.default.createElement(compositions_app_1.CompositionsApp,{Composition,previewContext}),document.getElementById("root"))}},5659: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.default=exports.CompositionsApp=void 0;var compositions_app_1=__webpack_require__(51166);Object.defineProperty(exports,"CompositionsApp",{enumerable:!0,get:function(){return compositions_app_1.CompositionsApp}});var compositions_app_root_1=__webpack_require__(40105);Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return __importDefault(compositions_app_root_1).default}})},4603:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useFallback=exports.LoaderFallback=void 0;var loader_fallback_1=__webpack_require__(48767);Object.defineProperty(exports,"LoaderFallback",{enumerable:!0,get:function(){return loader_fallback_1.LoaderFallback}}),Object.defineProperty(exports,"useFallback",{enumerable:!0,get:function(){return loader_fallback_1.useFallback}})},48767: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.useFallback=exports.LoaderFallback=void 0;const react_1=__importStar(__webpack_require__(59496)),base_ui_loaders_loader_ribbon_1=__webpack_require__(38453);function LoaderFallback({Target,Loader=LoaderComponent,DefaultComponent,timeout=15e3}){return useFallback(Target&&react_1.default.createElement(Target,null),react_1.default.createElement(DefaultComponent,null),{timeout,loader:react_1.default.createElement(Loader,null)})}exports.LoaderFallback=LoaderFallback;function useFallback(target,fallback,{timeout=15e3,loader=react_1.default.createElement(LoaderComponent,null)}={}){const[working,setWorking]=(0,react_1.useState)(!!target),hasTarget=!!target;return(0,react_1.useEffect)(()=>{if(timeout<=0)return()=>{};if(hasTarget)return setWorking(!0),()=>{};const tmId=setTimeout(()=>setWorking(!1),timeout);return()=>clearTimeout(tmId)},[hasTarget,timeout]),target||(working&&timeout>0?loader:fallback)}exports.useFallback=useFallback;function LoaderComponent(){return react_1.default.createElement(base_ui_loaders_loader_ribbon_1.LoaderRibbon,{active:!0,style:{position:"fixed",top:0,left:0,right:0}})}},99770:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.defaultJsonSerializer=void 0,exports.defaultJsonSerializer=JSON},92257:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.GraphQLWebSocketClient=void 0;const resolveRequestDocument_js_1=__webpack_require__(27520),types_js_1=__webpack_require__(63749),CONNECTION_INIT="connection_init",CONNECTION_ACK="connection_ack",PING="ping",PONG="pong",SUBSCRIBE="subscribe",NEXT="next",ERROR="error",COMPLETE="complete";class GraphQLWebSocketMessage{get type(){return this._type}get id(){return this._id}get payload(){return this._payload}constructor(type,payload,id){this._type=type,this._payload=payload,this._id=id}get text(){const result={type:this.type};return this.id!=null&&this.id!=null&&(result.id=this.id),this.payload!=null&&this.payload!=null&&(result.payload=this.payload),JSON.stringify(result)}static parse(data,f){const{type,payload,id}=JSON.parse(data);return new GraphQLWebSocketMessage(type,f(payload),id)}}class GraphQLWebSocketClient{constructor(socket,{onInit,onAcknowledged,onPing,onPong}){this.socketState={acknowledged:!1,lastRequestId:0,subscriptions:{}},this.socket=socket,socket.addEventListener("open",async e=>{this.socketState.acknowledged=!1,this.socketState.subscriptions={},socket.send(ConnectionInit(onInit?await onInit():null).text)}),socket.addEventListener("close",e=>{this.socketState.acknowledged=!1,this.socketState.subscriptions={}}),socket.addEventListener("error",e=>{console.error(e)}),socket.addEventListener("message",e=>{try{const message=parseMessage(e.data);switch(message.type){case CONNECTION_ACK:{this.socketState.acknowledged?console.warn("Duplicate CONNECTION_ACK message ignored"):(this.socketState.acknowledged=!0,onAcknowledged&&onAcknowledged(message.payload));return}case PING:{onPing?onPing(message.payload).then(r=>socket.send(Pong(r).text)):socket.send(Pong(null).text);return}case PONG:{onPong&&onPong(message.payload);return}}if(!this.socketState.acknowledged||message.id===void 0||message.id===null||!this.socketState.subscriptions[message.id])return;const{query,variables,subscriber}=this.socketState.subscriptions[message.id];switch(message.type){case NEXT:{!message.payload.errors&&message.payload.data&&subscriber.next&&subscriber.next(message.payload.data),message.payload.errors&&subscriber.error&&subscriber.error(new types_js_1.ClientError({...message.payload,status:200},{query,variables}));return}case ERROR:{subscriber.error&&subscriber.error(new types_js_1.ClientError({errors:message.payload,status:200},{query,variables}));return}case COMPLETE:{subscriber.complete&&subscriber.complete(),delete this.socketState.subscriptions[message.id];return}}}catch(e2){console.error(e2),socket.close(1006)}socket.close(4400,"Unknown graphql-ws message.")})}makeSubscribe(query,operationName,subscriber,variables){const subscriptionId=(this.socketState.lastRequestId++).toString();return this.socketState.subscriptions[subscriptionId]={query,variables,subscriber},this.socket.send(Subscribe(subscriptionId,{query,operationName,variables}).text),()=>{this.socket.send(Complete(subscriptionId).text),delete this.socketState.subscriptions[subscriptionId]}}rawRequest(query,variables){return new Promise((resolve,reject)=>{let result;this.rawSubscribe(query,{next:(data,extensions)=>result={data,extensions},error:reject,complete:()=>resolve(result)},variables)})}request(document2,variables){return new Promise((resolve,reject)=>{let result;this.subscribe(document2,{next:data=>result=data,error:reject,complete:()=>resolve(result)},variables)})}subscribe(document2,subscriber,variables){const{query,operationName}=(0,resolveRequestDocument_js_1.resolveRequestDocument)(document2);return this.makeSubscribe(query,operationName,subscriber,variables)}rawSubscribe(query,subscriber,variables){return this.makeSubscribe(query,void 0,subscriber,variables)}ping(payload){this.socket.send(Ping(payload).text)}close(){this.socket.close(1e3)}}GraphQLWebSocketClient.PROTOCOL="graphql-transport-ws",exports.GraphQLWebSocketClient=GraphQLWebSocketClient;function parseMessage(data,f=a=>a){return GraphQLWebSocketMessage.parse(data,f)}function ConnectionInit(payload){return new GraphQLWebSocketMessage(CONNECTION_INIT,payload)}function Ping(payload){return new GraphQLWebSocketMessage(PING,payload,void 0)}function Pong(payload){return new GraphQLWebSocketMessage(PONG,payload,void 0)}function Subscribe(id,payload){return new GraphQLWebSocketMessage(SUBSCRIBE,payload,id)}function Complete(id){return new GraphQLWebSocketMessage(COMPLETE,void 0,id)}},56970:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.HeadersInstanceToPlainObject=exports.uppercase=void 0;const uppercase=str=>str.toUpperCase();exports.uppercase=uppercase;const HeadersInstanceToPlainObject=headers=>{const o={};return headers.forEach((v,k)=>{o[k]=v}),o};exports.HeadersInstanceToPlainObject=HeadersInstanceToPlainObject},80507: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.request=exports.rawRequest=exports.GraphQLClient=exports.ClientError=exports.batchRequests=exports.resolveRequestDocument=exports.GraphQLWebSocketClient=exports.gql=void 0;const defaultJsonSerializer_js_1=__webpack_require__(99770),helpers_js_1=__webpack_require__(56970),parseArgs_js_1=__webpack_require__(36570),resolveRequestDocument_js_1=__webpack_require__(27520),types_js_1=__webpack_require__(63749);Object.defineProperty(exports,"ClientError",{enumerable:!0,get:function(){return types_js_1.ClientError}});const cross_fetch_1=__importStar(__webpack_require__(6)),CrossFetch=cross_fetch_1,resolveHeaders=headers=>{let oHeaders={};return headers&&(typeof Headers<"u"&&headers instanceof Headers||CrossFetch&&CrossFetch.Headers&&headers instanceof CrossFetch.Headers?oHeaders=(0,helpers_js_1.HeadersInstanceToPlainObject)(headers):Array.isArray(headers)?headers.forEach(([name,value])=>{name&&value!==void 0&&(oHeaders[name]=value)}):oHeaders=headers),oHeaders},cleanQuery=str=>str.replace(/([\s,]|#[^\n\r]+)+/g," ").trim(),buildRequestConfig=params=>{if(!Array.isArray(params.query)){const params_2=params,search=[`query=${encodeURIComponent(cleanQuery(params_2.query))}`];return params.variables&&search.push(`variables=${encodeURIComponent(params_2.jsonSerializer.stringify(params_2.variables))}`),params_2.operationName&&search.push(`operationName=${encodeURIComponent(params_2.operationName)}`),search.join("&")}if(typeof params.variables<"u"&&!Array.isArray(params.variables))throw new Error("Cannot create query with given variable type, array expected");const params_=params,payload=params.query.reduce((acc,currentQuery,index)=>(acc.push({query:cleanQuery(currentQuery),variables:params_.variables?params_.jsonSerializer.stringify(params_.variables[index]):void 0}),acc),[]);return`query=${encodeURIComponent(params_.jsonSerializer.stringify(payload))}`},createHttpMethodFetcher=method=>async params=>{const{url,query,variables,operationName,fetch,fetchOptions,middleware}=params,headers={...params.headers};let queryParams="",body;method==="POST"?(body=createRequestBody(query,variables,operationName,fetchOptions.jsonSerializer),typeof body=="string"&&(headers["Content-Type"]="application/json")):queryParams=buildRequestConfig({query,variables,operationName,jsonSerializer:fetchOptions.jsonSerializer??defaultJsonSerializer_js_1.defaultJsonSerializer});const init={method,headers,body,...fetchOptions};let urlResolved=url,initResolved=init;if(middleware){const result=await Promise.resolve(middleware({...init,url,operationName,variables})),{url:urlNew,...initNew}=result;urlResolved=urlNew,initResolved=initNew}return queryParams&&(urlResolved=`${urlResolved}?${queryParams}`),await fetch(urlResolved,initResolved)};class GraphQLClient{constructor(url,requestConfig={}){this.url=url,this.requestConfig=requestConfig,this.rawRequest=async(...args)=>{const[queryOrOptions,variables,requestHeaders]=args,rawRequestOptions=(0,parseArgs_js_1.parseRawRequestArgs)(queryOrOptions,variables,requestHeaders),{headers,fetch=cross_fetch_1.default,method="POST",requestMiddleware,responseMiddleware,...fetchOptions}=this.requestConfig,{url:url2}=this;rawRequestOptions.signal!==void 0&&(fetchOptions.signal=rawRequestOptions.signal);const{operationName}=(0,resolveRequestDocument_js_1.resolveRequestDocument)(rawRequestOptions.query);return makeRequest({url:url2,query:rawRequestOptions.query,variables:rawRequestOptions.variables,headers:{...resolveHeaders(callOrIdentity(headers)),...resolveHeaders(rawRequestOptions.requestHeaders)},operationName,fetch,method,fetchOptions,middleware:requestMiddleware}).then(response=>(responseMiddleware&&responseMiddleware(response),response)).catch(error=>{throw responseMiddleware&&responseMiddleware(error),error})}}async request(documentOrOptions,...variablesAndRequestHeaders){const[variables,requestHeaders]=variablesAndRequestHeaders,requestOptions=(0,parseArgs_js_1.parseRequestArgs)(documentOrOptions,variables,requestHeaders),{headers,fetch=cross_fetch_1.default,method="POST",requestMiddleware,responseMiddleware,...fetchOptions}=this.requestConfig,{url}=this;requestOptions.signal!==void 0&&(fetchOptions.signal=requestOptions.signal);const{query,operationName}=(0,resolveRequestDocument_js_1.resolveRequestDocument)(requestOptions.document);return makeRequest({url,query,variables:requestOptions.variables,headers:{...resolveHeaders(callOrIdentity(headers)),...resolveHeaders(requestOptions.requestHeaders)},operationName,fetch,method,fetchOptions,middleware:requestMiddleware}).then(response=>(responseMiddleware&&responseMiddleware(response),response.data)).catch(error=>{throw responseMiddleware&&responseMiddleware(error),error})}batchRequests(documentsOrOptions,requestHeaders){const batchRequestOptions=(0,parseArgs_js_1.parseBatchRequestArgs)(documentsOrOptions,requestHeaders),{headers,...fetchOptions}=this.requestConfig;batchRequestOptions.signal!==void 0&&(fetchOptions.signal=batchRequestOptions.signal);const queries=batchRequestOptions.documents.map(({document:document2})=>(0,resolveRequestDocument_js_1.resolveRequestDocument)(document2).query),variables=batchRequestOptions.documents.map(({variables:variables2})=>variables2);return makeRequest({url:this.url,query:queries,variables,headers:{...resolveHeaders(callOrIdentity(headers)),...resolveHeaders(batchRequestOptions.requestHeaders)},operationName:void 0,fetch:this.requestConfig.fetch??cross_fetch_1.default,method:this.requestConfig.method||"POST",fetchOptions,middleware:this.requestConfig.requestMiddleware}).then(response=>(this.requestConfig.responseMiddleware&&this.requestConfig.responseMiddleware(response),response.data)).catch(error=>{throw this.requestConfig.responseMiddleware&&this.requestConfig.responseMiddleware(error),error})}setHeaders(headers){return this.requestConfig.headers=headers,this}setHeader(key,value){const{headers}=this.requestConfig;return headers?headers[key]=value:this.requestConfig.headers={[key]:value},this}setEndpoint(value){return this.url=value,this}}exports.GraphQLClient=GraphQLClient;const makeRequest=async params=>{const{query,variables,fetchOptions}=params,fetcher=createHttpMethodFetcher((0,helpers_js_1.uppercase)(params.method??"post")),isBatchingQuery=Array.isArray(params.query),response=await fetcher(params),result=await getResult(response,fetchOptions.jsonSerializer??defaultJsonSerializer_js_1.defaultJsonSerializer),successfullyReceivedData=Array.isArray(result)?!result.some(({data})=>!data):Boolean(result.data),successfullyPassedErrorPolicy=Array.isArray(result)||!result.errors||Array.isArray(result.errors)&&!result.errors.length||fetchOptions.errorPolicy==="all"||fetchOptions.errorPolicy==="ignore";if(response.ok&&successfullyPassedErrorPolicy&&successfullyReceivedData){const{errors:_,...rest}=(Array.isArray(result),result),data=fetchOptions.errorPolicy==="ignore"?rest:result;return{...isBatchingQuery?{data}:data,headers:response.headers,status:response.status}}else{const errorResult=typeof result=="string"?{error:result}:result;throw new types_js_1.ClientError({...errorResult,status:response.status,headers:response.headers},{query,variables})}},rawRequest=async(...args)=>{const[urlOrOptions,query,...variablesAndRequestHeaders]=args,requestOptions=(0,parseArgs_js_1.parseRawRequestExtendedArgs)(urlOrOptions,query,...variablesAndRequestHeaders);return new GraphQLClient(requestOptions.url).rawRequest({...requestOptions})};exports.rawRequest=rawRequest;async function request(urlOrOptions,document2,...variablesAndRequestHeaders){const requestOptions=(0,parseArgs_js_1.parseRequestExtendedArgs)(urlOrOptions,document2,...variablesAndRequestHeaders);return new GraphQLClient(requestOptions.url).request({...requestOptions})}exports.request=request;const batchRequests=async(...args)=>{const params=parseBatchRequestsArgsExtended(args);return new GraphQLClient(params.url).batchRequests(params)};exports.batchRequests=batchRequests;const parseBatchRequestsArgsExtended=args=>args.length===1?args[0]:{url:args[0],documents:args[1],requestHeaders:args[2],signal:void 0},createRequestBody=(query,variables,operationName,jsonSerializer)=>{const jsonSerializer_=jsonSerializer??defaultJsonSerializer_js_1.defaultJsonSerializer;if(!Array.isArray(query))return jsonSerializer_.stringify({query,variables,operationName});if(typeof variables<"u"&&!Array.isArray(variables))throw new Error("Cannot create request body with given variable type, array expected");const payload=query.reduce((acc,currentQuery,index)=>(acc.push({query:currentQuery,variables:variables?variables[index]:void 0}),acc),[]);return jsonSerializer_.stringify(payload)},getResult=async(response,jsonSerializer)=>{let contentType;return response.headers.forEach((value,key)=>{key.toLowerCase()==="content-type"&&(contentType=value)}),contentType&&(contentType.toLowerCase().startsWith("application/json")||contentType.toLowerCase().startsWith("application/graphql+json")||contentType.toLowerCase().startsWith("application/graphql-response+json"))?jsonSerializer.parse(await response.text()):response.text()},callOrIdentity=value=>typeof value=="function"?value():value,gql=(chunks,...variables)=>chunks.reduce((acc,chunk,index)=>`${acc}${chunk}${index in variables?String(variables[index]):""}`,"");exports.gql=gql;var graphql_ws_js_1=__webpack_require__(92257);Object.defineProperty(exports,"GraphQLWebSocketClient",{enumerable:!0,get:function(){return graphql_ws_js_1.GraphQLWebSocketClient}});var resolveRequestDocument_js_2=__webpack_require__(27520);Object.defineProperty(exports,"resolveRequestDocument",{enumerable:!0,get:function(){return resolveRequestDocument_js_2.resolveRequestDocument}}),exports.default=request},36570:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.parseRawRequestExtendedArgs=exports.parseRequestExtendedArgs=exports.parseBatchRequestArgs=exports.parseRawRequestArgs=exports.parseRequestArgs=void 0;const parseRequestArgs=(documentOrOptions,variables,requestHeaders)=>documentOrOptions.document?documentOrOptions:{document:documentOrOptions,variables,requestHeaders,signal:void 0};exports.parseRequestArgs=parseRequestArgs;const parseRawRequestArgs=(queryOrOptions,variables,requestHeaders)=>queryOrOptions.query?queryOrOptions:{query:queryOrOptions,variables,requestHeaders,signal:void 0};exports.parseRawRequestArgs=parseRawRequestArgs;const parseBatchRequestArgs=(documentsOrOptions,requestHeaders)=>documentsOrOptions.documents?documentsOrOptions:{documents:documentsOrOptions,requestHeaders,signal:void 0};exports.parseBatchRequestArgs=parseBatchRequestArgs;const parseRequestExtendedArgs=(urlOrOptions,document2,...variablesAndRequestHeaders)=>{const[variables,requestHeaders]=variablesAndRequestHeaders;return urlOrOptions.document?urlOrOptions:{url:urlOrOptions,document:document2,variables,requestHeaders,signal:void 0}};exports.parseRequestExtendedArgs=parseRequestExtendedArgs;const parseRawRequestExtendedArgs=(urlOrOptions,query,...variablesAndRequestHeaders)=>{const[variables,requestHeaders]=variablesAndRequestHeaders;return urlOrOptions.query?urlOrOptions:{url:urlOrOptions,query,variables,requestHeaders,signal:void 0}};exports.parseRawRequestExtendedArgs=parseRawRequestExtendedArgs},27520:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.resolveRequestDocument=void 0;const graphql_1=__webpack_require__(44697),extractOperationName=document2=>{let operationName;const operationDefinitions=document2.definitions.filter(definition=>definition.kind==="OperationDefinition");return operationDefinitions.length===1&&(operationName=operationDefinitions[0]?.name?.value),operationName},resolveRequestDocument=document2=>{if(typeof document2=="string"){let operationName2;try{const parsedDocument=(0,graphql_1.parse)(document2);operationName2=extractOperationName(parsedDocument)}catch{}return{query:document2,operationName:operationName2}}const operationName=extractOperationName(document2);return{query:(0,graphql_1.print)(document2),operationName}};exports.resolveRequestDocument=resolveRequestDocument},63749:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ClientError=void 0;class ClientError extends Error{constructor(response,request){const message=`${ClientError.extractMessage(response)}: ${JSON.stringify({response,request})}`;super(message);Object.setPrototypeOf(this,ClientError.prototype),this.response=response,this.request=request,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,ClientError)}static extractMessage(response){return response.errors?.[0]?.message??`GraphQL Error (Code: ${response.status})`}}exports.ClientError=ClientError},44697:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{BREAK:()=>BREAK,BreakingChangeType:()=>BreakingChangeType,DEFAULT_DEPRECATION_REASON:()=>DEFAULT_DEPRECATION_REASON,DangerousChangeType:()=>DangerousChangeType,DirectiveLocation:()=>DirectiveLocation,ExecutableDefinitionsRule:()=>ExecutableDefinitionsRule,FieldsOnCorrectTypeRule:()=>FieldsOnCorrectTypeRule,FragmentsOnCompositeTypesRule:()=>FragmentsOnCompositeTypesRule,GraphQLBoolean:()=>GraphQLBoolean,GraphQLDeprecatedDirective:()=>GraphQLDeprecatedDirective,GraphQLDirective:()=>GraphQLDirective,GraphQLEnumType:()=>GraphQLEnumType,GraphQLError:()=>GraphQLError,GraphQLFloat:()=>GraphQLFloat,GraphQLID:()=>GraphQLID,GraphQLIncludeDirective:()=>GraphQLIncludeDirective,GraphQLInputObjectType:()=>GraphQLInputObjectType,GraphQLInt:()=>GraphQLInt,GraphQLInterfaceType:()=>GraphQLInterfaceType,GraphQLList:()=>GraphQLList,GraphQLNonNull:()=>GraphQLNonNull,GraphQLObjectType:()=>GraphQLObjectType,GraphQLScalarType:()=>GraphQLScalarType,GraphQLSchema:()=>GraphQLSchema,GraphQLSkipDirective:()=>GraphQLSkipDirective,GraphQLSpecifiedByDirective:()=>GraphQLSpecifiedByDirective,GraphQLString:()=>GraphQLString,GraphQLUnionType:()=>GraphQLUnionType,Kind:()=>Kind,KnownArgumentNamesRule:()=>KnownArgumentNamesRule,KnownDirectivesRule:()=>KnownDirectivesRule,KnownFragmentNamesRule:()=>KnownFragmentNamesRule,KnownTypeNamesRule:()=>KnownTypeNamesRule,Lexer:()=>Lexer,Location:()=>Location,LoneAnonymousOperationRule:()=>LoneAnonymousOperationRule,LoneSchemaDefinitionRule:()=>LoneSchemaDefinitionRule,NoDeprecatedCustomRule:()=>NoDeprecatedCustomRule,NoFragmentCyclesRule:()=>NoFragmentCyclesRule,NoSchemaIntrospectionCustomRule:()=>NoSchemaIntrospectionCustomRule,NoUndefinedVariablesRule:()=>NoUndefinedVariablesRule,NoUnusedFragmentsRule:()=>NoUnusedFragmentsRule,NoUnusedVariablesRule:()=>NoUnusedVariablesRule,OverlappingFieldsCanBeMergedRule:()=>OverlappingFieldsCanBeMergedRule,PossibleFragmentSpreadsRule:()=>PossibleFragmentSpreadsRule,PossibleTypeExtensionsRule:()=>PossibleTypeExtensionsRule,ProvidedRequiredArgumentsRule:()=>ProvidedRequiredArgumentsRule,ScalarLeafsRule:()=>ScalarLeafsRule,SchemaMetaFieldDef:()=>SchemaMetaFieldDef,SingleFieldSubscriptionsRule:()=>SingleFieldSubscriptionsRule,Source:()=>Source,Token:()=>Token,TokenKind:()=>TokenKind,TypeInfo:()=>TypeInfo,TypeKind:()=>TypeKind,TypeMetaFieldDef:()=>TypeMetaFieldDef,TypeNameMetaFieldDef:()=>TypeNameMetaFieldDef,UniqueArgumentNamesRule:()=>UniqueArgumentNamesRule,UniqueDirectiveNamesRule:()=>UniqueDirectiveNamesRule,UniqueDirectivesPerLocationRule:()=>UniqueDirectivesPerLocationRule,UniqueEnumValueNamesRule:()=>UniqueEnumValueNamesRule,UniqueFieldDefinitionNamesRule:()=>UniqueFieldDefinitionNamesRule,UniqueFragmentNamesRule:()=>UniqueFragmentNamesRule,UniqueInputFieldNamesRule:()=>UniqueInputFieldNamesRule,UniqueOperationNamesRule:()=>UniqueOperationNamesRule,UniqueOperationTypesRule:()=>UniqueOperationTypesRule,UniqueTypeNamesRule:()=>UniqueTypeNamesRule,UniqueVariableNamesRule:()=>UniqueVariableNamesRule,ValidationContext:()=>ValidationContext,ValuesOfCorrectTypeRule:()=>ValuesOfCorrectTypeRule,VariablesAreInputTypesRule:()=>VariablesAreInputTypesRule,VariablesInAllowedPositionRule:()=>VariablesInAllowedPositionRule,__Directive:()=>__Directive,__DirectiveLocation:()=>__DirectiveLocation,__EnumValue:()=>__EnumValue,__Field:()=>__Field,__InputValue:()=>__InputValue,__Schema:()=>__Schema,__Type:()=>__Type,__TypeKind:()=>__TypeKind,assertAbstractType:()=>assertAbstractType,assertCompositeType:()=>assertCompositeType,assertDirective:()=>assertDirective,assertEnumType:()=>assertEnumType,assertInputObjectType:()=>assertInputObjectType,assertInputType:()=>assertInputType,assertInterfaceType:()=>assertInterfaceType,assertLeafType:()=>assertLeafType,assertListType:()=>assertListType,assertNamedType:()=>assertNamedType,assertNonNullType:()=>assertNonNullType,assertNullableType:()=>assertNullableType,assertObjectType:()=>assertObjectType,assertOutputType:()=>assertOutputType,assertScalarType:()=>assertScalarType,assertSchema:()=>assertSchema,assertType:()=>assertType,assertUnionType:()=>assertUnionType,assertValidName:()=>assertValidName,assertValidSchema:()=>assertValidSchema,assertWrappingType:()=>assertWrappingType,astFromValue:()=>astFromValue,buildASTSchema:()=>buildASTSchema,buildClientSchema:()=>buildClientSchema,buildSchema:()=>buildSchema,coerceInputValue:()=>coerceInputValue,concatAST:()=>concatAST,createSourceEventStream:()=>createSourceEventStream,defaultFieldResolver:()=>defaultFieldResolver,defaultTypeResolver:()=>defaultTypeResolver,doTypesOverlap:()=>doTypesOverlap,execute:()=>execute,executeSync:()=>executeSync,extendSchema:()=>extendSchema,findBreakingChanges:()=>findBreakingChanges,findDangerousChanges:()=>findDangerousChanges,findDeprecatedUsages:()=>findDeprecatedUsages,formatError:()=>formatError,getDescription:()=>getDescription,getDirectiveValues:()=>getDirectiveValues,getIntrospectionQuery:()=>getIntrospectionQuery,getLocation:()=>getLocation,getNamedType:()=>getNamedType,getNullableType:()=>getNullableType,getOperationAST:()=>getOperationAST,getOperationRootType:()=>getOperationRootType,getVisitFn:()=>getVisitFn,graphql:()=>graphql,graphqlSync:()=>graphqlSync,introspectionFromSchema:()=>introspectionFromSchema,introspectionTypes:()=>introspectionTypes,isAbstractType:()=>isAbstractType,isCompositeType:()=>isCompositeType,isDefinitionNode:()=>isDefinitionNode,isDirective:()=>isDirective,isEnumType:()=>isEnumType,isEqualType:()=>isEqualType,isExecutableDefinitionNode:()=>isExecutableDefinitionNode,isInputObjectType:()=>isInputObjectType,isInputType:()=>isInputType,isInterfaceType:()=>isInterfaceType,isIntrospectionType:()=>isIntrospectionType,isLeafType:()=>isLeafType,isListType:()=>isListType,isNamedType:()=>isNamedType,isNonNullType:()=>isNonNullType,isNullableType:()=>isNullableType,isObjectType:()=>isObjectType,isOutputType:()=>isOutputType,isRequiredArgument:()=>isRequiredArgument,isRequiredInputField:()=>isRequiredInputField,isScalarType:()=>isScalarType,isSchema:()=>isSchema,isSelectionNode:()=>isSelectionNode,isSpecifiedDirective:()=>isSpecifiedDirective,isSpecifiedScalarType:()=>isSpecifiedScalarType,isType:()=>isType,isTypeDefinitionNode:()=>isTypeDefinitionNode,isTypeExtensionNode:()=>isTypeExtensionNode,isTypeNode:()=>isTypeNode,isTypeSubTypeOf:()=>isTypeSubTypeOf,isTypeSystemDefinitionNode:()=>isTypeSystemDefinitionNode,isTypeSystemExtensionNode:()=>isTypeSystemExtensionNode,isUnionType:()=>isUnionType,isValidNameError:()=>isValidNameError,isValueNode:()=>isValueNode,isWrappingType:()=>isWrappingType,lexicographicSortSchema:()=>lexicographicSortSchema,locatedError:()=>locatedError,parse:()=>parse,parseType:()=>parseType,parseValue:()=>parseValue,print:()=>print,printError:()=>printError,printIntrospectionSchema:()=>printIntrospectionSchema,printLocation:()=>printLocation,printSchema:()=>printSchema,printSourceLocation:()=>printSourceLocation,printType:()=>printType,responsePathAsArray:()=>pathToArray,separateOperations:()=>separateOperations,specifiedDirectives:()=>specifiedDirectives,specifiedRules:()=>specifiedRules,specifiedScalarTypes:()=>specifiedScalarTypes,stripIgnoredCharacters:()=>stripIgnoredCharacters,subscribe:()=>subscribe,syntaxError:()=>syntaxError,typeFromAST:()=>typeFromAST,validate:()=>validate,validateSchema:()=>validateSchema,valueFromAST:()=>valueFromAST,valueFromASTUntyped:()=>valueFromASTUntyped,version:()=>version,versionInfo:()=>versionInfo,visit:()=>visit,visitInParallel:()=>visitInParallel,visitWithTypeInfo:()=>visitWithTypeInfo});var version="15.8.0",versionInfo=Object.freeze({major:15,minor:8,patch:0,preReleaseTag:null});function isPromise(value){return typeof value?.then=="function"}function _typeof(obj){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(obj2){return typeof obj2}:_typeof=function(obj2){return obj2&&typeof Symbol=="function"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2},_typeof(obj)}function isObjectLike(value){return _typeof(value)=="object"&&value!==null}var SYMBOL_ITERATOR=typeof Symbol=="function"&&Symbol.iterator!=null?Symbol.iterator:"@@iterator",SYMBOL_ASYNC_ITERATOR=typeof Symbol=="function"&&Symbol.asyncIterator!=null?Symbol.asyncIterator:"@@asyncIterator",SYMBOL_TO_STRING_TAG=typeof Symbol=="function"&&Symbol.toStringTag!=null?Symbol.toStringTag:"@@toStringTag";function getLocation(source,position){for(var lineRegexp=/\r\n|[\n\r]/g,line=1,column=position+1,match;(match=lineRegexp.exec(source.body))&&match.index<position;)line+=1,column=position+1-(match.index+match[0].length);return{line,column}}function printLocation(location){return printSourceLocation(location.source,getLocation(location.source,location.start))}function printSourceLocation(source,sourceLocation){var firstLineColumnOffset=source.locationOffset.column-1,body=whitespace(firstLineColumnOffset)+source.body,lineIndex=sourceLocation.line-1,lineOffset=source.locationOffset.line-1,lineNum=sourceLocation.line+lineOffset,columnOffset=sourceLocation.line===1?firstLineColumnOffset:0,columnNum=sourceLocation.column+columnOffset,locationStr="".concat(source.name,":").concat(lineNum,":").concat(columnNum,`
58
+ */(function(){"use strict";var hasOwn={}.hasOwnProperty;function classNames(){for(var classes=[],i=0;i<arguments.length;i++){var arg=arguments[i];if(!!arg){var argType=typeof arg;if(argType==="string"||argType==="number")classes.push(arg);else if(Array.isArray(arg)){if(arg.length){var inner=classNames.apply(null,arg);inner&&classes.push(inner)}}else if(argType==="object")if(arg.toString===Object.prototype.toString)for(var key in arg)hasOwn.call(arg,key)&&arg[key]&&classes.push(key);else classes.push(arg.toString())}}return classes.join(" ")}module.exports?(classNames.default=classNames,module.exports=classNames):(__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return classNames}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))})()},7489:(__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__={loader:"loader-ribbon_loader__1jKFr",loading:"loader-ribbon_loading__1zzRF",progress:"loader-ribbon_progress__2ORtc",completed:"loader-ribbon_completed__BbYGF"}},98878:(__unused_webpack_module,exports)=>{"use strict";var has=Object.prototype.hasOwnProperty,undef;function decode(input){try{return decodeURIComponent(input.replace(/\+/g," "))}catch{return null}}function encode(input){try{return encodeURIComponent(input)}catch{return null}}function querystring(query){for(var parser=/([^=?#&]+)=?([^&]*)/g,result={},part;part=parser.exec(query);){var key=decode(part[1]),value=decode(part[2]);key===null||value===null||key in result||(result[key]=value)}return result}function querystringify(obj,prefix){prefix=prefix||"";var pairs=[],value,key;typeof prefix!="string"&&(prefix="?");for(key in obj)if(has.call(obj,key)){if(value=obj[key],!value&&(value===null||value===undef||isNaN(value))&&(value=""),key=encode(key),value=encode(value),key===null||value===null)continue;pairs.push(key+"="+value)}return pairs.length?prefix+pairs.join("&"):""}exports.stringify=querystringify,exports.parse=querystring},41384:module=>{"use strict";module.exports=function(port,protocol){if(protocol=protocol.split(":")[0],port=+port,!port)return!1;switch(protocol){case"http":case"ws":return port!==80;case"https":case"wss":return port!==443;case"ftp":return port!==21;case"gopher":return port!==70;case"file":return!1}return port!==0}},54386:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var required=__webpack_require__(41384),qs=__webpack_require__(98878),slashes=/^[A-Za-z][A-Za-z0-9+-.]*:[\\/]+/,protocolre=/^([a-z][a-z0-9.+-]*:)?([\\/]{1,})?([\S\s]*)/i,whitespace="[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]",left=new RegExp("^"+whitespace+"+");function trimLeft(str){return(str||"").toString().replace(left,"")}var rules=[["#","hash"],["?","query"],function(address){return address.replace("\\","/")},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d+)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],ignore={hash:1,query:1};function lolcation(loc){var globalVar;typeof window<"u"?globalVar=window:typeof __webpack_require__.g<"u"?globalVar=__webpack_require__.g:typeof self<"u"?globalVar=self:globalVar={};var location=globalVar.location||{};loc=loc||location;var finaldestination={},type=typeof loc,key;if(loc.protocol==="blob:")finaldestination=new Url(unescape(loc.pathname),{});else if(type==="string"){finaldestination=new Url(loc,{});for(key in ignore)delete finaldestination[key]}else if(type==="object"){for(key in loc)key in ignore||(finaldestination[key]=loc[key]);finaldestination.slashes===void 0&&(finaldestination.slashes=slashes.test(loc.href))}return finaldestination}function extractProtocol(address){address=trimLeft(address);var match=protocolre.exec(address),protocol=match[1]?match[1].toLowerCase():"",slashes2=!!(match[2]&&match[2].length>=2),rest=match[2]&&match[2].length===1?"/"+match[3]:match[3];return{protocol,slashes:slashes2,rest}}function resolve(relative,base){if(relative==="")return base;for(var path=(base||"/").split("/").slice(0,-1).concat(relative.split("/")),i=path.length,last=path[i-1],unshift=!1,up=0;i--;)path[i]==="."?path.splice(i,1):path[i]===".."?(path.splice(i,1),up++):up&&(i===0&&(unshift=!0),path.splice(i,1),up--);return unshift&&path.unshift(""),(last==="."||last==="..")&&path.push(""),path.join("/")}function Url(address,location,parser){if(address=trimLeft(address),!(this instanceof Url))return new Url(address,location,parser);var relative,extracted,parse,instruction,index,key,instructions=rules.slice(),type=typeof location,url=this,i=0;for(type!=="object"&&type!=="string"&&(parser=location,location=null),parser&&typeof parser!="function"&&(parser=qs.parse),location=lolcation(location),extracted=extractProtocol(address||""),relative=!extracted.protocol&&!extracted.slashes,url.slashes=extracted.slashes||relative&&location.slashes,url.protocol=extracted.protocol||location.protocol||"",address=extracted.rest,extracted.slashes||(instructions[3]=[/(.*)/,"pathname"]);i<instructions.length;i++){if(instruction=instructions[i],typeof instruction=="function"){address=instruction(address);continue}parse=instruction[0],key=instruction[1],parse!==parse?url[key]=address:typeof parse=="string"?~(index=address.indexOf(parse))&&(typeof instruction[2]=="number"?(url[key]=address.slice(0,index),address=address.slice(index+instruction[2])):(url[key]=address.slice(index),address=address.slice(0,index))):(index=parse.exec(address))&&(url[key]=index[1],address=address.slice(0,index.index)),url[key]=url[key]||relative&&instruction[3]&&location[key]||"",instruction[4]&&(url[key]=url[key].toLowerCase())}parser&&(url.query=parser(url.query)),relative&&location.slashes&&url.pathname.charAt(0)!=="/"&&(url.pathname!==""||location.pathname!=="")&&(url.pathname=resolve(url.pathname,location.pathname)),url.pathname.charAt(0)!=="/"&&url.hostname&&(url.pathname="/"+url.pathname),required(url.port,url.protocol)||(url.host=url.hostname,url.port=""),url.username=url.password="",url.auth&&(instruction=url.auth.split(":"),url.username=instruction[0]||"",url.password=instruction[1]||""),url.origin=url.protocol&&url.host&&url.protocol!=="file:"?url.protocol+"//"+url.host:"null",url.href=url.toString()}function set(part,value,fn){var url=this;switch(part){case"query":typeof value=="string"&&value.length&&(value=(fn||qs.parse)(value)),url[part]=value;break;case"port":url[part]=value,required(value,url.protocol)?value&&(url.host=url.hostname+":"+value):(url.host=url.hostname,url[part]="");break;case"hostname":url[part]=value,url.port&&(value+=":"+url.port),url.host=value;break;case"host":url[part]=value,/:\d+$/.test(value)?(value=value.split(":"),url.port=value.pop(),url.hostname=value.join(":")):(url.hostname=value,url.port="");break;case"protocol":url.protocol=value.toLowerCase(),url.slashes=!fn;break;case"pathname":case"hash":if(value){var char=part==="pathname"?"/":"#";url[part]=value.charAt(0)!==char?char+value:value}else url[part]=value;break;default:url[part]=value}for(var i=0;i<rules.length;i++){var ins=rules[i];ins[4]&&(url[ins[1]]=url[ins[1]].toLowerCase())}return url.origin=url.protocol&&url.host&&url.protocol!=="file:"?url.protocol+"//"+url.host:"null",url.href=url.toString(),url}function toString(stringify){(!stringify||typeof stringify!="function")&&(stringify=qs.stringify);var query,url=this,protocol=url.protocol;protocol&&protocol.charAt(protocol.length-1)!==":"&&(protocol+=":");var result=protocol+(url.slashes?"//":"");return url.username&&(result+=url.username,url.password&&(result+=":"+url.password),result+="@"),result+=url.host+url.pathname,query=typeof url.query=="object"?stringify(url.query):url.query,query&&(result+=query.charAt(0)!=="?"?"?"+query:query),url.hash&&(result+=url.hash),result}Url.prototype={set,toString},Url.extractProtocol=extractProtocol,Url.location=lolcation,Url.trimLeft=trimLeft,Url.qs=qs,module.exports=Url},51166: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.CompositionsApp=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_ui_utils_composer_1=__webpack_require__(97383),design_ui_pages_standalone_not_found_page_1=__webpack_require__(8314),react_ui_loader_fallback_1=__webpack_require__(4603),hideScrollbars="body::-webkit-scrollbar {display: none;}";function CompositionsApp({Composition,previewContext}){const{providers=[]}=previewContext?.get("teambit.react/react")||{},safeComposition=(0,react_ui_loader_fallback_1.useFallback)(Composition&&react_1.default.createElement(Composition,null),react_1.default.createElement(design_ui_pages_standalone_not_found_page_1.StandaloneNotFoundPage,null));return react_1.default.createElement(base_ui_utils_composer_1.Composer,{components:providers},react_1.default.createElement("style",null,hideScrollbars),safeComposition)}exports.CompositionsApp=CompositionsApp},40105: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});const react_1=__importDefault(__webpack_require__(59496)),react_dom_1=__importDefault(__webpack_require__(87995)),compositions_app_1=__webpack_require__(51166);exports.default=(Composition,previewContext)=>{react_dom_1.default.render(react_1.default.createElement(compositions_app_1.CompositionsApp,{Composition,previewContext}),document.getElementById("root"))}},5659: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.default=exports.CompositionsApp=void 0;var compositions_app_1=__webpack_require__(51166);Object.defineProperty(exports,"CompositionsApp",{enumerable:!0,get:function(){return compositions_app_1.CompositionsApp}});var compositions_app_root_1=__webpack_require__(40105);Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return __importDefault(compositions_app_root_1).default}})},4603:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useFallback=exports.LoaderFallback=void 0;var loader_fallback_1=__webpack_require__(48767);Object.defineProperty(exports,"LoaderFallback",{enumerable:!0,get:function(){return loader_fallback_1.LoaderFallback}}),Object.defineProperty(exports,"useFallback",{enumerable:!0,get:function(){return loader_fallback_1.useFallback}})},48767: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.useFallback=exports.LoaderFallback=void 0;const react_1=__importStar(__webpack_require__(59496)),base_ui_loaders_loader_ribbon_1=__webpack_require__(38453);function LoaderFallback({Target,Loader=LoaderComponent,DefaultComponent,timeout=15e3}){return useFallback(Target&&react_1.default.createElement(Target,null),react_1.default.createElement(DefaultComponent,null),{timeout,loader:react_1.default.createElement(Loader,null)})}exports.LoaderFallback=LoaderFallback;function useFallback(target,fallback,{timeout=15e3,loader=react_1.default.createElement(LoaderComponent,null)}={}){const[working,setWorking]=(0,react_1.useState)(!!target),hasTarget=!!target;return(0,react_1.useEffect)(()=>{if(timeout<=0)return()=>{};if(hasTarget)return setWorking(!0),()=>{};const tmId=setTimeout(()=>setWorking(!1),timeout);return()=>clearTimeout(tmId)},[hasTarget,timeout]),target||(working&&timeout>0?loader:fallback)}exports.useFallback=useFallback;function LoaderComponent(){return react_1.default.createElement(base_ui_loaders_loader_ribbon_1.LoaderRibbon,{active:!0,style:{position:"fixed",top:0,left:0,right:0}})}},4902:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.defaultJsonSerializer=void 0,exports.defaultJsonSerializer=JSON},31284:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.GraphQLWebSocketClient=void 0;const resolveRequestDocument_js_1=__webpack_require__(20896),types_js_1=__webpack_require__(28302),CONNECTION_INIT="connection_init",CONNECTION_ACK="connection_ack",PING="ping",PONG="pong",SUBSCRIBE="subscribe",NEXT="next",ERROR="error",COMPLETE="complete";class GraphQLWebSocketMessage{get type(){return this._type}get id(){return this._id}get payload(){return this._payload}constructor(type,payload,id){this._type=type,this._payload=payload,this._id=id}get text(){const result={type:this.type};return this.id!=null&&this.id!=null&&(result.id=this.id),this.payload!=null&&this.payload!=null&&(result.payload=this.payload),JSON.stringify(result)}static parse(data,f){const{type,payload,id}=JSON.parse(data);return new GraphQLWebSocketMessage(type,f(payload),id)}}class GraphQLWebSocketClient{constructor(socket,{onInit,onAcknowledged,onPing,onPong}){this.socketState={acknowledged:!1,lastRequestId:0,subscriptions:{}},this.socket=socket,socket.addEventListener("open",async e=>{this.socketState.acknowledged=!1,this.socketState.subscriptions={},socket.send(ConnectionInit(onInit?await onInit():null).text)}),socket.addEventListener("close",e=>{this.socketState.acknowledged=!1,this.socketState.subscriptions={}}),socket.addEventListener("error",e=>{console.error(e)}),socket.addEventListener("message",e=>{try{const message=parseMessage(e.data);switch(message.type){case CONNECTION_ACK:{this.socketState.acknowledged?console.warn("Duplicate CONNECTION_ACK message ignored"):(this.socketState.acknowledged=!0,onAcknowledged&&onAcknowledged(message.payload));return}case PING:{onPing?onPing(message.payload).then(r=>socket.send(Pong(r).text)):socket.send(Pong(null).text);return}case PONG:{onPong&&onPong(message.payload);return}}if(!this.socketState.acknowledged||message.id===void 0||message.id===null||!this.socketState.subscriptions[message.id])return;const{query,variables,subscriber}=this.socketState.subscriptions[message.id];switch(message.type){case NEXT:{!message.payload.errors&&message.payload.data&&subscriber.next&&subscriber.next(message.payload.data),message.payload.errors&&subscriber.error&&subscriber.error(new types_js_1.ClientError({...message.payload,status:200},{query,variables}));return}case ERROR:{subscriber.error&&subscriber.error(new types_js_1.ClientError({errors:message.payload,status:200},{query,variables}));return}case COMPLETE:{subscriber.complete&&subscriber.complete(),delete this.socketState.subscriptions[message.id];return}}}catch(e2){console.error(e2),socket.close(1006)}socket.close(4400,"Unknown graphql-ws message.")})}makeSubscribe(query,operationName,subscriber,variables){const subscriptionId=(this.socketState.lastRequestId++).toString();return this.socketState.subscriptions[subscriptionId]={query,variables,subscriber},this.socket.send(Subscribe(subscriptionId,{query,operationName,variables}).text),()=>{this.socket.send(Complete(subscriptionId).text),delete this.socketState.subscriptions[subscriptionId]}}rawRequest(query,variables){return new Promise((resolve,reject)=>{let result;this.rawSubscribe(query,{next:(data,extensions)=>result={data,extensions},error:reject,complete:()=>resolve(result)},variables)})}request(document2,variables){return new Promise((resolve,reject)=>{let result;this.subscribe(document2,{next:data=>result=data,error:reject,complete:()=>resolve(result)},variables)})}subscribe(document2,subscriber,variables){const{query,operationName}=(0,resolveRequestDocument_js_1.resolveRequestDocument)(document2);return this.makeSubscribe(query,operationName,subscriber,variables)}rawSubscribe(query,subscriber,variables){return this.makeSubscribe(query,void 0,subscriber,variables)}ping(payload){this.socket.send(Ping(payload).text)}close(){this.socket.close(1e3)}}GraphQLWebSocketClient.PROTOCOL="graphql-transport-ws",exports.GraphQLWebSocketClient=GraphQLWebSocketClient;function parseMessage(data,f=a=>a){return GraphQLWebSocketMessage.parse(data,f)}function ConnectionInit(payload){return new GraphQLWebSocketMessage(CONNECTION_INIT,payload)}function Ping(payload){return new GraphQLWebSocketMessage(PING,payload,void 0)}function Pong(payload){return new GraphQLWebSocketMessage(PONG,payload,void 0)}function Subscribe(id,payload){return new GraphQLWebSocketMessage(SUBSCRIBE,payload,id)}function Complete(id){return new GraphQLWebSocketMessage(COMPLETE,void 0,id)}},97774:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.HeadersInstanceToPlainObject=exports.uppercase=void 0;const uppercase=str=>str.toUpperCase();exports.uppercase=uppercase;const HeadersInstanceToPlainObject=headers=>{const o={};return headers.forEach((v,k)=>{o[k]=v}),o};exports.HeadersInstanceToPlainObject=HeadersInstanceToPlainObject},30703: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.request=exports.rawRequest=exports.GraphQLClient=exports.ClientError=exports.batchRequests=exports.resolveRequestDocument=exports.GraphQLWebSocketClient=exports.gql=void 0;const defaultJsonSerializer_js_1=__webpack_require__(4902),helpers_js_1=__webpack_require__(97774),parseArgs_js_1=__webpack_require__(22201),resolveRequestDocument_js_1=__webpack_require__(20896),types_js_1=__webpack_require__(28302);Object.defineProperty(exports,"ClientError",{enumerable:!0,get:function(){return types_js_1.ClientError}});const cross_fetch_1=__importStar(__webpack_require__(13448)),CrossFetch=cross_fetch_1,resolveHeaders=headers=>{let oHeaders={};return headers&&(typeof Headers<"u"&&headers instanceof Headers||CrossFetch&&CrossFetch.Headers&&headers instanceof CrossFetch.Headers?oHeaders=(0,helpers_js_1.HeadersInstanceToPlainObject)(headers):Array.isArray(headers)?headers.forEach(([name,value])=>{name&&value!==void 0&&(oHeaders[name]=value)}):oHeaders=headers),oHeaders},cleanQuery=str=>str.replace(/([\s,]|#[^\n\r]+)+/g," ").trim(),buildRequestConfig=params=>{if(!Array.isArray(params.query)){const params_2=params,search=[`query=${encodeURIComponent(cleanQuery(params_2.query))}`];return params.variables&&search.push(`variables=${encodeURIComponent(params_2.jsonSerializer.stringify(params_2.variables))}`),params_2.operationName&&search.push(`operationName=${encodeURIComponent(params_2.operationName)}`),search.join("&")}if(typeof params.variables<"u"&&!Array.isArray(params.variables))throw new Error("Cannot create query with given variable type, array expected");const params_=params,payload=params.query.reduce((acc,currentQuery,index)=>(acc.push({query:cleanQuery(currentQuery),variables:params_.variables?params_.jsonSerializer.stringify(params_.variables[index]):void 0}),acc),[]);return`query=${encodeURIComponent(params_.jsonSerializer.stringify(payload))}`},createHttpMethodFetcher=method=>async params=>{const{url,query,variables,operationName,fetch,fetchOptions,middleware}=params,headers={...params.headers};let queryParams="",body;method==="POST"?(body=createRequestBody(query,variables,operationName,fetchOptions.jsonSerializer),typeof body=="string"&&(headers["Content-Type"]="application/json")):queryParams=buildRequestConfig({query,variables,operationName,jsonSerializer:fetchOptions.jsonSerializer??defaultJsonSerializer_js_1.defaultJsonSerializer});const init={method,headers,body,...fetchOptions};let urlResolved=url,initResolved=init;if(middleware){const result=await Promise.resolve(middleware({...init,url,operationName,variables})),{url:urlNew,...initNew}=result;urlResolved=urlNew,initResolved=initNew}return queryParams&&(urlResolved=`${urlResolved}?${queryParams}`),await fetch(urlResolved,initResolved)};class GraphQLClient{constructor(url,requestConfig={}){this.url=url,this.requestConfig=requestConfig,this.rawRequest=async(...args)=>{const[queryOrOptions,variables,requestHeaders]=args,rawRequestOptions=(0,parseArgs_js_1.parseRawRequestArgs)(queryOrOptions,variables,requestHeaders),{headers,fetch=cross_fetch_1.default,method="POST",requestMiddleware,responseMiddleware,...fetchOptions}=this.requestConfig,{url:url2}=this;rawRequestOptions.signal!==void 0&&(fetchOptions.signal=rawRequestOptions.signal);const{operationName}=(0,resolveRequestDocument_js_1.resolveRequestDocument)(rawRequestOptions.query);return makeRequest({url:url2,query:rawRequestOptions.query,variables:rawRequestOptions.variables,headers:{...resolveHeaders(callOrIdentity(headers)),...resolveHeaders(rawRequestOptions.requestHeaders)},operationName,fetch,method,fetchOptions,middleware:requestMiddleware}).then(response=>(responseMiddleware&&responseMiddleware(response),response)).catch(error=>{throw responseMiddleware&&responseMiddleware(error),error})}}async request(documentOrOptions,...variablesAndRequestHeaders){const[variables,requestHeaders]=variablesAndRequestHeaders,requestOptions=(0,parseArgs_js_1.parseRequestArgs)(documentOrOptions,variables,requestHeaders),{headers,fetch=cross_fetch_1.default,method="POST",requestMiddleware,responseMiddleware,...fetchOptions}=this.requestConfig,{url}=this;requestOptions.signal!==void 0&&(fetchOptions.signal=requestOptions.signal);const{query,operationName}=(0,resolveRequestDocument_js_1.resolveRequestDocument)(requestOptions.document);return makeRequest({url,query,variables:requestOptions.variables,headers:{...resolveHeaders(callOrIdentity(headers)),...resolveHeaders(requestOptions.requestHeaders)},operationName,fetch,method,fetchOptions,middleware:requestMiddleware}).then(response=>(responseMiddleware&&responseMiddleware(response),response.data)).catch(error=>{throw responseMiddleware&&responseMiddleware(error),error})}batchRequests(documentsOrOptions,requestHeaders){const batchRequestOptions=(0,parseArgs_js_1.parseBatchRequestArgs)(documentsOrOptions,requestHeaders),{headers,...fetchOptions}=this.requestConfig;batchRequestOptions.signal!==void 0&&(fetchOptions.signal=batchRequestOptions.signal);const queries=batchRequestOptions.documents.map(({document:document2})=>(0,resolveRequestDocument_js_1.resolveRequestDocument)(document2).query),variables=batchRequestOptions.documents.map(({variables:variables2})=>variables2);return makeRequest({url:this.url,query:queries,variables,headers:{...resolveHeaders(callOrIdentity(headers)),...resolveHeaders(batchRequestOptions.requestHeaders)},operationName:void 0,fetch:this.requestConfig.fetch??cross_fetch_1.default,method:this.requestConfig.method||"POST",fetchOptions,middleware:this.requestConfig.requestMiddleware}).then(response=>(this.requestConfig.responseMiddleware&&this.requestConfig.responseMiddleware(response),response.data)).catch(error=>{throw this.requestConfig.responseMiddleware&&this.requestConfig.responseMiddleware(error),error})}setHeaders(headers){return this.requestConfig.headers=headers,this}setHeader(key,value){const{headers}=this.requestConfig;return headers?headers[key]=value:this.requestConfig.headers={[key]:value},this}setEndpoint(value){return this.url=value,this}}exports.GraphQLClient=GraphQLClient;const makeRequest=async params=>{const{query,variables,fetchOptions}=params,fetcher=createHttpMethodFetcher((0,helpers_js_1.uppercase)(params.method??"post")),isBatchingQuery=Array.isArray(params.query),response=await fetcher(params),result=await getResult(response,fetchOptions.jsonSerializer??defaultJsonSerializer_js_1.defaultJsonSerializer),successfullyReceivedData=Array.isArray(result)?!result.some(({data})=>!data):Boolean(result.data),successfullyPassedErrorPolicy=Array.isArray(result)||!result.errors||Array.isArray(result.errors)&&!result.errors.length||fetchOptions.errorPolicy==="all"||fetchOptions.errorPolicy==="ignore";if(response.ok&&successfullyPassedErrorPolicy&&successfullyReceivedData){const{errors:_,...rest}=(Array.isArray(result),result),data=fetchOptions.errorPolicy==="ignore"?rest:result;return{...isBatchingQuery?{data}:data,headers:response.headers,status:response.status}}else{const errorResult=typeof result=="string"?{error:result}:result;throw new types_js_1.ClientError({...errorResult,status:response.status,headers:response.headers},{query,variables})}},rawRequest=async(...args)=>{const[urlOrOptions,query,...variablesAndRequestHeaders]=args,requestOptions=(0,parseArgs_js_1.parseRawRequestExtendedArgs)(urlOrOptions,query,...variablesAndRequestHeaders);return new GraphQLClient(requestOptions.url).rawRequest({...requestOptions})};exports.rawRequest=rawRequest;async function request(urlOrOptions,document2,...variablesAndRequestHeaders){const requestOptions=(0,parseArgs_js_1.parseRequestExtendedArgs)(urlOrOptions,document2,...variablesAndRequestHeaders);return new GraphQLClient(requestOptions.url).request({...requestOptions})}exports.request=request;const batchRequests=async(...args)=>{const params=parseBatchRequestsArgsExtended(args);return new GraphQLClient(params.url).batchRequests(params)};exports.batchRequests=batchRequests;const parseBatchRequestsArgsExtended=args=>args.length===1?args[0]:{url:args[0],documents:args[1],requestHeaders:args[2],signal:void 0},createRequestBody=(query,variables,operationName,jsonSerializer)=>{const jsonSerializer_=jsonSerializer??defaultJsonSerializer_js_1.defaultJsonSerializer;if(!Array.isArray(query))return jsonSerializer_.stringify({query,variables,operationName});if(typeof variables<"u"&&!Array.isArray(variables))throw new Error("Cannot create request body with given variable type, array expected");const payload=query.reduce((acc,currentQuery,index)=>(acc.push({query:currentQuery,variables:variables?variables[index]:void 0}),acc),[]);return jsonSerializer_.stringify(payload)},getResult=async(response,jsonSerializer)=>{let contentType;return response.headers.forEach((value,key)=>{key.toLowerCase()==="content-type"&&(contentType=value)}),contentType&&(contentType.toLowerCase().startsWith("application/json")||contentType.toLowerCase().startsWith("application/graphql+json")||contentType.toLowerCase().startsWith("application/graphql-response+json"))?jsonSerializer.parse(await response.text()):response.text()},callOrIdentity=value=>typeof value=="function"?value():value,gql=(chunks,...variables)=>chunks.reduce((acc,chunk,index)=>`${acc}${chunk}${index in variables?String(variables[index]):""}`,"");exports.gql=gql;var graphql_ws_js_1=__webpack_require__(31284);Object.defineProperty(exports,"GraphQLWebSocketClient",{enumerable:!0,get:function(){return graphql_ws_js_1.GraphQLWebSocketClient}});var resolveRequestDocument_js_2=__webpack_require__(20896);Object.defineProperty(exports,"resolveRequestDocument",{enumerable:!0,get:function(){return resolveRequestDocument_js_2.resolveRequestDocument}}),exports.default=request},22201:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.parseRawRequestExtendedArgs=exports.parseRequestExtendedArgs=exports.parseBatchRequestArgs=exports.parseRawRequestArgs=exports.parseRequestArgs=void 0;const parseRequestArgs=(documentOrOptions,variables,requestHeaders)=>documentOrOptions.document?documentOrOptions:{document:documentOrOptions,variables,requestHeaders,signal:void 0};exports.parseRequestArgs=parseRequestArgs;const parseRawRequestArgs=(queryOrOptions,variables,requestHeaders)=>queryOrOptions.query?queryOrOptions:{query:queryOrOptions,variables,requestHeaders,signal:void 0};exports.parseRawRequestArgs=parseRawRequestArgs;const parseBatchRequestArgs=(documentsOrOptions,requestHeaders)=>documentsOrOptions.documents?documentsOrOptions:{documents:documentsOrOptions,requestHeaders,signal:void 0};exports.parseBatchRequestArgs=parseBatchRequestArgs;const parseRequestExtendedArgs=(urlOrOptions,document2,...variablesAndRequestHeaders)=>{const[variables,requestHeaders]=variablesAndRequestHeaders;return urlOrOptions.document?urlOrOptions:{url:urlOrOptions,document:document2,variables,requestHeaders,signal:void 0}};exports.parseRequestExtendedArgs=parseRequestExtendedArgs;const parseRawRequestExtendedArgs=(urlOrOptions,query,...variablesAndRequestHeaders)=>{const[variables,requestHeaders]=variablesAndRequestHeaders;return urlOrOptions.query?urlOrOptions:{url:urlOrOptions,query,variables,requestHeaders,signal:void 0}};exports.parseRawRequestExtendedArgs=parseRawRequestExtendedArgs},20896:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.resolveRequestDocument=void 0;const graphql_1=__webpack_require__(35701),extractOperationName=document2=>{let operationName;const operationDefinitions=document2.definitions.filter(definition=>definition.kind==="OperationDefinition");return operationDefinitions.length===1&&(operationName=operationDefinitions[0]?.name?.value),operationName},resolveRequestDocument=document2=>{if(typeof document2=="string"){let operationName2;try{const parsedDocument=(0,graphql_1.parse)(document2);operationName2=extractOperationName(parsedDocument)}catch{}return{query:document2,operationName:operationName2}}const operationName=extractOperationName(document2);return{query:(0,graphql_1.print)(document2),operationName}};exports.resolveRequestDocument=resolveRequestDocument},28302:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ClientError=void 0;class ClientError extends Error{constructor(response,request){const message=`${ClientError.extractMessage(response)}: ${JSON.stringify({response,request})}`;super(message);Object.setPrototypeOf(this,ClientError.prototype),this.response=response,this.request=request,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,ClientError)}static extractMessage(response){return response.errors?.[0]?.message??`GraphQL Error (Code: ${response.status})`}}exports.ClientError=ClientError},35701:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{BREAK:()=>BREAK,BreakingChangeType:()=>BreakingChangeType,DEFAULT_DEPRECATION_REASON:()=>DEFAULT_DEPRECATION_REASON,DangerousChangeType:()=>DangerousChangeType,DirectiveLocation:()=>DirectiveLocation,ExecutableDefinitionsRule:()=>ExecutableDefinitionsRule,FieldsOnCorrectTypeRule:()=>FieldsOnCorrectTypeRule,FragmentsOnCompositeTypesRule:()=>FragmentsOnCompositeTypesRule,GraphQLBoolean:()=>GraphQLBoolean,GraphQLDeprecatedDirective:()=>GraphQLDeprecatedDirective,GraphQLDirective:()=>GraphQLDirective,GraphQLEnumType:()=>GraphQLEnumType,GraphQLError:()=>GraphQLError,GraphQLFloat:()=>GraphQLFloat,GraphQLID:()=>GraphQLID,GraphQLIncludeDirective:()=>GraphQLIncludeDirective,GraphQLInputObjectType:()=>GraphQLInputObjectType,GraphQLInt:()=>GraphQLInt,GraphQLInterfaceType:()=>GraphQLInterfaceType,GraphQLList:()=>GraphQLList,GraphQLNonNull:()=>GraphQLNonNull,GraphQLObjectType:()=>GraphQLObjectType,GraphQLScalarType:()=>GraphQLScalarType,GraphQLSchema:()=>GraphQLSchema,GraphQLSkipDirective:()=>GraphQLSkipDirective,GraphQLSpecifiedByDirective:()=>GraphQLSpecifiedByDirective,GraphQLString:()=>GraphQLString,GraphQLUnionType:()=>GraphQLUnionType,Kind:()=>Kind,KnownArgumentNamesRule:()=>KnownArgumentNamesRule,KnownDirectivesRule:()=>KnownDirectivesRule,KnownFragmentNamesRule:()=>KnownFragmentNamesRule,KnownTypeNamesRule:()=>KnownTypeNamesRule,Lexer:()=>Lexer,Location:()=>Location,LoneAnonymousOperationRule:()=>LoneAnonymousOperationRule,LoneSchemaDefinitionRule:()=>LoneSchemaDefinitionRule,NoDeprecatedCustomRule:()=>NoDeprecatedCustomRule,NoFragmentCyclesRule:()=>NoFragmentCyclesRule,NoSchemaIntrospectionCustomRule:()=>NoSchemaIntrospectionCustomRule,NoUndefinedVariablesRule:()=>NoUndefinedVariablesRule,NoUnusedFragmentsRule:()=>NoUnusedFragmentsRule,NoUnusedVariablesRule:()=>NoUnusedVariablesRule,OverlappingFieldsCanBeMergedRule:()=>OverlappingFieldsCanBeMergedRule,PossibleFragmentSpreadsRule:()=>PossibleFragmentSpreadsRule,PossibleTypeExtensionsRule:()=>PossibleTypeExtensionsRule,ProvidedRequiredArgumentsRule:()=>ProvidedRequiredArgumentsRule,ScalarLeafsRule:()=>ScalarLeafsRule,SchemaMetaFieldDef:()=>SchemaMetaFieldDef,SingleFieldSubscriptionsRule:()=>SingleFieldSubscriptionsRule,Source:()=>Source,Token:()=>Token,TokenKind:()=>TokenKind,TypeInfo:()=>TypeInfo,TypeKind:()=>TypeKind,TypeMetaFieldDef:()=>TypeMetaFieldDef,TypeNameMetaFieldDef:()=>TypeNameMetaFieldDef,UniqueArgumentNamesRule:()=>UniqueArgumentNamesRule,UniqueDirectiveNamesRule:()=>UniqueDirectiveNamesRule,UniqueDirectivesPerLocationRule:()=>UniqueDirectivesPerLocationRule,UniqueEnumValueNamesRule:()=>UniqueEnumValueNamesRule,UniqueFieldDefinitionNamesRule:()=>UniqueFieldDefinitionNamesRule,UniqueFragmentNamesRule:()=>UniqueFragmentNamesRule,UniqueInputFieldNamesRule:()=>UniqueInputFieldNamesRule,UniqueOperationNamesRule:()=>UniqueOperationNamesRule,UniqueOperationTypesRule:()=>UniqueOperationTypesRule,UniqueTypeNamesRule:()=>UniqueTypeNamesRule,UniqueVariableNamesRule:()=>UniqueVariableNamesRule,ValidationContext:()=>ValidationContext,ValuesOfCorrectTypeRule:()=>ValuesOfCorrectTypeRule,VariablesAreInputTypesRule:()=>VariablesAreInputTypesRule,VariablesInAllowedPositionRule:()=>VariablesInAllowedPositionRule,__Directive:()=>__Directive,__DirectiveLocation:()=>__DirectiveLocation,__EnumValue:()=>__EnumValue,__Field:()=>__Field,__InputValue:()=>__InputValue,__Schema:()=>__Schema,__Type:()=>__Type,__TypeKind:()=>__TypeKind,assertAbstractType:()=>assertAbstractType,assertCompositeType:()=>assertCompositeType,assertDirective:()=>assertDirective,assertEnumType:()=>assertEnumType,assertInputObjectType:()=>assertInputObjectType,assertInputType:()=>assertInputType,assertInterfaceType:()=>assertInterfaceType,assertLeafType:()=>assertLeafType,assertListType:()=>assertListType,assertNamedType:()=>assertNamedType,assertNonNullType:()=>assertNonNullType,assertNullableType:()=>assertNullableType,assertObjectType:()=>assertObjectType,assertOutputType:()=>assertOutputType,assertScalarType:()=>assertScalarType,assertSchema:()=>assertSchema,assertType:()=>assertType,assertUnionType:()=>assertUnionType,assertValidName:()=>assertValidName,assertValidSchema:()=>assertValidSchema,assertWrappingType:()=>assertWrappingType,astFromValue:()=>astFromValue,buildASTSchema:()=>buildASTSchema,buildClientSchema:()=>buildClientSchema,buildSchema:()=>buildSchema,coerceInputValue:()=>coerceInputValue,concatAST:()=>concatAST,createSourceEventStream:()=>createSourceEventStream,defaultFieldResolver:()=>defaultFieldResolver,defaultTypeResolver:()=>defaultTypeResolver,doTypesOverlap:()=>doTypesOverlap,execute:()=>execute,executeSync:()=>executeSync,extendSchema:()=>extendSchema,findBreakingChanges:()=>findBreakingChanges,findDangerousChanges:()=>findDangerousChanges,findDeprecatedUsages:()=>findDeprecatedUsages,formatError:()=>formatError,getDescription:()=>getDescription,getDirectiveValues:()=>getDirectiveValues,getIntrospectionQuery:()=>getIntrospectionQuery,getLocation:()=>getLocation,getNamedType:()=>getNamedType,getNullableType:()=>getNullableType,getOperationAST:()=>getOperationAST,getOperationRootType:()=>getOperationRootType,getVisitFn:()=>getVisitFn,graphql:()=>graphql,graphqlSync:()=>graphqlSync,introspectionFromSchema:()=>introspectionFromSchema,introspectionTypes:()=>introspectionTypes,isAbstractType:()=>isAbstractType,isCompositeType:()=>isCompositeType,isDefinitionNode:()=>isDefinitionNode,isDirective:()=>isDirective,isEnumType:()=>isEnumType,isEqualType:()=>isEqualType,isExecutableDefinitionNode:()=>isExecutableDefinitionNode,isInputObjectType:()=>isInputObjectType,isInputType:()=>isInputType,isInterfaceType:()=>isInterfaceType,isIntrospectionType:()=>isIntrospectionType,isLeafType:()=>isLeafType,isListType:()=>isListType,isNamedType:()=>isNamedType,isNonNullType:()=>isNonNullType,isNullableType:()=>isNullableType,isObjectType:()=>isObjectType,isOutputType:()=>isOutputType,isRequiredArgument:()=>isRequiredArgument,isRequiredInputField:()=>isRequiredInputField,isScalarType:()=>isScalarType,isSchema:()=>isSchema,isSelectionNode:()=>isSelectionNode,isSpecifiedDirective:()=>isSpecifiedDirective,isSpecifiedScalarType:()=>isSpecifiedScalarType,isType:()=>isType,isTypeDefinitionNode:()=>isTypeDefinitionNode,isTypeExtensionNode:()=>isTypeExtensionNode,isTypeNode:()=>isTypeNode,isTypeSubTypeOf:()=>isTypeSubTypeOf,isTypeSystemDefinitionNode:()=>isTypeSystemDefinitionNode,isTypeSystemExtensionNode:()=>isTypeSystemExtensionNode,isUnionType:()=>isUnionType,isValidNameError:()=>isValidNameError,isValueNode:()=>isValueNode,isWrappingType:()=>isWrappingType,lexicographicSortSchema:()=>lexicographicSortSchema,locatedError:()=>locatedError,parse:()=>parse,parseType:()=>parseType,parseValue:()=>parseValue,print:()=>print,printError:()=>printError,printIntrospectionSchema:()=>printIntrospectionSchema,printLocation:()=>printLocation,printSchema:()=>printSchema,printSourceLocation:()=>printSourceLocation,printType:()=>printType,responsePathAsArray:()=>pathToArray,separateOperations:()=>separateOperations,specifiedDirectives:()=>specifiedDirectives,specifiedRules:()=>specifiedRules,specifiedScalarTypes:()=>specifiedScalarTypes,stripIgnoredCharacters:()=>stripIgnoredCharacters,subscribe:()=>subscribe,syntaxError:()=>syntaxError,typeFromAST:()=>typeFromAST,validate:()=>validate,validateSchema:()=>validateSchema,valueFromAST:()=>valueFromAST,valueFromASTUntyped:()=>valueFromASTUntyped,version:()=>version,versionInfo:()=>versionInfo,visit:()=>visit,visitInParallel:()=>visitInParallel,visitWithTypeInfo:()=>visitWithTypeInfo});var version="15.8.0",versionInfo=Object.freeze({major:15,minor:8,patch:0,preReleaseTag:null});function isPromise(value){return typeof value?.then=="function"}function _typeof(obj){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(obj2){return typeof obj2}:_typeof=function(obj2){return obj2&&typeof Symbol=="function"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2},_typeof(obj)}function isObjectLike(value){return _typeof(value)=="object"&&value!==null}var SYMBOL_ITERATOR=typeof Symbol=="function"&&Symbol.iterator!=null?Symbol.iterator:"@@iterator",SYMBOL_ASYNC_ITERATOR=typeof Symbol=="function"&&Symbol.asyncIterator!=null?Symbol.asyncIterator:"@@asyncIterator",SYMBOL_TO_STRING_TAG=typeof Symbol=="function"&&Symbol.toStringTag!=null?Symbol.toStringTag:"@@toStringTag";function getLocation(source,position){for(var lineRegexp=/\r\n|[\n\r]/g,line=1,column=position+1,match;(match=lineRegexp.exec(source.body))&&match.index<position;)line+=1,column=position+1-(match.index+match[0].length);return{line,column}}function printLocation(location){return printSourceLocation(location.source,getLocation(location.source,location.start))}function printSourceLocation(source,sourceLocation){var firstLineColumnOffset=source.locationOffset.column-1,body=whitespace(firstLineColumnOffset)+source.body,lineIndex=sourceLocation.line-1,lineOffset=source.locationOffset.line-1,lineNum=sourceLocation.line+lineOffset,columnOffset=sourceLocation.line===1?firstLineColumnOffset:0,columnNum=sourceLocation.column+columnOffset,locationStr="".concat(source.name,":").concat(lineNum,":").concat(columnNum,`
59
59
  `),lines=body.split(/\r\n|[\n\r]/g),locationLine=lines[lineIndex];if(locationLine.length>120){for(var subLineIndex=Math.floor(columnNum/80),subLineColumnNum=columnNum%80,subLines=[],i=0;i<locationLine.length;i+=80)subLines.push(locationLine.slice(i,i+80));return locationStr+printPrefixedLines([["".concat(lineNum),subLines[0]]].concat(subLines.slice(1,subLineIndex+1).map(function(subLine){return["",subLine]}),[[" ",whitespace(subLineColumnNum-1)+"^"],["",subLines[subLineIndex+1]]]))}return locationStr+printPrefixedLines([["".concat(lineNum-1),lines[lineIndex-1]],["".concat(lineNum),locationLine],["",whitespace(columnNum-1)+"^"],["".concat(lineNum+1),lines[lineIndex+1]]])}function printPrefixedLines(lines){var existingLines=lines.filter(function(_ref){var _=_ref[0],line=_ref[1];return line!==void 0}),padLen=Math.max.apply(Math,existingLines.map(function(_ref2){var prefix=_ref2[0];return prefix.length}));return existingLines.map(function(_ref3){var prefix=_ref3[0],line=_ref3[1];return leftPad(padLen,prefix)+(line?" | "+line:" |")}).join(`
60
60
  `)}function whitespace(len){return Array(len+1).join(" ")}function leftPad(len,str){return whitespace(len-str.length)+str}function GraphQLError_typeof(obj){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?GraphQLError_typeof=function(obj2){return typeof obj2}:GraphQLError_typeof=function(obj2){return obj2&&typeof Symbol=="function"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2},GraphQLError_typeof(obj)}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 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,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Constructor}function _inherits(subClass,superClass){if(typeof superClass!="function"&&superClass!==null)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self2,call){return call&&(GraphQLError_typeof(call)==="object"||typeof call=="function")?call:_assertThisInitialized(self2)}function _assertThisInitialized(self2){if(self2===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self2}function _wrapNativeSuper(Class){var _cache=typeof Map=="function"?new Map:void 0;return _wrapNativeSuper=function(Class2){if(Class2===null||!_isNativeFunction(Class2))return Class2;if(typeof Class2!="function")throw new TypeError("Super expression must either be null or a function");if(typeof _cache<"u"){if(_cache.has(Class2))return _cache.get(Class2);_cache.set(Class2,Wrapper)}function Wrapper(){return _construct(Class2,arguments,_getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(Class2.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(Wrapper,Class2)},_wrapNativeSuper(Class)}function _construct(Parent,args,Class){return _isNativeReflectConstruct()?_construct=Reflect.construct:_construct=function(Parent2,args2,Class2){var a=[null];a.push.apply(a,args2);var Constructor=Function.bind.apply(Parent2,a),instance=new Constructor;return Class2&&_setPrototypeOf(instance,Class2.prototype),instance},_construct.apply(null,arguments)}function _isNativeReflectConstruct(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function _isNativeFunction(fn){return Function.toString.call(fn).indexOf("[native code]")!==-1}function _setPrototypeOf(o,p){return _setPrototypeOf=Object.setPrototypeOf||function(o2,p2){return o2.__proto__=p2,o2},_setPrototypeOf(o,p)}function _getPrototypeOf(o){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o2){return o2.__proto__||Object.getPrototypeOf(o2)},_getPrototypeOf(o)}var GraphQLError=function(_Error){_inherits(GraphQLError2,_Error);var _super=_createSuper(GraphQLError2);function GraphQLError2(message,nodes,source,positions,path,originalError,extensions){var _nodeLocations,_nodeLocations2,_nodeLocations3,_this;_classCallCheck(this,GraphQLError2),_this=_super.call(this,message),_this.name="GraphQLError",_this.originalError=originalError??void 0,_this.nodes=undefinedIfEmpty(Array.isArray(nodes)?nodes:nodes?[nodes]:void 0);for(var nodeLocations=[],_i2=0,_ref3=(_this$nodes=_this.nodes)!==null&&_this$nodes!==void 0?_this$nodes:[];_i2<_ref3.length;_i2++){var _this$nodes,_ref4=_ref3[_i2],loc=_ref4.loc;loc!=null&&nodeLocations.push(loc)}nodeLocations=undefinedIfEmpty(nodeLocations),_this.source=source??((_nodeLocations=nodeLocations)===null||_nodeLocations===void 0?void 0:_nodeLocations[0].source),_this.positions=positions??((_nodeLocations2=nodeLocations)===null||_nodeLocations2===void 0?void 0:_nodeLocations2.map(function(loc2){return loc2.start})),_this.locations=positions&&source?positions.map(function(pos){return getLocation(source,pos)}):(_nodeLocations3=nodeLocations)===null||_nodeLocations3===void 0?void 0:_nodeLocations3.map(function(loc2){return getLocation(loc2.source,loc2.start)}),_this.path=path??void 0;var originalExtensions=originalError?.extensions;return extensions==null&&isObjectLike(originalExtensions)?_this.extensions=_objectSpread({},originalExtensions):_this.extensions=extensions??{},Object.defineProperties(_assertThisInitialized(_this),{message:{enumerable:!0},locations:{enumerable:_this.locations!=null},path:{enumerable:_this.path!=null},extensions:{enumerable:_this.extensions!=null&&Object.keys(_this.extensions).length>0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),originalError!=null&&originalError.stack?(Object.defineProperty(_assertThisInitialized(_this),"stack",{value:originalError.stack,writable:!0,configurable:!0}),_possibleConstructorReturn(_this)):(Error.captureStackTrace?Error.captureStackTrace(_assertThisInitialized(_this),GraphQLError2):Object.defineProperty(_assertThisInitialized(_this),"stack",{value:Error().stack,writable:!0,configurable:!0}),_this)}return _createClass(GraphQLError2,[{key:"toString",value:function(){return printError(this)}},{key:SYMBOL_TO_STRING_TAG,get:function(){return"Object"}}]),GraphQLError2}(_wrapNativeSuper(Error));function undefinedIfEmpty(array){return array===void 0||array.length===0?void 0:array}function printError(error){var output=error.message;if(error.nodes)for(var _i4=0,_error$nodes2=error.nodes;_i4<_error$nodes2.length;_i4++){var node=_error$nodes2[_i4];node.loc&&(output+=`
61
61