@teambit/env 1.0.308 → 1.0.310
Sign up to get free protection for your applications and to get access to all the features.
- package/artifacts/__bit_junit.xml +1 -1
- package/artifacts/env-template/public/{806.a44f208bd650a1ddce88.js → 806.5607bd5dc63bd5a7c622.js} +4 -4
- package/artifacts/env-template/public/{474.0ba8426e68c98ac15c4a.js → 986.f5849ebdcf5ae3b79d25.js} +12 -12
- package/artifacts/env-template/public/assets-manifest.json +10 -10
- package/artifacts/env-template/public/{compositions.89fe39ec8598fc0802c8.js → compositions.5070bf3c40f31c59f198.js} +1 -1
- package/artifacts/env-template/public/compositions.html +1 -1
- package/artifacts/env-template/public/{overview.10f0fee98e772798e552.js → overview.5e5b0586dd021ec4470b.js} +1 -1
- package/artifacts/env-template/public/overview.html +1 -1
- package/artifacts/env-template/public/{peers.e2a319dc7018d343aef5.js → peers.fa55da6fac6f0867d559.js} +1 -1
- package/artifacts/preview/teambit_envs_env-preview.js +1 -1
- package/artifacts/schema.json +1 -1
- package/{compositions-1718680843079.js → compositions-1718853656395.js} +1 -1
- package/dist/{preview-1718680843079.js → preview-1718853656395.js} +2 -2
- package/{overview-1718680843079.js → overview-1718853656395.js} +1 -1
- package/package.json +7 -7
package/artifacts/env-template/public/{806.a44f208bd650a1ddce88.js → 806.5607bd5dc63bd5a7c622.js}
RENAMED
@@ -26,7 +26,7 @@
|
|
26
26
|
}
|
27
27
|
}
|
28
28
|
}
|
29
|
-
`;function useFetchDocs(componentId){const variables={id:componentId},request=(0,graphql_hooks_use_query_light_1.useQuery)(DOCS_QUERY,{variables,server:GQL_SERVER});return(0,react_1.useMemo)(()=>{var _a;return Object.assign(Object.assign({},request),{data:request.data&&{docs:(_a=request.data)===null||_a===void 0?void 0:_a.getHost.getDocs}})},[request])}exports.useFetchDocs=useFetchDocs},76777:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Labels=exports.VersionLabel=void 0;var version_label_1=__webpack_require__(66777);Object.defineProperty(exports,"VersionLabel",{enumerable:!0,get:function(){return version_label_1.VersionLabel}}),Object.defineProperty(exports,"Labels",{enumerable:!0,get:function(){return version_label_1.Labels}})},66777: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.Labels=exports.VersionLabel=void 0;const design_ui_pill_label_1=__webpack_require__(44458),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),version_label_module_scss_1=__importDefault(__webpack_require__(36874));function VersionLabel(_a){var{status,className}=_a,rest=__rest(_a,["status","className"]);return react_1.default.createElement(design_ui_pill_label_1.PillLabel,Object.assign({},rest,{className:(0,classnames_1.default)(version_label_module_scss_1.default.label,version_label_module_scss_1.default[status],className)}),status.replace(/-/g," "))}exports.VersionLabel=VersionLabel;function Labels({isCurrent,isLatest}){return react_1.default.createElement("div",{className:version_label_module_scss_1.default.labelContainer},isLatest&&react_1.default.createElement(VersionLabel,{className:version_label_module_scss_1.default.versionLabel,status:"latest"}),isCurrent&&react_1.default.createElement(VersionLabel,{className:version_label_module_scss_1.default.versionLabel,status:"current"}),!isLatest&&!isCurrent&&react_1.default.createElement("div",{className:version_label_module_scss_1.default.emptyLabel}))}exports.Labels=Labels},74135: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.humanizeCompositionId=void 0;const humanize_string_1=__importDefault(__webpack_require__(28583));function humanizeCompositionId(rawId){return(0,humanize_string_1.default)(rawId)}exports.humanizeCompositionId=humanizeCompositionId},67922:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.humanizeCompositionId=void 0;var humanize_1=__webpack_require__(74135);Object.defineProperty(exports,"humanizeCompositionId",{enumerable:!0,get:function(){return humanize_1.humanizeCompositionId}})},96279:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionErrorFallback=exports.CompositionCard=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),react_error_boundary_1=__webpack_require__(75340),base_ui_surfaces_card_1=__webpack_require__(19537),base_ui_theme_accent_color_1=__webpack_require__(11796),react_ui_error_fallback_1=__webpack_require__(80617),compositions_model_composition_id_1=__webpack_require__(67922),evangelist_elements_icon_1=__webpack_require__(86144),base_ui_text_themed_text_1=__webpack_require__(64899),composition_card_module_scss_1=__importDefault(__webpack_require__(59406));function CompositionCard(_a){var{Composition,name,link,className}=_a,rest=__rest(_a,["Composition","name","link","className"]);const{canvas,compositionName}=Composition,humanizedName=(0,react_1.useMemo)(()=>compositionName||(0,compositions_model_composition_id_1.humanizeCompositionId)(name),[name,compositionName]);return react_1.default.createElement(base_ui_surfaces_card_1.Card,Object.assign({elevation:"low",className:(0,classnames_1.default)(className,composition_card_module_scss_1.default.compositionCard)},rest),react_1.default.createElement(react_error_boundary_1.ErrorBoundary,{FallbackComponent:CompositionErrorFallback},react_1.default.createElement("div",{style:canvas,className:composition_card_module_scss_1.default.compositionContainer},react_1.default.createElement(Composition,null))),react_1.default.createElement("div",{className:(0,classnames_1.default)(composition_card_module_scss_1.default.title,base_ui_theme_accent_color_1.colorPalette.neutralHeavy,base_ui_text_themed_text_1.themedText)},react_1.default.createElement("span",null,humanizedName),link&&react_1.default.createElement("a",{className:composition_card_module_scss_1.default.linkToComposition,target:"_blank",rel:"noopener noreferrer",href:link},react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"open-tab"}))))}exports.CompositionCard=CompositionCard;function CompositionErrorFallback(props){return react_1.default.createElement(react_ui_error_fallback_1.ErrorFallback,Object.assign({},props,{className:(0,classnames_1.default)(props.className,composition_card_module_scss_1.default.compositionCardError)}))}exports.CompositionErrorFallback=CompositionErrorFallback},85240:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionCard=void 0;var composition_card_1=__webpack_require__(96279);Object.defineProperty(exports,"CompositionCard",{enumerable:!0,get:function(){return composition_card_1.CompositionCard}})},80638:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionsMenuBar=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),lodash_flatten_1=__importDefault(__webpack_require__(11549)),compositions_menu_bar_module_scss_1=__importDefault(__webpack_require__(75018));function CompositionsMenuBar(_a){var{className,menuBarWidgets,children}=_a,rest=__rest(_a,["className","menuBarWidgets","children"]);const widgetsStart=(0,react_1.useMemo)(()=>(0,lodash_flatten_1.default)(menuBarWidgets?.values()).filter(({location})=>location==="start").map(({content},idx)=>react_1.default.createElement(react_1.default.Fragment,{key:idx},content)),[menuBarWidgets]),widgetsEnd=(0,react_1.useMemo)(()=>(0,lodash_flatten_1.default)(menuBarWidgets?.values()).filter(({location})=>location==="end").map(({content},idx)=>react_1.default.createElement(react_1.default.Fragment,{key:idx},content)),[menuBarWidgets]);return!widgetsStart.length&&!widgetsEnd.length?null:react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(className,compositions_menu_bar_module_scss_1.default.compositionsMenuBar)}),!!(widgetsStart?.length||children)&&react_1.default.createElement("div",null,widgetsStart," ",children),react_1.default.createElement("div",{className:compositions_menu_bar_module_scss_1.default.spacer}),!!widgetsEnd?.length&&react_1.default.createElement("div",null,widgetsEnd))}exports.CompositionsMenuBar=CompositionsMenuBar},10421:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionsMenuBar=void 0;var compositions_menu_bar_1=__webpack_require__(80638);Object.defineProperty(exports,"CompositionsMenuBar",{enumerable:!0,get:function(){return compositions_menu_bar_1.CompositionsMenuBar}})},85144: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.CompositionsOverview=void 0;const react_1=__importDefault(__webpack_require__(59496)),compositions_ui_composition_card_1=__webpack_require__(85240),compositions_overview_module_scss_1=__importDefault(__webpack_require__(48637));function CompositionsOverview({compositions,compositionCardClass}){return react_1.default.createElement("div",{className:compositions_overview_module_scss_1.default.background},compositions&&Object.entries(compositions).map(([key,composition])=>react_1.default.createElement(compositions_ui_composition_card_1.CompositionCard,{key,Composition:composition,name:key,className:compositionCardClass})))}exports.CompositionsOverview=CompositionsOverview},31314:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionsOverview=void 0;var compositions_overview_1=__webpack_require__(85144);Object.defineProperty(exports,"CompositionsOverview",{enumerable:!0,get:function(){return compositions_overview_1.CompositionsOverview}})},77972:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.usePreviewQueryParams=exports.usePreview=exports.CompositionContextProvider=void 0;var use_composition_1=__webpack_require__(49493);Object.defineProperty(exports,"CompositionContextProvider",{enumerable:!0,get:function(){return use_composition_1.CompositionContextProvider}}),Object.defineProperty(exports,"usePreview",{enumerable:!0,get:function(){return use_composition_1.usePreview}});var use_preview_query_params_1=__webpack_require__(54335);Object.defineProperty(exports,"usePreviewQueryParams",{enumerable:!0,get:function(){return use_preview_query_params_1.usePreviewQueryParams}})},49493: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.usePreview=exports.CompositionContextProvider=void 0;const react_1=__importStar(__webpack_require__(59496)),CompositionsCtx=(0,react_1.createContext)({queryParams:{},setQueryParams:()=>{}});function CompositionContextProvider({children,queryParams,setQueryParams}){const state=(0,react_1.useMemo)(()=>({queryParams,setQueryParams}),[queryParams,setQueryParams]);return react_1.default.createElement(CompositionsCtx.Provider,{value:state},children)}exports.CompositionContextProvider=CompositionContextProvider;function usePreview(){return(0,react_1.useContext)(CompositionsCtx)}exports.usePreview=usePreview},54335:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.usePreviewQueryParams=void 0;const react_1=__webpack_require__(59496),use_composition_1=__webpack_require__(49493);function usePreviewQueryParams(paramName){const ctx=(0,use_composition_1.usePreview)(),param=ctx.queryParams[paramName],setQueryParam=(0,react_1.useCallback)(value=>ctx.setQueryParams(state=>Object.assign(Object.assign({},state),{[paramName]:value})),[paramName]);return[param,setQueryParam]}exports.usePreviewQueryParams=usePreviewQueryParams},70029: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.Icon=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_ui_elements_icon_1=__webpack_require__(34211),iconSetPrefix="bitcon";function Icon(_a){var{className,of:iconName}=_a,rest=__rest(_a,["className","of"]);return react_1.default.createElement(base_ui_elements_icon_1.BaseIcon,Object.assign({of:`${iconSetPrefix}-${iconName}`,className,"data-bit-id":"teambit.evangelist/elements/icon"},rest))}exports.Icon=Icon},89332:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Icon=void 0;var icon_1=__webpack_require__(70029);Object.defineProperty(exports,"Icon",{enumerable:!0,get:function(){return icon_1.Icon}})},79967: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.Icon=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_ui_elements_icon_1=__webpack_require__(34211),iconSetPrefix="bitcon";function Icon(_a){var{className,of:iconName}=_a,rest=__rest(_a,["className","of"]);return react_1.default.createElement(base_ui_elements_icon_1.BaseIcon,Object.assign({of:`${iconSetPrefix}-${iconName}`,className,"data-bit-id":"teambit.evangelist/elements/icon"},rest))}exports.Icon=Icon},29284:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Icon=void 0;var icon_1=__webpack_require__(79967);Object.defineProperty(exports,"Icon",{enumerable:!0,get:function(){return icon_1.Icon}})},79390: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.ButtonsPlugin=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),design_ui_icon_button_1=__webpack_require__(73486),buttons_plugin_module_scss_1=__importDefault(__webpack_require__(37816));function ButtonsPlugin(_a){var{onClear,onSubmit,disabledSubmit,submitText="Done",loading,submitClassName,className}=_a,rest=__rest(_a,["onClear","onSubmit","disabledSubmit","submitText","loading","submitClassName","className"]);return!onClear&&!onSubmit?null:react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(buttons_plugin_module_scss_1.default.buttonsHolder,className)}),onClear&&react_1.default.createElement("div",{className:buttons_plugin_module_scss_1.default.clearText,onClick:onClear},"Clear"),onSubmit&&react_1.default.createElement(design_ui_icon_button_1.IconButton,{priority:"cta",onClick:onSubmit,loading,disabled:disabledSubmit,className:submitClassName},submitText))}exports.ButtonsPlugin=ButtonsPlugin},8827:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ButtonsPlugin=void 0;var buttons_plugin_1=__webpack_require__(79390);Object.defineProperty(exports,"ButtonsPlugin",{enumerable:!0,get:function(){return buttons_plugin_1.ButtonsPlugin}})},8044: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.Dropdown=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),base_ui_surfaces_drawer_1=__webpack_require__(38073),base_ui_surfaces_abs_container_1=__webpack_require__(63146),base_ui_css_components_elevation_1=__webpack_require__(75210),base_ui_css_components_roundness_1=__webpack_require__(69725),base_ui_surfaces_background_1=__webpack_require__(79300),placeholder_1=__webpack_require__(23723),dropdown_module_scss_1=__importDefault(__webpack_require__(44938));function Dropdown(_a){var{children,position="bottom",elevation="low",roundness="small",margin=4,placeholderContent="",dropClass,placeholderBorder=!0,topPlugin,bottomPlugin,clickToggles=!1,className}=_a,rest=__rest(_a,["children","position","elevation","roundness","margin","placeholderContent","dropClass","placeholderBorder","topPlugin","bottomPlugin","clickToggles","className"]);return react_1.default.createElement(base_ui_surfaces_drawer_1.Drawer,Object.assign({margin,className:(0,classnames_1.default)(!placeholderBorder&&dropdown_module_scss_1.default.removePlaceholderBorder,className),placeholderContent:typeof placeholderContent=="string"?react_1.default.createElement(placeholder_1.Placeholder,null,placeholderContent):placeholderContent,clickToggles},rest),react_1.default.createElement(DropdownMenu,{position,elevation,roundness,className:dropClass},topPlugin,children,bottomPlugin))}exports.Dropdown=Dropdown;function DropdownMenu(_a){var{className,elevation="low",roundness="small"}=_a,rest=__rest(_a,["className","elevation","roundness"]);return react_1.default.createElement(base_ui_surfaces_abs_container_1.Containee,Object.assign({},rest,{className:(0,classnames_1.default)(dropdown_module_scss_1.default.dropdownMenu,base_ui_surfaces_background_1.backgrounds.layer,base_ui_css_components_elevation_1.elevationClass[elevation],base_ui_css_components_roundness_1.roundnessClass[roundness],className)}))}},64718:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var __webpack_unused_export__;__webpack_unused_export__={value:!0},__webpack_unused_export__=__webpack_unused_export__=exports.Lt=void 0;var dropdown_1=__webpack_require__(8044);Object.defineProperty(exports,"Lt",{enumerable:!0,get:function(){return dropdown_1.Dropdown}});var placeholder_1=__webpack_require__(23723);__webpack_unused_export__={enumerable:!0,get:function(){return placeholder_1.Placeholder}};var buttons_plugin_1=__webpack_require__(8827);__webpack_unused_export__={enumerable:!0,get:function(){return buttons_plugin_1.ButtonsPlugin}}},23723: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.Placeholder=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),design_inputs_selectors_menu_item_1=__webpack_require__(47699),dropdown_module_scss_1=__importDefault(__webpack_require__(44938));function Placeholder(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement(design_inputs_selectors_menu_item_1.MenuItem,Object.assign({className:(0,classnames_1.default)(dropdown_module_scss_1.default.dropdownPlaceholder,className)},rest),children," ",react_1.default.createElement(FatArrowDown,null))}exports.Placeholder=Placeholder;function FatArrowDown(){return react_1.default.createElement("svg",{width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},react_1.default.createElement("path",{d:"M10.9999 1.17C10.8126 0.983753 10.5591 0.879211 10.2949 0.879211C10.0308 0.879211 9.77731 0.983753 9.58995 1.17L5.99995 4.71L2.45995 1.17C2.27259 0.983753 2.01913 0.879211 1.75495 0.879211C1.49076 0.879211 1.23731 0.983753 1.04995 1.17C0.95622 1.26297 0.881826 1.37357 0.831057 1.49543C0.780288 1.61729 0.75415 1.74799 0.75415 1.88C0.75415 2.01202 0.780288 2.14272 0.831057 2.26458C0.881826 2.38644 0.95622 2.49704 1.04995 2.59L5.28995 6.83C5.38291 6.92373 5.49351 6.99813 5.61537 7.04889C5.73723 7.09966 5.86794 7.1258 5.99995 7.1258C6.13196 7.1258 6.26267 7.09966 6.38453 7.04889C6.50638 6.99813 6.61699 6.92373 6.70995 6.83L10.9999 2.59C11.0937 2.49704 11.1681 2.38644 11.2188 2.26458C11.2696 2.14272 11.2957 2.01202 11.2957 1.88C11.2957 1.74799 11.2696 1.61729 11.2188 1.49543C11.1681 1.37357 11.0937 1.26297 10.9999 1.17Z",fill:"var(--on-surface-color, #2b2b2b)"}))}},47699:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.iconClass=exports.MenuItem=void 0;var menu_item_1=__webpack_require__(48975);Object.defineProperty(exports,"MenuItem",{enumerable:!0,get:function(){return menu_item_1.MenuItem}}),Object.defineProperty(exports,"iconClass",{enumerable:!0,get:function(){return menu_item_1.iconClass}})},48975:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.MenuItem=exports.iconClass=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),menu_item_module_scss_1=__importDefault(__webpack_require__(84117));exports.iconClass=menu_item_module_scss_1.default.withIcon,exports.MenuItem=(0,react_1.forwardRef)((_a,ref)=>{var{children,className,icon,active,onClick,interactive=!!onClick}=_a,rest=__rest(_a,["children","className","icon","active","onClick","interactive"]);return react_1.default.createElement("div",Object.assign({},rest,{ref,onClick,className:(0,classnames_1.default)(className,menu_item_module_scss_1.default.menuItem,interactive&&menu_item_module_scss_1.default.interactive,active&&menu_item_module_scss_1.default.active,icon&&menu_item_module_scss_1.default.withIcon)}),icon,children)})},53142:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var __webpack_unused_export__;__webpack_unused_export__={value:!0},__webpack_unused_export__=exports.sN=void 0;var menu_item_1=__webpack_require__(86781);Object.defineProperty(exports,"sN",{enumerable:!0,get:function(){return menu_item_1.MenuItem}}),__webpack_unused_export__={enumerable:!0,get:function(){return menu_item_1.iconClass}}},86781:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.MenuItem=exports.iconClass=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),menu_item_module_scss_1=__importDefault(__webpack_require__(2207));exports.iconClass=menu_item_module_scss_1.default.withIcon,exports.MenuItem=(0,react_1.forwardRef)((_a,ref)=>{var{children,className,icon,active,onClick,interactive=!!onClick}=_a,rest=__rest(_a,["children","className","icon","active","onClick","interactive"]);return react_1.default.createElement("div",Object.assign({},rest,{ref,onClick,className:(0,classnames_1.default)(className,menu_item_module_scss_1.default.menuItem,interactive&&menu_item_module_scss_1.default.interactive,active&&menu_item_module_scss_1.default.active,icon&&menu_item_module_scss_1.default.withIcon)}),icon,children)})},9382:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{ContentTabs:()=>ContentTabs});var react=__webpack_require__(59496),classnames2=__webpack_require__(19803),classnames_default=__webpack_require__.n(classnames2),dist=__webpack_require__(64718),design_inputs_selectors_menu_item_dist=__webpack_require__(47699);const tab_line_module={tabLine:"tab-line_tabLine__YIR0x"};var __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};const TabLine=(0,react.forwardRef)((_a,ref)=>{var{selectedTab,borderPosition,className}=_a,rest=__rest(_a,["selectedTab","borderPosition","className"]);const[borderStyles,setBorderStyle]=(0,react.useState)({width:void 0,transform:void 0});return(0,react.useEffect)(()=>{if(selectedTab){const styleObj={width:void 0,transform:void 0},offset=selectedTab.offsetLeft;styleObj.width=`${selectedTab.offsetWidth}px`,styleObj.transform=`translateX(${offset}px)`,setBorderStyle(styleObj)}},[selectedTab]),react.createElement("div",Object.assign({"data-position":borderPosition,className:classnames_default()(tab_line_module.tabLine,className),style:borderStyles,ref},rest))}),tab_folder_module={tabFolder:"tab-folder_tabFolder__2AK_3"};var tab_folder_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};const TabFolder=(0,react.forwardRef)((_a,ref)=>{var{selectedTab,className}=_a,rest=tab_folder_rest(_a,["selectedTab","className"]);const[borderStyles,setBorderStyle]=(0,react.useState)({width:void 0,transform:void 0});return(0,react.useEffect)(()=>{if(selectedTab){const styleObj={width:void 0,transform:void 0},offset=selectedTab.offsetLeft;styleObj.width=`${selectedTab.offsetWidth}px`,styleObj.transform=`translateX(${offset}px)`,setBorderStyle(styleObj)}},[selectedTab]),react.createElement("div",Object.assign({className:classnames_default()(tab_folder_module.tabFolder,className),style:borderStyles,ref},rest))}),responsive_navbar_module={tab:"responsive-navbar_tab__4e8ei",active:"responsive-navbar_active__-nBEB",navTabs:"responsive-navbar_navTabs__1ZcG0",overflow:"responsive-navbar_overflow__3XQBY",more:"responsive-navbar_more__2I-eW",dots:"responsive-navbar_dots__fJjat",secondaryTabContainer:"responsive-navbar_secondaryTabContainer__xWb5p",item:"responsive-navbar_item__1RKmi",menuItem:"responsive-navbar_menuItem__3VVyN",hidden:"responsive-navbar_hidden__2CJgM"};var responsive_navbar_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};function ResponsiveNavbar(_a){var{defaultActiveIndex=0,onSelect,navClassName,tabClassName,borderPosition="bottom",tabs,dropdownPosition="bottom-end",priority}=_a,rest=responsive_navbar_rest(_a,["defaultActiveIndex","onSelect","navClassName","tabClassName","borderPosition","tabs","dropdownPosition","priority"]);const[tabIndex,setTabIndex]=(0,react.useState)(defaultActiveIndex),[selectedTab,setSelectedTab]=(0,react.useState)(void 0),moreBtnRef=(0,react.useRef)(null),containerRef=(0,react.useRef)(null),tabLineRef=(0,react.useRef)(null),primaryTabRefs=(0,react.useRef)([]),secondaryTabRefs=(0,react.useRef)([]);(0,react.useEffect)(()=>(setSelectedTab(primaryTabRefs.current[tabIndex]),toggleTabs(),window.addEventListener("resize",toggleTabs),()=>window.removeEventListener("resize",toggleTabs)),[tabIndex,selectedTab,tabs]);const onTabSelect=index=>{onSelect&&onSelect(index),setTabIndex(index)};(0,react.useEffect)(()=>{setTabIndex(defaultActiveIndex)},[defaultActiveIndex]);const resetStyle=()=>{var _a2,_b,_c;(_a2=containerRef.current)===null||_a2===void 0||_a2.classList.remove(responsive_navbar_module.overflow),(_b=moreBtnRef.current)===null||_b===void 0||_b.classList.remove(responsive_navbar_module.hidden),(_c=tabLineRef.current)===null||_c===void 0||_c.classList.remove(responsive_navbar_module.hidden),primaryTabRefs.current.forEach((contentTabRef,index)=>{contentTabRef.classList.remove(responsive_navbar_module.hidden)}),secondaryTabRefs.current.forEach((contentTabRef,index)=>{contentTabRef.classList.remove(responsive_navbar_module.hidden)})},getAllWidthBefore=currentElIndex=>{let width=0;return primaryTabRefs.current.forEach((el,index)=>{index<=currentElIndex&&(width+=el.offsetWidth)}),width},toggleTabs=()=>{var _a2,_b,_c,_d;resetStyle();const containerRefWidth=((_a2=containerRef.current)===null||_a2===void 0?void 0:_a2.offsetWidth)||0,buttonWidth=((_b=moreBtnRef.current)===null||_b===void 0?void 0:_b.offsetWidth)||0;let hiddenItems=[];for(let index=primaryTabRefs.current.length-1;index>0;index--){const tabRef=primaryTabRefs.current[index],allWidthBefore=getAllWidthBefore(index);containerRefWidth-buttonWidth<=allWidthBefore+buttonWidth&&(tabRef===selectedTab&&((_c=tabLineRef.current)===null||_c===void 0||_c.classList.add(responsive_navbar_module.hidden)),tabRef.classList.add(responsive_navbar_module.hidden),hiddenItems.push(index))}hiddenItems.length?secondaryTabRefs.current.forEach((tabRef,index)=>{hiddenItems.includes(index)||tabRef.classList.add(responsive_navbar_module.hidden)}):(_d=moreBtnRef.current)===null||_d===void 0||_d.classList.add(responsive_navbar_module.hidden)},getTabStyle=()=>{switch(priority){case"none":return null;case"line":return react.createElement(TabLine,{borderPosition,selectedTab,className:tabClassName,ref:tabLineRef});case"folder":return react.createElement(TabFolder,{selectedTab,className:tabClassName,ref:tabLineRef});default:return react.createElement(TabLine,{borderPosition,selectedTab,className:tabClassName,ref:tabLineRef})}};return react.createElement("nav",Object.assign({},rest,{className:classnames_default()(responsive_navbar_module.navTabs,responsive_navbar_module.overflow,navClassName),ref:containerRef}),tabs.map((tab,index)=>react.createElement("div",{className:classnames_default()(responsive_navbar_module.tab,index===tabIndex&&responsive_navbar_module.active),"data-priority":priority,onClick:e=>onTabSelect(index),key:`tab-${index}`,ref:ref=>ref&&(primaryTabRefs.current[index]=ref)},react.createElement(tab.component,{isInMenu:!1}))),getTabStyle(),react.createElement("div",{className:classnames_default()(responsive_navbar_module.more,responsive_navbar_module.hidden),ref:moreBtnRef},react.createElement(dist.Lt,{placeholderContent:react.createElement("div",{className:responsive_navbar_module.dots,"data-priority":"menu"},react.createElement("img",{src:"https://static.bit.dev/bit-icons/more-h.svg"})),dropClass:responsive_navbar_module.secondaryTabContainer,position:dropdownPosition,clickToggles:!0,margin:8},tabs.map((tab,index)=>react.createElement("div",{key:`dropdown-${index}`,ref:ref=>ref&&(secondaryTabRefs.current[index]=ref),className:responsive_navbar_module.item},react.createElement(design_inputs_selectors_menu_item_dist.MenuItem,{className:responsive_navbar_module.menuItem,active:index===tabIndex,onClick:e=>onTabSelect(index)},react.createElement(tab.component,{isInMenu:!0})))))))}var content_tabs_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};function ContentTabs(_a){var{defaultActiveIndex=0,tabs=[],onSelect}=_a,rest=content_tabs_rest(_a,["defaultActiveIndex","tabs","onSelect"]);const[activeTab,setActiveTab]=(0,react.useState)(defaultActiveIndex),titles=tabs.map(tab=>({component:({isInMenu})=>react.createElement(tab.component,{isInMenu})}));return react.createElement(react.Fragment,null,react.createElement(ResponsiveNavbar,Object.assign({},rest,{tabs:titles,defaultActiveIndex,onSelect:activeIndex=>{setActiveTab(activeIndex),onSelect&&onSelect(activeIndex)}})),tabs[activeTab].content)}},54069:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{ResponsiveNavbar:()=>ResponsiveNavbar});var react=__webpack_require__(59496),node_modules_classnames=__webpack_require__(97754),classnames_default=__webpack_require__.n(node_modules_classnames),dist=__webpack_require__(38073),base_ui_surfaces_abs_container_dist=__webpack_require__(63146),base_ui_css_components_elevation_dist=__webpack_require__(75210),base_ui_css_components_roundness_dist=__webpack_require__(69725),base_ui_surfaces_background_dist=__webpack_require__(84733),design_inputs_selectors_menu_item_dist=__webpack_require__(53142);const dropdown_module={dropdownPlaceholder:"dropdown_dropdownPlaceholder__MHg6W",removePlaceholderBorder:"dropdown_removePlaceholderBorder__MTpKq",dropdownMenu:"dropdown_dropdownMenu__3TkHb"};var __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};function Placeholder(_a){var{dropdownIcon,children,className}=_a,rest=__rest(_a,["dropdownIcon","children","className"]);return react.createElement(design_inputs_selectors_menu_item_dist.sN,Object.assign({className:classnames_default()(dropdown_module.dropdownPlaceholder,className)},rest),children," ",dropdownIcon||react.createElement(FatArrowDown,null))}function FatArrowDown(){return react.createElement("svg",{width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},react.createElement("path",{d:"M10.9999 1.17C10.8126 0.983753 10.5591 0.879211 10.2949 0.879211C10.0308 0.879211 9.77731 0.983753 9.58995 1.17L5.99995 4.71L2.45995 1.17C2.27259 0.983753 2.01913 0.879211 1.75495 0.879211C1.49076 0.879211 1.23731 0.983753 1.04995 1.17C0.95622 1.26297 0.881826 1.37357 0.831057 1.49543C0.780288 1.61729 0.75415 1.74799 0.75415 1.88C0.75415 2.01202 0.780288 2.14272 0.831057 2.26458C0.881826 2.38644 0.95622 2.49704 1.04995 2.59L5.28995 6.83C5.38291 6.92373 5.49351 6.99813 5.61537 7.04889C5.73723 7.09966 5.86794 7.1258 5.99995 7.1258C6.13196 7.1258 6.26267 7.09966 6.38453 7.04889C6.50638 6.99813 6.61699 6.92373 6.70995 6.83L10.9999 2.59C11.0937 2.49704 11.1681 2.38644 11.2188 2.26458C11.2696 2.14272 11.2957 2.01202 11.2957 1.88C11.2957 1.74799 11.2696 1.61729 11.2188 1.49543C11.1681 1.37357 11.0937 1.26297 10.9999 1.17Z",fill:"var(--on-surface-color, #2b2b2b)"}))}var dropdown_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};function Dropdown(_a){var{children,position="bottom",elevation="low",roundness="small",margin=4,placeholderContent="",dropClass,placeholderBorder=!0,topPlugin,bottomPlugin,clickToggles=!1,className}=_a,rest=dropdown_rest(_a,["children","position","elevation","roundness","margin","placeholderContent","dropClass","placeholderBorder","topPlugin","bottomPlugin","clickToggles","className"]);return react.createElement(dist.Drawer,Object.assign({},rest,{margin,className:classnames_default()(!placeholderBorder&&dropdown_module.removePlaceholderBorder,className),placeholderContent:typeof placeholderContent=="string"?react.createElement(Placeholder,null,placeholderContent):placeholderContent,clickToggles}),react.createElement(DropdownMenu,{position,elevation,roundness,className:dropClass},topPlugin,children,bottomPlugin))}function DropdownMenu(_a){var{className,elevation="low",roundness="small"}=_a,rest=dropdown_rest(_a,["className","elevation","roundness"]);return react.createElement(base_ui_surfaces_abs_container_dist.Containee,Object.assign({},rest,{className:classnames_default()(dropdown_module.dropdownMenu,base_ui_surfaces_background_dist.backgrounds.layer,base_ui_css_components_elevation_dist.elevationClass[elevation],base_ui_css_components_roundness_dist.roundnessClass[roundness],className)}))}var design_ui_icon_button_dist=__webpack_require__(53330);const buttons_plugin_module={buttonsHolder:"buttons-plugin_buttonsHolder__2iJ4V",clearText:"buttons-plugin_clearText__1SGIw"};var buttons_plugin_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};function ButtonsPlugin(_a){var{onClear,onSubmit,disabledSubmit,submitText="Done",loading,submitClassName,className}=_a,rest=buttons_plugin_rest(_a,["onClear","onSubmit","disabledSubmit","submitText","loading","submitClassName","className"]);return!onClear&&!onSubmit?null:React.createElement("div",Object.assign({},rest,{className:classnames(styles.buttonsHolder,className)}),onClear&&React.createElement("div",{className:styles.clearText,onClick:onClear},"Clear"),onSubmit&&React.createElement(IconButton,{priority:"cta",onClick:onSubmit,loading,disabled:disabledSubmit,className:submitClassName},submitText))}var _teambit_design_inputs_selectors_menu_item_dist=__webpack_require__(47699);const tab_line_module={tabLine:"tab-line_tabLine__1N66Y"};var tab_line_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};const TabLine=(0,react.forwardRef)((_a,ref)=>{var{selectedTab,borderPosition,enableAnimation=!1,className}=_a,rest=tab_line_rest(_a,["selectedTab","borderPosition","enableAnimation","className"]);const[borderStyles,setBorderStyle]=(0,react.useState)({width:void 0,transform:void 0,transition:void 0});return(0,react.useEffect)(()=>{if(selectedTab){const styleObj={width:void 0,transform:void 0,transition:void 0},offset=selectedTab.offsetLeft;styleObj.width=`${selectedTab.offsetWidth}px`,styleObj.transform=`translateX(${offset}px)`,enableAnimation&&(styleObj.transition="transform 150ms ease-in-out, width 150ms ease-in-out"),setBorderStyle(styleObj)}},[selectedTab,enableAnimation]),react.createElement("div",Object.assign({"data-position":borderPosition,className:classnames_default()(tab_line_module.tabLine,className),style:borderStyles,ref},rest))}),tab_folder_module={tabFolder:"tab-folder_tabFolder__FTM5c",folderStyle:"tab-folder_folderStyle__1Gk2R"};var tab_folder_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};const TabFolder=(0,react.forwardRef)((_a,ref)=>{var{selectedTab,enableAnimation=!1,className}=_a,rest=tab_folder_rest(_a,["selectedTab","enableAnimation","className"]);const[borderStyles,setBorderStyle]=(0,react.useState)({width:void 0,transform:void 0,transition:void 0});return(0,react.useEffect)(()=>{if(selectedTab){const styleObj={width:void 0,transform:void 0,transition:void 0},offset=selectedTab.offsetLeft;styleObj.width=`${selectedTab.offsetWidth}px`,styleObj.transform=`translateX(${offset}px)`,enableAnimation&&(styleObj.transition="transform 150ms ease-in-out, width 150ms ease-in-out"),setBorderStyle(styleObj)}},[selectedTab,enableAnimation]),react.createElement("div",Object.assign({className:classnames_default()(tab_folder_module.tabFolder,tab_folder_module.folderStyle,className),style:borderStyles,ref},rest))}),tab_inner_module={tabInner:"tab-inner_tabInner__8lfTZ",innerStyle:"tab-inner_innerStyle__DpFyC"};var tab_inner_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};const TabInner=(0,react.forwardRef)((_a,ref)=>{var{selectedTab,enableAnimation=!1,className}=_a,rest=tab_inner_rest(_a,["selectedTab","enableAnimation","className"]);const[borderStyles,setBorderStyle]=(0,react.useState)({width:void 0,transform:void 0,transition:void 0});return(0,react.useEffect)(()=>{if(selectedTab){const styleObj={width:void 0,transform:void 0,transition:void 0},offset=selectedTab.offsetLeft;styleObj.width=`${selectedTab.offsetWidth}px`,styleObj.transform=`translateX(${offset}px)`,enableAnimation&&(styleObj.transition="transform 150ms ease-in-out, width 150ms ease-in-out"),setBorderStyle(styleObj)}},[selectedTab,enableAnimation]),react.createElement("div",Object.assign({className:classnames_default()(tab_inner_module.tabInner,tab_inner_module.innerStyle,className),style:borderStyles,ref},rest))}),responsive_navbar_module={tabInner:"responsive-navbar_tabInner__2Rv4j",innerStyle:"responsive-navbar_innerStyle__X4vHT",tab:"responsive-navbar_tab__aPuF9",noAnimation:"responsive-navbar_noAnimation__2tXKx",tabFolder:"responsive-navbar_tabFolder__9b98a",folderStyle:"responsive-navbar_folderStyle__35pCa",active:"responsive-navbar_active__3mlkv",lineStyle:"responsive-navbar_lineStyle__fg5Vl",navTabs:"responsive-navbar_navTabs__1y1Qk",overflow:"responsive-navbar_overflow__14M4C",more:"responsive-navbar_more__3qoVB",dots:"responsive-navbar_dots__DB2sv",secondaryTabContainer:"responsive-navbar_secondaryTabContainer__1CXXT",item:"responsive-navbar_item__Hwgaf",menuItem:"responsive-navbar_menuItem__--713",hidden:"responsive-navbar_hidden__2Ghyr"};var responsive_navbar_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};const ResponsiveNavbar=react.memo(_ResponsiveNavbar);function _ResponsiveNavbar(_a){var{defaultActiveIndex=0,onSelect,navClassName,tabClassName,secondaryNavClassName,borderPosition="bottom",tabs,dropdownPosition="bottom-end",priority="line",alwaysShowActiveTab=!1,children}=_a,rest=responsive_navbar_rest(_a,["defaultActiveIndex","onSelect","navClassName","tabClassName","secondaryNavClassName","borderPosition","tabs","dropdownPosition","priority","alwaysShowActiveTab","children"]);const[tabIndex,setTabIndex]=(0,react.useState)(defaultActiveIndex),[selectedTab,setSelectedTab]=(0,react.useState)(void 0),[enableAnimation,setEnableAnimation]=(0,react.useState)(!1),moreBtnRef=(0,react.useRef)(null),containerRef=(0,react.useRef)(null),tabLineRef=(0,react.useRef)(null),primaryTabRefs=(0,react.useRef)([]),secondaryTabRefs=(0,react.useRef)([]),resetStyle=()=>{var _a2,_b,_c;(_a2=containerRef.current)===null||_a2===void 0||_a2.classList.remove(responsive_navbar_module.overflow),(_b=moreBtnRef.current)===null||_b===void 0||_b.classList.remove(responsive_navbar_module.hidden),(_c=tabLineRef.current)===null||_c===void 0||_c.classList.remove(responsive_navbar_module.hidden),primaryTabRefs.current.forEach(contentTabRef=>{contentTabRef.classList.remove(responsive_navbar_module.hidden)}),secondaryTabRefs.current.forEach(contentTabRef=>{contentTabRef.classList.remove(responsive_navbar_module.hidden)})},toggleTabs=(_tabIndex=tabIndex)=>{var _a2,_b,_c;resetStyle();const hiddenItems=new Set,containerRefWidth=((_a2=containerRef.current)===null||_a2===void 0?void 0:_a2.offsetWidth)||0,buttonWidth=((_b=moreBtnRef.current)===null||_b===void 0?void 0:_b.offsetWidth)||0;let availableWidth=containerRefWidth-buttonWidth;if(alwaysShowActiveTab){const activeTab=primaryTabRefs.current[_tabIndex];activeTab.classList.remove(responsive_navbar_module.hidden),activeTab.classList.add(responsive_navbar_module.active),availableWidth-=activeTab.offsetWidth}primaryTabRefs.current.forEach((tabRef,index)=>{(index!==_tabIndex||!alwaysShowActiveTab)&&(availableWidth-=tabRef.offsetWidth,availableWidth<buttonWidth&&!tabRef.classList.contains(responsive_navbar_module.hidden)&&(tabRef.classList.add(responsive_navbar_module.hidden),hiddenItems.add(index)))}),(_c=moreBtnRef.current)===null||_c===void 0||_c.classList.toggle(responsive_navbar_module.hidden,hiddenItems.size===0),secondaryTabRefs.current.forEach((tabRef,index)=>{tabRef.classList.toggle(responsive_navbar_module.hidden,!hiddenItems.has(index)),alwaysShowActiveTab&&tabRef.classList.remove(responsive_navbar_module.active)}),!primaryTabRefs.current.filter((_,index)=>!hiddenItems.has(index))[tabIndex]&&setSelectedTab(primaryTabRefs.current[_tabIndex])};(0,react.useEffect)(()=>{const handleResize=()=>{toggleTabs()},resizeObserver=new ResizeObserver(handleResize);return containerRef.current&&resizeObserver.observe(containerRef.current),setTimeout(()=>{setEnableAnimation(!0)},100),toggleTabs(),()=>{resizeObserver.disconnect()}},[tabIndex]),(0,react.useEffect)(()=>{enableAnimation&&(setSelectedTab(primaryTabRefs.current[tabIndex]),toggleTabs())},[enableAnimation]);const onTabSelect=index=>{onSelect&&onSelect(index),setTabIndex(index),setSelectedTab(primaryTabRefs.current[index]),primaryTabRefs.current.forEach((tabRef,i)=>{i!==index&&tabRef.classList.remove(responsive_navbar_module.active),primaryTabRefs.current[index].classList.add(responsive_navbar_module.active)}),toggleTabs(index)};(0,react.useEffect)(()=>{defaultActiveIndex!==tabIndex&&(setTabIndex(defaultActiveIndex),setSelectedTab(primaryTabRefs.current[defaultActiveIndex]),toggleTabs(defaultActiveIndex))},[defaultActiveIndex]);const getTabStyle=()=>{switch(priority){case"none":return null;case"line":return react.createElement(TabLine,{borderPosition,selectedTab,enableAnimation,className:tabClassName,ref:tabLineRef});case"folder":return react.createElement(TabFolder,{selectedTab,enableAnimation,className:tabClassName,ref:tabLineRef});case"inner":return react.createElement(TabInner,{selectedTab,enableAnimation,className:tabClassName,ref:tabLineRef});default:return react.createElement(TabLine,{borderPosition,selectedTab,enableAnimation,className:tabClassName,ref:tabLineRef})}};return react.createElement("nav",Object.assign({},rest,{className:classnames_default()(responsive_navbar_module.navTabs,responsive_navbar_module.overflow,navClassName),ref:containerRef}),tabs.map((tab,index)=>{const{component,tabProps}=tab,tabRest=responsive_navbar_rest(tab,["component","tabProps"]),showTabLine=priority==="line"&&enableAnimation;return react.createElement("div",Object.assign({},tabRest,{className:classnames_default()(responsive_navbar_module.tab,!enableAnimation&&responsive_navbar_module.noAnimation,tab.className),"data-priority":priority,onClick:()=>onTabSelect(index),key:`tab-${index}`,ref:ref=>ref&&(primaryTabRefs.current[index]=ref)}),react.createElement(tab.component,{menuItemProps:tabProps?.menuItemProps,isInMenu:!1}),react.createElement(TabLine,{borderPosition,className:classnames_default()(responsive_navbar_module.lineStyle,showTabLine&&responsive_navbar_module.visible)}))}),!alwaysShowActiveTab&&getTabStyle(),react.createElement("div",{className:classnames_default()(responsive_navbar_module.more,responsive_navbar_module.hidden),ref:moreBtnRef},react.createElement(Dropdown,{placeholderContent:react.createElement("div",{className:classnames_default()(responsive_navbar_module.dots),"data-priority":"menu"},react.createElement("img",{src:"https://static.bit.dev/bit-icons/more-h.svg"})),dropClass:classnames_default()(responsive_navbar_module.secondaryTabContainer,secondaryNavClassName),position:dropdownPosition,clickToggles:!0,margin:8},tabs.map((tab,index)=>{const{component,tabProps}=tab,tabRest=responsive_navbar_rest(tab,["component","tabProps"]),isActive=index===tabIndex;return react.createElement("div",Object.assign({},tabRest,{key:`dropdown-${index}`,ref:ref=>ref&&(secondaryTabRefs.current[index]=ref),className:classnames_default()(responsive_navbar_module.item,tab.className)}),react.createElement(_teambit_design_inputs_selectors_menu_item_dist.MenuItem,{className:classnames_default()(responsive_navbar_module.menuItem),active:isActive,onClick:()=>onTabSelect(index)},react.createElement(tab.component,{menuItemProps:tabProps?.menuItemProps,isInMenu:!0})))}))),children)}},63125: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.IconFont=void 0;const react_1=__importDefault(__webpack_require__(59496)),EMBED_LINK="https://d1azc1qln24ryf.cloudfront.net/158286/Bit/style-cf.css";function IconFont(props){const{query="cr084i"}=props;return react_1.default.createElement("link",{rel:"stylesheet",href:`${EMBED_LINK}?${query}`})}exports.IconFont=IconFont},3886:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.IconFont=void 0;var icon_font_1=__webpack_require__(63125);Object.defineProperty(exports,"IconFont",{enumerable:!0,get:function(){return icon_font_1.IconFont}})},85678: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.IconFont=void 0;const react_1=__importDefault(__webpack_require__(59496)),EMBED_LINK="https://cdn.icomoon.io/158286/Bit/style.css";function IconFont(props){const{query="d4g8l8"}=props;return react_1.default.createElement("link",{rel:"stylesheet",href:`${EMBED_LINK}?${query}`})}exports.IconFont=IconFont},22975:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.IconFont=void 0;var icon_font_1=__webpack_require__(85678);Object.defineProperty(exports,"IconFont",{enumerable:!0,get:function(){return icon_font_1.IconFont}})},81974: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.useTheme=exports.BaseTheme=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),base_react_theme_theme_provider_1=__webpack_require__(14111),design_theme_icons_font_1=__webpack_require__(3886),theme_default_values_1=__webpack_require__(52690),legacy_tokens_1=__webpack_require__(564),circular_font_1=__webpack_require__(21613),base_theme_module_scss_1=__importDefault(__webpack_require__(27964)),ICON_MOON_VERSION="mxd7i0",{useTheme,ThemeProvider}=(0,base_react_theme_theme_provider_1.createTheme)({theme:theme_default_values_1.baseThemeDefaults});exports.useTheme=useTheme;function BaseTheme(_a){var{children,className}=_a,props=__rest(_a,["children","className"]);return react_1.default.createElement(ThemeProvider,Object.assign({},props,{className:(0,classnames_1.default)(circular_font_1.circularFont,base_theme_module_scss_1.default.theme,className)}),react_1.default.createElement("link",{href:"https://fonts.googleapis.com/css?family=Roboto+Mono",rel:"stylesheet"}),react_1.default.createElement(design_theme_icons_font_1.IconFont,{query:ICON_MOON_VERSION}),react_1.default.createElement(LegacyThemeProvider,null,children))}exports.BaseTheme=BaseTheme;function LegacyThemeProvider({children}){const theme=useTheme();return react_1.default.createElement("div",{style:(0,legacy_tokens_1.getLegacyTokens)(theme)},children)}},21613: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.circularFont=void 0;const circular_font_module_scss_1=__importDefault(__webpack_require__(44509));exports.circularFont=circular_font_module_scss_1.default.circularFont},80256:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BaseTheme=exports.useTheme=exports.baseThemeDefaults=void 0;var theme_default_values_1=__webpack_require__(52690);Object.defineProperty(exports,"baseThemeDefaults",{enumerable:!0,get:function(){return theme_default_values_1.baseThemeDefaults}});var base_theme_1=__webpack_require__(81974);Object.defineProperty(exports,"useTheme",{enumerable:!0,get:function(){return base_theme_1.useTheme}}),Object.defineProperty(exports,"BaseTheme",{enumerable:!0,get:function(){return base_theme_1.BaseTheme}})},564:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getLegacyTokens=void 0;function getLegacyTokens(theme){return{"--bit-text-color-light":theme.onBackgroundMediumColor,"--bit-text-color":theme.onBackgroundColor,"--bit-text-color-heavy":theme.onBackgroundHighColor,"--bit-text-inactive":theme.onBackgroundLowColor,"--bit-text-inactive-heavy":theme.onBackgroundLowColor,"--bit-bg-bedrock":theme.backgroundColor,"--bit-bg-color":theme.surfaceNeutralColor,"--bit-bg-heavy":theme.surfaceNeutralHoverColor,"--bit-bg-heaviest":theme.surfaceNeutralActiveColor,"--bit-bg-dent":theme.surfaceNeutralHoverColor,"--bit-bg-tooltip":theme.surfaceNeutralColor,"--bit-bg-tooltip-heavy":theme.surfaceNeutralHoverColor,"--bit-bg-navigation":theme.surfaceNeutralHoverColor,"--bit-bg-overlay":theme.surfaceNeutralColor,"--bit-bg-modal":theme.surfaceNeutralColor,"--bit-border-color-lightest":theme.borderMediumColor,"--bit-border-color-light":theme.borderMediumHoverColor,"--bit-border-color":theme.borderHighColor,"--bit-border-color-heavy":theme.borderHighActiveColor,"--bit-accent-color":theme.primaryColor,"--bit-text-on-accent":theme.onPrimaryColor,"--bit-accent-text":theme.primaryColor,"--bit-accent-bg":theme.surfaceHoverColor,"--bit-accent-bg-heavy":theme.surfaceActiveColor,"--bit-shadow-none":"none","--bit-shadow-faint":"0 2px 10px 0 rgba(0, 0, 0, 0.1)","--bit-shadow-resting":"0px 0px 4px rgba(0, 0, 0, 0.08), 0px 2px 4px rgba(0, 0, 0, 0.08)","--bit-shadow-raised-low":"0 -1px 1px 0 rgba(0, 0, 0, 0.09), 0 2px 2px 0 rgba(0, 0, 0, 0.23)","--bit-shadow-hover-low":"0 2px 8px 0 rgba(0, 0, 0, 0.2)","--bit-shadow-hover-medium":"0 0 20px 0 rgba(0, 0, 0, 0.12), 0 2px 6px 0 rgba(0, 0, 0, 0.24)","--bit-shadow-hover-high":"0px 11px 29px 0px rgba(0, 0, 0, 0.23)","--bit-p-xxs":"12px","--bit-p-xs":"14px","--bit-p-sm":"15px","--bit-p-md":"16px","--bit-p-lg":"18px","--bit-p-xl":"20px","--bit-p-xxl":"24px","--bit-h-xxs":"16px","--bit-h-xs":"18px","--bit-h-sm":"24px","--bit-h-md":"26px","--bit-h-lg":"36px","--bit-h-xl":"40px","--bit-h-xxl":"50px","--bit-accent-primary-color":theme.primaryColor,"--bit-accent-primary-bg":theme.primarySurfaceColor,"--bit-accent-hunger-color":theme.warningColor,"--bit-accent-hunger-bg":theme.warningSurfaceColor,"--bit-accent-impulsive-color":theme.negativeColor,"--bit-accent-impulsive-bg":theme.negativeSurfaceColor,"--bit-accent-process-color":theme.processColor,"--bit-accent-success-color":theme.positiveColor,"--bit-accent-success-bg":theme.positiveSurfaceColor}}exports.getLegacyTokens=getLegacyTokens},52690:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.baseThemeDefaults=void 0,exports.baseThemeDefaults={backgroundColor:"#FFFFFF",onBackgroundColor:"#2B2B2B",onBackgroundLowColor:"#9598A1",onBackgroundMediumColor:"#707279",onBackgroundHighColor:"#2B2B2B",primaryColor:"#6C5CE7",onPrimaryColor:"#FFFFFF",borderMediumColor:"#EDEDED",borderMediumHoverColor:"#CECECE",borderMediumFocusColor:"#C6C6C6",borderMediumActiveColor:"#AFAFAF",borderHighColor:"#BABEC9",borderHighHoverColor:"#A3A6B0",borderHighFocusColor:"#9DA1A9",borderHighActiveColor:"#8C8F96",borderPrimaryColor:"#6C5CE7",borderPrimaryHoverColor:"#8376EB",borderPrimaryFocusColor:"#897DEC",borderPrimaryActiveColor:"#8F83ED",surfaceColor:"#FFFFFF",surfaceHoverColor:"#EDEBFC",surfaceActiveColor:"#DCD8F9",surfaceFocusColor:"#E2DEFA",onSurfaceColor:"#2B2B2B",onSurfaceMediumColor:"#707279",onSurfaceLowColor:"#9598A1",surface01Color:"#FFFBFF",surface02Color:"#F7F2FD",surfacePrimaryColor:"#140068",surfacePrimaryHoverColor:"#3A2980",surfacePrimaryActiveColor:"#433386",surfacePrimaryFocusColor:"#4C3D8C",onSurfacePrimaryColor:"#FFFFFF",surfaceNeutralColor:"#FFFFFF",surfaceNeutralHoverColor:"#F4F5F6",surfaceNeutralFocusColor:"#F1F2F4",surfaceNeutralActiveColor:"#EEEFF2",onSurfaceNeutralHighColor:"#2B2B2B",onSurfaceNeutralMediumColor:"#707279",onSurfaceNeutralLowColor:"#9598A1",positiveColor:"#37B26C",negativeColor:"#E62E5C",warningColor:"#FFC640",processColor:"#0984E3",primarySurfaceColor:"#F6F5FE",positiveSurfaceColor:"#F3FAF6",negativeSurfaceColor:"#FDF2F5",warningSurfaceColor:"#FFFCF4",processSurfaceColor:"#F0F8FD"}},57153: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.DarkThemeIcon=void 0;const react_1=__importDefault(__webpack_require__(59496));function DarkThemeIcon(props){return react_1.default.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},props),react_1.default.createElement("path",{d:"M3 11C2.80222 11 2.60888 11.0587 2.44443 11.1685C2.27998 11.2784 2.15181 11.4346 2.07612 11.6173C2.00043 11.8 1.98063 12.0011 2.01922 12.1951C2.0578 12.3891 2.15304 12.5673 2.29289 12.7071C2.43275 12.847 2.61093 12.9422 2.80491 12.9808C2.99889 13.0194 3.19996 12.9996 3.38268 12.9239C3.56541 12.8482 3.72159 12.72 3.83147 12.5556C3.94135 12.3911 4 12.1978 4 12C4 11.7348 3.89464 11.4804 3.70711 11.2929C3.51957 11.1054 3.26522 11 3 11ZM4.93 17.66C4.78955 17.7996 4.69372 17.9778 4.65465 18.1719C4.61559 18.3661 4.63504 18.5674 4.71055 18.7505C4.78607 18.9336 4.91423 19.0901 5.07881 19.2003C5.24339 19.3104 5.43697 19.3692 5.635 19.3692C5.83304 19.3692 6.02661 19.3104 6.19119 19.2003C6.35577 19.0901 6.48394 18.9336 6.55945 18.7505C6.63496 18.5674 6.65442 18.3661 6.61535 18.1719C6.57628 17.9778 6.48045 17.7996 6.34 17.66C6.15264 17.4737 5.89919 17.3692 5.635 17.3692C5.37081 17.3692 5.11736 17.4737 4.93 17.66V17.66ZM6.34 6.34C6.48045 6.20039 6.57628 6.02221 6.61535 5.82807C6.65442 5.63393 6.63496 5.43256 6.55945 5.24948C6.48394 5.06641 6.35577 4.90988 6.19119 4.79974C6.02661 4.68959 5.83304 4.63079 5.635 4.63079C5.43697 4.63079 5.24339 4.68959 5.07881 4.79974C4.91423 4.90988 4.78607 5.06641 4.71055 5.24948C4.63504 5.43256 4.61559 5.63393 4.65465 5.82807C4.69372 6.02221 4.78955 6.20039 4.93 6.34C5.11736 6.52625 5.37081 6.63079 5.635 6.63079C5.89919 6.63079 6.15264 6.52625 6.34 6.34ZM12 4C12.1978 4 12.3911 3.94135 12.5556 3.83147C12.72 3.72159 12.8482 3.56541 12.9239 3.38268C12.9996 3.19996 13.0194 2.99889 12.9808 2.80491C12.9422 2.61093 12.847 2.43275 12.7071 2.29289C12.5673 2.15304 12.3891 2.0578 12.1951 2.01922C12.0011 1.98063 11.8 2.00043 11.6173 2.07612C11.4346 2.15181 11.2784 2.27998 11.1685 2.44443C11.0587 2.60888 11 2.80222 11 3C11 3.26522 11.1054 3.51957 11.2929 3.70711C11.4804 3.89464 11.7348 4 12 4ZM17.66 17.66C17.5196 17.7996 17.4237 17.9778 17.3847 18.1719C17.3456 18.3661 17.365 18.5674 17.4406 18.7505C17.5161 18.9336 17.6442 19.0901 17.8088 19.2003C17.9734 19.3104 18.167 19.3692 18.365 19.3692C18.563 19.3692 18.7566 19.3104 18.9212 19.2003C19.0858 19.0901 19.2139 18.9336 19.2894 18.7505C19.365 18.5674 19.3844 18.3661 19.3453 18.1719C19.3063 17.9778 19.2104 17.7996 19.07 17.66C18.8826 17.4737 18.6292 17.3692 18.365 17.3692C18.1008 17.3692 17.8474 17.4737 17.66 17.66V17.66ZM21 11C20.8022 11 20.6089 11.0587 20.4444 11.1685C20.28 11.2784 20.1518 11.4346 20.0761 11.6173C20.0004 11.8 19.9806 12.0011 20.0192 12.1951C20.0578 12.3891 20.153 12.5673 20.2929 12.7071C20.4327 12.847 20.6109 12.9422 20.8049 12.9808C20.9989 13.0194 21.2 12.9996 21.3827 12.9239C21.5654 12.8482 21.7216 12.72 21.8315 12.5556C21.9414 12.3911 22 12.1978 22 12C22 11.7348 21.8946 11.4804 21.7071 11.2929C21.5196 11.1054 21.2652 11 21 11ZM17.66 4.93C17.5196 5.06961 17.4237 5.24779 17.3847 5.44193C17.3456 5.63607 17.365 5.83744 17.4406 6.02052C17.5161 6.20359 17.6442 6.36012 17.8088 6.47026C17.9734 6.58041 18.167 6.63921 18.365 6.63921C18.563 6.63921 18.7566 6.58041 18.9212 6.47026C19.0858 6.36012 19.2139 6.20359 19.2894 6.02052C19.365 5.83744 19.3844 5.63607 19.3453 5.44193C19.3063 5.24779 19.2104 5.06961 19.07 4.93C18.8826 4.74375 18.6292 4.63921 18.365 4.63921C18.1008 4.63921 17.8474 4.74375 17.66 4.93V4.93ZM12 20C11.8022 20 11.6089 20.0586 11.4444 20.1685C11.28 20.2784 11.1518 20.4346 11.0761 20.6173C11.0004 20.8 10.9806 21.0011 11.0192 21.1951C11.0578 21.3891 11.153 21.5673 11.2929 21.7071C11.4327 21.847 11.6109 21.9422 11.8049 21.9808C11.9989 22.0194 12.2 21.9996 12.3827 21.9239C12.5654 21.8482 12.7216 21.72 12.8315 21.5556C12.9414 21.3911 13 21.1978 13 21C13 20.7348 12.8946 20.4804 12.7071 20.2929C12.5196 20.1054 12.2652 20 12 20ZM12 6C10.8133 6 9.65327 6.35189 8.66658 7.01118C7.67988 7.67047 6.91085 8.60754 6.45672 9.7039C6.0026 10.8003 5.88378 12.0067 6.11529 13.1705C6.3468 14.3344 6.91824 15.4035 7.75736 16.2426C8.59648 17.0818 9.66557 17.6532 10.8295 17.8847C11.9933 18.1162 13.1997 17.9974 14.2961 17.5433C15.3925 17.0892 16.3295 16.3201 16.9888 15.3334C17.6481 14.3467 18 13.1867 18 12C18 10.4087 17.3679 8.88258 16.2426 7.75736C15.1174 6.63214 13.5913 6 12 6ZM12 16C11.2089 16 10.4355 15.7654 9.77772 15.3259C9.11992 14.8864 8.60723 14.2616 8.30448 13.5307C8.00173 12.7998 7.92252 11.9956 8.07686 11.2196C8.2312 10.4437 8.61216 9.73098 9.17157 9.17157C9.73098 8.61216 10.4437 8.2312 11.2196 8.07686C11.9956 7.92252 12.7998 8.00173 13.5307 8.30448C14.2616 8.60723 14.8864 9.11992 15.3259 9.77772C15.7654 10.4355 16 11.2089 16 12C16 13.0609 15.5786 14.0783 14.8284 14.8284C14.0783 15.5786 13.0609 16 12 16Z",fill:"currentColor"}))}exports.DarkThemeIcon=DarkThemeIcon},59283: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.DarkTheme=void 0;const react_1=__importDefault(__webpack_require__(59496)),design_themes_base_theme_1=__webpack_require__(80256),dark_theme_values_1=__webpack_require__(40690),dark_theme_icon_1=__webpack_require__(57153);function DarkTheme(props){return react_1.default.createElement(design_themes_base_theme_1.BaseTheme,Object.assign({},props,{overrides:dark_theme_values_1.darkThemeValues}))}exports.DarkTheme=DarkTheme,DarkTheme.Icon=dark_theme_icon_1.DarkThemeIcon,DarkTheme.themeName="dark"},40690:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.darkThemeValues=void 0,exports.darkThemeValues={backgroundColor:"#121212",onBackgroundColor:"#EDEDED",onBackgroundLowColor:"#848483",onBackgroundMediumColor:"#A3A3A2",onBackgroundHighColor:"#EDEDED",primaryColor:"#6A57FD",onPrimaryColor:"#FFFFFF",borderMediumColor:"#3D3D3C",borderMediumHoverColor:"#A3A6B0",borderMediumFocusColor:"#9DA1A9",borderMediumActiveColor:"#8C8F96",borderHighColor:"#515150",borderHighHoverColor:"#6D6D6C",borderHighFocusColor:"#747473",borderHighActiveColor:"#898988",borderPrimaryColor:"#A9A0FF",borderPrimaryHoverColor:"#B7AFFF",borderPrimaryFocusColor:"#BAB3FF",borderPrimaryActiveColor:"#C4BEFF",surfaceColor:"#121212",surfaceHoverColor:"#2C2B36",surfaceActiveColor:"#373546",surfaceFocusColor:"#31303E",onSurfaceColor:"#FFFBFF",onSurfaceMediumColor:"#A3A3A2",onSurfaceLowColor:"#282828",surface01Color:"#1C1B1F",surface02Color:"#262438",surfacePrimaryColor:"#130068",surfacePrimaryHoverColor:"#392980",surfacePrimaryActiveColor:"#423386",surfacePrimaryFocusColor:"#4C3D8C",onSurfacePrimaryColor:"#FFFBFF",surfaceNeutralColor:"#121212",surfaceNeutralHoverColor:"#383838",surfaceNeutralFocusColor:"#414141",surfaceNeutralActiveColor:"#4B4B4B",onSurfaceNeutralHighColor:"#FFFBFF",onSurfaceNeutralMediumColor:"#A3A3A2",onSurfaceNeutralLowColor:"#282828",positiveColor:"#378751",negativeColor:"#B6344F",warningColor:"#BB8C25",processColor:"#2174C6",primarySurfaceColor:"#252338",positiveSurfaceColor:"#0C1E12",negativeSurfaceColor:"#280B11",warningSurfaceColor:"#291F08",processSurfaceColor:"#071A2C"}},62398:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DarkThemeIcon=exports.DarkTheme=exports.darkThemeValues=void 0;var dark_theme_values_1=__webpack_require__(40690);Object.defineProperty(exports,"darkThemeValues",{enumerable:!0,get:function(){return dark_theme_values_1.darkThemeValues}});var dark_theme_1=__webpack_require__(59283);Object.defineProperty(exports,"DarkTheme",{enumerable:!0,get:function(){return dark_theme_1.DarkTheme}});var dark_theme_icon_1=__webpack_require__(57153);Object.defineProperty(exports,"DarkThemeIcon",{enumerable:!0,get:function(){return dark_theme_icon_1.DarkThemeIcon}})},86592:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LightThemeIcon=exports.lightThemeValues=exports.LightTheme=void 0;var light_theme_1=__webpack_require__(30012);Object.defineProperty(exports,"LightTheme",{enumerable:!0,get:function(){return light_theme_1.LightTheme}}),Object.defineProperty(exports,"lightThemeValues",{enumerable:!0,get:function(){return light_theme_1.lightThemeValues}});var light_theme_icon_1=__webpack_require__(3988);Object.defineProperty(exports,"LightThemeIcon",{enumerable:!0,get:function(){return light_theme_icon_1.LightThemeIcon}})},3988: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.LightThemeIcon=void 0;const react_1=__importDefault(__webpack_require__(59496));function LightThemeIcon(props){return react_1.default.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},props),react_1.default.createElement("path",{d:"M5 12C5 11.7348 4.89464 11.4804 4.70711 11.2929C4.51957 11.1054 4.26522 11 4 11H3C2.73478 11 2.48043 11.1054 2.29289 11.2929C2.10536 11.4804 2 11.7348 2 12C2 12.2652 2.10536 12.5196 2.29289 12.7071C2.48043 12.8946 2.73478 13 3 13H4C4.26522 13 4.51957 12.8946 4.70711 12.7071C4.89464 12.5196 5 12.2652 5 12ZM5.64 17L4.93 17.71C4.74375 17.8974 4.63921 18.1508 4.63921 18.415C4.63921 18.6792 4.74375 18.9326 4.93 19.12C5.11736 19.3063 5.37081 19.4108 5.635 19.4108C5.89919 19.4108 6.15264 19.3063 6.34 19.12L7.05 18.41C7.21383 18.2187 7.29943 17.9726 7.28971 17.7209C7.27999 17.4693 7.17566 17.2305 6.99756 17.0524C6.81947 16.8743 6.58073 16.77 6.32905 16.7603C6.07738 16.7506 5.8313 16.8362 5.64 17V17ZM12 5C12.2652 5 12.5196 4.89464 12.7071 4.70711C12.8946 4.51957 13 4.26522 13 4V3C13 2.73478 12.8946 2.48043 12.7071 2.29289C12.5196 2.10536 12.2652 2 12 2C11.7348 2 11.4804 2.10536 11.2929 2.29289C11.1054 2.48043 11 2.73478 11 3V4C11 4.26522 11.1054 4.51957 11.2929 4.70711C11.4804 4.89464 11.7348 5 12 5ZM17.66 7.34C17.9223 7.3389 18.1737 7.23474 18.36 7.05L19.07 6.34C19.1747 6.25035 19.2597 6.14003 19.3197 6.01597C19.3797 5.89191 19.4135 5.75677 19.4188 5.61905C19.4241 5.48133 19.4009 5.344 19.3506 5.21568C19.3004 5.08735 19.2241 4.9708 19.1266 4.87335C19.0292 4.77589 18.9126 4.69964 18.7843 4.64936C18.656 4.59909 18.5187 4.57588 18.3809 4.5812C18.2432 4.58652 18.1081 4.62025 17.984 4.68027C17.86 4.7403 17.7496 4.82532 17.66 4.93L17 5.64C16.8137 5.82736 16.7092 6.08081 16.7092 6.345C16.7092 6.60919 16.8137 6.86264 17 7.05C17.1763 7.22536 17.4116 7.32875 17.66 7.34V7.34ZM5.66 7.05C5.84626 7.23474 6.09766 7.3389 6.36 7.34C6.49161 7.34076 6.62207 7.31554 6.74391 7.26577C6.86574 7.21601 6.97656 7.14268 7.07 7.05C7.25625 6.86264 7.36079 6.60919 7.36079 6.345C7.36079 6.08081 7.25625 5.82736 7.07 5.64L6.36 4.93C6.26742 4.8361 6.15725 4.76136 6.03578 4.71005C5.91432 4.65873 5.78393 4.63184 5.65207 4.63091C5.52021 4.62998 5.38946 4.65503 5.26728 4.70463C5.14511 4.75424 5.0339 4.82742 4.94 4.92C4.8461 5.01258 4.77136 5.12275 4.72005 5.24422C4.66873 5.36568 4.64184 5.49607 4.64091 5.62793C4.63903 5.89423 4.74302 6.15037 4.93 6.34L5.66 7.05ZM21 11H20C19.7348 11 19.4804 11.1054 19.2929 11.2929C19.1054 11.4804 19 11.7348 19 12C19 12.2652 19.1054 12.5196 19.2929 12.7071C19.4804 12.8946 19.7348 13 20 13H21C21.2652 13 21.5196 12.8946 21.7071 12.7071C21.8946 12.5196 22 12.2652 22 12C22 11.7348 21.8946 11.4804 21.7071 11.2929C21.5196 11.1054 21.2652 11 21 11ZM18.36 17C18.17 16.8943 17.9508 16.8534 17.7355 16.8835C17.5202 16.9136 17.3205 17.0131 17.1668 17.1668C17.0131 17.3205 16.9136 17.5202 16.8835 17.7355C16.8534 17.9508 16.8943 18.17 17 18.36L17.71 19.07C17.8974 19.2563 18.1508 19.3608 18.415 19.3608C18.6792 19.3608 18.9326 19.2563 19.12 19.07C19.3063 18.8826 19.4108 18.6292 19.4108 18.365C19.4108 18.1008 19.3063 17.8474 19.12 17.66L18.36 17ZM12 6.5C10.9122 6.5 9.84883 6.82257 8.94436 7.42692C8.03989 8.03126 7.33494 8.89025 6.91866 9.89524C6.50238 10.9002 6.39346 12.0061 6.60568 13.073C6.8179 14.1399 7.34172 15.1199 8.11091 15.8891C8.8801 16.6583 9.86011 17.1821 10.927 17.3943C11.9939 17.6065 13.0998 17.4976 14.1048 17.0813C15.1098 16.6651 15.9687 15.9601 16.5731 15.0556C17.1774 14.1512 17.5 13.0878 17.5 12C17.4974 10.5421 16.917 9.14471 15.8862 8.11383C14.8553 7.08295 13.4579 6.50264 12 6.5ZM12 15.5C11.3078 15.5 10.6311 15.2947 10.0555 14.9101C9.47993 14.5256 9.03133 13.9789 8.76642 13.3394C8.50151 12.6999 8.4322 11.9961 8.56725 11.3172C8.7023 10.6382 9.03564 10.0146 9.52513 9.52513C10.0146 9.03564 10.6382 8.7023 11.3172 8.56725C11.9961 8.4322 12.6999 8.50151 13.3394 8.76642C13.9789 9.03133 14.5256 9.47993 14.9101 10.0555C15.2947 10.6311 15.5 11.3078 15.5 12C15.5 12.9283 15.1313 13.8185 14.4749 14.4749C13.8185 15.1313 12.9283 15.5 12 15.5V15.5ZM12 19C11.7348 19 11.4804 19.1054 11.2929 19.2929C11.1054 19.4804 11 19.7348 11 20V21C11 21.2652 11.1054 21.5196 11.2929 21.7071C11.4804 21.8946 11.7348 22 12 22C12.2652 22 12.5196 21.8946 12.7071 21.7071C12.8946 21.5196 13 21.2652 13 21V20C13 19.7348 12.8946 19.4804 12.7071 19.2929C12.5196 19.1054 12.2652 19 12 19Z",fill:"currentColor"}))}exports.LightThemeIcon=LightThemeIcon},30012: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.LightTheme=exports.lightThemeValues=void 0;const react_1=__importDefault(__webpack_require__(59496)),design_themes_base_theme_1=__webpack_require__(80256),light_theme_icon_1=__webpack_require__(3988);exports.lightThemeValues=design_themes_base_theme_1.baseThemeDefaults;function LightTheme(props){return react_1.default.createElement(design_themes_base_theme_1.BaseTheme,Object.assign({},props))}exports.LightTheme=LightTheme,LightTheme.Icon=light_theme_icon_1.LightThemeIcon,LightTheme.themeName="light"},95484:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LightAndDarkThemes=exports.DefaultThemeProvider=void 0;const design_themes_base_theme_1=__webpack_require__(80256),design_themes_light_theme_1=__webpack_require__(86592),design_themes_dark_theme_1=__webpack_require__(62398);exports.DefaultThemeProvider=design_themes_base_theme_1.BaseTheme,exports.LightAndDarkThemes=[design_themes_light_theme_1.LightTheme,design_themes_dark_theme_1.DarkTheme]},68960:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ThemeToggler=exports.ThemeSwitcher=void 0;var theme_switcher_1=__webpack_require__(79033);Object.defineProperty(exports,"ThemeSwitcher",{enumerable:!0,get:function(){return theme_switcher_1.ThemeSwitcher}});var theme_toggler_1=__webpack_require__(46003);Object.defineProperty(exports,"ThemeToggler",{enumerable:!0,get:function(){return theme_toggler_1.ThemeToggler}})},79033: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.ThemeSwitcher=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_react_themes_theme_switcher_1=__webpack_require__(15567),default_themes_1=__webpack_require__(95484);function ThemeSwitcher(_a){var{themes=default_themes_1.LightAndDarkThemes}=_a,props=__rest(_a,["themes"]);return react_1.default.createElement(base_react_themes_theme_switcher_1.ThemeSwitcher,Object.assign({themes},props))}exports.ThemeSwitcher=ThemeSwitcher},46003: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.ThemeToggler=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_react_themes_theme_switcher_1=__webpack_require__(15567),theme_toggler_module_scss_1=__importDefault(__webpack_require__(62055));function ThemeToggler(){const themePicker=(0,base_react_themes_theme_switcher_1.useThemePicker)(),setNextTheme=(0,base_react_themes_theme_switcher_1.useNextTheme)();if(!themePicker)return null;const currentTheme=themePicker.current;if(!currentTheme)return null;const{Icon,displayName}=currentTheme;return Icon?react_1.default.createElement(Icon,{className:theme_toggler_module_scss_1.default.toggler,onClick:setNextTheme}):react_1.default.createElement("div",{className:theme_toggler_module_scss_1.default.toggler,onClick:setNextTheme},displayName)}exports.ThemeToggler=ThemeToggler},66286: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.AlertCard=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_ui_surfaces_card_1=__webpack_require__(19537),design_ui_elements_level_icon_1=__webpack_require__(39994),base_ui_surfaces_background_1=__webpack_require__(84733),documenter_ui_heading_1=__webpack_require__(37742),classnames_1=__importDefault(__webpack_require__(97754)),design_ui_separator_1=__webpack_require__(12563),alert_card_module_scss_1=__importDefault(__webpack_require__(18441));function AlertCard(_a){var{title,titleSize="xxs",children,className,level}=_a,rest=__rest(_a,["title","titleSize","children","className","level"]);return react_1.default.createElement(base_ui_surfaces_card_1.Card,Object.assign({className:(0,classnames_1.default)(base_ui_surfaces_background_1.backgrounds.dent,alert_card_module_scss_1.default.card,className)},rest),react_1.default.createElement("div",{className:(0,classnames_1.default)(alert_card_module_scss_1.default.heading,className)},react_1.default.createElement(design_ui_elements_level_icon_1.LevelIcon,{level,className:(0,classnames_1.default)(alert_card_module_scss_1.default.icon,className)}),react_1.default.createElement(documenter_ui_heading_1.H3,{size:titleSize,className:(0,classnames_1.default)(alert_card_module_scss_1.default.title,className)},title)),react_1.default.createElement(design_ui_separator_1.Separator,{isPresentational:!0,className:(0,classnames_1.default)(alert_card_module_scss_1.default.separator,className)}),children)}exports.AlertCard=AlertCard},35682:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.AlertCard=void 0;var alert_card_1=__webpack_require__(66286);Object.defineProperty(exports,"AlertCard",{enumerable:!0,get:function(){return alert_card_1.AlertCard}})},39994:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LevelIcon=void 0;var level_icon_1=__webpack_require__(40942);Object.defineProperty(exports,"LevelIcon",{enumerable:!0,get:function(){return level_icon_1.LevelIcon}})},40942: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.LevelIcon=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(86144),base_ui_theme_accent_color_1=__webpack_require__(11796),level_icon_module_scss_1=__importDefault(__webpack_require__(84354));function LevelIcon(_a){var{level,className}=_a,rest=__rest(_a,["level","className"]);return level==="error"?react_1.default.createElement(evangelist_elements_icon_1.Icon,Object.assign({of:"error-circle",role:"img","aria-label":level,className:(0,classnames_1.default)(level_icon_module_scss_1.default.notificationIcon,base_ui_theme_accent_color_1.colorPalette.action,className)},rest)):level==="info"?react_1.default.createElement(evangelist_elements_icon_1.Icon,Object.assign({of:"info-circle",role:"img","aria-label":level,className:(0,classnames_1.default)(level_icon_module_scss_1.default.notificationIcon,base_ui_theme_accent_color_1.colorPalette.process,className)},rest)):level==="warning"?react_1.default.createElement(evangelist_elements_icon_1.Icon,Object.assign({of:"warn-circle",role:"img","aria-label":level,className:(0,classnames_1.default)(level_icon_module_scss_1.default.notificationIcon,base_ui_theme_accent_color_1.colorPalette.consider,className)},rest)):level==="success"?react_1.default.createElement(evangelist_elements_icon_1.Icon,Object.assign({of:"billing-checkmark",role:"img","aria-label":level,className:(0,classnames_1.default)(level_icon_module_scss_1.default.notificationIcon,base_ui_theme_accent_color_1.colorPalette.continue,className)},rest)):null}exports.LevelIcon=LevelIcon},55611: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.EmptyBox=void 0;const evangelist_elements_icon_1=__webpack_require__(86144),react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),empty_box_module_scss_1=__importDefault(__webpack_require__(88129));function EmptyBox(_a){var{title,link,linkText,className}=_a,rest=__rest(_a,["title","link","linkText","className"]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(empty_box_module_scss_1.default.emptyCompositions,className)}),react_1.default.createElement("div",{className:empty_box_module_scss_1.default.innerBorder},react_1.default.createElement("div",null,title),react_1.default.createElement("a",{href:link,target:"_blank",rel:"noopener noreferrer"},linkText,react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"arrow_right"}))))}exports.EmptyBox=EmptyBox},89673:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.EmptyBox=void 0;var empty_box_1=__webpack_require__(55611);Object.defineProperty(exports,"EmptyBox",{enumerable:!0,get:function(){return empty_box_1.EmptyBox}})},85913: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__(6231),community_constants_links_1=__webpack_require__(93042),styles2={link:{textDecoration:"none",lineHeight:"inherit",color:"unset"},logo:{width:"24px",height:"24px",margin:"0 13px"}};function ContactIcons(props){const style={props};return react_1.default.createElement("div",Object.assign({style:Object.assign(Object.assign({},styles2.iconLine),style)},props),react_1.default.createElement(base_react_navigation_link_1.Link,{external:!0,style:styles2.link,href:community_constants_links_1.links.slack},react_1.default.createElement("img",{alt:"slack",style:styles2.logo,src:"https://static.bit.dev/harmony/slack-round-icon.svg"})),react_1.default.createElement(base_react_navigation_link_1.Link,{external:!0,style:styles2.link,href:community_constants_links_1.links.github},react_1.default.createElement("img",{alt:"github",style:styles2.logo,src:"https://static.bit.dev/harmony/github.svg"})),react_1.default.createElement(base_react_navigation_link_1.Link,{external:!0,style:styles2.link,href:community_constants_links_1.links.docs},react_1.default.createElement("img",{alt:"bit docs",style:styles2.logo,src:"https://static.bit.dev/bit-logo.svg"})))}exports.ContactIcons=ContactIcons},73737: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)),styles2={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=`
|
29
|
+
`;function useFetchDocs(componentId){const variables={id:componentId},request=(0,graphql_hooks_use_query_light_1.useQuery)(DOCS_QUERY,{variables,server:GQL_SERVER});return(0,react_1.useMemo)(()=>{var _a;return Object.assign(Object.assign({},request),{data:request.data&&{docs:(_a=request.data)===null||_a===void 0?void 0:_a.getHost.getDocs}})},[request])}exports.useFetchDocs=useFetchDocs},76777:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Labels=exports.VersionLabel=void 0;var version_label_1=__webpack_require__(66777);Object.defineProperty(exports,"VersionLabel",{enumerable:!0,get:function(){return version_label_1.VersionLabel}}),Object.defineProperty(exports,"Labels",{enumerable:!0,get:function(){return version_label_1.Labels}})},66777: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.Labels=exports.VersionLabel=void 0;const design_ui_pill_label_1=__webpack_require__(44458),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),version_label_module_scss_1=__importDefault(__webpack_require__(36874));function VersionLabel(_a){var{status,className}=_a,rest=__rest(_a,["status","className"]);return react_1.default.createElement(design_ui_pill_label_1.PillLabel,Object.assign({},rest,{className:(0,classnames_1.default)(version_label_module_scss_1.default.label,version_label_module_scss_1.default[status],className)}),status.replace(/-/g," "))}exports.VersionLabel=VersionLabel;function Labels({isCurrent,isLatest}){return react_1.default.createElement("div",{className:version_label_module_scss_1.default.labelContainer},isLatest&&react_1.default.createElement(VersionLabel,{className:version_label_module_scss_1.default.versionLabel,status:"latest"}),isCurrent&&react_1.default.createElement(VersionLabel,{className:version_label_module_scss_1.default.versionLabel,status:"current"}),!isLatest&&!isCurrent&&react_1.default.createElement("div",{className:version_label_module_scss_1.default.emptyLabel}))}exports.Labels=Labels},74135: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.humanizeCompositionId=void 0;const humanize_string_1=__importDefault(__webpack_require__(28583));function humanizeCompositionId(rawId){return(0,humanize_string_1.default)(rawId)}exports.humanizeCompositionId=humanizeCompositionId},67922:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.humanizeCompositionId=void 0;var humanize_1=__webpack_require__(74135);Object.defineProperty(exports,"humanizeCompositionId",{enumerable:!0,get:function(){return humanize_1.humanizeCompositionId}})},96279:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionErrorFallback=exports.CompositionCard=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),react_error_boundary_1=__webpack_require__(75340),base_ui_surfaces_card_1=__webpack_require__(19537),base_ui_theme_accent_color_1=__webpack_require__(11796),react_ui_error_fallback_1=__webpack_require__(80617),compositions_model_composition_id_1=__webpack_require__(67922),evangelist_elements_icon_1=__webpack_require__(86144),base_ui_text_themed_text_1=__webpack_require__(64899),composition_card_module_scss_1=__importDefault(__webpack_require__(59406));function CompositionCard(_a){var{Composition,name,link,className}=_a,rest=__rest(_a,["Composition","name","link","className"]);const{canvas,compositionName}=Composition,humanizedName=(0,react_1.useMemo)(()=>compositionName||(0,compositions_model_composition_id_1.humanizeCompositionId)(name),[name,compositionName]);return react_1.default.createElement(base_ui_surfaces_card_1.Card,Object.assign({elevation:"low",className:(0,classnames_1.default)(className,composition_card_module_scss_1.default.compositionCard)},rest),react_1.default.createElement(react_error_boundary_1.ErrorBoundary,{FallbackComponent:CompositionErrorFallback},react_1.default.createElement("div",{style:canvas,className:composition_card_module_scss_1.default.compositionContainer},react_1.default.createElement(Composition,null))),react_1.default.createElement("div",{className:(0,classnames_1.default)(composition_card_module_scss_1.default.title,base_ui_theme_accent_color_1.colorPalette.neutralHeavy,base_ui_text_themed_text_1.themedText)},react_1.default.createElement("span",null,humanizedName),link&&react_1.default.createElement("a",{className:composition_card_module_scss_1.default.linkToComposition,target:"_blank",rel:"noopener noreferrer",href:link},react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"open-tab"}))))}exports.CompositionCard=CompositionCard;function CompositionErrorFallback(props){return react_1.default.createElement(react_ui_error_fallback_1.ErrorFallback,Object.assign({},props,{className:(0,classnames_1.default)(props.className,composition_card_module_scss_1.default.compositionCardError)}))}exports.CompositionErrorFallback=CompositionErrorFallback},85240:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionCard=void 0;var composition_card_1=__webpack_require__(96279);Object.defineProperty(exports,"CompositionCard",{enumerable:!0,get:function(){return composition_card_1.CompositionCard}})},80638:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionsMenuBar=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),lodash_flatten_1=__importDefault(__webpack_require__(11549)),compositions_menu_bar_module_scss_1=__importDefault(__webpack_require__(75018));function CompositionsMenuBar(_a){var{className,menuBarWidgets,children}=_a,rest=__rest(_a,["className","menuBarWidgets","children"]);const widgetsStart=(0,react_1.useMemo)(()=>(0,lodash_flatten_1.default)(menuBarWidgets?.values()).filter(({location})=>location==="start").map(({content},idx)=>react_1.default.createElement(react_1.default.Fragment,{key:idx},content)),[menuBarWidgets]),widgetsEnd=(0,react_1.useMemo)(()=>(0,lodash_flatten_1.default)(menuBarWidgets?.values()).filter(({location})=>location==="end").map(({content},idx)=>react_1.default.createElement(react_1.default.Fragment,{key:idx},content)),[menuBarWidgets]);return!widgetsStart.length&&!widgetsEnd.length?null:react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(className,compositions_menu_bar_module_scss_1.default.compositionsMenuBar)}),!!(widgetsStart?.length||children)&&react_1.default.createElement("div",null,widgetsStart," ",children),react_1.default.createElement("div",{className:compositions_menu_bar_module_scss_1.default.spacer}),!!widgetsEnd?.length&&react_1.default.createElement("div",null,widgetsEnd))}exports.CompositionsMenuBar=CompositionsMenuBar},10421:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionsMenuBar=void 0;var compositions_menu_bar_1=__webpack_require__(80638);Object.defineProperty(exports,"CompositionsMenuBar",{enumerable:!0,get:function(){return compositions_menu_bar_1.CompositionsMenuBar}})},85144: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.CompositionsOverview=void 0;const react_1=__importDefault(__webpack_require__(59496)),compositions_ui_composition_card_1=__webpack_require__(85240),compositions_overview_module_scss_1=__importDefault(__webpack_require__(48637));function CompositionsOverview({compositions,compositionCardClass}){return react_1.default.createElement("div",{className:compositions_overview_module_scss_1.default.background},compositions&&Object.entries(compositions).map(([key,composition])=>react_1.default.createElement(compositions_ui_composition_card_1.CompositionCard,{key,Composition:composition,name:key,className:compositionCardClass})))}exports.CompositionsOverview=CompositionsOverview},31314:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionsOverview=void 0;var compositions_overview_1=__webpack_require__(85144);Object.defineProperty(exports,"CompositionsOverview",{enumerable:!0,get:function(){return compositions_overview_1.CompositionsOverview}})},77972:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.usePreviewQueryParams=exports.usePreview=exports.CompositionContextProvider=void 0;var use_composition_1=__webpack_require__(49493);Object.defineProperty(exports,"CompositionContextProvider",{enumerable:!0,get:function(){return use_composition_1.CompositionContextProvider}}),Object.defineProperty(exports,"usePreview",{enumerable:!0,get:function(){return use_composition_1.usePreview}});var use_preview_query_params_1=__webpack_require__(54335);Object.defineProperty(exports,"usePreviewQueryParams",{enumerable:!0,get:function(){return use_preview_query_params_1.usePreviewQueryParams}})},49493: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.usePreview=exports.CompositionContextProvider=void 0;const react_1=__importStar(__webpack_require__(59496)),CompositionsCtx=(0,react_1.createContext)({queryParams:{},setQueryParams:()=>{}});function CompositionContextProvider({children,queryParams,setQueryParams}){const state=(0,react_1.useMemo)(()=>({queryParams,setQueryParams}),[queryParams,setQueryParams]);return react_1.default.createElement(CompositionsCtx.Provider,{value:state},children)}exports.CompositionContextProvider=CompositionContextProvider;function usePreview(){return(0,react_1.useContext)(CompositionsCtx)}exports.usePreview=usePreview},54335:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.usePreviewQueryParams=void 0;const react_1=__webpack_require__(59496),use_composition_1=__webpack_require__(49493);function usePreviewQueryParams(paramName){const ctx=(0,use_composition_1.usePreview)(),param=ctx.queryParams[paramName],setQueryParam=(0,react_1.useCallback)(value=>ctx.setQueryParams(state=>Object.assign(Object.assign({},state),{[paramName]:value})),[paramName]);return[param,setQueryParam]}exports.usePreviewQueryParams=usePreviewQueryParams},70029: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.Icon=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_ui_elements_icon_1=__webpack_require__(34211),iconSetPrefix="bitcon";function Icon(_a){var{className,of:iconName}=_a,rest=__rest(_a,["className","of"]);return react_1.default.createElement(base_ui_elements_icon_1.BaseIcon,Object.assign({of:`${iconSetPrefix}-${iconName}`,className,"data-bit-id":"teambit.evangelist/elements/icon"},rest))}exports.Icon=Icon},89332:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Icon=void 0;var icon_1=__webpack_require__(70029);Object.defineProperty(exports,"Icon",{enumerable:!0,get:function(){return icon_1.Icon}})},79967: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.Icon=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_ui_elements_icon_1=__webpack_require__(34211),iconSetPrefix="bitcon";function Icon(_a){var{className,of:iconName}=_a,rest=__rest(_a,["className","of"]);return react_1.default.createElement(base_ui_elements_icon_1.BaseIcon,Object.assign({of:`${iconSetPrefix}-${iconName}`,className,"data-bit-id":"teambit.evangelist/elements/icon"},rest))}exports.Icon=Icon},29284:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Icon=void 0;var icon_1=__webpack_require__(79967);Object.defineProperty(exports,"Icon",{enumerable:!0,get:function(){return icon_1.Icon}})},79390: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.ButtonsPlugin=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),design_ui_icon_button_1=__webpack_require__(73486),buttons_plugin_module_scss_1=__importDefault(__webpack_require__(37816));function ButtonsPlugin(_a){var{onClear,onSubmit,disabledSubmit,submitText="Done",loading,submitClassName,className}=_a,rest=__rest(_a,["onClear","onSubmit","disabledSubmit","submitText","loading","submitClassName","className"]);return!onClear&&!onSubmit?null:react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(buttons_plugin_module_scss_1.default.buttonsHolder,className)}),onClear&&react_1.default.createElement("div",{className:buttons_plugin_module_scss_1.default.clearText,onClick:onClear},"Clear"),onSubmit&&react_1.default.createElement(design_ui_icon_button_1.IconButton,{priority:"cta",onClick:onSubmit,loading,disabled:disabledSubmit,className:submitClassName},submitText))}exports.ButtonsPlugin=ButtonsPlugin},8827:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ButtonsPlugin=void 0;var buttons_plugin_1=__webpack_require__(79390);Object.defineProperty(exports,"ButtonsPlugin",{enumerable:!0,get:function(){return buttons_plugin_1.ButtonsPlugin}})},8044: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.Dropdown=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),base_ui_surfaces_drawer_1=__webpack_require__(38073),base_ui_surfaces_abs_container_1=__webpack_require__(63146),base_ui_css_components_elevation_1=__webpack_require__(75210),base_ui_css_components_roundness_1=__webpack_require__(69725),base_ui_surfaces_background_1=__webpack_require__(79300),placeholder_1=__webpack_require__(23723),dropdown_module_scss_1=__importDefault(__webpack_require__(44938));function Dropdown(_a){var{children,position="bottom",elevation="low",roundness="small",margin=4,placeholderContent="",dropClass,placeholderBorder=!0,topPlugin,bottomPlugin,clickToggles=!1,className}=_a,rest=__rest(_a,["children","position","elevation","roundness","margin","placeholderContent","dropClass","placeholderBorder","topPlugin","bottomPlugin","clickToggles","className"]);return react_1.default.createElement(base_ui_surfaces_drawer_1.Drawer,Object.assign({margin,className:(0,classnames_1.default)(!placeholderBorder&&dropdown_module_scss_1.default.removePlaceholderBorder,className),placeholderContent:typeof placeholderContent=="string"?react_1.default.createElement(placeholder_1.Placeholder,null,placeholderContent):placeholderContent,clickToggles},rest),react_1.default.createElement(DropdownMenu,{position,elevation,roundness,className:dropClass},topPlugin,children,bottomPlugin))}exports.Dropdown=Dropdown;function DropdownMenu(_a){var{className,elevation="low",roundness="small"}=_a,rest=__rest(_a,["className","elevation","roundness"]);return react_1.default.createElement(base_ui_surfaces_abs_container_1.Containee,Object.assign({},rest,{className:(0,classnames_1.default)(dropdown_module_scss_1.default.dropdownMenu,base_ui_surfaces_background_1.backgrounds.layer,base_ui_css_components_elevation_1.elevationClass[elevation],base_ui_css_components_roundness_1.roundnessClass[roundness],className)}))}},64718:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var __webpack_unused_export__;__webpack_unused_export__={value:!0},__webpack_unused_export__=__webpack_unused_export__=exports.Lt=void 0;var dropdown_1=__webpack_require__(8044);Object.defineProperty(exports,"Lt",{enumerable:!0,get:function(){return dropdown_1.Dropdown}});var placeholder_1=__webpack_require__(23723);__webpack_unused_export__={enumerable:!0,get:function(){return placeholder_1.Placeholder}};var buttons_plugin_1=__webpack_require__(8827);__webpack_unused_export__={enumerable:!0,get:function(){return buttons_plugin_1.ButtonsPlugin}}},23723: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.Placeholder=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),design_inputs_selectors_menu_item_1=__webpack_require__(47699),dropdown_module_scss_1=__importDefault(__webpack_require__(44938));function Placeholder(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement(design_inputs_selectors_menu_item_1.MenuItem,Object.assign({className:(0,classnames_1.default)(dropdown_module_scss_1.default.dropdownPlaceholder,className)},rest),children," ",react_1.default.createElement(FatArrowDown,null))}exports.Placeholder=Placeholder;function FatArrowDown(){return react_1.default.createElement("svg",{width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},react_1.default.createElement("path",{d:"M10.9999 1.17C10.8126 0.983753 10.5591 0.879211 10.2949 0.879211C10.0308 0.879211 9.77731 0.983753 9.58995 1.17L5.99995 4.71L2.45995 1.17C2.27259 0.983753 2.01913 0.879211 1.75495 0.879211C1.49076 0.879211 1.23731 0.983753 1.04995 1.17C0.95622 1.26297 0.881826 1.37357 0.831057 1.49543C0.780288 1.61729 0.75415 1.74799 0.75415 1.88C0.75415 2.01202 0.780288 2.14272 0.831057 2.26458C0.881826 2.38644 0.95622 2.49704 1.04995 2.59L5.28995 6.83C5.38291 6.92373 5.49351 6.99813 5.61537 7.04889C5.73723 7.09966 5.86794 7.1258 5.99995 7.1258C6.13196 7.1258 6.26267 7.09966 6.38453 7.04889C6.50638 6.99813 6.61699 6.92373 6.70995 6.83L10.9999 2.59C11.0937 2.49704 11.1681 2.38644 11.2188 2.26458C11.2696 2.14272 11.2957 2.01202 11.2957 1.88C11.2957 1.74799 11.2696 1.61729 11.2188 1.49543C11.1681 1.37357 11.0937 1.26297 10.9999 1.17Z",fill:"var(--on-surface-color, #2b2b2b)"}))}},47699:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.iconClass=exports.MenuItem=void 0;var menu_item_1=__webpack_require__(48975);Object.defineProperty(exports,"MenuItem",{enumerable:!0,get:function(){return menu_item_1.MenuItem}}),Object.defineProperty(exports,"iconClass",{enumerable:!0,get:function(){return menu_item_1.iconClass}})},48975:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.MenuItem=exports.iconClass=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),menu_item_module_scss_1=__importDefault(__webpack_require__(84117));exports.iconClass=menu_item_module_scss_1.default.withIcon,exports.MenuItem=(0,react_1.forwardRef)((_a,ref)=>{var{children,className,icon,active,onClick,interactive=!!onClick}=_a,rest=__rest(_a,["children","className","icon","active","onClick","interactive"]);return react_1.default.createElement("div",Object.assign({},rest,{ref,onClick,className:(0,classnames_1.default)(className,menu_item_module_scss_1.default.menuItem,interactive&&menu_item_module_scss_1.default.interactive,active&&menu_item_module_scss_1.default.active,icon&&menu_item_module_scss_1.default.withIcon)}),icon,children)})},53142:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var __webpack_unused_export__;__webpack_unused_export__={value:!0},__webpack_unused_export__=exports.sN=void 0;var menu_item_1=__webpack_require__(86781);Object.defineProperty(exports,"sN",{enumerable:!0,get:function(){return menu_item_1.MenuItem}}),__webpack_unused_export__={enumerable:!0,get:function(){return menu_item_1.iconClass}}},86781:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.MenuItem=exports.iconClass=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),menu_item_module_scss_1=__importDefault(__webpack_require__(2207));exports.iconClass=menu_item_module_scss_1.default.withIcon,exports.MenuItem=(0,react_1.forwardRef)((_a,ref)=>{var{children,className,icon,active,onClick,interactive=!!onClick}=_a,rest=__rest(_a,["children","className","icon","active","onClick","interactive"]);return react_1.default.createElement("div",Object.assign({},rest,{ref,onClick,className:(0,classnames_1.default)(className,menu_item_module_scss_1.default.menuItem,interactive&&menu_item_module_scss_1.default.interactive,active&&menu_item_module_scss_1.default.active,icon&&menu_item_module_scss_1.default.withIcon)}),icon,children)})},9382:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{ContentTabs:()=>ContentTabs});var react=__webpack_require__(59496),classnames2=__webpack_require__(19803),classnames_default=__webpack_require__.n(classnames2),dist=__webpack_require__(64718),design_inputs_selectors_menu_item_dist=__webpack_require__(47699);const tab_line_module={tabLine:"tab-line_tabLine__YIR0x"};var __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};const TabLine=(0,react.forwardRef)((_a,ref)=>{var{selectedTab,borderPosition,className}=_a,rest=__rest(_a,["selectedTab","borderPosition","className"]);const[borderStyles,setBorderStyle]=(0,react.useState)({width:void 0,transform:void 0});return(0,react.useEffect)(()=>{if(selectedTab){const styleObj={width:void 0,transform:void 0},offset=selectedTab.offsetLeft;styleObj.width=`${selectedTab.offsetWidth}px`,styleObj.transform=`translateX(${offset}px)`,setBorderStyle(styleObj)}},[selectedTab]),react.createElement("div",Object.assign({"data-position":borderPosition,className:classnames_default()(tab_line_module.tabLine,className),style:borderStyles,ref},rest))}),tab_folder_module={tabFolder:"tab-folder_tabFolder__2AK_3"};var tab_folder_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};const TabFolder=(0,react.forwardRef)((_a,ref)=>{var{selectedTab,className}=_a,rest=tab_folder_rest(_a,["selectedTab","className"]);const[borderStyles,setBorderStyle]=(0,react.useState)({width:void 0,transform:void 0});return(0,react.useEffect)(()=>{if(selectedTab){const styleObj={width:void 0,transform:void 0},offset=selectedTab.offsetLeft;styleObj.width=`${selectedTab.offsetWidth}px`,styleObj.transform=`translateX(${offset}px)`,setBorderStyle(styleObj)}},[selectedTab]),react.createElement("div",Object.assign({className:classnames_default()(tab_folder_module.tabFolder,className),style:borderStyles,ref},rest))}),responsive_navbar_module={tab:"responsive-navbar_tab__4e8ei",active:"responsive-navbar_active__-nBEB",navTabs:"responsive-navbar_navTabs__1ZcG0",overflow:"responsive-navbar_overflow__3XQBY",more:"responsive-navbar_more__2I-eW",dots:"responsive-navbar_dots__fJjat",secondaryTabContainer:"responsive-navbar_secondaryTabContainer__xWb5p",item:"responsive-navbar_item__1RKmi",menuItem:"responsive-navbar_menuItem__3VVyN",hidden:"responsive-navbar_hidden__2CJgM"};var responsive_navbar_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};function ResponsiveNavbar(_a){var{defaultActiveIndex=0,onSelect,navClassName,tabClassName,borderPosition="bottom",tabs,dropdownPosition="bottom-end",priority}=_a,rest=responsive_navbar_rest(_a,["defaultActiveIndex","onSelect","navClassName","tabClassName","borderPosition","tabs","dropdownPosition","priority"]);const[tabIndex,setTabIndex]=(0,react.useState)(defaultActiveIndex),[selectedTab,setSelectedTab]=(0,react.useState)(void 0),moreBtnRef=(0,react.useRef)(null),containerRef=(0,react.useRef)(null),tabLineRef=(0,react.useRef)(null),primaryTabRefs=(0,react.useRef)([]),secondaryTabRefs=(0,react.useRef)([]);(0,react.useEffect)(()=>(setSelectedTab(primaryTabRefs.current[tabIndex]),toggleTabs(),window.addEventListener("resize",toggleTabs),()=>window.removeEventListener("resize",toggleTabs)),[tabIndex,selectedTab,tabs]);const onTabSelect=index=>{onSelect&&onSelect(index),setTabIndex(index)};(0,react.useEffect)(()=>{setTabIndex(defaultActiveIndex)},[defaultActiveIndex]);const resetStyle=()=>{var _a2,_b,_c;(_a2=containerRef.current)===null||_a2===void 0||_a2.classList.remove(responsive_navbar_module.overflow),(_b=moreBtnRef.current)===null||_b===void 0||_b.classList.remove(responsive_navbar_module.hidden),(_c=tabLineRef.current)===null||_c===void 0||_c.classList.remove(responsive_navbar_module.hidden),primaryTabRefs.current.forEach((contentTabRef,index)=>{contentTabRef.classList.remove(responsive_navbar_module.hidden)}),secondaryTabRefs.current.forEach((contentTabRef,index)=>{contentTabRef.classList.remove(responsive_navbar_module.hidden)})},getAllWidthBefore=currentElIndex=>{let width=0;return primaryTabRefs.current.forEach((el,index)=>{index<=currentElIndex&&(width+=el.offsetWidth)}),width},toggleTabs=()=>{var _a2,_b,_c,_d;resetStyle();const containerRefWidth=((_a2=containerRef.current)===null||_a2===void 0?void 0:_a2.offsetWidth)||0,buttonWidth=((_b=moreBtnRef.current)===null||_b===void 0?void 0:_b.offsetWidth)||0;let hiddenItems=[];for(let index=primaryTabRefs.current.length-1;index>0;index--){const tabRef=primaryTabRefs.current[index],allWidthBefore=getAllWidthBefore(index);containerRefWidth-buttonWidth<=allWidthBefore+buttonWidth&&(tabRef===selectedTab&&((_c=tabLineRef.current)===null||_c===void 0||_c.classList.add(responsive_navbar_module.hidden)),tabRef.classList.add(responsive_navbar_module.hidden),hiddenItems.push(index))}hiddenItems.length?secondaryTabRefs.current.forEach((tabRef,index)=>{hiddenItems.includes(index)||tabRef.classList.add(responsive_navbar_module.hidden)}):(_d=moreBtnRef.current)===null||_d===void 0||_d.classList.add(responsive_navbar_module.hidden)},getTabStyle=()=>{switch(priority){case"none":return null;case"line":return react.createElement(TabLine,{borderPosition,selectedTab,className:tabClassName,ref:tabLineRef});case"folder":return react.createElement(TabFolder,{selectedTab,className:tabClassName,ref:tabLineRef});default:return react.createElement(TabLine,{borderPosition,selectedTab,className:tabClassName,ref:tabLineRef})}};return react.createElement("nav",Object.assign({},rest,{className:classnames_default()(responsive_navbar_module.navTabs,responsive_navbar_module.overflow,navClassName),ref:containerRef}),tabs.map((tab,index)=>react.createElement("div",{className:classnames_default()(responsive_navbar_module.tab,index===tabIndex&&responsive_navbar_module.active),"data-priority":priority,onClick:e=>onTabSelect(index),key:`tab-${index}`,ref:ref=>ref&&(primaryTabRefs.current[index]=ref)},react.createElement(tab.component,{isInMenu:!1}))),getTabStyle(),react.createElement("div",{className:classnames_default()(responsive_navbar_module.more,responsive_navbar_module.hidden),ref:moreBtnRef},react.createElement(dist.Lt,{placeholderContent:react.createElement("div",{className:responsive_navbar_module.dots,"data-priority":"menu"},react.createElement("img",{src:"https://static.bit.dev/bit-icons/more-h.svg"})),dropClass:responsive_navbar_module.secondaryTabContainer,position:dropdownPosition,clickToggles:!0,margin:8},tabs.map((tab,index)=>react.createElement("div",{key:`dropdown-${index}`,ref:ref=>ref&&(secondaryTabRefs.current[index]=ref),className:responsive_navbar_module.item},react.createElement(design_inputs_selectors_menu_item_dist.MenuItem,{className:responsive_navbar_module.menuItem,active:index===tabIndex,onClick:e=>onTabSelect(index)},react.createElement(tab.component,{isInMenu:!0})))))))}var content_tabs_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};function ContentTabs(_a){var{defaultActiveIndex=0,tabs=[],onSelect}=_a,rest=content_tabs_rest(_a,["defaultActiveIndex","tabs","onSelect"]);const[activeTab,setActiveTab]=(0,react.useState)(defaultActiveIndex),titles=tabs.map(tab=>({component:({isInMenu})=>react.createElement(tab.component,{isInMenu})}));return react.createElement(react.Fragment,null,react.createElement(ResponsiveNavbar,Object.assign({},rest,{tabs:titles,defaultActiveIndex,onSelect:activeIndex=>{setActiveTab(activeIndex),onSelect&&onSelect(activeIndex)}})),tabs[activeTab].content)}},54069:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{ResponsiveNavbar:()=>ResponsiveNavbar});var react=__webpack_require__(59496),node_modules_classnames=__webpack_require__(97754),classnames_default=__webpack_require__.n(node_modules_classnames),dist=__webpack_require__(38073),base_ui_surfaces_abs_container_dist=__webpack_require__(63146),base_ui_css_components_elevation_dist=__webpack_require__(75210),base_ui_css_components_roundness_dist=__webpack_require__(69725),base_ui_surfaces_background_dist=__webpack_require__(84733),design_inputs_selectors_menu_item_dist=__webpack_require__(53142);const dropdown_module={dropdownPlaceholder:"dropdown_dropdownPlaceholder__MHg6W",removePlaceholderBorder:"dropdown_removePlaceholderBorder__MTpKq",dropdownMenu:"dropdown_dropdownMenu__3TkHb"};var __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};function Placeholder(_a){var{dropdownIcon,children,className}=_a,rest=__rest(_a,["dropdownIcon","children","className"]);return react.createElement(design_inputs_selectors_menu_item_dist.sN,Object.assign({className:classnames_default()(dropdown_module.dropdownPlaceholder,className)},rest),children," ",dropdownIcon||react.createElement(FatArrowDown,null))}function FatArrowDown(){return react.createElement("svg",{width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},react.createElement("path",{d:"M10.9999 1.17C10.8126 0.983753 10.5591 0.879211 10.2949 0.879211C10.0308 0.879211 9.77731 0.983753 9.58995 1.17L5.99995 4.71L2.45995 1.17C2.27259 0.983753 2.01913 0.879211 1.75495 0.879211C1.49076 0.879211 1.23731 0.983753 1.04995 1.17C0.95622 1.26297 0.881826 1.37357 0.831057 1.49543C0.780288 1.61729 0.75415 1.74799 0.75415 1.88C0.75415 2.01202 0.780288 2.14272 0.831057 2.26458C0.881826 2.38644 0.95622 2.49704 1.04995 2.59L5.28995 6.83C5.38291 6.92373 5.49351 6.99813 5.61537 7.04889C5.73723 7.09966 5.86794 7.1258 5.99995 7.1258C6.13196 7.1258 6.26267 7.09966 6.38453 7.04889C6.50638 6.99813 6.61699 6.92373 6.70995 6.83L10.9999 2.59C11.0937 2.49704 11.1681 2.38644 11.2188 2.26458C11.2696 2.14272 11.2957 2.01202 11.2957 1.88C11.2957 1.74799 11.2696 1.61729 11.2188 1.49543C11.1681 1.37357 11.0937 1.26297 10.9999 1.17Z",fill:"var(--on-surface-color, #2b2b2b)"}))}var dropdown_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};function Dropdown(_a){var{children,position="bottom",elevation="low",roundness="small",margin=4,placeholderContent="",dropClass,placeholderBorder=!0,topPlugin,bottomPlugin,clickToggles=!1,className}=_a,rest=dropdown_rest(_a,["children","position","elevation","roundness","margin","placeholderContent","dropClass","placeholderBorder","topPlugin","bottomPlugin","clickToggles","className"]);return react.createElement(dist.Drawer,Object.assign({},rest,{margin,className:classnames_default()(!placeholderBorder&&dropdown_module.removePlaceholderBorder,className),placeholderContent:typeof placeholderContent=="string"?react.createElement(Placeholder,null,placeholderContent):placeholderContent,clickToggles}),react.createElement(DropdownMenu,{position,elevation,roundness,className:dropClass},topPlugin,children,bottomPlugin))}function DropdownMenu(_a){var{className,elevation="low",roundness="small"}=_a,rest=dropdown_rest(_a,["className","elevation","roundness"]);return react.createElement(base_ui_surfaces_abs_container_dist.Containee,Object.assign({},rest,{className:classnames_default()(dropdown_module.dropdownMenu,base_ui_surfaces_background_dist.backgrounds.layer,base_ui_css_components_elevation_dist.elevationClass[elevation],base_ui_css_components_roundness_dist.roundnessClass[roundness],className)}))}var design_ui_icon_button_dist=__webpack_require__(53330);const buttons_plugin_module={buttonsHolder:"buttons-plugin_buttonsHolder__2iJ4V",clearText:"buttons-plugin_clearText__1SGIw"};var buttons_plugin_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};function ButtonsPlugin(_a){var{onClear,onSubmit,disabledSubmit,submitText="Done",loading,submitClassName,className}=_a,rest=buttons_plugin_rest(_a,["onClear","onSubmit","disabledSubmit","submitText","loading","submitClassName","className"]);return!onClear&&!onSubmit?null:React.createElement("div",Object.assign({},rest,{className:classnames(styles.buttonsHolder,className)}),onClear&&React.createElement("div",{className:styles.clearText,onClick:onClear},"Clear"),onSubmit&&React.createElement(IconButton,{priority:"cta",onClick:onSubmit,loading,disabled:disabledSubmit,className:submitClassName},submitText))}var _teambit_design_inputs_selectors_menu_item_dist=__webpack_require__(47699);const tab_line_module={tabLine:"tab-line_tabLine__1N66Y"};var tab_line_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};const TabLine=(0,react.forwardRef)((_a,ref)=>{var{selectedTab,borderPosition,enableAnimation=!1,className}=_a,rest=tab_line_rest(_a,["selectedTab","borderPosition","enableAnimation","className"]);const[borderStyles,setBorderStyle]=(0,react.useState)({width:void 0,transform:void 0,transition:void 0});return(0,react.useEffect)(()=>{if(selectedTab){const styleObj={width:void 0,transform:void 0,transition:void 0},offset=selectedTab.offsetLeft;styleObj.width=`${selectedTab.offsetWidth}px`,styleObj.transform=`translateX(${offset}px)`,enableAnimation&&(styleObj.transition="transform 150ms ease-in-out, width 150ms ease-in-out"),setBorderStyle(styleObj)}},[selectedTab,enableAnimation]),react.createElement("div",Object.assign({"data-position":borderPosition,className:classnames_default()(tab_line_module.tabLine,className),style:borderStyles,ref},rest))}),tab_folder_module={tabFolder:"tab-folder_tabFolder__FTM5c",folderStyle:"tab-folder_folderStyle__1Gk2R"};var tab_folder_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};const TabFolder=(0,react.forwardRef)((_a,ref)=>{var{selectedTab,enableAnimation=!1,className}=_a,rest=tab_folder_rest(_a,["selectedTab","enableAnimation","className"]);const[borderStyles,setBorderStyle]=(0,react.useState)({width:void 0,transform:void 0,transition:void 0});return(0,react.useEffect)(()=>{if(selectedTab){const styleObj={width:void 0,transform:void 0,transition:void 0},offset=selectedTab.offsetLeft;styleObj.width=`${selectedTab.offsetWidth}px`,styleObj.transform=`translateX(${offset}px)`,enableAnimation&&(styleObj.transition="transform 150ms ease-in-out, width 150ms ease-in-out"),setBorderStyle(styleObj)}},[selectedTab,enableAnimation]),react.createElement("div",Object.assign({className:classnames_default()(tab_folder_module.tabFolder,tab_folder_module.folderStyle,className),style:borderStyles,ref},rest))}),tab_inner_module={tabInner:"tab-inner_tabInner__8lfTZ",innerStyle:"tab-inner_innerStyle__DpFyC"};var tab_inner_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};const TabInner=(0,react.forwardRef)((_a,ref)=>{var{selectedTab,enableAnimation=!1,className}=_a,rest=tab_inner_rest(_a,["selectedTab","enableAnimation","className"]);const[borderStyles,setBorderStyle]=(0,react.useState)({width:void 0,transform:void 0,transition:void 0});return(0,react.useEffect)(()=>{if(selectedTab){const styleObj={width:void 0,transform:void 0,transition:void 0},offset=selectedTab.offsetLeft;styleObj.width=`${selectedTab.offsetWidth}px`,styleObj.transform=`translateX(${offset}px)`,enableAnimation&&(styleObj.transition="transform 150ms ease-in-out, width 150ms ease-in-out"),setBorderStyle(styleObj)}},[selectedTab,enableAnimation]),react.createElement("div",Object.assign({className:classnames_default()(tab_inner_module.tabInner,tab_inner_module.innerStyle,className),style:borderStyles,ref},rest))}),responsive_navbar_module={tabInner:"responsive-navbar_tabInner__2Rv4j",innerStyle:"responsive-navbar_innerStyle__X4vHT",tab:"responsive-navbar_tab__aPuF9",noAnimation:"responsive-navbar_noAnimation__2tXKx",tabFolder:"responsive-navbar_tabFolder__9b98a",folderStyle:"responsive-navbar_folderStyle__35pCa",active:"responsive-navbar_active__3mlkv",lineStyle:"responsive-navbar_lineStyle__fg5Vl",navTabs:"responsive-navbar_navTabs__1y1Qk",overflow:"responsive-navbar_overflow__14M4C",more:"responsive-navbar_more__3qoVB",dots:"responsive-navbar_dots__DB2sv",secondaryTabContainer:"responsive-navbar_secondaryTabContainer__1CXXT",item:"responsive-navbar_item__Hwgaf",menuItem:"responsive-navbar_menuItem__--713",hidden:"responsive-navbar_hidden__2Ghyr"};var responsive_navbar_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};const ResponsiveNavbar=react.memo(_ResponsiveNavbar);function _ResponsiveNavbar(_a){var{defaultActiveIndex=0,onSelect,navClassName,tabClassName,secondaryNavClassName,borderPosition="bottom",tabs,dropdownPosition="bottom-end",priority="line",alwaysShowActiveTab=!1,children}=_a,rest=responsive_navbar_rest(_a,["defaultActiveIndex","onSelect","navClassName","tabClassName","secondaryNavClassName","borderPosition","tabs","dropdownPosition","priority","alwaysShowActiveTab","children"]);const[tabIndex,setTabIndex]=(0,react.useState)(defaultActiveIndex),[selectedTab,setSelectedTab]=(0,react.useState)(void 0),[enableAnimation,setEnableAnimation]=(0,react.useState)(!1),moreBtnRef=(0,react.useRef)(null),containerRef=(0,react.useRef)(null),tabLineRef=(0,react.useRef)(null),primaryTabRefs=(0,react.useRef)([]),secondaryTabRefs=(0,react.useRef)([]),resetStyle=()=>{var _a2,_b,_c;(_a2=containerRef.current)===null||_a2===void 0||_a2.classList.remove(responsive_navbar_module.overflow),(_b=moreBtnRef.current)===null||_b===void 0||_b.classList.remove(responsive_navbar_module.hidden),(_c=tabLineRef.current)===null||_c===void 0||_c.classList.remove(responsive_navbar_module.hidden),primaryTabRefs.current.forEach(contentTabRef=>{contentTabRef.classList.remove(responsive_navbar_module.hidden)}),secondaryTabRefs.current.forEach(contentTabRef=>{contentTabRef.classList.remove(responsive_navbar_module.hidden)})},toggleTabs=(_tabIndex=tabIndex)=>{var _a2,_b,_c;resetStyle();const hiddenItems=new Set,containerRefWidth=((_a2=containerRef.current)===null||_a2===void 0?void 0:_a2.offsetWidth)||0,buttonWidth=((_b=moreBtnRef.current)===null||_b===void 0?void 0:_b.offsetWidth)||0;let availableWidth=containerRefWidth-buttonWidth;if(alwaysShowActiveTab){const activeTab=primaryTabRefs.current[_tabIndex];activeTab.classList.remove(responsive_navbar_module.hidden),activeTab.classList.add(responsive_navbar_module.active),availableWidth-=activeTab.offsetWidth}primaryTabRefs.current.forEach((tabRef,index)=>{(index!==_tabIndex||!alwaysShowActiveTab)&&(availableWidth-=tabRef.offsetWidth,availableWidth<buttonWidth&&!tabRef.classList.contains(responsive_navbar_module.hidden)&&(tabRef.classList.add(responsive_navbar_module.hidden),hiddenItems.add(index)))}),(_c=moreBtnRef.current)===null||_c===void 0||_c.classList.toggle(responsive_navbar_module.hidden,hiddenItems.size===0),secondaryTabRefs.current.forEach((tabRef,index)=>{tabRef.classList.toggle(responsive_navbar_module.hidden,!hiddenItems.has(index)),alwaysShowActiveTab&&tabRef.classList.remove(responsive_navbar_module.active)}),!primaryTabRefs.current.filter((_,index)=>!hiddenItems.has(index))[tabIndex]&&setSelectedTab(primaryTabRefs.current[_tabIndex])};(0,react.useEffect)(()=>{const handleResize=()=>{toggleTabs()},resizeObserver=new ResizeObserver(handleResize);return containerRef.current&&resizeObserver.observe(containerRef.current),setTimeout(()=>{setEnableAnimation(!0)},100),toggleTabs(),()=>{resizeObserver.disconnect()}},[tabIndex]),(0,react.useEffect)(()=>{enableAnimation&&(setSelectedTab(primaryTabRefs.current[tabIndex]),toggleTabs())},[enableAnimation]);const onTabSelect=index=>{onSelect&&onSelect(index),setTabIndex(index),setSelectedTab(primaryTabRefs.current[index]),primaryTabRefs.current.forEach((tabRef,i)=>{i!==index&&tabRef.classList.remove(responsive_navbar_module.active),primaryTabRefs.current[index].classList.add(responsive_navbar_module.active)}),toggleTabs(index)};(0,react.useEffect)(()=>{defaultActiveIndex!==tabIndex&&(setTabIndex(defaultActiveIndex),setSelectedTab(primaryTabRefs.current[defaultActiveIndex]),toggleTabs(defaultActiveIndex))},[defaultActiveIndex]);const getTabStyle=()=>{switch(priority){case"none":return null;case"line":return react.createElement(TabLine,{borderPosition,selectedTab,enableAnimation,className:tabClassName,ref:tabLineRef});case"folder":return react.createElement(TabFolder,{selectedTab,enableAnimation,className:tabClassName,ref:tabLineRef});case"inner":return react.createElement(TabInner,{selectedTab,enableAnimation,className:tabClassName,ref:tabLineRef});default:return react.createElement(TabLine,{borderPosition,selectedTab,enableAnimation,className:tabClassName,ref:tabLineRef})}};return react.createElement("nav",Object.assign({},rest,{className:classnames_default()(responsive_navbar_module.navTabs,responsive_navbar_module.overflow,navClassName),ref:containerRef}),tabs.map((tab,index)=>{const{component,tabProps}=tab,tabRest=responsive_navbar_rest(tab,["component","tabProps"]),showTabLine=priority==="line"&&enableAnimation;return react.createElement("div",Object.assign({},tabRest,{className:classnames_default()(responsive_navbar_module.tab,!enableAnimation&&responsive_navbar_module.noAnimation,tab.className),"data-priority":priority,onClick:()=>onTabSelect(index),key:`tab-${index}`,ref:ref=>ref&&(primaryTabRefs.current[index]=ref)}),react.createElement(tab.component,{menuItemProps:tabProps?.menuItemProps,isInMenu:!1}),react.createElement(TabLine,{borderPosition,className:classnames_default()(responsive_navbar_module.lineStyle,showTabLine&&responsive_navbar_module.visible)}))}),!alwaysShowActiveTab&&getTabStyle(),react.createElement("div",{className:classnames_default()(responsive_navbar_module.more,responsive_navbar_module.hidden),ref:moreBtnRef},react.createElement(Dropdown,{placeholderContent:react.createElement("div",{className:classnames_default()(responsive_navbar_module.dots),"data-priority":"menu"},react.createElement("img",{src:"https://static.bit.dev/bit-icons/more-h.svg"})),dropClass:classnames_default()(responsive_navbar_module.secondaryTabContainer,secondaryNavClassName),position:dropdownPosition,clickToggles:!0,margin:8},tabs.map((tab,index)=>{const{component,tabProps}=tab,tabRest=responsive_navbar_rest(tab,["component","tabProps"]),isActive=index===tabIndex;return react.createElement("div",Object.assign({},tabRest,{key:`dropdown-${index}`,ref:ref=>ref&&(secondaryTabRefs.current[index]=ref),className:classnames_default()(responsive_navbar_module.item,tab.className)}),react.createElement(_teambit_design_inputs_selectors_menu_item_dist.MenuItem,{className:classnames_default()(responsive_navbar_module.menuItem),active:isActive,onClick:()=>onTabSelect(index)},react.createElement(tab.component,{menuItemProps:tabProps?.menuItemProps,isInMenu:!0})))}))),children)}},63125: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.IconFont=void 0;const react_1=__importDefault(__webpack_require__(59496)),EMBED_LINK="https://d1azc1qln24ryf.cloudfront.net/158286/Bit/style-cf.css";function IconFont(props){const{query="cr084i"}=props;return react_1.default.createElement("link",{rel:"stylesheet",href:`${EMBED_LINK}?${query}`})}exports.IconFont=IconFont},3886:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.IconFont=void 0;var icon_font_1=__webpack_require__(63125);Object.defineProperty(exports,"IconFont",{enumerable:!0,get:function(){return icon_font_1.IconFont}})},85678: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.IconFont=void 0;const react_1=__importDefault(__webpack_require__(59496)),EMBED_LINK="https://cdn.icomoon.io/158286/Bit/style.css";function IconFont(props){const{query="d4g8l8"}=props;return react_1.default.createElement("link",{rel:"stylesheet",href:`${EMBED_LINK}?${query}`})}exports.IconFont=IconFont},22975:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.IconFont=void 0;var icon_font_1=__webpack_require__(85678);Object.defineProperty(exports,"IconFont",{enumerable:!0,get:function(){return icon_font_1.IconFont}})},81974: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.useTheme=exports.BaseTheme=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),base_react_theme_theme_provider_1=__webpack_require__(14111),design_theme_icons_font_1=__webpack_require__(3886),theme_default_values_1=__webpack_require__(52690),legacy_tokens_1=__webpack_require__(564),circular_font_1=__webpack_require__(21613),base_theme_module_scss_1=__importDefault(__webpack_require__(27964)),ICON_MOON_VERSION="mxd7i0",{useTheme,ThemeProvider}=(0,base_react_theme_theme_provider_1.createTheme)({theme:theme_default_values_1.baseThemeDefaults});exports.useTheme=useTheme;function BaseTheme(_a){var{children,className}=_a,props=__rest(_a,["children","className"]);return react_1.default.createElement(ThemeProvider,Object.assign({},props,{className:(0,classnames_1.default)(circular_font_1.circularFont,base_theme_module_scss_1.default.theme,className)}),react_1.default.createElement("link",{href:"https://fonts.googleapis.com/css?family=Roboto+Mono",rel:"stylesheet"}),react_1.default.createElement(design_theme_icons_font_1.IconFont,{query:ICON_MOON_VERSION}),react_1.default.createElement(LegacyThemeProvider,null,children))}exports.BaseTheme=BaseTheme;function LegacyThemeProvider({children}){const theme=useTheme();return react_1.default.createElement("div",{style:(0,legacy_tokens_1.getLegacyTokens)(theme)},children)}},21613: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.circularFont=void 0;const circular_font_module_scss_1=__importDefault(__webpack_require__(44509));exports.circularFont=circular_font_module_scss_1.default.circularFont},80256:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BaseTheme=exports.useTheme=exports.baseThemeDefaults=void 0;var theme_default_values_1=__webpack_require__(52690);Object.defineProperty(exports,"baseThemeDefaults",{enumerable:!0,get:function(){return theme_default_values_1.baseThemeDefaults}});var base_theme_1=__webpack_require__(81974);Object.defineProperty(exports,"useTheme",{enumerable:!0,get:function(){return base_theme_1.useTheme}}),Object.defineProperty(exports,"BaseTheme",{enumerable:!0,get:function(){return base_theme_1.BaseTheme}})},564:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getLegacyTokens=void 0;function getLegacyTokens(theme){return{"--bit-text-color-light":theme.onBackgroundMediumColor,"--bit-text-color":theme.onBackgroundColor,"--bit-text-color-heavy":theme.onBackgroundHighColor,"--bit-text-inactive":theme.onBackgroundLowColor,"--bit-text-inactive-heavy":theme.onBackgroundLowColor,"--bit-bg-bedrock":theme.backgroundColor,"--bit-bg-color":theme.surfaceNeutralColor,"--bit-bg-heavy":theme.surfaceNeutralHoverColor,"--bit-bg-heaviest":theme.surfaceNeutralActiveColor,"--bit-bg-dent":theme.surfaceNeutralHoverColor,"--bit-bg-tooltip":theme.surfaceNeutralColor,"--bit-bg-tooltip-heavy":theme.surfaceNeutralHoverColor,"--bit-bg-navigation":theme.surfaceNeutralHoverColor,"--bit-bg-overlay":theme.surfaceNeutralColor,"--bit-bg-modal":theme.surfaceNeutralColor,"--bit-border-color-lightest":theme.borderMediumColor,"--bit-border-color-light":theme.borderMediumHoverColor,"--bit-border-color":theme.borderHighColor,"--bit-border-color-heavy":theme.borderHighActiveColor,"--bit-accent-color":theme.primaryColor,"--bit-text-on-accent":theme.onPrimaryColor,"--bit-accent-text":theme.primaryColor,"--bit-accent-bg":theme.surfaceHoverColor,"--bit-accent-bg-heavy":theme.surfaceActiveColor,"--bit-shadow-none":"none","--bit-shadow-faint":"0 2px 10px 0 rgba(0, 0, 0, 0.1)","--bit-shadow-resting":"0px 0px 4px rgba(0, 0, 0, 0.08), 0px 2px 4px rgba(0, 0, 0, 0.08)","--bit-shadow-raised-low":"0 -1px 1px 0 rgba(0, 0, 0, 0.09), 0 2px 2px 0 rgba(0, 0, 0, 0.23)","--bit-shadow-hover-low":"0 2px 8px 0 rgba(0, 0, 0, 0.2)","--bit-shadow-hover-medium":"0 0 20px 0 rgba(0, 0, 0, 0.12), 0 2px 6px 0 rgba(0, 0, 0, 0.24)","--bit-shadow-hover-high":"0px 11px 29px 0px rgba(0, 0, 0, 0.23)","--bit-p-xxs":"12px","--bit-p-xs":"14px","--bit-p-sm":"15px","--bit-p-md":"16px","--bit-p-lg":"18px","--bit-p-xl":"20px","--bit-p-xxl":"24px","--bit-h-xxs":"16px","--bit-h-xs":"18px","--bit-h-sm":"24px","--bit-h-md":"26px","--bit-h-lg":"36px","--bit-h-xl":"40px","--bit-h-xxl":"50px","--bit-accent-primary-color":theme.primaryColor,"--bit-accent-primary-bg":theme.primarySurfaceColor,"--bit-accent-hunger-color":theme.warningColor,"--bit-accent-hunger-bg":theme.warningSurfaceColor,"--bit-accent-impulsive-color":theme.negativeColor,"--bit-accent-impulsive-bg":theme.negativeSurfaceColor,"--bit-accent-process-color":theme.processColor,"--bit-accent-success-color":theme.positiveColor,"--bit-accent-success-bg":theme.positiveSurfaceColor}}exports.getLegacyTokens=getLegacyTokens},52690:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.baseThemeDefaults=void 0,exports.baseThemeDefaults={backgroundColor:"#FFFFFF",onBackgroundColor:"#2B2B2B",onBackgroundLowColor:"#9598A1",onBackgroundMediumColor:"#707279",onBackgroundHighColor:"#2B2B2B",primaryColor:"#6C5CE7",onPrimaryColor:"#FFFFFF",borderMediumColor:"#EDEDED",borderMediumHoverColor:"#CECECE",borderMediumFocusColor:"#C6C6C6",borderMediumActiveColor:"#AFAFAF",borderHighColor:"#BABEC9",borderHighHoverColor:"#A3A6B0",borderHighFocusColor:"#9DA1A9",borderHighActiveColor:"#8C8F96",borderPrimaryColor:"#6C5CE7",borderPrimaryHoverColor:"#8376EB",borderPrimaryFocusColor:"#897DEC",borderPrimaryActiveColor:"#8F83ED",surfaceColor:"#FFFFFF",surfaceHoverColor:"#EDEBFC",surfaceActiveColor:"#DCD8F9",surfaceFocusColor:"#E2DEFA",onSurfaceColor:"#2B2B2B",onSurfaceMediumColor:"#707279",onSurfaceLowColor:"#9598A1",surface01Color:"#FFFBFF",surface02Color:"#F7F2FD",surfacePrimaryColor:"#140068",surfacePrimaryHoverColor:"#3A2980",surfacePrimaryActiveColor:"#433386",surfacePrimaryFocusColor:"#4C3D8C",onSurfacePrimaryColor:"#FFFFFF",surfaceNeutralColor:"#FFFFFF",surfaceNeutralHoverColor:"#F4F5F6",surfaceNeutralFocusColor:"#F1F2F4",surfaceNeutralActiveColor:"#EEEFF2",onSurfaceNeutralHighColor:"#2B2B2B",onSurfaceNeutralMediumColor:"#707279",onSurfaceNeutralLowColor:"#9598A1",positiveColor:"#37B26C",negativeColor:"#E62E5C",warningColor:"#FFC640",processColor:"#0984E3",primarySurfaceColor:"#F6F5FE",positiveSurfaceColor:"#F3FAF6",negativeSurfaceColor:"#FDF2F5",warningSurfaceColor:"#FFFCF4",processSurfaceColor:"#F0F8FD"}},57153: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.DarkThemeIcon=void 0;const react_1=__importDefault(__webpack_require__(59496));function DarkThemeIcon(props){return react_1.default.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},props),react_1.default.createElement("path",{d:"M3 11C2.80222 11 2.60888 11.0587 2.44443 11.1685C2.27998 11.2784 2.15181 11.4346 2.07612 11.6173C2.00043 11.8 1.98063 12.0011 2.01922 12.1951C2.0578 12.3891 2.15304 12.5673 2.29289 12.7071C2.43275 12.847 2.61093 12.9422 2.80491 12.9808C2.99889 13.0194 3.19996 12.9996 3.38268 12.9239C3.56541 12.8482 3.72159 12.72 3.83147 12.5556C3.94135 12.3911 4 12.1978 4 12C4 11.7348 3.89464 11.4804 3.70711 11.2929C3.51957 11.1054 3.26522 11 3 11ZM4.93 17.66C4.78955 17.7996 4.69372 17.9778 4.65465 18.1719C4.61559 18.3661 4.63504 18.5674 4.71055 18.7505C4.78607 18.9336 4.91423 19.0901 5.07881 19.2003C5.24339 19.3104 5.43697 19.3692 5.635 19.3692C5.83304 19.3692 6.02661 19.3104 6.19119 19.2003C6.35577 19.0901 6.48394 18.9336 6.55945 18.7505C6.63496 18.5674 6.65442 18.3661 6.61535 18.1719C6.57628 17.9778 6.48045 17.7996 6.34 17.66C6.15264 17.4737 5.89919 17.3692 5.635 17.3692C5.37081 17.3692 5.11736 17.4737 4.93 17.66V17.66ZM6.34 6.34C6.48045 6.20039 6.57628 6.02221 6.61535 5.82807C6.65442 5.63393 6.63496 5.43256 6.55945 5.24948C6.48394 5.06641 6.35577 4.90988 6.19119 4.79974C6.02661 4.68959 5.83304 4.63079 5.635 4.63079C5.43697 4.63079 5.24339 4.68959 5.07881 4.79974C4.91423 4.90988 4.78607 5.06641 4.71055 5.24948C4.63504 5.43256 4.61559 5.63393 4.65465 5.82807C4.69372 6.02221 4.78955 6.20039 4.93 6.34C5.11736 6.52625 5.37081 6.63079 5.635 6.63079C5.89919 6.63079 6.15264 6.52625 6.34 6.34ZM12 4C12.1978 4 12.3911 3.94135 12.5556 3.83147C12.72 3.72159 12.8482 3.56541 12.9239 3.38268C12.9996 3.19996 13.0194 2.99889 12.9808 2.80491C12.9422 2.61093 12.847 2.43275 12.7071 2.29289C12.5673 2.15304 12.3891 2.0578 12.1951 2.01922C12.0011 1.98063 11.8 2.00043 11.6173 2.07612C11.4346 2.15181 11.2784 2.27998 11.1685 2.44443C11.0587 2.60888 11 2.80222 11 3C11 3.26522 11.1054 3.51957 11.2929 3.70711C11.4804 3.89464 11.7348 4 12 4ZM17.66 17.66C17.5196 17.7996 17.4237 17.9778 17.3847 18.1719C17.3456 18.3661 17.365 18.5674 17.4406 18.7505C17.5161 18.9336 17.6442 19.0901 17.8088 19.2003C17.9734 19.3104 18.167 19.3692 18.365 19.3692C18.563 19.3692 18.7566 19.3104 18.9212 19.2003C19.0858 19.0901 19.2139 18.9336 19.2894 18.7505C19.365 18.5674 19.3844 18.3661 19.3453 18.1719C19.3063 17.9778 19.2104 17.7996 19.07 17.66C18.8826 17.4737 18.6292 17.3692 18.365 17.3692C18.1008 17.3692 17.8474 17.4737 17.66 17.66V17.66ZM21 11C20.8022 11 20.6089 11.0587 20.4444 11.1685C20.28 11.2784 20.1518 11.4346 20.0761 11.6173C20.0004 11.8 19.9806 12.0011 20.0192 12.1951C20.0578 12.3891 20.153 12.5673 20.2929 12.7071C20.4327 12.847 20.6109 12.9422 20.8049 12.9808C20.9989 13.0194 21.2 12.9996 21.3827 12.9239C21.5654 12.8482 21.7216 12.72 21.8315 12.5556C21.9414 12.3911 22 12.1978 22 12C22 11.7348 21.8946 11.4804 21.7071 11.2929C21.5196 11.1054 21.2652 11 21 11ZM17.66 4.93C17.5196 5.06961 17.4237 5.24779 17.3847 5.44193C17.3456 5.63607 17.365 5.83744 17.4406 6.02052C17.5161 6.20359 17.6442 6.36012 17.8088 6.47026C17.9734 6.58041 18.167 6.63921 18.365 6.63921C18.563 6.63921 18.7566 6.58041 18.9212 6.47026C19.0858 6.36012 19.2139 6.20359 19.2894 6.02052C19.365 5.83744 19.3844 5.63607 19.3453 5.44193C19.3063 5.24779 19.2104 5.06961 19.07 4.93C18.8826 4.74375 18.6292 4.63921 18.365 4.63921C18.1008 4.63921 17.8474 4.74375 17.66 4.93V4.93ZM12 20C11.8022 20 11.6089 20.0586 11.4444 20.1685C11.28 20.2784 11.1518 20.4346 11.0761 20.6173C11.0004 20.8 10.9806 21.0011 11.0192 21.1951C11.0578 21.3891 11.153 21.5673 11.2929 21.7071C11.4327 21.847 11.6109 21.9422 11.8049 21.9808C11.9989 22.0194 12.2 21.9996 12.3827 21.9239C12.5654 21.8482 12.7216 21.72 12.8315 21.5556C12.9414 21.3911 13 21.1978 13 21C13 20.7348 12.8946 20.4804 12.7071 20.2929C12.5196 20.1054 12.2652 20 12 20ZM12 6C10.8133 6 9.65327 6.35189 8.66658 7.01118C7.67988 7.67047 6.91085 8.60754 6.45672 9.7039C6.0026 10.8003 5.88378 12.0067 6.11529 13.1705C6.3468 14.3344 6.91824 15.4035 7.75736 16.2426C8.59648 17.0818 9.66557 17.6532 10.8295 17.8847C11.9933 18.1162 13.1997 17.9974 14.2961 17.5433C15.3925 17.0892 16.3295 16.3201 16.9888 15.3334C17.6481 14.3467 18 13.1867 18 12C18 10.4087 17.3679 8.88258 16.2426 7.75736C15.1174 6.63214 13.5913 6 12 6ZM12 16C11.2089 16 10.4355 15.7654 9.77772 15.3259C9.11992 14.8864 8.60723 14.2616 8.30448 13.5307C8.00173 12.7998 7.92252 11.9956 8.07686 11.2196C8.2312 10.4437 8.61216 9.73098 9.17157 9.17157C9.73098 8.61216 10.4437 8.2312 11.2196 8.07686C11.9956 7.92252 12.7998 8.00173 13.5307 8.30448C14.2616 8.60723 14.8864 9.11992 15.3259 9.77772C15.7654 10.4355 16 11.2089 16 12C16 13.0609 15.5786 14.0783 14.8284 14.8284C14.0783 15.5786 13.0609 16 12 16Z",fill:"currentColor"}))}exports.DarkThemeIcon=DarkThemeIcon},59283: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.DarkTheme=void 0;const react_1=__importDefault(__webpack_require__(59496)),design_themes_base_theme_1=__webpack_require__(80256),dark_theme_values_1=__webpack_require__(40690),dark_theme_icon_1=__webpack_require__(57153);function DarkTheme(props){return react_1.default.createElement(design_themes_base_theme_1.BaseTheme,Object.assign({},props,{overrides:dark_theme_values_1.darkThemeValues}))}exports.DarkTheme=DarkTheme,DarkTheme.Icon=dark_theme_icon_1.DarkThemeIcon,DarkTheme.themeName="dark"},40690:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.darkThemeValues=void 0,exports.darkThemeValues={backgroundColor:"#121212",onBackgroundColor:"#EDEDED",onBackgroundLowColor:"#848483",onBackgroundMediumColor:"#A3A3A2",onBackgroundHighColor:"#EDEDED",primaryColor:"#6A57FD",onPrimaryColor:"#FFFFFF",borderMediumColor:"#3D3D3C",borderMediumHoverColor:"#A3A6B0",borderMediumFocusColor:"#9DA1A9",borderMediumActiveColor:"#8C8F96",borderHighColor:"#515150",borderHighHoverColor:"#6D6D6C",borderHighFocusColor:"#747473",borderHighActiveColor:"#898988",borderPrimaryColor:"#A9A0FF",borderPrimaryHoverColor:"#B7AFFF",borderPrimaryFocusColor:"#BAB3FF",borderPrimaryActiveColor:"#C4BEFF",surfaceColor:"#121212",surfaceHoverColor:"#2C2B36",surfaceActiveColor:"#373546",surfaceFocusColor:"#31303E",onSurfaceColor:"#FFFBFF",onSurfaceMediumColor:"#A3A3A2",onSurfaceLowColor:"#282828",surface01Color:"#1C1B1F",surface02Color:"#262438",surfacePrimaryColor:"#130068",surfacePrimaryHoverColor:"#392980",surfacePrimaryActiveColor:"#423386",surfacePrimaryFocusColor:"#4C3D8C",onSurfacePrimaryColor:"#FFFBFF",surfaceNeutralColor:"#121212",surfaceNeutralHoverColor:"#383838",surfaceNeutralFocusColor:"#414141",surfaceNeutralActiveColor:"#4B4B4B",onSurfaceNeutralHighColor:"#FFFBFF",onSurfaceNeutralMediumColor:"#A3A3A2",onSurfaceNeutralLowColor:"#282828",positiveColor:"#378751",negativeColor:"#B6344F",warningColor:"#BB8C25",processColor:"#2174C6",primarySurfaceColor:"#252338",positiveSurfaceColor:"#0C1E12",negativeSurfaceColor:"#280B11",warningSurfaceColor:"#291F08",processSurfaceColor:"#071A2C"}},62398:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DarkThemeIcon=exports.DarkTheme=exports.darkThemeValues=void 0;var dark_theme_values_1=__webpack_require__(40690);Object.defineProperty(exports,"darkThemeValues",{enumerable:!0,get:function(){return dark_theme_values_1.darkThemeValues}});var dark_theme_1=__webpack_require__(59283);Object.defineProperty(exports,"DarkTheme",{enumerable:!0,get:function(){return dark_theme_1.DarkTheme}});var dark_theme_icon_1=__webpack_require__(57153);Object.defineProperty(exports,"DarkThemeIcon",{enumerable:!0,get:function(){return dark_theme_icon_1.DarkThemeIcon}})},86592:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LightThemeIcon=exports.lightThemeValues=exports.LightTheme=void 0;var light_theme_1=__webpack_require__(30012);Object.defineProperty(exports,"LightTheme",{enumerable:!0,get:function(){return light_theme_1.LightTheme}}),Object.defineProperty(exports,"lightThemeValues",{enumerable:!0,get:function(){return light_theme_1.lightThemeValues}});var light_theme_icon_1=__webpack_require__(3988);Object.defineProperty(exports,"LightThemeIcon",{enumerable:!0,get:function(){return light_theme_icon_1.LightThemeIcon}})},3988: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.LightThemeIcon=void 0;const react_1=__importDefault(__webpack_require__(59496));function LightThemeIcon(props){return react_1.default.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},props),react_1.default.createElement("path",{d:"M5 12C5 11.7348 4.89464 11.4804 4.70711 11.2929C4.51957 11.1054 4.26522 11 4 11H3C2.73478 11 2.48043 11.1054 2.29289 11.2929C2.10536 11.4804 2 11.7348 2 12C2 12.2652 2.10536 12.5196 2.29289 12.7071C2.48043 12.8946 2.73478 13 3 13H4C4.26522 13 4.51957 12.8946 4.70711 12.7071C4.89464 12.5196 5 12.2652 5 12ZM5.64 17L4.93 17.71C4.74375 17.8974 4.63921 18.1508 4.63921 18.415C4.63921 18.6792 4.74375 18.9326 4.93 19.12C5.11736 19.3063 5.37081 19.4108 5.635 19.4108C5.89919 19.4108 6.15264 19.3063 6.34 19.12L7.05 18.41C7.21383 18.2187 7.29943 17.9726 7.28971 17.7209C7.27999 17.4693 7.17566 17.2305 6.99756 17.0524C6.81947 16.8743 6.58073 16.77 6.32905 16.7603C6.07738 16.7506 5.8313 16.8362 5.64 17V17ZM12 5C12.2652 5 12.5196 4.89464 12.7071 4.70711C12.8946 4.51957 13 4.26522 13 4V3C13 2.73478 12.8946 2.48043 12.7071 2.29289C12.5196 2.10536 12.2652 2 12 2C11.7348 2 11.4804 2.10536 11.2929 2.29289C11.1054 2.48043 11 2.73478 11 3V4C11 4.26522 11.1054 4.51957 11.2929 4.70711C11.4804 4.89464 11.7348 5 12 5ZM17.66 7.34C17.9223 7.3389 18.1737 7.23474 18.36 7.05L19.07 6.34C19.1747 6.25035 19.2597 6.14003 19.3197 6.01597C19.3797 5.89191 19.4135 5.75677 19.4188 5.61905C19.4241 5.48133 19.4009 5.344 19.3506 5.21568C19.3004 5.08735 19.2241 4.9708 19.1266 4.87335C19.0292 4.77589 18.9126 4.69964 18.7843 4.64936C18.656 4.59909 18.5187 4.57588 18.3809 4.5812C18.2432 4.58652 18.1081 4.62025 17.984 4.68027C17.86 4.7403 17.7496 4.82532 17.66 4.93L17 5.64C16.8137 5.82736 16.7092 6.08081 16.7092 6.345C16.7092 6.60919 16.8137 6.86264 17 7.05C17.1763 7.22536 17.4116 7.32875 17.66 7.34V7.34ZM5.66 7.05C5.84626 7.23474 6.09766 7.3389 6.36 7.34C6.49161 7.34076 6.62207 7.31554 6.74391 7.26577C6.86574 7.21601 6.97656 7.14268 7.07 7.05C7.25625 6.86264 7.36079 6.60919 7.36079 6.345C7.36079 6.08081 7.25625 5.82736 7.07 5.64L6.36 4.93C6.26742 4.8361 6.15725 4.76136 6.03578 4.71005C5.91432 4.65873 5.78393 4.63184 5.65207 4.63091C5.52021 4.62998 5.38946 4.65503 5.26728 4.70463C5.14511 4.75424 5.0339 4.82742 4.94 4.92C4.8461 5.01258 4.77136 5.12275 4.72005 5.24422C4.66873 5.36568 4.64184 5.49607 4.64091 5.62793C4.63903 5.89423 4.74302 6.15037 4.93 6.34L5.66 7.05ZM21 11H20C19.7348 11 19.4804 11.1054 19.2929 11.2929C19.1054 11.4804 19 11.7348 19 12C19 12.2652 19.1054 12.5196 19.2929 12.7071C19.4804 12.8946 19.7348 13 20 13H21C21.2652 13 21.5196 12.8946 21.7071 12.7071C21.8946 12.5196 22 12.2652 22 12C22 11.7348 21.8946 11.4804 21.7071 11.2929C21.5196 11.1054 21.2652 11 21 11ZM18.36 17C18.17 16.8943 17.9508 16.8534 17.7355 16.8835C17.5202 16.9136 17.3205 17.0131 17.1668 17.1668C17.0131 17.3205 16.9136 17.5202 16.8835 17.7355C16.8534 17.9508 16.8943 18.17 17 18.36L17.71 19.07C17.8974 19.2563 18.1508 19.3608 18.415 19.3608C18.6792 19.3608 18.9326 19.2563 19.12 19.07C19.3063 18.8826 19.4108 18.6292 19.4108 18.365C19.4108 18.1008 19.3063 17.8474 19.12 17.66L18.36 17ZM12 6.5C10.9122 6.5 9.84883 6.82257 8.94436 7.42692C8.03989 8.03126 7.33494 8.89025 6.91866 9.89524C6.50238 10.9002 6.39346 12.0061 6.60568 13.073C6.8179 14.1399 7.34172 15.1199 8.11091 15.8891C8.8801 16.6583 9.86011 17.1821 10.927 17.3943C11.9939 17.6065 13.0998 17.4976 14.1048 17.0813C15.1098 16.6651 15.9687 15.9601 16.5731 15.0556C17.1774 14.1512 17.5 13.0878 17.5 12C17.4974 10.5421 16.917 9.14471 15.8862 8.11383C14.8553 7.08295 13.4579 6.50264 12 6.5ZM12 15.5C11.3078 15.5 10.6311 15.2947 10.0555 14.9101C9.47993 14.5256 9.03133 13.9789 8.76642 13.3394C8.50151 12.6999 8.4322 11.9961 8.56725 11.3172C8.7023 10.6382 9.03564 10.0146 9.52513 9.52513C10.0146 9.03564 10.6382 8.7023 11.3172 8.56725C11.9961 8.4322 12.6999 8.50151 13.3394 8.76642C13.9789 9.03133 14.5256 9.47993 14.9101 10.0555C15.2947 10.6311 15.5 11.3078 15.5 12C15.5 12.9283 15.1313 13.8185 14.4749 14.4749C13.8185 15.1313 12.9283 15.5 12 15.5V15.5ZM12 19C11.7348 19 11.4804 19.1054 11.2929 19.2929C11.1054 19.4804 11 19.7348 11 20V21C11 21.2652 11.1054 21.5196 11.2929 21.7071C11.4804 21.8946 11.7348 22 12 22C12.2652 22 12.5196 21.8946 12.7071 21.7071C12.8946 21.5196 13 21.2652 13 21V20C13 19.7348 12.8946 19.4804 12.7071 19.2929C12.5196 19.1054 12.2652 19 12 19Z",fill:"currentColor"}))}exports.LightThemeIcon=LightThemeIcon},30012: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.LightTheme=exports.lightThemeValues=void 0;const react_1=__importDefault(__webpack_require__(59496)),design_themes_base_theme_1=__webpack_require__(80256),light_theme_icon_1=__webpack_require__(3988);exports.lightThemeValues=design_themes_base_theme_1.baseThemeDefaults;function LightTheme(props){return react_1.default.createElement(design_themes_base_theme_1.BaseTheme,Object.assign({},props))}exports.LightTheme=LightTheme,LightTheme.Icon=light_theme_icon_1.LightThemeIcon,LightTheme.themeName="light"},95484:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LightAndDarkThemes=exports.DefaultThemeProvider=void 0;const design_themes_base_theme_1=__webpack_require__(80256),design_themes_light_theme_1=__webpack_require__(86592),design_themes_dark_theme_1=__webpack_require__(62398);exports.DefaultThemeProvider=design_themes_base_theme_1.BaseTheme,exports.LightAndDarkThemes=[design_themes_light_theme_1.LightTheme,design_themes_dark_theme_1.DarkTheme]},68960:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ThemeToggler=exports.ThemeSwitcher=void 0;var theme_switcher_1=__webpack_require__(79033);Object.defineProperty(exports,"ThemeSwitcher",{enumerable:!0,get:function(){return theme_switcher_1.ThemeSwitcher}});var theme_toggler_1=__webpack_require__(46003);Object.defineProperty(exports,"ThemeToggler",{enumerable:!0,get:function(){return theme_toggler_1.ThemeToggler}})},79033: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.ThemeSwitcher=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_react_themes_theme_switcher_1=__webpack_require__(15567),default_themes_1=__webpack_require__(95484);function ThemeSwitcher(_a){var{themes=default_themes_1.LightAndDarkThemes}=_a,props=__rest(_a,["themes"]);return react_1.default.createElement(base_react_themes_theme_switcher_1.ThemeSwitcher,Object.assign({themes},props))}exports.ThemeSwitcher=ThemeSwitcher},46003: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.ThemeToggler=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_react_themes_theme_switcher_1=__webpack_require__(15567),theme_toggler_module_scss_1=__importDefault(__webpack_require__(62055));function ThemeToggler(){const themePicker=(0,base_react_themes_theme_switcher_1.useThemePicker)(),setNextTheme=(0,base_react_themes_theme_switcher_1.useNextTheme)();if(!themePicker)return null;const currentTheme=themePicker.current;if(!currentTheme)return null;const{Icon,displayName}=currentTheme;return Icon?react_1.default.createElement(Icon,{className:theme_toggler_module_scss_1.default.toggler,onClick:setNextTheme}):react_1.default.createElement("div",{className:theme_toggler_module_scss_1.default.toggler,onClick:setNextTheme},displayName)}exports.ThemeToggler=ThemeToggler},66286: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.AlertCard=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_ui_surfaces_card_1=__webpack_require__(19537),design_ui_elements_level_icon_1=__webpack_require__(39994),base_ui_surfaces_background_1=__webpack_require__(84733),documenter_ui_heading_1=__webpack_require__(37742),classnames_1=__importDefault(__webpack_require__(97754)),design_ui_separator_1=__webpack_require__(12563),alert_card_module_scss_1=__importDefault(__webpack_require__(18441));function AlertCard(_a){var{title,titleSize="xxs",children,className,level}=_a,rest=__rest(_a,["title","titleSize","children","className","level"]);return react_1.default.createElement(base_ui_surfaces_card_1.Card,Object.assign({className:(0,classnames_1.default)(base_ui_surfaces_background_1.backgrounds.dent,alert_card_module_scss_1.default.card,className)},rest),react_1.default.createElement("div",{className:(0,classnames_1.default)(alert_card_module_scss_1.default.heading,className)},react_1.default.createElement(design_ui_elements_level_icon_1.LevelIcon,{level,className:(0,classnames_1.default)(alert_card_module_scss_1.default.icon,className)}),react_1.default.createElement(documenter_ui_heading_1.H3,{size:titleSize,className:(0,classnames_1.default)(alert_card_module_scss_1.default.title,className)},title)),react_1.default.createElement(design_ui_separator_1.Separator,{isPresentational:!0,className:(0,classnames_1.default)(alert_card_module_scss_1.default.separator,className)}),children)}exports.AlertCard=AlertCard},35682:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.AlertCard=void 0;var alert_card_1=__webpack_require__(66286);Object.defineProperty(exports,"AlertCard",{enumerable:!0,get:function(){return alert_card_1.AlertCard}})},39994:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LevelIcon=void 0;var level_icon_1=__webpack_require__(59462);Object.defineProperty(exports,"LevelIcon",{enumerable:!0,get:function(){return level_icon_1.LevelIcon}})},59462: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.LevelIcon=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(86144),base_ui_theme_accent_color_1=__webpack_require__(11796),level_icon_module_scss_1=__importDefault(__webpack_require__(84354));function LevelIcon(_a){var{level,className}=_a,rest=__rest(_a,["level","className"]);return level==="error"?react_1.default.createElement(evangelist_elements_icon_1.Icon,Object.assign({of:"error-circle",role:"img","aria-label":level,className:(0,classnames_1.default)(level_icon_module_scss_1.default.notificationIcon,base_ui_theme_accent_color_1.colorPalette.action,className)},rest)):level==="info"?react_1.default.createElement(evangelist_elements_icon_1.Icon,Object.assign({of:"info-circle",role:"img","aria-label":level,className:(0,classnames_1.default)(level_icon_module_scss_1.default.notificationIcon,base_ui_theme_accent_color_1.colorPalette.process,className)},rest)):level==="warning"?react_1.default.createElement(evangelist_elements_icon_1.Icon,Object.assign({of:"warn-circle",role:"img","aria-label":level,className:(0,classnames_1.default)(level_icon_module_scss_1.default.notificationIcon,base_ui_theme_accent_color_1.colorPalette.consider,className)},rest)):level==="success"?react_1.default.createElement(evangelist_elements_icon_1.Icon,Object.assign({of:"billing-checkmark",role:"img","aria-label":level,className:(0,classnames_1.default)(level_icon_module_scss_1.default.notificationIcon,base_ui_theme_accent_color_1.colorPalette.continue,className)},rest)):null}exports.LevelIcon=LevelIcon},55611: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.EmptyBox=void 0;const evangelist_elements_icon_1=__webpack_require__(86144),react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),empty_box_module_scss_1=__importDefault(__webpack_require__(88129));function EmptyBox(_a){var{title,link,linkText,className}=_a,rest=__rest(_a,["title","link","linkText","className"]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(empty_box_module_scss_1.default.emptyCompositions,className)}),react_1.default.createElement("div",{className:empty_box_module_scss_1.default.innerBorder},react_1.default.createElement("div",null,title),react_1.default.createElement("a",{href:link,target:"_blank",rel:"noopener noreferrer"},linkText,react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"arrow_right"}))))}exports.EmptyBox=EmptyBox},89673:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.EmptyBox=void 0;var empty_box_1=__webpack_require__(55611);Object.defineProperty(exports,"EmptyBox",{enumerable:!0,get:function(){return empty_box_1.EmptyBox}})},85913: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__(6231),community_constants_links_1=__webpack_require__(93042),styles2={link:{textDecoration:"none",lineHeight:"inherit",color:"unset"},logo:{width:"24px",height:"24px",margin:"0 13px"}};function ContactIcons(props){const style={props};return react_1.default.createElement("div",Object.assign({style:Object.assign(Object.assign({},styles2.iconLine),style)},props),react_1.default.createElement(base_react_navigation_link_1.Link,{external:!0,style:styles2.link,href:community_constants_links_1.links.slack},react_1.default.createElement("img",{alt:"slack",style:styles2.logo,src:"https://static.bit.dev/harmony/slack-round-icon.svg"})),react_1.default.createElement(base_react_navigation_link_1.Link,{external:!0,style:styles2.link,href:community_constants_links_1.links.github},react_1.default.createElement("img",{alt:"github",style:styles2.logo,src:"https://static.bit.dev/harmony/github.svg"})),react_1.default.createElement(base_react_navigation_link_1.Link,{external:!0,style:styles2.link,href:community_constants_links_1.links.docs},react_1.default.createElement("img",{alt:"bit docs",style:styles2.logo,src:"https://static.bit.dev/bit-logo.svg"})))}exports.ContactIcons=ContactIcons},73737: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)),styles2={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=`
|
30
30
|
.bit-error-page-title { font-size: 36px; }
|
31
31
|
@media screen and (max-width: 480px) { .bit-error-page-title { font-size: 24px; } }
|
32
32
|
`;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({},styles2.errorPage),style)}),react_1.default.createElement("style",null,inlineStyles),react_1.default.createElement("h1",{style:styles2.title,className:"bit-error-page-title"},title),react_1.default.createElement("img",{alt:"error",style:styles2.img,src:`https://static.bit.dev/harmony/${code}.svg`}),children)}exports.ErrorPage=ErrorPage},74345: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__(73737),exports);var contact_footer_1=__webpack_require__(85913);Object.defineProperty(exports,"ContactIcons",{enumerable:!0,get:function(){return contact_footer_1.ContactIcons}})},31751: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.IconButton=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_input_button_1=__importDefault(__webpack_require__(22319)),base_ui_elements_icon_1=__webpack_require__(34211),icon_button_module_scss_1=__importDefault(__webpack_require__(36284)),sizes_module_scss_1=__importDefault(__webpack_require__(13385));function IconButton2(_a){var{icon,className,children,iconClass,active,priority="ghost",size="m"}=_a,rest=__rest(_a,["icon","className","children","iconClass","active","priority","size"]);return react_1.default.createElement(base_ui_input_button_1.default,Object.assign({},rest,{className:(0,classnames_1.default)(icon_button_module_scss_1.default.iconButton,sizes_module_scss_1.default.buttonSizes,active&&icon_button_module_scss_1.default.active,icon&&!children&&icon_button_module_scss_1.default.iconOnly,className),"data-priority":priority,"data-size":size}),icon&&react_1.default.createElement(base_ui_elements_icon_1.BaseIcon,{className:(0,classnames_1.default)(icon_button_module_scss_1.default.icon,active&&icon_button_module_scss_1.default.active,children&&icon_button_module_scss_1.default.margin,iconClass),of:`bitcon-${icon}`}),children)}exports.IconButton=IconButton2},53330:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.IconButton=void 0;var icon_button_1=__webpack_require__(31751);Object.defineProperty(exports,"IconButton",{enumerable:!0,get:function(){return icon_button_1.IconButton}})},86440: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.IconButton=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),base_ui_input_button_1=__importDefault(__webpack_require__(22319)),icon_button_module_scss_1=__importDefault(__webpack_require__(30241)),sizes_module_scss_1=__importDefault(__webpack_require__(43948));function IconButton2(_a){var{icon,className,children,active,priority="ghost",size="s",border=!0}=_a,rest=__rest(_a,["icon","className","children","active","priority","size","border"]);return react_1.default.createElement(base_ui_input_button_1.default,Object.assign({},rest,{className:(0,classnames_1.default)(icon_button_module_scss_1.default.iconButton,sizes_module_scss_1.default.buttonSizes,active&&icon_button_module_scss_1.default.active,icon&&!children&&icon_button_module_scss_1.default.iconOnly,icon&&children&&icon_button_module_scss_1.default.margin,icon&&icon_button_module_scss_1.default.withIcon,!border&&icon_button_module_scss_1.default.withoutBorder,className),"data-priority":priority,"data-size":size}),icon,children)}exports.IconButton=IconButton2},73486:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.IconButton=void 0;var icon_button_1=__webpack_require__(86440);Object.defineProperty(exports,"IconButton",{enumerable:!0,get:function(){return icon_button_1.IconButton}})},11276:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.OptionButton=void 0;var option_button_1=__webpack_require__(37502);Object.defineProperty(exports,"OptionButton",{enumerable:!0,get:function(){return option_button_1.OptionButton}})},37502: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.OptionButton=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_input_button_1=__importDefault(__webpack_require__(22319)),design_elements_icon_1=__webpack_require__(89332),option_button_module_scss_1=__importDefault(__webpack_require__(45766));function OptionButton(_a){var{icon,className,active,children}=_a,rest=__rest(_a,["icon","className","active","children"]);const iconNode=icon?react_1.default.createElement(design_elements_icon_1.Icon,{of:icon}):null;return react_1.default.createElement(base_ui_input_button_1.default,Object.assign({},rest,{className:(0,classnames_1.default)(className,option_button_module_scss_1.default.optionButton,active&&option_button_module_scss_1.default.active)}),iconNode,children)}exports.OptionButton=OptionButton},96352:(__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__(96781);Object.defineProperty(exports,"NotFoundPage",{enumerable:!0,get:function(){return not_found_page_1.NotFoundPage}})},96781: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__(74345);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},83698:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ServerErrorPage=void 0;var server_error_page_1=__webpack_require__(31664);Object.defineProperty(exports,"ServerErrorPage",{enumerable:!0,get:function(){return server_error_page_1.ServerErrorPage}})},31664: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.ServerErrorPage=void 0;const react_1=__importDefault(__webpack_require__(59496)),design_ui_error_page_1=__webpack_require__(74345);function ServerErrorPage(_a){var rest=__rest(_a,[]);return react_1.default.createElement(design_ui_error_page_1.ErrorPage,Object.assign({},rest,{code:500,title:"Internal server error"}),react_1.default.createElement(design_ui_error_page_1.ContactIcons,null))}exports.ServerErrorPage=ServerErrorPage},44458:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PillLabel=void 0;var pill_label_1=__webpack_require__(87888);Object.defineProperty(exports,"PillLabel",{enumerable:!0,get:function(){return pill_label_1.PillLabel}})},87888: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.PillLabel=void 0;const classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),pill_label_module_scss_1=__importDefault(__webpack_require__(10651));function PillLabel({children,className}){return react_1.default.createElement("div",{className:(0,classnames_1.default)(pill_label_module_scss_1.default.pillLabel,className)},children)}exports.PillLabel=PillLabel},12563:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Separator=void 0;var separator_1=__webpack_require__(85706);Object.defineProperty(exports,"Separator",{enumerable:!0,get:function(){return separator_1.Separator}})},85706: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.Separator=void 0;const classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),documenter_ui_separator_1=__webpack_require__(67826),separator_module_scss_1=__importDefault(__webpack_require__(15171));function Separator(_a){var{className,isPresentational}=_a,rest=__rest(_a,["className","isPresentational"]);return isPresentational?react_1.default.createElement("div",Object.assign({className:(0,classnames_1.default)(separator_module_scss_1.default.separator,className)},rest)):react_1.default.createElement(documenter_ui_separator_1.Separator,Object.assign({className:(0,classnames_1.default)(className)},rest))}exports.Separator=Separator},43754: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.letterBgColors=exports.letterColors=void 0;var letter_colors_module_scss_1=__webpack_require__(30706);Object.defineProperty(exports,"letterColors",{enumerable:!0,get:function(){return __importDefault(letter_colors_module_scss_1).default}});var letter_bg_colors_module_scss_1=__webpack_require__(4350);Object.defineProperty(exports,"letterBgColors",{enumerable:!0,get:function(){return __importDefault(letter_bg_colors_module_scss_1).default}})},85334: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.Ellipsis=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),ellipsis_module_scss_1=__importDefault(__webpack_require__(87136));function Ellipsis(props){return react_1.default.createElement("div",Object.assign({},props,{className:(0,classnames_1.default)(props.className,ellipsis_module_scss_1.default.ellipsisDiv)}))}exports.Ellipsis=Ellipsis},2997: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.Ellipsis=exports.ellipsis=void 0;const ellipsis_module_scss_1=__importDefault(__webpack_require__(87136));exports.ellipsis=ellipsis_module_scss_1.default.ellipsis;var ellipsis_1=__webpack_require__(85334);Object.defineProperty(exports,"Ellipsis",{enumerable:!0,get:function(){return ellipsis_1.Ellipsis}})},21770:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.classes=exports.MenuItem=void 0;var item_1=__webpack_require__(94);Object.defineProperty(exports,"MenuItem",{enumerable:!0,get:function(){return item_1.MenuItem}}),Object.defineProperty(exports,"classes",{enumerable:!0,get:function(){return item_1.classes}})},94: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.MenuItem=exports.classes=void 0;const react_1=__importDefault(__webpack_require__(59496)),evangelist_elements_icon_1=__webpack_require__(86144),classnames_1=__importDefault(__webpack_require__(97754)),item_module_scss_1=__importDefault(__webpack_require__(2133));exports.classes={menuItem:item_module_scss_1.default.menuItem,interactive:item_module_scss_1.default.interactive,active:item_module_scss_1.default.active,icon:item_module_scss_1.default.icon};function MenuItem(_a){var{children,className,icon,active,interactive}=_a,rest=__rest(_a,["children","className","icon","active","interactive"]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(className,exports.classes.menuItem,interactive&&exports.classes.interactive,active&&exports.classes.active)}),icon&&react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:icon,className:exports.classes.icon}),children)}exports.MenuItem=MenuItem,MenuItem.defaultProps={interactive:!0}},41787:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MenuLinkItem=void 0;var link_item_1=__webpack_require__(75554);Object.defineProperty(exports,"MenuLinkItem",{enumerable:!0,get:function(){return link_item_1.MenuLinkItem}})},75554: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.MenuLinkItem=void 0;const evangelist_elements_icon_1=__webpack_require__(86144),base_react_navigation_link_1=__webpack_require__(98560),design_ui_surfaces_menu_item_1=__webpack_require__(21770),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496));function MenuLinkItem(_a){var{href,children,icon,active,isActive,className,activeClassName}=_a,rest=__rest(_a,["href","children","icon","active","isActive","className","activeClassName"]);const _active=active??(typeof isActive=="function"?isActive():void 0);return react_1.default.createElement(base_react_navigation_link_1.Link,Object.assign({},rest,{href,className:(0,classnames_1.default)(className,design_ui_surfaces_menu_item_1.classes.menuItem,!!href&&design_ui_surfaces_menu_item_1.classes.interactive),activeClassName:(0,classnames_1.default)(activeClassName,design_ui_surfaces_menu_item_1.classes.active),active:_active}),icon&&react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:icon,className:design_ui_surfaces_menu_item_1.classes.icon}),children)}exports.MenuLinkItem=MenuLinkItem},70597:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MessageCard=void 0;var message_card_1=__webpack_require__(27046);Object.defineProperty(exports,"MessageCard",{enumerable:!0,get:function(){return message_card_1.MessageCard}})},27046: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.MessageCard=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(86144),base_ui_surfaces_card_1=__webpack_require__(19537),message_card_module_scss_1=__importDefault(__webpack_require__(85231));function MessageCard(_a){var{icon,title,className,children,iconClass,roundness="small",elevation="none"}=_a,rest=__rest(_a,["icon","title","className","children","iconClass","roundness","elevation"]);return react_1.default.createElement(base_ui_surfaces_card_1.Card,Object.assign({},rest,{roundness,elevation,className:(0,classnames_1.default)(message_card_module_scss_1.default.messageCard,className)}),icon&&react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:icon,className:(0,classnames_1.default)(message_card_module_scss_1.default.icon,iconClass)}),react_1.default.createElement("div",{className:message_card_module_scss_1.default.textBox},react_1.default.createElement("div",null,title),children))}exports.MessageCard=MessageCard},56493:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.StatusMessageCard=void 0;var status_message_card_1=__webpack_require__(38112);Object.defineProperty(exports,"StatusMessageCard",{enumerable:!0,get:function(){return status_message_card_1.StatusMessageCard}})},38112: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.StatusMessageCard=void 0;const react_1=__importDefault(__webpack_require__(59496)),design_ui_surfaces_message_card_1=__webpack_require__(70597),status_message_card_module_scss_1=__importDefault(__webpack_require__(53265));function StatusMessageCard(_a){var{status}=_a,rest=__rest(_a,["status"]);const lowerCaseStatus=status.toLowerCase(),iconProps=getStatusIcon(lowerCaseStatus);return react_1.default.createElement(design_ui_surfaces_message_card_1.MessageCard,Object.assign({},iconProps,rest))}exports.StatusMessageCard=StatusMessageCard;function getStatusIcon(status){const iconPrefix="Ripple";if(!!status)switch(status){case"success":return{icon:`${iconPrefix}-${status}`,iconClass:status_message_card_module_scss_1.default[status]};case"failure":return{icon:`${iconPrefix}-failed`,iconClass:status_message_card_module_scss_1.default[status]};case"pending":return{icon:`${iconPrefix}-${status}`,iconClass:status_message_card_module_scss_1.default[status]};case"processing":return{icon:`${iconPrefix}-${status}`,iconClass:status_message_card_module_scss_1.default[status]};case"skipped":return{icon:`${iconPrefix}-${status}`,iconClass:status_message_card_module_scss_1.default[status]};default:return{icon:`${iconPrefix}-${status}`,iconClass:status_message_card_module_scss_1.default[status]}}}},4426:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.tippy=exports.useSingleton=exports.TooltipMountPoint=exports.SingletonTooltipProvider=exports.useCtxTooltipInstance=exports.ProvideTooltipInstance=exports.Tooltip=void 0;var tooltip_1=__webpack_require__(36133);Object.defineProperty(exports,"Tooltip",{enumerable:!0,get:function(){return tooltip_1.Tooltip}});var shared_instance_1=__webpack_require__(87012);Object.defineProperty(exports,"ProvideTooltipInstance",{enumerable:!0,get:function(){return shared_instance_1.ProvideTooltipInstance}}),Object.defineProperty(exports,"useCtxTooltipInstance",{enumerable:!0,get:function(){return shared_instance_1.useCtxTooltipInstance}});var singleton_instance_1=__webpack_require__(80422);Object.defineProperty(exports,"SingletonTooltipProvider",{enumerable:!0,get:function(){return singleton_instance_1.SingletonTooltipProvider}});var mount_point_1=__webpack_require__(23235);Object.defineProperty(exports,"TooltipMountPoint",{enumerable:!0,get:function(){return mount_point_1.TooltipMountPoint}});var react_1=__webpack_require__(33224);Object.defineProperty(exports,"useSingleton",{enumerable:!0,get:function(){return react_1.useSingleton}}),Object.defineProperty(exports,"tippy",{enumerable:!0,get:function(){return react_1.tippy}})},23235: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.TooltipMountPoint=exports.getMountPoint=exports.mountId=void 0;const react_1=__importDefault(__webpack_require__(59496));exports.mountId="tooltip-mount-point";function getMountPoint(ref){return document.getElementById(exports.mountId)||ref.parentElement||document.body}exports.getMountPoint=getMountPoint;function TooltipMountPoint(){return react_1.default.createElement("div",{id:exports.mountId})}exports.TooltipMountPoint=TooltipMountPoint},87012: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.useCtxTooltipInstance=exports.ProvideTooltipInstance=void 0;const react_1=__importStar(__webpack_require__(59496)),singletonContext=(0,react_1.createContext)(void 0);function ProvideTooltipInstance({value,children}){return react_1.default.createElement(singletonContext.Provider,{value},children)}exports.ProvideTooltipInstance=ProvideTooltipInstance;function useCtxTooltipInstance(){return(0,react_1.useContext)(singletonContext)}exports.useCtxTooltipInstance=useCtxTooltipInstance},80422: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.SingletonTooltipProvider=void 0;const react_1=__importDefault(__webpack_require__(59496)),react_2=__webpack_require__(33224),shared_instance_1=__webpack_require__(87012),tooltip_1=__webpack_require__(36133);function SingletonTooltipProvider(_a){var{children,disabled,overrides}=_a,rest=__rest(_a,["children","disabled","overrides"]);const[tooltipSource,tooltipTarget]=(0,react_2.useSingleton)({disabled,overrides});return react_1.default.createElement(react_1.default.Fragment,null,react_1.default.createElement(tooltip_1.Tooltip,Object.assign({},rest,{singleton:tooltipSource})),react_1.default.createElement(shared_instance_1.ProvideTooltipInstance,{value:tooltipTarget},children))}exports.SingletonTooltipProvider=SingletonTooltipProvider},36133: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.Tooltip=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_theme_dark_theme_1=__webpack_require__(12880),react_2=__importDefault(__webpack_require__(33224)),tippy_js_1=__webpack_require__(48199);__webpack_require__(95736),__webpack_require__(79425);const mount_point_1=__webpack_require__(23235),shared_instance_1=__webpack_require__(87012);__webpack_require__(3126);const THEME="teambit",popperOptions={modifiers:[{name:"arrow",options:{padding:5}}]};function Tooltip(_a){var{children,breakline,singleton,className}=_a,rest=__rest(_a,["children","breakline","singleton","className"]);const ctxInstance=(0,shared_instance_1.useCtxTooltipInstance)(),_singleton=singleton||ctxInstance,child=typeof children=="string"?react_1.default.createElement("span",null,children):children;return react_1.default.createElement(react_2.default,Object.assign({arrow:tippy_js_1.roundArrow,className:(0,classnames_1.default)(base_ui_theme_dark_theme_1.darkMode,breakline&&"tippy-breakLine",className),theme:THEME,interactive:!0,appendTo:mount_point_1.getMountPoint,popperOptions},rest,{singleton:_singleton}),child)}exports.Tooltip=Tooltip},56680:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DocPropList=void 0;const doc_prop_1=__webpack_require__(57746);class DocPropList{constructor(docProps){this.docProps=docProps}get(name){return this.docProps.find(docProp=>docProp.name===name)}static from(object){const props=Object.keys(object).map(key=>{if(!!object[key])return new doc_prop_1.DocProp(key,object[key])}).filter(prop=>!!prop);return new DocPropList(props)}}exports.DocPropList=DocPropList},57746:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DocProp=void 0;class DocProp{constructor(name,value){this.name=name,this.value=value}getAs(){return this.value}}exports.DocProp=DocProp},28008:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Doc=void 0;const doc_prop_list_1=__webpack_require__(56680);class Doc{constructor(filePath,props){this.filePath=filePath,this.props=props}toObject(){return{filePath:this.filePath,props:this.props.docProps}}get description(){var _a;const value=(_a=this.props.get("description"))===null||_a===void 0?void 0:_a.value;return value||""}get labels(){var _a;const value=(_a=this.props.get("labels"))===null||_a===void 0?void 0:_a.value;return value||[]}get displayName(){return this.props.get("displayName")}static from(path,propObject){return new Doc(path,doc_prop_list_1.DocPropList.from(propObject))}}exports.Doc=Doc},87628:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DocPropList=exports.DocProp=exports.Doc=void 0;var doc_1=__webpack_require__(28008);Object.defineProperty(exports,"Doc",{enumerable:!0,get:function(){return doc_1.Doc}});var doc_prop_1=__webpack_require__(57746);Object.defineProperty(exports,"DocProp",{enumerable:!0,get:function(){return doc_prop_1.DocProp}});var doc_prop_list_1=__webpack_require__(56680);Object.defineProperty(exports,"DocPropList",{enumerable:!0,get:function(){return doc_prop_list_1.DocPropList}})},22401:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Playground=void 0;var react_playground_1=__webpack_require__(81149);Object.defineProperty(exports,"Playground",{enumerable:!0,get:function(){return react_playground_1.Playground}})},81149:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Playground=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),react_live_1=__webpack_require__(48612),base_ui_surfaces_split_pane_split_pane_1=__webpack_require__(4792),base_ui_surfaces_split_pane_hover_splitter_1=__webpack_require__(56007),react_use_dimensions_1=__importDefault(__webpack_require__(95144)),use_debounce_1=__webpack_require__(85830),oceanicNext_1=__importDefault(__webpack_require__(3809)),base_ui_input_error_1=__webpack_require__(75006),react_playground_module_scss_1=__importDefault(__webpack_require__(73129));function Playground(_a){var{code,scope,style,className}=_a,rest=__rest(_a,["code","scope","style","className"]);const _code=(0,react_1.useMemo)(()=>code?.toString().replace(/\n$/,"").trim(),[code]),[ref,{width}]=(0,react_use_dimensions_1.default)(),isColumn=+(0,use_debounce_1.useDebounce)(width,300,{leading:!0})[0]<=500,placement=isColumn?base_ui_surfaces_split_pane_split_pane_1.Layout.columnReverse:base_ui_surfaces_split_pane_split_pane_1.Layout.row;return width?react_1.default.createElement(react_live_1.LiveProvider,{code:_code,scope,theme:oceanicNext_1.default},react_1.default.createElement("div",Object.assign({ref,className:(0,classnames_1.default)(className,react_playground_module_scss_1.default.playground,isColumn?react_playground_module_scss_1.default.column:react_playground_module_scss_1.default.row)},rest),react_1.default.createElement(base_ui_surfaces_split_pane_split_pane_1.SplitPane,{className:react_playground_module_scss_1.default.main,size:"50%",layout:placement},react_1.default.createElement(base_ui_surfaces_split_pane_split_pane_1.Pane,{className:(0,classnames_1.default)(react_playground_module_scss_1.default.codePane)},react_1.default.createElement(react_live_1.LiveEditor,{className:(0,classnames_1.default)(react_playground_module_scss_1.default.editor)})),react_1.default.createElement(base_ui_surfaces_split_pane_hover_splitter_1.HoverSplitter,{className:react_playground_module_scss_1.default.splitter}),react_1.default.createElement(base_ui_surfaces_split_pane_split_pane_1.Pane,{className:(0,classnames_1.default)(react_playground_module_scss_1.default.previewPane)},react_1.default.createElement(react_1.default.Fragment,null,react_1.default.createElement(react_live_1.LivePreview,{className:react_playground_module_scss_1.default.previewBox}),react_1.default.createElement(react_live_1.LiveError,{className:(0,classnames_1.default)(base_ui_input_error_1.Error,react_playground_module_scss_1.default.error)})))))):react_1.default.createElement("div",{ref})}exports.Playground=Playground},41185:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.links=exports.docsUrl=void 0,exports.docsUrl="https://bit.dev/docs",exports.links={scopedRegistry:`${exports.docsUrl}/packages/npmrc`,installBit:`${exports.docsUrl}/getting-started/installing-bit/installing-bit`,createCompositions:`${exports.docsUrl}/dev-services-overview/compositions/compositions-overview`,testComponents:`${exports.docsUrl}/dev-services-overview/tester/tester-overview`,bitIntroduction:`${exports.docsUrl}/quick-start`,whatIsBit:`${exports.docsUrl}/quick-start`,tagComponentVersion:`${exports.docsUrl}/components/tags`}},53365:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var __webpack_unused_export__;__webpack_unused_export__={value:!0},__webpack_unused_export__=exports.Ok=void 0;var documentation_links_1=__webpack_require__(41185);Object.defineProperty(exports,"Ok",{enumerable:!0,get:function(){return documentation_links_1.links}}),__webpack_unused_export__={enumerable:!0,get:function(){return documentation_links_1.docsUrl}}},71717: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.h6=exports.h5=exports.h4=exports.h3=exports.h2=exports.h1=exports.createHeading=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),documenter_ui_linked_heading_1=__webpack_require__(98422),create_heading_module_scss_1=__importDefault(__webpack_require__(14261));function createHeading(size,element){return function(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);const isMainHeading=size==="lg"||size==="md";return react_1.default.createElement(documenter_ui_linked_heading_1.LinkedHeading,Object.assign({},rest,{className:(0,classnames_1.default)(className,create_heading_module_scss_1.default.mdxLinkedHeading,isMainHeading&&create_heading_module_scss_1.default.mainHeadingStyles),size,element}),children)}}exports.createHeading=createHeading,exports.h1=createHeading("lg","h1"),exports.h2=createHeading("md","h2"),exports.h3=createHeading("sm","h3"),exports.h4=createHeading("xs","h4"),exports.h5=createHeading("xxs","h5"),exports.h6=createHeading("xxs","h6")},47363:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.h6=exports.h5=exports.h4=exports.h3=exports.h2=exports.h1=exports.createHeading=void 0;var create_heading_1=__webpack_require__(71717);Object.defineProperty(exports,"createHeading",{enumerable:!0,get:function(){return create_heading_1.createHeading}}),Object.defineProperty(exports,"h1",{enumerable:!0,get:function(){return create_heading_1.h1}}),Object.defineProperty(exports,"h2",{enumerable:!0,get:function(){return create_heading_1.h2}}),Object.defineProperty(exports,"h3",{enumerable:!0,get:function(){return create_heading_1.h3}}),Object.defineProperty(exports,"h4",{enumerable:!0,get:function(){return create_heading_1.h4}}),Object.defineProperty(exports,"h5",{enumerable:!0,get:function(){return create_heading_1.h5}}),Object.defineProperty(exports,"h6",{enumerable:!0,get:function(){return create_heading_1.h6}})},56621:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Snippet=void 0;var snippet_1=__webpack_require__(17182);Object.defineProperty(exports,"Snippet",{enumerable:!0,get:function(){return snippet_1.Snippet}})},17182: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.Snippet=void 0;const react_1=__importDefault(__webpack_require__(59496)),documenter_ui_code_snippet_1=__webpack_require__(75510),documenter_code_react_playground_1=__webpack_require__(22401),snippet_module_scss_1=__importDefault(__webpack_require__(54347));function Snippet({children,scope,live}){return live?react_1.default.createElement(documenter_code_react_playground_1.Playground,{className:snippet_module_scss_1.default.snippet,code:children,scope}):react_1.default.createElement(documenter_ui_code_snippet_1.CodeSnippet,{className:snippet_module_scss_1.default.snippet},children)}exports.Snippet=Snippet},51455:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.defaultMdxComponents=void 0;const documenter_ui_block_quote_1=__webpack_require__(97047),documenter_ui_bold_1=__webpack_require__(70624),documenter_routing_external_link_1=__webpack_require__(45073),documenter_markdown_heading_1=__webpack_require__(47363),documenter_ui_image_1=__webpack_require__(34296),documenter_ui_inline_code_1=__webpack_require__(83216),documenter_ui_italic_1=__webpack_require__(64106),documenter_ui_ol_1=__webpack_require__(28244),documenter_ui_paragraph_1=__webpack_require__(36404),documenter_ui_separator_1=__webpack_require__(3324),documenter_markdown_hybrid_live_code_snippet_1=__webpack_require__(56621),documenter_ui_sup_1=__webpack_require__(91254),documenter_ui_table_base_table_1=__webpack_require__(32119),documenter_ui_table_td_1=__webpack_require__(77246),documenter_ui_table_tr_1=__webpack_require__(98548),documenter_ui_ul_1=__webpack_require__(21211);exports.defaultMdxComponents={h1:documenter_markdown_heading_1.h1,h2:documenter_markdown_heading_1.h2,h3:documenter_markdown_heading_1.h3,h4:documenter_markdown_heading_1.h4,h5:documenter_markdown_heading_1.h5,h6:documenter_markdown_heading_1.h6,p:documenter_ui_paragraph_1.Paragraph,code:documenter_markdown_hybrid_live_code_snippet_1.Snippet,a:documenter_routing_external_link_1.ExternalLink,inlineCode:documenter_ui_inline_code_1.InlineCode,ol:documenter_ui_ol_1.Ol,ul:documenter_ui_ul_1.Ul,hr:documenter_ui_separator_1.Separator,thematicBreak:documenter_ui_separator_1.Separator,img:documenter_ui_image_1.Image,strong:documenter_ui_bold_1.Bold,em:documenter_ui_italic_1.Italic,pre:({children})=>children,sup:documenter_ui_sup_1.Sup,table:documenter_ui_table_base_table_1.Table,tr:documenter_ui_table_tr_1.Tr,td:documenter_ui_table_td_1.Td,blockquote:documenter_ui_block_quote_1.BlockQuote}},53333:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.defaultMdxComponents=void 0;var components_1=__webpack_require__(51455);Object.defineProperty(exports,"defaultMdxComponents",{enumerable:!0,get:function(){return components_1.defaultMdxComponents}})},81123:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var __webpack_unused_export__;__webpack_unused_export__={value:!0},exports.f=void 0;var mdx_layout_1=__webpack_require__(17016);Object.defineProperty(exports,"f",{enumerable:!0,get:function(){return mdx_layout_1.MDXLayout}})},17016:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.MDXLayout=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),react_2=__webpack_require__(49613),components_1=__webpack_require__(53333),mdx_layout_module_scss_1=__importDefault(__webpack_require__(19729));function MDXLayout(_a){var{children,components,className}=_a,rest=__rest(_a,["children","components","className"]);const _components=(0,react_1.useMemo)(()=>Object.assign(Object.assign({},components_1.defaultMdxComponents),components),[components_1.defaultMdxComponents,components]);return react_1.default.createElement(react_2.MDXProvider,{components:_components},react_1.default.createElement("div",Object.assign({className:(0,classnames_1.default)(mdx_layout_module_scss_1.default.mdxContent,className)},rest),children))}exports.MDXLayout=MDXLayout},41381: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.ExternalLink=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),external_link_module_scss_1=__importDefault(__webpack_require__(68465));function ExternalLink(_a){var{href,children,className}=_a,rest=__rest(_a,["href","children","className"]);return react_1.default.createElement("a",Object.assign({},rest,{target:"_blank",href,className:(0,classnames_1.default)(external_link_module_scss_1.default.link,className)}),children)}exports.ExternalLink=ExternalLink},45073: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]}),__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__(41381),exports)},18170: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]}),__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__(95191),exports)},95191: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.ThemeContext=exports.ThemeDocumenter=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_theme_theme_provider_1=__webpack_require__(625),base_ui_theme_fonts_roboto_1=__webpack_require__(31165),sizes_module_scss_1=__importDefault(__webpack_require__(76546)),global_module_scss_1=__importDefault(__webpack_require__(56892));function ThemeDocumenter(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement(base_ui_theme_theme_provider_1.Theme,Object.assign({},rest,{className:classnames_1.default(className,sizes_module_scss_1.default.heading,global_module_scss_1.default.overrides)}),react_1.default.createElement(base_ui_theme_fonts_roboto_1.Roboto,null),children)}exports.ThemeDocumenter=ThemeDocumenter,exports.ThemeContext=ThemeDocumenter},53856: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.Anchor=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(4748),anchor_module_scss_1=__importDefault(__webpack_require__(70916));function Anchor(props){const href=props.href&&`#${props.href}`;return react_1.default.createElement("a",Object.assign({},props,{id:props.href,href,className:(0,classnames_1.default)(props.className,anchor_module_scss_1.default.anchor)}),react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"anchor",className:anchor_module_scss_1.default.anchorIcon}))}exports.Anchor=Anchor},70319: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]}),__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__(53856),exports)},32481: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.Anchor=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(4748),anchor_module_scss_1=__importDefault(__webpack_require__(71618));function Anchor(props){const href=props.href&&`#${props.href}`;return react_1.default.createElement("a",Object.assign({},props,{id:props.href,href,className:(0,classnames_1.default)(props.className,anchor_module_scss_1.default.anchor)}),react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"anchor",className:anchor_module_scss_1.default.anchorIcon}))}exports.Anchor=Anchor},88820: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]}),__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__(32481),exports)},7385: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.BlockQuote=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),block_quote_module_scss_1=__importDefault(__webpack_require__(58873));function BlockQuote(_a){var{className,children}=_a,rest=__rest(_a,["className","children"]);return react_1.default.createElement("blockquote",Object.assign({},rest,{className:(0,classnames_1.default)(block_quote_module_scss_1.default.blockQuote,className)}),children)}exports.BlockQuote=BlockQuote},97047:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BlockQuote=void 0;var block_quote_1=__webpack_require__(7385);Object.defineProperty(exports,"BlockQuote",{enumerable:!0,get:function(){return block_quote_1.BlockQuote}})},45940: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.Bold=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),bold_module_scss_1=__importDefault(__webpack_require__(5259));function Bold(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("strong",Object.assign({},rest,{className:(0,classnames_1.default)(bold_module_scss_1.default.bold,className)}),children)}exports.Bold=Bold},70624:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Bold=void 0;var bold_1=__webpack_require__(45940);Object.defineProperty(exports,"Bold",{enumerable:!0,get:function(){return bold_1.Bold}})},26700: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.CodeSnippet=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),copy_to_clipboard_1=__importDefault(__webpack_require__(15912)),prism_light_1=__importDefault(__webpack_require__(56944)),tsx_1=__importDefault(__webpack_require__(6522)),vsc_dark_plus_1=__importDefault(__webpack_require__(27116)),documenter_ui_copied_message_1=__webpack_require__(13380),code_snippet_module_scss_1=__importDefault(__webpack_require__(82834));prism_light_1.default.registerLanguage("tsx",tsx_1.default);const customStyles={fontFamily:"roboto mono",fontSize:12};function CodeSnippet(_a){var{className,frameClass,theme=vsc_dark_plus_1.default,language="tsx",children}=_a,rest=__rest(_a,["className","frameClass","theme","language","children"]);const[isCopied,setIsCopied]=(0,react_1.useState)(!1),handleClick=()=>{setIsCopied(!0),setTimeout(()=>setIsCopied(!1),2e3),(0,copy_to_clipboard_1.default)(children.toString())},trimmedChildren=(0,react_1.useMemo)(()=>children.trim(),[children]);return react_1.default.createElement("div",{className:(0,classnames_1.default)(code_snippet_module_scss_1.default.snippetWrapper,className)},react_1.default.createElement(Highlighter,Object.assign({},rest,{className:(0,classnames_1.default)(code_snippet_module_scss_1.default.codeSnippet,frameClass),language,style:theme,customStyle:customStyles}),trimmedChildren),react_1.default.createElement("div",{className:code_snippet_module_scss_1.default.copy},react_1.default.createElement(documenter_ui_copied_message_1.CopiedMessage,{show:isCopied}),react_1.default.createElement("img",{src:"https://static.bit.cloud/Community/icons/copy.svg",onClick:handleClick,className:code_snippet_module_scss_1.default.copyIcon,alt:"Copy"})))}exports.CodeSnippet=CodeSnippet;const Highlighter=(0,react_1.memo)(function(props){return react_1.default.createElement(prism_light_1.default,Object.assign({},props))})},75510: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]}),__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__(26700),exports)},50080: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.CopiedMessage=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),copied_message_module_scss_1=__importDefault(__webpack_require__(54935));function CopiedMessage(_a){var{className,show=!1}=_a,rest=__rest(_a,["className","show"]);return react_1.default.createElement("span",Object.assign({},rest,{className:(0,classnames_1.default)(copied_message_module_scss_1.default.copiedMessage,{[copied_message_module_scss_1.default.showMessage]:show},className)}),"Copied")}exports.CopiedMessage=CopiedMessage},13380: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]}),__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__(50080),exports)},754:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{CopyBox:()=>CopyBox});var jsx_runtime=__webpack_require__(4637),react=__webpack_require__(59496),copy_to_clipboard=__webpack_require__(15912),copy_to_clipboard_default=__webpack_require__.n(copy_to_clipboard),classnames2=__webpack_require__(97754),classnames_default=__webpack_require__.n(classnames2);const copied_message_module={copiedMessage:"copied-message_copiedMessage__bwPvJ",showMessage:"copied-message_showMessage__2YJyu"};function CopiedMessage({className,show=!1,...rest}){return(0,jsx_runtime.jsx)("span",{...rest,className:classnames_default()(copied_message_module.copiedMessage,{[copied_message_module.showMessage]:show},className),children:"Copied"})}var dist=__webpack_require__(4748),base_ui_layout_grid_component_dist=__webpack_require__(95420);const copy_box_module={copyBox:"copy-box_copyBox__2qsgZ",leftSection:"copy-box_leftSection__2Y7zw",button:"copy-box_button__2HWwC",rightSection:"copy-box_rightSection__1sJiH",copyIcon:"copy-box_copyIcon__xGsr9"};function CopyBox({children,className,...rest}){const[isCopied,setIsCopied]=(0,react.useState)(!1),handleClick=()=>{setIsCopied(!0),setTimeout(()=>setIsCopied(!1),2e3),copy_to_clipboard_default()(children)};return(0,jsx_runtime.jsxs)(base_ui_layout_grid_component_dist.r,{colMd:2,className:classnames_default()(copy_box_module.copyBox,className),...rest,children:[(0,jsx_runtime.jsx)("div",{className:copy_box_module.leftSection,children}),(0,jsx_runtime.jsxs)("div",{className:copy_box_module.rightSection,children:[(0,jsx_runtime.jsx)(CopiedMessage,{show:isCopied}),(0,jsx_runtime.jsx)("button",{type:"button",className:copy_box_module.button,onClick:handleClick,children:(0,jsx_runtime.jsx)(dist.Icon,{className:copy_box_module.copyIcon,of:"copy-cmp"})})]})]})}},79625: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.H6=exports.H5=exports.H4=exports.H3=exports.H2=exports.H1=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_text_heading_1=__webpack_require__(77739),heading_sizes_module_scss_1=__importDefault(__webpack_require__(16268)),heading_module_scss_1=__importDefault(__webpack_require__(60579));function H1(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h1"},props,{className:classnames_1.default(heading_module_scss_1.default.h1,heading_sizes_module_scss_1.default[props.size||"lg"],props.className)}))}exports.H1=H1;function H2(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h2"},props,{className:classnames_1.default(heading_module_scss_1.default.h2,heading_sizes_module_scss_1.default[props.size||"lg"],props.className)}))}exports.H2=H2;function H3(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h3"},props,{className:classnames_1.default(heading_module_scss_1.default.h3,heading_sizes_module_scss_1.default[props.size||"md"],props.className)}))}exports.H3=H3;function H4(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h4"},props,{className:classnames_1.default(heading_module_scss_1.default.h4,heading_sizes_module_scss_1.default[props.size||"sm"],props.className)}))}exports.H4=H4;function H5(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h5"},props,{className:classnames_1.default(heading_module_scss_1.default.h5,heading_sizes_module_scss_1.default[props.size||"xs"],props.className)}))}exports.H5=H5;function H6(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h6"},props,{className:classnames_1.default(heading_module_scss_1.default.h6,heading_sizes_module_scss_1.default[props.size||"xxs"],props.className)}))}exports.H6=H6},37742: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]}),__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__(79625),exports)},24182: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.H6=exports.H5=exports.H4=exports.H3=exports.H2=exports.H1=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_text_heading_1=__webpack_require__(18660),heading_sizes_module_scss_1=__importDefault(__webpack_require__(12216)),heading_module_scss_1=__importDefault(__webpack_require__(88433));function H1(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h1"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h1,heading_sizes_module_scss_1.default[props.size||"lg"],props.className)}))}exports.H1=H1;function H2(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h2"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h2,heading_sizes_module_scss_1.default[props.size||"lg"],props.className)}))}exports.H2=H2;function H3(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h3"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h3,heading_sizes_module_scss_1.default[props.size||"md"],props.className)}))}exports.H3=H3;function H4(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h4"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h4,heading_sizes_module_scss_1.default[props.size||"sm"],props.className)}))}exports.H4=H4;function H5(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h5"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h5,heading_sizes_module_scss_1.default[props.size||"xs"],props.className)}))}exports.H5=H5;function H6(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h6"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h6,heading_sizes_module_scss_1.default[props.size||"xxs"],props.className)}))}exports.H6=H6},82483:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.H6=exports.H5=exports.H4=exports.H3=exports.H2=exports.H1=void 0;var heading_1=__webpack_require__(24182);Object.defineProperty(exports,"H1",{enumerable:!0,get:function(){return heading_1.H1}}),Object.defineProperty(exports,"H2",{enumerable:!0,get:function(){return heading_1.H2}}),Object.defineProperty(exports,"H3",{enumerable:!0,get:function(){return heading_1.H3}}),Object.defineProperty(exports,"H4",{enumerable:!0,get:function(){return heading_1.H4}}),Object.defineProperty(exports,"H5",{enumerable:!0,get:function(){return heading_1.H5}}),Object.defineProperty(exports,"H6",{enumerable:!0,get:function(){return heading_1.H6}})},37525: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.H6=exports.H5=exports.H4=exports.H3=exports.H2=exports.H1=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_text_heading_1=__webpack_require__(18660),heading_sizes_module_scss_1=__importDefault(__webpack_require__(38878)),heading_module_scss_1=__importDefault(__webpack_require__(41601));function H1(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h1"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h1,heading_sizes_module_scss_1.default[props.size||"lg"],props.className)}))}exports.H1=H1;function H2(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h2"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h2,heading_sizes_module_scss_1.default[props.size||"lg"],props.className)}))}exports.H2=H2;function H3(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h3"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h3,heading_sizes_module_scss_1.default[props.size||"md"],props.className)}))}exports.H3=H3;function H4(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h4"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h4,heading_sizes_module_scss_1.default[props.size||"sm"],props.className)}))}exports.H4=H4;function H5(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h5"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h5,heading_sizes_module_scss_1.default[props.size||"xs"],props.className)}))}exports.H5=H5;function H6(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h6"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h6,heading_sizes_module_scss_1.default[props.size||"xxs"],props.className)}))}exports.H6=H6},94700:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.H6=exports.H5=exports.H4=exports.H3=exports.H2=exports.H1=void 0;var heading_1=__webpack_require__(37525);Object.defineProperty(exports,"H1",{enumerable:!0,get:function(){return heading_1.H1}}),Object.defineProperty(exports,"H2",{enumerable:!0,get:function(){return heading_1.H2}}),Object.defineProperty(exports,"H3",{enumerable:!0,get:function(){return heading_1.H3}}),Object.defineProperty(exports,"H4",{enumerable:!0,get:function(){return heading_1.H4}}),Object.defineProperty(exports,"H5",{enumerable:!0,get:function(){return heading_1.H5}}),Object.defineProperty(exports,"H6",{enumerable:!0,get:function(){return heading_1.H6}})},419: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.HighlightedText=void 0;const react_1=__importDefault(__webpack_require__(59496)),documenter_ui_inline_code_1=__webpack_require__(22998);function HighlightedText(props){return react_1.default.createElement(documenter_ui_inline_code_1.InlineCode,Object.assign({},props,{highlight:!0}))}exports.HighlightedText=HighlightedText},90074: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]}),__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__(419),exports)},10158: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.Image=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),image_module_scss_1=__importDefault(__webpack_require__(20804));function Image(_a){var{src,className}=_a,rest=__rest(_a,["src","className"]);return react_1.default.createElement("img",Object.assign({},rest,{src,className:(0,classnames_1.default)(image_module_scss_1.default.img,className)}))}exports.Image=Image},34296:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Image=void 0;var image_1=__webpack_require__(10158);Object.defineProperty(exports,"Image",{enumerable:!0,get:function(){return image_1.Image}})},22998:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.InlineCode=void 0;var inline_code_1=__webpack_require__(3640);Object.defineProperty(exports,"InlineCode",{enumerable:!0,get:function(){return inline_code_1.InlineCode}})},3640: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.InlineCode=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),inline_code_module_scss_1=__importDefault(__webpack_require__(85342));function InlineCode(_a){var{children,highlight,className}=_a,rest=__rest(_a,["children","highlight","className"]);return react_1.default.createElement("code",Object.assign({},rest,{className:classnames_1.default(inline_code_module_scss_1.default.inlineCode,highlight&&inline_code_module_scss_1.default.highlight,className)}),children)}exports.InlineCode=InlineCode},83216:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.InlineCode=void 0;var inline_code_1=__webpack_require__(68434);Object.defineProperty(exports,"InlineCode",{enumerable:!0,get:function(){return inline_code_1.InlineCode}})},68434: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.InlineCode=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),inline_code_module_scss_1=__importDefault(__webpack_require__(78419));function InlineCode(_a){var{children,highlight,className}=_a,rest=__rest(_a,["children","highlight","className"]);return react_1.default.createElement("code",Object.assign({},rest,{className:(0,classnames_1.default)(inline_code_module_scss_1.default.inlineCode,highlight&&inline_code_module_scss_1.default.highlight,className)}),children)}exports.InlineCode=InlineCode},64106:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Italic=void 0;var italic_1=__webpack_require__(19281);Object.defineProperty(exports,"Italic",{enumerable:!0,get:function(){return italic_1.Italic}})},19281: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.Italic=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),italic_module_scss_1=__importDefault(__webpack_require__(67349));function Italic(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("em",Object.assign({},rest,{className:(0,classnames_1.default)(italic_module_scss_1.default.italic,className)}),children)}exports.Italic=Italic},13232: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]}),__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__(63527),exports)},63527: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.LabelList=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),documenter_ui_label_1=__webpack_require__(18688),label_list_module_scss_1=__importDefault(__webpack_require__(57100));function LabelList(_a){var{children,className,labelClass,onPick}=_a,rest=__rest(_a,["children","className","labelClass","onPick"]);return react_1.default.createElement("div",Object.assign({},rest,{className:classnames_1.default(className,label_list_module_scss_1.default.labelList)}),children&&children.map(label=>react_1.default.createElement(documenter_ui_label_1.Label,{className:labelClass,key:label,onPick},label)))}exports.LabelList=LabelList},18688: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]}),__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__(16161),exports)},16161: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.Label=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),label_module_scss_1=__importDefault(__webpack_require__(72921));function Label(_a){var{onPick,onClick,className}=_a,rest=__rest(_a,["onPick","onClick","className"]);const handleClick=e=>(onPick&&onPick(rest.children),onClick&&onClick(e));return react_1.default.createElement("div",Object.assign({},rest,{onClick:handleClick,className:classnames_1.default(className,label_module_scss_1.default.label)}))}exports.Label=Label},19058:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LinkedHeading=void 0;var linked_heading_1=__webpack_require__(26181);Object.defineProperty(exports,"LinkedHeading",{enumerable:!0,get:function(){return linked_heading_1.LinkedHeading}})},26181: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.LinkedHeading=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),documenter_ui_heading_1=__webpack_require__(82483),documenter_ui_anchor_1=__webpack_require__(70319),linked_heading_module_scss_1=__importDefault(__webpack_require__(40737));function LinkedHeading(_a){var{children,link,size,element="h3",className}=_a,rest=__rest(_a,["children","link","size","element","className"]);const Element=headerElement(element);return react_1.default.createElement("div",Object.assign({className:(0,classnames_1.default)(linked_heading_module_scss_1.default.linkedHeading,className)},rest),react_1.default.createElement(Element,{className:linked_heading_module_scss_1.default.heading,size,id:link},children),link&&react_1.default.createElement(documenter_ui_anchor_1.Anchor,{className:linked_heading_module_scss_1.default.anchor,href:link}))}exports.LinkedHeading=LinkedHeading;const headerElement=element=>{switch(element){case"h1":return documenter_ui_heading_1.H1;case"h2":return documenter_ui_heading_1.H2;case"h3":return documenter_ui_heading_1.H3;case"h4":return documenter_ui_heading_1.H4;case"h5":return documenter_ui_heading_1.H5;case"h6":return documenter_ui_heading_1.H6;default:return documenter_ui_heading_1.H3}}},98422:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LinkedHeading=void 0;var linked_heading_1=__webpack_require__(27053);Object.defineProperty(exports,"LinkedHeading",{enumerable:!0,get:function(){return linked_heading_1.LinkedHeading}})},27053: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.LinkedHeading=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),documenter_ui_heading_1=__webpack_require__(94700),documenter_ui_anchor_1=__webpack_require__(88820),linked_heading_module_scss_1=__importDefault(__webpack_require__(4679));function LinkedHeading(_a){var{children,link,size,element="h3",className}=_a,rest=__rest(_a,["children","link","size","element","className"]);const Element=headerElement(element);return react_1.default.createElement("div",Object.assign({className:(0,classnames_1.default)(linked_heading_module_scss_1.default.linkedHeading,className)},rest),react_1.default.createElement(Element,{className:linked_heading_module_scss_1.default.heading,size,id:link},children),link&&react_1.default.createElement(documenter_ui_anchor_1.Anchor,{className:linked_heading_module_scss_1.default.anchor,href:link}))}exports.LinkedHeading=LinkedHeading;const headerElement=element=>{switch(element){case"h1":return documenter_ui_heading_1.H1;case"h2":return documenter_ui_heading_1.H2;case"h3":return documenter_ui_heading_1.H3;case"h4":return documenter_ui_heading_1.H4;case"h5":return documenter_ui_heading_1.H5;case"h6":return documenter_ui_heading_1.H6;default:return documenter_ui_heading_1.H3}}},28244:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Ol=void 0;var ol_1=__webpack_require__(42896);Object.defineProperty(exports,"Ol",{enumerable:!0,get:function(){return ol_1.Ol}})},42896: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.Ol=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),ol_module_scss_1=__importDefault(__webpack_require__(31182));function Ol(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("ol",Object.assign({},rest,{className:(0,classnames_1.default)(ol_module_scss_1.default.ol,className)}),children)}exports.Ol=Ol},543: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]}),__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__(3586),exports)},3586: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.Paragraph=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_text_paragraph_1=__webpack_require__(7954),base_ui_theme_sizes_1=__webpack_require__(62086),paragraph_module_scss_1=__importDefault(__webpack_require__(22671));function Paragraph(_a){var{children,className,size}=_a,rest=__rest(_a,["children","className","size"]);const paragraphSize=size?base_ui_theme_sizes_1.PossibleSizes[size]:base_ui_theme_sizes_1.PossibleSizes.md;return react_1.default.createElement(base_ui_text_paragraph_1.Paragraph,Object.assign({size:paragraphSize},rest,{className:classnames_1.default(paragraph_module_scss_1.default.paragraph,className)}),children)}exports.Paragraph=Paragraph,Paragraph.defaultProps={size:"md",element:"p"}},36404: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]}),__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__(85344),exports)},85344: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.Paragraph=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_text_paragraph_1=__webpack_require__(71491),base_ui_theme_sizes_1=__webpack_require__(62086),paragraph_module_scss_1=__importDefault(__webpack_require__(36791));function Paragraph(_a){var{children,className,size}=_a,rest=__rest(_a,["children","className","size"]);const paragraphSize=size?base_ui_theme_sizes_1.PossibleSizes[size]:base_ui_theme_sizes_1.PossibleSizes.md;return react_1.default.createElement(base_ui_text_paragraph_1.Paragraph,Object.assign({size:paragraphSize},rest,{className:(0,classnames_1.default)(paragraph_module_scss_1.default.paragraph,className)}),children)}exports.Paragraph=Paragraph,Paragraph.defaultProps={size:"md",element:"p"}},6990:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{PropTable:()=>PropTable});var jsx_runtime=__webpack_require__(4637),es=__webpack_require__(95144),react=__webpack_require__(59496);function useDebouncedCallback(callback,delay,options){options===void 0&&(options={});var maxWait=options.maxWait,maxWaitHandler=(0,react.useRef)(null),maxWaitArgs=(0,react.useRef)([]),leading=options.leading,trailing=options.trailing===void 0?!0:options.trailing,leadingCall=(0,react.useRef)(!1),functionTimeoutHandler=(0,react.useRef)(null),isComponentUnmounted=(0,react.useRef)(!1),debouncedFunction=(0,react.useRef)(callback);debouncedFunction.current=callback;var cancelDebouncedCallback=(0,react.useCallback)(function(){clearTimeout(functionTimeoutHandler.current),clearTimeout(maxWaitHandler.current),maxWaitHandler.current=null,maxWaitArgs.current=[],functionTimeoutHandler.current=null,leadingCall.current=!1},[]);(0,react.useEffect)(function(){return isComponentUnmounted.current=!1,function(){isComponentUnmounted.current=!0}},[]);var debouncedCallback=(0,react.useCallback)(function(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];maxWaitArgs.current=args,clearTimeout(functionTimeoutHandler.current),leadingCall.current&&(leadingCall.current=!1),!functionTimeoutHandler.current&&leading&&!leadingCall.current&&(debouncedFunction.current.apply(debouncedFunction,args),leadingCall.current=!0),functionTimeoutHandler.current=setTimeout(function(){var shouldCallFunction=!0;leading&&leadingCall.current&&(shouldCallFunction=!1),cancelDebouncedCallback(),!isComponentUnmounted.current&&trailing&&shouldCallFunction&&debouncedFunction.current.apply(debouncedFunction,args)},delay),maxWait&&!maxWaitHandler.current&&trailing&&(maxWaitHandler.current=setTimeout(function(){var args2=maxWaitArgs.current;cancelDebouncedCallback(),isComponentUnmounted.current||debouncedFunction.current.apply(null,args2)},maxWait))},[maxWait,delay,cancelDebouncedCallback,leading,trailing]),callPending=(0,react.useCallback)(function(){!functionTimeoutHandler.current||(debouncedFunction.current.apply(null,maxWaitArgs.current),cancelDebouncedCallback())},[cancelDebouncedCallback]);return[debouncedCallback,cancelDebouncedCallback,callPending]}function valueEquality(left,right){return left===right}function useDebounce(value,delay,options){var eq=options&&options.equalityFn?options.equalityFn:valueEquality,_a=(0,react.useState)(value),state=_a[0],dispatch=_a[1],_b=useDebouncedCallback((0,react.useCallback)(function(value2){return dispatch(value2)},[]),delay,options),callback=_b[0],cancel=_b[1],callPending=_b[2],previousValue=(0,react.useRef)(value);return(0,react.useEffect)(function(){eq(previousValue.current,value)||(callback(value),previousValue.current=value)},[value,callback,eq]),[state,cancel,callPending]}var classnames2=__webpack_require__(97754),classnames_default=__webpack_require__.n(classnames2),dist=__webpack_require__(95420);const table_heading_column_module={headingColumn:"table-heading-column_headingColumn__2HRSD"};function HeadingColumn({children,className,...rest}){return(0,jsx_runtime.jsx)("div",{className:classnames_default()(table_heading_column_module.headingColumn,className),...rest,children:(0,jsx_runtime.jsx)("div",{className:classnames_default()(table_heading_column_module.title),children})})}const table_heading_row_module={titleRow:"table-heading-row_titleRow__3KBMP",hide:"table-heading-row_hide__1A6im",titleCol:"table-heading-row_titleCol__1UtXq"};function HeadingRow({headings,colNumber,isListView=!1,className,...rest}){return(0,jsx_runtime.jsx)(dist.r,{...rest,col:colNumber,className:classnames_default()(table_heading_row_module.titleRow,{[table_heading_row_module.hide]:isListView},className),children:headings.map(title=>title==="required"?null:(0,jsx_runtime.jsx)(HeadingColumn,{className:table_heading_row_module.titleCol,children:title},title))})}const table_column_module={tableColumn:"table-column_tableColumn__3UL0s"};function TableColumn({children,className,...rest}){return(0,jsx_runtime.jsx)("div",{className:classnames_default()(table_column_module.tableColumn,className),...rest,children})}var objectWithoutProperties=__webpack_require__(2141);function _arrayLikeToArray(arr,len){(len==null||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}function _iterableToArray(iter){if(typeof Symbol<"u"&&iter[Symbol.iterator]!=null||iter["@@iterator"]!=null)return Array.from(iter)}function _unsupportedIterableToArray(o,minLen){if(!!o){if(typeof o=="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor&&(n=o.constructor.name),n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _nonIterableSpread(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
@@ -119,7 +119,7 @@ globstar while`,file,fr,pattern,pr,swallowee),this.matchOne(file.slice(fr),patte
|
|
119
119
|
>>> no match, partial?`,file,fr,pattern,pr),fr===fl))}var hit;if(typeof p=="string"?(options.nocase?hit=f.toLowerCase()===p.toLowerCase():hit=f===p,this.debug("string match",p,f,hit)):(hit=f.match(p),this.debug("pattern match",p,f,hit)),!hit)return!1}if(fi===fl&&pi===pl)return!0;if(fi===fl)return partial;if(pi===pl)return fi===fl-1&&file[fi]==="";throw new Error("wtf?")};function globUnescape(s){return s.replace(/\\(.)/g,"$1")}function regExpEscape(s){return s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},85306:(module,__unused_webpack_exports,__webpack_require__)=>{var hasMap=typeof Map=="function"&&Map.prototype,mapSizeDescriptor=Object.getOwnPropertyDescriptor&&hasMap?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,mapSize=hasMap&&mapSizeDescriptor&&typeof mapSizeDescriptor.get=="function"?mapSizeDescriptor.get:null,mapForEach=hasMap&&Map.prototype.forEach,hasSet=typeof Set=="function"&&Set.prototype,setSizeDescriptor=Object.getOwnPropertyDescriptor&&hasSet?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,setSize=hasSet&&setSizeDescriptor&&typeof setSizeDescriptor.get=="function"?setSizeDescriptor.get:null,setForEach=hasSet&&Set.prototype.forEach,hasWeakMap=typeof WeakMap=="function"&&WeakMap.prototype,weakMapHas=hasWeakMap?WeakMap.prototype.has:null,hasWeakSet=typeof WeakSet=="function"&&WeakSet.prototype,weakSetHas=hasWeakSet?WeakSet.prototype.has:null,hasWeakRef=typeof WeakRef=="function"&&WeakRef.prototype,weakRefDeref=hasWeakRef?WeakRef.prototype.deref:null,booleanValueOf=Boolean.prototype.valueOf,objectToString=Object.prototype.toString,functionToString=Function.prototype.toString,$match=String.prototype.match,$slice=String.prototype.slice,$replace=String.prototype.replace,$toUpperCase=String.prototype.toUpperCase,$toLowerCase=String.prototype.toLowerCase,$test=RegExp.prototype.test,$concat=Array.prototype.concat,$join=Array.prototype.join,$arrSlice=Array.prototype.slice,$floor=Math.floor,bigIntValueOf=typeof BigInt=="function"?BigInt.prototype.valueOf:null,gOPS=Object.getOwnPropertySymbols,symToString=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,hasShammedSymbols=typeof Symbol=="function"&&typeof Symbol.iterator=="object",toStringTag=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===hasShammedSymbols?"object":"symbol")?Symbol.toStringTag:null,isEnumerable=Object.prototype.propertyIsEnumerable,gPO=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(O){return O.__proto__}:null);function addNumericSeparator(num,str){if(num===1/0||num===-1/0||num!==num||num&&num>-1e3&&num<1e3||$test.call(/e/,str))return str;var sepRegex=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof num=="number"){var int=num<0?-$floor(-num):$floor(num);if(int!==num){var intStr=String(int),dec=$slice.call(str,intStr.length+1);return $replace.call(intStr,sepRegex,"$&_")+"."+$replace.call($replace.call(dec,/([0-9]{3})/g,"$&_"),/_$/,"")}}return $replace.call(str,sepRegex,"$&_")}var utilInspect=__webpack_require__(65660),inspectCustom=utilInspect.custom,inspectSymbol=isSymbol(inspectCustom)?inspectCustom:null;module.exports=function inspect_(obj,options,depth,seen){var opts=options||{};if(has(opts,"quoteStyle")&&opts.quoteStyle!=="single"&&opts.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(has(opts,"maxStringLength")&&(typeof opts.maxStringLength=="number"?opts.maxStringLength<0&&opts.maxStringLength!==1/0:opts.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var customInspect=has(opts,"customInspect")?opts.customInspect:!0;if(typeof customInspect!="boolean"&&customInspect!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(has(opts,"indent")&&opts.indent!==null&&opts.indent!==" "&&!(parseInt(opts.indent,10)===opts.indent&&opts.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(has(opts,"numericSeparator")&&typeof opts.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var numericSeparator=opts.numericSeparator;if(typeof obj>"u")return"undefined";if(obj===null)return"null";if(typeof obj=="boolean")return obj?"true":"false";if(typeof obj=="string")return inspectString(obj,opts);if(typeof obj=="number"){if(obj===0)return 1/0/obj>0?"0":"-0";var str=String(obj);return numericSeparator?addNumericSeparator(obj,str):str}if(typeof obj=="bigint"){var bigIntStr=String(obj)+"n";return numericSeparator?addNumericSeparator(obj,bigIntStr):bigIntStr}var maxDepth=typeof opts.depth>"u"?5:opts.depth;if(typeof depth>"u"&&(depth=0),depth>=maxDepth&&maxDepth>0&&typeof obj=="object")return isArray(obj)?"[Array]":"[Object]";var indent=getIndent(opts,depth);if(typeof seen>"u")seen=[];else if(indexOf(seen,obj)>=0)return"[Circular]";function inspect(value,from,noIndent){if(from&&(seen=$arrSlice.call(seen),seen.push(from)),noIndent){var newOpts={depth:opts.depth};return has(opts,"quoteStyle")&&(newOpts.quoteStyle=opts.quoteStyle),inspect_(value,newOpts,depth+1,seen)}return inspect_(value,opts,depth+1,seen)}if(typeof obj=="function"&&!isRegExp(obj)){var name=nameOf(obj),keys=arrObjKeys(obj,inspect);return"[Function"+(name?": "+name:" (anonymous)")+"]"+(keys.length>0?" { "+$join.call(keys,", ")+" }":"")}if(isSymbol(obj)){var symString=hasShammedSymbols?$replace.call(String(obj),/^(Symbol\(.*\))_[^)]*$/,"$1"):symToString.call(obj);return typeof obj=="object"&&!hasShammedSymbols?markBoxed(symString):symString}if(isElement(obj)){for(var s="<"+$toLowerCase.call(String(obj.nodeName)),attrs=obj.attributes||[],i=0;i<attrs.length;i++)s+=" "+attrs[i].name+"="+wrapQuotes(quote(attrs[i].value),"double",opts);return s+=">",obj.childNodes&&obj.childNodes.length&&(s+="..."),s+="</"+$toLowerCase.call(String(obj.nodeName))+">",s}if(isArray(obj)){if(obj.length===0)return"[]";var xs=arrObjKeys(obj,inspect);return indent&&!singleLineValues(xs)?"["+indentedJoin(xs,indent)+"]":"[ "+$join.call(xs,", ")+" ]"}if(isError(obj)){var parts=arrObjKeys(obj,inspect);return!("cause"in Error.prototype)&&"cause"in obj&&!isEnumerable.call(obj,"cause")?"{ ["+String(obj)+"] "+$join.call($concat.call("[cause]: "+inspect(obj.cause),parts),", ")+" }":parts.length===0?"["+String(obj)+"]":"{ ["+String(obj)+"] "+$join.call(parts,", ")+" }"}if(typeof obj=="object"&&customInspect){if(inspectSymbol&&typeof obj[inspectSymbol]=="function"&&utilInspect)return utilInspect(obj,{depth:maxDepth-depth});if(customInspect!=="symbol"&&typeof obj.inspect=="function")return obj.inspect()}if(isMap(obj)){var mapParts=[];return mapForEach&&mapForEach.call(obj,function(value,key){mapParts.push(inspect(key,obj,!0)+" => "+inspect(value,obj))}),collectionOf("Map",mapSize.call(obj),mapParts,indent)}if(isSet(obj)){var setParts=[];return setForEach&&setForEach.call(obj,function(value){setParts.push(inspect(value,obj))}),collectionOf("Set",setSize.call(obj),setParts,indent)}if(isWeakMap(obj))return weakCollectionOf("WeakMap");if(isWeakSet(obj))return weakCollectionOf("WeakSet");if(isWeakRef(obj))return weakCollectionOf("WeakRef");if(isNumber(obj))return markBoxed(inspect(Number(obj)));if(isBigInt(obj))return markBoxed(inspect(bigIntValueOf.call(obj)));if(isBoolean(obj))return markBoxed(booleanValueOf.call(obj));if(isString(obj))return markBoxed(inspect(String(obj)));if(typeof window<"u"&&obj===window)return"{ [object Window] }";if(obj===__webpack_require__.g)return"{ [object globalThis] }";if(!isDate(obj)&&!isRegExp(obj)){var ys=arrObjKeys(obj,inspect),isPlainObject=gPO?gPO(obj)===Object.prototype:obj instanceof Object||obj.constructor===Object,protoTag=obj instanceof Object?"":"null prototype",stringTag=!isPlainObject&&toStringTag&&Object(obj)===obj&&toStringTag in obj?$slice.call(toStr(obj),8,-1):protoTag?"Object":"",constructorTag=isPlainObject||typeof obj.constructor!="function"?"":obj.constructor.name?obj.constructor.name+" ":"",tag=constructorTag+(stringTag||protoTag?"["+$join.call($concat.call([],stringTag||[],protoTag||[]),": ")+"] ":"");return ys.length===0?tag+"{}":indent?tag+"{"+indentedJoin(ys,indent)+"}":tag+"{ "+$join.call(ys,", ")+" }"}return String(obj)};function wrapQuotes(s,defaultStyle,opts){var quoteChar=(opts.quoteStyle||defaultStyle)==="double"?'"':"'";return quoteChar+s+quoteChar}function quote(s){return $replace.call(String(s),/"/g,""")}function isArray(obj){return toStr(obj)==="[object Array]"&&(!toStringTag||!(typeof obj=="object"&&toStringTag in obj))}function isDate(obj){return toStr(obj)==="[object Date]"&&(!toStringTag||!(typeof obj=="object"&&toStringTag in obj))}function isRegExp(obj){return toStr(obj)==="[object RegExp]"&&(!toStringTag||!(typeof obj=="object"&&toStringTag in obj))}function isError(obj){return toStr(obj)==="[object Error]"&&(!toStringTag||!(typeof obj=="object"&&toStringTag in obj))}function isString(obj){return toStr(obj)==="[object String]"&&(!toStringTag||!(typeof obj=="object"&&toStringTag in obj))}function isNumber(obj){return toStr(obj)==="[object Number]"&&(!toStringTag||!(typeof obj=="object"&&toStringTag in obj))}function isBoolean(obj){return toStr(obj)==="[object Boolean]"&&(!toStringTag||!(typeof obj=="object"&&toStringTag in obj))}function isSymbol(obj){if(hasShammedSymbols)return obj&&typeof obj=="object"&&obj instanceof Symbol;if(typeof obj=="symbol")return!0;if(!obj||typeof obj!="object"||!symToString)return!1;try{return symToString.call(obj),!0}catch{}return!1}function isBigInt(obj){if(!obj||typeof obj!="object"||!bigIntValueOf)return!1;try{return bigIntValueOf.call(obj),!0}catch{}return!1}var hasOwn=Object.prototype.hasOwnProperty||function(key){return key in this};function has(obj,key){return hasOwn.call(obj,key)}function toStr(obj){return objectToString.call(obj)}function nameOf(f){if(f.name)return f.name;var m=$match.call(functionToString.call(f),/^function\s*([\w$]+)/);return m?m[1]:null}function indexOf(xs,x){if(xs.indexOf)return xs.indexOf(x);for(var i=0,l=xs.length;i<l;i++)if(xs[i]===x)return i;return-1}function isMap(x){if(!mapSize||!x||typeof x!="object")return!1;try{mapSize.call(x);try{setSize.call(x)}catch{return!0}return x instanceof Map}catch{}return!1}function isWeakMap(x){if(!weakMapHas||!x||typeof x!="object")return!1;try{weakMapHas.call(x,weakMapHas);try{weakSetHas.call(x,weakSetHas)}catch{return!0}return x instanceof WeakMap}catch{}return!1}function isWeakRef(x){if(!weakRefDeref||!x||typeof x!="object")return!1;try{return weakRefDeref.call(x),!0}catch{}return!1}function isSet(x){if(!setSize||!x||typeof x!="object")return!1;try{setSize.call(x);try{mapSize.call(x)}catch{return!0}return x instanceof Set}catch{}return!1}function isWeakSet(x){if(!weakSetHas||!x||typeof x!="object")return!1;try{weakSetHas.call(x,weakSetHas);try{weakMapHas.call(x,weakMapHas)}catch{return!0}return x instanceof WeakSet}catch{}return!1}function isElement(x){return!x||typeof x!="object"?!1:typeof HTMLElement<"u"&&x instanceof HTMLElement?!0:typeof x.nodeName=="string"&&typeof x.getAttribute=="function"}function inspectString(str,opts){if(str.length>opts.maxStringLength){var remaining=str.length-opts.maxStringLength,trailer="... "+remaining+" more character"+(remaining>1?"s":"");return inspectString($slice.call(str,0,opts.maxStringLength),opts)+trailer}var s=$replace.call($replace.call(str,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lowbyte);return wrapQuotes(s,"single",opts)}function lowbyte(c){var n=c.charCodeAt(0),x={8:"b",9:"t",10:"n",12:"f",13:"r"}[n];return x?"\\"+x:"\\x"+(n<16?"0":"")+$toUpperCase.call(n.toString(16))}function markBoxed(str){return"Object("+str+")"}function weakCollectionOf(type){return type+" { ? }"}function collectionOf(type,size,entries,indent){var joinedEntries=indent?indentedJoin(entries,indent):$join.call(entries,", ");return type+" ("+size+") {"+joinedEntries+"}"}function singleLineValues(xs){for(var i=0;i<xs.length;i++)if(indexOf(xs[i],`
|
120
120
|
`)>=0)return!1;return!0}function getIndent(opts,depth){var baseIndent;if(opts.indent===" ")baseIndent=" ";else if(typeof opts.indent=="number"&&opts.indent>0)baseIndent=$join.call(Array(opts.indent+1)," ");else return null;return{base:baseIndent,prev:$join.call(Array(depth+1),baseIndent)}}function indentedJoin(xs,indent){if(xs.length===0)return"";var lineJoiner=`
|
121
121
|
`+indent.prev+indent.base;return lineJoiner+$join.call(xs,","+lineJoiner)+`
|
122
|
-
`+indent.prev}function arrObjKeys(obj,inspect){var isArr=isArray(obj),xs=[];if(isArr){xs.length=obj.length;for(var i=0;i<obj.length;i++)xs[i]=has(obj,i)?inspect(obj[i],obj):""}var syms=typeof gOPS=="function"?gOPS(obj):[],symMap;if(hasShammedSymbols){symMap={};for(var k=0;k<syms.length;k++)symMap["$"+syms[k]]=syms[k]}for(var key in obj)!has(obj,key)||isArr&&String(Number(key))===key&&key<obj.length||hasShammedSymbols&&symMap["$"+key]instanceof Symbol||($test.call(/[^\w$]/,key)?xs.push(inspect(key,obj)+": "+inspect(obj[key],obj)):xs.push(key+": "+inspect(obj[key],obj)));if(typeof gOPS=="function")for(var j=0;j<syms.length;j++)isEnumerable.call(obj,syms[j])&&xs.push("["+inspect(syms[j])+"]: "+inspect(obj[syms[j]],obj));return xs}},34233:module=>{"use strict";var numberIsNaN=function(value){return value!==value};module.exports=function(a,b){return a===0&&b===0?1/a===1/b:!!(a===b||numberIsNaN(a)&&numberIsNaN(b))}},15361:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var define=__webpack_require__(89722),callBind=__webpack_require__(96350),implementation=__webpack_require__(34233),getPolyfill=__webpack_require__(93338),shim=__webpack_require__(79685),polyfill=callBind(getPolyfill(),Object);define(polyfill,{getPolyfill,implementation,shim}),module.exports=polyfill},93338:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var implementation=__webpack_require__(34233);module.exports=function(){return typeof Object.is=="function"?Object.is:implementation}},79685:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var getPolyfill=__webpack_require__(93338),define=__webpack_require__(89722);module.exports=function(){var polyfill=getPolyfill();return define(Object,{is:polyfill},{is:function(){return Object.is!==polyfill}}),polyfill}},89121:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var keysShim;if(!Object.keys){var has=Object.prototype.hasOwnProperty,toStr=Object.prototype.toString,isArgs=__webpack_require__(70999),isEnumerable=Object.prototype.propertyIsEnumerable,hasDontEnumBug=!isEnumerable.call({toString:null},"toString"),hasProtoEnumBug=isEnumerable.call(function(){},"prototype"),dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],equalsConstructorPrototype=function(o){var ctor=o.constructor;return ctor&&ctor.prototype===o},excludedKeys={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},hasAutomationEqualityBug=function(){if(typeof window>"u")return!1;for(var k in window)try{if(!excludedKeys["$"+k]&&has.call(window,k)&&window[k]!==null&&typeof window[k]=="object")try{equalsConstructorPrototype(window[k])}catch{return!0}}catch{return!0}return!1}(),equalsConstructorPrototypeIfNotBuggy=function(o){if(typeof window>"u"||!hasAutomationEqualityBug)return equalsConstructorPrototype(o);try{return equalsConstructorPrototype(o)}catch{return!1}};keysShim=function(object){var isObject=object!==null&&typeof object=="object",isFunction=toStr.call(object)==="[object Function]",isArguments=isArgs(object),isString=isObject&&toStr.call(object)==="[object String]",theKeys=[];if(!isObject&&!isFunction&&!isArguments)throw new TypeError("Object.keys called on a non-object");var skipProto=hasProtoEnumBug&&isFunction;if(isString&&object.length>0&&!has.call(object,0))for(var i=0;i<object.length;++i)theKeys.push(String(i));if(isArguments&&object.length>0)for(var j=0;j<object.length;++j)theKeys.push(String(j));else for(var name in object)!(skipProto&&name==="prototype")&&has.call(object,name)&&theKeys.push(String(name));if(hasDontEnumBug)for(var skipConstructor=equalsConstructorPrototypeIfNotBuggy(object),k=0;k<dontEnums.length;++k)!(skipConstructor&&dontEnums[k]==="constructor")&&has.call(object,dontEnums[k])&&theKeys.push(dontEnums[k]);return theKeys}}module.exports=keysShim},72051:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var slice=Array.prototype.slice,isArgs=__webpack_require__(70999),origKeys=Object.keys,keysShim=origKeys?function(o){return origKeys(o)}:__webpack_require__(89121),originalKeys=Object.keys;keysShim.shim=function(){if(Object.keys){var keysWorksWithArguments=function(){var args=Object.keys(arguments);return args&&args.length===arguments.length}(1,2);keysWorksWithArguments||(Object.keys=function(object){return isArgs(object)?originalKeys(slice.call(object)):originalKeys(object)})}else Object.keys=keysShim;return Object.keys||keysShim},module.exports=keysShim},70999:module=>{"use strict";var toStr=Object.prototype.toString;module.exports=function(value){var str=toStr.call(value),isArgs=str==="[object Arguments]";return isArgs||(isArgs=str!=="[object Array]"&&value!==null&&typeof value=="object"&&typeof value.length=="number"&&value.length>=0&&toStr.call(value.callee)==="[object Function]"),isArgs}},55045:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var objectKeys=__webpack_require__(72051),hasSymbols=__webpack_require__(79985)(),callBound=__webpack_require__(74161),toObject=Object,$push=callBound("Array.prototype.push"),$propIsEnumerable=callBound("Object.prototype.propertyIsEnumerable"),originalGetSymbols=hasSymbols?Object.getOwnPropertySymbols:null;module.exports=function(target,source1){if(target==null)throw new TypeError("target must be an object");var to=toObject(target);if(arguments.length===1)return to;for(var s=1;s<arguments.length;++s){var from=toObject(arguments[s]),keys=objectKeys(from),getSymbols=hasSymbols&&(Object.getOwnPropertySymbols||originalGetSymbols);if(getSymbols)for(var syms=getSymbols(from),j=0;j<syms.length;++j){var key=syms[j];$propIsEnumerable(from,key)&&$push(keys,key)}for(var i=0;i<keys.length;++i){var nextKey=keys[i];if($propIsEnumerable(from,nextKey)){var propValue=from[nextKey];to[nextKey]=propValue}}}return to}},82724:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var implementation=__webpack_require__(55045),lacksProperEnumerationOrder=function(){if(!Object.assign)return!1;for(var str="abcdefghijklmnopqrst",letters=str.split(""),map={},i=0;i<letters.length;++i)map[letters[i]]=letters[i];var obj=Object.assign({},map),actual="";for(var k in obj)actual+=k;return str!==actual},assignHasPendingExceptions=function(){if(!Object.assign||!Object.preventExtensions)return!1;var thrower=Object.preventExtensions({1:2});try{Object.assign(thrower,"xy")}catch{return thrower[1]==="y"}return!1};module.exports=function(){return!Object.assign||lacksProperEnumerationOrder()||assignHasPendingExceptions()?implementation:Object.assign}},93026:module=>{"use strict";var el,semicolon=59;module.exports=decodeEntity;function decodeEntity(characters){var entity="&"+characters+";",char;return el=el||document.createElement("i"),el.innerHTML=entity,char=el.textContent,char.charCodeAt(char.length-1)===semicolon&&characters!=="semi"||char===entity?!1:char}},3177:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var legacy=__webpack_require__(27102),invalid=__webpack_require__(71701),decimal=__webpack_require__(8451),hexadecimal=__webpack_require__(29401),alphanumerical=__webpack_require__(21831),decodeEntity=__webpack_require__(93026);module.exports=parseEntities;var own={}.hasOwnProperty,fromCharCode=String.fromCharCode,noop=Function.prototype,defaults={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},tab=9,lineFeed=10,formFeed=12,space=32,ampersand=38,semicolon=59,lessThan=60,equalsTo=61,numberSign=35,uppercaseX=88,lowercaseX=120,replacementCharacter=65533,name="named",hexa="hexadecimal",deci="decimal",bases={};bases[hexa]=16,bases[deci]=10;var tests={};tests[name]=alphanumerical,tests[deci]=decimal,tests[hexa]=hexadecimal;var namedNotTerminated=1,numericNotTerminated=2,namedEmpty=3,numericEmpty=4,namedUnknown=5,numericDisallowed=6,numericProhibited=7,messages={};messages[namedNotTerminated]="Named character references must be terminated by a semicolon",messages[numericNotTerminated]="Numeric character references must be terminated by a semicolon",messages[namedEmpty]="Named character references cannot be empty",messages[numericEmpty]="Numeric character references cannot be empty",messages[namedUnknown]="Named character references must be known",messages[numericDisallowed]="Numeric character references cannot be disallowed",messages[numericProhibited]="Numeric character references cannot be outside the permissible Unicode range";function parseEntities(value,options){var settings={},option,key;options||(options={});for(key in defaults)option=options[key],settings[key]=option??defaults[key];return(settings.position.indent||settings.position.start)&&(settings.indent=settings.position.indent||[],settings.position=settings.position.start),parse(value,settings)}function parse(value,settings){var additional=settings.additional,nonTerminated=settings.nonTerminated,handleText=settings.text,handleReference=settings.reference,handleWarning=settings.warning,textContext=settings.textContext,referenceContext=settings.referenceContext,warningContext=settings.warningContext,pos=settings.position,indent=settings.indent||[],length=value.length,index=0,lines=-1,column=pos.column||1,line=pos.line||1,queue="",result=[],entityCharacters,namedEntity,terminated,characters,character,reference,following,warning,reason,output,entity,begin,start,type,test,prev,next,diff,end;for(typeof additional=="string"&&(additional=additional.charCodeAt(0)),prev=now(),warning=handleWarning?parseError:noop,index--,length++;++index<length;)if(character===lineFeed&&(column=indent[lines]||1),character=value.charCodeAt(index),character===ampersand){if(following=value.charCodeAt(index+1),following===tab||following===lineFeed||following===formFeed||following===space||following===ampersand||following===lessThan||following!==following||additional&&following===additional){queue+=fromCharCode(character),column++;continue}for(start=index+1,begin=start,end=start,following===numberSign?(end=++begin,following=value.charCodeAt(end),following===uppercaseX||following===lowercaseX?(type=hexa,end=++begin):type=deci):type=name,entityCharacters="",entity="",characters="",test=tests[type],end--;++end<length&&(following=value.charCodeAt(end),!!test(following));)characters+=fromCharCode(following),type===name&&own.call(legacy,characters)&&(entityCharacters=characters,entity=legacy[characters]);terminated=value.charCodeAt(end)===semicolon,terminated&&(end++,namedEntity=type===name?decodeEntity(characters):!1,namedEntity&&(entityCharacters=characters,entity=namedEntity)),diff=1+end-start,!terminated&&!nonTerminated||(characters?type===name?(terminated&&!entity?warning(namedUnknown,1):(entityCharacters!==characters&&(end=begin+entityCharacters.length,diff=1+end-begin,terminated=!1),terminated||(reason=entityCharacters?namedNotTerminated:namedEmpty,settings.attribute?(following=value.charCodeAt(end),following===equalsTo?(warning(reason,diff),entity=null):alphanumerical(following)?entity=null:warning(reason,diff)):warning(reason,diff))),reference=entity):(terminated||warning(numericNotTerminated,diff),reference=parseInt(characters,bases[type]),prohibited(reference)?(warning(numericProhibited,diff),reference=fromCharCode(replacementCharacter)):reference in invalid?(warning(numericDisallowed,diff),reference=invalid[reference]):(output="",disallowed(reference)&&warning(numericDisallowed,diff),reference>65535&&(reference-=65536,output+=fromCharCode(reference>>>10|55296),reference=56320|reference&1023),reference=output+fromCharCode(reference))):type!==name&&warning(numericEmpty,diff)),reference?(flush(),prev=now(),index=end-1,column+=end-start+1,result.push(reference),next=now(),next.offset++,handleReference&&handleReference.call(referenceContext,reference,{start:prev,end:next},value.slice(start-1,end)),prev=next):(characters=value.slice(start-1,end),queue+=characters,column+=characters.length,index=end-1)}else character===10&&(line++,lines++,column=0),character===character?(queue+=fromCharCode(character),column++):flush();return result.join("");function now(){return{line,column,offset:index+(pos.offset||0)}}function parseError(code,offset){var position=now();position.column+=offset,position.offset+=offset,handleWarning.call(warningContext,messages[code],position,code)}function flush(){queue&&(result.push(queue),handleText&&handleText.call(textContext,queue,{start:prev,end:now()}),queue="")}}function prohibited(code){return code>=55296&&code<=57343||code>1114111}function disallowed(code){return code>=1&&code<=8||code===11||code>=13&&code<=31||code>=127&&code<=159||code>=64976&&code<=65007||(code&65535)===65535||(code&65535)===65534}},51419:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{compile:()=>compile,match:()=>match,parse:()=>parse,pathToRegexp:()=>pathToRegexp,regexpToFunction:()=>regexpToFunction,tokensToFunction:()=>tokensToFunction,tokensToRegexp:()=>tokensToRegexp});function lexer(str){for(var tokens=[],i=0;i<str.length;){var char=str[i];if(char==="*"||char==="+"||char==="?"){tokens.push({type:"MODIFIER",index:i,value:str[i++]});continue}if(char==="\\"){tokens.push({type:"ESCAPED_CHAR",index:i++,value:str[i++]});continue}if(char==="{"){tokens.push({type:"OPEN",index:i,value:str[i++]});continue}if(char==="}"){tokens.push({type:"CLOSE",index:i,value:str[i++]});continue}if(char===":"){for(var name="",j=i+1;j<str.length;){var code=str.charCodeAt(j);if(code>=48&&code<=57||code>=65&&code<=90||code>=97&&code<=122||code===95){name+=str[j++];continue}break}if(!name)throw new TypeError("Missing parameter name at "+i);tokens.push({type:"NAME",index:i,value:name}),i=j;continue}if(char==="("){var count=1,pattern="",j=i+1;if(str[j]==="?")throw new TypeError('Pattern cannot start with "?" at '+j);for(;j<str.length;){if(str[j]==="\\"){pattern+=str[j++]+str[j++];continue}if(str[j]===")"){if(count--,count===0){j++;break}}else if(str[j]==="("&&(count++,str[j+1]!=="?"))throw new TypeError("Capturing groups are not allowed at "+j);pattern+=str[j++]}if(count)throw new TypeError("Unbalanced pattern at "+i);if(!pattern)throw new TypeError("Missing pattern at "+i);tokens.push({type:"PATTERN",index:i,value:pattern}),i=j;continue}tokens.push({type:"CHAR",index:i,value:str[i++]})}return tokens.push({type:"END",index:i,value:""}),tokens}function parse(str,options){options===void 0&&(options={});for(var tokens=lexer(str),_a=options.prefixes,prefixes=_a===void 0?"./":_a,defaultPattern="[^"+escapeString(options.delimiter||"/#?")+"]+?",result=[],key=0,i=0,path="",tryConsume=function(type){if(i<tokens.length&&tokens[i].type===type)return tokens[i++].value},mustConsume=function(type){var value2=tryConsume(type);if(value2!==void 0)return value2;var _a2=tokens[i],nextType=_a2.type,index=_a2.index;throw new TypeError("Unexpected "+nextType+" at "+index+", expected "+type)},consumeText=function(){for(var result2="",value2;value2=tryConsume("CHAR")||tryConsume("ESCAPED_CHAR");)result2+=value2;return result2};i<tokens.length;){var char=tryConsume("CHAR"),name=tryConsume("NAME"),pattern=tryConsume("PATTERN");if(name||pattern){var prefix=char||"";prefixes.indexOf(prefix)===-1&&(path+=prefix,prefix=""),path&&(result.push(path),path=""),result.push({name:name||key++,prefix,suffix:"",pattern:pattern||defaultPattern,modifier:tryConsume("MODIFIER")||""});continue}var value=char||tryConsume("ESCAPED_CHAR");if(value){path+=value;continue}path&&(result.push(path),path="");var open=tryConsume("OPEN");if(open){var prefix=consumeText(),name_1=tryConsume("NAME")||"",pattern_1=tryConsume("PATTERN")||"",suffix=consumeText();mustConsume("CLOSE"),result.push({name:name_1||(pattern_1?key++:""),pattern:name_1&&!pattern_1?defaultPattern:pattern_1,prefix,suffix,modifier:tryConsume("MODIFIER")||""});continue}mustConsume("END")}return result}function compile(str,options){return tokensToFunction(parse(str,options),options)}function tokensToFunction(tokens,options){options===void 0&&(options={});var reFlags=flags(options),_a=options.encode,encode=_a===void 0?function(x){return x}:_a,_b=options.validate,validate=_b===void 0?!0:_b,matches=tokens.map(function(token){if(typeof token=="object")return new RegExp("^(?:"+token.pattern+")$",reFlags)});return function(data){for(var path="",i=0;i<tokens.length;i++){var token=tokens[i];if(typeof token=="string"){path+=token;continue}var value=data?data[token.name]:void 0,optional=token.modifier==="?"||token.modifier==="*",repeat=token.modifier==="*"||token.modifier==="+";if(Array.isArray(value)){if(!repeat)throw new TypeError('Expected "'+token.name+'" to not repeat, but got an array');if(value.length===0){if(optional)continue;throw new TypeError('Expected "'+token.name+'" to not be empty')}for(var j=0;j<value.length;j++){var segment=encode(value[j],token);if(validate&&!matches[i].test(segment))throw new TypeError('Expected all "'+token.name+'" to match "'+token.pattern+'", but got "'+segment+'"');path+=token.prefix+segment+token.suffix}continue}if(typeof value=="string"||typeof value=="number"){var segment=encode(String(value),token);if(validate&&!matches[i].test(segment))throw new TypeError('Expected "'+token.name+'" to match "'+token.pattern+'", but got "'+segment+'"');path+=token.prefix+segment+token.suffix;continue}if(!optional){var typeOfMessage=repeat?"an array":"a string";throw new TypeError('Expected "'+token.name+'" to be '+typeOfMessage)}}return path}}function match(str,options){var keys=[],re=pathToRegexp(str,keys,options);return regexpToFunction(re,keys,options)}function regexpToFunction(re,keys,options){options===void 0&&(options={});var _a=options.decode,decode=_a===void 0?function(x){return x}:_a;return function(pathname){var m=re.exec(pathname);if(!m)return!1;for(var path=m[0],index=m.index,params=Object.create(null),_loop_1=function(i2){if(m[i2]===void 0)return"continue";var key=keys[i2-1];key.modifier==="*"||key.modifier==="+"?params[key.name]=m[i2].split(key.prefix+key.suffix).map(function(value){return decode(value,key)}):params[key.name]=decode(m[i2],key)},i=1;i<m.length;i++)_loop_1(i);return{path,index,params}}}function escapeString(str){return str.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function flags(options){return options&&options.sensitive?"":"i"}function regexpToRegexp(path,keys){if(!keys)return path;for(var groupsRegex=/\((?:\?<(.*?)>)?(?!\?)/g,index=0,execResult=groupsRegex.exec(path.source);execResult;)keys.push({name:execResult[1]||index++,prefix:"",suffix:"",modifier:"",pattern:""}),execResult=groupsRegex.exec(path.source);return path}function arrayToRegexp(paths,keys,options){var parts=paths.map(function(path){return pathToRegexp(path,keys,options).source});return new RegExp("(?:"+parts.join("|")+")",flags(options))}function stringToRegexp(path,keys,options){return tokensToRegexp(parse(path,options),keys,options)}function tokensToRegexp(tokens,keys,options){options===void 0&&(options={});for(var _a=options.strict,strict=_a===void 0?!1:_a,_b=options.start,start=_b===void 0?!0:_b,_c=options.end,end=_c===void 0?!0:_c,_d=options.encode,encode=_d===void 0?function(x){return x}:_d,endsWith="["+escapeString(options.endsWith||"")+"]|$",delimiter="["+escapeString(options.delimiter||"/#?")+"]",route=start?"^":"",_i=0,tokens_1=tokens;_i<tokens_1.length;_i++){var token=tokens_1[_i];if(typeof token=="string")route+=escapeString(encode(token));else{var prefix=escapeString(encode(token.prefix)),suffix=escapeString(encode(token.suffix));if(token.pattern)if(keys&&keys.push(token),prefix||suffix)if(token.modifier==="+"||token.modifier==="*"){var mod=token.modifier==="*"?"?":"";route+="(?:"+prefix+"((?:"+token.pattern+")(?:"+suffix+prefix+"(?:"+token.pattern+"))*)"+suffix+")"+mod}else route+="(?:"+prefix+"("+token.pattern+")"+suffix+")"+token.modifier;else route+="("+token.pattern+")"+token.modifier;else route+="(?:"+prefix+suffix+")"+token.modifier}}if(end)strict||(route+=delimiter+"?"),route+=options.endsWith?"(?="+endsWith+")":"$";else{var endToken=tokens[tokens.length-1],isEndDelimited=typeof endToken=="string"?delimiter.indexOf(endToken[endToken.length-1])>-1:endToken===void 0;strict||(route+="(?:"+delimiter+"(?="+endsWith+"))?"),isEndDelimited||(route+="(?="+delimiter+"|"+endsWith+")")}return new RegExp(route,flags(options))}function pathToRegexp(path,keys,options){return path instanceof RegExp?regexpToRegexp(path,keys):Array.isArray(path)?arrayToRegexp(path,keys,options):stringToRegexp(path,keys,options)}},41758:module=>{"use strict";module.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},3809:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var colors={char:"#D8DEE9",comment:"#999999",keyword:"#c5a5c5",primitive:"#5a9bcf",string:"#8dc891",variable:"#d7deea",boolean:"#ff8b50",punctuation:"#5FB3B3",tag:"#fc929e",function:"#79b6f2",className:"#FAC863",method:"#6699CC",operator:"#fc929e"},theme={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:colors.keyword}},{types:["attr-value"],style:{color:colors.string}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:colors.comment}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:colors.primitive}},{types:["boolean"],style:{color:colors.boolean}},{types:["tag"],style:{color:colors.tag}},{types:["string"],style:{color:colors.string}},{types:["punctuation"],style:{color:colors.string}},{types:["selector","char","builtin","inserted"],style:{color:colors.char}},{types:["function"],style:{color:colors.function}},{types:["operator","entity","url","variable"],style:{color:colors.variable}},{types:["keyword"],style:{color:colors.keyword}},{types:["atrule","class-name"],style:{color:colors.className}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]};const __WEBPACK_DEFAULT_EXPORT__=theme},58925:(module,__unused_webpack_exports,__webpack_require__)=>{var _self=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
|
122
|
+
`+indent.prev}function arrObjKeys(obj,inspect){var isArr=isArray(obj),xs=[];if(isArr){xs.length=obj.length;for(var i=0;i<obj.length;i++)xs[i]=has(obj,i)?inspect(obj[i],obj):""}var syms=typeof gOPS=="function"?gOPS(obj):[],symMap;if(hasShammedSymbols){symMap={};for(var k=0;k<syms.length;k++)symMap["$"+syms[k]]=syms[k]}for(var key in obj)!has(obj,key)||isArr&&String(Number(key))===key&&key<obj.length||hasShammedSymbols&&symMap["$"+key]instanceof Symbol||($test.call(/[^\w$]/,key)?xs.push(inspect(key,obj)+": "+inspect(obj[key],obj)):xs.push(key+": "+inspect(obj[key],obj)));if(typeof gOPS=="function")for(var j=0;j<syms.length;j++)isEnumerable.call(obj,syms[j])&&xs.push("["+inspect(syms[j])+"]: "+inspect(obj[syms[j]],obj));return xs}},34233:module=>{"use strict";var numberIsNaN=function(value){return value!==value};module.exports=function(a,b){return a===0&&b===0?1/a===1/b:!!(a===b||numberIsNaN(a)&&numberIsNaN(b))}},15361:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var define=__webpack_require__(89722),callBind=__webpack_require__(96350),implementation=__webpack_require__(34233),getPolyfill=__webpack_require__(93338),shim=__webpack_require__(79685),polyfill=callBind(getPolyfill(),Object);define(polyfill,{getPolyfill,implementation,shim}),module.exports=polyfill},93338:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var implementation=__webpack_require__(34233);module.exports=function(){return typeof Object.is=="function"?Object.is:implementation}},79685:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var getPolyfill=__webpack_require__(93338),define=__webpack_require__(89722);module.exports=function(){var polyfill=getPolyfill();return define(Object,{is:polyfill},{is:function(){return Object.is!==polyfill}}),polyfill}},89121:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var keysShim;if(!Object.keys){var has=Object.prototype.hasOwnProperty,toStr=Object.prototype.toString,isArgs=__webpack_require__(70999),isEnumerable=Object.prototype.propertyIsEnumerable,hasDontEnumBug=!isEnumerable.call({toString:null},"toString"),hasProtoEnumBug=isEnumerable.call(function(){},"prototype"),dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],equalsConstructorPrototype=function(o){var ctor=o.constructor;return ctor&&ctor.prototype===o},excludedKeys={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},hasAutomationEqualityBug=function(){if(typeof window>"u")return!1;for(var k in window)try{if(!excludedKeys["$"+k]&&has.call(window,k)&&window[k]!==null&&typeof window[k]=="object")try{equalsConstructorPrototype(window[k])}catch{return!0}}catch{return!0}return!1}(),equalsConstructorPrototypeIfNotBuggy=function(o){if(typeof window>"u"||!hasAutomationEqualityBug)return equalsConstructorPrototype(o);try{return equalsConstructorPrototype(o)}catch{return!1}};keysShim=function(object){var isObject=object!==null&&typeof object=="object",isFunction=toStr.call(object)==="[object Function]",isArguments=isArgs(object),isString=isObject&&toStr.call(object)==="[object String]",theKeys=[];if(!isObject&&!isFunction&&!isArguments)throw new TypeError("Object.keys called on a non-object");var skipProto=hasProtoEnumBug&&isFunction;if(isString&&object.length>0&&!has.call(object,0))for(var i=0;i<object.length;++i)theKeys.push(String(i));if(isArguments&&object.length>0)for(var j=0;j<object.length;++j)theKeys.push(String(j));else for(var name in object)!(skipProto&&name==="prototype")&&has.call(object,name)&&theKeys.push(String(name));if(hasDontEnumBug)for(var skipConstructor=equalsConstructorPrototypeIfNotBuggy(object),k=0;k<dontEnums.length;++k)!(skipConstructor&&dontEnums[k]==="constructor")&&has.call(object,dontEnums[k])&&theKeys.push(dontEnums[k]);return theKeys}}module.exports=keysShim},72051:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var slice=Array.prototype.slice,isArgs=__webpack_require__(70999),origKeys=Object.keys,keysShim=origKeys?function(o){return origKeys(o)}:__webpack_require__(89121),originalKeys=Object.keys;keysShim.shim=function(){if(Object.keys){var keysWorksWithArguments=function(){var args=Object.keys(arguments);return args&&args.length===arguments.length}(1,2);keysWorksWithArguments||(Object.keys=function(object){return isArgs(object)?originalKeys(slice.call(object)):originalKeys(object)})}else Object.keys=keysShim;return Object.keys||keysShim},module.exports=keysShim},70999:module=>{"use strict";var toStr=Object.prototype.toString;module.exports=function(value){var str=toStr.call(value),isArgs=str==="[object Arguments]";return isArgs||(isArgs=str!=="[object Array]"&&value!==null&&typeof value=="object"&&typeof value.length=="number"&&value.length>=0&&toStr.call(value.callee)==="[object Function]"),isArgs}},55045:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var objectKeys=__webpack_require__(72051),hasSymbols=__webpack_require__(79985)(),callBound=__webpack_require__(74161),toObject=Object,$push=callBound("Array.prototype.push"),$propIsEnumerable=callBound("Object.prototype.propertyIsEnumerable"),originalGetSymbols=hasSymbols?Object.getOwnPropertySymbols:null;module.exports=function(target,source1){if(target==null)throw new TypeError("target must be an object");var to=toObject(target);if(arguments.length===1)return to;for(var s=1;s<arguments.length;++s){var from=toObject(arguments[s]),keys=objectKeys(from),getSymbols=hasSymbols&&(Object.getOwnPropertySymbols||originalGetSymbols);if(getSymbols)for(var syms=getSymbols(from),j=0;j<syms.length;++j){var key=syms[j];$propIsEnumerable(from,key)&&$push(keys,key)}for(var i=0;i<keys.length;++i){var nextKey=keys[i];if($propIsEnumerable(from,nextKey)){var propValue=from[nextKey];to[nextKey]=propValue}}}return to}},82724:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var implementation=__webpack_require__(55045),lacksProperEnumerationOrder=function(){if(!Object.assign)return!1;for(var str="abcdefghijklmnopqrst",letters=str.split(""),map={},i=0;i<letters.length;++i)map[letters[i]]=letters[i];var obj=Object.assign({},map),actual="";for(var k in obj)actual+=k;return str!==actual},assignHasPendingExceptions=function(){if(!Object.assign||!Object.preventExtensions)return!1;var thrower=Object.preventExtensions({1:2});try{Object.assign(thrower,"xy")}catch{return thrower[1]==="y"}return!1};module.exports=function(){return!Object.assign||lacksProperEnumerationOrder()||assignHasPendingExceptions()?implementation:Object.assign}},93026:module=>{"use strict";var el,semicolon=59;module.exports=decodeEntity;function decodeEntity(characters){var entity="&"+characters+";",char;return el=el||document.createElement("i"),el.innerHTML=entity,char=el.textContent,char.charCodeAt(char.length-1)===semicolon&&characters!=="semi"||char===entity?!1:char}},3177:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var legacy=__webpack_require__(27102),invalid=__webpack_require__(71701),decimal=__webpack_require__(8451),hexadecimal=__webpack_require__(29401),alphanumerical=__webpack_require__(21831),decodeEntity=__webpack_require__(93026);module.exports=parseEntities;var own={}.hasOwnProperty,fromCharCode=String.fromCharCode,noop=Function.prototype,defaults={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},tab=9,lineFeed=10,formFeed=12,space=32,ampersand=38,semicolon=59,lessThan=60,equalsTo=61,numberSign=35,uppercaseX=88,lowercaseX=120,replacementCharacter=65533,name="named",hexa="hexadecimal",deci="decimal",bases={};bases[hexa]=16,bases[deci]=10;var tests={};tests[name]=alphanumerical,tests[deci]=decimal,tests[hexa]=hexadecimal;var namedNotTerminated=1,numericNotTerminated=2,namedEmpty=3,numericEmpty=4,namedUnknown=5,numericDisallowed=6,numericProhibited=7,messages={};messages[namedNotTerminated]="Named character references must be terminated by a semicolon",messages[numericNotTerminated]="Numeric character references must be terminated by a semicolon",messages[namedEmpty]="Named character references cannot be empty",messages[numericEmpty]="Numeric character references cannot be empty",messages[namedUnknown]="Named character references must be known",messages[numericDisallowed]="Numeric character references cannot be disallowed",messages[numericProhibited]="Numeric character references cannot be outside the permissible Unicode range";function parseEntities(value,options){var settings={},option,key;options||(options={});for(key in defaults)option=options[key],settings[key]=option??defaults[key];return(settings.position.indent||settings.position.start)&&(settings.indent=settings.position.indent||[],settings.position=settings.position.start),parse(value,settings)}function parse(value,settings){var additional=settings.additional,nonTerminated=settings.nonTerminated,handleText=settings.text,handleReference=settings.reference,handleWarning=settings.warning,textContext=settings.textContext,referenceContext=settings.referenceContext,warningContext=settings.warningContext,pos=settings.position,indent=settings.indent||[],length=value.length,index=0,lines=-1,column=pos.column||1,line=pos.line||1,queue="",result=[],entityCharacters,namedEntity,terminated,characters,character,reference,following,warning,reason,output,entity,begin,start,type,test,prev,next,diff,end;for(typeof additional=="string"&&(additional=additional.charCodeAt(0)),prev=now(),warning=handleWarning?parseError:noop,index--,length++;++index<length;)if(character===lineFeed&&(column=indent[lines]||1),character=value.charCodeAt(index),character===ampersand){if(following=value.charCodeAt(index+1),following===tab||following===lineFeed||following===formFeed||following===space||following===ampersand||following===lessThan||following!==following||additional&&following===additional){queue+=fromCharCode(character),column++;continue}for(start=index+1,begin=start,end=start,following===numberSign?(end=++begin,following=value.charCodeAt(end),following===uppercaseX||following===lowercaseX?(type=hexa,end=++begin):type=deci):type=name,entityCharacters="",entity="",characters="",test=tests[type],end--;++end<length&&(following=value.charCodeAt(end),!!test(following));)characters+=fromCharCode(following),type===name&&own.call(legacy,characters)&&(entityCharacters=characters,entity=legacy[characters]);terminated=value.charCodeAt(end)===semicolon,terminated&&(end++,namedEntity=type===name?decodeEntity(characters):!1,namedEntity&&(entityCharacters=characters,entity=namedEntity)),diff=1+end-start,!terminated&&!nonTerminated||(characters?type===name?(terminated&&!entity?warning(namedUnknown,1):(entityCharacters!==characters&&(end=begin+entityCharacters.length,diff=1+end-begin,terminated=!1),terminated||(reason=entityCharacters?namedNotTerminated:namedEmpty,settings.attribute?(following=value.charCodeAt(end),following===equalsTo?(warning(reason,diff),entity=null):alphanumerical(following)?entity=null:warning(reason,diff)):warning(reason,diff))),reference=entity):(terminated||warning(numericNotTerminated,diff),reference=parseInt(characters,bases[type]),prohibited(reference)?(warning(numericProhibited,diff),reference=fromCharCode(replacementCharacter)):reference in invalid?(warning(numericDisallowed,diff),reference=invalid[reference]):(output="",disallowed(reference)&&warning(numericDisallowed,diff),reference>65535&&(reference-=65536,output+=fromCharCode(reference>>>10|55296),reference=56320|reference&1023),reference=output+fromCharCode(reference))):type!==name&&warning(numericEmpty,diff)),reference?(flush(),prev=now(),index=end-1,column+=end-start+1,result.push(reference),next=now(),next.offset++,handleReference&&handleReference.call(referenceContext,reference,{start:prev,end:next},value.slice(start-1,end)),prev=next):(characters=value.slice(start-1,end),queue+=characters,column+=characters.length,index=end-1)}else character===10&&(line++,lines++,column=0),character===character?(queue+=fromCharCode(character),column++):flush();return result.join("");function now(){return{line,column,offset:index+(pos.offset||0)}}function parseError(code,offset){var position=now();position.column+=offset,position.offset+=offset,handleWarning.call(warningContext,messages[code],position,code)}function flush(){queue&&(result.push(queue),handleText&&handleText.call(textContext,queue,{start:prev,end:now()}),queue="")}}function prohibited(code){return code>=55296&&code<=57343||code>1114111}function disallowed(code){return code>=1&&code<=8||code===11||code>=13&&code<=31||code>=127&&code<=159||code>=64976&&code<=65007||(code&65535)===65535||(code&65535)===65534}},51419:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{compile:()=>compile,match:()=>match,parse:()=>parse,pathToRegexp:()=>pathToRegexp,regexpToFunction:()=>regexpToFunction,tokensToFunction:()=>tokensToFunction,tokensToRegexp:()=>tokensToRegexp});function lexer(str){for(var tokens=[],i=0;i<str.length;){var char=str[i];if(char==="*"||char==="+"||char==="?"){tokens.push({type:"MODIFIER",index:i,value:str[i++]});continue}if(char==="\\"){tokens.push({type:"ESCAPED_CHAR",index:i++,value:str[i++]});continue}if(char==="{"){tokens.push({type:"OPEN",index:i,value:str[i++]});continue}if(char==="}"){tokens.push({type:"CLOSE",index:i,value:str[i++]});continue}if(char===":"){for(var name="",j=i+1;j<str.length;){var code=str.charCodeAt(j);if(code>=48&&code<=57||code>=65&&code<=90||code>=97&&code<=122||code===95){name+=str[j++];continue}break}if(!name)throw new TypeError("Missing parameter name at "+i);tokens.push({type:"NAME",index:i,value:name}),i=j;continue}if(char==="("){var count=1,pattern="",j=i+1;if(str[j]==="?")throw new TypeError('Pattern cannot start with "?" at '+j);for(;j<str.length;){if(str[j]==="\\"){pattern+=str[j++]+str[j++];continue}if(str[j]===")"){if(count--,count===0){j++;break}}else if(str[j]==="("&&(count++,str[j+1]!=="?"))throw new TypeError("Capturing groups are not allowed at "+j);pattern+=str[j++]}if(count)throw new TypeError("Unbalanced pattern at "+i);if(!pattern)throw new TypeError("Missing pattern at "+i);tokens.push({type:"PATTERN",index:i,value:pattern}),i=j;continue}tokens.push({type:"CHAR",index:i,value:str[i++]})}return tokens.push({type:"END",index:i,value:""}),tokens}function parse(str,options){options===void 0&&(options={});for(var tokens=lexer(str),_a=options.prefixes,prefixes=_a===void 0?"./":_a,defaultPattern="[^"+escapeString(options.delimiter||"/#?")+"]+?",result=[],key=0,i=0,path="",tryConsume=function(type){if(i<tokens.length&&tokens[i].type===type)return tokens[i++].value},mustConsume=function(type){var value2=tryConsume(type);if(value2!==void 0)return value2;var _a2=tokens[i],nextType=_a2.type,index=_a2.index;throw new TypeError("Unexpected "+nextType+" at "+index+", expected "+type)},consumeText=function(){for(var result2="",value2;value2=tryConsume("CHAR")||tryConsume("ESCAPED_CHAR");)result2+=value2;return result2};i<tokens.length;){var char=tryConsume("CHAR"),name=tryConsume("NAME"),pattern=tryConsume("PATTERN");if(name||pattern){var prefix=char||"";prefixes.indexOf(prefix)===-1&&(path+=prefix,prefix=""),path&&(result.push(path),path=""),result.push({name:name||key++,prefix,suffix:"",pattern:pattern||defaultPattern,modifier:tryConsume("MODIFIER")||""});continue}var value=char||tryConsume("ESCAPED_CHAR");if(value){path+=value;continue}path&&(result.push(path),path="");var open=tryConsume("OPEN");if(open){var prefix=consumeText(),name_1=tryConsume("NAME")||"",pattern_1=tryConsume("PATTERN")||"",suffix=consumeText();mustConsume("CLOSE"),result.push({name:name_1||(pattern_1?key++:""),pattern:name_1&&!pattern_1?defaultPattern:pattern_1,prefix,suffix,modifier:tryConsume("MODIFIER")||""});continue}mustConsume("END")}return result}function compile(str,options){return tokensToFunction(parse(str,options),options)}function tokensToFunction(tokens,options){options===void 0&&(options={});var reFlags=flags(options),_a=options.encode,encode=_a===void 0?function(x){return x}:_a,_b=options.validate,validate=_b===void 0?!0:_b,matches=tokens.map(function(token){if(typeof token=="object")return new RegExp("^(?:"+token.pattern+")$",reFlags)});return function(data){for(var path="",i=0;i<tokens.length;i++){var token=tokens[i];if(typeof token=="string"){path+=token;continue}var value=data?data[token.name]:void 0,optional=token.modifier==="?"||token.modifier==="*",repeat=token.modifier==="*"||token.modifier==="+";if(Array.isArray(value)){if(!repeat)throw new TypeError('Expected "'+token.name+'" to not repeat, but got an array');if(value.length===0){if(optional)continue;throw new TypeError('Expected "'+token.name+'" to not be empty')}for(var j=0;j<value.length;j++){var segment=encode(value[j],token);if(validate&&!matches[i].test(segment))throw new TypeError('Expected all "'+token.name+'" to match "'+token.pattern+'", but got "'+segment+'"');path+=token.prefix+segment+token.suffix}continue}if(typeof value=="string"||typeof value=="number"){var segment=encode(String(value),token);if(validate&&!matches[i].test(segment))throw new TypeError('Expected "'+token.name+'" to match "'+token.pattern+'", but got "'+segment+'"');path+=token.prefix+segment+token.suffix;continue}if(!optional){var typeOfMessage=repeat?"an array":"a string";throw new TypeError('Expected "'+token.name+'" to be '+typeOfMessage)}}return path}}function match(str,options){var keys=[],re=pathToRegexp(str,keys,options);return regexpToFunction(re,keys,options)}function regexpToFunction(re,keys,options){options===void 0&&(options={});var _a=options.decode,decode=_a===void 0?function(x){return x}:_a;return function(pathname){var m=re.exec(pathname);if(!m)return!1;for(var path=m[0],index=m.index,params=Object.create(null),_loop_1=function(i2){if(m[i2]===void 0)return"continue";var key=keys[i2-1];key.modifier==="*"||key.modifier==="+"?params[key.name]=m[i2].split(key.prefix+key.suffix).map(function(value){return decode(value,key)}):params[key.name]=decode(m[i2],key)},i=1;i<m.length;i++)_loop_1(i);return{path,index,params}}}function escapeString(str){return str.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function flags(options){return options&&options.sensitive?"":"i"}function regexpToRegexp(path,keys){if(!keys)return path;for(var groupsRegex=/\((?:\?<(.*?)>)?(?!\?)/g,index=0,execResult=groupsRegex.exec(path.source);execResult;)keys.push({name:execResult[1]||index++,prefix:"",suffix:"",modifier:"",pattern:""}),execResult=groupsRegex.exec(path.source);return path}function arrayToRegexp(paths,keys,options){var parts=paths.map(function(path){return pathToRegexp(path,keys,options).source});return new RegExp("(?:"+parts.join("|")+")",flags(options))}function stringToRegexp(path,keys,options){return tokensToRegexp(parse(path,options),keys,options)}function tokensToRegexp(tokens,keys,options){options===void 0&&(options={});for(var _a=options.strict,strict=_a===void 0?!1:_a,_b=options.start,start=_b===void 0?!0:_b,_c=options.end,end=_c===void 0?!0:_c,_d=options.encode,encode=_d===void 0?function(x){return x}:_d,endsWith="["+escapeString(options.endsWith||"")+"]|$",delimiter="["+escapeString(options.delimiter||"/#?")+"]",route=start?"^":"",_i=0,tokens_1=tokens;_i<tokens_1.length;_i++){var token=tokens_1[_i];if(typeof token=="string")route+=escapeString(encode(token));else{var prefix=escapeString(encode(token.prefix)),suffix=escapeString(encode(token.suffix));if(token.pattern)if(keys&&keys.push(token),prefix||suffix)if(token.modifier==="+"||token.modifier==="*"){var mod=token.modifier==="*"?"?":"";route+="(?:"+prefix+"((?:"+token.pattern+")(?:"+suffix+prefix+"(?:"+token.pattern+"))*)"+suffix+")"+mod}else route+="(?:"+prefix+"("+token.pattern+")"+suffix+")"+token.modifier;else route+="("+token.pattern+")"+token.modifier;else route+="(?:"+prefix+suffix+")"+token.modifier}}if(end)strict||(route+=delimiter+"?"),route+=options.endsWith?"(?="+endsWith+")":"$";else{var endToken=tokens[tokens.length-1],isEndDelimited=typeof endToken=="string"?delimiter.indexOf(endToken[endToken.length-1])>-1:endToken===void 0;strict||(route+="(?:"+delimiter+"(?="+endsWith+"))?"),isEndDelimited||(route+="(?="+delimiter+"|"+endsWith+")")}return new RegExp(route,flags(options))}function pathToRegexp(path,keys,options){return path instanceof RegExp?regexpToRegexp(path,keys):Array.isArray(path)?arrayToRegexp(path,keys,options):stringToRegexp(path,keys,options)}},26792:module=>{"use strict";module.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},3809:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var colors={char:"#D8DEE9",comment:"#999999",keyword:"#c5a5c5",primitive:"#5a9bcf",string:"#8dc891",variable:"#d7deea",boolean:"#ff8b50",punctuation:"#5FB3B3",tag:"#fc929e",function:"#79b6f2",className:"#FAC863",method:"#6699CC",operator:"#fc929e"},theme={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:colors.keyword}},{types:["attr-value"],style:{color:colors.string}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:colors.comment}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:colors.primitive}},{types:["boolean"],style:{color:colors.boolean}},{types:["tag"],style:{color:colors.tag}},{types:["string"],style:{color:colors.string}},{types:["punctuation"],style:{color:colors.string}},{types:["selector","char","builtin","inserted"],style:{color:colors.char}},{types:["function"],style:{color:colors.function}},{types:["operator","entity","url","variable"],style:{color:colors.variable}},{types:["keyword"],style:{color:colors.keyword}},{types:["atrule","class-name"],style:{color:colors.className}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]};const __WEBPACK_DEFAULT_EXPORT__=theme},58925:(module,__unused_webpack_exports,__webpack_require__)=>{var _self=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
|
123
123
|
* Prism: Lightweight, robust, elegant syntax highlighting
|
124
124
|
*
|
125
125
|
* @license MIT <https://opensource.org/licenses/MIT>
|
@@ -362,7 +362,7 @@ ${namesToRegister.map(({variableName,uniqueLocalName})=>` reactHotLoader.regist
|
|
362
362
|
`)}exports.formatTitle=formatTitle;function componentIssueToString(value){return Array.isArray(value)?value.join(", "):value}exports.componentIssueToString=componentIssueToString;function deserializeWithBitId(dataStr){const data=JSON.parse(dataStr);return Object.keys(data).forEach(filePath=>{data[filePath]=data[filePath].map(id=>new component_id_1.ComponentID(id))}),data}exports.deserializeWithBitId=deserializeWithBitId},840:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DeprecatedDependencies=void 0;const component_issue_1=__webpack_require__(50581);class DeprecatedDependencies extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="dependencies used in the code were deprecated",this.solution="replace them with alternative dependencies. or remove them if not needed anymore",this.isTagBlocker=!1}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data.join(", ")}}exports.DeprecatedDependencies=DeprecatedDependencies},63087:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DuplicateComponentAndPackage=void 0;const component_issue_1=__webpack_require__(50581);class DuplicateComponentAndPackage extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="tracked component added as a package",this.solution="either remove the package from the workspace.jsonc (bit uninstall) or remove the component (bit remove)",this.isTagBlocker=!0}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data}}exports.DuplicateComponentAndPackage=DuplicateComponentAndPackage},60873:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ExternalEnvWithoutVersion=void 0;const component_issue_1=__webpack_require__(50581);class ExternalEnvWithoutVersion extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="failed loading env - external env without a version",this.solution="",this.isTagBlocker=!0}formatSolution(){return`(run "bit env set ${this.data.componentId} ${this.data.envId}")`}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data.envId}}exports.ExternalEnvWithoutVersion=ExternalEnvWithoutVersion},12839:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ImportFromDirectory=void 0;const component_issue_1=__webpack_require__(50581);class ImportFromDirectory extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="relative import from a directory",this.solution="change the import statement to a specific file",this.data={},this.isCacheBlocker=!1,this.isTagBlocker=!1}}exports.ImportFromDirectory=ImportFromDirectory},86826:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ImportNonMainFiles=void 0;const component_issue_1=__webpack_require__(50581);class ImportNonMainFiles extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="importing non-main files",this.solution="the dependency should expose its API from the main file",this.data={},this.isCacheBlocker=!1}}exports.ImportNonMainFiles=ImportNonMainFiles},86853:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RelativeComponentsAuthoredEntry=exports.MISSING_NESTED_DEPS_SPACE=exports.UntrackedFileDependencyEntry=exports.ComponentIssue=exports.MISSING_DEPS_SPACE=exports.IssuesNames=exports.IssuesClasses=exports.IssuesList=void 0;var issues_list_1=__webpack_require__(99838);Object.defineProperty(exports,"IssuesList",{enumerable:!0,get:function(){return issues_list_1.IssuesList}}),Object.defineProperty(exports,"IssuesClasses",{enumerable:!0,get:function(){return issues_list_1.IssuesClasses}}),Object.defineProperty(exports,"IssuesNames",{enumerable:!0,get:function(){return issues_list_1.IssuesNames}});var component_issue_1=__webpack_require__(50581);Object.defineProperty(exports,"MISSING_DEPS_SPACE",{enumerable:!0,get:function(){return component_issue_1.ISSUE_FORMAT_SPACE}}),Object.defineProperty(exports,"ComponentIssue",{enumerable:!0,get:function(){return component_issue_1.ComponentIssue}});var untracked_dependencies_1=__webpack_require__(89695);Object.defineProperty(exports,"UntrackedFileDependencyEntry",{enumerable:!0,get:function(){return untracked_dependencies_1.UntrackedFileDependencyEntry}}),Object.defineProperty(exports,"MISSING_NESTED_DEPS_SPACE",{enumerable:!0,get:function(){return untracked_dependencies_1.MISSING_NESTED_DEPS_SPACE}});var relative_components_authored_1=__webpack_require__(68545);Object.defineProperty(exports,"RelativeComponentsAuthoredEntry",{enumerable:!0,get:function(){return relative_components_authored_1.RelativeComponentsAuthoredEntry}})},99838:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.IssuesList=exports.IssuesClasses=void 0;const import_non_main_files_1=__webpack_require__(86826),missing_dependencies_on_fs_1=__webpack_require__(34904),missing_dists_1=__webpack_require__(47153),missing_packages_dependencies_on_fs_1=__webpack_require__(38568),missing_manually_configured_packages_1=__webpack_require__(97331),parse_errors_1=__webpack_require__(3185),relative_components_1=__webpack_require__(41420),relative_components_authored_1=__webpack_require__(68545),resolve_errors_1=__webpack_require__(5649),untracked_dependencies_1=__webpack_require__(89695),legacy_inside_harmony_1=__webpack_require__(66396),multiple_envs_1=__webpack_require__(88821),missing_links_from_nm_to_src_1=__webpack_require__(83813),circular_dependencies_1=__webpack_require__(65559),duplicate_component_and_package_1=__webpack_require__(63087),merge_config_has_conflict_1=__webpack_require__(2720),non_loaded_env_1=__webpack_require__(57524),external_env_without_version_1=__webpack_require__(60873),removed_dependencies_1=__webpack_require__(84981),self_reference_1=__webpack_require__(55088),import_from_directory_1=__webpack_require__(12839),deprecated_dependencies_1=__webpack_require__(840);exports.IssuesClasses={MissingPackagesDependenciesOnFs:missing_packages_dependencies_on_fs_1.MissingPackagesDependenciesOnFs,MissingManuallyConfiguredPackages:missing_manually_configured_packages_1.MissingManuallyConfiguredPackages,UntrackedDependencies:untracked_dependencies_1.UntrackedDependencies,ResolveErrors:resolve_errors_1.ResolveErrors,RelativeComponents:relative_components_1.RelativeComponents,RelativeComponentsAuthored:relative_components_authored_1.RelativeComponentsAuthored,ParseErrors:parse_errors_1.ParseErrors,MissingDists:missing_dists_1.MissingDists,LegacyInsideHarmony:legacy_inside_harmony_1.LegacyInsideHarmony,MissingDependenciesOnFs:missing_dependencies_on_fs_1.MissingDependenciesOnFs,ImportNonMainFiles:import_non_main_files_1.ImportNonMainFiles,MultipleEnvs:multiple_envs_1.MultipleEnvs,MissingLinksFromNodeModulesToSrc:missing_links_from_nm_to_src_1.MissingLinksFromNodeModulesToSrc,CircularDependencies:circular_dependencies_1.CircularDependencies,DuplicateComponentAndPackage:duplicate_component_and_package_1.DuplicateComponentAndPackage,MergeConfigHasConflict:merge_config_has_conflict_1.MergeConfigHasConflict,NonLoadedEnv:non_loaded_env_1.NonLoadedEnv,ExternalEnvWithoutVersion:external_env_without_version_1.ExternalEnvWithoutVersion,RemovedDependencies:removed_dependencies_1.RemovedDependencies,DeprecatedDependencies:deprecated_dependencies_1.DeprecatedDependencies,SelfReference:self_reference_1.SelfReference,ImportFromDirectory:import_from_directory_1.ImportFromDirectory};class IssuesList{constructor(_issues=[]){this._issues=_issues}get count(){return this._issues.length}isEmpty(){return this._issues.length===0}outputForCLI(){return this._issues.map(issue=>issue.outputForCLI()).join("")}toObject(){return this._issues.map(issue=>issue.toObject())}toObjectWithDataAsString(){return this._issues.map(issue=>Object.assign(Object.assign({},issue.toObject()),{data:issue.dataToString().trim()}))}add(issue){this._issues.push(issue)}delete(IssueClass){this._issues=this._issues.filter(issue=>issue.constructor.name!==IssueClass.name)}hasTagBlockerIssues(){return this._issues.some(issue=>issue.isTagBlocker)}getIssue(IssueClass){return this.getIssueByName(IssueClass.name)}getIssueByName(issueType){return this._issues.find(issue=>issue.constructor.name===issueType)}getAllIssues(){return this._issues}getAllIssueNames(){return this._issues.map(issue=>issue.constructor.name)}createIssue(IssueClass){const newIssue=new IssueClass;return this.add(newIssue),newIssue}getOrCreate(IssueClass){return this.getIssue(IssueClass)||this.createIssue(IssueClass)}shouldBlockSavingInCache(){return this._issues.some(issue=>issue.isCacheBlocker)}shouldBlockTagging(){return this._issues.some(issue=>issue.isTagBlocker)}filterNonTagBlocking(){return new IssuesList(this._issues.filter(issue=>issue.isTagBlocker))}toObjectIncludeDataAsString(){return this._issues.map(issue=>Object.assign(Object.assign({},issue.toObject()),{dataAsString:issue.dataToString()}))}serialize(){return this._issues.map(issue=>({type:issue.constructor.name,data:issue.serialize()}))}static deserialize(data){if(!Array.isArray(data))return new IssuesList;const issues=data.map(issue=>{const ClassName=issue.type;if(!Object.keys(exports.IssuesClasses).includes(ClassName))throw new Error(`issue type "${ClassName}" is not recognized.
|
363
363
|
the following are permitted ${Object.keys(exports.IssuesClasses).join(", ")}`);const issueInstance=new exports.IssuesClasses[ClassName];return issueInstance.data=issueInstance.deserialize(issue.data),issueInstance});return new IssuesList(issues)}}exports.IssuesList=IssuesList},66396:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LegacyInsideHarmony=void 0;const component_issue_1=__webpack_require__(50581);class LegacyInsideHarmony extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="legacy component inside Harmony workspace",this.solution="remove the component and re-create it via Harmony",this.isTagBlocker=!0}outputForCLI(){return(0,component_issue_1.formatTitle)(this.descriptionWithSolution,!1)}}exports.LegacyInsideHarmony=LegacyInsideHarmony},2720:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MergeConfigHasConflict=void 0;const component_issue_1=__webpack_require__(50581);class MergeConfigHasConflict extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="merge-conflict file has unresolved conflicts",this.solution="edit the merge-conflict file in the workspace root and resolve the conflicts",this.isTagBlocker=!0}outputForCLI(){return(0,component_issue_1.formatTitle)(this.descriptionWithSolution,!1)}}exports.MergeConfigHasConflict=MergeConfigHasConflict},34904:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MissingDependenciesOnFs=void 0;const component_issue_1=__webpack_require__(50581);class MissingDependenciesOnFs extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="non-existing dependency files",this.solution="make sure all files exists on your workspace",this.data={}}}exports.MissingDependenciesOnFs=MissingDependenciesOnFs},47153:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MissingDists=void 0;const component_issue_1=__webpack_require__(50581);class MissingDists extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="missing dists",this.solution='run "bit compile"',this.isTagBlocker=!1}outputForCLI(){return(0,component_issue_1.formatTitle)(this.descriptionWithSolution,!1)}}exports.MissingDists=MissingDists},83813:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MissingLinksFromNodeModulesToSrc=void 0;const component_issue_1=__webpack_require__(50581);class MissingLinksFromNodeModulesToSrc extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="missing links from node_modules to source",this.solution='run "bit link"',this.isTagBlocker=!1}outputForCLI(){return(0,component_issue_1.formatTitle)(this.descriptionWithSolution,!1)}}exports.MissingLinksFromNodeModulesToSrc=MissingLinksFromNodeModulesToSrc},97331:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MissingManuallyConfiguredPackages=void 0;const component_issue_1=__webpack_require__(50581);class MissingManuallyConfiguredPackages extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="missing packages that were manually set",this.solution='run "bit install"',this.data=[]}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data.join(", ")}}exports.MissingManuallyConfiguredPackages=MissingManuallyConfiguredPackages},38568:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MissingPackagesDependenciesOnFs=void 0;const component_issue_1=__webpack_require__(50581);class MissingPackagesDependenciesOnFs extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="missing packages or links from node_modules to the source",this.solution='run "bit install --add-missing-deps" to fix both issues',this.data=[]}dataToString(){return this.data.map(d=>`${component_issue_1.ISSUE_FORMAT_SPACE}${d.filePath} -> ${this.formatDataFunction(d.missingPackages)}`).join(`
|
364
364
|
`)}}exports.MissingPackagesDependenciesOnFs=MissingPackagesDependenciesOnFs},88821:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MultipleEnvs=void 0;const component_issue_1=__webpack_require__(50581);class MultipleEnvs extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="multiple envs",this.solution=`set the desired env by running "bit env set <component> <env>", if it doesn't work, run "bit aspect unset <component> <unwanted-env-id>". to keep troubleshooting run "bit aspect list <component-id>"`,this.isTagBlocker=!0}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data.join(", ")}}exports.MultipleEnvs=MultipleEnvs},57524:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.NonLoadedEnv=void 0;const component_issue_1=__webpack_require__(50581);class NonLoadedEnv extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="failed loading env",this.solution='run "bit install"',this.isTagBlocker=!0}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data}}exports.NonLoadedEnv=NonLoadedEnv},3185:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ParseErrors=void 0;const component_issue_1=__webpack_require__(50581);class ParseErrors extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="error found while parsing the file",this.solution="edit the file and fix the parsing error",this.data={}}}exports.ParseErrors=ParseErrors},68545:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RelativeComponentsAuthored=void 0;const component_id_1=__webpack_require__(99978),component_issue_1=__webpack_require__(50581);class RelativeComponentsAuthored extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="components with relative import statements found",this.solution='replace to module paths or use "bit link --rewire" to replace',this.data={},this.isCacheBlocker=!1,this.formatDataFunction=relativeComponentsAuthoredIssuesToString}serialize(){const obj=Object.keys(this.data).reduce((acc,fileName)=>(acc[fileName]=this.data[fileName].map(record=>({importSource:record.importSource,componentId:record.componentId.serialize(),relativePath:record.relativePath})),acc),{});return JSON.stringify(obj)}deserialize(dataStr){const data=JSON.parse(dataStr);return Object.keys(data).forEach(fileName=>{data[fileName]=data[fileName].map(record=>({importSource:record.importSource,componentId:component_id_1.ComponentID.deserialize(record.componentId),relativePath:record.relativePath}))}),data}}exports.RelativeComponentsAuthored=RelativeComponentsAuthored;function relativeComponentsAuthoredIssuesToString(relativeEntries){const stringifyEntry=entry=>`"${entry.importSource}" (${entry.componentId.toString()})`;return relativeEntries.map(stringifyEntry).join(", ")}},41420:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RelativeComponents=void 0;const component_issue_1=__webpack_require__(50581);class RelativeComponents extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="components with relative import statements found",this.solution="use module paths for imported components",this.data={},this.isCacheBlocker=!1}deserialize(data){return(0,component_issue_1.deserializeWithBitId)(data)}}exports.RelativeComponents=RelativeComponents},84981:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RemovedDependencies=void 0;const component_issue_1=__webpack_require__(50581);class RemovedDependencies extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="dependencies used in the code were deleted",this.solution='if the dependencies are no longer needed, remove them from the code. otherwise, to get it installed from main run "bit install <missing dep>". to undo the delete, run "bit recover"',this.isTagBlocker=!0}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data.join(", ")}}exports.RemovedDependencies=RemovedDependencies},5649:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ResolveErrors=void 0;const component_issue_1=__webpack_require__(50581);class ResolveErrors extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="error found while resolving the file dependencies",this.solution="see the log for the full error",this.data={}}}exports.ResolveErrors=ResolveErrors},55088:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SelfReference=void 0;const component_issue_1=__webpack_require__(50581);class SelfReference extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="a component has an import statement that points to itself",this.solution="edit the file and change the import statement to a relative path",this.data={},this.isTagBlocker=!0}}exports.SelfReference=SelfReference},89695:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.UntrackedDependencies=exports.MISSING_NESTED_DEPS_SPACE=void 0;const chalk_1=__importDefault(__webpack_require__(23729)),component_issue_1=__webpack_require__(50581);exports.MISSING_NESTED_DEPS_SPACE=" ".repeat(component_issue_1.ISSUE_FORMAT_SPACE_COUNT+2);class UntrackedDependencies extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="untracked file dependencies",this.solution='use "bit add <file>" to track untracked files as components',this.data={}}dataToString(){return Object.keys(this.data).map(k=>{let space=component_issue_1.ISSUE_FORMAT_SPACE;return this.data[k].nested&&(space=exports.MISSING_NESTED_DEPS_SPACE),`${space}${k} -> ${untrackedFilesComponentIssueToString(this.data[k])}`}).join(`
|
365
|
-
`)}}exports.UntrackedDependencies=UntrackedDependencies;function untrackedFilesComponentIssueToString(value){return value.untrackedFiles.map(curr=>curr.existing?`${chalk_1.default.yellow(curr.relativePath)}`:curr.relativePath).join(", ")}},24636:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.VersionDropdown=exports.DetailedVersion=exports.SimpleVersion=void 0;var version_dropdown_placeholder_1=__webpack_require__(38052);Object.defineProperty(exports,"SimpleVersion",{enumerable:!0,get:function(){return version_dropdown_placeholder_1.SimpleVersion}}),Object.defineProperty(exports,"DetailedVersion",{enumerable:!0,get:function(){return version_dropdown_placeholder_1.DetailedVersion}});var version_dropdown_1=__webpack_require__(18827);Object.defineProperty(exports,"VersionDropdown",{enumerable:!0,get:function(){return version_dropdown_1.VersionDropdown}})},43272:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LaneInfo=void 0;var lane_info_1=__webpack_require__(89053);Object.defineProperty(exports,"LaneInfo",{enumerable:!0,get:function(){return lane_info_1.LaneInfo}})},89053:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.LaneInfo=void 0;const lanes_ui_models_lanes_model_1=__webpack_require__(97223),react_1=__importDefault(__webpack_require__(59496)),design_ui_surfaces_menu_link_item_1=__webpack_require__(41787),evangelist_elements_icon_1=__webpack_require__(86144),lane_info_module_scss_1=__importDefault(__webpack_require__(73095));function LaneInfo({id,currentLane}){const isCurrent=currentLane&&id.isEqual(currentLane.id);return react_1.default.createElement("div",{key:id.toString()},react_1.default.createElement(design_ui_surfaces_menu_link_item_1.MenuLinkItem,{active:isCurrent,href:lanes_ui_models_lanes_model_1.LanesModel.getLaneUrl(id),className:lane_info_module_scss_1.default.versionRow},react_1.default.createElement("span",null,react_1.default.createElement(evangelist_elements_icon_1.Icon,{className:lane_info_module_scss_1.default.laneIcon,of:"lane"}),id.toString())))}exports.LaneInfo=LaneInfo},38052:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.DetailedVersion=exports.SimpleVersion=void 0;const react_1=__importDefault(__webpack_require__(59496)),design_ui_styles_ellipsis_1=__webpack_require__(2997),classnames_1=__importDefault(__webpack_require__(97754)),semver=__importStar(__webpack_require__(9131)),evangelist_elements_icon_1=__webpack_require__(86144),design_ui_time_ago_1=__webpack_require__(59453),design_ui_avatar_1=__webpack_require__(14452),base_ui_loaders_skeleton_1=__webpack_require__(20298),version_dropdown_placeholder_module_scss_1=__importDefault(__webpack_require__(77014));function SimpleVersion(_a){var{currentVersion,className,disabled,hasMoreVersions,isTag=version=>semver.valid(version)!==null,useCurrentVersionLog,showFullVersion,loading}=_a,rest=__rest(_a,["currentVersion","className","disabled","hasMoreVersions","isTag","useCurrentVersionLog","showFullVersion","loading"]);if(loading)return react_1.default.createElement(base_ui_loaders_skeleton_1.WordSkeleton,{className:version_dropdown_placeholder_module_scss_1.default.loader,length:9});const formattedVersion=showFullVersion||isTag(currentVersion)?currentVersion:currentVersion?.slice(0,6);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(version_dropdown_placeholder_module_scss_1.default.simple,className,disabled&&version_dropdown_placeholder_module_scss_1.default.disabled)}),react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:(0,classnames_1.default)(version_dropdown_placeholder_module_scss_1.default.versionName),onClick:rest.onClick},formattedVersion),hasMoreVersions&&react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"fat-arrow-down",onClick:rest.onClick}))}exports.SimpleVersion=SimpleVersion;function DetailedVersion(_a){var{currentVersion,className,disabled,hasMoreVersions,isTag=version=>semver.valid(version)!==null,loading,useCurrentVersionLog,showFullVersion}=_a,rest=__rest(_a,["currentVersion","className","disabled","hasMoreVersions","isTag","loading","useCurrentVersionLog","showFullVersion"]);const currentVersionLog=useCurrentVersionLog?.({skip:loading,version:currentVersion}),{displayName,message,username,email,date:_date,profileImage}=currentVersionLog||{},author=react_1.default.useMemo(()=>({displayName:displayName??"",email,name:username??"",profileImage}),[displayName,email,username,profileImage]),formattedVersion=showFullVersion||isTag(currentVersion)?currentVersion:currentVersion?.slice(0,6),date=_date?new Date(+_date):void 0,timestamp=react_1.default.useMemo(()=>date?new Date(+date).toString():new Date().toString(),[date]);return loading?react_1.default.createElement(base_ui_loaders_skeleton_1.WordSkeleton,{className:version_dropdown_placeholder_module_scss_1.default.loader,length:9}):react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(version_dropdown_placeholder_module_scss_1.default.detailed,className,disabled&&version_dropdown_placeholder_module_scss_1.default.disabled)}),react_1.default.createElement(design_ui_avatar_1.UserAvatar,{size:24,account:author??{},className:version_dropdown_placeholder_module_scss_1.default.versionUserAvatar,showTooltip:!0,onClick:rest.onClick}),react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:(0,classnames_1.default)(version_dropdown_placeholder_module_scss_1.default.versionName),onClick:rest.onClick},formattedVersion),commitMessage(message,rest.onClick),react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:version_dropdown_placeholder_module_scss_1.default.versionTimestamp,onClick:rest.onClick},react_1.default.createElement(design_ui_time_ago_1.TimeAgo,{date:timestamp,onClick:rest.onClick})),hasMoreVersions&&react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"fat-arrow-down",onClick:rest.onClick}))}exports.DetailedVersion=DetailedVersion;function commitMessage(message,onClick){return!message||message===""?react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:version_dropdown_placeholder_module_scss_1.default.emptyMessage,onClick},"No commit message"):react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:version_dropdown_placeholder_module_scss_1.default.commitMessage,onClick},message)}},18827:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.VersionDropdown=exports.LOCAL_VERSION=void 0;const react_1=__importStar(__webpack_require__(59496)),design_ui_surfaces_menu_link_item_1=__webpack_require__(41787),evangelist_surfaces_dropdown_1=__webpack_require__(30566),ui_foundation_ui_use_box_tab_1=__webpack_require__(92475),design_ui_avatar_1=__webpack_require__(14452),base_ui_loaders_skeleton_1=__webpack_require__(20298),classnames_1=__importDefault(__webpack_require__(97754)),version_dropdown_module_scss_1=__importDefault(__webpack_require__(37122)),version_info_1=__webpack_require__(27085),lane_info_1=__webpack_require__(43272),version_dropdown_placeholder_1=__webpack_require__(38052);exports.LOCAL_VERSION="workspace",exports.VersionDropdown=react_1.default.memo(_VersionDropdown);const VersionMenu=react_1.default.memo(_VersionMenu);function _VersionDropdown(_a){var{currentVersion,latestVersion,localVersion,useCurrentVersionLog,hasMoreVersions,loading,overrideVersionHref,className,placeholderClassName,getActiveTabIndex,dropdownClassName,menuClassName,showVersionDetails=!0,disabled,PlaceholderComponent:_PlaceholderComponent,currentLane,useComponentVersions,lanes}=_a,rest=__rest(_a,["currentVersion","latestVersion","localVersion","useCurrentVersionLog","hasMoreVersions","loading","overrideVersionHref","className","placeholderClassName","getActiveTabIndex","dropdownClassName","menuClassName","showVersionDetails","disabled","PlaceholderComponent","currentLane","useComponentVersions","lanes"]);const[key,setKey]=(0,react_1.useState)(0),singleVersion=!hasMoreVersions,[open,setOpen]=(0,react_1.useState)(!1);react_1.default.useEffect(()=>{loading&&open&&setOpen(!1)},[loading]);const handlePlaceholderClicked=e=>{loading||e.target===e.currentTarget&&setOpen(o=>!o)},defaultPlaceholder=react_1.default.createElement(version_dropdown_placeholder_1.SimpleVersion,{useCurrentVersionLog,disabled,className:placeholderClassName,currentVersion,onClick:handlePlaceholderClicked,hasMoreVersions,loading,showFullVersion:currentVersion==="workspace"}),PlaceholderComponent=_PlaceholderComponent?react_1.default.createElement(_PlaceholderComponent,{useCurrentVersionLog,disabled,className:placeholderClassName,currentVersion,onClick:handlePlaceholderClicked,hasMoreVersions,loading,showFullVersion:currentVersion==="workspace"}):defaultPlaceholder;return disabled||singleVersion&&!loading?react_1.default.createElement("div",{className:(0,classnames_1.default)(version_dropdown_module_scss_1.default.noVersions,className)},PlaceholderComponent):react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(version_dropdown_module_scss_1.default.versionDropdown,className)}),react_1.default.createElement(evangelist_surfaces_dropdown_1.Dropdown,{className:(0,classnames_1.default)(version_dropdown_module_scss_1.default.dropdown,dropdownClassName),dropClass:(0,classnames_1.default)(version_dropdown_module_scss_1.default.menu,menuClassName),open,onClick:handlePlaceholderClicked,onClickOutside:()=>setOpen(!1),onChange:(_e,_open)=>_open&&setKey(x=>x+1),PlaceholderComponent:_a2=>{var{children}=_a2,other=__rest(_a2,["children"]);return react_1.default.createElement("div",Object.assign({},other,{className:placeholderClassName,onClick:handlePlaceholderClicked}),children)},placeholder:PlaceholderComponent},react_1.default.createElement(VersionMenu,{className:menuClassName,key,currentVersion,latestVersion,localVersion,overrideVersionHref,showVersionDetails,currentLane,getActiveTabIndex,lanes,useVersions:useComponentVersions,open})))}const defaultActiveTabIndex=(currentVersion,tabs=[],tags,snaps)=>(snaps||[]).some(snap=>snap.version===currentVersion)?tabs.findIndex(tab=>tab.name==="SNAP"):0,VERSION_TAB_NAMES=["TAG","SNAP","LANE"];function _VersionMenu(_a){var _b,_c,{currentVersion,localVersion,latestVersion,overrideVersionHref,showVersionDetails,useVersions,currentLane,lanes,getActiveTabIndex=defaultActiveTabIndex,loading:loadingFromProps,open}=_a,rest=__rest(_a,["currentVersion","localVersion","latestVersion","overrideVersionHref","showVersionDetails","useVersions","currentLane","lanes","getActiveTabIndex","loading","open"]);const{snaps,tags,loading:loadingVersions}=useVersions?.()||{},loading=loadingFromProps||loadingVersions,tabs=react_1.default.useMemo(()=>VERSION_TAB_NAMES.map(name=>{switch(name){case"SNAP":return{name,payload:snaps||[]};case"LANE":return{name,payload:lanes||[]};default:return{name,payload:tags||[]}}}).filter(tab=>tab.payload.length>0),[snaps?.length,tags?.length,lanes?.length,loading]),[activeTabIndex,setActiveTab]=react_1.default.useState(getActiveTabIndex(currentVersion,tabs,tags,snaps,currentLane)),activeTab=react_1.default.useMemo(()=>activeTabIndex!==void 0?tabs[activeTabIndex]:void 0,[activeTabIndex,tabs]);react_1.default.useEffect(()=>{if(!currentLane||tabs.length===0)return;const _activeTabIndex=getActiveTabIndex(currentVersion,tabs,tags,snaps,currentLane);_activeTabIndex!==activeTabIndex&&setActiveTab(_activeTabIndex)},[currentLane,tabs.length,tags?.length,snaps?.length,currentVersion,loading]);const multipleTabs=tabs.length>1,message=multipleTabs?"Switch to view tags, snaps, or lanes":`Switch between ${(_b=tabs[0])===null||_b===void 0?void 0:_b.name.toLocaleLowerCase()}s`,showTab=activeTabIndex!==void 0&&((_c=tabs[activeTabIndex])===null||_c===void 0?void 0:_c.payload.length)>0,_rowRenderer=react_1.default.useCallback(function({index}){const{name,payload=[]}=activeTab||{},item=payload[index];if(!item)return null;if(name==="LANE"){const lane=item;return react_1.default.createElement(lane_info_1.LaneInfo,Object.assign({key:lane.id.toString(),currentLane},lane))}const version=item;return react_1.default.createElement(version_info_1.VersionInfo,Object.assign({key:version.version,currentVersion,latestVersion,overrideVersionHref,showDetails:showVersionDetails},version))},[activeTab,currentVersion,latestVersion,showVersionDetails,currentLane?.id.toString(),showTab]),rowRenderer=react_1.default.useMemo(()=>showTab&&activeTab?_rowRenderer:()=>null,[showTab,activeTab,_rowRenderer]),ActiveTab=react_1.default.useMemo(()=>activeTab?.payload.map((payload,index)=>rowRenderer({index})),[activeTab]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(version_dropdown_module_scss_1.default.versionMenuContainer,!open&&version_dropdown_module_scss_1.default.hide)}),react_1.default.createElement("div",{className:version_dropdown_module_scss_1.default.top},loading&&react_1.default.createElement(base_ui_loaders_skeleton_1.LineSkeleton,{count:6,className:version_dropdown_module_scss_1.default.loader}),!loading&&react_1.default.createElement("div",{className:(0,classnames_1.default)(version_dropdown_module_scss_1.default.titleContainer,version_dropdown_module_scss_1.default.title)},message),!loading&&localVersion&&react_1.default.createElement(design_ui_surfaces_menu_link_item_1.MenuLinkItem,{href:"?",active:currentVersion===exports.LOCAL_VERSION,className:(0,classnames_1.default)(version_dropdown_module_scss_1.default.versionRow,version_dropdown_module_scss_1.default.localVersion)},react_1.default.createElement("div",{className:version_dropdown_module_scss_1.default.version},react_1.default.createElement(design_ui_avatar_1.UserAvatar,{size:24,account:{},className:version_dropdown_module_scss_1.default.versionUserAvatar}),react_1.default.createElement("span",{className:version_dropdown_module_scss_1.default.versionName},exports.LOCAL_VERSION)))),react_1.default.createElement("div",{className:(0,classnames_1.default)(multipleTabs&&version_dropdown_module_scss_1.default.tabs)},multipleTabs&&tabs.map(({name},index)=>react_1.default.createElement(ui_foundation_ui_use_box_tab_1.Tab,{className:version_dropdown_module_scss_1.default.tab,key:name,isActive:activeTabIndex===index,onClick:()=>setActiveTab(index)},name))),react_1.default.createElement("div",{className:version_dropdown_module_scss_1.default.versionContainerRoot},ActiveTab))}},27085:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.VersionInfo=void 0;var version_info_1=__webpack_require__(62078);Object.defineProperty(exports,"VersionInfo",{enumerable:!0,get:function(){return version_info_1.VersionInfo}})},62078:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.VersionInfo=void 0;const design_ui_surfaces_menu_link_item_1=__webpack_require__(41787),design_ui_time_ago_1=__webpack_require__(59453),component_ui_version_label_1=__webpack_require__(76777),react_1=__importStar(__webpack_require__(59496)),design_ui_avatar_1=__webpack_require__(14452),design_ui_styles_ellipsis_1=__webpack_require__(2997),classnames_1=__importDefault(__webpack_require__(97754)),version_info_module_scss_1=__importDefault(__webpack_require__(46922));exports.VersionInfo=react_1.default.memo(react_1.default.forwardRef(_VersionInfo));function _VersionInfo({version,currentVersion,latestVersion,date,username,displayName,email,overrideVersionHref,showDetails,message,tag,profileImage},ref){const isCurrent=version===currentVersion,author=(0,react_1.useMemo)(()=>({displayName:displayName??"",email,name:username??"",profileImage}),[displayName,email,username,profileImage]),timestamp=(0,react_1.useMemo)(()=>date?new Date(parseInt(date)).toString():new Date().toString(),[date]),currentVersionRef=(0,react_1.useRef)(null);(0,react_1.useEffect)(()=>{var _a;isCurrent&&((_a=currentVersionRef.current)===null||_a===void 0||_a.scrollIntoView({block:"nearest"}))},[isCurrent]);const href=overrideVersionHref?overrideVersionHref(version):`?version=${version}`,formattedVersion=(0,react_1.useMemo)(()=>tag?version:version.slice(0,6),[tag,version]),isLatest=version===latestVersion;return react_1.default.createElement("div",{ref:ref||currentVersionRef},react_1.default.createElement(design_ui_surfaces_menu_link_item_1.MenuLinkItem,{active:isCurrent,href,className:version_info_module_scss_1.default.versionRow},react_1.default.createElement("div",{className:version_info_module_scss_1.default.version},react_1.default.createElement(design_ui_avatar_1.UserAvatar,{size:24,account:author,className:version_info_module_scss_1.default.versionUserAvatar,showTooltip:!0}),react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:(0,classnames_1.default)(version_info_module_scss_1.default.versionName)},formattedVersion),isLatest&&react_1.default.createElement(component_ui_version_label_1.VersionLabel,{status:"latest"}),react_1.default.createElement(CommitMessage,{message,showDetails})),react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:version_info_module_scss_1.default.versionTimestamp},react_1.default.createElement(design_ui_time_ago_1.TimeAgo,{date:timestamp}))))}function CommitMessage({message,showDetails}){return showDetails?!message||message===""?react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:version_info_module_scss_1.default.emptyMessage},"No commit message"):react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:version_info_module_scss_1.default.commitMessage},message):null}},69301:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.AspectEntry=void 0;class AspectEntry{constructor(id,legacyEntry){this.id=id,this.legacyEntry=legacyEntry}get legacy(){return this.legacyEntry}get isLegacy(){return!!this.config?.__legacy}get config(){return this.legacy.config}set config(config){this.legacy.config=config}get data(){return this.legacy.data}get isRemoved(){return this.legacy.isRemoved}set data(val){this.legacy.data=val}transform(newData){const newEntry=this.clone();return newEntry.data=newData,new AspectEntry(this.id,newEntry.legacy)}clone(){return new AspectEntry(this.id,this.legacyEntry.clone())}serialize(){return{id:this.id.toString(),config:this.config,data:this.data,icon:"https://static.bit.dev/extensions-icons/default.svg"}}}exports.AspectEntry=AspectEntry},11846:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;function _anyFs(){const data=__webpack_require__(21186);return _anyFs=function(){return data},data}function _eol(){const data=__webpack_require__(58225);return _eol=function(){return data},data}function _path(){const data=_interopRequireDefault(__webpack_require__(62005));return _path=function(){return data},data}function _toolboxPath(){const data=__webpack_require__(31461);return _toolboxPath=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class ComponentFS extends _anyFs().MemoryFS{constructor(files){super();this.files=files}get hash(){return""}byRegex(extension){return this.files.filter(file=>file.path.match(extension))}byGlob(patterns){const{includePatterns,excludePatterns}=(0,_toolboxPath().splitPatterns)(patterns);return this.files.filter(file=>(0,_toolboxPath().matchPatterns)(file.relative,includePatterns,excludePatterns))}toObject(){return this.files.map(file=>({path:file.path,contents:file.contents}))}static fromVinyls(files){const fs=new ComponentFS(files);return files.forEach(file=>{let dirPath=file.relativeDir;dirPath.startsWith("/")||(dirPath=_path().default.join("/",dirPath)),fs.mkdirpSync(dirPath),fs.writeFileSync(`/${file.relative}`,(0,_eol().auto)(file.contents||""))}),fs}}exports.default=ComponentFS},87690:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentMap=void 0;class ComponentMap{constructor(hashMap){this.hashMap=hashMap}byComponent(component){return this.hashMap.get(component.id.toString())}get components(){return this.toArray().map(([component])=>component)}get(component){return this.hashMap.get(component.id.toString())}getValueByComponentId(componentId){const tuple=this.hashMap.get(componentId.toString());return tuple?tuple[1]:null}toArray(){return Array.from(this.hashMap.values())}map(predicate){const tuples=this.toArray().map(([component,value])=>{const newValue=predicate(value,component);return[component.id.toString(),[component,newValue]]});return new ComponentMap(new Map(tuples))}async asyncMap(predicate){const tuplesP=this.toArray().map(async([component,value])=>{const newValue=await predicate(value,component);return[component.id.toString(),[component,newValue]]}),tuples=await Promise.all(tuplesP);return new ComponentMap(new Map(tuples))}forEach(predicate){this.toArray().forEach(([component,value])=>{predicate(value,component)})}flattenValue(){return this.toArray().reduce((acc,[,value])=>(acc=acc.concat(value),acc),[])}filter(predicate){const asMap=this.toArray().filter(([,value])=>predicate(value)).map(([component,value])=>[component.id.toString(),[component,value]]);return new ComponentMap(new Map(asMap))}keys(){return this.hashMap.keys()}static create(rawMap){const newMap=rawMap.map(([component,data])=>[component.id.toString(),[component,data]]);return new ComponentMap(new Map(newMap))}static as(components,predicate){const tuples=components.map(component=>[component.id.toString(),[component,predicate(component)]]);return new ComponentMap(new Map(tuples))}static async asAsync(components,predicate){const tuples=await Promise.all(components.map(async component=>[component.id.toString(),[component,await predicate(component)]]));return new ComponentMap(new Map(tuples))}}exports.ComponentMap=ComponentMap},12178:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"ComponentMap",{enumerable:!0,get:function(){return _componentMap().ComponentMap}});function _componentMap(){const data=__webpack_require__(87690);return _componentMap=function(){return data},data}},42259:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.ComponentAspect=void 0;function _harmony(){const data=__webpack_require__(55669);return _harmony=function(){return data},data}const ComponentAspect=exports.ComponentAspect=_harmony().Aspect.create({id:"teambit.component/component",dependencies:[],defaultConfig:{}});var _default=exports.default=ComponentAspect},60195:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Component=void 0;function _toolboxString(){const data=__webpack_require__(58315);return _toolboxString=function(){return data},data}function _bitError(){const data=__webpack_require__(74155);return _bitError=function(){return data},data}function _lodash(){const data=__webpack_require__(32699);return _lodash=function(){return data},data}function _tagMap(){const data=__webpack_require__(50310);return _tagMap=function(){return data},data}function _exceptions(){const data=__webpack_require__(54428);return _exceptions=function(){return data},data}class Component{constructor(id,head=null,_state,tags=new(_tagMap()).TagMap,factory){this.id=id,this.head=head,this._state=_state,this.tags=tags,this.factory=factory}get mainFile(){return this.state.mainFile}get state(){return this._state}set state(state){this._state=state}get config(){return this.state.config}get filesystem(){return this.state.filesystem}get buildStatus(){return this._state._consumer.buildStatus}get homepage(){return this._state._consumer._getHomepage()}get headTag(){if(!!this.head)return this.tags.byHash(this.head.hash)}get latest(){if(!!this.head)try{return this.tags.getLatest()}catch(err){if(err instanceof _exceptions().CouldNotFindLatest)return this.head.hash;throw err}}get(id){return this.state.aspects.get(id)?.serialize()}async getLogs(filter){const allLogs=await this.factory.getLogs(this.id,!1,filter?.head);if(!filter)return allLogs;const{type,limit,offset,sort}=filter,typeFilter=snap=>type==="tag"?snap.tag:type==="snap"?!snap.tag:!0;let filteredLogs=type&&allLogs.filter(typeFilter)||allLogs;return sort!=="asc"&&(filteredLogs=filteredLogs.reverse()),limit&&(filteredLogs=(0,_lodash().slice)(filteredLogs,offset,limit+(offset||0))),filteredLogs}getDependencies(){return this.factory.getDependencies(this)}getPackageName(){return this.factory.componentPackageName(this)}stringify(){return JSON.stringify({id:this.id,head:this.head})}get displayName(){return this.id.name.split("-").map(token=>(0,_toolboxString().capitalize)(token)).join(" ")}tag(version){}isModified(){return this.factory.isModified(this)}isDeleted(){return this.state._consumer.isRemoved()}isOutdated(){if(!this.latest)return!1;const latestTag=this.tags.byVersion(this.latest);return latestTag?this.head?.hash!==latestTag?.hash:!1}isNew(){return Promise.resolve(this.head===null)}isExported(){return this.factory.isExported(this.id)}loadState(snapId){return this.factory.getState(this.id,snapId)}loadSnap(snapId){const snapToGet=snapId||this.head?.hash;if(!snapToGet)throw new(_bitError()).BitError("could not load snap for new components");return this.factory.getSnap(this.id,snapToGet)}snapsIterable(snapId,options={}){const snapToStart=snapId||this.head?.hash;let nextSnaps=[snapToStart],done;snapToStart||(done=!0);const iterator={next:async()=>{if(done)return{value:void 0,done};const currSnapId=nextSnaps.shift(),snap=await this.loadSnap(currSnapId);return snap.parents&&snap.parents.length&&(options.firstParentOnly?nextSnaps.push(snap.parents[0]):nextSnaps=nextSnaps.concat(snap.parents)),nextSnaps.length?options.stopFn&&(done=await options.stopFn(snap)):done=!0,{value:snap,done:void 0}}};return{[Symbol.asyncIterator]:()=>iterator}}async getClosestTag(snapToStartFrom){const tagsHashMap=this.tags.getHashMap(),stopFn=async snap=>!!tagsHashMap.has(snap.hash),iterable=this.snapsIterable(snapToStartFrom,{firstParentOnly:!0,stopFn}),snaps=[];for await(const snap of iterable)snaps.push(snap);if(snaps.length){const hashOfLastSnap=snaps[snaps.length-1].hash;return tagsHashMap.get(hashOfLastSnap)}}getTag(){const currentVersion=this.id.version;if(!!currentVersion)return this.tags.byVersion(currentVersion)||this.tags.byHash(currentVersion)}getSnapHash(){if(!this.id.hasVersion())return;const tag=this.tags.byVersion(this.id.version);return tag?tag.hash:this.id.version}async getCurrentSnap(){const snap=this.getSnapHash();if(!!snap)return this.loadSnap(snap)}checkout(version){}write(path,fs){}equals(component){return component.id.toString()===this.id.toString()}}exports.Component=Component},5075:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Config=void 0;class Config{constructor(consumerComponent){this.consumerComponent=consumerComponent}get main(){return this.consumerComponent.mainFile}get extensions(){return this.consumerComponent.extensions}}exports.Config=Config},90406:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CouldNotFindLatest=void 0;class CouldNotFindLatest extends Error{constructor(semverArray){super(`could not find latest semver in array: ${semverArray.join(", ")}`)}report(){return this.message}}exports.CouldNotFindLatest=CouldNotFindLatest},339:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.HostNotFound=void 0;class HostNotFound extends Error{constructor(hostName){super();this.hostName=hostName}toString(){return`[component] error: host '${this.hostName}' was not found`}}exports.HostNotFound=HostNotFound},54428:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"CouldNotFindLatest",{enumerable:!0,get:function(){return _couldNotFindLatest().CouldNotFindLatest}}),Object.defineProperty(exports,"HostNotFound",{enumerable:!0,get:function(){return _hostNotFound().HostNotFound}}),Object.defineProperty(exports,"MainFileNotFound",{enumerable:!0,get:function(){return _mainFileNotFound().MainFileNotFound}}),Object.defineProperty(exports,"NothingToSnap",{enumerable:!0,get:function(){return _nothingToSnap().default}});function _nothingToSnap(){const data=_interopRequireDefault(__webpack_require__(83277));return _nothingToSnap=function(){return data},data}function _hostNotFound(){const data=__webpack_require__(339);return _hostNotFound=function(){return data},data}function _couldNotFindLatest(){const data=__webpack_require__(90406);return _couldNotFindLatest=function(){return data},data}function _mainFileNotFound(){const data=__webpack_require__(58904);return _mainFileNotFound=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},58904:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MainFileNotFound=void 0;class MainFileNotFound extends Error{constructor(id,mainFile){super();this.id=id,this.mainFile=mainFile}toString(){return`[component] error: main file ${this.mainFile} for component ${this.id.toString()} was not found`}}exports.MainFileNotFound=MainFileNotFound},83277:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;class NothingToSnap extends Error{}exports.default=NothingToSnap},72963:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentHostModel=void 0;function _ui(){const data=__webpack_require__(4744);return _ui=function(){return data},data}class ComponentHostModel{constructor(name,components){this.name=name,this.components=components}static from(data){return new ComponentHostModel(data.getHost.name,_ui().ComponentModel.fromArray(data.getHost.list))}}exports.ComponentHostModel=ComponentHostModel},23384:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={useComponentHost:!0};Object.defineProperty(exports,"useComponentHost",{enumerable:!0,get:function(){return _useComponentHost().useComponentHost}});function _useComponentHost(){const data=__webpack_require__(28796);return _useComponentHost=function(){return data},data}var _componentHostModel=__webpack_require__(72963);Object.keys(_componentHostModel).forEach(function(key){key==="default"||key==="__esModule"||Object.prototype.hasOwnProperty.call(_exportNames,key)||key in exports&&exports[key]===_componentHostModel[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _componentHostModel[key]}})})},28796:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useComponentHost=useComponentHost;function _uiFoundationUiHooks(){const data=__webpack_require__(63043);return _uiFoundationUiHooks=function(){return data},data}function _client(){const data=__webpack_require__(39713);return _client=function(){return data},data}function _componentHostModel(){const data=__webpack_require__(72963);return _componentHostModel=function(){return data},data}const COMPONENT_HOST=(0,_client().gql)`
|
365
|
+
`)}}exports.UntrackedDependencies=UntrackedDependencies;function untrackedFilesComponentIssueToString(value){return value.untrackedFiles.map(curr=>curr.existing?`${chalk_1.default.yellow(curr.relativePath)}`:curr.relativePath).join(", ")}},24636:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.VersionDropdown=exports.DetailedVersion=exports.SimpleVersion=void 0;var version_dropdown_placeholder_1=__webpack_require__(38052);Object.defineProperty(exports,"SimpleVersion",{enumerable:!0,get:function(){return version_dropdown_placeholder_1.SimpleVersion}}),Object.defineProperty(exports,"DetailedVersion",{enumerable:!0,get:function(){return version_dropdown_placeholder_1.DetailedVersion}});var version_dropdown_1=__webpack_require__(18827);Object.defineProperty(exports,"VersionDropdown",{enumerable:!0,get:function(){return version_dropdown_1.VersionDropdown}})},43272:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LaneInfo=void 0;var lane_info_1=__webpack_require__(89053);Object.defineProperty(exports,"LaneInfo",{enumerable:!0,get:function(){return lane_info_1.LaneInfo}})},89053:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.LaneInfo=void 0;const lanes_ui_models_lanes_model_1=__webpack_require__(97223),react_1=__importDefault(__webpack_require__(59496)),design_ui_surfaces_menu_link_item_1=__webpack_require__(41787),evangelist_elements_icon_1=__webpack_require__(86144),lane_info_module_scss_1=__importDefault(__webpack_require__(73095));function LaneInfo({id,currentLane}){const isCurrent=currentLane&&id.isEqual(currentLane.id);return react_1.default.createElement("div",{key:id.toString()},react_1.default.createElement(design_ui_surfaces_menu_link_item_1.MenuLinkItem,{active:isCurrent,href:lanes_ui_models_lanes_model_1.LanesModel.getLaneUrl(id),className:lane_info_module_scss_1.default.versionRow},react_1.default.createElement("span",null,react_1.default.createElement(evangelist_elements_icon_1.Icon,{className:lane_info_module_scss_1.default.laneIcon,of:"lane"}),id.toString())))}exports.LaneInfo=LaneInfo},38052:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.DetailedVersion=exports.SimpleVersion=void 0;const react_1=__importDefault(__webpack_require__(59496)),design_ui_styles_ellipsis_1=__webpack_require__(2997),classnames_1=__importDefault(__webpack_require__(97754)),semver=__importStar(__webpack_require__(9131)),evangelist_elements_icon_1=__webpack_require__(86144),design_ui_time_ago_1=__webpack_require__(59453),design_ui_avatar_1=__webpack_require__(14452),base_ui_loaders_skeleton_1=__webpack_require__(20298),version_dropdown_placeholder_module_scss_1=__importDefault(__webpack_require__(77014));function SimpleVersion(_a){var{currentVersion,className,disabled,hasMoreVersions,isTag=version=>semver.valid(version)!==null,useCurrentVersionLog,showFullVersion,loading}=_a,rest=__rest(_a,["currentVersion","className","disabled","hasMoreVersions","isTag","useCurrentVersionLog","showFullVersion","loading"]);if(loading)return react_1.default.createElement(base_ui_loaders_skeleton_1.WordSkeleton,{className:version_dropdown_placeholder_module_scss_1.default.loader,length:9});const formattedVersion=showFullVersion||isTag(currentVersion)?currentVersion:currentVersion?.slice(0,6);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(version_dropdown_placeholder_module_scss_1.default.simple,className,disabled&&version_dropdown_placeholder_module_scss_1.default.disabled)}),react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:(0,classnames_1.default)(version_dropdown_placeholder_module_scss_1.default.versionName),onClick:rest.onClick},formattedVersion),hasMoreVersions&&react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"fat-arrow-down",onClick:rest.onClick}))}exports.SimpleVersion=SimpleVersion;function DetailedVersion(_a){var{currentVersion,className,disabled,hasMoreVersions,isTag=version=>semver.valid(version)!==null,loading,useCurrentVersionLog,showFullVersion}=_a,rest=__rest(_a,["currentVersion","className","disabled","hasMoreVersions","isTag","loading","useCurrentVersionLog","showFullVersion"]);const currentVersionLog=useCurrentVersionLog?.({skip:loading,version:currentVersion}),{displayName,message,username,email,date:_date,profileImage}=currentVersionLog||{},author=react_1.default.useMemo(()=>({displayName:displayName??"",email,name:username??"",profileImage}),[displayName,email,username,profileImage]),formattedVersion=showFullVersion||isTag(currentVersion)?currentVersion:currentVersion?.slice(0,6),date=_date?new Date(+_date):void 0,timestamp=react_1.default.useMemo(()=>date?new Date(+date).toString():new Date().toString(),[date]);return loading?react_1.default.createElement(base_ui_loaders_skeleton_1.WordSkeleton,{className:version_dropdown_placeholder_module_scss_1.default.loader,length:9}):react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(version_dropdown_placeholder_module_scss_1.default.detailed,className,disabled&&version_dropdown_placeholder_module_scss_1.default.disabled)}),react_1.default.createElement(design_ui_avatar_1.UserAvatar,{size:24,account:author??{},className:version_dropdown_placeholder_module_scss_1.default.versionUserAvatar,showTooltip:!0,onClick:rest.onClick}),react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:(0,classnames_1.default)(version_dropdown_placeholder_module_scss_1.default.versionName),onClick:rest.onClick},formattedVersion),commitMessage(message,rest.onClick),react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:version_dropdown_placeholder_module_scss_1.default.versionTimestamp,onClick:rest.onClick},react_1.default.createElement(design_ui_time_ago_1.TimeAgo,{date:timestamp,onClick:rest.onClick})),hasMoreVersions&&react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"fat-arrow-down",onClick:rest.onClick}))}exports.DetailedVersion=DetailedVersion;function commitMessage(message,onClick){return!message||message===""?react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:version_dropdown_placeholder_module_scss_1.default.emptyMessage,onClick},"No commit message"):react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:version_dropdown_placeholder_module_scss_1.default.commitMessage,onClick},message)}},18827:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.VersionDropdown=exports.LOCAL_VERSION=void 0;const react_1=__importStar(__webpack_require__(59496)),design_ui_surfaces_menu_link_item_1=__webpack_require__(41787),evangelist_surfaces_dropdown_1=__webpack_require__(30566),ui_foundation_ui_use_box_tab_1=__webpack_require__(92475),design_ui_avatar_1=__webpack_require__(14452),base_ui_loaders_skeleton_1=__webpack_require__(20298),classnames_1=__importDefault(__webpack_require__(97754)),version_dropdown_module_scss_1=__importDefault(__webpack_require__(37122)),version_info_1=__webpack_require__(65307),lane_info_1=__webpack_require__(43272),version_dropdown_placeholder_1=__webpack_require__(38052);exports.LOCAL_VERSION="workspace",exports.VersionDropdown=react_1.default.memo(_VersionDropdown);const VersionMenu=react_1.default.memo(_VersionMenu);function _VersionDropdown(_a){var{currentVersion,latestVersion,localVersion,useCurrentVersionLog,hasMoreVersions,loading,overrideVersionHref,className,placeholderClassName,getActiveTabIndex,dropdownClassName,menuClassName,showVersionDetails=!0,disabled,PlaceholderComponent:_PlaceholderComponent,currentLane,useComponentVersions,lanes}=_a,rest=__rest(_a,["currentVersion","latestVersion","localVersion","useCurrentVersionLog","hasMoreVersions","loading","overrideVersionHref","className","placeholderClassName","getActiveTabIndex","dropdownClassName","menuClassName","showVersionDetails","disabled","PlaceholderComponent","currentLane","useComponentVersions","lanes"]);const[key,setKey]=(0,react_1.useState)(0),singleVersion=!hasMoreVersions,[open,setOpen]=(0,react_1.useState)(!1);react_1.default.useEffect(()=>{loading&&open&&setOpen(!1)},[loading]);const handlePlaceholderClicked=e=>{loading||e.target===e.currentTarget&&setOpen(o=>!o)},defaultPlaceholder=react_1.default.createElement(version_dropdown_placeholder_1.SimpleVersion,{useCurrentVersionLog,disabled,className:placeholderClassName,currentVersion,onClick:handlePlaceholderClicked,hasMoreVersions,loading,showFullVersion:currentVersion==="workspace"}),PlaceholderComponent=_PlaceholderComponent?react_1.default.createElement(_PlaceholderComponent,{useCurrentVersionLog,disabled,className:placeholderClassName,currentVersion,onClick:handlePlaceholderClicked,hasMoreVersions,loading,showFullVersion:currentVersion==="workspace"}):defaultPlaceholder;return disabled||singleVersion&&!loading?react_1.default.createElement("div",{className:(0,classnames_1.default)(version_dropdown_module_scss_1.default.noVersions,className)},PlaceholderComponent):react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(version_dropdown_module_scss_1.default.versionDropdown,className)}),react_1.default.createElement(evangelist_surfaces_dropdown_1.Dropdown,{className:(0,classnames_1.default)(version_dropdown_module_scss_1.default.dropdown,dropdownClassName),dropClass:(0,classnames_1.default)(version_dropdown_module_scss_1.default.menu,menuClassName),open,onClick:handlePlaceholderClicked,onClickOutside:()=>setOpen(!1),onChange:(_e,_open)=>_open&&setKey(x=>x+1),PlaceholderComponent:_a2=>{var{children}=_a2,other=__rest(_a2,["children"]);return react_1.default.createElement("div",Object.assign({},other,{className:placeholderClassName,onClick:handlePlaceholderClicked}),children)},placeholder:PlaceholderComponent},react_1.default.createElement(VersionMenu,{className:menuClassName,key,currentVersion,latestVersion,localVersion,overrideVersionHref,showVersionDetails,currentLane,getActiveTabIndex,lanes,useVersions:useComponentVersions,open})))}const defaultActiveTabIndex=(currentVersion,tabs=[],tags,snaps)=>(snaps||[]).some(snap=>snap.version===currentVersion)?tabs.findIndex(tab=>tab.name==="SNAP"):0,VERSION_TAB_NAMES=["TAG","SNAP","LANE"];function _VersionMenu(_a){var _b,_c,{currentVersion,localVersion,latestVersion,overrideVersionHref,showVersionDetails,useVersions,currentLane,lanes,getActiveTabIndex=defaultActiveTabIndex,loading:loadingFromProps,open}=_a,rest=__rest(_a,["currentVersion","localVersion","latestVersion","overrideVersionHref","showVersionDetails","useVersions","currentLane","lanes","getActiveTabIndex","loading","open"]);const{snaps,tags,loading:loadingVersions}=useVersions?.()||{},loading=loadingFromProps||loadingVersions,tabs=react_1.default.useMemo(()=>VERSION_TAB_NAMES.map(name=>{switch(name){case"SNAP":return{name,payload:snaps||[]};case"LANE":return{name,payload:lanes||[]};default:return{name,payload:tags||[]}}}).filter(tab=>tab.payload.length>0),[snaps?.length,tags?.length,lanes?.length,loading]),[activeTabIndex,setActiveTab]=react_1.default.useState(getActiveTabIndex(currentVersion,tabs,tags,snaps,currentLane)),activeTab=react_1.default.useMemo(()=>activeTabIndex!==void 0?tabs[activeTabIndex]:void 0,[activeTabIndex,tabs]);react_1.default.useEffect(()=>{if(!currentLane||tabs.length===0)return;const _activeTabIndex=getActiveTabIndex(currentVersion,tabs,tags,snaps,currentLane);_activeTabIndex!==activeTabIndex&&setActiveTab(_activeTabIndex)},[currentLane,tabs.length,tags?.length,snaps?.length,currentVersion,loading]);const multipleTabs=tabs.length>1,message=multipleTabs?"Switch to view tags, snaps, or lanes":`Switch between ${(_b=tabs[0])===null||_b===void 0?void 0:_b.name.toLocaleLowerCase()}s`,showTab=activeTabIndex!==void 0&&((_c=tabs[activeTabIndex])===null||_c===void 0?void 0:_c.payload.length)>0,_rowRenderer=react_1.default.useCallback(function({index}){const{name,payload=[]}=activeTab||{},item=payload[index];if(!item)return null;if(name==="LANE"){const lane=item;return react_1.default.createElement(lane_info_1.LaneInfo,Object.assign({key:lane.id.toString(),currentLane},lane))}const version=item;return react_1.default.createElement(version_info_1.VersionInfo,Object.assign({key:version.version,currentVersion,latestVersion,overrideVersionHref,showDetails:showVersionDetails},version))},[activeTab,currentVersion,latestVersion,showVersionDetails,currentLane?.id.toString(),showTab]),rowRenderer=react_1.default.useMemo(()=>showTab&&activeTab?_rowRenderer:()=>null,[showTab,activeTab,_rowRenderer]),ActiveTab=react_1.default.useMemo(()=>activeTab?.payload.map((payload,index)=>rowRenderer({index})),[activeTab]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(version_dropdown_module_scss_1.default.versionMenuContainer,!open&&version_dropdown_module_scss_1.default.hide)}),react_1.default.createElement("div",{className:version_dropdown_module_scss_1.default.top},loading&&react_1.default.createElement(base_ui_loaders_skeleton_1.LineSkeleton,{count:6,className:version_dropdown_module_scss_1.default.loader}),!loading&&react_1.default.createElement("div",{className:(0,classnames_1.default)(version_dropdown_module_scss_1.default.titleContainer,version_dropdown_module_scss_1.default.title)},message),!loading&&localVersion&&react_1.default.createElement(design_ui_surfaces_menu_link_item_1.MenuLinkItem,{href:"?",active:currentVersion===exports.LOCAL_VERSION,className:(0,classnames_1.default)(version_dropdown_module_scss_1.default.versionRow,version_dropdown_module_scss_1.default.localVersion)},react_1.default.createElement("div",{className:version_dropdown_module_scss_1.default.version},react_1.default.createElement(design_ui_avatar_1.UserAvatar,{size:24,account:{},className:version_dropdown_module_scss_1.default.versionUserAvatar}),react_1.default.createElement("span",{className:version_dropdown_module_scss_1.default.versionName},exports.LOCAL_VERSION)))),react_1.default.createElement("div",{className:(0,classnames_1.default)(multipleTabs&&version_dropdown_module_scss_1.default.tabs)},multipleTabs&&tabs.map(({name},index)=>react_1.default.createElement(ui_foundation_ui_use_box_tab_1.Tab,{className:version_dropdown_module_scss_1.default.tab,key:name,isActive:activeTabIndex===index,onClick:()=>setActiveTab(index)},name))),react_1.default.createElement("div",{className:version_dropdown_module_scss_1.default.versionContainerRoot},ActiveTab))}},65307:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.VersionInfo=void 0;var version_info_1=__webpack_require__(62078);Object.defineProperty(exports,"VersionInfo",{enumerable:!0,get:function(){return version_info_1.VersionInfo}})},62078:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.VersionInfo=void 0;const design_ui_surfaces_menu_link_item_1=__webpack_require__(41787),design_ui_time_ago_1=__webpack_require__(59453),component_ui_version_label_1=__webpack_require__(76777),react_1=__importStar(__webpack_require__(59496)),design_ui_avatar_1=__webpack_require__(14452),design_ui_styles_ellipsis_1=__webpack_require__(2997),classnames_1=__importDefault(__webpack_require__(97754)),version_info_module_scss_1=__importDefault(__webpack_require__(46922));exports.VersionInfo=react_1.default.memo(react_1.default.forwardRef(_VersionInfo));function _VersionInfo({version,currentVersion,latestVersion,date,username,displayName,email,overrideVersionHref,showDetails,message,tag,profileImage},ref){const isCurrent=version===currentVersion,author=(0,react_1.useMemo)(()=>({displayName:displayName??"",email,name:username??"",profileImage}),[displayName,email,username,profileImage]),timestamp=(0,react_1.useMemo)(()=>date?new Date(parseInt(date)).toString():new Date().toString(),[date]),currentVersionRef=(0,react_1.useRef)(null);(0,react_1.useEffect)(()=>{var _a;isCurrent&&((_a=currentVersionRef.current)===null||_a===void 0||_a.scrollIntoView({block:"nearest"}))},[isCurrent]);const href=overrideVersionHref?overrideVersionHref(version):`?version=${version}`,formattedVersion=(0,react_1.useMemo)(()=>tag?version:version.slice(0,6),[tag,version]),isLatest=version===latestVersion;return react_1.default.createElement("div",{ref:ref||currentVersionRef},react_1.default.createElement(design_ui_surfaces_menu_link_item_1.MenuLinkItem,{active:isCurrent,href,className:version_info_module_scss_1.default.versionRow},react_1.default.createElement("div",{className:version_info_module_scss_1.default.version},react_1.default.createElement(design_ui_avatar_1.UserAvatar,{size:24,account:author,className:version_info_module_scss_1.default.versionUserAvatar,showTooltip:!0}),react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:(0,classnames_1.default)(version_info_module_scss_1.default.versionName)},formattedVersion),isLatest&&react_1.default.createElement(component_ui_version_label_1.VersionLabel,{status:"latest"}),react_1.default.createElement(CommitMessage,{message,showDetails})),react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:version_info_module_scss_1.default.versionTimestamp},react_1.default.createElement(design_ui_time_ago_1.TimeAgo,{date:timestamp}))))}function CommitMessage({message,showDetails}){return showDetails?!message||message===""?react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:version_info_module_scss_1.default.emptyMessage},"No commit message"):react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:version_info_module_scss_1.default.commitMessage},message):null}},69301:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.AspectEntry=void 0;class AspectEntry{constructor(id,legacyEntry){this.id=id,this.legacyEntry=legacyEntry}get legacy(){return this.legacyEntry}get isLegacy(){return!!this.config?.__legacy}get config(){return this.legacy.config}set config(config){this.legacy.config=config}get data(){return this.legacy.data}get isRemoved(){return this.legacy.isRemoved}set data(val){this.legacy.data=val}transform(newData){const newEntry=this.clone();return newEntry.data=newData,new AspectEntry(this.id,newEntry.legacy)}clone(){return new AspectEntry(this.id,this.legacyEntry.clone())}serialize(){return{id:this.id.toString(),config:this.config,data:this.data,icon:"https://static.bit.dev/extensions-icons/default.svg"}}}exports.AspectEntry=AspectEntry},11846:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;function _anyFs(){const data=__webpack_require__(21186);return _anyFs=function(){return data},data}function _eol(){const data=__webpack_require__(58225);return _eol=function(){return data},data}function _path(){const data=_interopRequireDefault(__webpack_require__(62005));return _path=function(){return data},data}function _toolboxPath(){const data=__webpack_require__(31461);return _toolboxPath=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class ComponentFS extends _anyFs().MemoryFS{constructor(files){super();this.files=files}get hash(){return""}byRegex(extension){return this.files.filter(file=>file.path.match(extension))}byGlob(patterns){const{includePatterns,excludePatterns}=(0,_toolboxPath().splitPatterns)(patterns);return this.files.filter(file=>(0,_toolboxPath().matchPatterns)(file.relative,includePatterns,excludePatterns))}toObject(){return this.files.map(file=>({path:file.path,contents:file.contents}))}static fromVinyls(files){const fs=new ComponentFS(files);return files.forEach(file=>{let dirPath=file.relativeDir;dirPath.startsWith("/")||(dirPath=_path().default.join("/",dirPath)),fs.mkdirpSync(dirPath),fs.writeFileSync(`/${file.relative}`,(0,_eol().auto)(file.contents||""))}),fs}}exports.default=ComponentFS},87690:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentMap=void 0;class ComponentMap{constructor(hashMap){this.hashMap=hashMap}byComponent(component){return this.hashMap.get(component.id.toString())}get components(){return this.toArray().map(([component])=>component)}get(component){return this.hashMap.get(component.id.toString())}getValueByComponentId(componentId){const tuple=this.hashMap.get(componentId.toString());return tuple?tuple[1]:null}toArray(){return Array.from(this.hashMap.values())}map(predicate){const tuples=this.toArray().map(([component,value])=>{const newValue=predicate(value,component);return[component.id.toString(),[component,newValue]]});return new ComponentMap(new Map(tuples))}async asyncMap(predicate){const tuplesP=this.toArray().map(async([component,value])=>{const newValue=await predicate(value,component);return[component.id.toString(),[component,newValue]]}),tuples=await Promise.all(tuplesP);return new ComponentMap(new Map(tuples))}forEach(predicate){this.toArray().forEach(([component,value])=>{predicate(value,component)})}flattenValue(){return this.toArray().reduce((acc,[,value])=>(acc=acc.concat(value),acc),[])}filter(predicate){const asMap=this.toArray().filter(([,value])=>predicate(value)).map(([component,value])=>[component.id.toString(),[component,value]]);return new ComponentMap(new Map(asMap))}keys(){return this.hashMap.keys()}static create(rawMap){const newMap=rawMap.map(([component,data])=>[component.id.toString(),[component,data]]);return new ComponentMap(new Map(newMap))}static as(components,predicate){const tuples=components.map(component=>[component.id.toString(),[component,predicate(component)]]);return new ComponentMap(new Map(tuples))}static async asAsync(components,predicate){const tuples=await Promise.all(components.map(async component=>[component.id.toString(),[component,await predicate(component)]]));return new ComponentMap(new Map(tuples))}}exports.ComponentMap=ComponentMap},12178:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"ComponentMap",{enumerable:!0,get:function(){return _componentMap().ComponentMap}});function _componentMap(){const data=__webpack_require__(87690);return _componentMap=function(){return data},data}},42259:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.ComponentAspect=void 0;function _harmony(){const data=__webpack_require__(55669);return _harmony=function(){return data},data}const ComponentAspect=exports.ComponentAspect=_harmony().Aspect.create({id:"teambit.component/component",dependencies:[],defaultConfig:{}});var _default=exports.default=ComponentAspect},60195:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Component=void 0;function _toolboxString(){const data=__webpack_require__(58315);return _toolboxString=function(){return data},data}function _bitError(){const data=__webpack_require__(74155);return _bitError=function(){return data},data}function _lodash(){const data=__webpack_require__(32699);return _lodash=function(){return data},data}function _tagMap(){const data=__webpack_require__(50310);return _tagMap=function(){return data},data}function _exceptions(){const data=__webpack_require__(54428);return _exceptions=function(){return data},data}class Component{constructor(id,head=null,_state,tags=new(_tagMap()).TagMap,factory){this.id=id,this.head=head,this._state=_state,this.tags=tags,this.factory=factory}get mainFile(){return this.state.mainFile}get state(){return this._state}set state(state){this._state=state}get config(){return this.state.config}get filesystem(){return this.state.filesystem}get buildStatus(){return this._state._consumer.buildStatus}get homepage(){return this._state._consumer._getHomepage()}get headTag(){if(!!this.head)return this.tags.byHash(this.head.hash)}get latest(){if(!!this.head)try{return this.tags.getLatest()}catch(err){if(err instanceof _exceptions().CouldNotFindLatest)return this.head.hash;throw err}}get(id){return this.state.aspects.get(id)?.serialize()}async getLogs(filter){const allLogs=await this.factory.getLogs(this.id,!1,filter?.head);if(!filter)return allLogs;const{type,limit,offset,sort}=filter,typeFilter=snap=>type==="tag"?snap.tag:type==="snap"?!snap.tag:!0;let filteredLogs=type&&allLogs.filter(typeFilter)||allLogs;return sort!=="asc"&&(filteredLogs=filteredLogs.reverse()),limit&&(filteredLogs=(0,_lodash().slice)(filteredLogs,offset,limit+(offset||0))),filteredLogs}getDependencies(){return this.factory.getDependencies(this)}getPackageName(){return this.factory.componentPackageName(this)}stringify(){return JSON.stringify({id:this.id,head:this.head})}get displayName(){return this.id.name.split("-").map(token=>(0,_toolboxString().capitalize)(token)).join(" ")}tag(version){}isModified(){return this.factory.isModified(this)}isDeleted(){return this.state._consumer.isRemoved()}isOutdated(){if(!this.latest)return!1;const latestTag=this.tags.byVersion(this.latest);return latestTag?this.head?.hash!==latestTag?.hash:!1}isNew(){return Promise.resolve(this.head===null)}isExported(){return this.factory.isExported(this.id)}loadState(snapId){return this.factory.getState(this.id,snapId)}loadSnap(snapId){const snapToGet=snapId||this.head?.hash;if(!snapToGet)throw new(_bitError()).BitError("could not load snap for new components");return this.factory.getSnap(this.id,snapToGet)}snapsIterable(snapId,options={}){const snapToStart=snapId||this.head?.hash;let nextSnaps=[snapToStart],done;snapToStart||(done=!0);const iterator={next:async()=>{if(done)return{value:void 0,done};const currSnapId=nextSnaps.shift(),snap=await this.loadSnap(currSnapId);return snap.parents&&snap.parents.length&&(options.firstParentOnly?nextSnaps.push(snap.parents[0]):nextSnaps=nextSnaps.concat(snap.parents)),nextSnaps.length?options.stopFn&&(done=await options.stopFn(snap)):done=!0,{value:snap,done:void 0}}};return{[Symbol.asyncIterator]:()=>iterator}}async getClosestTag(snapToStartFrom){const tagsHashMap=this.tags.getHashMap(),stopFn=async snap=>!!tagsHashMap.has(snap.hash),iterable=this.snapsIterable(snapToStartFrom,{firstParentOnly:!0,stopFn}),snaps=[];for await(const snap of iterable)snaps.push(snap);if(snaps.length){const hashOfLastSnap=snaps[snaps.length-1].hash;return tagsHashMap.get(hashOfLastSnap)}}getTag(){const currentVersion=this.id.version;if(!!currentVersion)return this.tags.byVersion(currentVersion)||this.tags.byHash(currentVersion)}getSnapHash(){if(!this.id.hasVersion())return;const tag=this.tags.byVersion(this.id.version);return tag?tag.hash:this.id.version}async getCurrentSnap(){const snap=this.getSnapHash();if(!!snap)return this.loadSnap(snap)}checkout(version){}write(path,fs){}equals(component){return component.id.toString()===this.id.toString()}}exports.Component=Component},5075:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Config=void 0;class Config{constructor(consumerComponent){this.consumerComponent=consumerComponent}get main(){return this.consumerComponent.mainFile}get extensions(){return this.consumerComponent.extensions}}exports.Config=Config},90406:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CouldNotFindLatest=void 0;class CouldNotFindLatest extends Error{constructor(semverArray){super(`could not find latest semver in array: ${semverArray.join(", ")}`)}report(){return this.message}}exports.CouldNotFindLatest=CouldNotFindLatest},339:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.HostNotFound=void 0;class HostNotFound extends Error{constructor(hostName){super();this.hostName=hostName}toString(){return`[component] error: host '${this.hostName}' was not found`}}exports.HostNotFound=HostNotFound},54428:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"CouldNotFindLatest",{enumerable:!0,get:function(){return _couldNotFindLatest().CouldNotFindLatest}}),Object.defineProperty(exports,"HostNotFound",{enumerable:!0,get:function(){return _hostNotFound().HostNotFound}}),Object.defineProperty(exports,"MainFileNotFound",{enumerable:!0,get:function(){return _mainFileNotFound().MainFileNotFound}}),Object.defineProperty(exports,"NothingToSnap",{enumerable:!0,get:function(){return _nothingToSnap().default}});function _nothingToSnap(){const data=_interopRequireDefault(__webpack_require__(83277));return _nothingToSnap=function(){return data},data}function _hostNotFound(){const data=__webpack_require__(339);return _hostNotFound=function(){return data},data}function _couldNotFindLatest(){const data=__webpack_require__(90406);return _couldNotFindLatest=function(){return data},data}function _mainFileNotFound(){const data=__webpack_require__(58904);return _mainFileNotFound=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},58904:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MainFileNotFound=void 0;class MainFileNotFound extends Error{constructor(id,mainFile){super();this.id=id,this.mainFile=mainFile}toString(){return`[component] error: main file ${this.mainFile} for component ${this.id.toString()} was not found`}}exports.MainFileNotFound=MainFileNotFound},83277:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;class NothingToSnap extends Error{}exports.default=NothingToSnap},72963:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentHostModel=void 0;function _ui(){const data=__webpack_require__(4744);return _ui=function(){return data},data}class ComponentHostModel{constructor(name,components){this.name=name,this.components=components}static from(data){return new ComponentHostModel(data.getHost.name,_ui().ComponentModel.fromArray(data.getHost.list))}}exports.ComponentHostModel=ComponentHostModel},23384:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={useComponentHost:!0};Object.defineProperty(exports,"useComponentHost",{enumerable:!0,get:function(){return _useComponentHost().useComponentHost}});function _useComponentHost(){const data=__webpack_require__(28796);return _useComponentHost=function(){return data},data}var _componentHostModel=__webpack_require__(72963);Object.keys(_componentHostModel).forEach(function(key){key==="default"||key==="__esModule"||Object.prototype.hasOwnProperty.call(_exportNames,key)||key in exports&&exports[key]===_componentHostModel[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _componentHostModel[key]}})})},28796:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useComponentHost=useComponentHost;function _uiFoundationUiHooks(){const data=__webpack_require__(63043);return _uiFoundationUiHooks=function(){return data},data}function _client(){const data=__webpack_require__(39713);return _client=function(){return data},data}function _componentHostModel(){const data=__webpack_require__(72963);return _componentHostModel=function(){return data},data}const COMPONENT_HOST=(0,_client().gql)`
|
366
366
|
{
|
367
367
|
getHost {
|
368
368
|
id # used for GQL caching
|
@@ -668,7 +668,7 @@ the following are permitted ${Object.keys(exports.IssuesClasses).join(", ")}`);c
|
|
668
668
|
window.parent.postMessage({ event: '${exports.LOAD_EVENT}' }, '*');
|
669
669
|
});
|
670
670
|
};
|
671
|
-
`}});function Html(_a){var _b,_c,_d,{assets={},withDevTools=!1,fullHeight,ssr,children=react_1.default.createElement(mount_point_1.MountPoint,null),notifyParentOnLoad=!0}=_a,rest=__rest(_a,["assets","withDevTools","fullHeight","ssr","children","notifyParentOnLoad"]);return react_1.default.createElement("html",Object.assign({lang:"en"},rest),react_1.default.createElement("head",null,react_1.default.createElement("title",null,assets.title||"bit scope"),react_1.default.createElement("meta",{charSet:"utf-8"}),react_1.default.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),ssr&&react_1.default.createElement(ssr_styles_1.SsrStyles,null),fullHeight&&react_1.default.createElement(full_height_style_1.FullHeightStyle,null),withDevTools&&react_1.default.createElement(dev_tools_1.CrossIframeDevTools,null),(_b=assets.style)===null||_b===void 0?void 0:_b.map((x,idx)=>react_1.default.createElement("style",{key:idx},x)),(_c=assets.css)===null||_c===void 0?void 0:_c.map((x,idx)=>react_1.default.createElement("link",{key:idx,href:x,rel:"stylesheet",type:"text/css"})),notifyParentOnLoad&&react_1.default.createElement(NotifyParentScript,null)),react_1.default.createElement("body",null,children,assets.json&&react_1.default.createElement(stored_assets_1.StoredAssets,{data:assets.json}),(_d=assets.js)===null||_d===void 0?void 0:_d.map((x,idx)=>react_1.default.createElement("script",{key:idx,src:x}))))}exports.Html=Html,Html.fillContent=mount_point_1.fillMountPoint,Html.popAssets=stored_assets_1.popAssets;function ssrCleanup(){(0,ssr_styles_1.removeSsrStyles)()}exports.ssrCleanup=ssrCleanup},91375:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.popAssets=exports.mountPointId=exports.MountPoint=exports.LOAD_EVENT=exports.ssrCleanup=exports.Html=void 0;var html_1=__webpack_require__(54997);Object.defineProperty(exports,"Html",{enumerable:!0,get:function(){return html_1.Html}}),Object.defineProperty(exports,"ssrCleanup",{enumerable:!0,get:function(){return html_1.ssrCleanup}}),Object.defineProperty(exports,"LOAD_EVENT",{enumerable:!0,get:function(){return html_1.LOAD_EVENT}});var mount_point_1=__webpack_require__(91891);Object.defineProperty(exports,"MountPoint",{enumerable:!0,get:function(){return mount_point_1.MountPoint}}),Object.defineProperty(exports,"mountPointId",{enumerable:!0,get:function(){return mount_point_1.mountPointId}});var stored_assets_1=__webpack_require__(2305);Object.defineProperty(exports,"popAssets",{enumerable:!0,get:function(){return stored_assets_1.popAssets}})},91891: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.fillMountPoint=exports.MountPoint=exports.mountPointId=void 0;const react_1=__importDefault(__webpack_require__(59496));exports.mountPointId="root";const placeholderRegex=/<div id="root"><\/div>/;function MountPoint({children}){return react_1.default.createElement("div",{id:exports.mountPointId},children)}exports.MountPoint=MountPoint;function fillMountPoint(htmlTemplate,content){return htmlTemplate.replace(placeholderRegex,content)}exports.fillMountPoint=fillMountPoint},85847: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.removeSsrStyles=exports.SsrStyles=void 0;const react_1=__importDefault(__webpack_require__(59496));function SsrStyles(){return react_1.default.createElement("style",{id:"before-hydrate-styles"},".--ssr-hidden ","{","display: none;","}")}exports.SsrStyles=SsrStyles;function removeSsrStyles(){var _a;(_a=document.getElementById("before-hydrate-styles"))===null||_a===void 0||_a.remove()}exports.removeSsrStyles=removeSsrStyles},2305: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.popAssets=exports.StoredAssets=void 0;const react_1=__importDefault(__webpack_require__(59496));function StoredAssets({data}){return react_1.default.createElement("div",{className:"state",style:{display:"none"}},Object.entries(data).map(([key,content])=>react_1.default.createElement("script",{key,"data-aspect":key,type:"application/json",dangerouslySetInnerHTML:{__html:content}})))}exports.StoredAssets=StoredAssets;function popAssets(){var _a;const rawAssets=new Map;return Array.from(document.querySelectorAll("body > .state > *")).forEach(elem=>{const aspectName=elem.getAttribute("data-aspect");!aspectName||rawAssets.set(aspectName,elem.innerHTML)}),(_a=document.querySelector("body > .state"))===null||_a===void 0||_a.remove(),rawAssets}exports.popAssets=popAssets},26773:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var possibleNames=__webpack_require__(41758),g=typeof globalThis>"u"?__webpack_require__.g:globalThis;module.exports=function(){for(var out=[],i=0;i<possibleNames.length;i++)typeof g[possibleNames[i]]=="function"&&(out[out.length]=possibleNames[i]);return out}},39713:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{ApolloCache:()=>ApolloCache,ApolloClient:()=>ApolloClient,ApolloConsumer:()=>ApolloConsumer,ApolloError:()=>ApolloError,ApolloLink:()=>ApolloLink,ApolloProvider:()=>ApolloProvider,Cache:()=>Cache,DocumentTransform:()=>DocumentTransform,DocumentType:()=>DocumentType,HttpLink:()=>HttpLink,InMemoryCache:()=>InMemoryCache,MissingFieldError:()=>MissingFieldError,NetworkStatus:()=>NetworkStatus,Observable:()=>Observable,ObservableQuery:()=>ObservableQuery,checkFetcher:()=>checkFetcher,concat:()=>concat,createHttpLink:()=>createHttpLink,createQueryPreloader:()=>createQueryPreloader,createSignalIfSupported:()=>createSignalIfSupported,defaultDataIdFromObject:()=>defaultDataIdFromObject,defaultPrinter:()=>defaultPrinter,disableExperimentalFragmentVariables:()=>disableExperimentalFragmentVariables,disableFragmentWarnings:()=>disableFragmentWarnings,empty:()=>empty,enableExperimentalFragmentVariables:()=>enableExperimentalFragmentVariables,execute:()=>execute,fallbackHttpConfig:()=>fallbackHttpConfig,from:()=>from,fromError:()=>fromError,fromPromise:()=>fromPromise,getApolloContext:()=>getApolloContext,gql:()=>gql,isApolloError:()=>isApolloError,isNetworkRequestSettled:()=>isNetworkRequestSettled,isReference:()=>isReference,makeReference:()=>makeReference,makeVar:()=>makeVar,mergeOptions:()=>mergeOptions,operationName:()=>operationName,parseAndCheckHttpResponse:()=>parseAndCheckHttpResponse,parser:()=>parser_parser,resetApolloContext:()=>resetApolloContext,resetCaches:()=>resetCaches,rewriteURIForGET:()=>rewriteURIForGET,selectHttpOptionsAndBody:()=>selectHttpOptionsAndBody,selectHttpOptionsAndBodyInternal:()=>selectHttpOptionsAndBodyInternal,selectURI:()=>selectURI,serializeFetchParameter:()=>serializeFetchParameter,setLogVerbosity:()=>setVerbosity,skipToken:()=>skipToken,split:()=>split,throwServerError:()=>throwServerError,toPromise:()=>toPromise,useApolloClient:()=>useApolloClient,useBackgroundQuery:()=>useBackgroundQuery,useFragment:()=>useFragment,useLazyQuery:()=>useLazyQuery,useLoadableQuery:()=>useLoadableQuery,useMutation:()=>useMutation,useQuery:()=>useQuery,useQueryRefHandlers:()=>useQueryRefHandlers,useReactiveVar:()=>useReactiveVar,useReadQuery:()=>useReadQuery,useSubscription:()=>useSubscription,useSuspenseQuery:()=>useSuspenseQuery});var extendStatics=function(d,b){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d2,b2){d2.__proto__=b2}||function(d2,b2){for(var p in b2)Object.prototype.hasOwnProperty.call(b2,p)&&(d2[p]=b2[p])},extendStatics(d,b)};function __extends(d,b){if(typeof b!="function"&&b!==null)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");extendStatics(d,b);function __(){this.constructor=d}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __)}var tslib_es6_assign=function(){return tslib_es6_assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p])}return t},tslib_es6_assign.apply(this,arguments)};function __rest(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}function __decorate(decorators,target,key,desc){var c=arguments.length,r=c<3?target:desc===null?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;i>=0;i--)(d=decorators[i])&&(r=(c<3?d(r):c>3?d(target,key,r):d(target,key))||r);return c>3&&r&&Object.defineProperty(target,key,r),r}function __param(paramIndex,decorator){return function(target,key){decorator(target,key,paramIndex)}}function __esDecorate(ctor,descriptorIn,decorators,contextIn,initializers,extraInitializers){function accept(f){if(f!==void 0&&typeof f!="function")throw new TypeError("Function expected");return f}for(var kind=contextIn.kind,key=kind==="getter"?"get":kind==="setter"?"set":"value",target=!descriptorIn&&ctor?contextIn.static?ctor:ctor.prototype:null,descriptor=descriptorIn||(target?Object.getOwnPropertyDescriptor(target,contextIn.name):{}),_,done=!1,i=decorators.length-1;i>=0;i--){var context={};for(var p in contextIn)context[p]=p==="access"?{}:contextIn[p];for(var p in contextIn.access)context.access[p]=contextIn.access[p];context.addInitializer=function(f){if(done)throw new TypeError("Cannot add initializers after decoration has completed");extraInitializers.push(accept(f||null))};var result=(0,decorators[i])(kind==="accessor"?{get:descriptor.get,set:descriptor.set}:descriptor[key],context);if(kind==="accessor"){if(result===void 0)continue;if(result===null||typeof result!="object")throw new TypeError("Object expected");(_=accept(result.get))&&(descriptor.get=_),(_=accept(result.set))&&(descriptor.set=_),(_=accept(result.init))&&initializers.unshift(_)}else(_=accept(result))&&(kind==="field"?initializers.unshift(_):descriptor[key]=_)}target&&Object.defineProperty(target,contextIn.name,descriptor),done=!0}function __runInitializers(thisArg,initializers,value){for(var useValue=arguments.length>2,i=0;i<initializers.length;i++)value=useValue?initializers[i].call(thisArg,value):initializers[i].call(thisArg);return useValue?value:void 0}function __propKey(x){return typeof x=="symbol"?x:"".concat(x)}function __setFunctionName(f,name,prefix){return typeof name=="symbol"&&(name=name.description?"[".concat(name.description,"]"):""),Object.defineProperty(f,"name",{configurable:!0,value:prefix?"".concat(prefix," ",name):name})}function __metadata(metadataKey,metadataValue){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(metadataKey,metadataValue)}function __awaiter(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())})}function __generator(thisArg,body){var _={label:0,sent:function(){if(t[0]&1)throw t[1];return t[1]},trys:[],ops:[]},f,y,t,g;return g={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol=="function"&&(g[Symbol.iterator]=function(){return this}),g;function verb(n){return function(v){return step([n,v])}}function step(op){if(f)throw new TypeError("Generator is already executing.");for(;g&&(g=0,op[0]&&(_=0)),_;)try{if(f=1,y&&(t=op[0]&2?y.return:op[0]?y.throw||((t=y.return)&&t.call(y),0):y.next)&&!(t=t.call(y,op[1])).done)return t;switch(y=0,t&&(op=[op[0]&2,t.value]),op[0]){case 0:case 1:t=op;break;case 4:return _.label++,{value:op[1],done:!1};case 5:_.label++,y=op[1],op=[0];continue;case 7:op=_.ops.pop(),_.trys.pop();continue;default:if(t=_.trys,!(t=t.length>0&&t[t.length-1])&&(op[0]===6||op[0]===2)){_=0;continue}if(op[0]===3&&(!t||op[1]>t[0]&&op[1]<t[3])){_.label=op[1];break}if(op[0]===6&&_.label<t[1]){_.label=t[1],t=op;break}if(t&&_.label<t[2]){_.label=t[2],_.ops.push(op);break}t[2]&&_.ops.pop(),_.trys.pop();continue}op=body.call(thisArg,_)}catch(e){op=[6,e],y=0}finally{f=t=0}if(op[0]&5)throw op[1];return{value:op[0]?op[1]:void 0,done:!0}}}var __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]};function __exportStar(m,o){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(o,p)&&__createBinding(o,m,p)}function __values(o){var s=typeof Symbol=="function"&&Symbol.iterator,m=s&&o[s],i=0;if(m)return m.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&i>=o.length&&(o=void 0),{value:o&&o[i++],done:!o}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read(o,n){var m=typeof Symbol=="function"&&o[Symbol.iterator];if(!m)return o;var i=m.call(o),r,ar=[],e;try{for(;(n===void 0||n-- >0)&&!(r=i.next()).done;)ar.push(r.value)}catch(error){e={error}}finally{try{r&&!r.done&&(m=i.return)&&m.call(i)}finally{if(e)throw e.error}}return ar}function __spread(){for(var ar=[],i=0;i<arguments.length;i++)ar=ar.concat(__read(arguments[i]));return ar}function __spreadArrays(){for(var s=0,i=0,il=arguments.length;i<il;i++)s+=arguments[i].length;for(var r=Array(s),k=0,i=0;i<il;i++)for(var a=arguments[i],j=0,jl=a.length;j<jl;j++,k++)r[k]=a[j];return r}function __spreadArray(to,from2,pack){if(pack||arguments.length===2)for(var i=0,l=from2.length,ar;i<l;i++)(ar||!(i in from2))&&(ar||(ar=Array.prototype.slice.call(from2,0,i)),ar[i]=from2[i]);return to.concat(ar||Array.prototype.slice.call(from2))}function __await(v){return this instanceof __await?(this.v=v,this):new __await(v)}function __asyncGenerator(thisArg,_arguments,generator){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var g=generator.apply(thisArg,_arguments||[]),i,q=[];return i={},verb("next"),verb("throw"),verb("return"),i[Symbol.asyncIterator]=function(){return this},i;function verb(n){g[n]&&(i[n]=function(v){return new Promise(function(a,b){q.push([n,v,a,b])>1||resume(n,v)})})}function resume(n,v){try{step(g[n](v))}catch(e){settle(q[0][3],e)}}function step(r){r.value instanceof __await?Promise.resolve(r.value.v).then(fulfill,reject):settle(q[0][2],r)}function fulfill(value){resume("next",value)}function reject(value){resume("throw",value)}function settle(f,v){f(v),q.shift(),q.length&&resume(q[0][0],q[0][1])}}function __asyncDelegator(o){var i,p;return i={},verb("next"),verb("throw",function(e){throw e}),verb("return"),i[Symbol.iterator]=function(){return this},i;function verb(n,f){i[n]=o[n]?function(v){return(p=!p)?{value:__await(o[n](v)),done:!1}:f?f(v):v}:f}}function __asyncValues(o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var m=o[Symbol.asyncIterator],i;return m?m.call(o):(o=typeof __values=="function"?__values(o):o[Symbol.iterator](),i={},verb("next"),verb("throw"),verb("return"),i[Symbol.asyncIterator]=function(){return this},i);function verb(n){i[n]=o[n]&&function(v){return new Promise(function(resolve,reject){v=o[n](v),settle(resolve,reject,v.done,v.value)})}}function settle(resolve,reject,d,v){Promise.resolve(v).then(function(v2){resolve({value:v2,done:d})},reject)}}function __makeTemplateObject(cooked,raw){return Object.defineProperty?Object.defineProperty(cooked,"raw",{value:raw}):cooked.raw=raw,cooked}var __setModuleDefault=Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v};function __importStar(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}function __importDefault(mod){return mod&&mod.__esModule?mod:{default:mod}}function __classPrivateFieldGet(receiver,state,kind,f){if(kind==="a"&&!f)throw new TypeError("Private accessor was defined without a getter");if(typeof state=="function"?receiver!==state||!f:!state.has(receiver))throw new TypeError("Cannot read private member from an object whose class did not declare it");return kind==="m"?f:kind==="a"?f.call(receiver):f?f.value:state.get(receiver)}function __classPrivateFieldSet(receiver,state,value,kind,f){if(kind==="m")throw new TypeError("Private method is not writable");if(kind==="a"&&!f)throw new TypeError("Private accessor was defined without a setter");if(typeof state=="function"?receiver!==state||!f:!state.has(receiver))throw new TypeError("Cannot write private member to an object whose class did not declare it");return kind==="a"?f.call(receiver,value):f?f.value=value:state.set(receiver,value),value}function __classPrivateFieldIn(state,receiver){if(receiver===null||typeof receiver!="object"&&typeof receiver!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof state=="function"?receiver===state:state.has(receiver)}function __addDisposableResource(env,value,async){if(value!=null){if(typeof value!="object"&&typeof value!="function")throw new TypeError("Object expected.");var dispose;if(async){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");dispose=value[Symbol.asyncDispose]}if(dispose===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");dispose=value[Symbol.dispose]}if(typeof dispose!="function")throw new TypeError("Object not disposable.");env.stack.push({value,dispose,async})}else async&&env.stack.push({async:!0});return value}var _SuppressedError=typeof SuppressedError=="function"?SuppressedError:function(error,suppressed,message){var e=new Error(message);return e.name="SuppressedError",e.error=error,e.suppressed=suppressed,e};function __disposeResources(env){function fail(e){env.error=env.hasError?new _SuppressedError(e,env.error,"An error was suppressed during disposal."):e,env.hasError=!0}function next(){for(;env.stack.length;){var rec=env.stack.pop();try{var result=rec.dispose&&rec.dispose.call(rec.value);if(rec.async)return Promise.resolve(result).then(next,function(e){return fail(e),next()})}catch(e){fail(e)}}if(env.hasError)throw env.error}return next()}const tslib_es6={__extends,__assign:tslib_es6_assign,__rest,__decorate,__param,__metadata,__awaiter,__generator,__createBinding,__exportStar,__values,__read,__spread,__spreadArrays,__spreadArray,__await,__asyncGenerator,__asyncDelegator,__asyncValues,__makeTemplateObject,__importStar,__importDefault,__classPrivateFieldGet,__classPrivateFieldSet,__classPrivateFieldIn,__addDisposableResource,__disposeResources};var genericMessage="Invariant Violation",_a=Object.setPrototypeOf,setPrototypeOf=_a===void 0?function(obj,proto){return obj.__proto__=proto,obj}:_a,InvariantError=function(_super){__extends(InvariantError2,_super);function InvariantError2(message){message===void 0&&(message=genericMessage);var _this=_super.call(this,typeof message=="number"?genericMessage+": "+message+" (see https://github.com/apollographql/invariant-packages)":message)||this;return _this.framesToPop=1,_this.name=genericMessage,setPrototypeOf(_this,InvariantError2.prototype),_this}return InvariantError2}(Error);function invariant_invariant(condition,message){if(!condition)throw new InvariantError(message)}var verbosityLevels=["debug","log","warn","error","silent"],verbosityLevel=verbosityLevels.indexOf("log");function wrapConsoleMethod(name){return function(){if(verbosityLevels.indexOf(name)>=verbosityLevel){var method=console[name]||console.log;return method.apply(console,arguments)}}}(function(invariant2){invariant2.debug=wrapConsoleMethod("debug"),invariant2.log=wrapConsoleMethod("log"),invariant2.warn=wrapConsoleMethod("warn"),invariant2.error=wrapConsoleMethod("error")})(invariant_invariant||(invariant_invariant={}));function setVerbosity(level){var old=verbosityLevels[verbosityLevel];return verbosityLevel=Math.max(0,verbosityLevels.indexOf(level)),old}const invariant=null;var version="3.10.4";function maybe(thunk){try{return thunk()}catch{}}const globals_global=maybe(function(){return globalThis})||maybe(function(){return window})||maybe(function(){return self})||maybe(function(){return global})||maybe(function(){return maybe.constructor("return this")()});var prefixCounts=new Map;function makeUniqueId(prefix){var count=prefixCounts.get(prefix)||1;return prefixCounts.set(prefix,count+1),"".concat(prefix,":").concat(count,":").concat(Math.random().toString(36).slice(2))}function stringifyForDisplay(value,space){space===void 0&&(space=0);var undefId=makeUniqueId("stringifyForDisplay");return JSON.stringify(value,function(key,value2){return value2===void 0?undefId:value2},space).split(JSON.stringify(undefId)).join("<undefined>")}function wrap(fn){return function(message){for(var args=[],_i=1;_i<arguments.length;_i++)args[_i-1]=arguments[_i];if(typeof message=="number"){var arg0=message;message=getHandledErrorMsg(arg0),message||(message=getFallbackErrorMsg(arg0,args),args=[])}fn.apply(void 0,[message].concat(args))}}var invariantWrappers_invariant=Object.assign(function(condition,message){for(var args=[],_i=2;_i<arguments.length;_i++)args[_i-2]=arguments[_i];condition||invariant_invariant(condition,getHandledErrorMsg(message,args)||getFallbackErrorMsg(message,args))},{debug:wrap(invariant_invariant.debug),log:wrap(invariant_invariant.log),warn:wrap(invariant_invariant.warn),error:wrap(invariant_invariant.error)});function newInvariantError(message){for(var optionalParams=[],_i=1;_i<arguments.length;_i++)optionalParams[_i-1]=arguments[_i];return new InvariantError(getHandledErrorMsg(message,optionalParams)||getFallbackErrorMsg(message,optionalParams))}var ApolloErrorMessageHandler=Symbol.for("ApolloErrorMessageHandler_"+version);function stringify(arg){return typeof arg=="string"?arg:stringifyForDisplay(arg,2).slice(0,1e3)}function getHandledErrorMsg(message,messageArgs){if(messageArgs===void 0&&(messageArgs=[]),!!message)return globals_global[ApolloErrorMessageHandler]&&globals_global[ApolloErrorMessageHandler](message,messageArgs.map(stringify))}function getFallbackErrorMsg(message,messageArgs){if(messageArgs===void 0&&(messageArgs=[]),!!message)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version,message,args:messageArgs.map(stringify)})))}var DEV=globalThis.__DEV__!==!1;function _createForOfIteratorHelperLoose(o,allowArrayLike){var it=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(it)return(it=it.call(o)).next.bind(it);if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length=="number"){it&&(o=it);var i=0;return function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
671
|
+
`}});function Html(_a){var _b,_c,_d,{assets={},withDevTools=!1,fullHeight,ssr,children=react_1.default.createElement(mount_point_1.MountPoint,null),notifyParentOnLoad=!0}=_a,rest=__rest(_a,["assets","withDevTools","fullHeight","ssr","children","notifyParentOnLoad"]);return react_1.default.createElement("html",Object.assign({lang:"en"},rest),react_1.default.createElement("head",null,react_1.default.createElement("title",null,assets.title||"bit scope"),react_1.default.createElement("meta",{charSet:"utf-8"}),react_1.default.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),ssr&&react_1.default.createElement(ssr_styles_1.SsrStyles,null),fullHeight&&react_1.default.createElement(full_height_style_1.FullHeightStyle,null),withDevTools&&react_1.default.createElement(dev_tools_1.CrossIframeDevTools,null),(_b=assets.style)===null||_b===void 0?void 0:_b.map((x,idx)=>react_1.default.createElement("style",{key:idx},x)),(_c=assets.css)===null||_c===void 0?void 0:_c.map((x,idx)=>react_1.default.createElement("link",{key:idx,href:x,rel:"stylesheet",type:"text/css"})),notifyParentOnLoad&&react_1.default.createElement(NotifyParentScript,null)),react_1.default.createElement("body",null,children,assets.json&&react_1.default.createElement(stored_assets_1.StoredAssets,{data:assets.json}),(_d=assets.js)===null||_d===void 0?void 0:_d.map((x,idx)=>react_1.default.createElement("script",{key:idx,src:x}))))}exports.Html=Html,Html.fillContent=mount_point_1.fillMountPoint,Html.popAssets=stored_assets_1.popAssets;function ssrCleanup(){(0,ssr_styles_1.removeSsrStyles)()}exports.ssrCleanup=ssrCleanup},91375:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.popAssets=exports.mountPointId=exports.MountPoint=exports.LOAD_EVENT=exports.ssrCleanup=exports.Html=void 0;var html_1=__webpack_require__(54997);Object.defineProperty(exports,"Html",{enumerable:!0,get:function(){return html_1.Html}}),Object.defineProperty(exports,"ssrCleanup",{enumerable:!0,get:function(){return html_1.ssrCleanup}}),Object.defineProperty(exports,"LOAD_EVENT",{enumerable:!0,get:function(){return html_1.LOAD_EVENT}});var mount_point_1=__webpack_require__(91891);Object.defineProperty(exports,"MountPoint",{enumerable:!0,get:function(){return mount_point_1.MountPoint}}),Object.defineProperty(exports,"mountPointId",{enumerable:!0,get:function(){return mount_point_1.mountPointId}});var stored_assets_1=__webpack_require__(2305);Object.defineProperty(exports,"popAssets",{enumerable:!0,get:function(){return stored_assets_1.popAssets}})},91891: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.fillMountPoint=exports.MountPoint=exports.mountPointId=void 0;const react_1=__importDefault(__webpack_require__(59496));exports.mountPointId="root";const placeholderRegex=/<div id="root"><\/div>/;function MountPoint({children}){return react_1.default.createElement("div",{id:exports.mountPointId},children)}exports.MountPoint=MountPoint;function fillMountPoint(htmlTemplate,content){return htmlTemplate.replace(placeholderRegex,content)}exports.fillMountPoint=fillMountPoint},85847: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.removeSsrStyles=exports.SsrStyles=void 0;const react_1=__importDefault(__webpack_require__(59496));function SsrStyles(){return react_1.default.createElement("style",{id:"before-hydrate-styles"},".--ssr-hidden ","{","display: none;","}")}exports.SsrStyles=SsrStyles;function removeSsrStyles(){var _a;(_a=document.getElementById("before-hydrate-styles"))===null||_a===void 0||_a.remove()}exports.removeSsrStyles=removeSsrStyles},2305: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.popAssets=exports.StoredAssets=void 0;const react_1=__importDefault(__webpack_require__(59496));function StoredAssets({data}){return react_1.default.createElement("div",{className:"state",style:{display:"none"}},Object.entries(data).map(([key,content])=>react_1.default.createElement("script",{key,"data-aspect":key,type:"application/json",dangerouslySetInnerHTML:{__html:content}})))}exports.StoredAssets=StoredAssets;function popAssets(){var _a;const rawAssets=new Map;return Array.from(document.querySelectorAll("body > .state > *")).forEach(elem=>{const aspectName=elem.getAttribute("data-aspect");!aspectName||rawAssets.set(aspectName,elem.innerHTML)}),(_a=document.querySelector("body > .state"))===null||_a===void 0||_a.remove(),rawAssets}exports.popAssets=popAssets},26773:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var possibleNames=__webpack_require__(26792),g=typeof globalThis>"u"?__webpack_require__.g:globalThis;module.exports=function(){for(var out=[],i=0;i<possibleNames.length;i++)typeof g[possibleNames[i]]=="function"&&(out[out.length]=possibleNames[i]);return out}},39713:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{ApolloCache:()=>ApolloCache,ApolloClient:()=>ApolloClient,ApolloConsumer:()=>ApolloConsumer,ApolloError:()=>ApolloError,ApolloLink:()=>ApolloLink,ApolloProvider:()=>ApolloProvider,Cache:()=>Cache,DocumentTransform:()=>DocumentTransform,DocumentType:()=>DocumentType,HttpLink:()=>HttpLink,InMemoryCache:()=>InMemoryCache,MissingFieldError:()=>MissingFieldError,NetworkStatus:()=>NetworkStatus,Observable:()=>Observable,ObservableQuery:()=>ObservableQuery,checkFetcher:()=>checkFetcher,concat:()=>concat,createHttpLink:()=>createHttpLink,createQueryPreloader:()=>createQueryPreloader,createSignalIfSupported:()=>createSignalIfSupported,defaultDataIdFromObject:()=>defaultDataIdFromObject,defaultPrinter:()=>defaultPrinter,disableExperimentalFragmentVariables:()=>disableExperimentalFragmentVariables,disableFragmentWarnings:()=>disableFragmentWarnings,empty:()=>empty,enableExperimentalFragmentVariables:()=>enableExperimentalFragmentVariables,execute:()=>execute,fallbackHttpConfig:()=>fallbackHttpConfig,from:()=>from,fromError:()=>fromError,fromPromise:()=>fromPromise,getApolloContext:()=>getApolloContext,gql:()=>gql,isApolloError:()=>isApolloError,isNetworkRequestSettled:()=>isNetworkRequestSettled,isReference:()=>isReference,makeReference:()=>makeReference,makeVar:()=>makeVar,mergeOptions:()=>mergeOptions,operationName:()=>operationName,parseAndCheckHttpResponse:()=>parseAndCheckHttpResponse,parser:()=>parser_parser,resetApolloContext:()=>resetApolloContext,resetCaches:()=>resetCaches,rewriteURIForGET:()=>rewriteURIForGET,selectHttpOptionsAndBody:()=>selectHttpOptionsAndBody,selectHttpOptionsAndBodyInternal:()=>selectHttpOptionsAndBodyInternal,selectURI:()=>selectURI,serializeFetchParameter:()=>serializeFetchParameter,setLogVerbosity:()=>setVerbosity,skipToken:()=>skipToken,split:()=>split,throwServerError:()=>throwServerError,toPromise:()=>toPromise,useApolloClient:()=>useApolloClient,useBackgroundQuery:()=>useBackgroundQuery,useFragment:()=>useFragment,useLazyQuery:()=>useLazyQuery,useLoadableQuery:()=>useLoadableQuery,useMutation:()=>useMutation,useQuery:()=>useQuery,useQueryRefHandlers:()=>useQueryRefHandlers,useReactiveVar:()=>useReactiveVar,useReadQuery:()=>useReadQuery,useSubscription:()=>useSubscription,useSuspenseQuery:()=>useSuspenseQuery});var extendStatics=function(d,b){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d2,b2){d2.__proto__=b2}||function(d2,b2){for(var p in b2)Object.prototype.hasOwnProperty.call(b2,p)&&(d2[p]=b2[p])},extendStatics(d,b)};function __extends(d,b){if(typeof b!="function"&&b!==null)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");extendStatics(d,b);function __(){this.constructor=d}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __)}var tslib_es6_assign=function(){return tslib_es6_assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p])}return t},tslib_es6_assign.apply(this,arguments)};function __rest(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}function __decorate(decorators,target,key,desc){var c=arguments.length,r=c<3?target:desc===null?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;i>=0;i--)(d=decorators[i])&&(r=(c<3?d(r):c>3?d(target,key,r):d(target,key))||r);return c>3&&r&&Object.defineProperty(target,key,r),r}function __param(paramIndex,decorator){return function(target,key){decorator(target,key,paramIndex)}}function __esDecorate(ctor,descriptorIn,decorators,contextIn,initializers,extraInitializers){function accept(f){if(f!==void 0&&typeof f!="function")throw new TypeError("Function expected");return f}for(var kind=contextIn.kind,key=kind==="getter"?"get":kind==="setter"?"set":"value",target=!descriptorIn&&ctor?contextIn.static?ctor:ctor.prototype:null,descriptor=descriptorIn||(target?Object.getOwnPropertyDescriptor(target,contextIn.name):{}),_,done=!1,i=decorators.length-1;i>=0;i--){var context={};for(var p in contextIn)context[p]=p==="access"?{}:contextIn[p];for(var p in contextIn.access)context.access[p]=contextIn.access[p];context.addInitializer=function(f){if(done)throw new TypeError("Cannot add initializers after decoration has completed");extraInitializers.push(accept(f||null))};var result=(0,decorators[i])(kind==="accessor"?{get:descriptor.get,set:descriptor.set}:descriptor[key],context);if(kind==="accessor"){if(result===void 0)continue;if(result===null||typeof result!="object")throw new TypeError("Object expected");(_=accept(result.get))&&(descriptor.get=_),(_=accept(result.set))&&(descriptor.set=_),(_=accept(result.init))&&initializers.unshift(_)}else(_=accept(result))&&(kind==="field"?initializers.unshift(_):descriptor[key]=_)}target&&Object.defineProperty(target,contextIn.name,descriptor),done=!0}function __runInitializers(thisArg,initializers,value){for(var useValue=arguments.length>2,i=0;i<initializers.length;i++)value=useValue?initializers[i].call(thisArg,value):initializers[i].call(thisArg);return useValue?value:void 0}function __propKey(x){return typeof x=="symbol"?x:"".concat(x)}function __setFunctionName(f,name,prefix){return typeof name=="symbol"&&(name=name.description?"[".concat(name.description,"]"):""),Object.defineProperty(f,"name",{configurable:!0,value:prefix?"".concat(prefix," ",name):name})}function __metadata(metadataKey,metadataValue){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(metadataKey,metadataValue)}function __awaiter(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())})}function __generator(thisArg,body){var _={label:0,sent:function(){if(t[0]&1)throw t[1];return t[1]},trys:[],ops:[]},f,y,t,g;return g={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol=="function"&&(g[Symbol.iterator]=function(){return this}),g;function verb(n){return function(v){return step([n,v])}}function step(op){if(f)throw new TypeError("Generator is already executing.");for(;g&&(g=0,op[0]&&(_=0)),_;)try{if(f=1,y&&(t=op[0]&2?y.return:op[0]?y.throw||((t=y.return)&&t.call(y),0):y.next)&&!(t=t.call(y,op[1])).done)return t;switch(y=0,t&&(op=[op[0]&2,t.value]),op[0]){case 0:case 1:t=op;break;case 4:return _.label++,{value:op[1],done:!1};case 5:_.label++,y=op[1],op=[0];continue;case 7:op=_.ops.pop(),_.trys.pop();continue;default:if(t=_.trys,!(t=t.length>0&&t[t.length-1])&&(op[0]===6||op[0]===2)){_=0;continue}if(op[0]===3&&(!t||op[1]>t[0]&&op[1]<t[3])){_.label=op[1];break}if(op[0]===6&&_.label<t[1]){_.label=t[1],t=op;break}if(t&&_.label<t[2]){_.label=t[2],_.ops.push(op);break}t[2]&&_.ops.pop(),_.trys.pop();continue}op=body.call(thisArg,_)}catch(e){op=[6,e],y=0}finally{f=t=0}if(op[0]&5)throw op[1];return{value:op[0]?op[1]:void 0,done:!0}}}var __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]};function __exportStar(m,o){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(o,p)&&__createBinding(o,m,p)}function __values(o){var s=typeof Symbol=="function"&&Symbol.iterator,m=s&&o[s],i=0;if(m)return m.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&i>=o.length&&(o=void 0),{value:o&&o[i++],done:!o}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read(o,n){var m=typeof Symbol=="function"&&o[Symbol.iterator];if(!m)return o;var i=m.call(o),r,ar=[],e;try{for(;(n===void 0||n-- >0)&&!(r=i.next()).done;)ar.push(r.value)}catch(error){e={error}}finally{try{r&&!r.done&&(m=i.return)&&m.call(i)}finally{if(e)throw e.error}}return ar}function __spread(){for(var ar=[],i=0;i<arguments.length;i++)ar=ar.concat(__read(arguments[i]));return ar}function __spreadArrays(){for(var s=0,i=0,il=arguments.length;i<il;i++)s+=arguments[i].length;for(var r=Array(s),k=0,i=0;i<il;i++)for(var a=arguments[i],j=0,jl=a.length;j<jl;j++,k++)r[k]=a[j];return r}function __spreadArray(to,from2,pack){if(pack||arguments.length===2)for(var i=0,l=from2.length,ar;i<l;i++)(ar||!(i in from2))&&(ar||(ar=Array.prototype.slice.call(from2,0,i)),ar[i]=from2[i]);return to.concat(ar||Array.prototype.slice.call(from2))}function __await(v){return this instanceof __await?(this.v=v,this):new __await(v)}function __asyncGenerator(thisArg,_arguments,generator){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var g=generator.apply(thisArg,_arguments||[]),i,q=[];return i={},verb("next"),verb("throw"),verb("return"),i[Symbol.asyncIterator]=function(){return this},i;function verb(n){g[n]&&(i[n]=function(v){return new Promise(function(a,b){q.push([n,v,a,b])>1||resume(n,v)})})}function resume(n,v){try{step(g[n](v))}catch(e){settle(q[0][3],e)}}function step(r){r.value instanceof __await?Promise.resolve(r.value.v).then(fulfill,reject):settle(q[0][2],r)}function fulfill(value){resume("next",value)}function reject(value){resume("throw",value)}function settle(f,v){f(v),q.shift(),q.length&&resume(q[0][0],q[0][1])}}function __asyncDelegator(o){var i,p;return i={},verb("next"),verb("throw",function(e){throw e}),verb("return"),i[Symbol.iterator]=function(){return this},i;function verb(n,f){i[n]=o[n]?function(v){return(p=!p)?{value:__await(o[n](v)),done:!1}:f?f(v):v}:f}}function __asyncValues(o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var m=o[Symbol.asyncIterator],i;return m?m.call(o):(o=typeof __values=="function"?__values(o):o[Symbol.iterator](),i={},verb("next"),verb("throw"),verb("return"),i[Symbol.asyncIterator]=function(){return this},i);function verb(n){i[n]=o[n]&&function(v){return new Promise(function(resolve,reject){v=o[n](v),settle(resolve,reject,v.done,v.value)})}}function settle(resolve,reject,d,v){Promise.resolve(v).then(function(v2){resolve({value:v2,done:d})},reject)}}function __makeTemplateObject(cooked,raw){return Object.defineProperty?Object.defineProperty(cooked,"raw",{value:raw}):cooked.raw=raw,cooked}var __setModuleDefault=Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v};function __importStar(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}function __importDefault(mod){return mod&&mod.__esModule?mod:{default:mod}}function __classPrivateFieldGet(receiver,state,kind,f){if(kind==="a"&&!f)throw new TypeError("Private accessor was defined without a getter");if(typeof state=="function"?receiver!==state||!f:!state.has(receiver))throw new TypeError("Cannot read private member from an object whose class did not declare it");return kind==="m"?f:kind==="a"?f.call(receiver):f?f.value:state.get(receiver)}function __classPrivateFieldSet(receiver,state,value,kind,f){if(kind==="m")throw new TypeError("Private method is not writable");if(kind==="a"&&!f)throw new TypeError("Private accessor was defined without a setter");if(typeof state=="function"?receiver!==state||!f:!state.has(receiver))throw new TypeError("Cannot write private member to an object whose class did not declare it");return kind==="a"?f.call(receiver,value):f?f.value=value:state.set(receiver,value),value}function __classPrivateFieldIn(state,receiver){if(receiver===null||typeof receiver!="object"&&typeof receiver!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof state=="function"?receiver===state:state.has(receiver)}function __addDisposableResource(env,value,async){if(value!=null){if(typeof value!="object"&&typeof value!="function")throw new TypeError("Object expected.");var dispose;if(async){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");dispose=value[Symbol.asyncDispose]}if(dispose===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");dispose=value[Symbol.dispose]}if(typeof dispose!="function")throw new TypeError("Object not disposable.");env.stack.push({value,dispose,async})}else async&&env.stack.push({async:!0});return value}var _SuppressedError=typeof SuppressedError=="function"?SuppressedError:function(error,suppressed,message){var e=new Error(message);return e.name="SuppressedError",e.error=error,e.suppressed=suppressed,e};function __disposeResources(env){function fail(e){env.error=env.hasError?new _SuppressedError(e,env.error,"An error was suppressed during disposal."):e,env.hasError=!0}function next(){for(;env.stack.length;){var rec=env.stack.pop();try{var result=rec.dispose&&rec.dispose.call(rec.value);if(rec.async)return Promise.resolve(result).then(next,function(e){return fail(e),next()})}catch(e){fail(e)}}if(env.hasError)throw env.error}return next()}const tslib_es6={__extends,__assign:tslib_es6_assign,__rest,__decorate,__param,__metadata,__awaiter,__generator,__createBinding,__exportStar,__values,__read,__spread,__spreadArrays,__spreadArray,__await,__asyncGenerator,__asyncDelegator,__asyncValues,__makeTemplateObject,__importStar,__importDefault,__classPrivateFieldGet,__classPrivateFieldSet,__classPrivateFieldIn,__addDisposableResource,__disposeResources};var genericMessage="Invariant Violation",_a=Object.setPrototypeOf,setPrototypeOf=_a===void 0?function(obj,proto){return obj.__proto__=proto,obj}:_a,InvariantError=function(_super){__extends(InvariantError2,_super);function InvariantError2(message){message===void 0&&(message=genericMessage);var _this=_super.call(this,typeof message=="number"?genericMessage+": "+message+" (see https://github.com/apollographql/invariant-packages)":message)||this;return _this.framesToPop=1,_this.name=genericMessage,setPrototypeOf(_this,InvariantError2.prototype),_this}return InvariantError2}(Error);function invariant_invariant(condition,message){if(!condition)throw new InvariantError(message)}var verbosityLevels=["debug","log","warn","error","silent"],verbosityLevel=verbosityLevels.indexOf("log");function wrapConsoleMethod(name){return function(){if(verbosityLevels.indexOf(name)>=verbosityLevel){var method=console[name]||console.log;return method.apply(console,arguments)}}}(function(invariant2){invariant2.debug=wrapConsoleMethod("debug"),invariant2.log=wrapConsoleMethod("log"),invariant2.warn=wrapConsoleMethod("warn"),invariant2.error=wrapConsoleMethod("error")})(invariant_invariant||(invariant_invariant={}));function setVerbosity(level){var old=verbosityLevels[verbosityLevel];return verbosityLevel=Math.max(0,verbosityLevels.indexOf(level)),old}const invariant=null;var version="3.10.4";function maybe(thunk){try{return thunk()}catch{}}const globals_global=maybe(function(){return globalThis})||maybe(function(){return window})||maybe(function(){return self})||maybe(function(){return global})||maybe(function(){return maybe.constructor("return this")()});var prefixCounts=new Map;function makeUniqueId(prefix){var count=prefixCounts.get(prefix)||1;return prefixCounts.set(prefix,count+1),"".concat(prefix,":").concat(count,":").concat(Math.random().toString(36).slice(2))}function stringifyForDisplay(value,space){space===void 0&&(space=0);var undefId=makeUniqueId("stringifyForDisplay");return JSON.stringify(value,function(key,value2){return value2===void 0?undefId:value2},space).split(JSON.stringify(undefId)).join("<undefined>")}function wrap(fn){return function(message){for(var args=[],_i=1;_i<arguments.length;_i++)args[_i-1]=arguments[_i];if(typeof message=="number"){var arg0=message;message=getHandledErrorMsg(arg0),message||(message=getFallbackErrorMsg(arg0,args),args=[])}fn.apply(void 0,[message].concat(args))}}var invariantWrappers_invariant=Object.assign(function(condition,message){for(var args=[],_i=2;_i<arguments.length;_i++)args[_i-2]=arguments[_i];condition||invariant_invariant(condition,getHandledErrorMsg(message,args)||getFallbackErrorMsg(message,args))},{debug:wrap(invariant_invariant.debug),log:wrap(invariant_invariant.log),warn:wrap(invariant_invariant.warn),error:wrap(invariant_invariant.error)});function newInvariantError(message){for(var optionalParams=[],_i=1;_i<arguments.length;_i++)optionalParams[_i-1]=arguments[_i];return new InvariantError(getHandledErrorMsg(message,optionalParams)||getFallbackErrorMsg(message,optionalParams))}var ApolloErrorMessageHandler=Symbol.for("ApolloErrorMessageHandler_"+version);function stringify(arg){return typeof arg=="string"?arg:stringifyForDisplay(arg,2).slice(0,1e3)}function getHandledErrorMsg(message,messageArgs){if(messageArgs===void 0&&(messageArgs=[]),!!message)return globals_global[ApolloErrorMessageHandler]&&globals_global[ApolloErrorMessageHandler](message,messageArgs.map(stringify))}function getFallbackErrorMsg(message,messageArgs){if(messageArgs===void 0&&(messageArgs=[]),!!message)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version,message,args:messageArgs.map(stringify)})))}var DEV=globalThis.__DEV__!==!1;function _createForOfIteratorHelperLoose(o,allowArrayLike){var it=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(it)return(it=it.call(o)).next.bind(it);if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length=="number"){it&&(o=it);var i=0;return function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
672
672
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray(o,minLen){if(!!o){if(typeof o=="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor&&(n=o.constructor.name),n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(len==null||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}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),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}var hasSymbols=function(){return typeof Symbol=="function"},hasSymbol=function(name){return hasSymbols()&&Boolean(Symbol[name])},getSymbol=function(name){return hasSymbol(name)?Symbol[name]:"@@"+name};hasSymbols()&&!hasSymbol("observable")&&(Symbol.observable=Symbol("observable"));var SymbolIterator=getSymbol("iterator"),SymbolObservable=getSymbol("observable"),SymbolSpecies=getSymbol("species");function getMethod(obj,key){var value=obj[key];if(value!=null){if(typeof value!="function")throw new TypeError(value+" is not a function");return value}}function getSpecies(obj){var ctor=obj.constructor;return ctor!==void 0&&(ctor=ctor[SymbolSpecies],ctor===null&&(ctor=void 0)),ctor!==void 0?ctor:Observable}function isObservable(x){return x instanceof Observable}function hostReportError(e){hostReportError.log?hostReportError.log(e):setTimeout(function(){throw e})}function enqueue(fn){Promise.resolve().then(function(){try{fn()}catch(e){hostReportError(e)}})}function cleanupSubscription(subscription){var cleanup=subscription._cleanup;if(cleanup!==void 0&&(subscription._cleanup=void 0,!!cleanup))try{if(typeof cleanup=="function")cleanup();else{var unsubscribe=getMethod(cleanup,"unsubscribe");unsubscribe&&unsubscribe.call(cleanup)}}catch(e){hostReportError(e)}}function closeSubscription(subscription){subscription._observer=void 0,subscription._queue=void 0,subscription._state="closed"}function flushSubscription(subscription){var queue=subscription._queue;if(!!queue){subscription._queue=void 0,subscription._state="ready";for(var i=0;i<queue.length&&(notifySubscription(subscription,queue[i].type,queue[i].value),subscription._state!=="closed");++i);}}function notifySubscription(subscription,type,value){subscription._state="running";var observer=subscription._observer;try{var m=getMethod(observer,type);switch(type){case"next":m&&m.call(observer,value);break;case"error":if(closeSubscription(subscription),m)m.call(observer,value);else throw value;break;case"complete":closeSubscription(subscription),m&&m.call(observer);break}}catch(e){hostReportError(e)}subscription._state==="closed"?cleanupSubscription(subscription):subscription._state==="running"&&(subscription._state="ready")}function onNotify(subscription,type,value){if(subscription._state!=="closed"){if(subscription._state==="buffering"){subscription._queue.push({type,value});return}if(subscription._state!=="ready"){subscription._state="buffering",subscription._queue=[{type,value}],enqueue(function(){return flushSubscription(subscription)});return}notifySubscription(subscription,type,value)}}var Subscription=function(){function Subscription2(observer,subscriber){this._cleanup=void 0,this._observer=observer,this._queue=void 0,this._state="initializing";var subscriptionObserver=new SubscriptionObserver(this);try{this._cleanup=subscriber.call(void 0,subscriptionObserver)}catch(e){subscriptionObserver.error(e)}this._state==="initializing"&&(this._state="ready")}var _proto=Subscription2.prototype;return _proto.unsubscribe=function(){this._state!=="closed"&&(closeSubscription(this),cleanupSubscription(this))},_createClass(Subscription2,[{key:"closed",get:function(){return this._state==="closed"}}]),Subscription2}(),SubscriptionObserver=function(){function SubscriptionObserver2(subscription){this._subscription=subscription}var _proto2=SubscriptionObserver2.prototype;return _proto2.next=function(value){onNotify(this._subscription,"next",value)},_proto2.error=function(value){onNotify(this._subscription,"error",value)},_proto2.complete=function(){onNotify(this._subscription,"complete")},_createClass(SubscriptionObserver2,[{key:"closed",get:function(){return this._subscription._state==="closed"}}]),SubscriptionObserver2}(),Observable=function(){function Observable2(subscriber){if(!(this instanceof Observable2))throw new TypeError("Observable cannot be called as a function");if(typeof subscriber!="function")throw new TypeError("Observable initializer must be a function");this._subscriber=subscriber}var _proto3=Observable2.prototype;return _proto3.subscribe=function(observer){return(typeof observer!="object"||observer===null)&&(observer={next:observer,error:arguments[1],complete:arguments[2]}),new Subscription(observer,this._subscriber)},_proto3.forEach=function(fn){var _this=this;return new Promise(function(resolve,reject){if(typeof fn!="function"){reject(new TypeError(fn+" is not a function"));return}function done(){subscription.unsubscribe(),resolve()}var subscription=_this.subscribe({next:function(value){try{fn(value,done)}catch(e){reject(e),subscription.unsubscribe()}},error:reject,complete:resolve})})},_proto3.map=function(fn){var _this2=this;if(typeof fn!="function")throw new TypeError(fn+" is not a function");var C=getSpecies(this);return new C(function(observer){return _this2.subscribe({next:function(value){try{value=fn(value)}catch(e){return observer.error(e)}observer.next(value)},error:function(e){observer.error(e)},complete:function(){observer.complete()}})})},_proto3.filter=function(fn){var _this3=this;if(typeof fn!="function")throw new TypeError(fn+" is not a function");var C=getSpecies(this);return new C(function(observer){return _this3.subscribe({next:function(value){try{if(!fn(value))return}catch(e){return observer.error(e)}observer.next(value)},error:function(e){observer.error(e)},complete:function(){observer.complete()}})})},_proto3.reduce=function(fn){var _this4=this;if(typeof fn!="function")throw new TypeError(fn+" is not a function");var C=getSpecies(this),hasSeed=arguments.length>1,hasValue=!1,seed=arguments[1],acc=seed;return new C(function(observer){return _this4.subscribe({next:function(value){var first=!hasValue;if(hasValue=!0,!first||hasSeed)try{acc=fn(acc,value)}catch(e){return observer.error(e)}else acc=value},error:function(e){observer.error(e)},complete:function(){if(!hasValue&&!hasSeed)return observer.error(new TypeError("Cannot reduce an empty sequence"));observer.next(acc),observer.complete()}})})},_proto3.concat=function(){for(var _this5=this,_len=arguments.length,sources=new Array(_len),_key=0;_key<_len;_key++)sources[_key]=arguments[_key];var C=getSpecies(this);return new C(function(observer){var subscription,index=0;function startNext(next){subscription=next.subscribe({next:function(v){observer.next(v)},error:function(e){observer.error(e)},complete:function(){index===sources.length?(subscription=void 0,observer.complete()):startNext(C.from(sources[index++]))}})}return startNext(_this5),function(){subscription&&(subscription.unsubscribe(),subscription=void 0)}})},_proto3.flatMap=function(fn){var _this6=this;if(typeof fn!="function")throw new TypeError(fn+" is not a function");var C=getSpecies(this);return new C(function(observer){var subscriptions=[],outer=_this6.subscribe({next:function(value){if(fn)try{value=fn(value)}catch(e){return observer.error(e)}var inner=C.from(value).subscribe({next:function(value2){observer.next(value2)},error:function(e){observer.error(e)},complete:function(){var i=subscriptions.indexOf(inner);i>=0&&subscriptions.splice(i,1),completeIfDone()}});subscriptions.push(inner)},error:function(e){observer.error(e)},complete:function(){completeIfDone()}});function completeIfDone(){outer.closed&&subscriptions.length===0&&observer.complete()}return function(){subscriptions.forEach(function(s){return s.unsubscribe()}),outer.unsubscribe()}})},_proto3[SymbolObservable]=function(){return this},Observable2.from=function(x){var C=typeof this=="function"?this:Observable2;if(x==null)throw new TypeError(x+" is not an object");var method=getMethod(x,SymbolObservable);if(method){var observable=method.call(x);if(Object(observable)!==observable)throw new TypeError(observable+" is not an object");return isObservable(observable)&&observable.constructor===C?observable:new C(function(observer){return observable.subscribe(observer)})}if(hasSymbol("iterator")&&(method=getMethod(x,SymbolIterator),method))return new C(function(observer){enqueue(function(){if(!observer.closed){for(var _iterator=_createForOfIteratorHelperLoose(method.call(x)),_step;!(_step=_iterator()).done;){var item=_step.value;if(observer.next(item),observer.closed)return}observer.complete()}})});if(Array.isArray(x))return new C(function(observer){enqueue(function(){if(!observer.closed){for(var i=0;i<x.length;++i)if(observer.next(x[i]),observer.closed)return;observer.complete()}})});throw new TypeError(x+" is not observable")},Observable2.of=function(){for(var _len2=arguments.length,items=new Array(_len2),_key2=0;_key2<_len2;_key2++)items[_key2]=arguments[_key2];var C=typeof this=="function"?this:Observable2;return new C(function(observer){enqueue(function(){if(!observer.closed){for(var i=0;i<items.length;++i)if(observer.next(items[i]),observer.closed)return;observer.complete()}})})},_createClass(Observable2,null,[{key:SymbolSpecies,get:function(){return this}}]),Observable2}();hasSymbols()&&Object.defineProperty(Observable,Symbol("extensions"),{value:{symbol:SymbolObservable,hostReportError},configurable:!0});function createOperation(starting,operation){var context=tslib_es6_assign({},starting),setContext=function(next){typeof next=="function"?context=tslib_es6_assign(tslib_es6_assign({},context),next(context)):context=tslib_es6_assign(tslib_es6_assign({},context),next)},getContext=function(){return tslib_es6_assign({},context)};return Object.defineProperty(operation,"setContext",{enumerable:!1,value:setContext}),Object.defineProperty(operation,"getContext",{enumerable:!1,value:getContext}),operation}function isNonNullObject(obj){return obj!==null&&typeof obj=="object"}function isPlainObject(obj){return obj!==null&&typeof obj=="object"&&(Object.getPrototypeOf(obj)===Object.prototype||Object.getPrototypeOf(obj)===null)}function getFragmentQueryDocument(document2,fragmentName){var actualFragmentName=fragmentName,fragments=[];document2.definitions.forEach(function(definition){if(definition.kind==="OperationDefinition")throw newInvariantError(72,definition.operation,definition.name?" named '".concat(definition.name.value,"'"):"");definition.kind==="FragmentDefinition"&&fragments.push(definition)}),typeof actualFragmentName>"u"&&(invariantWrappers_invariant(fragments.length===1,73,fragments.length),actualFragmentName=fragments[0].name.value);var query=tslib_es6_assign(tslib_es6_assign({},document2),{definitions:__spreadArray([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:actualFragmentName}}]}}],document2.definitions,!0)});return query}function createFragmentMap(fragments){fragments===void 0&&(fragments=[]);var symTable={};return fragments.forEach(function(fragment){symTable[fragment.name.value]=fragment}),symTable}function getFragmentFromSelection(selection,fragmentMap){switch(selection.kind){case"InlineFragment":return selection;case"FragmentSpread":{var fragmentName=selection.name.value;if(typeof fragmentMap=="function")return fragmentMap(fragmentName);var fragment=fragmentMap&&fragmentMap[fragmentName];return invariantWrappers_invariant(fragment,74,fragmentName),fragment||null}default:return null}}function noop(){}const defaultDispose=noop,_WeakRef=typeof WeakRef<"u"?WeakRef:function(value){return{deref:()=>value}},_WeakMap=typeof WeakMap<"u"?WeakMap:Map,_FinalizationRegistry=typeof FinalizationRegistry<"u"?FinalizationRegistry:function(){return{register:noop,unregister:noop}},finalizationBatchSize=10024;class WeakCache{constructor(max=1/0,dispose=defaultDispose){this.max=max,this.dispose=dispose,this.map=new _WeakMap,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{const iterator=this.unfinalizedNodes.values();for(let i=0;i<finalizationBatchSize;i++){const node=iterator.next().value;if(!node)break;this.unfinalizedNodes.delete(node);const key=node.key;delete node.key,node.keyRef=new _WeakRef(key),this.registry.register(key,node,node)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new _FinalizationRegistry(this.deleteNode.bind(this))}has(key){return this.map.has(key)}get(key){const node=this.getNode(key);return node&&node.value}getNode(key){const node=this.map.get(key);if(node&&node!==this.newest){const{older,newer}=node;newer&&(newer.older=older),older&&(older.newer=newer),node.older=this.newest,node.older.newer=node,node.newer=null,this.newest=node,node===this.oldest&&(this.oldest=newer)}return node}set(key,value){let node=this.getNode(key);return node?node.value=value:(node={key,value,newer:null,older:this.newest},this.newest&&(this.newest.newer=node),this.newest=node,this.oldest=this.oldest||node,this.scheduleFinalization(node),this.map.set(key,node),this.size++,node.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(node){node===this.newest&&(this.newest=node.older),node===this.oldest&&(this.oldest=node.newer),node.newer&&(node.newer.older=node.older),node.older&&(node.older.newer=node.newer),this.size--;const key=node.key||node.keyRef&&node.keyRef.deref();this.dispose(node.value,key),node.keyRef?this.registry.unregister(node):this.unfinalizedNodes.delete(node),key&&this.map.delete(key)}delete(key){const node=this.map.get(key);return node?(this.deleteNode(node),!0):!1}scheduleFinalization(node){this.unfinalizedNodes.add(node),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}function strong_defaultDispose(){}class StrongCache{constructor(max=1/0,dispose=strong_defaultDispose){this.max=max,this.dispose=dispose,this.map=new Map,this.newest=null,this.oldest=null}has(key){return this.map.has(key)}get(key){const node=this.getNode(key);return node&&node.value}get size(){return this.map.size}getNode(key){const node=this.map.get(key);if(node&&node!==this.newest){const{older,newer}=node;newer&&(newer.older=older),older&&(older.newer=newer),node.older=this.newest,node.older.newer=node,node.newer=null,this.newest=node,node===this.oldest&&(this.oldest=newer)}return node}set(key,value){let node=this.getNode(key);return node?node.value=value:(node={key,value,newer:null,older:this.newest},this.newest&&(this.newest.newer=node),this.newest=node,this.oldest=this.oldest||node,this.map.set(key,node),node.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(key){const node=this.map.get(key);return node?(node===this.newest&&(this.newest=node.older),node===this.oldest&&(this.oldest=node.newer),node.newer&&(node.newer.older=node.older),node.older&&(node.older.newer=node.newer),this.map.delete(key),this.dispose(node.value,key),!0):!1}}var scheduledCleanup=new WeakSet;function schedule(cache2){cache2.size<=(cache2.max||-1)||scheduledCleanup.has(cache2)||(scheduledCleanup.add(cache2),setTimeout(function(){cache2.clean(),scheduledCleanup.delete(cache2)},100))}var AutoCleanedWeakCache=function(max,dispose){var cache2=new WeakCache(max,dispose);return cache2.set=function(key,value){var ret=WeakCache.prototype.set.call(this,key,value);return schedule(this),ret},cache2},AutoCleanedStrongCache=function(max,dispose){var cache2=new StrongCache(max,dispose);return cache2.set=function(key,value){var ret=StrongCache.prototype.set.call(this,key,value);return schedule(this),ret},cache2},cacheSizeSymbol=Symbol.for("apollo.cacheSize"),cacheSizes=tslib_es6_assign({},globals_global[cacheSizeSymbol]),globalCaches={};function registerGlobalCache(name,getSize){globalCaches[name]=getSize}var getApolloClientMemoryInternals=globalThis.__DEV__!==!1?_getApolloClientMemoryInternals:void 0,getInMemoryCacheMemoryInternals=globalThis.__DEV__!==!1?_getInMemoryCacheMemoryInternals:void 0,getApolloCacheMemoryInternals=globalThis.__DEV__!==!1?_getApolloCacheMemoryInternals:void 0;function getCurrentCacheSizes(){var defaults={parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4};return Object.fromEntries(Object.entries(defaults).map(function(_a2){var k=_a2[0],v=_a2[1];return[k,cacheSizes[k]||v]}))}function _getApolloClientMemoryInternals(){var _a2,_b,_c,_d,_e;if(globalThis.__DEV__===!1)throw new Error("only supported in development mode");return{limits:getCurrentCacheSizes(),sizes:tslib_es6_assign({print:(_a2=globalCaches.print)===null||_a2===void 0?void 0:_a2.call(globalCaches),parser:(_b=globalCaches.parser)===null||_b===void 0?void 0:_b.call(globalCaches),canonicalStringify:(_c=globalCaches.canonicalStringify)===null||_c===void 0?void 0:_c.call(globalCaches),links:linkInfo(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:transformInfo(this.queryManager.documentTransform)}},(_e=(_d=this.cache).getMemoryInternals)===null||_e===void 0?void 0:_e.call(_d))}}function _getApolloCacheMemoryInternals(){return{cache:{fragmentQueryDocuments:getWrapperInformation(this.getFragmentDoc)}}}function _getInMemoryCacheMemoryInternals(){var fragments=this.config.fragments;return tslib_es6_assign(tslib_es6_assign({},_getApolloCacheMemoryInternals.apply(this)),{addTypenameDocumentTransform:transformInfo(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:getWrapperInformation(this.storeReader.executeSelectionSet),executeSubSelectedArray:getWrapperInformation(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:getWrapperInformation(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:getWrapperInformation(fragments?.findFragmentSpreads),lookup:getWrapperInformation(fragments?.lookup),transform:getWrapperInformation(fragments?.transform)}})}function isWrapper(f){return!!f&&"dirtyKey"in f}function getWrapperInformation(f){return isWrapper(f)?f.size:void 0}function isDefined(value){return value!=null}function transformInfo(transform){return recurseTransformInfo(transform).map(function(cache2){return{cache:cache2}})}function recurseTransformInfo(transform){return transform?__spreadArray(__spreadArray([getWrapperInformation(transform?.performWork)],recurseTransformInfo(transform?.left),!0),recurseTransformInfo(transform?.right),!0).filter(isDefined):[]}function linkInfo(link){var _a2;return link?__spreadArray(__spreadArray([(_a2=link?.getMemoryInternals)===null||_a2===void 0?void 0:_a2.call(link)],linkInfo(link?.left),!0),linkInfo(link?.right),!0).filter(isDefined):[]}var canonicalStringify=Object.assign(function(value){return JSON.stringify(value,stableObjectReplacer)},{reset:function(){sortingMap=new AutoCleanedStrongCache(cacheSizes.canonicalStringify||1e3)}});globalThis.__DEV__!==!1&®isterGlobalCache("canonicalStringify",function(){return sortingMap.size});var sortingMap;canonicalStringify.reset();function stableObjectReplacer(key,value){if(value&&typeof value=="object"){var proto=Object.getPrototypeOf(value);if(proto===Object.prototype||proto===null){var keys=Object.keys(value);if(keys.every(everyKeyInOrder))return value;var unsortedKey=JSON.stringify(keys),sortedKeys=sortingMap.get(unsortedKey);if(!sortedKeys){keys.sort();var sortedKey=JSON.stringify(keys);sortedKeys=sortingMap.get(sortedKey)||keys,sortingMap.set(unsortedKey,sortedKeys),sortingMap.set(sortedKey,sortedKeys)}var sortedObject_1=Object.create(proto);return sortedKeys.forEach(function(key2){sortedObject_1[key2]=value[key2]}),sortedObject_1}}return value}function everyKeyInOrder(key,i,keys){return i===0||keys[i-1]<=key}function makeReference(id){return{__ref:String(id)}}function isReference(obj){return Boolean(obj&&typeof obj=="object"&&typeof obj.__ref=="string")}function isDocumentNode(value){return isNonNullObject(value)&&value.kind==="Document"&&Array.isArray(value.definitions)}function isStringValue(value){return value.kind==="StringValue"}function isBooleanValue(value){return value.kind==="BooleanValue"}function isIntValue(value){return value.kind==="IntValue"}function isFloatValue(value){return value.kind==="FloatValue"}function isVariable(value){return value.kind==="Variable"}function isObjectValue(value){return value.kind==="ObjectValue"}function isListValue(value){return value.kind==="ListValue"}function isEnumValue(value){return value.kind==="EnumValue"}function isNullValue(value){return value.kind==="NullValue"}function valueToObjectRepresentation(argObj,name,value,variables){if(isIntValue(value)||isFloatValue(value))argObj[name.value]=Number(value.value);else if(isBooleanValue(value)||isStringValue(value))argObj[name.value]=value.value;else if(isObjectValue(value)){var nestedArgObj_1={};value.fields.map(function(obj){return valueToObjectRepresentation(nestedArgObj_1,obj.name,obj.value,variables)}),argObj[name.value]=nestedArgObj_1}else if(isVariable(value)){var variableValue=(variables||{})[value.name.value];argObj[name.value]=variableValue}else if(isListValue(value))argObj[name.value]=value.values.map(function(listValue){var nestedArgArrayObj={};return valueToObjectRepresentation(nestedArgArrayObj,name,listValue,variables),nestedArgArrayObj[name.value]});else if(isEnumValue(value))argObj[name.value]=value.value;else if(isNullValue(value))argObj[name.value]=null;else throw newInvariantError(83,name.value,value.kind)}function storeKeyNameFromField(field,variables){var directivesObj=null;field.directives&&(directivesObj={},field.directives.forEach(function(directive){directivesObj[directive.name.value]={},directive.arguments&&directive.arguments.forEach(function(_a2){var name=_a2.name,value=_a2.value;return valueToObjectRepresentation(directivesObj[directive.name.value],name,value,variables)})}));var argObj=null;return field.arguments&&field.arguments.length&&(argObj={},field.arguments.forEach(function(_a2){var name=_a2.name,value=_a2.value;return valueToObjectRepresentation(argObj,name,value,variables)})),getStoreKeyName(field.name.value,argObj,directivesObj)}var KNOWN_DIRECTIVES=["connection","include","skip","client","rest","export","nonreactive"],storeKeyNameStringify=canonicalStringify,getStoreKeyName=Object.assign(function(fieldName,args,directives){if(args&&directives&&directives.connection&&directives.connection.key)if(directives.connection.filter&&directives.connection.filter.length>0){var filterKeys=directives.connection.filter?directives.connection.filter:[];filterKeys.sort();var filteredArgs_1={};return filterKeys.forEach(function(key){filteredArgs_1[key]=args[key]}),"".concat(directives.connection.key,"(").concat(storeKeyNameStringify(filteredArgs_1),")")}else return directives.connection.key;var completeFieldName=fieldName;if(args){var stringifiedArgs=storeKeyNameStringify(args);completeFieldName+="(".concat(stringifiedArgs,")")}return directives&&Object.keys(directives).forEach(function(key){KNOWN_DIRECTIVES.indexOf(key)===-1&&(directives[key]&&Object.keys(directives[key]).length?completeFieldName+="@".concat(key,"(").concat(storeKeyNameStringify(directives[key]),")"):completeFieldName+="@".concat(key))}),completeFieldName},{setStringify:function(s){var previous=storeKeyNameStringify;return storeKeyNameStringify=s,previous}});function argumentsObjectFromField(field,variables){if(field.arguments&&field.arguments.length){var argObj_1={};return field.arguments.forEach(function(_a2){var name=_a2.name,value=_a2.value;return valueToObjectRepresentation(argObj_1,name,value,variables)}),argObj_1}return null}function resultKeyNameFromField(field){return field.alias?field.alias.value:field.name.value}function getTypenameFromResult(result,selectionSet,fragmentMap){for(var fragments,_i=0,_a2=selectionSet.selections;_i<_a2.length;_i++){var selection=_a2[_i];if(storeUtils_isField(selection)){if(selection.name.value==="__typename")return result[resultKeyNameFromField(selection)]}else fragments?fragments.push(selection):fragments=[selection]}if(typeof result.__typename=="string")return result.__typename;if(fragments)for(var _b=0,fragments_1=fragments;_b<fragments_1.length;_b++){var selection=fragments_1[_b],typename=getTypenameFromResult(result,getFragmentFromSelection(selection,fragmentMap).selectionSet,fragmentMap);if(typeof typename=="string")return typename}}function storeUtils_isField(selection){return selection.kind==="Field"}function isInlineFragment(selection){return selection.kind==="InlineFragment"}function getFromAST_checkDocument(doc){invariantWrappers_invariant(doc&&doc.kind==="Document",75);var operations=doc.definitions.filter(function(d){return d.kind!=="FragmentDefinition"}).map(function(definition){if(definition.kind!=="OperationDefinition")throw newInvariantError(76,definition.kind);return definition});return invariantWrappers_invariant(operations.length<=1,77,operations.length),doc}function getOperationDefinition(doc){return getFromAST_checkDocument(doc),doc.definitions.filter(function(definition){return definition.kind==="OperationDefinition"})[0]}function getOperationName(doc){return doc.definitions.filter(function(definition){return definition.kind==="OperationDefinition"&&!!definition.name}).map(function(x){return x.name.value})[0]||null}function getFragmentDefinitions(doc){return doc.definitions.filter(function(definition){return definition.kind==="FragmentDefinition"})}function getQueryDefinition(doc){var queryDef=getOperationDefinition(doc);return invariantWrappers_invariant(queryDef&&queryDef.operation==="query",78),queryDef}function getFragmentDefinition(doc){invariantWrappers_invariant(doc.kind==="Document",79),invariantWrappers_invariant(doc.definitions.length<=1,80);var fragmentDef=doc.definitions[0];return invariantWrappers_invariant(fragmentDef.kind==="FragmentDefinition",81),fragmentDef}function getMainDefinition(queryDoc){getFromAST_checkDocument(queryDoc);for(var fragmentDefinition,_i=0,_a2=queryDoc.definitions;_i<_a2.length;_i++){var definition=_a2[_i];if(definition.kind==="OperationDefinition"){var operation=definition.operation;if(operation==="query"||operation==="mutation"||operation==="subscription")return definition}definition.kind==="FragmentDefinition"&&!fragmentDefinition&&(fragmentDefinition=definition)}if(fragmentDefinition)return fragmentDefinition;throw newInvariantError(82)}function getDefaultValues(definition){var defaultValues=Object.create(null),defs=definition&&definition.variableDefinitions;return defs&&defs.length&&defs.forEach(function(def){def.defaultValue&&valueToObjectRepresentation(defaultValues,def.variable.name,def.defaultValue)}),defaultValues}function transformOperation(operation){var transformedOperation={variables:operation.variables||{},extensions:operation.extensions||{},operationName:operation.operationName,query:operation.query};return transformedOperation.operationName||(transformedOperation.operationName=typeof transformedOperation.query!="string"?getOperationName(transformedOperation.query)||void 0:""),transformedOperation}function validateOperation(operation){for(var OPERATION_FIELDS=["query","operationName","variables","extensions","context"],_i=0,_a2=Object.keys(operation);_i<_a2.length;_i++){var key=_a2[_i];if(OPERATION_FIELDS.indexOf(key)<0)throw newInvariantError(43,key)}return operation}function passthrough(op,forward){return forward?forward(op):Observable.of()}function toLink(handler){return typeof handler=="function"?new ApolloLink(handler):handler}function isTerminating(link){return link.request.length<=1}var ApolloLink=function(){function ApolloLink2(request){request&&(this.request=request)}return ApolloLink2.empty=function(){return new ApolloLink2(function(){return Observable.of()})},ApolloLink2.from=function(links){return links.length===0?ApolloLink2.empty():links.map(toLink).reduce(function(x,y){return x.concat(y)})},ApolloLink2.split=function(test,left,right){var leftLink=toLink(left),rightLink=toLink(right||new ApolloLink2(passthrough)),ret;return isTerminating(leftLink)&&isTerminating(rightLink)?ret=new ApolloLink2(function(operation){return test(operation)?leftLink.request(operation)||Observable.of():rightLink.request(operation)||Observable.of()}):ret=new ApolloLink2(function(operation,forward){return test(operation)?leftLink.request(operation,forward)||Observable.of():rightLink.request(operation,forward)||Observable.of()}),Object.assign(ret,{left:leftLink,right:rightLink})},ApolloLink2.execute=function(link,operation){return link.request(createOperation(operation.context,transformOperation(validateOperation(operation))))||Observable.of()},ApolloLink2.concat=function(first,second){var firstLink=toLink(first);if(isTerminating(firstLink))return globalThis.__DEV__!==!1&&invariantWrappers_invariant.warn(35,firstLink),firstLink;var nextLink=toLink(second),ret;return isTerminating(nextLink)?ret=new ApolloLink2(function(operation){return firstLink.request(operation,function(op){return nextLink.request(op)||Observable.of()})||Observable.of()}):ret=new ApolloLink2(function(operation,forward){return firstLink.request(operation,function(op){return nextLink.request(op,forward)||Observable.of()})||Observable.of()}),Object.assign(ret,{left:firstLink,right:nextLink})},ApolloLink2.prototype.split=function(test,left,right){return this.concat(ApolloLink2.split(test,left,right||new ApolloLink2(passthrough)))},ApolloLink2.prototype.concat=function(next){return ApolloLink2.concat(this,next)},ApolloLink2.prototype.request=function(operation,forward){throw newInvariantError(36)},ApolloLink2.prototype.onError=function(error,observer){if(observer&&observer.error)return observer.error(error),!1;throw error},ApolloLink2.prototype.setOnError=function(fn){return this.onError=fn,this},ApolloLink2}(),execute=ApolloLink.execute,visitor=__webpack_require__(91545);function shouldInclude(_a2,variables){var directives=_a2.directives;return!directives||!directives.length?!0:getInclusionDirectives(directives).every(function(_a3){var directive=_a3.directive,ifArgument=_a3.ifArgument,evaledValue=!1;return ifArgument.value.kind==="Variable"?(evaledValue=variables&&variables[ifArgument.value.name.value],invariantWrappers_invariant(evaledValue!==void 0,68,directive.name.value)):evaledValue=ifArgument.value.value,directive.name.value==="skip"?!evaledValue:evaledValue})}function getDirectiveNames(root){var names=[];return visit(root,{Directive:function(node){names.push(node.name.value)}}),names}var hasAnyDirectives=function(names,root){return hasDirectives(names,root,!1)},hasAllDirectives=function(names,root){return hasDirectives(names,root,!0)};function hasDirectives(names,root,all){var nameSet=new Set(names),uniqueCount=nameSet.size;return(0,visitor.Vn)(root,{Directive:function(node){if(nameSet.delete(node.name.value)&&(!all||!nameSet.size))return visitor.$_}}),all?!nameSet.size:nameSet.size<uniqueCount}function hasClientExports(document2){return document2&&hasDirectives(["client","export"],document2,!0)}function isInclusionDirective(_a2){var value=_a2.name.value;return value==="skip"||value==="include"}function getInclusionDirectives(directives){var result=[];return directives&&directives.length&&directives.forEach(function(directive){if(!!isInclusionDirective(directive)){var directiveArguments=directive.arguments,directiveName=directive.name.value;invariantWrappers_invariant(directiveArguments&&directiveArguments.length===1,69,directiveName);var ifArgument=directiveArguments[0];invariantWrappers_invariant(ifArgument.name&&ifArgument.name.value==="if",70,directiveName);var ifValue=ifArgument.value;invariantWrappers_invariant(ifValue&&(ifValue.kind==="Variable"||ifValue.kind==="BooleanValue"),71,directiveName),result.push({directive,ifArgument})}}),result}var serializeFetchParameter=function(p,label){var serialized;try{serialized=JSON.stringify(p)}catch(e){var parseError=newInvariantError(39,label,e.message);throw parseError.parseError=e,parseError}return serialized},selectURI=function(operation,fallbackURI){var context=operation.getContext(),contextURI=context.uri;return contextURI||(typeof fallbackURI=="function"?fallbackURI(operation):fallbackURI||"/graphql")},canUseWeakMap=typeof WeakMap=="function"&&!maybe(function(){return navigator.product=="ReactNative"&&!global.HermesInternal}),canUseWeakSet=typeof WeakSet=="function",canUseSymbol=typeof Symbol=="function"&&typeof Symbol.for=="function",canUseAsyncIteratorSymbol=canUseSymbol&&Symbol.asyncIterator,canUseDOM=typeof maybe(function(){return window.document.createElement})=="function",usingJSDOM=maybe(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,canUseLayoutEffect=canUseDOM&&!usingJSDOM;function asyncIterator(source){var _a2,iterator=source[Symbol.asyncIterator]();return _a2={next:function(){return iterator.next()}},_a2[Symbol.asyncIterator]=function(){return this},_a2}function nodeStreamIterator(stream){var cleanup=null,error=null,done=!1,data=[],waiting=[];function onData(chunk){if(!error){if(waiting.length){var shiftedArr=waiting.shift();if(Array.isArray(shiftedArr)&&shiftedArr[0])return shiftedArr[0]({value:chunk,done:!1})}data.push(chunk)}}function onError(err){error=err;var all=waiting.slice();all.forEach(function(pair){pair[1](err)}),!cleanup||cleanup()}function onEnd(){done=!0;var all=waiting.slice();all.forEach(function(pair){pair[0]({value:void 0,done:!0})}),!cleanup||cleanup()}cleanup=function(){cleanup=null,stream.removeListener("data",onData),stream.removeListener("error",onError),stream.removeListener("end",onEnd),stream.removeListener("finish",onEnd),stream.removeListener("close",onEnd)},stream.on("data",onData),stream.on("error",onError),stream.on("end",onEnd),stream.on("finish",onEnd),stream.on("close",onEnd);function getNext(){return new Promise(function(resolve,reject){if(error)return reject(error);if(data.length)return resolve({value:data.shift(),done:!1});if(done)return resolve({value:void 0,done:!0});waiting.push([resolve,reject])})}var iterator={next:function(){return getNext()}};return canUseAsyncIteratorSymbol&&(iterator[Symbol.asyncIterator]=function(){return this}),iterator}function promiseIterator(promise){var resolved=!1,iterator={next:function(){return resolved?Promise.resolve({value:void 0,done:!0}):(resolved=!0,new Promise(function(resolve,reject){promise.then(function(value){resolve({value,done:!1})}).catch(reject)}))}};return canUseAsyncIteratorSymbol&&(iterator[Symbol.asyncIterator]=function(){return this}),iterator}function readerIterator(reader){var iterator={next:function(){return reader.read()}};return canUseAsyncIteratorSymbol&&(iterator[Symbol.asyncIterator]=function(){return this}),iterator}function isNodeResponse(value){return!!value.body}function isReadableStream(value){return!!value.getReader}function isAsyncIterableIterator(value){return!!(canUseAsyncIteratorSymbol&&value[Symbol.asyncIterator])}function isStreamableBlob(value){return!!value.stream}function isBlob(value){return!!value.arrayBuffer}function isNodeReadableStream(value){return!!value.pipe}function responseIterator(response){var body=response;if(isNodeResponse(response)&&(body=response.body),isAsyncIterableIterator(body))return asyncIterator(body);if(isReadableStream(body))return readerIterator(body.getReader());if(isStreamableBlob(body))return readerIterator(body.stream().getReader());if(isBlob(body))return promiseIterator(body.arrayBuffer());if(isNodeReadableStream(body))return nodeStreamIterator(body);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var throwServerError=function(response,result,message){var error=new Error(message);throw error.name="ServerError",error.response=response,error.statusCode=response.status,error.result=result,error},PROTOCOL_ERRORS_SYMBOL=Symbol();function graphQLResultHasProtocolErrors(result){return result.extensions?Array.isArray(result.extensions[PROTOCOL_ERRORS_SYMBOL]):!1}function isApolloError(err){return err.hasOwnProperty("graphQLErrors")}var generateErrorMessage=function(err){var errors=__spreadArray(__spreadArray(__spreadArray([],err.graphQLErrors,!0),err.clientErrors,!0),err.protocolErrors,!0);return err.networkError&&errors.push(err.networkError),errors.map(function(err2){return isNonNullObject(err2)&&err2.message||"Error message not found."}).join(`
|
673
673
|
`)},ApolloError=function(_super){__extends(ApolloError2,_super);function ApolloError2(_a2){var graphQLErrors=_a2.graphQLErrors,protocolErrors=_a2.protocolErrors,clientErrors=_a2.clientErrors,networkError=_a2.networkError,errorMessage=_a2.errorMessage,extraInfo=_a2.extraInfo,_this=_super.call(this,errorMessage)||this;return _this.name="ApolloError",_this.graphQLErrors=graphQLErrors||[],_this.protocolErrors=protocolErrors||[],_this.clientErrors=clientErrors||[],_this.networkError=networkError||null,_this.message=errorMessage||generateErrorMessage(_this),_this.extraInfo=extraInfo,_this.__proto__=ApolloError2.prototype,_this}return ApolloError2}(Error),isArray=Array.isArray;function isNonEmptyArray(value){return Array.isArray(value)&&value.length>0}var mergeDeep_hasOwnProperty=Object.prototype.hasOwnProperty;function mergeDeep(){for(var sources=[],_i=0;_i<arguments.length;_i++)sources[_i]=arguments[_i];return mergeDeepArray(sources)}function mergeDeepArray(sources){var target=sources[0]||{},count=sources.length;if(count>1)for(var merger=new DeepMerger,i=1;i<count;++i)target=merger.merge(target,sources[i]);return target}var defaultReconciler=function(target,source,property){return this.merge(target[property],source[property])},DeepMerger=function(){function DeepMerger2(reconciler){reconciler===void 0&&(reconciler=defaultReconciler),this.reconciler=reconciler,this.isObject=isNonNullObject,this.pastCopies=new Set}return DeepMerger2.prototype.merge=function(target,source){for(var _this=this,context=[],_i=2;_i<arguments.length;_i++)context[_i-2]=arguments[_i];return isNonNullObject(source)&&isNonNullObject(target)?(Object.keys(source).forEach(function(sourceKey){if(mergeDeep_hasOwnProperty.call(target,sourceKey)){var targetValue=target[sourceKey];if(source[sourceKey]!==targetValue){var result=_this.reconciler.apply(_this,__spreadArray([target,source,sourceKey],context,!1));result!==targetValue&&(target=_this.shallowCopyForMerge(target),target[sourceKey]=result)}}else target=_this.shallowCopyForMerge(target),target[sourceKey]=source[sourceKey]}),target):source},DeepMerger2.prototype.shallowCopyForMerge=function(value){return isNonNullObject(value)&&(this.pastCopies.has(value)||(Array.isArray(value)?value=value.slice(0):value=tslib_es6_assign({__proto__:Object.getPrototypeOf(value)},value),this.pastCopies.add(value))),value},DeepMerger2}();function isExecutionPatchIncrementalResult(value){return"incremental"in value}function isExecutionPatchInitialResult(value){return"hasNext"in value&&"data"in value}function isExecutionPatchResult(value){return isExecutionPatchIncrementalResult(value)||isExecutionPatchInitialResult(value)}function isApolloPayloadResult(value){return isNonNullObject(value)&&"payload"in value}function mergeIncrementalData(prevResult,result){var mergedData=prevResult,merger=new DeepMerger;return isExecutionPatchIncrementalResult(result)&&isNonEmptyArray(result.incremental)&&result.incremental.forEach(function(_a2){for(var data=_a2.data,path=_a2.path,i=path.length-1;i>=0;--i){var key=path[i],isNumericKey=!isNaN(+key),parent_1=isNumericKey?[]:{};parent_1[key]=data,data=parent_1}mergedData=merger.merge(mergedData,data)}),mergedData}var parseAndCheckHttpResponse_hasOwnProperty=Object.prototype.hasOwnProperty;function readMultipartBody(response,nextValue){return __awaiter(this,void 0,void 0,function(){var decoder,contentType,delimiter,boundaryVal,boundary,buffer,iterator,running,_a2,value,done,chunk,searchFrom,bi,message,i,headers,contentType_1,body,result,next,_b,_c,_d;return __generator(this,function(_e){switch(_e.label){case 0:if(TextDecoder===void 0)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");decoder=new TextDecoder("utf-8"),contentType=(_d=response.headers)===null||_d===void 0?void 0:_d.get("content-type"),delimiter="boundary=",boundaryVal=contentType?.includes(delimiter)?contentType?.substring(contentType?.indexOf(delimiter)+delimiter.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",boundary=`\r
|
674
674
|
--`.concat(boundaryVal),buffer="",iterator=responseIterator(response),running=!0,_e.label=1;case 1:return running?[4,iterator.next()]:[3,3];case 2:for(_a2=_e.sent(),value=_a2.value,done=_a2.done,chunk=typeof value=="string"?value:decoder.decode(value),searchFrom=buffer.length-boundary.length+1,running=!done,buffer+=chunk,bi=buffer.indexOf(boundary,searchFrom);bi>-1;){if(message=void 0,_b=[buffer.slice(0,bi),buffer.slice(bi+boundary.length)],message=_b[0],buffer=_b[1],i=message.indexOf(`\r
|