@teambit/env 1.0.420 → 1.0.422

Sign up to get free protection for your applications and to get access to all the features.
@@ -31,17 +31,17 @@ if you're still getting the same error, run "bit reset --never-exported"`)}repor
31
31
  }
32
32
  }
33
33
  }
34
- `;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__(2398));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__(62850));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__(28641));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__(44730));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__(18266));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__(36813));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__(36813));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__(61303));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__(50490));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)})},31339:(__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__2I99z"};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__2rWiN"};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__10iWM",active:"responsive-navbar_active__3Fzs6",navTabs:"responsive-navbar_navTabs__2ufmj",overflow:"responsive-navbar_overflow__1zsGb",more:"responsive-navbar_more__2BGUk",dots:"responsive-navbar_dots__1hNBV",secondaryTabContainer:"responsive-navbar_secondaryTabContainer__2Pca7",item:"responsive-navbar_item__2grLF",menuItem:"responsive-navbar_menuItem__3Kots",hidden:"responsive-navbar_hidden__1aRDr"};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)}},50349:(__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__2_c2i"};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__29LdM",folderStyle:"tab-folder_folderStyle__3o0UY"};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__9qgdm",innerStyle:"tab-inner_innerStyle__1FoSC"};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__1QrBx",innerStyle:"responsive-navbar_innerStyle__3UCC6",tab:"responsive-navbar_tab__23Q7f",noAnimation:"responsive-navbar_noAnimation__366CI",tabFolder:"responsive-navbar_tabFolder__1pnCQ",folderStyle:"responsive-navbar_folderStyle__3r2cA",active:"responsive-navbar_active__1w9Ro",lineStyle:"responsive-navbar_lineStyle__s2lLm",navTabs:"responsive-navbar_navTabs__2GFER",overflow:"responsive-navbar_overflow__1fLZq",more:"responsive-navbar_more__OsOSc",dots:"responsive-navbar_dots__3nmOQ",secondaryTabContainer:"responsive-navbar_secondaryTabContainer__CIt9W",item:"responsive-navbar_item__JJXXO",menuItem:"responsive-navbar_menuItem__2Jdg7",hidden:"responsive-navbar_hidden__2Vljk"};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&&primaryTabRefs.current[_tabIndex]){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__(2657)),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__(95942));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__(81226));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__(76164));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__(70976));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__(22135));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}})},15030: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__(76223),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},76070: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=`
34
+ `;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__(2398));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__(62850));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__(28641));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__(44730));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__(18266));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__(36813));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__(36813));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__(61303));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__(50490));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)})},31339:(__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__2I99z"};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__2rWiN"};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__10iWM",active:"responsive-navbar_active__3Fzs6",navTabs:"responsive-navbar_navTabs__2ufmj",overflow:"responsive-navbar_overflow__1zsGb",more:"responsive-navbar_more__2BGUk",dots:"responsive-navbar_dots__1hNBV",secondaryTabContainer:"responsive-navbar_secondaryTabContainer__2Pca7",item:"responsive-navbar_item__2grLF",menuItem:"responsive-navbar_menuItem__3Kots",hidden:"responsive-navbar_hidden__1aRDr"};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)}},50349:(__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__2_c2i"};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__29LdM",folderStyle:"tab-folder_folderStyle__3o0UY"};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__9qgdm",innerStyle:"tab-inner_innerStyle__1FoSC"};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__1QrBx",innerStyle:"responsive-navbar_innerStyle__3UCC6",tab:"responsive-navbar_tab__23Q7f",noAnimation:"responsive-navbar_noAnimation__366CI",tabFolder:"responsive-navbar_tabFolder__1pnCQ",folderStyle:"responsive-navbar_folderStyle__3r2cA",active:"responsive-navbar_active__1w9Ro",lineStyle:"responsive-navbar_lineStyle__s2lLm",navTabs:"responsive-navbar_navTabs__2GFER",overflow:"responsive-navbar_overflow__1fLZq",more:"responsive-navbar_more__OsOSc",dots:"responsive-navbar_dots__3nmOQ",secondaryTabContainer:"responsive-navbar_secondaryTabContainer__CIt9W",item:"responsive-navbar_item__JJXXO",menuItem:"responsive-navbar_menuItem__2Jdg7",hidden:"responsive-navbar_hidden__2Vljk"};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&&primaryTabRefs.current[_tabIndex]){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__(2657)),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__(95942));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__(81226));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__(76164));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__(70976));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__(22135));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}})},85537: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__(76223),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},76070: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=`
35
35
  .bit-error-page-title { font-size: 36px; }
36
36
  @media screen and (max-width: 480px) { .bit-error-page-title { font-size: 24px; } }
37
- `;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},26021: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__(76070),exports);var contact_footer_1=__webpack_require__(15030);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__(3205)),sizes_module_scss_1=__importDefault(__webpack_require__(354));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__(73952)),sizes_module_scss_1=__importDefault(__webpack_require__(58002));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__(98691));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},20459:(__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__(8);Object.defineProperty(exports,"NotFoundPage",{enumerable:!0,get:function(){return not_found_page_1.NotFoundPage}})},8: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__(26021);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},92751:(__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__(82691);Object.defineProperty(exports,"ServerErrorPage",{enumerable:!0,get:function(){return server_error_page_1.ServerErrorPage}})},82691: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__(26021);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__(41957));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__(53692));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__(35304);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__(1540);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__(63315));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__(63315));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__(77233));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}},98920:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MenuLinkItem=void 0;var link_item_1=__webpack_require__(47266);Object.defineProperty(exports,"MenuLinkItem",{enumerable:!0,get:function(){return link_item_1.MenuLinkItem}})},47266: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__(36676),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__(16752));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__(75011));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__(94329),__webpack_require__(44712);const mount_point_1=__webpack_require__(23235),shared_instance_1=__webpack_require__(87012);__webpack_require__(55837);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}})},51027:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Playground=void 0;var react_playground_1=__webpack_require__(19823);Object.defineProperty(exports,"Playground",{enumerable:!0,get:function(){return react_playground_1.Playground}})},19823: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__(61238)),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__(92345));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__(2054));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}})},69482:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Snippet=void 0;var snippet_1=__webpack_require__(22152);Object.defineProperty(exports,"Snippet",{enumerable:!0,get:function(){return snippet_1.Snippet}})},22152: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__(51027),snippet_module_scss_1=__importDefault(__webpack_require__(75732));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},34559:(__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__(69482),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}},94988:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.defaultMdxComponents=void 0;var components_1=__webpack_require__(34559);Object.defineProperty(exports,"defaultMdxComponents",{enumerable:!0,get:function(){return components_1.defaultMdxComponents}})},45530:(__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__(44504);Object.defineProperty(exports,"f",{enumerable:!0,get:function(){return mdx_layout_1.MDXLayout}})},44504: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__(94988),mdx_layout_module_scss_1=__importDefault(__webpack_require__(22092));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__(62124));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__(22488)),global_module_scss_1=__importDefault(__webpack_require__(68009));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__(44103));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__(72389));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__(26351));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__(39898));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__(13857));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)},47928: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__(39537));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__(47928),exports)},8584:(__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__(5416)),heading_module_scss_1=__importDefault(__webpack_require__(69872));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__(90684)),heading_module_scss_1=__importDefault(__webpack_require__(47609));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__(32165)),heading_module_scss_1=__importDefault(__webpack_require__(9948));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__(66147));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__(52599));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__(20018));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__(49826));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__(66098));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__(42409));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__(83338));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__(39970));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__(58801));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__(98298));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__(1549));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"}},17218:(__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__(61238),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.
37
+ `;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},26021: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__(76070),exports);var contact_footer_1=__webpack_require__(85537);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__(3205)),sizes_module_scss_1=__importDefault(__webpack_require__(354));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__(73952)),sizes_module_scss_1=__importDefault(__webpack_require__(58002));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__(98691));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},20459:(__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__(8);Object.defineProperty(exports,"NotFoundPage",{enumerable:!0,get:function(){return not_found_page_1.NotFoundPage}})},8: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__(26021);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},92751:(__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__(82691);Object.defineProperty(exports,"ServerErrorPage",{enumerable:!0,get:function(){return server_error_page_1.ServerErrorPage}})},82691: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__(26021);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__(41957));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__(53692));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__(35304);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__(1540);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__(63315));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__(63315));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__(77233));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}},98920:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MenuLinkItem=void 0;var link_item_1=__webpack_require__(47266);Object.defineProperty(exports,"MenuLinkItem",{enumerable:!0,get:function(){return link_item_1.MenuLinkItem}})},47266: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__(36676),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__(16752));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__(75011));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__(94329),__webpack_require__(44712);const mount_point_1=__webpack_require__(23235),shared_instance_1=__webpack_require__(87012);__webpack_require__(55837);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}})},51027:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Playground=void 0;var react_playground_1=__webpack_require__(19823);Object.defineProperty(exports,"Playground",{enumerable:!0,get:function(){return react_playground_1.Playground}})},19823: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__(61238)),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__(92345));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__(2054));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}})},69482:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Snippet=void 0;var snippet_1=__webpack_require__(22152);Object.defineProperty(exports,"Snippet",{enumerable:!0,get:function(){return snippet_1.Snippet}})},22152: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__(51027),snippet_module_scss_1=__importDefault(__webpack_require__(75732));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},34559:(__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__(69482),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}},94988:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.defaultMdxComponents=void 0;var components_1=__webpack_require__(34559);Object.defineProperty(exports,"defaultMdxComponents",{enumerable:!0,get:function(){return components_1.defaultMdxComponents}})},45530:(__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__(44504);Object.defineProperty(exports,"f",{enumerable:!0,get:function(){return mdx_layout_1.MDXLayout}})},44504: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__(94988),mdx_layout_module_scss_1=__importDefault(__webpack_require__(22092));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__(62124));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__(22488)),global_module_scss_1=__importDefault(__webpack_require__(68009));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__(44103));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__(72389));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__(26351));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__(39898));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__(13857));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)},47928: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__(39537));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__(47928),exports)},8584:(__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__(5416)),heading_module_scss_1=__importDefault(__webpack_require__(69872));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__(90684)),heading_module_scss_1=__importDefault(__webpack_require__(47609));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__(32165)),heading_module_scss_1=__importDefault(__webpack_require__(9948));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__(66147));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__(52599));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__(20018));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__(49826));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__(66098));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__(42409));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__(83338));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__(39970));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__(58801));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__(98298));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__(1549));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"}},17218:(__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__(61238),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.
38
38
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableSpread()}var objectSpread=__webpack_require__(76004),esm_extends=__webpack_require__(97605);function powerSetPermutations(arr){var arrLength=arr.length;if(arrLength===0||arrLength===1)return arr;if(arrLength===2)return[arr[0],arr[1],"".concat(arr[0],".").concat(arr[1]),"".concat(arr[1],".").concat(arr[0])];if(arrLength===3)return[arr[0],arr[1],arr[2],"".concat(arr[0],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[0]),"".concat(arr[1],".").concat(arr[2]),"".concat(arr[2],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[1],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[2],".").concat(arr[1]),"".concat(arr[1],".").concat(arr[0],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[2],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[0],".").concat(arr[1]),"".concat(arr[2],".").concat(arr[1],".").concat(arr[0])];if(arrLength>=4)return[arr[0],arr[1],arr[2],arr[3],"".concat(arr[0],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[3]),"".concat(arr[1],".").concat(arr[0]),"".concat(arr[1],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[3]),"".concat(arr[2],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[1]),"".concat(arr[2],".").concat(arr[3]),"".concat(arr[3],".").concat(arr[0]),"".concat(arr[3],".").concat(arr[1]),"".concat(arr[3],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[1],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[1],".").concat(arr[3]),"".concat(arr[0],".").concat(arr[2],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[2],".").concat(arr[3]),"".concat(arr[0],".").concat(arr[3],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[3],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[0],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[0],".").concat(arr[3]),"".concat(arr[1],".").concat(arr[2],".").concat(arr[0]),"".concat(arr[1],".").concat(arr[2],".").concat(arr[3]),"".concat(arr[1],".").concat(arr[3],".").concat(arr[0]),"".concat(arr[1],".").concat(arr[3],".").concat(arr[2]),"".concat(arr[2],".").concat(arr[0],".").concat(arr[1]),"".concat(arr[2],".").concat(arr[0],".").concat(arr[3]),"".concat(arr[2],".").concat(arr[1],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[1],".").concat(arr[3]),"".concat(arr[2],".").concat(arr[3],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[3],".").concat(arr[1]),"".concat(arr[3],".").concat(arr[0],".").concat(arr[1]),"".concat(arr[3],".").concat(arr[0],".").concat(arr[2]),"".concat(arr[3],".").concat(arr[1],".").concat(arr[0]),"".concat(arr[3],".").concat(arr[1],".").concat(arr[2]),"".concat(arr[3],".").concat(arr[2],".").concat(arr[0]),"".concat(arr[3],".").concat(arr[2],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[1],".").concat(arr[2],".").concat(arr[3]),"".concat(arr[0],".").concat(arr[1],".").concat(arr[3],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[2],".").concat(arr[1],".").concat(arr[3]),"".concat(arr[0],".").concat(arr[2],".").concat(arr[3],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[3],".").concat(arr[1],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[3],".").concat(arr[2],".").concat(arr[1]),"".concat(arr[1],".").concat(arr[0],".").concat(arr[2],".").concat(arr[3]),"".concat(arr[1],".").concat(arr[0],".").concat(arr[3],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[2],".").concat(arr[0],".").concat(arr[3]),"".concat(arr[1],".").concat(arr[2],".").concat(arr[3],".").concat(arr[0]),"".concat(arr[1],".").concat(arr[3],".").concat(arr[0],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[3],".").concat(arr[2],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[0],".").concat(arr[1],".").concat(arr[3]),"".concat(arr[2],".").concat(arr[0],".").concat(arr[3],".").concat(arr[1]),"".concat(arr[2],".").concat(arr[1],".").concat(arr[0],".").concat(arr[3]),"".concat(arr[2],".").concat(arr[1],".").concat(arr[3],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[3],".").concat(arr[0],".").concat(arr[1]),"".concat(arr[2],".").concat(arr[3],".").concat(arr[1],".").concat(arr[0]),"".concat(arr[3],".").concat(arr[0],".").concat(arr[1],".").concat(arr[2]),"".concat(arr[3],".").concat(arr[0],".").concat(arr[2],".").concat(arr[1]),"".concat(arr[3],".").concat(arr[1],".").concat(arr[0],".").concat(arr[2]),"".concat(arr[3],".").concat(arr[1],".").concat(arr[2],".").concat(arr[0]),"".concat(arr[3],".").concat(arr[2],".").concat(arr[0],".").concat(arr[1]),"".concat(arr[3],".").concat(arr[2],".").concat(arr[1],".").concat(arr[0])]}var classNameCombinations={};function getClassNameCombinations(classNames){if(classNames.length===0||classNames.length===1)return classNames;var key=classNames.join(".");return classNameCombinations[key]||(classNameCombinations[key]=powerSetPermutations(classNames)),classNameCombinations[key]}function createStyleObject(classNames){var elementStyle=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},stylesheet=arguments.length>2?arguments[2]:void 0,nonTokenClassNames=classNames.filter(function(className){return className!=="token"}),classNamesCombinations=getClassNameCombinations(nonTokenClassNames);return classNamesCombinations.reduce(function(styleObject,className){return(0,objectSpread.Z)({},styleObject,stylesheet[className])},elementStyle)}function createClassNameString(classNames){return classNames.join(" ")}function createChildren(stylesheet,useInlineStyles){var childrenCount=0;return function(children){return childrenCount+=1,children.map(function(child,i){return createElement({node:child,stylesheet,useInlineStyles,key:"code-segment-".concat(childrenCount,"-").concat(i)})})}}function createElement(_ref){var node=_ref.node,stylesheet=_ref.stylesheet,_ref$style=_ref.style,style=_ref$style===void 0?{}:_ref$style,useInlineStyles=_ref.useInlineStyles,key=_ref.key,properties=node.properties,type=node.type,TagName=node.tagName,value=node.value;if(type==="text")return value;if(TagName){var childrenCreator=createChildren(stylesheet,useInlineStyles),props;if(!useInlineStyles)props=(0,objectSpread.Z)({},properties,{className:createClassNameString(properties.className)});else{var allStylesheetSelectors=Object.keys(stylesheet).reduce(function(classes,selector){return selector.split(".").forEach(function(className2){classes.includes(className2)||classes.push(className2)}),classes},[]),startingClassName=properties.className&&properties.className.includes("token")?["token"]:[],className=properties.className&&startingClassName.concat(properties.className.filter(function(className2){return!allStylesheetSelectors.includes(className2)}));props=(0,objectSpread.Z)({},properties,{className:createClassNameString(className)||void 0,style:createStyleObject(properties.className,Object.assign({},properties.style,style),stylesheet)})}var children=childrenCreator(node.children);return react.createElement(TagName,(0,esm_extends.Z)({key},props),children)}}const checkForListedLanguage=function(astGenerator,language){var langs=astGenerator.listLanguages();return langs.indexOf(language)!==-1};var newLineRegex=/\n/g;function getNewLines(str){return str.match(newLineRegex)}function getAllLineNumbers(_ref){var lines=_ref.lines,startingLineNumber=_ref.startingLineNumber,style=_ref.style;return lines.map(function(_,i){var number=i+startingLineNumber;return react.createElement("span",{key:"line-".concat(i),className:"react-syntax-highlighter-line-number",style:typeof style=="function"?style(number):style},"".concat(number,`
39
39
  `))})}function AllLineNumbers(_ref2){var codeString=_ref2.codeString,codeStyle=_ref2.codeStyle,_ref2$containerStyle=_ref2.containerStyle,containerStyle=_ref2$containerStyle===void 0?{float:"left",paddingRight:"10px"}:_ref2$containerStyle,_ref2$numberStyle=_ref2.numberStyle,numberStyle=_ref2$numberStyle===void 0?{}:_ref2$numberStyle,startingLineNumber=_ref2.startingLineNumber;return react.createElement("code",{style:Object.assign({},codeStyle,containerStyle)},getAllLineNumbers({lines:codeString.replace(/\n$/,"").split(`
40
40
  `),style:numberStyle,startingLineNumber}))}function getEmWidthOfNumber(num){return"".concat(num.toString().length,".25em")}function getInlineLineNumber(lineNumber,inlineLineNumberStyle){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(lineNumber),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:inlineLineNumberStyle},children:[{type:"text",value:lineNumber}]}}function assembleLineNumberStyles(lineNumberStyle,lineNumber,largestLineNumber){var defaultLineNumberStyle={display:"inline-block",minWidth:getEmWidthOfNumber(largestLineNumber),paddingRight:"1em",textAlign:"right",userSelect:"none"},customLineNumberStyle=typeof lineNumberStyle=="function"?lineNumberStyle(lineNumber):lineNumberStyle,assembledStyle=(0,objectSpread.Z)({},defaultLineNumberStyle,customLineNumberStyle);return assembledStyle}function createLineElement(_ref3){var children=_ref3.children,lineNumber=_ref3.lineNumber,lineNumberStyle=_ref3.lineNumberStyle,largestLineNumber=_ref3.largestLineNumber,showInlineLineNumbers=_ref3.showInlineLineNumbers,_ref3$lineProps=_ref3.lineProps,lineProps=_ref3$lineProps===void 0?{}:_ref3$lineProps,_ref3$className=_ref3.className,className=_ref3$className===void 0?[]:_ref3$className,showLineNumbers=_ref3.showLineNumbers,wrapLongLines=_ref3.wrapLongLines,properties=typeof lineProps=="function"?lineProps(lineNumber):lineProps;if(properties.className=className,lineNumber&&showInlineLineNumbers){var inlineLineNumberStyle=assembleLineNumberStyles(lineNumberStyle,lineNumber,largestLineNumber);children.unshift(getInlineLineNumber(lineNumber,inlineLineNumberStyle))}return wrapLongLines&showLineNumbers&&(properties.style=(0,objectSpread.Z)({},properties.style,{display:"flex"})),{type:"element",tagName:"span",properties,children}}function flattenCodeTree(tree){for(var className=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],newTree=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],i=0;i<tree.length;i++){var node=tree[i];if(node.type==="text")newTree.push(createLineElement({children:[node],className:_toConsumableArray(new Set(className))}));else if(node.children){var classNames=className.concat(node.properties.className);newTree=newTree.concat(flattenCodeTree(node.children,classNames))}}return newTree}function processLines(codeTree,wrapLines,lineProps,showLineNumbers,showInlineLineNumbers,startingLineNumber,largestLineNumber,lineNumberStyle,wrapLongLines){var _ref4,tree=flattenCodeTree(codeTree.value),newTree=[],lastLineBreakIndex=-1,index=0;function createWrappedLine(children2,lineNumber2){var className=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return createLineElement({children:children2,lineNumber:lineNumber2,lineNumberStyle,largestLineNumber,showInlineLineNumbers,lineProps,className,showLineNumbers,wrapLongLines})}function createUnwrappedLine(children2,lineNumber2){if(showLineNumbers&&lineNumber2&&showInlineLineNumbers){var inlineLineNumberStyle=assembleLineNumberStyles(lineNumberStyle,lineNumber2,largestLineNumber);children2.unshift(getInlineLineNumber(lineNumber2,inlineLineNumberStyle))}return children2}function createLine(children2,lineNumber2){var className=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return wrapLines||className.length>0?createWrappedLine(children2,lineNumber2,className):createUnwrappedLine(children2,lineNumber2)}for(var _loop=function(){var node=tree[index],value=node.children[0].value,newLines=getNewLines(value);if(newLines){var splitValue=value.split(`
41
41
  `);splitValue.forEach(function(text,i){var lineNumber2=showLineNumbers&&newTree.length+startingLineNumber,newChild={type:"text",value:"".concat(text,`
42
42
  `)};if(i===0){var _children=tree.slice(lastLineBreakIndex+1,index).concat(createLineElement({children:[newChild],className:node.properties.className})),_line=createLine(_children,lineNumber2);newTree.push(_line)}else if(i===splitValue.length-1){var stringChild=tree[index+1]&&tree[index+1].children&&tree[index+1].children[0];if(stringChild){var lastLineInPreviousSpan={type:"text",value:"".concat(text)},newElem=createLineElement({children:[lastLineInPreviousSpan],className:node.properties.className});tree.splice(index+1,0,newElem)}else{var _children2=[newChild],_line2=createLine(_children2,lineNumber2,node.properties.className);newTree.push(_line2)}}else{var _children3=[newChild],_line3=createLine(_children3,lineNumber2,node.properties.className);newTree.push(_line3)}}),lastLineBreakIndex=index}index++};index<tree.length;)_loop();if(lastLineBreakIndex!==tree.length-1){var children=tree.slice(lastLineBreakIndex+1,tree.length);if(children&&children.length){var lineNumber=showLineNumbers&&newTree.length+startingLineNumber,line=createLine(children,lineNumber);newTree.push(line)}}return wrapLines?newTree:(_ref4=[]).concat.apply(_ref4,newTree)}function defaultRenderer(_ref5){var rows=_ref5.rows,stylesheet=_ref5.stylesheet,useInlineStyles=_ref5.useInlineStyles;return rows.map(function(node,i){return createElement({node,stylesheet,useInlineStyles,key:"code-segement".concat(i)})})}function isHighlightJs(astGenerator){return astGenerator&&typeof astGenerator.highlightAuto<"u"}function getCodeTree(_ref6){var astGenerator=_ref6.astGenerator,language=_ref6.language,code=_ref6.code,defaultCodeValue=_ref6.defaultCodeValue;if(isHighlightJs(astGenerator)){var hasLanguage=checkForListedLanguage(astGenerator,language);return language==="text"?{value:defaultCodeValue,language:"text"}:hasLanguage?astGenerator.highlight(language,code):astGenerator.highlightAuto(code)}try{return language&&language!=="text"?{value:astGenerator.highlight(code,language)}:{value:defaultCodeValue}}catch{return{value:defaultCodeValue}}}function highlight(defaultAstGenerator,defaultStyle){return function(_ref7){var language=_ref7.language,children=_ref7.children,_ref7$style=_ref7.style,style=_ref7$style===void 0?defaultStyle:_ref7$style,_ref7$customStyle=_ref7.customStyle,customStyle=_ref7$customStyle===void 0?{}:_ref7$customStyle,_ref7$codeTagProps=_ref7.codeTagProps,codeTagProps=_ref7$codeTagProps===void 0?{className:language?"language-".concat(language):void 0,style:(0,objectSpread.Z)({},style['code[class*="language-"]'],style['code[class*="language-'.concat(language,'"]')])}:_ref7$codeTagProps,_ref7$useInlineStyles=_ref7.useInlineStyles,useInlineStyles=_ref7$useInlineStyles===void 0?!0:_ref7$useInlineStyles,_ref7$showLineNumbers=_ref7.showLineNumbers,showLineNumbers=_ref7$showLineNumbers===void 0?!1:_ref7$showLineNumbers,_ref7$showInlineLineN=_ref7.showInlineLineNumbers,showInlineLineNumbers=_ref7$showInlineLineN===void 0?!0:_ref7$showInlineLineN,_ref7$startingLineNum=_ref7.startingLineNumber,startingLineNumber=_ref7$startingLineNum===void 0?1:_ref7$startingLineNum,lineNumberContainerStyle=_ref7.lineNumberContainerStyle,_ref7$lineNumberStyle=_ref7.lineNumberStyle,lineNumberStyle=_ref7$lineNumberStyle===void 0?{}:_ref7$lineNumberStyle,wrapLines=_ref7.wrapLines,_ref7$wrapLongLines=_ref7.wrapLongLines,wrapLongLines=_ref7$wrapLongLines===void 0?!1:_ref7$wrapLongLines,_ref7$lineProps=_ref7.lineProps,lineProps=_ref7$lineProps===void 0?{}:_ref7$lineProps,renderer=_ref7.renderer,_ref7$PreTag=_ref7.PreTag,PreTag=_ref7$PreTag===void 0?"pre":_ref7$PreTag,_ref7$CodeTag=_ref7.CodeTag,CodeTag=_ref7$CodeTag===void 0?"code":_ref7$CodeTag,_ref7$code=_ref7.code,code=_ref7$code===void 0?Array.isArray(children)?children[0]:children:_ref7$code,astGenerator=_ref7.astGenerator,rest=(0,objectWithoutProperties.Z)(_ref7,["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"]);astGenerator=astGenerator||defaultAstGenerator;var allLineNumbers=showLineNumbers?react.createElement(AllLineNumbers,{containerStyle:lineNumberContainerStyle,codeStyle:codeTagProps.style||{},numberStyle:lineNumberStyle,startingLineNumber,codeString:code}):null,defaultPreStyle=style.hljs||style['pre[class*="language-"]']||{backgroundColor:"#fff"},generatorClassName=isHighlightJs(astGenerator)?"hljs":"prismjs",preProps=useInlineStyles?Object.assign({},rest,{style:Object.assign({},defaultPreStyle,customStyle)}):Object.assign({},rest,{className:rest.className?"".concat(generatorClassName," ").concat(rest.className):generatorClassName,style:Object.assign({},customStyle)});if(!astGenerator)return react.createElement(PreTag,preProps,allLineNumbers,react.createElement(CodeTag,codeTagProps,code));(wrapLines===void 0&&renderer||wrapLongLines)&&(wrapLines=!0),renderer=renderer||defaultRenderer;var defaultCodeValue=[{type:"text",value:code}],codeTree=getCodeTree({astGenerator,language,code,defaultCodeValue});codeTree.language===null&&(codeTree.value=defaultCodeValue);var largestLineNumber=codeTree.value.length+startingLineNumber,rows=processLines(codeTree,wrapLines,lineProps,showLineNumbers,showInlineLineNumbers,startingLineNumber,largestLineNumber,lineNumberStyle,wrapLongLines);return wrapLongLines?codeTagProps.style=(0,objectSpread.Z)({},codeTagProps.style,{whiteSpace:"pre-wrap"}):codeTagProps.style=(0,objectSpread.Z)({},codeTagProps.style,{whiteSpace:"pre"}),react.createElement(PreTag,preProps,react.createElement(CodeTag,codeTagProps,!showInlineLineNumbers&&allLineNumbers,renderer({rows,stylesheet:style,useInlineStyles})))}}const default_style={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#F0F0F0",color:"#444"},"hljs-subst":{color:"#444"},"hljs-comment":{color:"#888888"},"hljs-keyword":{fontWeight:"bold"},"hljs-attribute":{fontWeight:"bold"},"hljs-selector-tag":{fontWeight:"bold"},"hljs-meta-keyword":{fontWeight:"bold"},"hljs-doctag":{fontWeight:"bold"},"hljs-name":{fontWeight:"bold"},"hljs-type":{color:"#880000"},"hljs-string":{color:"#880000"},"hljs-number":{color:"#880000"},"hljs-selector-id":{color:"#880000"},"hljs-selector-class":{color:"#880000"},"hljs-quote":{color:"#880000"},"hljs-template-tag":{color:"#880000"},"hljs-deletion":{color:"#880000"},"hljs-title":{color:"#880000",fontWeight:"bold"},"hljs-section":{color:"#880000",fontWeight:"bold"},"hljs-regexp":{color:"#BC6060"},"hljs-symbol":{color:"#BC6060"},"hljs-variable":{color:"#BC6060"},"hljs-template-variable":{color:"#BC6060"},"hljs-link":{color:"#BC6060"},"hljs-selector-attr":{color:"#BC6060"},"hljs-selector-pseudo":{color:"#BC6060"},"hljs-literal":{color:"#78A960"},"hljs-built_in":{color:"#397300"},"hljs-bullet":{color:"#397300"},"hljs-code":{color:"#397300"},"hljs-addition":{color:"#397300"},"hljs-meta":{color:"#1f7199"},"hljs-meta-string":{color:"#4d99bf"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};var lowlight=__webpack_require__(23387),lowlight_default=__webpack_require__.n(lowlight);const supported_languages=["1c","abnf","accesslog","actionscript","ada","angelscript","apache","applescript","arcade","arduino","armasm","asciidoc","aspectj","autohotkey","autoit","avrasm","awk","axapta","bash","basic","bnf","brainfuck","c-like","c","cal","capnproto","ceylon","clean","clojure-repl","clojure","cmake","coffeescript","coq","cos","cpp","crmsh","crystal","csharp","csp","css","d","dart","delphi","diff","django","dns","dockerfile","dos","dsconfig","dts","dust","ebnf","elixir","elm","erb","erlang-repl","erlang","excel","fix","flix","fortran","fsharp","gams","gauss","gcode","gherkin","glsl","gml","go","golo","gradle","groovy","haml","handlebars","haskell","haxe","hsp","htmlbars","http","hy","inform7","ini","irpf90","isbl","java","javascript","jboss-cli","json","julia-repl","julia","kotlin","lasso","latex","ldif","leaf","less","lisp","livecodeserver","livescript","llvm","lsl","lua","makefile","markdown","mathematica","matlab","maxima","mel","mercury","mipsasm","mizar","mojolicious","monkey","moonscript","n1ql","nginx","nim","nix","node-repl","nsis","objectivec","ocaml","openscad","oxygene","parser3","perl","pf","pgsql","php-template","php","plaintext","pony","powershell","processing","profile","prolog","properties","protobuf","puppet","purebasic","python-repl","python","q","qml","r","reasonml","rib","roboconf","routeros","rsl","ruby","ruleslanguage","rust","sas","scala","scheme","scilab","scss","shell","smali","smalltalk","sml","sqf","sql","stan","stata","step21","stylus","subunit","swift","taggerscript","tap","tcl","thrift","tp","twig","typescript","vala","vbnet","vbscript-html","vbscript","verilog","vhdl","vim","x86asm","xl","xml","xquery","yaml","zephir"];var highlighter=highlight(lowlight_default(),default_style);highlighter.supportedLanguages=supported_languages;const default_highlight=highlighter,xcode={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#fff",color:"black"},"xml .hljs-meta":{color:"#c0c0c0"},"hljs-comment":{color:"#007400"},"hljs-quote":{color:"#007400"},"hljs-tag":{color:"#aa0d91"},"hljs-attribute":{color:"#aa0d91"},"hljs-keyword":{color:"#aa0d91"},"hljs-selector-tag":{color:"#aa0d91"},"hljs-literal":{color:"#aa0d91"},"hljs-name":{color:"#aa0d91"},"hljs-variable":{color:"#3F6E74"},"hljs-template-variable":{color:"#3F6E74"},"hljs-code":{color:"#c41a16"},"hljs-string":{color:"#c41a16"},"hljs-meta-string":{color:"#c41a16"},"hljs-regexp":{color:"#0E0EFF"},"hljs-link":{color:"#0E0EFF"},"hljs-title":{color:"#1c00cf"},"hljs-symbol":{color:"#1c00cf"},"hljs-bullet":{color:"#1c00cf"},"hljs-number":{color:"#1c00cf"},"hljs-section":{color:"#643820"},"hljs-meta":{color:"#643820"},"hljs-class .hljs-title":{color:"#5c2699"},"hljs-type":{color:"#5c2699"},"hljs-built_in":{color:"#5c2699"},"hljs-builtin-name":{color:"#5c2699"},"hljs-params":{color:"#5c2699"},"hljs-attr":{color:"#836C28"},"hljs-subst":{color:"#000"},"hljs-formula":{backgroundColor:"#eee",fontStyle:"italic"},"hljs-addition":{backgroundColor:"#baeeba"},"hljs-deletion":{backgroundColor:"#ffc8bd"},"hljs-selector-id":{color:"#9b703f"},"hljs-selector-class":{color:"#9b703f"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}},table_row_module={propRow:"table-row_propRow__uJTIg",singleColumn:"table-row_singleColumn__270nv",mobileTitle:"table-row_mobileTitle__1pxM_",show:"table-row_show__1_PHA",column:"table-row_column__3g5Rl",columnContent:"table-row_columnContent__2FGiz",title:"table-row_title__2ZRm6",required:"table-row_required__sopS8",name:"table-row_name__2BJJ5",type:"table-row_type__VO1ZU",typeColumn:"table-row_typeColumn__ku2je",highlighted:"table-row_highlighted__35EZw",default:"table-row_default__219bg",breakWord:"table-row_breakWord__5IzcJ"};function TableRow({row,customRow,colNumber=4,headings,isListView,className,...rest}){return(0,jsx_runtime.jsx)(dist.r,{col:colNumber,className:classnames_default()(table_row_module.propRow,{[table_row_module.singleColumn]:isListView},className),...rest,children:headings.map(title=>{const keyString=`${title}-${row[title]}`;return title==="required"?null:title==="name"?(0,jsx_runtime.jsxs)(TableColumn,{className:table_row_module.breakWord,children:[(0,jsx_runtime.jsx)("div",{className:classnames_default()(table_row_module.mobileTitle,{[table_row_module.show]:isListView}),children:title}),(0,jsx_runtime.jsxs)("div",{className:table_row_module.columnContent,children:[(0,jsx_runtime.jsx)("div",{className:table_row_module.name,children:customRow?.name||row[title]}),!customRow?.required&&row.required&&(0,jsx_runtime.jsx)("div",{className:table_row_module.required,children:"(Required)"}),customRow?.required&&(0,jsx_runtime.jsx)("div",{className:table_row_module.required,children:customRow.required})]})]},keyString):title==="type"?(0,jsx_runtime.jsxs)(TableColumn,{className:classnames_default()(table_row_module.breakWord,table_row_module.typeColumn),children:[(0,jsx_runtime.jsx)("div",{className:classnames_default()(table_row_module.mobileTitle,{[table_row_module.show]:isListView}),children:title}),!customRow?.type&&(0,jsx_runtime.jsx)(default_highlight,{theme:xcode,language:"javascript",className:table_row_module.highlighted,children:row[title]}),customRow?.type]},keyString):title==="default"?(0,jsx_runtime.jsxs)(TableColumn,{className:table_row_module.breakWord,children:[(0,jsx_runtime.jsx)("div",{className:classnames_default()(table_row_module.mobileTitle,{[table_row_module.show]:isListView}),children:title}),!customRow?.default&&(0,jsx_runtime.jsx)("span",{className:table_row_module.default,children:row[title]&&row[title]?.value||"-"}),customRow?.default&&(0,jsx_runtime.jsx)("span",{className:table_row_module.default,children:customRow.default})]},keyString):title==="description"?(0,jsx_runtime.jsx)(TableColumn,{className:table_row_module.breakWord,children:customRow?.description||row[title]},keyString):(0,jsx_runtime.jsxs)(TableColumn,{className:table_row_module.breakWord,children:[(0,jsx_runtime.jsx)("div",{className:classnames_default()(table_row_module.mobileTitle,{[table_row_module.show]:isListView}),children:title}),customRow?.[title]||row[title]]},keyString)})})}const table_module={table:"table_table__Ajr4h"};function Table({headings,rows,colNumber,isListView,className,...rest}){const cols=colNumber||4;return(0,jsx_runtime.jsxs)("div",{...rest,className:classnames_default()(table_module.table,className),children:[(0,jsx_runtime.jsx)(HeadingRow,{isListView,colNumber:cols,headings}),rows.map(row=>(0,jsx_runtime.jsx)(TableRow,{isListView,headings,row,colNumber:cols},`tableRow-${row.name}`))]})}Table.defaultProps={colNumber:4};function PropTable({rows,listViewResolution,showListView,...rest}){const[ref,{width}]=(0,es.default)(),debouncedSize=useDebounce(width,300,{leading:!0}),isListView=showListView||+debouncedSize[0]<=(listViewResolution||0);return width?(0,jsx_runtime.jsx)("div",{ref,children:(0,jsx_runtime.jsx)(Table,{...rest,headings:["name","type","default","description"],rows,isListView})}):(0,jsx_runtime.jsx)("div",{ref})}PropTable.defaultProps={listViewResolution:768}},94761: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__(85416),exports)},85416: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.Section=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),section_module_scss_1=__importDefault(__webpack_require__(6502));function Section(_a){var{className,children}=_a,rest=__rest(_a,["className","children"]);return react_1.default.createElement("div",Object.assign({className:classnames_1.default(section_module_scss_1.default.spacer,section_module_scss_1.default.sectionMargin,className)},rest),children)}exports.Section=Section},67826:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Separator=void 0;var separator_1=__webpack_require__(12162);Object.defineProperty(exports,"Separator",{enumerable:!0,get:function(){return separator_1.Separator}})},12162: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 react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),separator_module_scss_1=__importDefault(__webpack_require__(16964));function Separator(_a){var{className}=_a,rest=__rest(_a,["className"]);return react_1.default.createElement("hr",Object.assign({className:classnames_1.default(separator_module_scss_1.default.separator,className)},rest))}exports.Separator=Separator},3324:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Separator=void 0;var separator_1=__webpack_require__(44267);Object.defineProperty(exports,"Separator",{enumerable:!0,get:function(){return separator_1.Separator}})},44267: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 react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),separator_module_scss_1=__importDefault(__webpack_require__(9156));function Separator(_a){var{className}=_a,rest=__rest(_a,["className"]);return react_1.default.createElement("hr",Object.assign({className:(0,classnames_1.default)(separator_module_scss_1.default.separator,className)},rest))}exports.Separator=Separator},36408: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__(46882),exports)},46882: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.Subtitle=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_text_muted_text_1=__webpack_require__(925),documenter_ui_paragraph_1=__webpack_require__(543),sub_title_module_scss_1=__importDefault(__webpack_require__(98300));function Subtitle(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement(documenter_ui_paragraph_1.Paragraph,Object.assign({element:"p",className:classnames_1.default(base_ui_text_muted_text_1.mutedText,sub_title_module_scss_1.default.subTitle,className),size:"xl"},rest),children)}exports.Subtitle=Subtitle},91254:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Sup=void 0;var sup_1=__webpack_require__(75331);Object.defineProperty(exports,"Sup",{enumerable:!0,get:function(){return sup_1.Sup}})},75331: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.Sup=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),sup_module_scss_1=__importDefault(__webpack_require__(95954));function Sup(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("sup",Object.assign({},rest,{className:(0,classnames_1.default)(sup_module_scss_1.default.sup,className)}),children)}exports.Sup=Sup},61411: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.Table=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_table_module_scss_1=__importDefault(__webpack_require__(60072));function Table(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("table",Object.assign({},rest,{className:(0,classnames_1.default)(base_table_module_scss_1.default.table,className)}),children)}exports.Table=Table},32119:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Table=void 0;var base_table_1=__webpack_require__(61411);Object.defineProperty(exports,"Table",{enumerable:!0,get:function(){return base_table_1.Table}})},77246:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Td=void 0;var td_1=__webpack_require__(39938);Object.defineProperty(exports,"Td",{enumerable:!0,get:function(){return td_1.Td}})},39938: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.Td=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),td_module_scss_1=__importDefault(__webpack_require__(59091));function Td(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("td",Object.assign({},rest,{className:(0,classnames_1.default)(td_module_scss_1.default.td,className)}),children)}exports.Td=Td},98548:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tr=void 0;var tr_1=__webpack_require__(14279);Object.defineProperty(exports,"Tr",{enumerable:!0,get:function(){return tr_1.Tr}})},14279: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.Tr=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),tr_module_scss_1=__importDefault(__webpack_require__(93706));function Tr(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("tr",Object.assign({},rest,{className:(0,classnames_1.default)(tr_module_scss_1.default.tr,className)}),children)}exports.Tr=Tr},21211:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Ul=void 0;var ul_1=__webpack_require__(30352);Object.defineProperty(exports,"Ul",{enumerable:!0,get:function(){return ul_1.Ul}})},30352: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.Ul=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),ul_module_scss_1=__importDefault(__webpack_require__(49835));function Ul(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("ul",Object.assign({},rest,{className:(0,classnames_1.default)(ul_module_scss_1.default.ul,className)}),children)}exports.Ul=Ul},30377: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.fadeInOutClass=void 0;const fade_in_out_module_scss_1=__importDefault(__webpack_require__(47446));exports.fadeInOutClass=fade_in_out_module_scss_1.default.fadeInOut},28562: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},86144: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__(28562),exports)},47290: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},4748: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__(47290),exports)},54875: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__(97754)),base_ui_surfaces_drawer_1=__webpack_require__(914),base_ui_surfaces_abs_container_1=__webpack_require__(67737),base_ui_css_components_elevation_1=__webpack_require__(63368),base_ui_css_components_roundness_1=__webpack_require__(69725),base_ui_surfaces_background_1=__webpack_require__(84733),dropdown_module_scss_1=__importDefault(__webpack_require__(33607)),evangelist_css_components_fade_in_out_1=__webpack_require__(30377);function Dropdown(_a){var{children,position="bottom",dropClass}=_a,rest=__rest(_a,["children","position","dropClass"]);return react_1.default.createElement(base_ui_surfaces_drawer_1.Drawer,Object.assign({},rest),react_1.default.createElement(DropdownMenu,{position,className:dropClass},children))}exports.Dropdown=Dropdown;function DropdownMenu(_a){var{className,elevation="medium",roundness="sharp"}=_a,rest=__rest(_a,["className","elevation","roundness"]);return react_1.default.createElement(base_ui_surfaces_abs_container_1.Containee,Object.assign({},rest,{className:classnames_1.default(dropdown_module_scss_1.default.dropdown,base_ui_surfaces_background_1.backgrounds.layer,base_ui_css_components_elevation_1.elevationClass[elevation],base_ui_css_components_roundness_1.roundnessClass[roundness],evangelist_css_components_fade_in_out_1.fadeInOutClass,className)}))}Dropdown.defaultProps={position:"bottom",elevation:"medium",roundness:"sharp"}},30566: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__(54875),exports)},36748: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__(58156),exports),__exportStar(__webpack_require__(85211),exports),__exportStar(__webpack_require__(17089),exports)},17089: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__(89151),exports)},89151: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.Arrow=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_surfaces_abs_container_1=__webpack_require__(67737),arrow_module_scss_1=__importDefault(__webpack_require__(34232)),arrow_position_module_scss_1=__importDefault(__webpack_require__(98397)),arrow_shadow_module_scss_1=__importDefault(__webpack_require__(80790));function Arrow(props){const{position="none",className}=props;return react_1.default.createElement(base_ui_surfaces_abs_container_1.Containee,Object.assign({},props,{className:classnames_1.default(arrow_module_scss_1.default.arrow,arrow_shadow_module_scss_1.default[position],arrow_position_module_scss_1.default[position],className)}))}exports.Arrow=Arrow},85211: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__(74975),exports)},74975: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.TooltipMenu=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_surfaces_abs_container_1=__webpack_require__(67737),base_ui_css_components_elevation_1=__webpack_require__(63368),base_ui_css_components_roundness_1=__webpack_require__(69725),tooltip_card_module_scss_1=__importDefault(__webpack_require__(85624)),TooltipMenu=_a=>{var{position,children,elevation="medium",roundness="sharp",className}=_a,rest=__rest(_a,["position","children","elevation","roundness","className"]);return react_1.default.createElement(base_ui_surfaces_abs_container_1.Containee,Object.assign({position,className:classnames_1.default(tooltip_card_module_scss_1.default.menu,base_ui_css_components_elevation_1.elevationClass[elevation],base_ui_css_components_roundness_1.roundnessClass[roundness],className)},rest),children)};exports.TooltipMenu=TooltipMenu,exports.TooltipMenu.defaultProps={elevation:"medium",roundness:"sharp"}},58156: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.TooltipDrawer=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_ui_surfaces_drawer_1=__webpack_require__(914),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_css_components_fade_in_out_1=__webpack_require__(30377),tooltip_card_1=__webpack_require__(85211),tooltip_arrow_1=__webpack_require__(17089),tooltip_drawer_module_scss_1=__importDefault(__webpack_require__(93954));function TooltipDrawer(_a){var{children,className,position="bottom",elevation,tooltipClass,arrowClass}=_a,rest=__rest(_a,["children","className","position","elevation","tooltipClass","arrowClass"]);return react_1.default.createElement(base_ui_surfaces_drawer_1.Drawer,Object.assign({className:classnames_1.default(tooltip_drawer_module_scss_1.default.drawer,className)},rest),react_1.default.createElement(tooltip_card_1.TooltipMenu,{position,elevation,className:classnames_1.default(tooltipClass,evangelist_css_components_fade_in_out_1.fadeInOutClass,tooltip_drawer_module_scss_1.default.tooltip)},children),react_1.default.createElement(tooltip_arrow_1.Arrow,{position,className:classnames_1.default(arrowClass,evangelist_css_components_fade_in_out_1.fadeInOutClass,tooltip_drawer_module_scss_1.default.arrow)}))}exports.TooltipDrawer=TooltipDrawer,TooltipDrawer.defaultProps={hoverToOpen:!1,position:"bottom"}},95791:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQueryServer=exports.QueryServerProvider=exports.gql=exports.useQuery=void 0;var use_query_light_1=__webpack_require__(29896);Object.defineProperty(exports,"useQuery",{enumerable:!0,get:function(){return use_query_light_1.useQuery}}),Object.defineProperty(exports,"gql",{enumerable:!0,get:function(){return use_query_light_1.gql}});var server_context_1=__webpack_require__(13935);Object.defineProperty(exports,"QueryServerProvider",{enumerable:!0,get:function(){return server_context_1.QueryServerProvider}}),Object.defineProperty(exports,"useQueryServer",{enumerable:!0,get:function(){return server_context_1.useQueryServer}})},13935:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQueryServer=exports.QueryServerProvider=void 0;const react_1=__webpack_require__(59496),QueryServerCtx=(0,react_1.createContext)("/graphql");exports.QueryServerProvider=QueryServerCtx.Provider;const useQueryServer=()=>(0,react_1.useContext)(QueryServerCtx);exports.useQueryServer=useQueryServer},29896:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQuery=exports.gql=void 0;const react_1=__webpack_require__(59496),graphql_request_1=__webpack_require__(17584),use_deep_compare_1=__webpack_require__(85587),server_context_1=__webpack_require__(13935);var graphql_request_2=__webpack_require__(17584);Object.defineProperty(exports,"gql",{enumerable:!0,get:function(){return graphql_request_2.gql}});function useQuery(query,{variables,server,headers}={}){const mountedRef=(0,react_1.useRef)(!0),[state,setState]=(0,react_1.useState)({loading:!1}),stableVariables=(0,use_deep_compare_1.useDeepCompareMemo)(()=>variables,[variables]),ctxServer=(0,server_context_1.useQueryServer)();return(0,react_1.useEffect)(()=>()=>{mountedRef.current=!1},[]),(0,react_1.useEffect)(()=>{const controller=createAborter();return setState(obj=>Object.assign(Object.assign({},obj),{loading:!0,error:void 0})),(0,graphql_request_1.request)({url:server||ctxServer,document:query,variables:stableVariables,requestHeaders:headers,signal:controller?.signal}).then(result=>{mountedRef.current&&setState(obj=>Object.assign(Object.assign({},obj),{data:result,loading:!1}))}).catch(e=>{var _a,_b,_c,_d;const isAborted=e&&(e.type==="aborted"||((_b=(_a=e.message).toLowerCase)===null||_b===void 0?void 0:_b.call(_a))==="aborted"||((_d=(_c=e.name).toLowerCase)===null||_d===void 0?void 0:_d.call(_c))==="aborterror");mountedRef.current&&setState(obj=>Object.assign(Object.assign({},obj),{error:isAborted?void 0:e,loading:!1}))}),()=>{controller?.abort()}},[query,stableVariables]),state}exports.useQuery=useQuery;function createAborter(){if(!(typeof AbortController>"u"))return new AbortController}},2538:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LANE_REMOTE_DELIMITER=exports.DEFAULT_LANE=exports.LaneId=void 0;var lane_id_1=__webpack_require__(55431);Object.defineProperty(exports,"LaneId",{enumerable:!0,get:function(){return lane_id_1.LaneId}}),Object.defineProperty(exports,"DEFAULT_LANE",{enumerable:!0,get:function(){return lane_id_1.DEFAULT_LANE}}),Object.defineProperty(exports,"LANE_REMOTE_DELIMITER",{enumerable:!0,get:function(){return lane_id_1.LANE_REMOTE_DELIMITER}})},55431:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LaneId=exports.LANE_REMOTE_DELIMITER=exports.DEFAULT_LANE=void 0;const bit_error_1=__webpack_require__(74155);exports.DEFAULT_LANE="main",exports.LANE_REMOTE_DELIMITER="/";class LaneId{constructor({name,scope}){this.name=name,this.scope=scope,Object.freeze(this)}hasSameName(id){return this.name===id.name}hasSameScope(id){return!id.scope&&!this.scope?!0:this.scope===id.scope}isEqual(laneId){return this.hasSameName(laneId)&&this.hasSameScope(laneId)}isDefault(){return this.name===exports.DEFAULT_LANE}toString(){return this.scope?this.scope+exports.LANE_REMOTE_DELIMITER+this.name:this.name}toObject(){return{scope:this.scope,name:this.name}}static from(name,scope){return new LaneId({scope,name})}static parse(id){if(!id.includes(exports.LANE_REMOTE_DELIMITER))throw new bit_error_1.BitError(`invalid lane-id, "${id}" is missing a delimiter "(${exports.LANE_REMOTE_DELIMITER})"`);const split=id.split(exports.LANE_REMOTE_DELIMITER);if(split.length>2)throw new bit_error_1.BitError(`invalid lane-id "${id}". a lane id can have only one "${exports.LANE_REMOTE_DELIMITER}"`);return LaneId.from(split[1],split[0])}}exports.LaneId=LaneId},53298:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LanesModel=void 0;var lanes_model_1=__webpack_require__(7935);Object.defineProperty(exports,"LanesModel",{enumerable:!0,get:function(){return lanes_model_1.LanesModel}})},7935:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LanesModel=void 0;const component_1=__webpack_require__(68211),lane_id_1=__webpack_require__(2538),component_id_1=__webpack_require__(99978),path_to_regexp_1=__webpack_require__(51419),lodash_1=__webpack_require__(32699);class LanesModel{static mapToLaneModel(laneData){var _a,_b,_c,_d,_e,_f,_g,_h,_j,_k;const{id,laneComponentIds=[],readmeComponent,hash,createdAt,displayName,updatedAt,createdBy:createdByData,updatedBy:updatedByData,dependents=[]}=laneData,componentIds=laneComponentIds?.map(laneComponentId=>component_id_1.ComponentID.fromObject(laneComponentId))||[],readmeComponentModel=readmeComponent&&component_1.ComponentModel.from(Object.assign({},readmeComponent)),createdAtDate=createdAt&&new Date(+createdAt)||void 0,createdBy=createdByData?{name:(_a=createdByData?.name)!==null&&_a!==void 0?_a:void 0,email:(_b=createdByData.email)!==null&&_b!==void 0?_b:void 0,username:(_c=createdByData?.username)!==null&&_c!==void 0?_c:void 0,displayName:(_d=createdByData?.displayName)!==null&&_d!==void 0?_d:void 0,profileImage:(_e=createdByData.profileImage)!==null&&_e!==void 0?_e:void 0}:void 0,updatedAtDate=updatedAt&&new Date(+updatedAt)||void 0,updatedBy=updatedByData?.name?{name:(_f=updatedByData?.name)!==null&&_f!==void 0?_f:void 0,username:(_g=updatedByData?.username)!==null&&_g!==void 0?_g:void 0,displayName:(_h=updatedByData?.displayName)!==null&&_h!==void 0?_h:void 0,email:(_j=updatedByData.email)!==null&&_j!==void 0?_j:void 0,profileImage:(_k=updatedByData.profileImage)!==null&&_k!==void 0?_k:void 0}:void 0;return{id:lane_id_1.LaneId.from(id.name,id.scope),components:componentIds,readmeComponent:readmeComponentModel,createdAt:createdAtDate,updatedAt:updatedAtDate,displayName,hash,updatedBy,createdBy,dependents:dependents?.map(dependent=>component_id_1.ComponentID.fromObject(dependent))}}static groupLaneIdsByScope(laneIds){const grouped=new Map;return laneIds.forEach(laneId=>{const{scope}=laneId;if(!grouped.has(scope))grouped.set(scope,[laneId]);else{const existing=grouped.get(scope);grouped.set(scope,[...existing,laneId])}}),grouped}static groupLanesByScope(lanes){const grouped=new Map;return lanes.forEach(lane=>{const{scope}=lane.id;if(!grouped.has(scope))grouped.set(scope,[lane]);else{const existing=grouped.get(scope);grouped.set(scope,[...existing,lane])}}),grouped}static groupByComponentNameAndId(lanes){const byName=new Map,byId=new Map;return lanes.forEach(lane=>{const{components}=lane;components.forEach(component=>{const name=component.fullName,id=component.toString(),existingByName=byName.get(name)||[],existingById=byId.get(id)||[];existingByName.push(lane),existingById.push(lane),byName.set(name,existingByName),byId.set(id,existingById)})}),{byName,byId}}static from({data,scope,viewedLaneId}){var _a,_b,_c,_d,_e;const lanes=((_b=(_a=data?.lanes)===null||_a===void 0?void 0:_a.list)===null||_b===void 0?void 0:_b.map(lane=>LanesModel.mapToLaneModel(lane)))||[],currentLane=!((_c=data?.lanes)===null||_c===void 0)&&_c.current?LanesModel.mapToLaneModel(data.lanes.current):void 0,defaultLane=!((_d=data?.lanes)===null||_d===void 0)&&_d.default?LanesModel.mapToLaneModel(data.lanes.default):scope&&LanesModel.mapToLaneModel({id:{name:"main",scope},hash:""})||lanes.find(lane=>lane.id.isDefault())||void 0,viewedLane=viewedLaneId?lanes.find(lane=>lane.id.isEqual(viewedLaneId)):((_e=data?.lanes)===null||_e===void 0?void 0:_e.viewedLane)&&LanesModel.mapToLaneModel(data.lanes.viewedLane[0])||currentLane||defaultLane;return new LanesModel({lanes,currentLane,defaultLane,viewedLane})}constructor({lanes=[],viewedLane,currentLane,defaultLane}){this.getLaneComponentUrlByVersion=(componentId,laneId,addScopeMetadataInUrl)=>{var _a;const defaultLane2=this.getDefaultLane();if(!componentId.version||!laneId||!defaultLane2||laneId&&this.currentLane&&laneId.isEqual(this.currentLane.id))return LanesModel.getMainComponentUrl(componentId,void 0,addScopeMetadataInUrl);const lane=(_a=this.getLanesByComponentId(componentId))===null||_a===void 0?void 0:_a.find(l=>l.id.isEqual(laneId));return lane?lane.id.isDefault()?LanesModel.getMainComponentUrl(componentId,void 0,addScopeMetadataInUrl):LanesModel.getLaneComponentUrl(componentId,lane.id,addScopeMetadataInUrl):defaultLane2.components.find(c=>c.isEqual(componentId))?LanesModel.getMainComponentUrl(componentId,laneId,addScopeMetadataInUrl):void 0},this.setViewedLane=viewedLaneId=>{this.viewedLane=viewedLaneId?this.lanes.find(lane=>lane.id.isEqual(viewedLaneId)):void 0},this.setViewedOrDefaultLane=viewedLaneId=>{this.viewedLane=viewedLaneId?this.lanes.find(lane=>lane.id.isEqual(viewedLaneId)):this.getDefaultLane()},this.resolveComponentFromUrl=(idFromUrl,laneId)=>{var _a;const comps=((_a=laneId&&this.lanes.find(lane=>lane.id.isEqual(laneId))||this.viewedLane)===null||_a===void 0?void 0:_a.components)||[];return idFromUrl.includes(".")?comps.find(component=>component.toStringWithoutVersion()===idFromUrl):comps.find(component=>component.fullName===idFromUrl)},this.getDefaultLane=()=>this.defaultLane,this.getNonMainLanes=()=>this.lanes.filter(lane=>!lane.id.isDefault()),this.isInViewedLane=(componentId,includeVersion)=>{var _a,_b;return includeVersion?(_a=this.viewedLane)===null||_a===void 0?void 0:_a.components.some(comp=>includeVersion&&comp.isEqual(componentId)):(_b=this.viewedLane)===null||_b===void 0?void 0:_b.components.some(comp=>includeVersion&&comp.isEqual(componentId,{ignoreVersion:!0}))},this.isViewingCurrentLane=()=>this.currentLane&&this.viewedLane&&this.currentLane.id.isEqual(this.viewedLane.id),this.isViewingDefaultLane=()=>this.viewedLane&&this.viewedLane.id.isDefault(),this.isViewingNonDefaultLane=()=>this.viewedLane&&!this.viewedLane.id.isDefault(),this.getLanesByComponentName=componentId=>this.lanesByComponentName.get(componentId.fullName),this.getLanesByComponentId=componentId=>this.lanesByComponentId.get(componentId.toString()),this.isComponentOnMain=(componentId,includeVersion)=>{var _a,_b;return includeVersion?!!(!((_a=this.getLanesByComponentId(componentId))===null||_a===void 0)&&_a.some(lane=>lane.id.isDefault())):!!(!((_b=this.getLanesByComponentName(componentId))===null||_b===void 0)&&_b.some(lane=>lane.id.isDefault()))},this.isComponentOnMainButNotOnLane=(componentId,includeVersion,laneId)=>this.isComponentOnMain(componentId,includeVersion)&&!this.isComponentOnNonDefaultLanes(componentId,includeVersion,laneId),this.isComponentOnLaneButNotOnMain=(componentId,includeVersion,laneId)=>!this.isComponentOnMain(componentId,includeVersion)&&this.isComponentOnNonDefaultLanes(componentId,includeVersion,laneId),this.isComponentOnNonDefaultLanes=(componentId,includeVersion,laneId)=>{var _a,_b;return includeVersion?!!(!((_a=this.getLanesByComponentId(componentId))===null||_a===void 0)&&_a.some(lane=>!lane.id.isDefault()&&(!laneId||lane.id.isEqual(laneId)))):!!(!((_b=this.getLanesByComponentName(componentId))===null||_b===void 0)&&_b.some(lane=>!lane.id.isDefault()&&(!laneId||lane.id.isEqual(laneId))))},this.isComponentDependent=(componentId,includeVersion,laneId)=>{var _a,_b;const lane=laneId?this.lanes.find(l=>l.id.isEqual(laneId)):this.viewedLane;return lane?includeVersion?!!(!((_a=lane.dependents)===null||_a===void 0)&&_a.some(dep=>dep.isEqual(componentId))):!!(!((_b=lane.dependents)===null||_b===void 0)&&_b.some(dep=>dep.isEqual(componentId,{ignoreVersion:!0}))):!1},this.viewedLane=viewedLane,this.currentLane=currentLane,this.defaultLane=defaultLane;const allUniqueLanes=(0,lodash_1.compact)((0,lodash_1.uniqBy)([...lanes,this.defaultLane,this.currentLane,this.viewedLane],lane=>lane?.id.toString()));this.lanes=allUniqueLanes,this.laneIdsByScope=LanesModel.groupLaneIdsByScope(this.lanes.map(lane=>lane.id));const{byId,byName}=LanesModel.groupByComponentNameAndId(this.lanes);this.lanesByComponentId=byId,this.lanesByComponentName=byName}addLanes(newLanes=[]){this.lanes=LanesModel.concatLanes(this.lanes,newLanes),this.laneIdsByScope=LanesModel.groupLaneIdsByScope(this.lanes.map(lane=>lane.id));const{byId,byName}=LanesModel.groupByComponentNameAndId(this.lanes);this.lanesByComponentId=byId,this.lanesByComponentName=byName}static concatLanes(lanes=[],newLanes=[]){return(0,lodash_1.compact)((0,lodash_1.uniqBy)([...lanes,...newLanes],lane=>lane?.id.toString()))}}exports.LanesModel=LanesModel,LanesModel.lanesPrefix="~lane",LanesModel.baseLaneComponentRoute="/~component",LanesModel.lanePath=":scopeId/:laneId",LanesModel.laneUrlParamsKey="lane",LanesModel.laneFromPathRegex=(0,path_to_regexp_1.pathToRegexp)(`${LanesModel.lanesPrefix}/${LanesModel.lanePath}`,void 0,{end:!1,start:!1}),LanesModel.getLaneIdFromPathname=(pathname,urlSearchParams)=>{const matches=LanesModel.laneFromPathRegex.exec(pathname);if(matches){const[,scopeId,laneId]=matches;return lane_id_1.LaneId.from(laneId,scopeId)}if(urlSearchParams){const laneIdQueryParam=urlSearchParams.get(LanesModel.laneUrlParamsKey);return laneIdQueryParam?lane_id_1.LaneId.parse(laneIdQueryParam):void 0}},LanesModel.getLaneUrl=(laneId,relative)=>`${relative?"":"/"}${LanesModel.lanesPrefix}/${laneId.toString()}`,LanesModel.getLaneComponentUrl=(componentId,laneId,addScopeMetadataInUrl)=>{const isExternalComponent=componentId.scope!==laneId.scope,laneUrl=LanesModel.getLaneUrl(laneId),queryParams=new URLSearchParams;return componentId.version&&queryParams.set("version",componentId.version),addScopeMetadataInUrl&&queryParams.set("scope",componentId.scope),`${isExternalComponent?`${laneUrl}${LanesModel.baseLaneComponentRoute}/${componentId.toStringWithoutVersion()}`:`${laneUrl}${LanesModel.baseLaneComponentRoute}/${componentId.fullName}`}?${queryParams.toString()}`},LanesModel.getMainComponentUrl=(componentId,laneId,addScopeMetadataInUrl)=>{const componentUrl=componentId.fullName,queryParams=new URLSearchParams;return laneId&&queryParams.set(LanesModel.laneUrlParamsKey,laneId.toString()),addScopeMetadataInUrl&&queryParams.set("scope",componentId.scope),`${componentUrl}?${queryParams.toString()}`}},47709:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.VERSION_DELIMITER=void 0;const decamelize_1=__importDefault(__webpack_require__(5509)),path=__importStar(__webpack_require__(62005)),semver=__importStar(__webpack_require__(9131)),lodash_1=__webpack_require__(32699),component_version_1=__webpack_require__(22670),is_valid_id_chunk_1=__importDefault(__webpack_require__(74034)),is_valid_scope_name_1=__importDefault(__webpack_require__(61870)),exceptions_1=__webpack_require__(36564);exports.VERSION_DELIMITER="@";class BitId{constructor({scope,box,name,version}){if(!name)throw new exceptions_1.InvalidName(name);this.scope=scope||null,this.box=void 0,this.name=box?`${box}/${name}`:name,this.version=version||void 0,Object.freeze(this)}clone(){return new BitId(this)}changeScope(newScope){return new BitId({scope:newScope,name:this.name,version:this.version})}changeVersion(newVersion){return new BitId({scope:this.scope,name:this.name,version:newVersion})}isLocal(scopeName){return!this.scope||Boolean(scopeName&&scopeName===this.scope)}getVersion(){return(0,component_version_1.versionParser)(this.version)}hasVersion(){return Boolean(this.version&&this.version!==component_version_1.LATEST_VERSION)}hasScope(){return Boolean(this.scope)}hasSameName(id){return this.name===id.name}hasSameScope(id){return this.hasScope()&&id.hasScope()?this.scope===id.scope:!this.hasScope()&&!id.hasScope()}hasSameVersion(id){return this.hasVersion()&&id.hasVersion()?this.version===id.version:!this.hasVersion()&&!id.hasVersion()}toString(ignoreScope=!1,ignoreVersion=!1){const{name,version}=this,scope=this.scope,componentStr=ignoreScope||!scope?name:[scope,name].join("/");return ignoreVersion||!this.hasVersion()?componentStr:componentStr.concat(`${exports.VERSION_DELIMITER}${version}`)}toStringWithoutScope(){return this.toString(!0)}toStringWithoutVersion(){return this.toString(!1,!0)}toStringWithoutScopeAndVersion(){return this.toString(!0,!0)}isEqual(bitId){return this.hasSameName(bitId)&&this.hasSameScope(bitId)&&this.hasSameVersion(bitId)}isEqualWithoutVersion(bitId){return this.hasSameName(bitId)&&this.hasSameScope(bitId)}isEqualWithoutScopeAndVersion(bitId){return this.hasSameName(bitId)}serialize(){const obj={scope:this.scope,name:this.name,version:this.version};return this.hasVersion()||delete obj.version,this.hasScope()||delete obj.scope,obj}toFullPath(){if(!this.scope||!this.version)throw new Error("BitId.toFullPath is unable to generate a path without a scope or a version");return path.join(this.name,this.scope,this.version)}isVersionSnap(){return!(0,component_version_1.isTag)(this.version)}getVersionPreReleaseData(){return this.version?semver.prerelease(this.version):null}static getStringWithoutVersion(id){const splitted=id.split(exports.VERSION_DELIMITER);let res=splitted[0];return id.startsWith(exports.VERSION_DELIMITER)&&(res=`${exports.VERSION_DELIMITER}${splitted[1]}`),res}static getVersionOnlyFromString(id){return id.split(exports.VERSION_DELIMITER)[1]}static parse(id,hasScope=!0,version=component_version_1.LATEST_VERSION){if(typeof id!="string")throw new TypeError(`BitId.parse expects to get "id" as a string, instead, got ${typeof id}`);if(id.includes(exports.VERSION_DELIMITER)&&id.lastIndexOf(exports.VERSION_DELIMITER)>0){const[newId,newVersion]=id.split(exports.VERSION_DELIMITER);id=newId,version=newVersion}const getScopeAndName=()=>hasScope?BitId.getScopeAndName(id):{scope:void 0,name:id},{scope,name}=getScopeAndName();if(!(0,is_valid_id_chunk_1.default)(name))throw new exceptions_1.InvalidName(name);if(scope&&!(0,is_valid_scope_name_1.default)(scope))throw new exceptions_1.InvalidScopeName(scope,id);return new BitId({scope,name,version})}static getScopeAndName(id){const delimiterIndex=id.indexOf("/");if(delimiterIndex<0)throw new exceptions_1.InvalidBitId(id);const scope=id.substring(0,delimiterIndex),name=id.substring(delimiterIndex+1);return{scope,name}}static parseObsolete(id,version=component_version_1.LATEST_VERSION){if(id.includes(exports.VERSION_DELIMITER)){const[newId,newVersion]=id.split(exports.VERSION_DELIMITER);id=newId,version=newVersion}const idSplit=id.split("/");if(idSplit.length===3){const[scope,box,name]=idSplit;if(!(0,is_valid_id_chunk_1.default)(name,!1)||!(0,is_valid_id_chunk_1.default)(box,!1)||!(0,is_valid_scope_name_1.default)(scope))throw new exceptions_1.InvalidIdChunk(`${scope}/${box}/${name}`);return new BitId({scope,box,name,version})}if(idSplit.length===2){const[box,name]=idSplit;if(!(0,is_valid_id_chunk_1.default)(name,!1)||!(0,is_valid_id_chunk_1.default)(box,!1))throw new exceptions_1.InvalidIdChunk(`${box}/${name}`);return new BitId({box,name,version})}if(idSplit.length===1){const[name]=idSplit;if(!(0,is_valid_id_chunk_1.default)(name))throw new exceptions_1.InvalidIdChunk(name);return new BitId({name,version})}throw new exceptions_1.InvalidBitId(id)}static parseBackwardCompatible(id){return typeof id=="string"?BitId.parseObsolete(id):new BitId(id)}static getValidScopeName(scope){let cleanName=scope.toLowerCase().split("").map(char=>/^[$\-_!.a-z0-9]+$/.test(char)?char:"").join("");const nameSplitByDot=cleanName.split(".");if(nameSplitByDot.length>1&&(cleanName=`${(0,lodash_1.head)(nameSplitByDot)}.${(0,lodash_1.tail)(nameSplitByDot).join("")}`),!cleanName)throw new Error("scope name created by directory name have to contains at least one character or number");return cleanName}static getValidIdChunk(chunk){return(0,is_valid_id_chunk_1.default)(chunk)||(chunk=chunk.replace(/\./g,""),chunk=chunk.replace(/ /g,"-"),chunk=(0,decamelize_1.default)(chunk,"-")),chunk}static getValidBitId(box,name){return new BitId({name:BitId.getValidIdChunk(name),box:box?BitId.getValidIdChunk(box):void 0})}static isValidVersion(version){return(0,component_version_1.isTag)(version)||(0,component_version_1.isHash)(version)}static isValidSemver(version){return Boolean(semver.valid(version))}}exports.default=BitId},36564:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.InvalidScopeNameFromRemote=exports.InvalidScopeName=exports.InvalidName=exports.InvalidIdChunk=exports.InvalidBitId=void 0;const invalid_bit_id_1=__importDefault(__webpack_require__(55261));exports.InvalidBitId=invalid_bit_id_1.default;const invalid_id_chunk_1=__importDefault(__webpack_require__(24631));exports.InvalidIdChunk=invalid_id_chunk_1.default;const invalid_name_1=__importDefault(__webpack_require__(66036));exports.InvalidName=invalid_name_1.default;const invalid_scope_name_1=__importDefault(__webpack_require__(27806));exports.InvalidScopeName=invalid_scope_name_1.default;const invalid_scope_name_from_remote_1=__importDefault(__webpack_require__(26343));exports.InvalidScopeNameFromRemote=invalid_scope_name_from_remote_1.default},55261:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const bit_error_1=__webpack_require__(74155);class InvalidBitId extends bit_error_1.BitError{constructor(id){super(`error: component ID "${id}" is invalid, please use the following format: [scope]/<name>`)}}exports.default=InvalidBitId},24631:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const bit_error_1=__webpack_require__(74155);class InvalidIdChunk extends bit_error_1.BitError{constructor(id){super(`error: "${id}" is invalid, component IDs can only contain alphanumeric, lowercase characters, and the following ["-", "_", "$", "!"]`)}}exports.default=InvalidIdChunk},66036:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const bit_error_1=__webpack_require__(74155);class InvalidName extends bit_error_1.BitError{constructor(componentName){super(`error: "${componentName}" is invalid, component names can only contain alphanumeric, lowercase characters, and the following ["-", "_", "$", "!", "/"]`)}}exports.default=InvalidName},26343:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const bit_error_1=__webpack_require__(74155);class InvalidScopeNameFromRemote extends bit_error_1.BitError{constructor(scopeName){super(`cannot find scope '${scopeName}'.
43
43
  if you are targeting a self-hosted scope, please ensure the scope is configured in your remotes (via "bit remote" command) and that the scope name is correct.
44
- if this is a scope on bit.cloud please add the organization name before the scope (yourOrg.some-scope-name)`);this.scopeName=scopeName}}exports.default=InvalidScopeNameFromRemote},27806:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const bit_error_1=__webpack_require__(74155);class InvalidScopeName extends bit_error_1.BitError{constructor(scopeName,id,variant){const variantStr=variant?`configured in variant "${variant}" `:"";super(`error: "${id||scopeName}" ${variantStr}is invalid, component scope names can only contain alphanumeric, lowercase characters, and the following ["-", "_", "$", "!"]`)}}exports.default=InvalidScopeName},13440:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.InvalidScopeNameFromRemote=exports.InvalidScopeName=exports.InvalidName=exports.isValidIdChunk=exports.isValidScopeName=exports.VERSION_DELIMITER=exports.BitId=void 0;const bit_id_1=__importStar(__webpack_require__(47709));exports.BitId=bit_id_1.default,Object.defineProperty(exports,"VERSION_DELIMITER",{enumerable:!0,get:function(){return bit_id_1.VERSION_DELIMITER}});const exceptions_1=__webpack_require__(36564);Object.defineProperty(exports,"InvalidName",{enumerable:!0,get:function(){return exceptions_1.InvalidName}}),Object.defineProperty(exports,"InvalidScopeName",{enumerable:!0,get:function(){return exceptions_1.InvalidScopeName}}),Object.defineProperty(exports,"InvalidScopeNameFromRemote",{enumerable:!0,get:function(){return exceptions_1.InvalidScopeNameFromRemote}});const is_valid_scope_name_1=__importDefault(__webpack_require__(61870));exports.isValidScopeName=is_valid_scope_name_1.default;const is_valid_id_chunk_1=__importDefault(__webpack_require__(74034));exports.isValidIdChunk=is_valid_id_chunk_1.default},74034:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const validationRegExp=/^[-_a-z0-9/]+$/,validationRegExpDisallowSlash=/^[-_a-z0-9]+$/;function isValidIdChunk(val,allowSlash=!0){return typeof val!="string"||val.includes("//")?!1:(allowSlash?validationRegExp:validationRegExpDisallowSlash).test(val)}exports.default=isValidIdChunk},61870:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const validationRegExp=/^[$\-_!a-z0-9]+[.]?[$\-_!a-z0-9]+$/;function isValidScopeName(val){return typeof val!="string"?!1:validationRegExp.test(val)}exports.default=isValidScopeName},67896:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(42397),exports)},42397: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};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Snippet=void 0;const react_1=__importStar(__webpack_require__(59496)),mdx_ui_mdx_scope_context_1=__webpack_require__(25427),react_2=__webpack_require__(49613),documenter_markdown_hybrid_live_code_snippet_1=__webpack_require__(69482);function Snippet(_a){var{scope}=_a,rest=__rest(_a,["scope"]);const components=(0,react_1.useContext)(mdx_ui_mdx_scope_context_1.MDXScopeContext),_scope=(0,react_1.useMemo)(()=>Object.assign(Object.assign(Object.assign({},components),{mdx:react_2.mdx}),scope),[components,scope,react_2.mdx]);return react_1.default.createElement(documenter_markdown_hybrid_live_code_snippet_1.Snippet,Object.assign({scope:_scope},rest))}exports.Snippet=Snippet},72920:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{MDXLayout:()=>MDXLayout});var jsx_runtime=__webpack_require__(4637),react=__webpack_require__(59496),dist=__webpack_require__(45530),mdx_ui_docs_snippet_dist=__webpack_require__(67896),base_react_navigation_link_dist=__webpack_require__(76223);const link_module={link:"link_link__Q-nHp"};function Link(props){return(0,jsx_runtime.jsx)(base_react_navigation_link_dist.Link,{...props,className:link_module.link,external:!0})}const mdxComponents={code:mdx_ui_docs_snippet_dist.Snippet,a:Link};function MDXLayout({components,...rest}){const memoizedComponents=(0,react.useMemo)(()=>({...mdxComponents,...components}),[mdxComponents,components]);return(0,jsx_runtime.jsx)(dist.f,{components:memoizedComponents,...rest})}},55751:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){function adopt(value){return value instanceof P?value:new P(function(resolve){resolve(value)})}return new(P||(P=Promise))(function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):adopt(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())})},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.ErrorFallback=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),design_ui_icon_button_1=__webpack_require__(53330),base_ui_styles_flex_center_1=__webpack_require__(15764),error_fallback_module_scss_1=__importDefault(__webpack_require__(41722));function ErrorFallback({resetErrorBoundary,className,children="Failed to render",cta="try again"}){const handleClick=()=>__awaiter(this,void 0,void 0,function*(){yield new Promise(resolve=>setTimeout(resolve,480)),resetErrorBoundary()});return react_1.default.createElement("div",{className:(0,classnames_1.default)(error_fallback_module_scss_1.default.errorFallback,base_ui_styles_flex_center_1.flexCenter,className)},react_1.default.createElement("div",{className:error_fallback_module_scss_1.default.icon}),react_1.default.createElement("div",{className:error_fallback_module_scss_1.default.message},children),react_1.default.createElement(design_ui_icon_button_1.IconButton,{onClick:handleClick,className:error_fallback_module_scss_1.default.retryButton},cta))}exports.ErrorFallback=ErrorFallback},80617:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ErrorFallback=void 0;var error_fallback_1=__webpack_require__(55751);Object.defineProperty(exports,"ErrorFallback",{enumerable:!0,get:function(){return error_fallback_1.ErrorFallback}})},12431:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(44246),exports),__exportStar(__webpack_require__(55480),exports),__exportStar(__webpack_require__(21937),exports)},44246:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LoaderContext=void 0;const react_1=__webpack_require__(59496),defaultLoaderApi={isActive:()=>!1,update:()=>!1,remove:()=>!1};exports.LoaderContext=(0,react_1.createContext)(defaultLoaderApi)},55480:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLoaderApi=void 0;const react_1=__webpack_require__(59496);function useLoaderApi(){const{current:loaders}=(0,react_1.useRef)(new Set),[isLoading,setIsLoading]=(0,react_1.useState)(!1),reevaluate=(0,react_1.useCallback)(()=>{setIsLoading(loaders.size>0)},[loaders]);return[(0,react_1.useMemo)(()=>({isActive:id=>loaders.has(id),update:(id,value)=>{const res=value?!!loaders.add(id):loaders.delete(id);return reevaluate(),res},remove:id=>{const res=loaders.delete(id);return reevaluate(),res}}),[loaders,reevaluate]),isLoading]}exports.useLoaderApi=useLoaderApi},21937:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLoader=void 0;const react_1=__webpack_require__(59496),uuid_1=__webpack_require__(37196),loader_context_1=__webpack_require__(44246);function useLoader(loading){const[id]=(0,react_1.useState)(()=>(0,uuid_1.v1)()),ctx=(0,react_1.useContext)(loader_context_1.LoaderContext);(0,react_1.useEffect)(()=>(ctx.update(id,loading),()=>{ctx.remove(id)}),[loading,ctx,id])}exports.useLoader=useLoader},97857:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useDataQuery=void 0;var use_data_query_1=__webpack_require__(96956);Object.defineProperty(exports,"useDataQuery",{enumerable:!0,get:function(){return use_data_query_1.useDataQuery}})},96956:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useDataQuery=void 0;const react_1=__webpack_require__(59496),client_1=__webpack_require__(47094),ui_foundation_ui_notifications_notification_context_1=__webpack_require__(24496),ui_foundation_ui_global_loader_1=__webpack_require__(12431);function useDataQuery(query,options){const res=(0,client_1.useQuery)(query,options),notifications=(0,react_1.useContext)(ui_foundation_ui_notifications_notification_context_1.NotificationContext),{loading,error}=res;return(0,ui_foundation_ui_global_loader_1.useLoader)(loading),error&&notifications.error(apolloErrorToString(error)),res}exports.useDataQuery=useDataQuery;function apolloErrorToString(error){return error.toString()}},87082:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useIsMobile=void 0;var use_is_mobile_1=__webpack_require__(19185);Object.defineProperty(exports,"useIsMobile",{enumerable:!0,get:function(){return use_is_mobile_1.useIsMobile}})},19185:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useIsMobile=void 0;const ui_foundation_ui_hooks_use_user_agent_1=__webpack_require__(48870);function useIsMobile(){var _a;const deviceType=(_a=(0,ui_foundation_ui_hooks_use_user_agent_1.useUserAgent)())===null||_a===void 0?void 0:_a.getDevice().type;return deviceType==="tablet"||deviceType==="mobile"}exports.useIsMobile=useIsMobile},48870:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useUserAgent=exports.UserAgentProvider=exports.userAgentContext=exports.ssrBrowserContext=exports.SSRBrowserProvider=void 0;var use_user_agent_1=__webpack_require__(9571);Object.defineProperty(exports,"SSRBrowserProvider",{enumerable:!0,get:function(){return use_user_agent_1.SSRBrowserProvider}}),Object.defineProperty(exports,"ssrBrowserContext",{enumerable:!0,get:function(){return use_user_agent_1.ssrBrowserContext}}),Object.defineProperty(exports,"userAgentContext",{enumerable:!0,get:function(){return use_user_agent_1.userAgentContext}}),Object.defineProperty(exports,"UserAgentProvider",{enumerable:!0,get:function(){return use_user_agent_1.UserAgentProvider}}),Object.defineProperty(exports,"useUserAgent",{enumerable:!0,get:function(){return use_user_agent_1.useUserAgent}})},9571: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.useUserAgent=exports.SSRBrowserProvider=exports.ssrBrowserContext=exports.UserAgentProvider=exports.userAgentContext=void 0;const react_1=__webpack_require__(59496),ua_parser_js_1=__importDefault(__webpack_require__(93191));exports.userAgentContext=(0,react_1.createContext)(void 0),exports.UserAgentProvider=exports.userAgentContext.Provider,exports.ssrBrowserContext=(0,react_1.createContext)(void 0),exports.SSRBrowserProvider=exports.ssrBrowserContext.Provider;function useUserAgent(){const browser=(0,react_1.useContext)(exports.ssrBrowserContext);return browser?new ua_parser_js_1.default(browser.headers["user-agent"]):new ua_parser_js_1.default(window.navigator.userAgent)}exports.useUserAgent=useUserAgent},46842:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Keycap=exports.KeyCombo=exports.KeySequence=void 0;var keycap_1=__webpack_require__(95731);Object.defineProperty(exports,"KeySequence",{enumerable:!0,get:function(){return keycap_1.KeySequence}}),Object.defineProperty(exports,"KeyCombo",{enumerable:!0,get:function(){return keycap_1.KeyCombo}}),Object.defineProperty(exports,"Keycap",{enumerable:!0,get:function(){return keycap_1.Keycap}})},30984:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.prettifyKey=void 0;const ui_foundation_ui_is_browser_1=__webpack_require__(92900),macKeySymbols={shift:"\u21E7",ctrl:"\u2303",alt:"\u2325",command:"\u2318",meta:"\u2318",mod:"\u2318",backspace:"\u232B",tab:"\u21E5",enter:"\u21A9",return:"\u21A9",capslock:"\u21EA",esc:"\u238B",escape:"\u238B",space:"\u2423",pageup:"\u21DE",pagedown:"\u21DF",end:"end",home:"home",left:"\u2190",up:"\u2191",right:"\u2192",down:"\u2193",del:"\u2326",ins:"insert",plus:"+"},winKeySymbols={shift:"shift",ctrl:"ctrl",alt:"alt",meta:"win",mod:"ctrl",backspace:"backspace",tab:"tab",enter:"enter",return:"enter",capslock:"caps lock",esc:"Esc",escape:"Esc",space:"\u2423",pageup:"pgUp",pagedown:"pgDown",end:"end",home:"home",left:"\u2190",up:"\u2191",right:"\u2192",down:"\u2193",del:"del",ins:"insert",plus:"+"},macRegex=/Mac|iPod|iPhone|iPad/;function prettifyKey(key){if(typeof key!="string")return key;const lib=!ui_foundation_ui_is_browser_1.isBrowser||macRegex.test(window.navigator.platform)?macKeySymbols:winKeySymbols;return key in lib?lib[key]:key}exports.prettifyKey=prettifyKey},95731: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.Keycap=exports.KeyCombo=exports.KeySequence=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),key_module_scss_1=__importDefault(__webpack_require__(47015)),key_characters_1=__webpack_require__(30984);function KeySequence(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);if(!children)return null;const content=(0,react_1.useMemo)(()=>{const mapped=children.split(" ").map(x=>x.trim()).filter(x=>!!x).map((combo,idx)=>react_1.default.createElement(KeyCombo,{key:idx},combo));return insertBetween(mapped,idx=>react_1.default.createElement(Then,{key:`then-sep_${idx}`}))},[children]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(key_module_scss_1.default.keySequence,className)}),content)}exports.KeySequence=KeySequence;function KeyCombo(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);if(!children)return null;const split=children.split("+").map(x=>x.trim());return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(className,key_module_scss_1.default.keyCombo)}),split.map((x,idx)=>react_1.default.createElement(Keycap,{key:idx},x)))}exports.KeyCombo=KeyCombo;function Keycap(_a){var{className,children}=_a,rest=__rest(_a,["className","children"]);const prettyKey=(0,key_characters_1.prettifyKey)(children);return react_1.default.createElement("kbd",Object.assign({},rest,{className:(0,classnames_1.default)(className,key_module_scss_1.default.keycap)}),prettyKey)}exports.Keycap=Keycap;function insertBetween(arr,toInsert){const res=[];return arr.forEach((item,idx)=>{res.push(item),res.push(toInsert(idx))}),res.pop(),res}function Then(){return react_1.default.createElement("span",{className:key_module_scss_1.default.thenSep},"then")}},69952:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MainDropdown=void 0;var main_dropdown_1=__webpack_require__(61928);Object.defineProperty(exports,"MainDropdown",{enumerable:!0,get:function(){return main_dropdown_1.MainDropdown}})},61928: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.MainDropdown=void 0;const evangelist_elements_icon_1=__webpack_require__(86144),evangelist_surfaces_tooltip_1=__webpack_require__(36748),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),lodash_1=__webpack_require__(32699),ui_foundation_ui_keycap_1=__webpack_require__(46842),main_dropdown_module_scss_1=__importDefault(__webpack_require__(71294));function MainDropdown(_a){var{menuItems,className}=_a,rest=__rest(_a,["menuItems","className"]);return!menuItems||(0,lodash_1.isEmpty)(menuItems)?null:react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(main_dropdown_module_scss_1.default.mainDropdown,className)}),react_1.default.createElement(evangelist_surfaces_tooltip_1.TooltipDrawer,{className:main_dropdown_module_scss_1.default.dropdown,tooltipClass:main_dropdown_module_scss_1.default.menu,placeholder:"",clickOutside:!0,PlaceholderComponent:()=>react_1.default.createElement("div",{className:main_dropdown_module_scss_1.default.iconAnchor},react_1.default.createElement("div",{className:main_dropdown_module_scss_1.default.overlay}),react_1.default.createElement(evangelist_elements_icon_1.Icon,{className:(0,classnames_1.default)(main_dropdown_module_scss_1.default.icon),of:"more"}))},react_1.default.createElement("div",null,Object.keys(menuItems).map((category,index)=>react_1.default.createElement(MenuBlock,{key:index,title:category},menuItems[category].map(item=>item&&react_1.default.createElement(Line,{key:item.keyChar,lineTitle:item.title,keyChar:item.keyChar,onClick:item.handler})))))))}exports.MainDropdown=MainDropdown;function Line(_a){var{lineTitle,keyChar,onClick}=_a,rest=__rest(_a,["lineTitle","keyChar","onClick"]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(main_dropdown_module_scss_1.default.line),onClick}),react_1.default.createElement("div",null,lineTitle),keyChar&&react_1.default.createElement("pre",null,react_1.default.createElement(ui_foundation_ui_keycap_1.KeySequence,null,keyChar)))}function MenuBlock({title,children}){return react_1.default.createElement("div",{className:(0,classnames_1.default)(main_dropdown_module_scss_1.default.menuBlock)},react_1.default.createElement("div",{className:main_dropdown_module_scss_1.default.title},title),children)}},13202:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MenuWidgetIcon=void 0;var menu_widget_icon_1=__webpack_require__(79415);Object.defineProperty(exports,"MenuWidgetIcon",{enumerable:!0,get:function(){return menu_widget_icon_1.MenuWidgetIcon}})},79415: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.MenuWidgetIcon=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(86144),design_ui_tooltip_1=__webpack_require__(4426),menu_widget_icon_module_scss_1=__importDefault(__webpack_require__(96540));function MenuWidgetIcon(_a){var{tooltipContent,icon,className}=_a,rest=__rest(_a,["tooltipContent","icon","className"]);return react_1.default.createElement(design_ui_tooltip_1.Tooltip,{placement:"bottom",offset:[0,15],content:tooltipContent},react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(menu_widget_icon_module_scss_1.default.widgetMenuIcon,className)}),react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:icon,className:menu_widget_icon_module_scss_1.default.icon})))}exports.MenuWidgetIcon=MenuWidgetIcon},24496:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(37794),exports)},37794:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useNotifications=exports.NotificationContext=void 0;const react_1=__webpack_require__(59496),DefaultNotificationApi={add:()=>"",log:()=>"",error:()=>"",dismiss:()=>{},clear:()=>{}};exports.NotificationContext=(0,react_1.createContext)(DefaultNotificationApi);const useNotifications=()=>(0,react_1.useContext)(exports.NotificationContext);exports.useNotifications=useNotifications},46286:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQuery=void 0;var use_query_1=__webpack_require__(15162);Object.defineProperty(exports,"useQuery",{enumerable:!0,get:function(){return use_query_1.useQuery}})},15162:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQuery=void 0;const base_react_navigation_link_1=__webpack_require__(36676);function useQuery(){const{search}=(0,base_react_navigation_link_1.useLocation)()||{search:"/"};return new URLSearchParams(search)}exports.useQuery=useQuery},90655: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.linkStyles=void 0;const bottom_link_module_scss_1=__importDefault(__webpack_require__(4141));exports.linkStyles=bottom_link_module_scss_1.default.link},62426: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.UseBoxDropdown=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_surfaces_dropdown_1=__webpack_require__(30566),evangelist_elements_icon_1=__webpack_require__(86144),dropdown_module_scss_1=__importDefault(__webpack_require__(39240));function UseBoxDropdown(_a){var{className,Menu,actionName,actionIcon}=_a,rest=__rest(_a,["className","Menu","actionName","actionIcon"]);const[key,setKey]=(0,react_1.useState)(0),DropdownMenu=react_1.default.cloneElement(Menu,{key});return react_1.default.createElement(evangelist_surfaces_dropdown_1.Dropdown,Object.assign({className:(0,classnames_1.default)(className)},rest,{onChange:(_e,open)=>open&&setKey(x=>x+1),dropClass:dropdown_module_scss_1.default.menu,placeholder:react_1.default.createElement(Placeholder,{actionName,actionIcon}),clickToggles:!1,clickPlaceholderToggles:!0}),DropdownMenu)}exports.UseBoxDropdown=UseBoxDropdown;function Placeholder(_a){var{actionName="Use",actionIcon="package"}=_a,rest=__rest(_a,["actionName","actionIcon"]);return react_1.default.createElement("div",Object.assign({className:(0,classnames_1.default)(dropdown_module_scss_1.default.placeholder)},rest),react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:actionIcon}),react_1.default.createElement("div",{className:dropdown_module_scss_1.default.content},actionName),react_1.default.createElement(evangelist_elements_icon_1.Icon,{className:dropdown_module_scss_1.default.content,of:"fat-arrow-down"}))}},53179:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.UseBoxDropdown=void 0;var dropdown_1=__webpack_require__(62426);Object.defineProperty(exports,"UseBoxDropdown",{enumerable:!0,get:function(){return dropdown_1.UseBoxDropdown}})},87873:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Import:()=>Import,Install:()=>Install,Menu:()=>Menu,Registry:()=>Registry});var jsx_runtime=__webpack_require__(4637),react=__webpack_require__(59496),classnames2=__webpack_require__(97754),classnames_default=__webpack_require__.n(classnames2),dist=__webpack_require__(86144),lodash_orderby=__webpack_require__(30174),lodash_orderby_default=__webpack_require__.n(lodash_orderby),lodash_flatten=__webpack_require__(11549),lodash_flatten_default=__webpack_require__.n(lodash_flatten),ui_foundation_ui_use_box_tab_dist=__webpack_require__(92475);const menu_module={navZIndex:"100",paneSplitterZIndex:"101",topBarZIndex:"102",modalZIndex:"5000",highlighterZIndex:"15500",container:"menu_container__1XuIL",top:"menu_top__2t_HR",title:"menu_title__zkpuV",drawer:"menu_drawer__1DuOC",tabs:"menu_tabs__3_iKy",registry:"menu_registry__3rmSv",importContent:"menu_importContent__O__Uh",bottom:"menu_bottom__12ds7",disabled:"menu_disabled__3hE2E",warnIcon:"menu_warnIcon__2Rg4J"};function Menu({methods,componentName,...rest}){const[activeTab,setActiveTab]=(0,react.useState)(0),OrderedMethods=(0,react.useMemo)(()=>lodash_orderby_default()(lodash_flatten_default()(methods),["order"]),[methods]),{Component}=OrderedMethods[activeTab]||{};return(0,jsx_runtime.jsxs)("div",{...rest,className:classnames_default()(rest.className,menu_module.container),children:[(0,jsx_runtime.jsx)("div",{className:menu_module.top,children:(0,jsx_runtime.jsxs)("div",{className:menu_module.title,children:[(0,jsx_runtime.jsx)(dist.Icon,{of:"terminal"}),(0,jsx_runtime.jsx)("span",{children:`Use ${componentName}`})]})}),(0,jsx_runtime.jsx)("div",{className:menu_module.tabs,children:OrderedMethods.map(({Title},index)=>(0,jsx_runtime.jsx)(ui_foundation_ui_use_box_tab_dist.Tab,{isActive:activeTab===index,onClick:()=>setActiveTab(index),children:Title},index))}),Component]})}var ui_foundation_ui_use_box_tab_content_dist=__webpack_require__(66015),documenter_content_documentation_links_dist=__webpack_require__(53365),documenter_ui_copy_box_dist=__webpack_require__(8584),base_react_navigation_link_dist=__webpack_require__(76223),ui_foundation_ui_use_box_bottom_link_dist=__webpack_require__(90655);const bit_info_module={moreInfo:"bit-info_moreInfo__1UdSB"};function BitInfo({...rest}){return(0,jsx_runtime.jsx)("div",{...rest,children:(0,jsx_runtime.jsxs)(ui_foundation_ui_use_box_tab_content_dist.TabContent,{className:bit_info_module.moreInfo,bottom:(0,jsx_runtime.jsxs)(base_react_navigation_link_dist.Link,{external:!0,href:documenter_content_documentation_links_dist.Ok.installBit,className:ui_foundation_ui_use_box_bottom_link_dist.linkStyles,children:[(0,jsx_runtime.jsx)(dist.Icon,{of:"information-sign"}),(0,jsx_runtime.jsx)("span",{children:"Learn more"})]}),children:[(0,jsx_runtime.jsx)("div",{children:"Install bit"}),(0,jsx_runtime.jsx)(documenter_ui_copy_box_dist.CopyBox,{children:"npx @teambit/bvm install"})]})})}var design_ui_tooltip_dist=__webpack_require__(4426);function TooltipCopybox({content,...rest}){return(0,jsx_runtime.jsx)(design_ui_tooltip_dist.Tooltip,{...rest,content,placement:"bottom",maxWidth:"",breakline:!0,children:(0,jsx_runtime.jsx)("div",{children:(0,jsx_runtime.jsx)(documenter_ui_copy_box_dist.CopyBox,{children:content})})})}function Import({componentId,packageName,componentName,showInstallMethod=!0,...rest}){return(0,jsx_runtime.jsx)(ui_foundation_ui_use_box_tab_content_dist.ExpandableTabContent,{...rest,content:(0,jsx_runtime.jsxs)("div",{className:menu_module.importContent,children:[(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsxs)("div",{className:classnames_default()(!showInstallMethod&&menu_module.disabled),children:[!showInstallMethod&&(0,jsx_runtime.jsx)(dist.Icon,{className:menu_module.warnIcon,of:"warn-circle"}),showInstallMethod&&`Add ${componentName} as a dependency`,!showInstallMethod&&"Installation unavailable: This component has not been built yet"]}),showInstallMethod&&(0,jsx_runtime.jsx)(TooltipCopybox,{content:`bit install ${packageName??""}`,disabled:!showInstallMethod})]}),(0,jsx_runtime.jsx)("div",{children:`Import ${componentName} to your workspace`}),(0,jsx_runtime.jsx)(TooltipCopybox,{content:`bit import ${componentId}`}),(0,jsx_runtime.jsx)("div",{children:`Fork ${componentName} to your workspace`}),(0,jsx_runtime.jsx)(TooltipCopybox,{content:`bit fork ${componentId}`})]}),drawerTitle:(0,jsx_runtime.jsxs)("div",{className:menu_module.bottom,children:[(0,jsx_runtime.jsx)(dist.Icon,{color:"yellow",of:"download"}),(0,jsx_runtime.jsx)("span",{children:"Install Bit on your computer"})]}),drawerContent:(0,jsx_runtime.jsx)(BitInfo,{})})}var documenter_ui_highlighted_text_dist=__webpack_require__(90074);function Registry({copyString,...rest}){return(0,jsx_runtime.jsx)(ui_foundation_ui_use_box_tab_content_dist.TabContent,{...rest,className:menu_module.registry,bottom:(0,jsx_runtime.jsxs)(base_react_navigation_link_dist.Link,{external:!0,href:documenter_content_documentation_links_dist.Ok.scopedRegistry,className:ui_foundation_ui_use_box_bottom_link_dist.linkStyles,children:[(0,jsx_runtime.jsx)(dist.Icon,{of:"information-sign"}),(0,jsx_runtime.jsx)("span",{children:"Learn more"})]}),children:(0,jsx_runtime.jsx)(documenter_ui_copy_box_dist.CopyBox,{children:copyString})})}function Install({componentName,copyString,registryName,packageManager,config,isInstallable,...rest}){return(0,jsx_runtime.jsx)(ui_foundation_ui_use_box_tab_content_dist.ExpandableTabContent,{...rest,content:(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsxs)("div",{className:classnames_default()(!isInstallable&&menu_module.disabled),children:[!isInstallable&&(0,jsx_runtime.jsx)(dist.Icon,{className:menu_module.warnIcon,of:"warn-circle"}),isInstallable&&`Install ${componentName} with ${packageManager}`,!isInstallable&&"Installation unavailable: This component has not been built yet"]}),isInstallable&&(0,jsx_runtime.jsx)(TooltipCopybox,{content:copyString,disabled:!isInstallable})]}),drawerTitle:registryName&&(0,jsx_runtime.jsxs)("div",{className:menu_module.bottom,children:[(0,jsx_runtime.jsx)(dist.Icon,{of:"settings"}),(0,jsx_runtime.jsxs)("span",{children:["Configure ",(0,jsx_runtime.jsx)(documenter_ui_highlighted_text_dist.HighlightedText,{children:registryName})," as a Scoped Registry"]})]}),drawerContent:registryName&&(0,jsx_runtime.jsx)(Registry,{copyString:config})})}},78227: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.ExpandableTabContent=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),react_animate_height_1=__importDefault(__webpack_require__(92341)),evangelist_elements_icon_1=__webpack_require__(86144),ui_foundation_ui_use_box_tab_content_1=__webpack_require__(66015),ui_foundation_ui_use_box_bottom_link_1=__webpack_require__(90655),tab_content_module_scss_1=__importDefault(__webpack_require__(50185));function ExpandableTabContent(_a){var{tabContent,content,drawerContent,drawerTitle}=_a,rest=__rest(_a,["tabContent","content","drawerContent","drawerTitle"]);const[open,toggle]=(0,react_1.useState)(!1),iconStyles=open?tab_content_module_scss_1.default.open:"";return react_1.default.createElement(ui_foundation_ui_use_box_tab_content_1.TabContent,Object.assign({},rest,{bottom:drawerTitle&&drawerContent&&react_1.default.createElement(react_1.default.Fragment,null,react_1.default.createElement("div",{className:(0,classnames_1.default)(ui_foundation_ui_use_box_bottom_link_1.linkStyles,tab_content_module_scss_1.default.drawer),onClick:()=>toggle(!open)},react_1.default.createElement("div",null,drawerTitle),react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"down-rounded-corners",className:iconStyles})),react_1.default.createElement(react_animate_height_1.default,{height:open?"auto":0},drawerContent))}),tabContent||content)}exports.ExpandableTabContent=ExpandableTabContent},66015:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ExpandableTabContent=exports.TabContent=void 0;var tab_content_1=__webpack_require__(58702);Object.defineProperty(exports,"TabContent",{enumerable:!0,get:function(){return tab_content_1.TabContent}});var expandable_tab_content_1=__webpack_require__(78227);Object.defineProperty(exports,"ExpandableTabContent",{enumerable:!0,get:function(){return expandable_tab_content_1.ExpandableTabContent}})},58702: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.TabContent=void 0;const react_1=__importDefault(__webpack_require__(59496)),tab_content_module_scss_1=__importDefault(__webpack_require__(50185));function TabContent(_a){var{children,bottom}=_a,rest=__rest(_a,["children","bottom"]);return react_1.default.createElement("div",Object.assign({},rest),react_1.default.createElement("div",{className:tab_content_module_scss_1.default.middle},children),bottom&&react_1.default.createElement("div",{className:tab_content_module_scss_1.default.bottom},bottom))}exports.TabContent=TabContent},92475:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tab=void 0;var tab_1=__webpack_require__(44245);Object.defineProperty(exports,"Tab",{enumerable:!0,get:function(){return tab_1.Tab}})},44245: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.Tab=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),tab_module_scss_1=__importDefault(__webpack_require__(94500));function Tab(_a){var{onClick,isActive,className,children}=_a,rest=__rest(_a,["onClick","isActive","className","children"]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(tab_module_scss_1.default.tab,isActive&&tab_module_scss_1.default.active,className),onClick}),children)}exports.Tab=Tab},33224:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__,tippy:()=>tippy_js__WEBPACK_IMPORTED_MODULE_0__.default,useSingleton:()=>useSingleton});var tippy_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(48199),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(59496),react_dom__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(87995);function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},sourceKeys=Object.keys(source),key,i;for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],!(excluded.indexOf(key)>=0)&&(target[key]=source[key]);return target}var isBrowser=typeof window<"u"&&typeof document<"u";function preserveRef(ref,node){ref&&(typeof ref=="function"&&ref(node),{}.hasOwnProperty.call(ref,"current")&&(ref.current=node))}function ssrSafeCreateDiv(){return isBrowser&&document.createElement("div")}function toDataAttributes(attrs){var dataAttrs={"data-placement":attrs.placement};return attrs.referenceHidden&&(dataAttrs["data-reference-hidden"]=""),attrs.escaped&&(dataAttrs["data-escaped"]=""),dataAttrs}function deepPreserveProps(instanceProps,componentProps){var _instanceProps$popper,_componentProps$poppe;return Object.assign({},componentProps,{popperOptions:Object.assign({},instanceProps.popperOptions,componentProps.popperOptions,{modifiers:[].concat((((_instanceProps$popper=instanceProps.popperOptions)==null?void 0:_instanceProps$popper.modifiers)||[]).filter(function(modifier){return modifier.name.indexOf("tippy")>=0}),((_componentProps$poppe=componentProps.popperOptions)==null?void 0:_componentProps$poppe.modifiers)||[])})})}var useIsomorphicLayoutEffect=isBrowser?react__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect:react__WEBPACK_IMPORTED_MODULE_1__.useEffect;function useMutableBox(initialValue){var ref=(0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)();return ref.current||(ref.current=typeof initialValue=="function"?initialValue():initialValue),ref.current}function updateClassName(box,action,classNames){classNames.split(/\s+/).forEach(function(name){name&&box.classList[action](name)})}var classNamePlugin={name:"className",defaultValue:"",fn:function(instance){var box=instance.popper.firstElementChild,isDefaultRenderFn=function(){var _instance$props$rende;return!!((_instance$props$rende=instance.props.render)!=null&&_instance$props$rende.$$tippy)};function add(){instance.props.className&&!isDefaultRenderFn()||updateClassName(box,"add",instance.props.className)}function remove(){isDefaultRenderFn()&&updateClassName(box,"remove",instance.props.className)}return{onCreate:add,onBeforeUpdate:remove,onAfterUpdate:add}}};function TippyGenerator(tippy){function Tippy(_ref){var children=_ref.children,content=_ref.content,visible=_ref.visible,singleton=_ref.singleton,render=_ref.render,reference=_ref.reference,_ref$disabled=_ref.disabled,disabled=_ref$disabled===void 0?!1:_ref$disabled,_ref$ignoreAttributes=_ref.ignoreAttributes,ignoreAttributes=_ref$ignoreAttributes===void 0?!0:_ref$ignoreAttributes,__source=_ref.__source,__self=_ref.__self,restOfNativeProps=_objectWithoutPropertiesLoose(_ref,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"]),isControlledMode=visible!==void 0,isSingletonMode=singleton!==void 0,_useState=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(!1),mounted=_useState[0],setMounted=_useState[1],_useState2=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)({}),attrs=_useState2[0],setAttrs=_useState2[1],_useState3=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(),singletonContent=_useState3[0],setSingletonContent=_useState3[1],mutableBox=useMutableBox(function(){return{container:ssrSafeCreateDiv(),renders:1}}),props=Object.assign({ignoreAttributes},restOfNativeProps,{content:mutableBox.container});isControlledMode&&(props.trigger="manual",props.hideOnClick=!1),isSingletonMode&&(disabled=!0);var computedProps=props,plugins=props.plugins||[];render&&(computedProps=Object.assign({},props,{plugins:isSingletonMode?[].concat(plugins,[{fn:function(){return{onTrigger:function(_,event){var _singleton$data$child=singleton.data.children.find(function(_ref2){var instance=_ref2.instance;return instance.reference===event.currentTarget}),content2=_singleton$data$child.content;setSingletonContent(content2)}}}}]):plugins,render:function(){return{popper:mutableBox.container}}}));var deps=[reference].concat(children?[children.type]:[]);return useIsomorphicLayoutEffect(function(){var element=reference;reference&&reference.hasOwnProperty("current")&&(element=reference.current);var instance=tippy(element||mutableBox.ref||ssrSafeCreateDiv(),Object.assign({},computedProps,{plugins:[classNamePlugin].concat(props.plugins||[])}));return mutableBox.instance=instance,disabled&&instance.disable(),visible&&instance.show(),isSingletonMode&&singleton.hook({instance,content,props:computedProps}),setMounted(!0),function(){instance.destroy(),singleton?.cleanup(instance)}},deps),useIsomorphicLayoutEffect(function(){if(mutableBox.renders===1){mutableBox.renders++;return}var instance=mutableBox.instance;instance.setProps(deepPreserveProps(instance.props,computedProps)),disabled?instance.disable():instance.enable(),isControlledMode&&(visible?instance.show():instance.hide()),isSingletonMode&&singleton.hook({instance,content,props:computedProps})}),useIsomorphicLayoutEffect(function(){var _instance$props$poppe;if(!!render){var instance=mutableBox.instance;instance.setProps({popperOptions:Object.assign({},instance.props.popperOptions,{modifiers:[].concat(((_instance$props$poppe=instance.props.popperOptions)==null?void 0:_instance$props$poppe.modifiers)||[],[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(_ref3){var _state$modifiersData,state=_ref3.state,hideData=(_state$modifiersData=state.modifiersData)==null?void 0:_state$modifiersData.hide;(attrs.placement!==state.placement||attrs.referenceHidden!==hideData?.isReferenceHidden||attrs.escaped!==hideData?.hasPopperEscaped)&&setAttrs({placement:state.placement,referenceHidden:hideData?.isReferenceHidden,escaped:hideData?.hasPopperEscaped}),state.attributes.popper={}}}])})})}},[attrs.placement,attrs.referenceHidden,attrs.escaped].concat(deps)),react__WEBPACK_IMPORTED_MODULE_1__.createElement(react__WEBPACK_IMPORTED_MODULE_1__.Fragment,null,children?(0,react__WEBPACK_IMPORTED_MODULE_1__.cloneElement)(children,{ref:function(node){mutableBox.ref=node,preserveRef(children.ref,node)}}):null,mounted&&(0,react_dom__WEBPACK_IMPORTED_MODULE_2__.createPortal)(render?render(toDataAttributes(attrs),singletonContent,mutableBox.instance):content,mutableBox.container))}return Tippy}function useSingletonGenerator(createSingleton){return function(_temp){var _ref=_temp===void 0?{}:_temp,_ref$disabled=_ref.disabled,disabled=_ref$disabled===void 0?!1:_ref$disabled,_ref$overrides=_ref.overrides,overrides=_ref$overrides===void 0?[]:_ref$overrides,_useState=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(!1),mounted=_useState[0],setMounted=_useState[1],mutableBox=useMutableBox({children:[],renders:1});return useIsomorphicLayoutEffect(function(){if(!mounted){setMounted(!0);return}var children=mutableBox.children,sourceData=mutableBox.sourceData;if(!!sourceData){var instance=createSingleton(children.map(function(child){return child.instance}),Object.assign({},sourceData.props,{popperOptions:sourceData.instance.props.popperOptions,overrides,plugins:[classNamePlugin].concat(sourceData.props.plugins||[])}));return mutableBox.instance=instance,disabled&&instance.disable(),function(){instance.destroy(),mutableBox.children=children.filter(function(_ref2){var instance2=_ref2.instance;return!instance2.state.isDestroyed})}}},[mounted]),useIsomorphicLayoutEffect(function(){if(!!mounted){if(mutableBox.renders===1){mutableBox.renders++;return}var children=mutableBox.children,instance=mutableBox.instance,sourceData=mutableBox.sourceData;if(!!(instance&&sourceData)){var _sourceData$props=sourceData.props,content=_sourceData$props.content,props=_objectWithoutPropertiesLoose(_sourceData$props,["content"]);instance.setProps(deepPreserveProps(instance,Object.assign({},props,{overrides}))),instance.setInstances(children.map(function(child){return child.instance})),disabled?instance.disable():instance.enable()}}}),(0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function(){var source={data:mutableBox,hook:function(data){mutableBox.sourceData=data},cleanup:function(){mutableBox.sourceData=null}},target={hook:function(data){mutableBox.children.find(function(_ref3){var instance=_ref3.instance;return data.instance===instance})||mutableBox.children.push(data)},cleanup:function(instance){mutableBox.children=mutableBox.children.filter(function(data){return data.instance!==instance})}};return[source,target]},[])}}var forwardRef=function(Tippy,defaultProps){return(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function(_ref,_ref2){var children=_ref.children,props=_objectWithoutPropertiesLoose(_ref,["children"]);return react__WEBPACK_IMPORTED_MODULE_1__.createElement(Tippy,Object.assign({},defaultProps,props),children?(0,react__WEBPACK_IMPORTED_MODULE_1__.cloneElement)(children,{ref:function(node){preserveRef(_ref2,node),preserveRef(children.ref,node)}}):null)})},useSingleton=useSingletonGenerator(tippy_js__WEBPACK_IMPORTED_MODULE_0__.createSingleton),index=forwardRef(TippyGenerator(tippy_js__WEBPACK_IMPORTED_MODULE_0__.default));const __WEBPACK_DEFAULT_EXPORT__=index},74257:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module=__webpack_require__.nmd(module);const colorConvert=__webpack_require__(18358),wrapAnsi16=(fn,offset)=>function(){return`\x1B[${fn.apply(colorConvert,arguments)+offset}m`},wrapAnsi256=(fn,offset)=>function(){const code=fn.apply(colorConvert,arguments);return`\x1B[${38+offset};5;${code}m`},wrapAnsi16m=(fn,offset)=>function(){const rgb=fn.apply(colorConvert,arguments);return`\x1B[${38+offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`};function assembleStyles(){const codes=new Map,styles2={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};styles2.color.grey=styles2.color.gray;for(const groupName of Object.keys(styles2)){const group=styles2[groupName];for(const styleName of Object.keys(group)){const style=group[styleName];styles2[styleName]={open:`\x1B[${style[0]}m`,close:`\x1B[${style[1]}m`},group[styleName]=styles2[styleName],codes.set(style[0],style[1])}Object.defineProperty(styles2,groupName,{value:group,enumerable:!1}),Object.defineProperty(styles2,"codes",{value:codes,enumerable:!1})}const ansi2ansi=n=>n,rgb2rgb=(r,g,b)=>[r,g,b];styles2.color.close="\x1B[39m",styles2.bgColor.close="\x1B[49m",styles2.color.ansi={ansi:wrapAnsi16(ansi2ansi,0)},styles2.color.ansi256={ansi256:wrapAnsi256(ansi2ansi,0)},styles2.color.ansi16m={rgb:wrapAnsi16m(rgb2rgb,0)},styles2.bgColor.ansi={ansi:wrapAnsi16(ansi2ansi,10)},styles2.bgColor.ansi256={ansi256:wrapAnsi256(ansi2ansi,10)},styles2.bgColor.ansi16m={rgb:wrapAnsi16m(rgb2rgb,10)};for(let key of Object.keys(colorConvert)){if(typeof colorConvert[key]!="object")continue;const suite=colorConvert[key];key==="ansi16"&&(key="ansi"),"ansi16"in suite&&(styles2.color.ansi[key]=wrapAnsi16(suite.ansi16,0),styles2.bgColor.ansi[key]=wrapAnsi16(suite.ansi16,10)),"ansi256"in suite&&(styles2.color.ansi256[key]=wrapAnsi256(suite.ansi256,0),styles2.bgColor.ansi256[key]=wrapAnsi256(suite.ansi256,10)),"rgb"in suite&&(styles2.color.ansi16m[key]=wrapAnsi16m(suite.rgb,0),styles2.bgColor.ansi16m[key]=wrapAnsi16m(suite.rgb,10))}return styles2}Object.defineProperty(module,"exports",{enumerable:!0,get:assembleStyles})},48049:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var process=__webpack_require__(14224);function _typeof(o){return _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o2){return typeof o2}:function(o2){return o2&&typeof Symbol=="function"&&o2.constructor===Symbol&&o2!==Symbol.prototype?"symbol":typeof o2},_typeof(o)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,_toPropertyKey(descriptor.key),descriptor)}}function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}function _toPropertyKey(arg){var key=_toPrimitive(arg,"string");return _typeof(key)==="symbol"?key:String(key)}function _toPrimitive(input,hint){if(_typeof(input)!=="object"||input===null)return input;var prim=input[Symbol.toPrimitive];if(prim!==void 0){var res=prim.call(input,hint||"default");if(_typeof(res)!=="object")return res;throw new TypeError("@@toPrimitive must return a primitive value.")}return(hint==="string"?String:Number)(input)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var _require=__webpack_require__(18895),_require$codes=_require.codes,ERR_AMBIGUOUS_ARGUMENT=_require$codes.ERR_AMBIGUOUS_ARGUMENT,ERR_INVALID_ARG_TYPE=_require$codes.ERR_INVALID_ARG_TYPE,ERR_INVALID_ARG_VALUE=_require$codes.ERR_INVALID_ARG_VALUE,ERR_INVALID_RETURN_VALUE=_require$codes.ERR_INVALID_RETURN_VALUE,ERR_MISSING_ARGS=_require$codes.ERR_MISSING_ARGS,AssertionError=__webpack_require__(6960),_require2=__webpack_require__(93585),inspect=_require2.inspect,_require$types=__webpack_require__(93585).types,isPromise=_require$types.isPromise,isRegExp=_require$types.isRegExp,objectAssign=__webpack_require__(82724)(),objectIs=__webpack_require__(93338)(),RegExpPrototypeTest=__webpack_require__(74161)("RegExp.prototype.test"),errorCache=new Map,isDeepEqual,isDeepStrictEqual,parseExpressionAt,findNodeAround,decoder;function lazyLoadComparison(){var comparison=__webpack_require__(44984);isDeepEqual=comparison.isDeepEqual,isDeepStrictEqual=comparison.isDeepStrictEqual}var escapeSequencesRegExp=/[\x00-\x08\x0b\x0c\x0e-\x1f]/g,meta=null,escapeFn=function(str){return meta[str.charCodeAt(0)]},warned=!1,assert=module.exports=ok,NO_EXCEPTION_SENTINEL={};function innerFail(obj){throw obj.message instanceof Error?obj.message:new AssertionError(obj)}function fail(actual,expected,message,operator,stackStartFn){var argsLen=arguments.length,internalMessage;if(argsLen===0)internalMessage="Failed";else if(argsLen===1)message=actual,actual=void 0;else{if(warned===!1){warned=!0;var warn=process.emitWarning?process.emitWarning:console.warn.bind(console);warn("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}argsLen===2&&(operator="!=")}if(message instanceof Error)throw message;var errArgs={actual,expected,operator:operator===void 0?"fail":operator,stackStartFn:stackStartFn||fail};message!==void 0&&(errArgs.message=message);var err=new AssertionError(errArgs);throw internalMessage&&(err.message=internalMessage,err.generatedMessage=!0),err}assert.fail=fail,assert.AssertionError=AssertionError;function innerOk(fn,argLen,value,message){if(!value){var generatedMessage=!1;if(argLen===0)generatedMessage=!0,message="No value argument passed to `assert.ok()`";else if(message instanceof Error)throw message;var err=new AssertionError({actual:value,expected:!0,message,operator:"==",stackStartFn:fn});throw err.generatedMessage=generatedMessage,err}}function ok(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];innerOk.apply(void 0,[ok,args.length].concat(args))}assert.ok=ok,assert.equal=function equal(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");actual!=expected&&innerFail({actual,expected,message,operator:"==",stackStartFn:equal})},assert.notEqual=function notEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");actual==expected&&innerFail({actual,expected,message,operator:"!=",stackStartFn:notEqual})},assert.deepEqual=function deepEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");isDeepEqual===void 0&&lazyLoadComparison(),isDeepEqual(actual,expected)||innerFail({actual,expected,message,operator:"deepEqual",stackStartFn:deepEqual})},assert.notDeepEqual=function notDeepEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");isDeepEqual===void 0&&lazyLoadComparison(),isDeepEqual(actual,expected)&&innerFail({actual,expected,message,operator:"notDeepEqual",stackStartFn:notDeepEqual})},assert.deepStrictEqual=function deepStrictEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");isDeepEqual===void 0&&lazyLoadComparison(),isDeepStrictEqual(actual,expected)||innerFail({actual,expected,message,operator:"deepStrictEqual",stackStartFn:deepStrictEqual})},assert.notDeepStrictEqual=notDeepStrictEqual;function notDeepStrictEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");isDeepEqual===void 0&&lazyLoadComparison(),isDeepStrictEqual(actual,expected)&&innerFail({actual,expected,message,operator:"notDeepStrictEqual",stackStartFn:notDeepStrictEqual})}assert.strictEqual=function strictEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");objectIs(actual,expected)||innerFail({actual,expected,message,operator:"strictEqual",stackStartFn:strictEqual})},assert.notStrictEqual=function notStrictEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");objectIs(actual,expected)&&innerFail({actual,expected,message,operator:"notStrictEqual",stackStartFn:notStrictEqual})};var Comparison=_createClass(function Comparison2(obj,keys,actual){var _this=this;_classCallCheck(this,Comparison2),keys.forEach(function(key){key in obj&&(actual!==void 0&&typeof actual[key]=="string"&&isRegExp(obj[key])&&RegExpPrototypeTest(obj[key],actual[key])?_this[key]=actual[key]:_this[key]=obj[key])})});function compareExceptionKey(actual,expected,key,message,keys,fn){if(!(key in actual)||!isDeepStrictEqual(actual[key],expected[key])){if(!message){var a=new Comparison(actual,keys),b=new Comparison(expected,keys,actual),err=new AssertionError({actual:a,expected:b,operator:"deepStrictEqual",stackStartFn:fn});throw err.actual=actual,err.expected=expected,err.operator=fn.name,err}innerFail({actual,expected,message,operator:fn.name,stackStartFn:fn})}}function expectedException(actual,expected,msg,fn){if(typeof expected!="function"){if(isRegExp(expected))return RegExpPrototypeTest(expected,actual);if(arguments.length===2)throw new ERR_INVALID_ARG_TYPE("expected",["Function","RegExp"],expected);if(_typeof(actual)!=="object"||actual===null){var err=new AssertionError({actual,expected,message:msg,operator:"deepStrictEqual",stackStartFn:fn});throw err.operator=fn.name,err}var keys=Object.keys(expected);if(expected instanceof Error)keys.push("name","message");else if(keys.length===0)throw new ERR_INVALID_ARG_VALUE("error",expected,"may not be an empty object");return isDeepEqual===void 0&&lazyLoadComparison(),keys.forEach(function(key){typeof actual[key]=="string"&&isRegExp(expected[key])&&RegExpPrototypeTest(expected[key],actual[key])||compareExceptionKey(actual,expected,key,msg,keys,fn)}),!0}return expected.prototype!==void 0&&actual instanceof expected?!0:Error.isPrototypeOf(expected)?!1:expected.call({},actual)===!0}function getActual(fn){if(typeof fn!="function")throw new ERR_INVALID_ARG_TYPE("fn","Function",fn);try{fn()}catch(e){return e}return NO_EXCEPTION_SENTINEL}function checkIsPromise(obj){return isPromise(obj)||obj!==null&&_typeof(obj)==="object"&&typeof obj.then=="function"&&typeof obj.catch=="function"}function waitForActual(promiseFn){return Promise.resolve().then(function(){var resultPromise;if(typeof promiseFn=="function"){if(resultPromise=promiseFn(),!checkIsPromise(resultPromise))throw new ERR_INVALID_RETURN_VALUE("instance of Promise","promiseFn",resultPromise)}else if(checkIsPromise(promiseFn))resultPromise=promiseFn;else throw new ERR_INVALID_ARG_TYPE("promiseFn",["Function","Promise"],promiseFn);return Promise.resolve().then(function(){return resultPromise}).then(function(){return NO_EXCEPTION_SENTINEL}).catch(function(e){return e})})}function expectsError(stackStartFn,actual,error,message){if(typeof error=="string"){if(arguments.length===4)throw new ERR_INVALID_ARG_TYPE("error",["Object","Error","Function","RegExp"],error);if(_typeof(actual)==="object"&&actual!==null){if(actual.message===error)throw new ERR_AMBIGUOUS_ARGUMENT("error/message",'The error message "'.concat(actual.message,'" is identical to the message.'))}else if(actual===error)throw new ERR_AMBIGUOUS_ARGUMENT("error/message",'The error "'.concat(actual,'" is identical to the message.'));message=error,error=void 0}else if(error!=null&&_typeof(error)!=="object"&&typeof error!="function")throw new ERR_INVALID_ARG_TYPE("error",["Object","Error","Function","RegExp"],error);if(actual===NO_EXCEPTION_SENTINEL){var details="";error&&error.name&&(details+=" (".concat(error.name,")")),details+=message?": ".concat(message):".";var fnType=stackStartFn.name==="rejects"?"rejection":"exception";innerFail({actual:void 0,expected:error,operator:stackStartFn.name,message:"Missing expected ".concat(fnType).concat(details),stackStartFn})}if(error&&!expectedException(actual,error,message,stackStartFn))throw actual}function expectsNoError(stackStartFn,actual,error,message){if(actual!==NO_EXCEPTION_SENTINEL){if(typeof error=="string"&&(message=error,error=void 0),!error||expectedException(actual,error)){var details=message?": ".concat(message):".",fnType=stackStartFn.name==="doesNotReject"?"rejection":"exception";innerFail({actual,expected:error,operator:stackStartFn.name,message:"Got unwanted ".concat(fnType).concat(details,`
44
+ if this is a scope on bit.cloud please add the organization name before the scope (yourOrg.some-scope-name)`);this.scopeName=scopeName}}exports.default=InvalidScopeNameFromRemote},27806:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const bit_error_1=__webpack_require__(74155);class InvalidScopeName extends bit_error_1.BitError{constructor(scopeName,id,variant){const variantStr=variant?`configured in variant "${variant}" `:"";super(`error: "${id||scopeName}" ${variantStr}is invalid, component scope names can only contain alphanumeric, lowercase characters, and the following ["-", "_", "$", "!"]`)}}exports.default=InvalidScopeName},13440:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.InvalidScopeNameFromRemote=exports.InvalidScopeName=exports.InvalidName=exports.isValidIdChunk=exports.isValidScopeName=exports.VERSION_DELIMITER=exports.BitId=void 0;const bit_id_1=__importStar(__webpack_require__(47709));exports.BitId=bit_id_1.default,Object.defineProperty(exports,"VERSION_DELIMITER",{enumerable:!0,get:function(){return bit_id_1.VERSION_DELIMITER}});const exceptions_1=__webpack_require__(36564);Object.defineProperty(exports,"InvalidName",{enumerable:!0,get:function(){return exceptions_1.InvalidName}}),Object.defineProperty(exports,"InvalidScopeName",{enumerable:!0,get:function(){return exceptions_1.InvalidScopeName}}),Object.defineProperty(exports,"InvalidScopeNameFromRemote",{enumerable:!0,get:function(){return exceptions_1.InvalidScopeNameFromRemote}});const is_valid_scope_name_1=__importDefault(__webpack_require__(61870));exports.isValidScopeName=is_valid_scope_name_1.default;const is_valid_id_chunk_1=__importDefault(__webpack_require__(74034));exports.isValidIdChunk=is_valid_id_chunk_1.default},74034:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const validationRegExp=/^[-_a-z0-9/]+$/,validationRegExpDisallowSlash=/^[-_a-z0-9]+$/;function isValidIdChunk(val,allowSlash=!0){return typeof val!="string"||val.includes("//")?!1:(allowSlash?validationRegExp:validationRegExpDisallowSlash).test(val)}exports.default=isValidIdChunk},61870:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const validationRegExp=/^[$\-_!a-z0-9]+[.]?[$\-_!a-z0-9]+$/;function isValidScopeName(val){return typeof val!="string"?!1:validationRegExp.test(val)}exports.default=isValidScopeName},67896:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(42397),exports)},42397: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};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Snippet=void 0;const react_1=__importStar(__webpack_require__(59496)),mdx_ui_mdx_scope_context_1=__webpack_require__(25427),react_2=__webpack_require__(49613),documenter_markdown_hybrid_live_code_snippet_1=__webpack_require__(69482);function Snippet(_a){var{scope}=_a,rest=__rest(_a,["scope"]);const components=(0,react_1.useContext)(mdx_ui_mdx_scope_context_1.MDXScopeContext),_scope=(0,react_1.useMemo)(()=>Object.assign(Object.assign(Object.assign({},components),{mdx:react_2.mdx}),scope),[components,scope,react_2.mdx]);return react_1.default.createElement(documenter_markdown_hybrid_live_code_snippet_1.Snippet,Object.assign({scope:_scope},rest))}exports.Snippet=Snippet},72920:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{MDXLayout:()=>MDXLayout});var jsx_runtime=__webpack_require__(4637),react=__webpack_require__(59496),dist=__webpack_require__(45530),mdx_ui_docs_snippet_dist=__webpack_require__(67896),base_react_navigation_link_dist=__webpack_require__(76223);const link_module={link:"link_link__Q-nHp"};function Link(props){return(0,jsx_runtime.jsx)(base_react_navigation_link_dist.Link,{...props,className:link_module.link,external:!0})}const mdxComponents={code:mdx_ui_docs_snippet_dist.Snippet,a:Link};function MDXLayout({components,...rest}){const memoizedComponents=(0,react.useMemo)(()=>({...mdxComponents,...components}),[mdxComponents,components]);return(0,jsx_runtime.jsx)(dist.f,{components:memoizedComponents,...rest})}},55751:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){function adopt(value){return value instanceof P?value:new P(function(resolve){resolve(value)})}return new(P||(P=Promise))(function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):adopt(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())})},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.ErrorFallback=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),design_ui_icon_button_1=__webpack_require__(53330),base_ui_styles_flex_center_1=__webpack_require__(15764),error_fallback_module_scss_1=__importDefault(__webpack_require__(41722));function ErrorFallback({resetErrorBoundary,className,children="Failed to render",cta="try again"}){const handleClick=()=>__awaiter(this,void 0,void 0,function*(){yield new Promise(resolve=>setTimeout(resolve,480)),resetErrorBoundary()});return react_1.default.createElement("div",{className:(0,classnames_1.default)(error_fallback_module_scss_1.default.errorFallback,base_ui_styles_flex_center_1.flexCenter,className)},react_1.default.createElement("div",{className:error_fallback_module_scss_1.default.icon}),react_1.default.createElement("div",{className:error_fallback_module_scss_1.default.message},children),react_1.default.createElement(design_ui_icon_button_1.IconButton,{onClick:handleClick,className:error_fallback_module_scss_1.default.retryButton},cta))}exports.ErrorFallback=ErrorFallback},80617:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ErrorFallback=void 0;var error_fallback_1=__webpack_require__(55751);Object.defineProperty(exports,"ErrorFallback",{enumerable:!0,get:function(){return error_fallback_1.ErrorFallback}})},12431:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(44246),exports),__exportStar(__webpack_require__(55480),exports),__exportStar(__webpack_require__(21937),exports)},44246:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LoaderContext=void 0;const react_1=__webpack_require__(59496),defaultLoaderApi={isActive:()=>!1,update:()=>!1,remove:()=>!1};exports.LoaderContext=(0,react_1.createContext)(defaultLoaderApi)},55480:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLoaderApi=void 0;const react_1=__webpack_require__(59496);function useLoaderApi(){const{current:loaders}=(0,react_1.useRef)(new Set),[isLoading,setIsLoading]=(0,react_1.useState)(!1),reevaluate=(0,react_1.useCallback)(()=>{setIsLoading(loaders.size>0)},[loaders]);return[(0,react_1.useMemo)(()=>({isActive:id=>loaders.has(id),update:(id,value)=>{const res=value?!!loaders.add(id):loaders.delete(id);return reevaluate(),res},remove:id=>{const res=loaders.delete(id);return reevaluate(),res}}),[loaders,reevaluate]),isLoading]}exports.useLoaderApi=useLoaderApi},21937:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLoader=void 0;const react_1=__webpack_require__(59496),uuid_1=__webpack_require__(37196),loader_context_1=__webpack_require__(44246);function useLoader(loading){const[id]=(0,react_1.useState)(()=>(0,uuid_1.v1)()),ctx=(0,react_1.useContext)(loader_context_1.LoaderContext);(0,react_1.useEffect)(()=>(ctx.update(id,loading),()=>{ctx.remove(id)}),[loading,ctx,id])}exports.useLoader=useLoader},97857:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useDataQuery=void 0;var use_data_query_1=__webpack_require__(96956);Object.defineProperty(exports,"useDataQuery",{enumerable:!0,get:function(){return use_data_query_1.useDataQuery}})},96956:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useDataQuery=void 0;const react_1=__webpack_require__(59496),client_1=__webpack_require__(47094),ui_foundation_ui_notifications_notification_context_1=__webpack_require__(24496),ui_foundation_ui_global_loader_1=__webpack_require__(12431);function useDataQuery(query,options){const res=(0,client_1.useQuery)(query,options),notifications=(0,react_1.useContext)(ui_foundation_ui_notifications_notification_context_1.NotificationContext),{loading,error}=res;return(0,ui_foundation_ui_global_loader_1.useLoader)(loading),error&&notifications.error(apolloErrorToString(error)),res}exports.useDataQuery=useDataQuery;function apolloErrorToString(error){return error.toString()}},87082:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useIsMobile=void 0;var use_is_mobile_1=__webpack_require__(19185);Object.defineProperty(exports,"useIsMobile",{enumerable:!0,get:function(){return use_is_mobile_1.useIsMobile}})},19185:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useIsMobile=void 0;const ui_foundation_ui_hooks_use_user_agent_1=__webpack_require__(48870);function useIsMobile(){var _a;const deviceType=(_a=(0,ui_foundation_ui_hooks_use_user_agent_1.useUserAgent)())===null||_a===void 0?void 0:_a.getDevice().type;return deviceType==="tablet"||deviceType==="mobile"}exports.useIsMobile=useIsMobile},48870:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useUserAgent=exports.UserAgentProvider=exports.userAgentContext=exports.ssrBrowserContext=exports.SSRBrowserProvider=void 0;var use_user_agent_1=__webpack_require__(9571);Object.defineProperty(exports,"SSRBrowserProvider",{enumerable:!0,get:function(){return use_user_agent_1.SSRBrowserProvider}}),Object.defineProperty(exports,"ssrBrowserContext",{enumerable:!0,get:function(){return use_user_agent_1.ssrBrowserContext}}),Object.defineProperty(exports,"userAgentContext",{enumerable:!0,get:function(){return use_user_agent_1.userAgentContext}}),Object.defineProperty(exports,"UserAgentProvider",{enumerable:!0,get:function(){return use_user_agent_1.UserAgentProvider}}),Object.defineProperty(exports,"useUserAgent",{enumerable:!0,get:function(){return use_user_agent_1.useUserAgent}})},9571: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.useUserAgent=exports.SSRBrowserProvider=exports.ssrBrowserContext=exports.UserAgentProvider=exports.userAgentContext=void 0;const react_1=__webpack_require__(59496),ua_parser_js_1=__importDefault(__webpack_require__(93191));exports.userAgentContext=(0,react_1.createContext)(void 0),exports.UserAgentProvider=exports.userAgentContext.Provider,exports.ssrBrowserContext=(0,react_1.createContext)(void 0),exports.SSRBrowserProvider=exports.ssrBrowserContext.Provider;function useUserAgent(){const browser=(0,react_1.useContext)(exports.ssrBrowserContext);return browser?new ua_parser_js_1.default(browser.headers["user-agent"]):new ua_parser_js_1.default(window.navigator.userAgent)}exports.useUserAgent=useUserAgent},46842:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Keycap=exports.KeyCombo=exports.KeySequence=void 0;var keycap_1=__webpack_require__(95731);Object.defineProperty(exports,"KeySequence",{enumerable:!0,get:function(){return keycap_1.KeySequence}}),Object.defineProperty(exports,"KeyCombo",{enumerable:!0,get:function(){return keycap_1.KeyCombo}}),Object.defineProperty(exports,"Keycap",{enumerable:!0,get:function(){return keycap_1.Keycap}})},30984:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.prettifyKey=void 0;const ui_foundation_ui_is_browser_1=__webpack_require__(92900),macKeySymbols={shift:"\u21E7",ctrl:"\u2303",alt:"\u2325",command:"\u2318",meta:"\u2318",mod:"\u2318",backspace:"\u232B",tab:"\u21E5",enter:"\u21A9",return:"\u21A9",capslock:"\u21EA",esc:"\u238B",escape:"\u238B",space:"\u2423",pageup:"\u21DE",pagedown:"\u21DF",end:"end",home:"home",left:"\u2190",up:"\u2191",right:"\u2192",down:"\u2193",del:"\u2326",ins:"insert",plus:"+"},winKeySymbols={shift:"shift",ctrl:"ctrl",alt:"alt",meta:"win",mod:"ctrl",backspace:"backspace",tab:"tab",enter:"enter",return:"enter",capslock:"caps lock",esc:"Esc",escape:"Esc",space:"\u2423",pageup:"pgUp",pagedown:"pgDown",end:"end",home:"home",left:"\u2190",up:"\u2191",right:"\u2192",down:"\u2193",del:"del",ins:"insert",plus:"+"},macRegex=/Mac|iPod|iPhone|iPad/;function prettifyKey(key){if(typeof key!="string")return key;const lib=!ui_foundation_ui_is_browser_1.isBrowser||macRegex.test(window.navigator.platform)?macKeySymbols:winKeySymbols;return key in lib?lib[key]:key}exports.prettifyKey=prettifyKey},95731: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.Keycap=exports.KeyCombo=exports.KeySequence=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),key_module_scss_1=__importDefault(__webpack_require__(47015)),key_characters_1=__webpack_require__(30984);function KeySequence(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);if(!children)return null;const content=(0,react_1.useMemo)(()=>{const mapped=children.split(" ").map(x=>x.trim()).filter(x=>!!x).map((combo,idx)=>react_1.default.createElement(KeyCombo,{key:idx},combo));return insertBetween(mapped,idx=>react_1.default.createElement(Then,{key:`then-sep_${idx}`}))},[children]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(key_module_scss_1.default.keySequence,className)}),content)}exports.KeySequence=KeySequence;function KeyCombo(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);if(!children)return null;const split=children.split("+").map(x=>x.trim());return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(className,key_module_scss_1.default.keyCombo)}),split.map((x,idx)=>react_1.default.createElement(Keycap,{key:idx},x)))}exports.KeyCombo=KeyCombo;function Keycap(_a){var{className,children}=_a,rest=__rest(_a,["className","children"]);const prettyKey=(0,key_characters_1.prettifyKey)(children);return react_1.default.createElement("kbd",Object.assign({},rest,{className:(0,classnames_1.default)(className,key_module_scss_1.default.keycap)}),prettyKey)}exports.Keycap=Keycap;function insertBetween(arr,toInsert){const res=[];return arr.forEach((item,idx)=>{res.push(item),res.push(toInsert(idx))}),res.pop(),res}function Then(){return react_1.default.createElement("span",{className:key_module_scss_1.default.thenSep},"then")}},69952:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MainDropdown=void 0;var main_dropdown_1=__webpack_require__(61928);Object.defineProperty(exports,"MainDropdown",{enumerable:!0,get:function(){return main_dropdown_1.MainDropdown}})},61928: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.MainDropdown=void 0;const evangelist_elements_icon_1=__webpack_require__(86144),evangelist_surfaces_tooltip_1=__webpack_require__(36748),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),lodash_1=__webpack_require__(32699),ui_foundation_ui_keycap_1=__webpack_require__(46842),main_dropdown_module_scss_1=__importDefault(__webpack_require__(71294));function MainDropdown(_a){var{menuItems,className}=_a,rest=__rest(_a,["menuItems","className"]);return!menuItems||(0,lodash_1.isEmpty)(menuItems)?null:react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(main_dropdown_module_scss_1.default.mainDropdown,className)}),react_1.default.createElement(evangelist_surfaces_tooltip_1.TooltipDrawer,{className:main_dropdown_module_scss_1.default.dropdown,tooltipClass:main_dropdown_module_scss_1.default.menu,placeholder:"",clickOutside:!0,PlaceholderComponent:()=>react_1.default.createElement("div",{className:main_dropdown_module_scss_1.default.iconAnchor},react_1.default.createElement("div",{className:main_dropdown_module_scss_1.default.overlay}),react_1.default.createElement(evangelist_elements_icon_1.Icon,{className:(0,classnames_1.default)(main_dropdown_module_scss_1.default.icon),of:"more"}))},react_1.default.createElement("div",null,Object.keys(menuItems).map((category,index)=>react_1.default.createElement(MenuBlock,{key:index,title:category},menuItems[category].map(item=>item&&react_1.default.createElement(Line,{key:item.keyChar,lineTitle:item.title,keyChar:item.keyChar,onClick:item.handler})))))))}exports.MainDropdown=MainDropdown;function Line(_a){var{lineTitle,keyChar,onClick}=_a,rest=__rest(_a,["lineTitle","keyChar","onClick"]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(main_dropdown_module_scss_1.default.line),onClick}),react_1.default.createElement("div",null,lineTitle),keyChar&&react_1.default.createElement("pre",null,react_1.default.createElement(ui_foundation_ui_keycap_1.KeySequence,null,keyChar)))}function MenuBlock({title,children}){return react_1.default.createElement("div",{className:(0,classnames_1.default)(main_dropdown_module_scss_1.default.menuBlock)},react_1.default.createElement("div",{className:main_dropdown_module_scss_1.default.title},title),children)}},13202:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MenuWidgetIcon=void 0;var menu_widget_icon_1=__webpack_require__(25417);Object.defineProperty(exports,"MenuWidgetIcon",{enumerable:!0,get:function(){return menu_widget_icon_1.MenuWidgetIcon}})},25417: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.MenuWidgetIcon=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(86144),design_ui_tooltip_1=__webpack_require__(4426),menu_widget_icon_module_scss_1=__importDefault(__webpack_require__(96540));function MenuWidgetIcon(_a){var{tooltipContent,icon,className}=_a,rest=__rest(_a,["tooltipContent","icon","className"]);return react_1.default.createElement(design_ui_tooltip_1.Tooltip,{placement:"bottom",offset:[0,15],content:tooltipContent},react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(menu_widget_icon_module_scss_1.default.widgetMenuIcon,className)}),react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:icon,className:menu_widget_icon_module_scss_1.default.icon})))}exports.MenuWidgetIcon=MenuWidgetIcon},24496:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(37794),exports)},37794:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useNotifications=exports.NotificationContext=void 0;const react_1=__webpack_require__(59496),DefaultNotificationApi={add:()=>"",log:()=>"",error:()=>"",dismiss:()=>{},clear:()=>{}};exports.NotificationContext=(0,react_1.createContext)(DefaultNotificationApi);const useNotifications=()=>(0,react_1.useContext)(exports.NotificationContext);exports.useNotifications=useNotifications},46286:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQuery=void 0;var use_query_1=__webpack_require__(15162);Object.defineProperty(exports,"useQuery",{enumerable:!0,get:function(){return use_query_1.useQuery}})},15162:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQuery=void 0;const base_react_navigation_link_1=__webpack_require__(36676);function useQuery(){const{search}=(0,base_react_navigation_link_1.useLocation)()||{search:"/"};return new URLSearchParams(search)}exports.useQuery=useQuery},90655: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.linkStyles=void 0;const bottom_link_module_scss_1=__importDefault(__webpack_require__(4141));exports.linkStyles=bottom_link_module_scss_1.default.link},62426: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.UseBoxDropdown=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_surfaces_dropdown_1=__webpack_require__(30566),evangelist_elements_icon_1=__webpack_require__(86144),dropdown_module_scss_1=__importDefault(__webpack_require__(39240));function UseBoxDropdown(_a){var{className,Menu,actionName,actionIcon}=_a,rest=__rest(_a,["className","Menu","actionName","actionIcon"]);const[key,setKey]=(0,react_1.useState)(0),DropdownMenu=react_1.default.cloneElement(Menu,{key});return react_1.default.createElement(evangelist_surfaces_dropdown_1.Dropdown,Object.assign({className:(0,classnames_1.default)(className)},rest,{onChange:(_e,open)=>open&&setKey(x=>x+1),dropClass:dropdown_module_scss_1.default.menu,placeholder:react_1.default.createElement(Placeholder,{actionName,actionIcon}),clickToggles:!1,clickPlaceholderToggles:!0}),DropdownMenu)}exports.UseBoxDropdown=UseBoxDropdown;function Placeholder(_a){var{actionName="Use",actionIcon="package"}=_a,rest=__rest(_a,["actionName","actionIcon"]);return react_1.default.createElement("div",Object.assign({className:(0,classnames_1.default)(dropdown_module_scss_1.default.placeholder)},rest),react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:actionIcon}),react_1.default.createElement("div",{className:dropdown_module_scss_1.default.content},actionName),react_1.default.createElement(evangelist_elements_icon_1.Icon,{className:dropdown_module_scss_1.default.content,of:"fat-arrow-down"}))}},53179:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.UseBoxDropdown=void 0;var dropdown_1=__webpack_require__(62426);Object.defineProperty(exports,"UseBoxDropdown",{enumerable:!0,get:function(){return dropdown_1.UseBoxDropdown}})},87873:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Import:()=>Import,Install:()=>Install,Menu:()=>Menu,Registry:()=>Registry});var jsx_runtime=__webpack_require__(4637),react=__webpack_require__(59496),classnames2=__webpack_require__(97754),classnames_default=__webpack_require__.n(classnames2),dist=__webpack_require__(86144),lodash_orderby=__webpack_require__(30174),lodash_orderby_default=__webpack_require__.n(lodash_orderby),lodash_flatten=__webpack_require__(11549),lodash_flatten_default=__webpack_require__.n(lodash_flatten),ui_foundation_ui_use_box_tab_dist=__webpack_require__(92475);const menu_module={navZIndex:"100",paneSplitterZIndex:"101",topBarZIndex:"102",modalZIndex:"5000",highlighterZIndex:"15500",container:"menu_container__1XuIL",top:"menu_top__2t_HR",title:"menu_title__zkpuV",drawer:"menu_drawer__1DuOC",tabs:"menu_tabs__3_iKy",registry:"menu_registry__3rmSv",importContent:"menu_importContent__O__Uh",bottom:"menu_bottom__12ds7",disabled:"menu_disabled__3hE2E",warnIcon:"menu_warnIcon__2Rg4J"};function Menu({methods,componentName,...rest}){const[activeTab,setActiveTab]=(0,react.useState)(0),OrderedMethods=(0,react.useMemo)(()=>lodash_orderby_default()(lodash_flatten_default()(methods),["order"]),[methods]),{Component}=OrderedMethods[activeTab]||{};return(0,jsx_runtime.jsxs)("div",{...rest,className:classnames_default()(rest.className,menu_module.container),children:[(0,jsx_runtime.jsx)("div",{className:menu_module.top,children:(0,jsx_runtime.jsxs)("div",{className:menu_module.title,children:[(0,jsx_runtime.jsx)(dist.Icon,{of:"terminal"}),(0,jsx_runtime.jsx)("span",{children:`Use ${componentName}`})]})}),(0,jsx_runtime.jsx)("div",{className:menu_module.tabs,children:OrderedMethods.map(({Title},index)=>(0,jsx_runtime.jsx)(ui_foundation_ui_use_box_tab_dist.Tab,{isActive:activeTab===index,onClick:()=>setActiveTab(index),children:Title},index))}),Component]})}var ui_foundation_ui_use_box_tab_content_dist=__webpack_require__(66015),documenter_content_documentation_links_dist=__webpack_require__(53365),documenter_ui_copy_box_dist=__webpack_require__(8584),base_react_navigation_link_dist=__webpack_require__(76223),ui_foundation_ui_use_box_bottom_link_dist=__webpack_require__(90655);const bit_info_module={moreInfo:"bit-info_moreInfo__1UdSB"};function BitInfo({...rest}){return(0,jsx_runtime.jsx)("div",{...rest,children:(0,jsx_runtime.jsxs)(ui_foundation_ui_use_box_tab_content_dist.TabContent,{className:bit_info_module.moreInfo,bottom:(0,jsx_runtime.jsxs)(base_react_navigation_link_dist.Link,{external:!0,href:documenter_content_documentation_links_dist.Ok.installBit,className:ui_foundation_ui_use_box_bottom_link_dist.linkStyles,children:[(0,jsx_runtime.jsx)(dist.Icon,{of:"information-sign"}),(0,jsx_runtime.jsx)("span",{children:"Learn more"})]}),children:[(0,jsx_runtime.jsx)("div",{children:"Install bit"}),(0,jsx_runtime.jsx)(documenter_ui_copy_box_dist.CopyBox,{children:"npx @teambit/bvm install"})]})})}var design_ui_tooltip_dist=__webpack_require__(4426);function TooltipCopybox({content,...rest}){return(0,jsx_runtime.jsx)(design_ui_tooltip_dist.Tooltip,{...rest,content,placement:"bottom",maxWidth:"",breakline:!0,children:(0,jsx_runtime.jsx)("div",{children:(0,jsx_runtime.jsx)(documenter_ui_copy_box_dist.CopyBox,{children:content})})})}function Import({componentId,packageName,componentName,showInstallMethod=!0,...rest}){return(0,jsx_runtime.jsx)(ui_foundation_ui_use_box_tab_content_dist.ExpandableTabContent,{...rest,content:(0,jsx_runtime.jsxs)("div",{className:menu_module.importContent,children:[(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsxs)("div",{className:classnames_default()(!showInstallMethod&&menu_module.disabled),children:[!showInstallMethod&&(0,jsx_runtime.jsx)(dist.Icon,{className:menu_module.warnIcon,of:"warn-circle"}),showInstallMethod&&`Add ${componentName} as a dependency`,!showInstallMethod&&"Installation unavailable: This component has not been built yet"]}),showInstallMethod&&(0,jsx_runtime.jsx)(TooltipCopybox,{content:`bit install ${packageName??""}`,disabled:!showInstallMethod})]}),(0,jsx_runtime.jsx)("div",{children:`Import ${componentName} to your workspace`}),(0,jsx_runtime.jsx)(TooltipCopybox,{content:`bit import ${componentId}`}),(0,jsx_runtime.jsx)("div",{children:`Fork ${componentName} to your workspace`}),(0,jsx_runtime.jsx)(TooltipCopybox,{content:`bit fork ${componentId}`})]}),drawerTitle:(0,jsx_runtime.jsxs)("div",{className:menu_module.bottom,children:[(0,jsx_runtime.jsx)(dist.Icon,{color:"yellow",of:"download"}),(0,jsx_runtime.jsx)("span",{children:"Install Bit on your computer"})]}),drawerContent:(0,jsx_runtime.jsx)(BitInfo,{})})}var documenter_ui_highlighted_text_dist=__webpack_require__(90074);function Registry({copyString,...rest}){return(0,jsx_runtime.jsx)(ui_foundation_ui_use_box_tab_content_dist.TabContent,{...rest,className:menu_module.registry,bottom:(0,jsx_runtime.jsxs)(base_react_navigation_link_dist.Link,{external:!0,href:documenter_content_documentation_links_dist.Ok.scopedRegistry,className:ui_foundation_ui_use_box_bottom_link_dist.linkStyles,children:[(0,jsx_runtime.jsx)(dist.Icon,{of:"information-sign"}),(0,jsx_runtime.jsx)("span",{children:"Learn more"})]}),children:(0,jsx_runtime.jsx)(documenter_ui_copy_box_dist.CopyBox,{children:copyString})})}function Install({componentName,copyString,registryName,packageManager,config,isInstallable,...rest}){return(0,jsx_runtime.jsx)(ui_foundation_ui_use_box_tab_content_dist.ExpandableTabContent,{...rest,content:(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsxs)("div",{className:classnames_default()(!isInstallable&&menu_module.disabled),children:[!isInstallable&&(0,jsx_runtime.jsx)(dist.Icon,{className:menu_module.warnIcon,of:"warn-circle"}),isInstallable&&`Install ${componentName} with ${packageManager}`,!isInstallable&&"Installation unavailable: This component has not been built yet"]}),isInstallable&&(0,jsx_runtime.jsx)(TooltipCopybox,{content:copyString,disabled:!isInstallable})]}),drawerTitle:registryName&&(0,jsx_runtime.jsxs)("div",{className:menu_module.bottom,children:[(0,jsx_runtime.jsx)(dist.Icon,{of:"settings"}),(0,jsx_runtime.jsxs)("span",{children:["Configure ",(0,jsx_runtime.jsx)(documenter_ui_highlighted_text_dist.HighlightedText,{children:registryName})," as a Scoped Registry"]})]}),drawerContent:registryName&&(0,jsx_runtime.jsx)(Registry,{copyString:config})})}},78227: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.ExpandableTabContent=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),react_animate_height_1=__importDefault(__webpack_require__(92341)),evangelist_elements_icon_1=__webpack_require__(86144),ui_foundation_ui_use_box_tab_content_1=__webpack_require__(66015),ui_foundation_ui_use_box_bottom_link_1=__webpack_require__(90655),tab_content_module_scss_1=__importDefault(__webpack_require__(50185));function ExpandableTabContent(_a){var{tabContent,content,drawerContent,drawerTitle}=_a,rest=__rest(_a,["tabContent","content","drawerContent","drawerTitle"]);const[open,toggle]=(0,react_1.useState)(!1),iconStyles=open?tab_content_module_scss_1.default.open:"";return react_1.default.createElement(ui_foundation_ui_use_box_tab_content_1.TabContent,Object.assign({},rest,{bottom:drawerTitle&&drawerContent&&react_1.default.createElement(react_1.default.Fragment,null,react_1.default.createElement("div",{className:(0,classnames_1.default)(ui_foundation_ui_use_box_bottom_link_1.linkStyles,tab_content_module_scss_1.default.drawer),onClick:()=>toggle(!open)},react_1.default.createElement("div",null,drawerTitle),react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"down-rounded-corners",className:iconStyles})),react_1.default.createElement(react_animate_height_1.default,{height:open?"auto":0},drawerContent))}),tabContent||content)}exports.ExpandableTabContent=ExpandableTabContent},66015:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ExpandableTabContent=exports.TabContent=void 0;var tab_content_1=__webpack_require__(58702);Object.defineProperty(exports,"TabContent",{enumerable:!0,get:function(){return tab_content_1.TabContent}});var expandable_tab_content_1=__webpack_require__(78227);Object.defineProperty(exports,"ExpandableTabContent",{enumerable:!0,get:function(){return expandable_tab_content_1.ExpandableTabContent}})},58702: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.TabContent=void 0;const react_1=__importDefault(__webpack_require__(59496)),tab_content_module_scss_1=__importDefault(__webpack_require__(50185));function TabContent(_a){var{children,bottom}=_a,rest=__rest(_a,["children","bottom"]);return react_1.default.createElement("div",Object.assign({},rest),react_1.default.createElement("div",{className:tab_content_module_scss_1.default.middle},children),bottom&&react_1.default.createElement("div",{className:tab_content_module_scss_1.default.bottom},bottom))}exports.TabContent=TabContent},92475:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tab=void 0;var tab_1=__webpack_require__(44245);Object.defineProperty(exports,"Tab",{enumerable:!0,get:function(){return tab_1.Tab}})},44245: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.Tab=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),tab_module_scss_1=__importDefault(__webpack_require__(94500));function Tab(_a){var{onClick,isActive,className,children}=_a,rest=__rest(_a,["onClick","isActive","className","children"]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(tab_module_scss_1.default.tab,isActive&&tab_module_scss_1.default.active,className),onClick}),children)}exports.Tab=Tab},33224:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__,tippy:()=>tippy_js__WEBPACK_IMPORTED_MODULE_0__.default,useSingleton:()=>useSingleton});var tippy_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(48199),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(59496),react_dom__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(87995);function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},sourceKeys=Object.keys(source),key,i;for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],!(excluded.indexOf(key)>=0)&&(target[key]=source[key]);return target}var isBrowser=typeof window<"u"&&typeof document<"u";function preserveRef(ref,node){ref&&(typeof ref=="function"&&ref(node),{}.hasOwnProperty.call(ref,"current")&&(ref.current=node))}function ssrSafeCreateDiv(){return isBrowser&&document.createElement("div")}function toDataAttributes(attrs){var dataAttrs={"data-placement":attrs.placement};return attrs.referenceHidden&&(dataAttrs["data-reference-hidden"]=""),attrs.escaped&&(dataAttrs["data-escaped"]=""),dataAttrs}function deepPreserveProps(instanceProps,componentProps){var _instanceProps$popper,_componentProps$poppe;return Object.assign({},componentProps,{popperOptions:Object.assign({},instanceProps.popperOptions,componentProps.popperOptions,{modifiers:[].concat((((_instanceProps$popper=instanceProps.popperOptions)==null?void 0:_instanceProps$popper.modifiers)||[]).filter(function(modifier){return modifier.name.indexOf("tippy")>=0}),((_componentProps$poppe=componentProps.popperOptions)==null?void 0:_componentProps$poppe.modifiers)||[])})})}var useIsomorphicLayoutEffect=isBrowser?react__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect:react__WEBPACK_IMPORTED_MODULE_1__.useEffect;function useMutableBox(initialValue){var ref=(0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)();return ref.current||(ref.current=typeof initialValue=="function"?initialValue():initialValue),ref.current}function updateClassName(box,action,classNames){classNames.split(/\s+/).forEach(function(name){name&&box.classList[action](name)})}var classNamePlugin={name:"className",defaultValue:"",fn:function(instance){var box=instance.popper.firstElementChild,isDefaultRenderFn=function(){var _instance$props$rende;return!!((_instance$props$rende=instance.props.render)!=null&&_instance$props$rende.$$tippy)};function add(){instance.props.className&&!isDefaultRenderFn()||updateClassName(box,"add",instance.props.className)}function remove(){isDefaultRenderFn()&&updateClassName(box,"remove",instance.props.className)}return{onCreate:add,onBeforeUpdate:remove,onAfterUpdate:add}}};function TippyGenerator(tippy){function Tippy(_ref){var children=_ref.children,content=_ref.content,visible=_ref.visible,singleton=_ref.singleton,render=_ref.render,reference=_ref.reference,_ref$disabled=_ref.disabled,disabled=_ref$disabled===void 0?!1:_ref$disabled,_ref$ignoreAttributes=_ref.ignoreAttributes,ignoreAttributes=_ref$ignoreAttributes===void 0?!0:_ref$ignoreAttributes,__source=_ref.__source,__self=_ref.__self,restOfNativeProps=_objectWithoutPropertiesLoose(_ref,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"]),isControlledMode=visible!==void 0,isSingletonMode=singleton!==void 0,_useState=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(!1),mounted=_useState[0],setMounted=_useState[1],_useState2=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)({}),attrs=_useState2[0],setAttrs=_useState2[1],_useState3=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(),singletonContent=_useState3[0],setSingletonContent=_useState3[1],mutableBox=useMutableBox(function(){return{container:ssrSafeCreateDiv(),renders:1}}),props=Object.assign({ignoreAttributes},restOfNativeProps,{content:mutableBox.container});isControlledMode&&(props.trigger="manual",props.hideOnClick=!1),isSingletonMode&&(disabled=!0);var computedProps=props,plugins=props.plugins||[];render&&(computedProps=Object.assign({},props,{plugins:isSingletonMode?[].concat(plugins,[{fn:function(){return{onTrigger:function(_,event){var _singleton$data$child=singleton.data.children.find(function(_ref2){var instance=_ref2.instance;return instance.reference===event.currentTarget}),content2=_singleton$data$child.content;setSingletonContent(content2)}}}}]):plugins,render:function(){return{popper:mutableBox.container}}}));var deps=[reference].concat(children?[children.type]:[]);return useIsomorphicLayoutEffect(function(){var element=reference;reference&&reference.hasOwnProperty("current")&&(element=reference.current);var instance=tippy(element||mutableBox.ref||ssrSafeCreateDiv(),Object.assign({},computedProps,{plugins:[classNamePlugin].concat(props.plugins||[])}));return mutableBox.instance=instance,disabled&&instance.disable(),visible&&instance.show(),isSingletonMode&&singleton.hook({instance,content,props:computedProps}),setMounted(!0),function(){instance.destroy(),singleton?.cleanup(instance)}},deps),useIsomorphicLayoutEffect(function(){if(mutableBox.renders===1){mutableBox.renders++;return}var instance=mutableBox.instance;instance.setProps(deepPreserveProps(instance.props,computedProps)),disabled?instance.disable():instance.enable(),isControlledMode&&(visible?instance.show():instance.hide()),isSingletonMode&&singleton.hook({instance,content,props:computedProps})}),useIsomorphicLayoutEffect(function(){var _instance$props$poppe;if(!!render){var instance=mutableBox.instance;instance.setProps({popperOptions:Object.assign({},instance.props.popperOptions,{modifiers:[].concat(((_instance$props$poppe=instance.props.popperOptions)==null?void 0:_instance$props$poppe.modifiers)||[],[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(_ref3){var _state$modifiersData,state=_ref3.state,hideData=(_state$modifiersData=state.modifiersData)==null?void 0:_state$modifiersData.hide;(attrs.placement!==state.placement||attrs.referenceHidden!==hideData?.isReferenceHidden||attrs.escaped!==hideData?.hasPopperEscaped)&&setAttrs({placement:state.placement,referenceHidden:hideData?.isReferenceHidden,escaped:hideData?.hasPopperEscaped}),state.attributes.popper={}}}])})})}},[attrs.placement,attrs.referenceHidden,attrs.escaped].concat(deps)),react__WEBPACK_IMPORTED_MODULE_1__.createElement(react__WEBPACK_IMPORTED_MODULE_1__.Fragment,null,children?(0,react__WEBPACK_IMPORTED_MODULE_1__.cloneElement)(children,{ref:function(node){mutableBox.ref=node,preserveRef(children.ref,node)}}):null,mounted&&(0,react_dom__WEBPACK_IMPORTED_MODULE_2__.createPortal)(render?render(toDataAttributes(attrs),singletonContent,mutableBox.instance):content,mutableBox.container))}return Tippy}function useSingletonGenerator(createSingleton){return function(_temp){var _ref=_temp===void 0?{}:_temp,_ref$disabled=_ref.disabled,disabled=_ref$disabled===void 0?!1:_ref$disabled,_ref$overrides=_ref.overrides,overrides=_ref$overrides===void 0?[]:_ref$overrides,_useState=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(!1),mounted=_useState[0],setMounted=_useState[1],mutableBox=useMutableBox({children:[],renders:1});return useIsomorphicLayoutEffect(function(){if(!mounted){setMounted(!0);return}var children=mutableBox.children,sourceData=mutableBox.sourceData;if(!!sourceData){var instance=createSingleton(children.map(function(child){return child.instance}),Object.assign({},sourceData.props,{popperOptions:sourceData.instance.props.popperOptions,overrides,plugins:[classNamePlugin].concat(sourceData.props.plugins||[])}));return mutableBox.instance=instance,disabled&&instance.disable(),function(){instance.destroy(),mutableBox.children=children.filter(function(_ref2){var instance2=_ref2.instance;return!instance2.state.isDestroyed})}}},[mounted]),useIsomorphicLayoutEffect(function(){if(!!mounted){if(mutableBox.renders===1){mutableBox.renders++;return}var children=mutableBox.children,instance=mutableBox.instance,sourceData=mutableBox.sourceData;if(!!(instance&&sourceData)){var _sourceData$props=sourceData.props,content=_sourceData$props.content,props=_objectWithoutPropertiesLoose(_sourceData$props,["content"]);instance.setProps(deepPreserveProps(instance,Object.assign({},props,{overrides}))),instance.setInstances(children.map(function(child){return child.instance})),disabled?instance.disable():instance.enable()}}}),(0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function(){var source={data:mutableBox,hook:function(data){mutableBox.sourceData=data},cleanup:function(){mutableBox.sourceData=null}},target={hook:function(data){mutableBox.children.find(function(_ref3){var instance=_ref3.instance;return data.instance===instance})||mutableBox.children.push(data)},cleanup:function(instance){mutableBox.children=mutableBox.children.filter(function(data){return data.instance!==instance})}};return[source,target]},[])}}var forwardRef=function(Tippy,defaultProps){return(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function(_ref,_ref2){var children=_ref.children,props=_objectWithoutPropertiesLoose(_ref,["children"]);return react__WEBPACK_IMPORTED_MODULE_1__.createElement(Tippy,Object.assign({},defaultProps,props),children?(0,react__WEBPACK_IMPORTED_MODULE_1__.cloneElement)(children,{ref:function(node){preserveRef(_ref2,node),preserveRef(children.ref,node)}}):null)})},useSingleton=useSingletonGenerator(tippy_js__WEBPACK_IMPORTED_MODULE_0__.createSingleton),index=forwardRef(TippyGenerator(tippy_js__WEBPACK_IMPORTED_MODULE_0__.default));const __WEBPACK_DEFAULT_EXPORT__=index},74257:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module=__webpack_require__.nmd(module);const colorConvert=__webpack_require__(18358),wrapAnsi16=(fn,offset)=>function(){return`\x1B[${fn.apply(colorConvert,arguments)+offset}m`},wrapAnsi256=(fn,offset)=>function(){const code=fn.apply(colorConvert,arguments);return`\x1B[${38+offset};5;${code}m`},wrapAnsi16m=(fn,offset)=>function(){const rgb=fn.apply(colorConvert,arguments);return`\x1B[${38+offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`};function assembleStyles(){const codes=new Map,styles2={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};styles2.color.grey=styles2.color.gray;for(const groupName of Object.keys(styles2)){const group=styles2[groupName];for(const styleName of Object.keys(group)){const style=group[styleName];styles2[styleName]={open:`\x1B[${style[0]}m`,close:`\x1B[${style[1]}m`},group[styleName]=styles2[styleName],codes.set(style[0],style[1])}Object.defineProperty(styles2,groupName,{value:group,enumerable:!1}),Object.defineProperty(styles2,"codes",{value:codes,enumerable:!1})}const ansi2ansi=n=>n,rgb2rgb=(r,g,b)=>[r,g,b];styles2.color.close="\x1B[39m",styles2.bgColor.close="\x1B[49m",styles2.color.ansi={ansi:wrapAnsi16(ansi2ansi,0)},styles2.color.ansi256={ansi256:wrapAnsi256(ansi2ansi,0)},styles2.color.ansi16m={rgb:wrapAnsi16m(rgb2rgb,0)},styles2.bgColor.ansi={ansi:wrapAnsi16(ansi2ansi,10)},styles2.bgColor.ansi256={ansi256:wrapAnsi256(ansi2ansi,10)},styles2.bgColor.ansi16m={rgb:wrapAnsi16m(rgb2rgb,10)};for(let key of Object.keys(colorConvert)){if(typeof colorConvert[key]!="object")continue;const suite=colorConvert[key];key==="ansi16"&&(key="ansi"),"ansi16"in suite&&(styles2.color.ansi[key]=wrapAnsi16(suite.ansi16,0),styles2.bgColor.ansi[key]=wrapAnsi16(suite.ansi16,10)),"ansi256"in suite&&(styles2.color.ansi256[key]=wrapAnsi256(suite.ansi256,0),styles2.bgColor.ansi256[key]=wrapAnsi256(suite.ansi256,10)),"rgb"in suite&&(styles2.color.ansi16m[key]=wrapAnsi16m(suite.rgb,0),styles2.bgColor.ansi16m[key]=wrapAnsi16m(suite.rgb,10))}return styles2}Object.defineProperty(module,"exports",{enumerable:!0,get:assembleStyles})},48049:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var process=__webpack_require__(14224);function _typeof(o){return _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o2){return typeof o2}:function(o2){return o2&&typeof Symbol=="function"&&o2.constructor===Symbol&&o2!==Symbol.prototype?"symbol":typeof o2},_typeof(o)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,_toPropertyKey(descriptor.key),descriptor)}}function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}function _toPropertyKey(arg){var key=_toPrimitive(arg,"string");return _typeof(key)==="symbol"?key:String(key)}function _toPrimitive(input,hint){if(_typeof(input)!=="object"||input===null)return input;var prim=input[Symbol.toPrimitive];if(prim!==void 0){var res=prim.call(input,hint||"default");if(_typeof(res)!=="object")return res;throw new TypeError("@@toPrimitive must return a primitive value.")}return(hint==="string"?String:Number)(input)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var _require=__webpack_require__(18895),_require$codes=_require.codes,ERR_AMBIGUOUS_ARGUMENT=_require$codes.ERR_AMBIGUOUS_ARGUMENT,ERR_INVALID_ARG_TYPE=_require$codes.ERR_INVALID_ARG_TYPE,ERR_INVALID_ARG_VALUE=_require$codes.ERR_INVALID_ARG_VALUE,ERR_INVALID_RETURN_VALUE=_require$codes.ERR_INVALID_RETURN_VALUE,ERR_MISSING_ARGS=_require$codes.ERR_MISSING_ARGS,AssertionError=__webpack_require__(6960),_require2=__webpack_require__(93585),inspect=_require2.inspect,_require$types=__webpack_require__(93585).types,isPromise=_require$types.isPromise,isRegExp=_require$types.isRegExp,objectAssign=__webpack_require__(82724)(),objectIs=__webpack_require__(93338)(),RegExpPrototypeTest=__webpack_require__(74161)("RegExp.prototype.test"),errorCache=new Map,isDeepEqual,isDeepStrictEqual,parseExpressionAt,findNodeAround,decoder;function lazyLoadComparison(){var comparison=__webpack_require__(44984);isDeepEqual=comparison.isDeepEqual,isDeepStrictEqual=comparison.isDeepStrictEqual}var escapeSequencesRegExp=/[\x00-\x08\x0b\x0c\x0e-\x1f]/g,meta=null,escapeFn=function(str){return meta[str.charCodeAt(0)]},warned=!1,assert=module.exports=ok,NO_EXCEPTION_SENTINEL={};function innerFail(obj){throw obj.message instanceof Error?obj.message:new AssertionError(obj)}function fail(actual,expected,message,operator,stackStartFn){var argsLen=arguments.length,internalMessage;if(argsLen===0)internalMessage="Failed";else if(argsLen===1)message=actual,actual=void 0;else{if(warned===!1){warned=!0;var warn=process.emitWarning?process.emitWarning:console.warn.bind(console);warn("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}argsLen===2&&(operator="!=")}if(message instanceof Error)throw message;var errArgs={actual,expected,operator:operator===void 0?"fail":operator,stackStartFn:stackStartFn||fail};message!==void 0&&(errArgs.message=message);var err=new AssertionError(errArgs);throw internalMessage&&(err.message=internalMessage,err.generatedMessage=!0),err}assert.fail=fail,assert.AssertionError=AssertionError;function innerOk(fn,argLen,value,message){if(!value){var generatedMessage=!1;if(argLen===0)generatedMessage=!0,message="No value argument passed to `assert.ok()`";else if(message instanceof Error)throw message;var err=new AssertionError({actual:value,expected:!0,message,operator:"==",stackStartFn:fn});throw err.generatedMessage=generatedMessage,err}}function ok(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];innerOk.apply(void 0,[ok,args.length].concat(args))}assert.ok=ok,assert.equal=function equal(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");actual!=expected&&innerFail({actual,expected,message,operator:"==",stackStartFn:equal})},assert.notEqual=function notEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");actual==expected&&innerFail({actual,expected,message,operator:"!=",stackStartFn:notEqual})},assert.deepEqual=function deepEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");isDeepEqual===void 0&&lazyLoadComparison(),isDeepEqual(actual,expected)||innerFail({actual,expected,message,operator:"deepEqual",stackStartFn:deepEqual})},assert.notDeepEqual=function notDeepEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");isDeepEqual===void 0&&lazyLoadComparison(),isDeepEqual(actual,expected)&&innerFail({actual,expected,message,operator:"notDeepEqual",stackStartFn:notDeepEqual})},assert.deepStrictEqual=function deepStrictEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");isDeepEqual===void 0&&lazyLoadComparison(),isDeepStrictEqual(actual,expected)||innerFail({actual,expected,message,operator:"deepStrictEqual",stackStartFn:deepStrictEqual})},assert.notDeepStrictEqual=notDeepStrictEqual;function notDeepStrictEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");isDeepEqual===void 0&&lazyLoadComparison(),isDeepStrictEqual(actual,expected)&&innerFail({actual,expected,message,operator:"notDeepStrictEqual",stackStartFn:notDeepStrictEqual})}assert.strictEqual=function strictEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");objectIs(actual,expected)||innerFail({actual,expected,message,operator:"strictEqual",stackStartFn:strictEqual})},assert.notStrictEqual=function notStrictEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");objectIs(actual,expected)&&innerFail({actual,expected,message,operator:"notStrictEqual",stackStartFn:notStrictEqual})};var Comparison=_createClass(function Comparison2(obj,keys,actual){var _this=this;_classCallCheck(this,Comparison2),keys.forEach(function(key){key in obj&&(actual!==void 0&&typeof actual[key]=="string"&&isRegExp(obj[key])&&RegExpPrototypeTest(obj[key],actual[key])?_this[key]=actual[key]:_this[key]=obj[key])})});function compareExceptionKey(actual,expected,key,message,keys,fn){if(!(key in actual)||!isDeepStrictEqual(actual[key],expected[key])){if(!message){var a=new Comparison(actual,keys),b=new Comparison(expected,keys,actual),err=new AssertionError({actual:a,expected:b,operator:"deepStrictEqual",stackStartFn:fn});throw err.actual=actual,err.expected=expected,err.operator=fn.name,err}innerFail({actual,expected,message,operator:fn.name,stackStartFn:fn})}}function expectedException(actual,expected,msg,fn){if(typeof expected!="function"){if(isRegExp(expected))return RegExpPrototypeTest(expected,actual);if(arguments.length===2)throw new ERR_INVALID_ARG_TYPE("expected",["Function","RegExp"],expected);if(_typeof(actual)!=="object"||actual===null){var err=new AssertionError({actual,expected,message:msg,operator:"deepStrictEqual",stackStartFn:fn});throw err.operator=fn.name,err}var keys=Object.keys(expected);if(expected instanceof Error)keys.push("name","message");else if(keys.length===0)throw new ERR_INVALID_ARG_VALUE("error",expected,"may not be an empty object");return isDeepEqual===void 0&&lazyLoadComparison(),keys.forEach(function(key){typeof actual[key]=="string"&&isRegExp(expected[key])&&RegExpPrototypeTest(expected[key],actual[key])||compareExceptionKey(actual,expected,key,msg,keys,fn)}),!0}return expected.prototype!==void 0&&actual instanceof expected?!0:Error.isPrototypeOf(expected)?!1:expected.call({},actual)===!0}function getActual(fn){if(typeof fn!="function")throw new ERR_INVALID_ARG_TYPE("fn","Function",fn);try{fn()}catch(e){return e}return NO_EXCEPTION_SENTINEL}function checkIsPromise(obj){return isPromise(obj)||obj!==null&&_typeof(obj)==="object"&&typeof obj.then=="function"&&typeof obj.catch=="function"}function waitForActual(promiseFn){return Promise.resolve().then(function(){var resultPromise;if(typeof promiseFn=="function"){if(resultPromise=promiseFn(),!checkIsPromise(resultPromise))throw new ERR_INVALID_RETURN_VALUE("instance of Promise","promiseFn",resultPromise)}else if(checkIsPromise(promiseFn))resultPromise=promiseFn;else throw new ERR_INVALID_ARG_TYPE("promiseFn",["Function","Promise"],promiseFn);return Promise.resolve().then(function(){return resultPromise}).then(function(){return NO_EXCEPTION_SENTINEL}).catch(function(e){return e})})}function expectsError(stackStartFn,actual,error,message){if(typeof error=="string"){if(arguments.length===4)throw new ERR_INVALID_ARG_TYPE("error",["Object","Error","Function","RegExp"],error);if(_typeof(actual)==="object"&&actual!==null){if(actual.message===error)throw new ERR_AMBIGUOUS_ARGUMENT("error/message",'The error message "'.concat(actual.message,'" is identical to the message.'))}else if(actual===error)throw new ERR_AMBIGUOUS_ARGUMENT("error/message",'The error "'.concat(actual,'" is identical to the message.'));message=error,error=void 0}else if(error!=null&&_typeof(error)!=="object"&&typeof error!="function")throw new ERR_INVALID_ARG_TYPE("error",["Object","Error","Function","RegExp"],error);if(actual===NO_EXCEPTION_SENTINEL){var details="";error&&error.name&&(details+=" (".concat(error.name,")")),details+=message?": ".concat(message):".";var fnType=stackStartFn.name==="rejects"?"rejection":"exception";innerFail({actual:void 0,expected:error,operator:stackStartFn.name,message:"Missing expected ".concat(fnType).concat(details),stackStartFn})}if(error&&!expectedException(actual,error,message,stackStartFn))throw actual}function expectsNoError(stackStartFn,actual,error,message){if(actual!==NO_EXCEPTION_SENTINEL){if(typeof error=="string"&&(message=error,error=void 0),!error||expectedException(actual,error)){var details=message?": ".concat(message):".",fnType=stackStartFn.name==="doesNotReject"?"rejection":"exception";innerFail({actual,expected:error,operator:stackStartFn.name,message:"Got unwanted ".concat(fnType).concat(details,`
45
45
  `)+'Actual message: "'.concat(actual&&actual.message,'"'),stackStartFn})}throw actual}}assert.throws=function throws(promiseFn){for(var _len2=arguments.length,args=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];expectsError.apply(void 0,[throws,getActual(promiseFn)].concat(args))},assert.rejects=function rejects(promiseFn){for(var _len3=arguments.length,args=new Array(_len3>1?_len3-1:0),_key3=1;_key3<_len3;_key3++)args[_key3-1]=arguments[_key3];return waitForActual(promiseFn).then(function(result){return expectsError.apply(void 0,[rejects,result].concat(args))})},assert.doesNotThrow=function doesNotThrow(fn){for(var _len4=arguments.length,args=new Array(_len4>1?_len4-1:0),_key4=1;_key4<_len4;_key4++)args[_key4-1]=arguments[_key4];expectsNoError.apply(void 0,[doesNotThrow,getActual(fn)].concat(args))},assert.doesNotReject=function doesNotReject(fn){for(var _len5=arguments.length,args=new Array(_len5>1?_len5-1:0),_key5=1;_key5<_len5;_key5++)args[_key5-1]=arguments[_key5];return waitForActual(fn).then(function(result){return expectsNoError.apply(void 0,[doesNotReject,result].concat(args))})},assert.ifError=function ifError(err){if(err!=null){var message="ifError got unwanted exception: ";_typeof(err)==="object"&&typeof err.message=="string"?err.message.length===0&&err.constructor?message+=err.constructor.name:message+=err.message:message+=inspect(err);var newErr=new AssertionError({actual:err,expected:null,operator:"ifError",message,stackStartFn:ifError}),origStack=err.stack;if(typeof origStack=="string"){var tmp2=origStack.split(`
46
46
  `);tmp2.shift();for(var tmp1=newErr.stack.split(`
47
47
  `),i=0;i<tmp2.length;i++){var pos=tmp1.indexOf(tmp2[i]);if(pos!==-1){tmp1=tmp1.slice(0,pos);break}}newErr.stack="".concat(tmp1.join(`
@@ -119,7 +119,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`),languageName=codeOrlan
119
119
  ]*?"'`},{begin:`"[^\r
120
120
  "]*"`}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},hljs.COMMENT("^[ ]*\\*.*$",!1),hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE]}}module.exports=stata},44078:module=>{function step21(hljs){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0,keywords:{$pattern:"[A-Z_][A-Z0-9_.]*",keyword:"HEADER ENDSEC DATA"},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,hljs.COMMENT("/\\*\\*!","\\*/"),hljs.C_NUMBER_MODE,hljs.inherit(hljs.APOS_STRING_MODE,{illegal:null}),hljs.inherit(hljs.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}module.exports=step21},82601:module=>{const MODES=hljs=>({IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE]}}),TAGS=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],MEDIA_FEATURES=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],PSEUDO_CLASSES=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],PSEUDO_ELEMENTS=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],ATTRIBUTES=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse();function stylus(hljs){const modes=MODES(hljs),AT_MODIFIERS="and or not only",VARIABLE={className:"variable",begin:"\\$"+hljs.IDENT_RE},AT_KEYWORDS=["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"],LOOKAHEAD_TAG_END="(?=[.\\s\\n[:,(])";return{name:"Stylus",aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+["\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)","(\\bdef\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"].join("|")+")",contains:[hljs.QUOTE_STRING_MODE,hljs.APOS_STRING_MODE,hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,modes.HEXCOLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+LOOKAHEAD_TAG_END,className:"selector-class"},{begin:"#[a-zA-Z][a-zA-Z0-9_-]*"+LOOKAHEAD_TAG_END,className:"selector-id"},{begin:"\\b("+TAGS.join("|")+")"+LOOKAHEAD_TAG_END,className:"selector-tag"},{className:"selector-pseudo",begin:"&?:("+PSEUDO_CLASSES.join("|")+")"+LOOKAHEAD_TAG_END},{className:"selector-pseudo",begin:"&?::("+PSEUDO_ELEMENTS.join("|")+")"+LOOKAHEAD_TAG_END},modes.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:AT_MODIFIERS,attribute:MEDIA_FEATURES.join(" ")},contains:[hljs.CSS_NUMBER_MODE]}},{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+AT_KEYWORDS.join("|")+"))\\b"},VARIABLE,hljs.CSS_NUMBER_MODE,{className:"function",begin:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[modes.HEXCOLOR,VARIABLE,hljs.APOS_STRING_MODE,hljs.CSS_NUMBER_MODE,hljs.QUOTE_STRING_MODE]}]},{className:"attribute",begin:"\\b("+ATTRIBUTES.join("|")+")\\b",starts:{end:/;|$/,contains:[modes.HEXCOLOR,VARIABLE,hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,hljs.CSS_NUMBER_MODE,hljs.C_BLOCK_COMMENT_MODE,modes.IMPORTANT],illegal:/\./,relevance:0}}]}}module.exports=stylus},87344:module=>{function subunit(hljs){return{name:"SubUnit",case_insensitive:!0,contains:[{className:"string",begin:`\\[
121
121
  (multipart)?`,end:`\\]
122
- `},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}module.exports=subunit},54503:module=>{function source(re){return re?typeof re=="string"?re:re.source:null}function lookahead(re){return concat("(?=",re,")")}function concat(...args){return args.map(x=>source(x)).join("")}function either(...args){return"("+args.map(x=>source(x)).join("|")+")"}const keywordWrapper=keyword=>concat(/\b/,keyword,/\w$/.test(keyword)?/\b/:/\B/),dotKeywords=["Protocol","Type"].map(keywordWrapper),optionalDotKeywords=["init","self"].map(keywordWrapper),keywordTypes=["Any","Self"],keywords=["associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],literals=["false","nil","true"],precedencegroupKeywords=["assignment","associativity","higherThan","left","lowerThan","none","right"],numberSignKeywords=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],builtIns=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],operatorHead=either(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),operatorCharacter=either(operatorHead,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),operator=concat(operatorHead,operatorCharacter,"*"),identifierHead=either(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),identifierCharacter=either(identifierHead,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),identifier=concat(identifierHead,identifierCharacter,"*"),typeIdentifier=concat(/[A-Z]/,identifierCharacter,"*"),keywordAttributes=["autoclosure",concat(/convention\(/,either("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",concat(/objc\(/,identifier,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","testable","UIApplicationMain","unknown","usableFromInline"],availabilityKeywords=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function swift(hljs){const WHITESPACE={match:/\s+/,relevance:0},BLOCK_COMMENT=hljs.COMMENT("/\\*","\\*/",{contains:["self"]}),COMMENTS=[hljs.C_LINE_COMMENT_MODE,BLOCK_COMMENT],DOT_KEYWORD={className:"keyword",begin:concat(/\./,lookahead(either(...dotKeywords,...optionalDotKeywords))),end:either(...dotKeywords,...optionalDotKeywords),excludeBegin:!0},KEYWORD_GUARD={match:concat(/\./,either(...keywords)),relevance:0},PLAIN_KEYWORDS=keywords.filter(kw=>typeof kw=="string").concat(["_|0"]),REGEX_KEYWORDS=keywords.filter(kw=>typeof kw!="string").concat(keywordTypes).map(keywordWrapper),KEYWORD={variants:[{className:"keyword",match:either(...REGEX_KEYWORDS,...optionalDotKeywords)}]},KEYWORDS={$pattern:either(/\b\w+/,/#\w+/),keyword:PLAIN_KEYWORDS.concat(numberSignKeywords),literal:literals},KEYWORD_MODES=[DOT_KEYWORD,KEYWORD_GUARD,KEYWORD],BUILT_IN_GUARD={match:concat(/\./,either(...builtIns)),relevance:0},BUILT_IN={className:"built_in",match:concat(/\b/,either(...builtIns),/(?=\()/)},BUILT_INS=[BUILT_IN_GUARD,BUILT_IN],OPERATOR_GUARD={match:/->/,relevance:0},OPERATOR={className:"operator",relevance:0,variants:[{match:operator},{match:`\\.(\\.|${operatorCharacter})+`}]},OPERATORS=[OPERATOR_GUARD,OPERATOR],decimalDigits="([0-9]_*)+",hexDigits="([0-9a-fA-F]_*)+",NUMBER={className:"number",relevance:0,variants:[{match:`\\b(${decimalDigits})(\\.(${decimalDigits}))?([eE][+-]?(${decimalDigits}))?\\b`},{match:`\\b0x(${hexDigits})(\\.(${hexDigits}))?([pP][+-]?(${decimalDigits}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},ESCAPED_CHARACTER=(rawDelimiter="")=>({className:"subst",variants:[{match:concat(/\\/,rawDelimiter,/[0\\tnr"']/)},{match:concat(/\\/,rawDelimiter,/u\{[0-9a-fA-F]{1,8}\}/)}]}),ESCAPED_NEWLINE=(rawDelimiter="")=>({className:"subst",match:concat(/\\/,rawDelimiter,/[\t ]*(?:[\r\n]|\r\n)/)}),INTERPOLATION=(rawDelimiter="")=>({className:"subst",label:"interpol",begin:concat(/\\/,rawDelimiter,/\(/),end:/\)/}),MULTILINE_STRING=(rawDelimiter="")=>({begin:concat(rawDelimiter,/"""/),end:concat(/"""/,rawDelimiter),contains:[ESCAPED_CHARACTER(rawDelimiter),ESCAPED_NEWLINE(rawDelimiter),INTERPOLATION(rawDelimiter)]}),SINGLE_LINE_STRING=(rawDelimiter="")=>({begin:concat(rawDelimiter,/"/),end:concat(/"/,rawDelimiter),contains:[ESCAPED_CHARACTER(rawDelimiter),INTERPOLATION(rawDelimiter)]}),STRING={className:"string",variants:[MULTILINE_STRING(),MULTILINE_STRING("#"),MULTILINE_STRING("##"),MULTILINE_STRING("###"),SINGLE_LINE_STRING(),SINGLE_LINE_STRING("#"),SINGLE_LINE_STRING("##"),SINGLE_LINE_STRING("###")]},QUOTED_IDENTIFIER={match:concat(/`/,identifier,/`/)},IMPLICIT_PARAMETER={className:"variable",match:/\$\d+/},PROPERTY_WRAPPER_PROJECTION={className:"variable",match:`\\$${identifierCharacter}+`},IDENTIFIERS=[QUOTED_IDENTIFIER,IMPLICIT_PARAMETER,PROPERTY_WRAPPER_PROJECTION],AVAILABLE_ATTRIBUTE={match:/(@|#)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:availabilityKeywords,contains:[...OPERATORS,NUMBER,STRING]}]}},KEYWORD_ATTRIBUTE={className:"keyword",match:concat(/@/,either(...keywordAttributes))},USER_DEFINED_ATTRIBUTE={className:"meta",match:concat(/@/,identifier)},ATTRIBUTES=[AVAILABLE_ATTRIBUTE,KEYWORD_ATTRIBUTE,USER_DEFINED_ATTRIBUTE],TYPE={match:lookahead(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:concat(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,identifierCharacter,"+")},{className:"type",match:typeIdentifier,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:concat(/\s+&\s+/,lookahead(typeIdentifier)),relevance:0}]},GENERIC_ARGUMENTS={begin:/</,end:/>/,keywords:KEYWORDS,contains:[...COMMENTS,...KEYWORD_MODES,...ATTRIBUTES,OPERATOR_GUARD,TYPE]};TYPE.contains.push(GENERIC_ARGUMENTS);const TUPLE_ELEMENT_NAME={match:concat(identifier,/\s*:/),keywords:"_|0",relevance:0},TUPLE={begin:/\(/,end:/\)/,relevance:0,keywords:KEYWORDS,contains:["self",TUPLE_ELEMENT_NAME,...COMMENTS,...KEYWORD_MODES,...BUILT_INS,...OPERATORS,NUMBER,STRING,...IDENTIFIERS,...ATTRIBUTES,TYPE]},FUNC_PLUS_TITLE={beginKeywords:"func",contains:[{className:"title",match:either(QUOTED_IDENTIFIER.match,identifier,operator),endsParent:!0,relevance:0},WHITESPACE]},GENERIC_PARAMETERS={begin:/</,end:/>/,contains:[...COMMENTS,TYPE]},FUNCTION_PARAMETER_NAME={begin:either(lookahead(concat(identifier,/\s*:/)),lookahead(concat(identifier,/\s+/,identifier,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:identifier}]},FUNCTION_PARAMETERS={begin:/\(/,end:/\)/,keywords:KEYWORDS,contains:[FUNCTION_PARAMETER_NAME,...COMMENTS,...KEYWORD_MODES,...OPERATORS,NUMBER,STRING,...ATTRIBUTES,TYPE,TUPLE],endsParent:!0,illegal:/["']/},FUNCTION={className:"function",match:lookahead(/\bfunc\b/),contains:[FUNC_PLUS_TITLE,GENERIC_PARAMETERS,FUNCTION_PARAMETERS,WHITESPACE],illegal:[/\[/,/%/]},INIT_SUBSCRIPT={className:"function",match:/\b(subscript|init[?!]?)\s*(?=[<(])/,keywords:{keyword:"subscript init init? init!",$pattern:/\w+[?!]?/},contains:[GENERIC_PARAMETERS,FUNCTION_PARAMETERS,WHITESPACE],illegal:/\[|%/},OPERATOR_DECLARATION={beginKeywords:"operator",end:hljs.MATCH_NOTHING_RE,contains:[{className:"title",match:operator,endsParent:!0,relevance:0}]},PRECEDENCEGROUP={beginKeywords:"precedencegroup",end:hljs.MATCH_NOTHING_RE,contains:[{className:"title",match:typeIdentifier,relevance:0},{begin:/{/,end:/}/,relevance:0,endsParent:!0,keywords:[...precedencegroupKeywords,...literals],contains:[TYPE]}]};for(const variant of STRING.variants){const interpolation=variant.contains.find(mode=>mode.label==="interpol");interpolation.keywords=KEYWORDS;const submodes=[...KEYWORD_MODES,...BUILT_INS,...OPERATORS,NUMBER,STRING,...IDENTIFIERS];interpolation.contains=[...submodes,{begin:/\(/,end:/\)/,contains:["self",...submodes]}]}return{name:"Swift",keywords:KEYWORDS,contains:[...COMMENTS,FUNCTION,INIT_SUBSCRIPT,{className:"class",beginKeywords:"struct protocol class extension enum",end:"\\{",excludeEnd:!0,keywords:KEYWORDS,contains:[hljs.inherit(hljs.TITLE_MODE,{begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...KEYWORD_MODES]},OPERATOR_DECLARATION,PRECEDENCEGROUP,{beginKeywords:"import",end:/$/,contains:[...COMMENTS],relevance:0},...KEYWORD_MODES,...BUILT_INS,...OPERATORS,NUMBER,STRING,...IDENTIFIERS,...ATTRIBUTES,TYPE,TUPLE]}}module.exports=swift},75738:module=>{function taggerscript(hljs){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\(/,end:/\)/,contains:["self",{begin:/\\./}]}],relevance:10},{className:"keyword",begin:/\$(?!noop)[a-zA-Z][_a-zA-Z0-9]*/,end:/\(/,excludeEnd:!0},{className:"variable",begin:/%[_a-zA-Z0-9:]*/,end:"%"},{className:"symbol",begin:/\\./}]}}module.exports=taggerscript},4541:module=>{function tap(hljs){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[hljs.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}module.exports=tap},99645:module=>{function source(re){return re?typeof re=="string"?re:re.source:null}function optional(re){return concat("(",re,")?")}function concat(...args){return args.map(x=>source(x)).join("")}function tcl(hljs){const TCL_IDENT=/[a-zA-Z_][a-zA-Z0-9_]*/,NUMBER={className:"number",variants:[hljs.BINARY_NUMBER_MODE,hljs.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:"after append apply array auto_execok auto_import auto_load auto_mkindex auto_mkindex_old auto_qualify auto_reset bgerror binary break catch cd chan clock close concat continue dde dict encoding eof error eval exec exit expr fblocked fconfigure fcopy file fileevent filename flush for foreach format gets glob global history http if incr info interp join lappend|10 lassign|10 lindex|10 linsert|10 list llength|10 load lrange|10 lrepeat|10 lreplace|10 lreverse|10 lsearch|10 lset|10 lsort|10 mathfunc mathop memory msgcat namespace open package parray pid pkg::create pkg_mkIndex platform platform::shell proc puts pwd read refchan regexp registry regsub|10 rename return safe scan seek set socket source split string subst switch tcl_endOfWord tcl_findLibrary tcl_startOfNextWord tcl_startOfPreviousWord tcl_wordBreakAfter tcl_wordBreakBefore tcltest tclvars tell time tm trace unknown unload unset update uplevel upvar variable vwait while",contains:[hljs.COMMENT(";[ \\t]*#","$"),hljs.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:concat(/\$/,optional(/::/),TCL_IDENT,"(::",TCL_IDENT,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[NUMBER]}]},{className:"string",contains:[hljs.BACKSLASH_ESCAPE],variants:[hljs.inherit(hljs.QUOTE_STRING_MODE,{illegal:null})]},NUMBER]}}module.exports=tcl},14850:module=>{function thrift(hljs){const BUILT_IN_TYPES="bool byte i16 i32 i64 double string binary";return{name:"Thrift",keywords:{keyword:"namespace const typedef struct enum service exception void oneway set list map required optional",built_in:BUILT_IN_TYPES,literal:"true false"},contains:[hljs.QUOTE_STRING_MODE,hljs.NUMBER_MODE,hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[hljs.inherit(hljs.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",end:">",keywords:BUILT_IN_TYPES,contains:["self"]}]}}module.exports=thrift},15263:module=>{function tp(hljs){const TPID={className:"number",begin:"[1-9][0-9]*",relevance:0},TPLABEL={className:"symbol",begin:":[^\\]]+"},TPDATA={className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",TPID,TPLABEL]},TPIO={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",TPID,hljs.QUOTE_STRING_MODE,TPLABEL]};return{name:"TP",keywords:{keyword:"ABORT ACC ADJUST AND AP_LD BREAK CALL CNT COL CONDITION CONFIG DA DB DIV DETECT ELSE END ENDFOR ERR_NUM ERROR_PROG FINE FOR GP GUARD INC IF JMP LINEAR_MAX_SPEED LOCK MOD MONITOR OFFSET Offset OR OVERRIDE PAUSE PREG PTH RT_LD RUN SELECT SKIP Skip TA TB TO TOOL_OFFSET Tool_Offset UF UT UFRAME_NUM UTOOL_NUM UNLOCK WAIT X Y Z W P R STRLEN SUBSTR FINDSTR VOFFSET PROG ATTR MN POS",literal:"ON OFF max_speed LPOS JPOS ENABLE DISABLE START STOP RESET"},contains:[TPDATA,TPIO,{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},hljs.COMMENT("//","[;$]"),hljs.COMMENT("!","[;$]"),hljs.COMMENT("--eg:","$"),hljs.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},hljs.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}module.exports=tp},54602:module=>{function twig(hljs){var PARAMS={className:"params",begin:"\\(",end:"\\)"},FUNCTION_NAMES="attribute block constant cycle date dump include max min parent random range source template_from_string",FUNCTIONS={beginKeywords:FUNCTION_NAMES,keywords:{name:FUNCTION_NAMES},relevance:0,contains:[PARAMS]},FILTER={begin:/\|[A-Za-z_]+:?/,keywords:"abs batch capitalize column convert_encoding date date_modify default escape filter first format inky_to_html inline_css join json_encode keys last length lower map markdown merge nl2br number_format raw reduce replace reverse round slice sort spaceless split striptags title trim upper url_encode",contains:[FUNCTIONS]},TAGS="apply autoescape block deprecated do embed extends filter flush for from if import include macro sandbox set use verbatim with";return TAGS=TAGS+" "+TAGS.split(" ").map(function(t){return"end"+t}).join(" "),{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[hljs.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:TAGS,starts:{endsWithParent:!0,contains:[FILTER,FUNCTIONS],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",FILTER,FUNCTIONS]}]}}module.exports=twig},2056:module=>{const IDENT_RE="[A-Za-z$_][0-9A-Za-z$_]*",KEYWORDS=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],LITERALS=["true","false","null","undefined","NaN","Infinity"],TYPES=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],ERROR_TYPES=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],BUILT_IN_GLOBALS=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],BUILT_IN_VARIABLES=["arguments","this","super","console","window","document","localStorage","module","global"],BUILT_INS=[].concat(BUILT_IN_GLOBALS,BUILT_IN_VARIABLES,TYPES,ERROR_TYPES);function source(re){return re?typeof re=="string"?re:re.source:null}function lookahead(re){return concat("(?=",re,")")}function concat(...args){return args.map(x=>source(x)).join("")}function javascript(hljs){const hasClosingTag=(match,{after})=>{const tag="</"+match[0].slice(1);return match.input.indexOf(tag,after)!==-1},IDENT_RE$1=IDENT_RE,FRAGMENT={begin:"<>",end:"</>"},XML_TAG={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(match,response)=>{const afterMatchIndex=match[0].length+match.index,nextChar=match.input[afterMatchIndex];if(nextChar==="<"){response.ignoreMatch();return}nextChar===">"&&(hasClosingTag(match,{after:afterMatchIndex})||response.ignoreMatch())}},KEYWORDS$1={$pattern:IDENT_RE,keyword:KEYWORDS,literal:LITERALS,built_in:BUILT_INS},decimalDigits="[0-9](_?[0-9])*",frac=`\\.(${decimalDigits})`,decimalInteger="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",NUMBER={className:"number",variants:[{begin:`(\\b(${decimalInteger})((${frac})|\\.)?|(${frac}))[eE][+-]?(${decimalDigits})\\b`},{begin:`\\b(${decimalInteger})\\b((${frac})\\b|\\.)?|(${frac})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},SUBST={className:"subst",begin:"\\$\\{",end:"\\}",keywords:KEYWORDS$1,contains:[]},HTML_TEMPLATE={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[hljs.BACKSLASH_ESCAPE,SUBST],subLanguage:"xml"}},CSS_TEMPLATE={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[hljs.BACKSLASH_ESCAPE,SUBST],subLanguage:"css"}},TEMPLATE_STRING={className:"string",begin:"`",end:"`",contains:[hljs.BACKSLASH_ESCAPE,SUBST]},JSDOC_COMMENT=hljs.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:IDENT_RE$1+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),COMMENT={className:"comment",variants:[JSDOC_COMMENT,hljs.C_BLOCK_COMMENT_MODE,hljs.C_LINE_COMMENT_MODE]},SUBST_INTERNALS=[hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,HTML_TEMPLATE,CSS_TEMPLATE,TEMPLATE_STRING,NUMBER,hljs.REGEXP_MODE];SUBST.contains=SUBST_INTERNALS.concat({begin:/\{/,end:/\}/,keywords:KEYWORDS$1,contains:["self"].concat(SUBST_INTERNALS)});const SUBST_AND_COMMENTS=[].concat(COMMENT,SUBST.contains),PARAMS_CONTAINS=SUBST_AND_COMMENTS.concat([{begin:/\(/,end:/\)/,keywords:KEYWORDS$1,contains:["self"].concat(SUBST_AND_COMMENTS)}]),PARAMS={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:KEYWORDS$1,contains:PARAMS_CONTAINS};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:KEYWORDS$1,exports:{PARAMS_CONTAINS},illegal:/#(?![$_A-z])/,contains:[hljs.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,HTML_TEMPLATE,CSS_TEMPLATE,TEMPLATE_STRING,COMMENT,NUMBER,{begin:concat(/[{,\n]\s*/,lookahead(concat(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,IDENT_RE$1+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:IDENT_RE$1+lookahead("\\s*:"),relevance:0}]},{begin:"("+hljs.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[COMMENT,hljs.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+hljs.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:hljs.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:KEYWORDS$1,contains:PARAMS_CONTAINS}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:FRAGMENT.begin,end:FRAGMENT.end},{begin:XML_TAG.begin,"on:begin":XML_TAG.isTrulyOpeningTag,end:XML_TAG.end}],subLanguage:"xml",contains:[{begin:XML_TAG.begin,end:XML_TAG.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:KEYWORDS$1,contains:["self",hljs.inherit(hljs.TITLE_MODE,{begin:IDENT_RE$1}),PARAMS],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:hljs.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[PARAMS,hljs.inherit(hljs.TITLE_MODE,{begin:IDENT_RE$1})]},{variants:[{begin:"\\."+IDENT_RE$1},{begin:"\\$"+IDENT_RE$1}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},hljs.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[hljs.inherit(hljs.TITLE_MODE,{begin:IDENT_RE$1}),"self",PARAMS]},{begin:"(get|set)\\s+(?="+IDENT_RE$1+"\\()",end:/\{/,keywords:"get set",contains:[hljs.inherit(hljs.TITLE_MODE,{begin:IDENT_RE$1}),{begin:/\(\)/},PARAMS]},{begin:/\$[(.]/}]}}function typescript(hljs){const IDENT_RE$1=IDENT_RE,NAMESPACE={beginKeywords:"namespace",end:/\{/,excludeEnd:!0},INTERFACE={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:"interface extends"},USE_STRICT={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},TYPES2=["any","void","number","boolean","string","object","never","enum"],TS_SPECIFIC_KEYWORDS=["type","namespace","typedef","interface","public","private","protected","implements","declare","abstract","readonly"],KEYWORDS$1={$pattern:IDENT_RE,keyword:KEYWORDS.concat(TS_SPECIFIC_KEYWORDS),literal:LITERALS,built_in:BUILT_INS.concat(TYPES2)},DECORATOR={className:"meta",begin:"@"+IDENT_RE$1},swapMode=(mode,label,replacement)=>{const indx=mode.contains.findIndex(m=>m.label===label);if(indx===-1)throw new Error("can not find mode to replace");mode.contains.splice(indx,1,replacement)},tsLanguage=javascript(hljs);Object.assign(tsLanguage.keywords,KEYWORDS$1),tsLanguage.exports.PARAMS_CONTAINS.push(DECORATOR),tsLanguage.contains=tsLanguage.contains.concat([DECORATOR,NAMESPACE,INTERFACE]),swapMode(tsLanguage,"shebang",hljs.SHEBANG()),swapMode(tsLanguage,"use_strict",USE_STRICT);const functionDeclaration=tsLanguage.contains.find(m=>m.className==="function");return functionDeclaration.relevance=0,Object.assign(tsLanguage,{name:"TypeScript",aliases:["ts","tsx"]}),tsLanguage}module.exports=typescript},52959:module=>{function vala(hljs){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[hljs.UNDERSCORE_TITLE_MODE]},hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,hljs.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$",relevance:2}]}}module.exports=vala},74048:module=>{function source(re){return re?typeof re=="string"?re:re.source:null}function concat(...args){return args.map(x=>source(x)).join("")}function either(...args){return"("+args.map(x=>source(x)).join("|")+")"}function vbnet(hljs){const CHARACTER={className:"string",begin:/"(""|[^/n])"C\b/},STRING={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},MM_DD_YYYY=/\d{1,2}\/\d{1,2}\/\d{4}/,YYYY_MM_DD=/\d{4}-\d{1,2}-\d{1,2}/,TIME_12H=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,TIME_24H=/\d{1,2}(:\d{1,2}){1,2}/,DATE={className:"literal",variants:[{begin:concat(/# */,either(YYYY_MM_DD,MM_DD_YYYY),/ *#/)},{begin:concat(/# */,TIME_24H,/ *#/)},{begin:concat(/# */,TIME_12H,/ *#/)},{begin:concat(/# */,either(YYYY_MM_DD,MM_DD_YYYY),/ +/,either(TIME_12H,TIME_24H),/ *#/)}]},NUMBER={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},LABEL={className:"label",begin:/^\w+:/},DOC_COMMENT=hljs.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),COMMENT=hljs.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[CHARACTER,STRING,DATE,NUMBER,LABEL,DOC_COMMENT,COMMENT,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{"meta-keyword":"const disable else elseif enable end externalsource if region then"},contains:[COMMENT]}]}}module.exports=vbnet},85811:module=>{function vbscriptHtml(hljs){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}module.exports=vbscriptHtml},70616:module=>{function source(re){return re?typeof re=="string"?re:re.source:null}function concat(...args){return args.map(x=>source(x)).join("")}function either(...args){return"("+args.map(x=>source(x)).join("|")+")"}function vbscript(hljs){const BUILT_IN_FUNCTIONS="lcase month vartype instrrev ubound setlocale getobject rgb getref string weekdayname rnd dateadd monthname now day minute isarray cbool round formatcurrency conversions csng timevalue second year space abs clng timeserial fixs len asc isempty maths dateserial atn timer isobject filter weekday datevalue ccur isdate instr datediff formatdatetime replace isnull right sgn array snumeric log cdbl hex chr lbound msgbox ucase getlocale cos cdate cbyte rtrim join hour oct typename trim strcomp int createobject loadpicture tan formatnumber mid split cint sin datepart ltrim sqr time derived eval date formatpercent exp inputbox left ascw chrw regexp cstr err".split(" "),BUILT_IN_OBJECTS=["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],BUILT_IN_CALL={begin:concat(either(...BUILT_IN_FUNCTIONS),"\\s*\\("),relevance:0,keywords:{built_in:BUILT_IN_FUNCTIONS}};return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:"call class const dim do loop erase execute executeglobal exit for each next function if then else on error option explicit new private property let get public randomize redim rem select case set stop sub while wend with end to elseif is or xor and not class_initialize class_terminate default preserve in me byval byref step resume goto",built_in:BUILT_IN_OBJECTS,literal:"true false null nothing empty"},illegal:"//",contains:[BUILT_IN_CALL,hljs.inherit(hljs.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),hljs.COMMENT(/'/,/$/,{relevance:0}),hljs.C_NUMBER_MODE]}}module.exports=vbscript},93813:module=>{function verilog(hljs){return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:{$pattern:/[\w\$]+/,keyword:"accept_on alias always always_comb always_ff always_latch and assert assign assume automatic before begin bind bins binsof bit break buf|0 bufif0 bufif1 byte case casex casez cell chandle checker class clocking cmos config const constraint context continue cover covergroup coverpoint cross deassign default defparam design disable dist do edge else end endcase endchecker endclass endclocking endconfig endfunction endgenerate endgroup endinterface endmodule endpackage endprimitive endprogram endproperty endspecify endsequence endtable endtask enum event eventually expect export extends extern final first_match for force foreach forever fork forkjoin function generate|5 genvar global highz0 highz1 if iff ifnone ignore_bins illegal_bins implements implies import incdir include initial inout input inside instance int integer interconnect interface intersect join join_any join_none large let liblist library local localparam logic longint macromodule matches medium modport module nand negedge nettype new nexttime nmos nor noshowcancelled not notif0 notif1 or output package packed parameter pmos posedge primitive priority program property protected pull0 pull1 pulldown pullup pulsestyle_ondetect pulsestyle_onevent pure rand randc randcase randsequence rcmos real realtime ref reg reject_on release repeat restrict return rnmos rpmos rtran rtranif0 rtranif1 s_always s_eventually s_nexttime s_until s_until_with scalared sequence shortint shortreal showcancelled signed small soft solve specify specparam static string strong strong0 strong1 struct super supply0 supply1 sync_accept_on sync_reject_on table tagged task this throughout time timeprecision timeunit tran tranif0 tranif1 tri tri0 tri1 triand trior trireg type typedef union unique unique0 unsigned until until_with untyped use uwire var vectored virtual void wait wait_order wand weak weak0 weak1 while wildcard wire with within wor xnor xor",literal:"null",built_in:"$finish $stop $exit $fatal $error $warning $info $realtime $time $printtimescale $bitstoreal $bitstoshortreal $itor $signed $cast $bits $stime $timeformat $realtobits $shortrealtobits $rtoi $unsigned $asserton $assertkill $assertpasson $assertfailon $assertnonvacuouson $assertoff $assertcontrol $assertpassoff $assertfailoff $assertvacuousoff $isunbounded $sampled $fell $changed $past_gclk $fell_gclk $changed_gclk $rising_gclk $steady_gclk $coverage_control $coverage_get $coverage_save $set_coverage_db_name $rose $stable $past $rose_gclk $stable_gclk $future_gclk $falling_gclk $changing_gclk $display $coverage_get_max $coverage_merge $get_coverage $load_coverage_db $typename $unpacked_dimensions $left $low $increment $clog2 $ln $log10 $exp $sqrt $pow $floor $ceil $sin $cos $tan $countbits $onehot $isunknown $fatal $warning $dimensions $right $high $size $asin $acos $atan $atan2 $hypot $sinh $cosh $tanh $asinh $acosh $atanh $countones $onehot0 $error $info $random $dist_chi_square $dist_erlang $dist_exponential $dist_normal $dist_poisson $dist_t $dist_uniform $q_initialize $q_remove $q_exam $async$and$array $async$nand$array $async$or$array $async$nor$array $sync$and$array $sync$nand$array $sync$or$array $sync$nor$array $q_add $q_full $psprintf $async$and$plane $async$nand$plane $async$or$plane $async$nor$plane $sync$and$plane $sync$nand$plane $sync$or$plane $sync$nor$plane $system $display $displayb $displayh $displayo $strobe $strobeb $strobeh $strobeo $write $readmemb $readmemh $writememh $value$plusargs $dumpvars $dumpon $dumplimit $dumpports $dumpportson $dumpportslimit $writeb $writeh $writeo $monitor $monitorb $monitorh $monitoro $writememb $dumpfile $dumpoff $dumpall $dumpflush $dumpportsoff $dumpportsall $dumpportsflush $fclose $fdisplay $fdisplayb $fdisplayh $fdisplayo $fstrobe $fstrobeb $fstrobeh $fstrobeo $swrite $swriteb $swriteh $swriteo $fscanf $fread $fseek $fflush $feof $fopen $fwrite $fwriteb $fwriteh $fwriteo $fmonitor $fmonitorb $fmonitorh $fmonitoro $sformat $sformatf $fgetc $ungetc $fgets $sscanf $rewind $ftell $ferror"},contains:[hljs.C_BLOCK_COMMENT_MODE,hljs.C_LINE_COMMENT_MODE,hljs.QUOTE_STRING_MODE,{className:"number",contains:[hljs.BACKSLASH_ESCAPE],variants:[{begin:"\\b((\\d+'(b|h|o|d|B|H|O|D))[0-9xzXZa-fA-F_]+)"},{begin:"\\B(('(b|h|o|d|B|H|O|D))[0-9xzXZa-fA-F_]+)"},{begin:"\\b([0-9_])+",relevance:0}]},{className:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{className:"meta",begin:"`",end:"$",keywords:{"meta-keyword":"define __FILE__ __LINE__ begin_keywords celldefine default_nettype define else elsif end_keywords endcelldefine endif ifdef ifndef include line nounconnected_drive pragma resetall timescale unconnected_drive undef undefineall"},relevance:0}]}}module.exports=verilog},73407:module=>{function vhdl(hljs){const INTEGER_RE="\\d(_|\\d)*",EXPONENT_RE="[eE][-+]?"+INTEGER_RE,DECIMAL_LITERAL_RE=INTEGER_RE+"(\\."+INTEGER_RE+")?("+EXPONENT_RE+")?",BASED_INTEGER_RE="\\w+",BASED_LITERAL_RE=INTEGER_RE+"#"+BASED_INTEGER_RE+"(\\."+BASED_INTEGER_RE+")?#("+EXPONENT_RE+")?",NUMBER_RE="\\b("+BASED_LITERAL_RE+"|"+DECIMAL_LITERAL_RE+")";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:"abs access after alias all and architecture array assert assume assume_guarantee attribute begin block body buffer bus case component configuration constant context cover disconnect downto default else elsif end entity exit fairness file for force function generate generic group guarded if impure in inertial inout is label library linkage literal loop map mod nand new next nor not null of on open or others out package parameter port postponed procedure process property protected pure range record register reject release rem report restrict restrict_guarantee return rol ror select sequence severity shared signal sla sll sra srl strong subtype then to transport type unaffected units until use variable view vmode vprop vunit wait when while with xnor xor",built_in:"boolean bit character integer time delay_length natural positive string bit_vector file_open_kind file_open_status std_logic std_logic_vector unsigned signed boolean_vector integer_vector std_ulogic std_ulogic_vector unresolved_unsigned u_unsigned unresolved_signed u_signed real_vector time_vector",literal:"false true note warning error failure line text side width"},illegal:/\{/,contains:[hljs.C_BLOCK_COMMENT_MODE,hljs.COMMENT("--","$"),hljs.QUOTE_STRING_MODE,{className:"number",begin:NUMBER_RE,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[hljs.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[hljs.BACKSLASH_ESCAPE]}]}}module.exports=vhdl},1975:module=>{function vim(hljs){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[hljs.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},hljs.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]*/},{className:"function",beginKeywords:"function function!",end:"$",relevance:0,contains:[hljs.TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}module.exports=vim},98761:module=>{function x86asm(hljs){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+hljs.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[hljs.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},hljs.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}module.exports=x86asm},6386:module=>{function xl(hljs){const XL_KEYWORDS={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:"if then else do while until for loop import with is as where when by data constant integer real text name boolean symbol infix prefix postfix block tree",literal:"true false nil",built_in:"in mod rem and or xor not abs sign floor ceil sqrt sin cos tan asin acos atan exp expm1 log log2 log10 log1p pi at text_length text_range text_find text_replace contains page slide basic_slide title_slide title subtitle fade_in fade_out fade_at clear_color color line_color line_width texture_wrap texture_transform texture scale_?x scale_?y scale_?z? translate_?x translate_?y translate_?z? rotate_?x rotate_?y rotate_?z? rectangle circle ellipse sphere path line_to move_to quad_to curve_to theme background contents locally time mouse_?x mouse_?y mouse_buttons "+"ObjectLoader Animate MovieCredits Slides Filters Shading Materials LensFlare Mapping VLCAudioVideo StereoDecoder PointCloud NetworkAccess RemoteControl RegExp ChromaKey Snowfall NodeJS Speech Charts"},DOUBLE_QUOTE_TEXT={className:"string",begin:'"',end:'"',illegal:"\\n"},SINGLE_QUOTE_TEXT={className:"string",begin:"'",end:"'",illegal:"\\n"},LONG_TEXT={className:"string",begin:"<<",end:">>"},BASED_NUMBER={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},IMPORT={beginKeywords:"import",end:"$",keywords:XL_KEYWORDS,contains:[DOUBLE_QUOTE_TEXT]},FUNCTION_DEFINITION={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[hljs.inherit(hljs.TITLE_MODE,{starts:{endsWithParent:!0,keywords:XL_KEYWORDS}})]};return{name:"XL",aliases:["tao"],keywords:XL_KEYWORDS,contains:[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,DOUBLE_QUOTE_TEXT,SINGLE_QUOTE_TEXT,LONG_TEXT,FUNCTION_DEFINITION,IMPORT,BASED_NUMBER,hljs.NUMBER_MODE]}}module.exports=xl},5750:module=>{function source(re){return re?typeof re=="string"?re:re.source:null}function lookahead(re){return concat("(?=",re,")")}function optional(re){return concat("(",re,")?")}function concat(...args){return args.map(x=>source(x)).join("")}function either(...args){return"("+args.map(x=>source(x)).join("|")+")"}function xml(hljs){const TAG_NAME_RE=concat(/[A-Z_]/,optional(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),XML_IDENT_RE=/[A-Za-z0-9._:-]+/,XML_ENTITIES={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},XML_META_KEYWORDS={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},XML_META_PAR_KEYWORDS=hljs.inherit(XML_META_KEYWORDS,{begin:/\(/,end:/\)/}),APOS_META_STRING_MODE=hljs.inherit(hljs.APOS_STRING_MODE,{className:"meta-string"}),QUOTE_META_STRING_MODE=hljs.inherit(hljs.QUOTE_STRING_MODE,{className:"meta-string"}),TAG_INTERNALS={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:XML_IDENT_RE,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[XML_ENTITIES]},{begin:/'/,end:/'/,contains:[XML_ENTITIES]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[XML_META_KEYWORDS,QUOTE_META_STRING_MODE,APOS_META_STRING_MODE,XML_META_PAR_KEYWORDS,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[XML_META_KEYWORDS,XML_META_PAR_KEYWORDS,QUOTE_META_STRING_MODE,APOS_META_STRING_MODE]}]}]},hljs.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},XML_ENTITIES,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[TAG_INTERNALS],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[TAG_INTERNALS],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:concat(/</,lookahead(concat(TAG_NAME_RE,either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:TAG_NAME_RE,relevance:0,starts:TAG_INTERNALS}]},{className:"tag",begin:concat(/<\//,lookahead(concat(TAG_NAME_RE,/>/))),contains:[{className:"name",begin:TAG_NAME_RE,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}module.exports=xml},10784:module=>{function xquery(_hljs){return{name:"XQuery",aliases:["xpath","xq"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:"module schema namespace boundary-space preserve no-preserve strip default collation base-uri ordering context decimal-format decimal-separator copy-namespaces empty-sequence except exponent-separator external grouping-separator inherit no-inherit lax minus-sign per-mille percent schema-attribute schema-element strict unordered zero-digit declare import option function validate variable for at in let where order group by return if then else tumbling sliding window start when only end previous next stable ascending descending allowing empty greatest least some every satisfies switch case typeswitch try catch and or to union intersect instance of treat as castable cast map array delete insert into replace value rename copy modify update",type:"item document-node node attribute document element comment namespace namespace-node processing-instruction text construction xs:anyAtomicType xs:untypedAtomic xs:duration xs:time xs:decimal xs:float xs:double xs:gYearMonth xs:gYear xs:gMonthDay xs:gMonth xs:gDay xs:boolean xs:base64Binary xs:hexBinary xs:anyURI xs:QName xs:NOTATION xs:dateTime xs:dateTimeStamp xs:date xs:string xs:normalizedString xs:token xs:language xs:NMTOKEN xs:Name xs:NCName xs:ID xs:IDREF xs:ENTITY xs:integer xs:nonPositiveInteger xs:negativeInteger xs:long xs:int xs:short xs:byte xs:nonNegativeInteger xs:unisignedLong xs:unsignedInt xs:unsignedShort xs:unsignedByte xs:positiveInteger xs:yearMonthDuration xs:dayTimeDuration",literal:"eq ne lt le gt ge is self:: child:: descendant:: descendant-or-self:: attribute:: following:: following-sibling:: parent:: ancestor:: ancestor-or-self:: preceding:: preceding-sibling:: NaN"},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^</$:'"-]\b(?:abs|accumulator-(?:after|before)|adjust-(?:date(?:Time)?|time)-to-timezone|analyze-string|apply|available-(?:environment-variables|system-properties)|avg|base-uri|boolean|ceiling|codepoints?-(?:equal|to-string)|collation-key|collection|compare|concat|contains(?:-token)?|copy-of|count|current(?:-)?(?:date(?:Time)?|time|group(?:ing-key)?|output-uri|merge-(?:group|key))?data|dateTime|days?-from-(?:date(?:Time)?|duration)|deep-equal|default-(?:collation|language)|distinct-values|document(?:-uri)?|doc(?:-available)?|element-(?:available|with-id)|empty|encode-for-uri|ends-with|environment-variable|error|escape-html-uri|exactly-one|exists|false|filter|floor|fold-(?:left|right)|for-each(?:-pair)?|format-(?:date(?:Time)?|time|integer|number)|function-(?:arity|available|lookup|name)|generate-id|has-children|head|hours-from-(?:dateTime|duration|time)|id(?:ref)?|implicit-timezone|in-scope-prefixes|index-of|innermost|insert-before|iri-to-uri|json-(?:doc|to-xml)|key|lang|last|load-xquery-module|local-name(?:-from-QName)?|(?:lower|upper)-case|matches|max|minutes-from-(?:dateTime|duration|time)|min|months?-from-(?:date(?:Time)?|duration)|name(?:space-uri-?(?:for-prefix|from-QName)?)?|nilled|node-name|normalize-(?:space|unicode)|not|number|one-or-more|outermost|parse-(?:ietf-date|json)|path|position|(?:prefix-from-)?QName|random-number-generator|regex-group|remove|replace|resolve-(?:QName|uri)|reverse|root|round(?:-half-to-even)?|seconds-from-(?:dateTime|duration|time)|snapshot|sort|starts-with|static-base-uri|stream-available|string-?(?:join|length|to-codepoints)?|subsequence|substring-?(?:after|before)?|sum|system-property|tail|timezone-from-(?:date(?:Time)?|time)|tokenize|trace|trans(?:form|late)|true|type-available|unordered|unparsed-(?:entity|text)?-?(?:public-id|uri|available|lines)?|uri-collection|xml-to-json|years?-from-(?:date(?:Time)?|duration)|zero-or-one)\b/},{begin:/\blocal:/,end:/\(/,excludeEnd:!0},{begin:/\bzip:/,end:/(?:zip-file|(?:xml|html|text|binary)-entry| (?:update-)?entries)\b/},{begin:/\b(?:util|db|functx|app|xdmp|xmldb):/,end:/\(/,excludeEnd:!0}]},{className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},{className:"number",begin:/(\b0[0-7_]+)|(\b0x[0-9a-fA-F_]+)|(\b[1-9][0-9_]*(\.[0-9_]+)?)|[0_]\b/,relevance:0},{className:"comment",begin:/\(:/,end:/:\)/,relevance:10,contains:[{className:"doctag",begin:/@\w+/}]},{className:"meta",begin:/%[\w\-:]+/},{className:"title",begin:/\bxquery version "[13]\.[01]"\s?(?:encoding ".+")?/,end:/;/},{beginKeywords:"element attribute comment document processing-instruction",end:/\{/,excludeEnd:!0},{begin:/<([\w._:-]+)(\s+\S*=('|").*('|"))?>/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}module.exports=xquery},83322:module=>{function yaml(hljs){var LITERALS="true false yes no null",URI_CHARACTERS="[\\w#;/?:@&=+$,.~*'()[\\]]+",KEY={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},TEMPLATE_VARIABLES={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},STRING={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[hljs.BACKSLASH_ESCAPE,TEMPLATE_VARIABLES]},CONTAINER_STRING=hljs.inherit(STRING,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),DATE_RE="[0-9]{4}(-[0-9][0-9]){0,2}",TIME_RE="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",FRACTION_RE="(\\.[0-9]*)?",ZONE_RE="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",TIMESTAMP={className:"number",begin:"\\b"+DATE_RE+TIME_RE+FRACTION_RE+ZONE_RE+"\\b"},VALUE_CONTAINER={end:",",endsWithParent:!0,excludeEnd:!0,keywords:LITERALS,relevance:0},OBJECT={begin:/\{/,end:/\}/,contains:[VALUE_CONTAINER],illegal:"\\n",relevance:0},ARRAY={begin:"\\[",end:"\\]",contains:[VALUE_CONTAINER],illegal:"\\n",relevance:0},MODES=[KEY,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+URI_CHARACTERS},{className:"type",begin:"!<"+URI_CHARACTERS+">"},{className:"type",begin:"!"+URI_CHARACTERS},{className:"type",begin:"!!"+URI_CHARACTERS},{className:"meta",begin:"&"+hljs.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+hljs.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},hljs.HASH_COMMENT_MODE,{beginKeywords:LITERALS,keywords:{literal:LITERALS}},TIMESTAMP,{className:"number",begin:hljs.C_NUMBER_RE+"\\b",relevance:0},OBJECT,ARRAY,STRING],VALUE_MODES=[...MODES];return VALUE_MODES.pop(),VALUE_MODES.push(CONTAINER_STRING),VALUE_CONTAINER.contains=VALUE_MODES,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:MODES}}module.exports=yaml},89417:module=>{function zephir(hljs){const STRING={className:"string",contains:[hljs.BACKSLASH_ESCAPE],variants:[hljs.inherit(hljs.APOS_STRING_MODE,{illegal:null}),hljs.inherit(hljs.QUOTE_STRING_MODE,{illegal:null})]},TITLE_MODE=hljs.UNDERSCORE_TITLE_MODE,NUMBER={variants:[hljs.BINARY_NUMBER_MODE,hljs.C_NUMBER_MODE]},KEYWORDS="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:KEYWORDS,contains:[hljs.C_LINE_COMMENT_MODE,hljs.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[hljs.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:KEYWORDS,contains:["self",hljs.C_BLOCK_COMMENT_MODE,STRING,NUMBER]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},TITLE_MODE]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[TITLE_MODE]},{beginKeywords:"use",end:/;/,contains:[TITLE_MODE]},{begin:/=>/},STRING,NUMBER]}}module.exports=zephir},28583:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";const decamelize=__webpack_require__(85051),humanizeString=input=>{if(typeof input!="string")throw new TypeError("Expected a string");return input=decamelize(input),input=input.toLowerCase().replace(/[_-]+/g," ").replace(/\s{2,}/g," ").trim(),input=input.charAt(0).toUpperCase()+input.slice(1),input};module.exports=humanizeString,module.exports.default=humanizeString},30551:(__unused_webpack_module,exports)=>{/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */exports.read=function(buffer,offset,isLE,mLen,nBytes){var e,m,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,nBits=-7,i=isLE?nBytes-1:0,d=isLE?-1:1,s=buffer[offset+i];for(i+=d,e=s&(1<<-nBits)-1,s>>=-nBits,nBits+=eLen;nBits>0;e=e*256+buffer[offset+i],i+=d,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=m*256+buffer[offset+i],i+=d,nBits-=8);if(e===0)e=1-eBias;else{if(e===eMax)return m?NaN:(s?-1:1)*(1/0);m=m+Math.pow(2,mLen),e=e-eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)},exports.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=mLen===23?Math.pow(2,-24)-Math.pow(2,-77):0,i=isLE?0:nBytes-1,d=isLE?1:-1,s=value<0||value===0&&1/value<0?1:0;for(value=Math.abs(value),isNaN(value)||value===1/0?(m=isNaN(value)?1:0,e=eMax):(e=Math.floor(Math.log(value)/Math.LN2),value*(c=Math.pow(2,-e))<1&&(e--,c*=2),e+eBias>=1?value+=rt/c:value+=rt*Math.pow(2,1-eBias),value*c>=2&&(e++,c/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c-1)*Math.pow(2,mLen),e=e+eBias):(m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen),e=0));mLen>=8;buffer[offset+i]=m&255,i+=d,m/=256,mLen-=8);for(e=e<<mLen|m,eLen+=mLen;eLen>0;buffer[offset+i]=e&255,i+=d,e/=256,eLen-=8);buffer[offset+i-d]|=s*128}},2937:module=>{typeof Object.create=="function"?module.exports=function(ctor,superCtor){superCtor&&(ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}}))}:module.exports=function(ctor,superCtor){if(superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype,ctor.prototype=new TempCtor,ctor.prototype.constructor=ctor}}},44599:module=>{"use strict";module.exports=alphabetical;function alphabetical(character){var code=typeof character=="string"?character.charCodeAt(0):character;return code>=97&&code<=122||code>=65&&code<=90}},21831:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var alphabetical=__webpack_require__(44599),decimal=__webpack_require__(8451);module.exports=alphanumerical;function alphanumerical(character){return alphabetical(character)||decimal(character)}},42571:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var hasToStringTag=__webpack_require__(47388)(),callBound=__webpack_require__(74161),$toString=callBound("Object.prototype.toString"),isStandardArguments=function(value){return hasToStringTag&&value&&typeof value=="object"&&Symbol.toStringTag in value?!1:$toString(value)==="[object Arguments]"},isLegacyArguments=function(value){return isStandardArguments(value)?!0:value!==null&&typeof value=="object"&&typeof value.length=="number"&&value.length>=0&&$toString(value)!=="[object Array]"&&$toString(value.callee)==="[object Function]"},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments,module.exports=supportsStandardArguments?isStandardArguments:isLegacyArguments},33655:module=>{"use strict";var fnToStr=Function.prototype.toString,reflectApply=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,badArrayLike,isCallableMarker;if(typeof reflectApply=="function"&&typeof Object.defineProperty=="function")try{badArrayLike=Object.defineProperty({},"length",{get:function(){throw isCallableMarker}}),isCallableMarker={},reflectApply(function(){throw 42},null,badArrayLike)}catch(_){_!==isCallableMarker&&(reflectApply=null)}else reflectApply=null;var constructorRegex=/^\s*class\b/,isES6ClassFn=function(value){try{var fnStr=fnToStr.call(value);return constructorRegex.test(fnStr)}catch{return!1}},tryFunctionObject=function(value){try{return isES6ClassFn(value)?!1:(fnToStr.call(value),!0)}catch{return!1}},toStr=Object.prototype.toString,objectClass="[object Object]",fnClass="[object Function]",genClass="[object GeneratorFunction]",ddaClass="[object HTMLAllCollection]",ddaClass2="[object HTML document.all class]",ddaClass3="[object HTMLCollection]",hasToStringTag=typeof Symbol=="function"&&!!Symbol.toStringTag,isIE68=!(0 in[,]),isDDA=function(){return!1};if(typeof document=="object"){var all=document.all;toStr.call(all)===toStr.call(document.all)&&(isDDA=function(value){if((isIE68||!value)&&(typeof value>"u"||typeof value=="object"))try{var str=toStr.call(value);return(str===ddaClass||str===ddaClass2||str===ddaClass3||str===objectClass)&&value("")==null}catch{}return!1})}module.exports=reflectApply?function(value){if(isDDA(value))return!0;if(!value||typeof value!="function"&&typeof value!="object")return!1;try{reflectApply(value,null,badArrayLike)}catch(e){if(e!==isCallableMarker)return!1}return!isES6ClassFn(value)&&tryFunctionObject(value)}:function(value){if(isDDA(value))return!0;if(!value||typeof value!="function"&&typeof value!="object")return!1;if(hasToStringTag)return tryFunctionObject(value);if(isES6ClassFn(value))return!1;var strClass=toStr.call(value);return strClass!==fnClass&&strClass!==genClass&&!/^\[object HTML/.test(strClass)?!1:tryFunctionObject(value)}},8451:module=>{"use strict";module.exports=decimal;function decimal(character){var code=typeof character=="string"?character.charCodeAt(0):character;return code>=48&&code<=57}},89141:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var toStr=Object.prototype.toString,fnToStr=Function.prototype.toString,isFnRegex=/^\s*(?:function)?\*/,hasToStringTag=__webpack_require__(47388)(),getProto=Object.getPrototypeOf,getGeneratorFunc=function(){if(!hasToStringTag)return!1;try{return Function("return function*() {}")()}catch{}},GeneratorFunction;module.exports=function(fn){if(typeof fn!="function")return!1;if(isFnRegex.test(fnToStr.call(fn)))return!0;if(!hasToStringTag){var str=toStr.call(fn);return str==="[object GeneratorFunction]"}if(!getProto)return!1;if(typeof GeneratorFunction>"u"){var generatorFunc=getGeneratorFunc();GeneratorFunction=generatorFunc?getProto(generatorFunc):!1}return getProto(fn)===GeneratorFunction}},29401:module=>{"use strict";module.exports=hexadecimal;function hexadecimal(character){var code=typeof character=="string"?character.charCodeAt(0):character;return code>=97&&code<=102||code>=65&&code<=70||code>=48&&code<=57}},2612:module=>{"use strict";module.exports=function(value){return value!==value}},65757:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var callBind=__webpack_require__(96350),define=__webpack_require__(89722),implementation=__webpack_require__(2612),getPolyfill=__webpack_require__(79774),shim=__webpack_require__(6928),polyfill=callBind(getPolyfill(),Number);define(polyfill,{getPolyfill,implementation,shim}),module.exports=polyfill},79774:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var implementation=__webpack_require__(2612);module.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:implementation}},6928:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var define=__webpack_require__(89722),getPolyfill=__webpack_require__(79774);module.exports=function(){var polyfill=getPolyfill();return define(Number,{isNaN:polyfill},{isNaN:function(){return Number.isNaN!==polyfill}}),polyfill}},37261:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var whichTypedArray=__webpack_require__(44418);module.exports=function(value){return!!whichTypedArray(value)}},36768:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var Buffer=__webpack_require__(55872).Buffer,__awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){function adopt(value){return value instanceof P?value:new P(function(resolve){resolve(value)})}return new(P||(P=Promise))(function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):adopt(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())})};Object.defineProperty(exports,"__esModule",{value:!0});const fs=__webpack_require__(5010),util_1=__webpack_require__(93585),statAsync=util_1.promisify(fs.stat),openAsync=util_1.promisify(fs.open),closeAsync=util_1.promisify(fs.close),MAX_BYTES=512;function isBinaryFile(file,size){return __awaiter(this,void 0,void 0,function*(){if(isString(file)){const stat=yield statAsync(file);isStatFile(stat);const fileDescriptor=yield openAsync(file,"r"),allocBuffer=Buffer.alloc(MAX_BYTES);return new Promise((fulfill,reject)=>{fs.read(fileDescriptor,allocBuffer,0,MAX_BYTES,0,(err,bytesRead,_)=>{closeAsync(fileDescriptor),err?reject(err):fulfill(isBinaryCheck(allocBuffer,bytesRead))})})}else return size===void 0&&(size=file.length),isBinaryCheck(file,size)})}exports.isBinaryFile=isBinaryFile;function isBinaryFileSync(file,size){if(isString(file)){const stat=fs.statSync(file);isStatFile(stat);const fileDescriptor=fs.openSync(file,"r"),allocBuffer=Buffer.alloc(MAX_BYTES),bytesRead=fs.readSync(fileDescriptor,allocBuffer,0,MAX_BYTES,0);return fs.closeSync(fileDescriptor),isBinaryCheck(allocBuffer,bytesRead)}else return size===void 0&&(size=file.length),isBinaryCheck(file,size)}exports.isBinaryFileSync=isBinaryFileSync;function isBinaryCheck(fileBuffer,bytesRead){if(bytesRead===0)return!1;let suspiciousBytes=0;const totalBytes=Math.min(bytesRead,MAX_BYTES);if(bytesRead>=3&&fileBuffer[0]===239&&fileBuffer[1]===187&&fileBuffer[2]===191||bytesRead>=4&&fileBuffer[0]===0&&fileBuffer[1]===0&&fileBuffer[2]===254&&fileBuffer[3]===255||bytesRead>=4&&fileBuffer[0]===255&&fileBuffer[1]===254&&fileBuffer[2]===0&&fileBuffer[3]===0||bytesRead>=4&&fileBuffer[0]===132&&fileBuffer[1]===49&&fileBuffer[2]===149&&fileBuffer[3]===51)return!1;if(totalBytes>=5&&fileBuffer.slice(0,5).toString()==="%PDF-")return!0;if(bytesRead>=2&&fileBuffer[0]===254&&fileBuffer[1]===255||bytesRead>=2&&fileBuffer[0]===255&&fileBuffer[1]===254)return!1;for(let i=0;i<totalBytes;i++){if(fileBuffer[i]===0)return!0;if((fileBuffer[i]<7||fileBuffer[i]>14)&&(fileBuffer[i]<32||fileBuffer[i]>127)){if(fileBuffer[i]>193&&fileBuffer[i]<224&&i+1<totalBytes){if(i++,fileBuffer[i]>127&&fileBuffer[i]<192)continue}else if(fileBuffer[i]>223&&fileBuffer[i]<240&&i+2<totalBytes&&(i++,fileBuffer[i]>127&&fileBuffer[i]<192&&fileBuffer[i+1]>127&&fileBuffer[i+1]<192)){i++;continue}if(suspiciousBytes++,i>32&&suspiciousBytes*100/totalBytes>10)return!0}}return suspiciousBytes*100/totalBytes>10}function isString(x){return typeof x=="string"}function isStatFile(stat){if(!stat.isFile())throw new Error("Path provided was not a file!")}},38419:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>JavascriptTimeAgo,intlDateTimeFormatSupported:()=>intlDateTimeFormatSupported,intlDateTimeFormatSupportedLocale:()=>intlDateTimeFormatSupportedLocale});var defaultLocale="en",localesData={};function getDefaultLocale(){return defaultLocale}function setDefaultLocale(locale){defaultLocale=locale}function getLocaleData(locale){return localesData[locale]}function addLocaleData(localeData){if(!localeData)throw new Error("No locale data passed");localesData[localeData.locale]=localeData}function resolveLocale(locale){var options=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},localeMatcher=options.localeMatcher||"lookup";switch(localeMatcher){case"lookup":return resolveLocaleLookup(locale);case"best fit":return resolveLocaleLookup(locale);default:throw new RangeError('Invalid "localeMatcher" option: '.concat(localeMatcher))}}function resolveLocaleLookup(locale){if(getLocaleData(locale))return locale;for(var parts=locale.split("-");locale.length>1;)if(parts.pop(),locale=parts.join("-"),getLocaleData(locale))return locale}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Constructor}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var UNITS=["second","minute","hour","day","week","month","quarter","year"],NUMERIC_VALUES=["auto","always"],STYLE_VALUES=["long","short","narrow"],RelativeTimeFormat=function(){function RelativeTimeFormat2(){var locales=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],options=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};_classCallCheck(this,RelativeTimeFormat2),_defineProperty(this,"numeric","always"),_defineProperty(this,"style","long"),_defineProperty(this,"localeMatcher","lookup");var numeric=options.numeric,style=options.style,localeMatcher=options.localeMatcher;if(numeric){if(NUMERIC_VALUES.indexOf(numeric)<0)throw new RangeError('Invalid "numeric" option: '.concat(numeric));this.numeric=numeric}if(style){if(STYLE_VALUES.indexOf(style)<0)throw new RangeError('Invalid "style" option: '.concat(style));this.style=style}if(localeMatcher&&(this.localeMatcher=localeMatcher),typeof locales=="string"&&(locales=[locales]),locales.push(getDefaultLocale()),this.locale=RelativeTimeFormat2.supportedLocalesOf(locales,{localeMatcher:this.localeMatcher})[0],!this.locale)throw new TypeError("No supported locale was found");this.locale=resolveLocale(this.locale,{localeMatcher:this.localeMatcher}),typeof Intl<"u"&&Intl.NumberFormat&&(this.numberFormat=new Intl.NumberFormat(this.locale))}return _createClass(RelativeTimeFormat2,[{key:"format",value:function(value,unit){return this.getRule(value,unit).replace("{0}",this.formatNumber(Math.abs(value)))}},{key:"formatToParts",value:function(value,unit){var rule=this.getRule(value,unit),valueIndex=rule.indexOf("{0}");if(valueIndex<0)return[{type:"literal",value:rule}];var parts=[];return valueIndex>0&&parts.push({type:"literal",value:rule.slice(0,valueIndex)}),parts.push({unit,type:"integer",value:this.formatNumber(Math.abs(value))}),valueIndex+3<rule.length-1&&parts.push({type:"literal",value:rule.slice(valueIndex+3)}),parts}},{key:"getRule",value:function(value,unit){if(UNITS.indexOf(unit)<0)throw new RangeError("Unknown time unit: ".concat(unit,"."));var unitRules=getLocaleData(this.locale)[this.style][unit];if(this.numeric==="auto"){if(value===-2||value===-1){var message=unitRules["previous".concat(value===-1?"":"-"+Math.abs(value))];if(message)return message}else if(value===1||value===2){var _message=unitRules["next".concat(value===1?"":"-"+Math.abs(value))];if(_message)return _message}else if(value===0&&unitRules.current)return unitRules.current}var quantifierRules=unitRules[value<=0?"past":"future"];if(typeof quantifierRules=="string")return quantifierRules;var quantify=getLocaleData(this.locale).quantify,quantifier=quantify&&quantify(Math.abs(value));return quantifier=quantifier||"other",quantifierRules[quantifier]||quantifierRules.other}},{key:"formatNumber",value:function(number){return this.numberFormat?this.numberFormat.format(number):String(number)}},{key:"resolvedOptions",value:function(){return{locale:this.locale,style:this.style,numeric:this.numeric}}}]),RelativeTimeFormat2}();RelativeTimeFormat.supportedLocalesOf=function(locales){var options=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return typeof locales=="string"&&(locales=[locales]),locales.filter(function(locale){return resolveLocale(locale,options)})},RelativeTimeFormat.addLocale=addLocaleData,RelativeTimeFormat.setDefaultLocale=setDefaultLocale,RelativeTimeFormat.getDefaultLocale=getDefaultLocale;function _typeof(obj){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(obj2){return typeof obj2}:_typeof=function(obj2){return obj2&&typeof Symbol=="function"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2},_typeof(obj)}function cache_classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function cache_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 cache_createClass(Constructor,protoProps,staticProps){return protoProps&&cache_defineProperties(Constructor.prototype,protoProps),staticProps&&cache_defineProperties(Constructor,staticProps),Constructor}function cache_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var Cache=function(){function Cache2(){cache_classCallCheck(this,Cache2),cache_defineProperty(this,"cache",{})}return cache_createClass(Cache2,[{key:"get",value:function(){for(var cache=this.cache,_len=arguments.length,keys=new Array(_len),_key=0;_key<_len;_key++)keys[_key]=arguments[_key];for(var _i=0;_i<keys.length;_i++){var key=keys[_i];if(_typeof(cache)!=="object")return;cache=cache[key]}return cache}},{key:"put",value:function(){for(var _len2=arguments.length,keys=new Array(_len2),_key2=0;_key2<_len2;_key2++)keys[_key2]=arguments[_key2];for(var value=keys.pop(),lastKey=keys.pop(),cache=this.cache,_i2=0;_i2<keys.length;_i2++){var key=keys[_i2];_typeof(cache[key])!=="object"&&(cache[key]={}),cache=cache[key]}return cache[lastKey]=value}}]),Cache2}(),minute=60,hour=60*minute,day=24*hour,month=30.44*day,year=146097/400*day;function getStep(gradation,unit){for(var _iterator=gradation,_isArray=Array.isArray(_iterator),_i=0,_iterator=_isArray?_iterator:_iterator[Symbol.iterator]();;){var _ref;if(_isArray){if(_i>=_iterator.length)break;_ref=_iterator[_i++]}else{if(_i=_iterator.next(),_i.done)break;_ref=_i.value}var step=_ref;if(step.unit===unit)return step}}function getDate(value){return value instanceof Date?value:new Date(value)}const convenient=[{factor:1,unit:"now"},{threshold:1,threshold_for_now:45,factor:1,unit:"second"},{threshold:45,factor:60,unit:"minute"},{threshold:2.5*60,factor:60,granularity:5,unit:"minute"},{threshold:22.5*60,factor:30*60,unit:"half-hour"},{threshold:42.5*60,threshold_for_minute:52.5*60,factor:60*60,unit:"hour"},{threshold:20.5/24*day,factor:day,unit:"day"},{threshold:5.5*day,factor:7*day,unit:"week"},{threshold:3.5*7*day,factor:month,unit:"month"},{threshold:10.5*month,factor:year,unit:"year"}];function grade_typeof(obj){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?grade_typeof=function(obj2){return typeof obj2}:grade_typeof=function(obj2){return obj2&&typeof Symbol=="function"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2},grade_typeof(obj)}function grade(elapsed,now,units){var gradation=arguments.length>3&&arguments[3]!==void 0?arguments[3]:convenient;if(gradation=getAllowedSteps(gradation,units),gradation.length!==0){var i=findGradationStep(elapsed,now,gradation),step=gradation[i];if(i!==-1){if(step.granularity){var amount=Math.round(Math.abs(elapsed)/step.factor/step.granularity)*step.granularity;if(amount===0&&i>0)return gradation[i-1]}return step}}}function getThreshold(fromStep,toStep,now,future){var threshold;if(fromStep&&(fromStep.id||fromStep.unit)&&(threshold=toStep["threshold_for_".concat(fromStep.id||fromStep.unit)]),threshold===void 0&&(threshold=toStep.threshold),typeof threshold=="function"&&(threshold=threshold(now,future)),fromStep&&typeof threshold!="number"){var type=grade_typeof(threshold);throw new Error('Each step of a gradation must have a threshold defined except for the first one. Got "'.concat(threshold,'", ').concat(type,". Step: ").concat(JSON.stringify(toStep)))}return threshold}function findGradationStep(elapsed,now,gradation){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return Math.abs(elapsed)<getThreshold(gradation[i-1],gradation[i],now,elapsed<0)?i-1:i===gradation.length-1?i:findGradationStep(elapsed,now,gradation,i+1)}function getAllowedSteps(gradation,units){return gradation.filter(function(_ref){var unit=_ref.unit;return unit?units.indexOf(unit)>=0:!0})}function locale_typeof(obj){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?locale_typeof=function(obj2){return typeof obj2}:locale_typeof=function(obj2){return obj2&&typeof Symbol=="function"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2},locale_typeof(obj)}function chooseLocale(locales,isLocaleDataAvailable){for(var _iterator=locales,_isArray=Array.isArray(_iterator),_i=0,_iterator=_isArray?_iterator:_iterator[Symbol.iterator]();;){var _ref;if(_isArray){if(_i>=_iterator.length)break;_ref=_iterator[_i++]}else{if(_i=_iterator.next(),_i.done)break;_ref=_i.value}var locale=_ref;if(isLocaleDataAvailable(locale))return locale;for(var parts=locale.split("-");parts.length>1;)if(parts.pop(),locale=parts.join("-"),isLocaleDataAvailable(locale))return locale}throw new Error("No locale data has been registered for any of the locales: ".concat(locales.join(", ")))}function intlDateTimeFormatSupportedLocale(locales){if(intlDateTimeFormatSupported())return Intl.DateTimeFormat.supportedLocalesOf(locales)[0]}function intlDateTimeFormatSupported(){var isIntlAvailable=(typeof Intl>"u"?"undefined":locale_typeof(Intl))==="object";return isIntlAvailable&&typeof Intl.DateTimeFormat=="function"}const style_default={gradation:convenient,flavour:["long-convenient","long"],units:["now","minute","hour","day","week","month","year"]},canonical=[{factor:1,unit:"now"},{threshold:.5,factor:1,unit:"second"},{threshold:59.5,factor:60,unit:"minute"},{threshold:59.5*60,factor:60*60,unit:"hour"},{threshold:23.5*60*60,factor:day,unit:"day"},{threshold:6.5*day,factor:7*day,unit:"week"},{threshold:3.5*7*day,factor:month,unit:"month"},{threshold:11.5*month,factor:year,unit:"year"}];function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{},ownKeys=Object.keys(source);typeof Object.getOwnPropertySymbols=="function"&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))),ownKeys.forEach(function(key){twitter_defineProperty(target,key,source[key])})}return target}function twitter_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var formatters={};const twitter={gradation:[_objectSpread({},getStep(canonical,"minute"),{threshold:59.5}),_objectSpread({},getStep(canonical,"hour"),{threshold:59.5*60}),{threshold:day-.5*hour,format:function(value,locale){if(!!intlDateTimeFormatSupported())return formatters[locale]||(formatters[locale]={}),formatters[locale].this_year||(formatters[locale].this_year=new Intl.DateTimeFormat(locale,{month:"short",day:"numeric"})),formatters[locale].this_year.format(getDate(value))}},{threshold:function(now,future){if(future){var nextYear=new Date(new Date(now).getFullYear()+1,0);return(nextYear.getTime()-now)/1e3}else{var thisYear=new Date(new Date(now).getFullYear(),0);return(now-thisYear.getTime())/1e3}},format:function(value,locale){if(!!intlDateTimeFormatSupported())return formatters[locale]||(formatters[locale]={}),formatters[locale].other||(formatters[locale].other=new Intl.DateTimeFormat(locale,{year:"numeric",month:"short",day:"numeric"})),formatters[locale].other.format(getDate(value))}}],flavour:["tiny","short-time","narrow","short"]},style_time={gradation:convenient,flavour:"long-time",units:["now","minute","hour","day","week","month","year"]};var LocaleDataStore_defaultLocale="en",LocaleDataStore_localesData={};function LocaleDataStore_getLocaleData(locale){return LocaleDataStore_localesData[locale]}function LocaleDataStore_addLocaleData(localeData){if(!localeData)throw new Error("[javascript-time-ago] No locale data passed.");LocaleDataStore_localesData[localeData.locale]=localeData}function JavascriptTimeAgo_typeof(obj){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?JavascriptTimeAgo_typeof=function(obj2){return typeof obj2}:JavascriptTimeAgo_typeof=function(obj2){return obj2&&typeof Symbol=="function"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2},JavascriptTimeAgo_typeof(obj)}function JavascriptTimeAgo_classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function JavascriptTimeAgo_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 JavascriptTimeAgo_createClass(Constructor,protoProps,staticProps){return protoProps&&JavascriptTimeAgo_defineProperties(Constructor.prototype,protoProps),staticProps&&JavascriptTimeAgo_defineProperties(Constructor,staticProps),Constructor}var JavascriptTimeAgo_UNITS=null,JavascriptTimeAgo=function(){function JavascriptTimeAgo2(){var locales=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];JavascriptTimeAgo_classCallCheck(this,JavascriptTimeAgo2),typeof locales=="string"&&(locales=[locales]),this.locale=chooseLocale(locales.concat(RelativeTimeFormat.getDefaultLocale()),LocaleDataStore_getLocaleData),typeof Intl<"u"&&Intl.NumberFormat&&(this.numberFormat=new Intl.NumberFormat(this.locale)),this.relativeTimeFormatCache=new Cache}return JavascriptTimeAgo_createClass(JavascriptTimeAgo2,[{key:"format",value:function(input){var style=arguments.length>1&&arguments[1]!==void 0?arguments[1]:style_default;if(typeof style=="string")switch(style){case"twitter":style=twitter;break;case"time":style=style_time;break;default:style=style_default}var _getDateAndTimeBeingF=getDateAndTimeBeingFormatted(input),date=_getDateAndTimeBeingF.date,time=_getDateAndTimeBeingF.time,_this$getLocaleData=this.getLocaleData(style.flavour),flavour=_this$getLocaleData.flavour,localeData=_this$getLocaleData.localeData,now=style.now||Date.now(),elapsed=(now-time)/1e3;if(style.custom){var custom=style.custom({now,date,time,elapsed,locale:this.locale});if(custom!==void 0)return custom}var units=getTimeIntervalMeasurementUnits(localeData,style.units);if(units.length===0)return console.error('Units "'.concat(units.join(", "),'" were not found in locale data for "').concat(this.locale,'".')),"";var step=grade(elapsed,now,units,style.gradation);if(!step)return"";if(step.format)return step.format(date||time,this.locale);var unit=step.unit,factor=step.factor,granularity=step.granularity,amount=Math.abs(elapsed)/factor;if(granularity&&(amount=Math.round(amount/granularity)*granularity),unit==="now")return getNowMessage(localeData,-1*Math.sign(elapsed));switch(flavour){case"long":case"short":case"narrow":return this.getFormatter(flavour).format(-1*Math.sign(elapsed)*Math.round(amount),unit);default:return this.formatValue(-1*Math.sign(elapsed)*Math.round(amount),unit,localeData)}}},{key:"formatValue",value:function(value,unit,localeData){return this.getRule(value,unit,localeData).replace("{0}",this.formatNumber(Math.abs(value)))}},{key:"getRule",value:function(value,unit,localeData){var unitRules=localeData[unit];if(typeof unitRules=="string")return unitRules;var quantifierRules=unitRules[value<=0?"past":"future"]||unitRules;if(typeof quantifierRules=="string")return quantifierRules;var quantify=LocaleDataStore_getLocaleData(this.locale).quantify,quantifier=quantify&&quantify(Math.abs(value));return quantifier=quantifier||"other",quantifierRules[quantifier]||quantifierRules.other}},{key:"formatNumber",value:function(number){return this.numberFormat?this.numberFormat.format(number):String(number)}},{key:"getFormatter",value:function(flavor){return this.relativeTimeFormatCache.get(this.locale,flavor)||this.relativeTimeFormatCache.put(this.locale,flavor,new RelativeTimeFormat(this.locale,{style:flavor}))}},{key:"getLocaleData",value:function(){var flavour=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],localeData=LocaleDataStore_getLocaleData(this.locale);typeof flavour=="string"&&(flavour=[flavour]),flavour=flavour.concat("long");for(var _iterator=flavour,_isArray=Array.isArray(_iterator),_i=0,_iterator=_isArray?_iterator:_iterator[Symbol.iterator]();;){var _ref;if(_isArray){if(_i>=_iterator.length)break;_ref=_iterator[_i++]}else{if(_i=_iterator.next(),_i.done)break;_ref=_i.value}var _=_ref;if(localeData[_])return{flavour:_,localeData:localeData[_]}}}}]),JavascriptTimeAgo2}();JavascriptTimeAgo.getDefaultLocale=RelativeTimeFormat.getDefaultLocale,JavascriptTimeAgo.setDefaultLocale=RelativeTimeFormat.setDefaultLocale,JavascriptTimeAgo.addLocale=function(localeData){LocaleDataStore_addLocaleData(localeData),RelativeTimeFormat.addLocale(localeData)},JavascriptTimeAgo.locale=JavascriptTimeAgo.addLocale;function getDateAndTimeBeingFormatted(input){if(input.constructor===Date||isMockedDate(input))return{date:input,time:input.getTime()};if(typeof input=="number")return{time:input};throw new Error("Unsupported relative time formatter input: ".concat(JavascriptTimeAgo_typeof(input),", ").concat(input))}function isMockedDate(object){return JavascriptTimeAgo_typeof(object)==="object"&&typeof object.getTime=="function"}function getTimeIntervalMeasurementUnits(localeData,restrictedSetOfUnits){var units=Object.keys(localeData);return restrictedSetOfUnits&&(units=restrictedSetOfUnits.filter(function(_){return units.indexOf(_)>=0})),(!restrictedSetOfUnits||restrictedSetOfUnits.indexOf("now")>=0)&&units.indexOf("now")<0&&localeData.second.current&&units.unshift("now"),units}function getNowMessage(localeData,value){return localeData.now?typeof localeData.now=="string"?localeData.now:value<=0?localeData.now.past:localeData.now.future:localeData.second.current}},36192:(module,__unused_webpack_exports,__webpack_require__)=>{var locale=__webpack_require__(69540);module.exports={locale:locale.locale,long:locale.long,short:locale.short,narrow:locale.narrow,"short-time":__webpack_require__(14640),"short-convenient":__webpack_require__(25873),"long-time":__webpack_require__(94609),"long-convenient":__webpack_require__(20433),tiny:__webpack_require__(27218),quantify:locale.quantify}},17703:(__unused_webpack_module,exports)=>{"use strict";var __webpack_unused_export__;__webpack_unused_export__=!0,__webpack_unused_export__=void 0;var LF=`
122
+ `},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}module.exports=subunit},54503:module=>{function source(re){return re?typeof re=="string"?re:re.source:null}function lookahead(re){return concat("(?=",re,")")}function concat(...args){return args.map(x=>source(x)).join("")}function either(...args){return"("+args.map(x=>source(x)).join("|")+")"}const keywordWrapper=keyword=>concat(/\b/,keyword,/\w$/.test(keyword)?/\b/:/\B/),dotKeywords=["Protocol","Type"].map(keywordWrapper),optionalDotKeywords=["init","self"].map(keywordWrapper),keywordTypes=["Any","Self"],keywords=["associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],literals=["false","nil","true"],precedencegroupKeywords=["assignment","associativity","higherThan","left","lowerThan","none","right"],numberSignKeywords=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],builtIns=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],operatorHead=either(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),operatorCharacter=either(operatorHead,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),operator=concat(operatorHead,operatorCharacter,"*"),identifierHead=either(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),identifierCharacter=either(identifierHead,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),identifier=concat(identifierHead,identifierCharacter,"*"),typeIdentifier=concat(/[A-Z]/,identifierCharacter,"*"),keywordAttributes=["autoclosure",concat(/convention\(/,either("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",concat(/objc\(/,identifier,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","testable","UIApplicationMain","unknown","usableFromInline"],availabilityKeywords=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function swift(hljs){const WHITESPACE={match:/\s+/,relevance:0},BLOCK_COMMENT=hljs.COMMENT("/\\*","\\*/",{contains:["self"]}),COMMENTS=[hljs.C_LINE_COMMENT_MODE,BLOCK_COMMENT],DOT_KEYWORD={className:"keyword",begin:concat(/\./,lookahead(either(...dotKeywords,...optionalDotKeywords))),end:either(...dotKeywords,...optionalDotKeywords),excludeBegin:!0},KEYWORD_GUARD={match:concat(/\./,either(...keywords)),relevance:0},PLAIN_KEYWORDS=keywords.filter(kw=>typeof kw=="string").concat(["_|0"]),REGEX_KEYWORDS=keywords.filter(kw=>typeof kw!="string").concat(keywordTypes).map(keywordWrapper),KEYWORD={variants:[{className:"keyword",match:either(...REGEX_KEYWORDS,...optionalDotKeywords)}]},KEYWORDS={$pattern:either(/\b\w+/,/#\w+/),keyword:PLAIN_KEYWORDS.concat(numberSignKeywords),literal:literals},KEYWORD_MODES=[DOT_KEYWORD,KEYWORD_GUARD,KEYWORD],BUILT_IN_GUARD={match:concat(/\./,either(...builtIns)),relevance:0},BUILT_IN={className:"built_in",match:concat(/\b/,either(...builtIns),/(?=\()/)},BUILT_INS=[BUILT_IN_GUARD,BUILT_IN],OPERATOR_GUARD={match:/->/,relevance:0},OPERATOR={className:"operator",relevance:0,variants:[{match:operator},{match:`\\.(\\.|${operatorCharacter})+`}]},OPERATORS=[OPERATOR_GUARD,OPERATOR],decimalDigits="([0-9]_*)+",hexDigits="([0-9a-fA-F]_*)+",NUMBER={className:"number",relevance:0,variants:[{match:`\\b(${decimalDigits})(\\.(${decimalDigits}))?([eE][+-]?(${decimalDigits}))?\\b`},{match:`\\b0x(${hexDigits})(\\.(${hexDigits}))?([pP][+-]?(${decimalDigits}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},ESCAPED_CHARACTER=(rawDelimiter="")=>({className:"subst",variants:[{match:concat(/\\/,rawDelimiter,/[0\\tnr"']/)},{match:concat(/\\/,rawDelimiter,/u\{[0-9a-fA-F]{1,8}\}/)}]}),ESCAPED_NEWLINE=(rawDelimiter="")=>({className:"subst",match:concat(/\\/,rawDelimiter,/[\t ]*(?:[\r\n]|\r\n)/)}),INTERPOLATION=(rawDelimiter="")=>({className:"subst",label:"interpol",begin:concat(/\\/,rawDelimiter,/\(/),end:/\)/}),MULTILINE_STRING=(rawDelimiter="")=>({begin:concat(rawDelimiter,/"""/),end:concat(/"""/,rawDelimiter),contains:[ESCAPED_CHARACTER(rawDelimiter),ESCAPED_NEWLINE(rawDelimiter),INTERPOLATION(rawDelimiter)]}),SINGLE_LINE_STRING=(rawDelimiter="")=>({begin:concat(rawDelimiter,/"/),end:concat(/"/,rawDelimiter),contains:[ESCAPED_CHARACTER(rawDelimiter),INTERPOLATION(rawDelimiter)]}),STRING={className:"string",variants:[MULTILINE_STRING(),MULTILINE_STRING("#"),MULTILINE_STRING("##"),MULTILINE_STRING("###"),SINGLE_LINE_STRING(),SINGLE_LINE_STRING("#"),SINGLE_LINE_STRING("##"),SINGLE_LINE_STRING("###")]},QUOTED_IDENTIFIER={match:concat(/`/,identifier,/`/)},IMPLICIT_PARAMETER={className:"variable",match:/\$\d+/},PROPERTY_WRAPPER_PROJECTION={className:"variable",match:`\\$${identifierCharacter}+`},IDENTIFIERS=[QUOTED_IDENTIFIER,IMPLICIT_PARAMETER,PROPERTY_WRAPPER_PROJECTION],AVAILABLE_ATTRIBUTE={match:/(@|#)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:availabilityKeywords,contains:[...OPERATORS,NUMBER,STRING]}]}},KEYWORD_ATTRIBUTE={className:"keyword",match:concat(/@/,either(...keywordAttributes))},USER_DEFINED_ATTRIBUTE={className:"meta",match:concat(/@/,identifier)},ATTRIBUTES=[AVAILABLE_ATTRIBUTE,KEYWORD_ATTRIBUTE,USER_DEFINED_ATTRIBUTE],TYPE={match:lookahead(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:concat(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,identifierCharacter,"+")},{className:"type",match:typeIdentifier,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:concat(/\s+&\s+/,lookahead(typeIdentifier)),relevance:0}]},GENERIC_ARGUMENTS={begin:/</,end:/>/,keywords:KEYWORDS,contains:[...COMMENTS,...KEYWORD_MODES,...ATTRIBUTES,OPERATOR_GUARD,TYPE]};TYPE.contains.push(GENERIC_ARGUMENTS);const TUPLE_ELEMENT_NAME={match:concat(identifier,/\s*:/),keywords:"_|0",relevance:0},TUPLE={begin:/\(/,end:/\)/,relevance:0,keywords:KEYWORDS,contains:["self",TUPLE_ELEMENT_NAME,...COMMENTS,...KEYWORD_MODES,...BUILT_INS,...OPERATORS,NUMBER,STRING,...IDENTIFIERS,...ATTRIBUTES,TYPE]},FUNC_PLUS_TITLE={beginKeywords:"func",contains:[{className:"title",match:either(QUOTED_IDENTIFIER.match,identifier,operator),endsParent:!0,relevance:0},WHITESPACE]},GENERIC_PARAMETERS={begin:/</,end:/>/,contains:[...COMMENTS,TYPE]},FUNCTION_PARAMETER_NAME={begin:either(lookahead(concat(identifier,/\s*:/)),lookahead(concat(identifier,/\s+/,identifier,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:identifier}]},FUNCTION_PARAMETERS={begin:/\(/,end:/\)/,keywords:KEYWORDS,contains:[FUNCTION_PARAMETER_NAME,...COMMENTS,...KEYWORD_MODES,...OPERATORS,NUMBER,STRING,...ATTRIBUTES,TYPE,TUPLE],endsParent:!0,illegal:/["']/},FUNCTION={className:"function",match:lookahead(/\bfunc\b/),contains:[FUNC_PLUS_TITLE,GENERIC_PARAMETERS,FUNCTION_PARAMETERS,WHITESPACE],illegal:[/\[/,/%/]},INIT_SUBSCRIPT={className:"function",match:/\b(subscript|init[?!]?)\s*(?=[<(])/,keywords:{keyword:"subscript init init? init!",$pattern:/\w+[?!]?/},contains:[GENERIC_PARAMETERS,FUNCTION_PARAMETERS,WHITESPACE],illegal:/\[|%/},OPERATOR_DECLARATION={beginKeywords:"operator",end:hljs.MATCH_NOTHING_RE,contains:[{className:"title",match:operator,endsParent:!0,relevance:0}]},PRECEDENCEGROUP={beginKeywords:"precedencegroup",end:hljs.MATCH_NOTHING_RE,contains:[{className:"title",match:typeIdentifier,relevance:0},{begin:/{/,end:/}/,relevance:0,endsParent:!0,keywords:[...precedencegroupKeywords,...literals],contains:[TYPE]}]};for(const variant of STRING.variants){const interpolation=variant.contains.find(mode=>mode.label==="interpol");interpolation.keywords=KEYWORDS;const submodes=[...KEYWORD_MODES,...BUILT_INS,...OPERATORS,NUMBER,STRING,...IDENTIFIERS];interpolation.contains=[...submodes,{begin:/\(/,end:/\)/,contains:["self",...submodes]}]}return{name:"Swift",keywords:KEYWORDS,contains:[...COMMENTS,FUNCTION,INIT_SUBSCRIPT,{className:"class",beginKeywords:"struct protocol class extension enum",end:"\\{",excludeEnd:!0,keywords:KEYWORDS,contains:[hljs.inherit(hljs.TITLE_MODE,{begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...KEYWORD_MODES]},OPERATOR_DECLARATION,PRECEDENCEGROUP,{beginKeywords:"import",end:/$/,contains:[...COMMENTS],relevance:0},...KEYWORD_MODES,...BUILT_INS,...OPERATORS,NUMBER,STRING,...IDENTIFIERS,...ATTRIBUTES,TYPE,TUPLE]}}module.exports=swift},75738:module=>{function taggerscript(hljs){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\(/,end:/\)/,contains:["self",{begin:/\\./}]}],relevance:10},{className:"keyword",begin:/\$(?!noop)[a-zA-Z][_a-zA-Z0-9]*/,end:/\(/,excludeEnd:!0},{className:"variable",begin:/%[_a-zA-Z0-9:]*/,end:"%"},{className:"symbol",begin:/\\./}]}}module.exports=taggerscript},4541:module=>{function tap(hljs){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[hljs.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}module.exports=tap},99645:module=>{function source(re){return re?typeof re=="string"?re:re.source:null}function optional(re){return concat("(",re,")?")}function concat(...args){return args.map(x=>source(x)).join("")}function tcl(hljs){const TCL_IDENT=/[a-zA-Z_][a-zA-Z0-9_]*/,NUMBER={className:"number",variants:[hljs.BINARY_NUMBER_MODE,hljs.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:"after append apply array auto_execok auto_import auto_load auto_mkindex auto_mkindex_old auto_qualify auto_reset bgerror binary break catch cd chan clock close concat continue dde dict encoding eof error eval exec exit expr fblocked fconfigure fcopy file fileevent filename flush for foreach format gets glob global history http if incr info interp join lappend|10 lassign|10 lindex|10 linsert|10 list llength|10 load lrange|10 lrepeat|10 lreplace|10 lreverse|10 lsearch|10 lset|10 lsort|10 mathfunc mathop memory msgcat namespace open package parray pid pkg::create pkg_mkIndex platform platform::shell proc puts pwd read refchan regexp registry regsub|10 rename return safe scan seek set socket source split string subst switch tcl_endOfWord tcl_findLibrary tcl_startOfNextWord tcl_startOfPreviousWord tcl_wordBreakAfter tcl_wordBreakBefore tcltest tclvars tell time tm trace unknown unload unset update uplevel upvar variable vwait while",contains:[hljs.COMMENT(";[ \\t]*#","$"),hljs.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:concat(/\$/,optional(/::/),TCL_IDENT,"(::",TCL_IDENT,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[NUMBER]}]},{className:"string",contains:[hljs.BACKSLASH_ESCAPE],variants:[hljs.inherit(hljs.QUOTE_STRING_MODE,{illegal:null})]},NUMBER]}}module.exports=tcl},14850:module=>{function thrift(hljs){const BUILT_IN_TYPES="bool byte i16 i32 i64 double string binary";return{name:"Thrift",keywords:{keyword:"namespace const typedef struct enum service exception void oneway set list map required optional",built_in:BUILT_IN_TYPES,literal:"true false"},contains:[hljs.QUOTE_STRING_MODE,hljs.NUMBER_MODE,hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[hljs.inherit(hljs.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",end:">",keywords:BUILT_IN_TYPES,contains:["self"]}]}}module.exports=thrift},15263:module=>{function tp(hljs){const TPID={className:"number",begin:"[1-9][0-9]*",relevance:0},TPLABEL={className:"symbol",begin:":[^\\]]+"},TPDATA={className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",TPID,TPLABEL]},TPIO={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",TPID,hljs.QUOTE_STRING_MODE,TPLABEL]};return{name:"TP",keywords:{keyword:"ABORT ACC ADJUST AND AP_LD BREAK CALL CNT COL CONDITION CONFIG DA DB DIV DETECT ELSE END ENDFOR ERR_NUM ERROR_PROG FINE FOR GP GUARD INC IF JMP LINEAR_MAX_SPEED LOCK MOD MONITOR OFFSET Offset OR OVERRIDE PAUSE PREG PTH RT_LD RUN SELECT SKIP Skip TA TB TO TOOL_OFFSET Tool_Offset UF UT UFRAME_NUM UTOOL_NUM UNLOCK WAIT X Y Z W P R STRLEN SUBSTR FINDSTR VOFFSET PROG ATTR MN POS",literal:"ON OFF max_speed LPOS JPOS ENABLE DISABLE START STOP RESET"},contains:[TPDATA,TPIO,{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},hljs.COMMENT("//","[;$]"),hljs.COMMENT("!","[;$]"),hljs.COMMENT("--eg:","$"),hljs.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},hljs.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}module.exports=tp},54602:module=>{function twig(hljs){var PARAMS={className:"params",begin:"\\(",end:"\\)"},FUNCTION_NAMES="attribute block constant cycle date dump include max min parent random range source template_from_string",FUNCTIONS={beginKeywords:FUNCTION_NAMES,keywords:{name:FUNCTION_NAMES},relevance:0,contains:[PARAMS]},FILTER={begin:/\|[A-Za-z_]+:?/,keywords:"abs batch capitalize column convert_encoding date date_modify default escape filter first format inky_to_html inline_css join json_encode keys last length lower map markdown merge nl2br number_format raw reduce replace reverse round slice sort spaceless split striptags title trim upper url_encode",contains:[FUNCTIONS]},TAGS="apply autoescape block deprecated do embed extends filter flush for from if import include macro sandbox set use verbatim with";return TAGS=TAGS+" "+TAGS.split(" ").map(function(t){return"end"+t}).join(" "),{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[hljs.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:TAGS,starts:{endsWithParent:!0,contains:[FILTER,FUNCTIONS],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",FILTER,FUNCTIONS]}]}}module.exports=twig},2056:module=>{const IDENT_RE="[A-Za-z$_][0-9A-Za-z$_]*",KEYWORDS=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],LITERALS=["true","false","null","undefined","NaN","Infinity"],TYPES=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],ERROR_TYPES=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],BUILT_IN_GLOBALS=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],BUILT_IN_VARIABLES=["arguments","this","super","console","window","document","localStorage","module","global"],BUILT_INS=[].concat(BUILT_IN_GLOBALS,BUILT_IN_VARIABLES,TYPES,ERROR_TYPES);function source(re){return re?typeof re=="string"?re:re.source:null}function lookahead(re){return concat("(?=",re,")")}function concat(...args){return args.map(x=>source(x)).join("")}function javascript(hljs){const hasClosingTag=(match,{after})=>{const tag="</"+match[0].slice(1);return match.input.indexOf(tag,after)!==-1},IDENT_RE$1=IDENT_RE,FRAGMENT={begin:"<>",end:"</>"},XML_TAG={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(match,response)=>{const afterMatchIndex=match[0].length+match.index,nextChar=match.input[afterMatchIndex];if(nextChar==="<"){response.ignoreMatch();return}nextChar===">"&&(hasClosingTag(match,{after:afterMatchIndex})||response.ignoreMatch())}},KEYWORDS$1={$pattern:IDENT_RE,keyword:KEYWORDS,literal:LITERALS,built_in:BUILT_INS},decimalDigits="[0-9](_?[0-9])*",frac=`\\.(${decimalDigits})`,decimalInteger="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",NUMBER={className:"number",variants:[{begin:`(\\b(${decimalInteger})((${frac})|\\.)?|(${frac}))[eE][+-]?(${decimalDigits})\\b`},{begin:`\\b(${decimalInteger})\\b((${frac})\\b|\\.)?|(${frac})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},SUBST={className:"subst",begin:"\\$\\{",end:"\\}",keywords:KEYWORDS$1,contains:[]},HTML_TEMPLATE={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[hljs.BACKSLASH_ESCAPE,SUBST],subLanguage:"xml"}},CSS_TEMPLATE={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[hljs.BACKSLASH_ESCAPE,SUBST],subLanguage:"css"}},TEMPLATE_STRING={className:"string",begin:"`",end:"`",contains:[hljs.BACKSLASH_ESCAPE,SUBST]},JSDOC_COMMENT=hljs.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:IDENT_RE$1+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),COMMENT={className:"comment",variants:[JSDOC_COMMENT,hljs.C_BLOCK_COMMENT_MODE,hljs.C_LINE_COMMENT_MODE]},SUBST_INTERNALS=[hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,HTML_TEMPLATE,CSS_TEMPLATE,TEMPLATE_STRING,NUMBER,hljs.REGEXP_MODE];SUBST.contains=SUBST_INTERNALS.concat({begin:/\{/,end:/\}/,keywords:KEYWORDS$1,contains:["self"].concat(SUBST_INTERNALS)});const SUBST_AND_COMMENTS=[].concat(COMMENT,SUBST.contains),PARAMS_CONTAINS=SUBST_AND_COMMENTS.concat([{begin:/\(/,end:/\)/,keywords:KEYWORDS$1,contains:["self"].concat(SUBST_AND_COMMENTS)}]),PARAMS={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:KEYWORDS$1,contains:PARAMS_CONTAINS};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:KEYWORDS$1,exports:{PARAMS_CONTAINS},illegal:/#(?![$_A-z])/,contains:[hljs.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,HTML_TEMPLATE,CSS_TEMPLATE,TEMPLATE_STRING,COMMENT,NUMBER,{begin:concat(/[{,\n]\s*/,lookahead(concat(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,IDENT_RE$1+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:IDENT_RE$1+lookahead("\\s*:"),relevance:0}]},{begin:"("+hljs.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[COMMENT,hljs.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+hljs.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:hljs.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:KEYWORDS$1,contains:PARAMS_CONTAINS}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:FRAGMENT.begin,end:FRAGMENT.end},{begin:XML_TAG.begin,"on:begin":XML_TAG.isTrulyOpeningTag,end:XML_TAG.end}],subLanguage:"xml",contains:[{begin:XML_TAG.begin,end:XML_TAG.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:KEYWORDS$1,contains:["self",hljs.inherit(hljs.TITLE_MODE,{begin:IDENT_RE$1}),PARAMS],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:hljs.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[PARAMS,hljs.inherit(hljs.TITLE_MODE,{begin:IDENT_RE$1})]},{variants:[{begin:"\\."+IDENT_RE$1},{begin:"\\$"+IDENT_RE$1}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},hljs.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[hljs.inherit(hljs.TITLE_MODE,{begin:IDENT_RE$1}),"self",PARAMS]},{begin:"(get|set)\\s+(?="+IDENT_RE$1+"\\()",end:/\{/,keywords:"get set",contains:[hljs.inherit(hljs.TITLE_MODE,{begin:IDENT_RE$1}),{begin:/\(\)/},PARAMS]},{begin:/\$[(.]/}]}}function typescript(hljs){const IDENT_RE$1=IDENT_RE,NAMESPACE={beginKeywords:"namespace",end:/\{/,excludeEnd:!0},INTERFACE={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:"interface extends"},USE_STRICT={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},TYPES2=["any","void","number","boolean","string","object","never","enum"],TS_SPECIFIC_KEYWORDS=["type","namespace","typedef","interface","public","private","protected","implements","declare","abstract","readonly"],KEYWORDS$1={$pattern:IDENT_RE,keyword:KEYWORDS.concat(TS_SPECIFIC_KEYWORDS),literal:LITERALS,built_in:BUILT_INS.concat(TYPES2)},DECORATOR={className:"meta",begin:"@"+IDENT_RE$1},swapMode=(mode,label,replacement)=>{const indx=mode.contains.findIndex(m=>m.label===label);if(indx===-1)throw new Error("can not find mode to replace");mode.contains.splice(indx,1,replacement)},tsLanguage=javascript(hljs);Object.assign(tsLanguage.keywords,KEYWORDS$1),tsLanguage.exports.PARAMS_CONTAINS.push(DECORATOR),tsLanguage.contains=tsLanguage.contains.concat([DECORATOR,NAMESPACE,INTERFACE]),swapMode(tsLanguage,"shebang",hljs.SHEBANG()),swapMode(tsLanguage,"use_strict",USE_STRICT);const functionDeclaration=tsLanguage.contains.find(m=>m.className==="function");return functionDeclaration.relevance=0,Object.assign(tsLanguage,{name:"TypeScript",aliases:["ts","tsx"]}),tsLanguage}module.exports=typescript},52959:module=>{function vala(hljs){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[hljs.UNDERSCORE_TITLE_MODE]},hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,hljs.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$",relevance:2}]}}module.exports=vala},74048:module=>{function source(re){return re?typeof re=="string"?re:re.source:null}function concat(...args){return args.map(x=>source(x)).join("")}function either(...args){return"("+args.map(x=>source(x)).join("|")+")"}function vbnet(hljs){const CHARACTER={className:"string",begin:/"(""|[^/n])"C\b/},STRING={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},MM_DD_YYYY=/\d{1,2}\/\d{1,2}\/\d{4}/,YYYY_MM_DD=/\d{4}-\d{1,2}-\d{1,2}/,TIME_12H=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,TIME_24H=/\d{1,2}(:\d{1,2}){1,2}/,DATE={className:"literal",variants:[{begin:concat(/# */,either(YYYY_MM_DD,MM_DD_YYYY),/ *#/)},{begin:concat(/# */,TIME_24H,/ *#/)},{begin:concat(/# */,TIME_12H,/ *#/)},{begin:concat(/# */,either(YYYY_MM_DD,MM_DD_YYYY),/ +/,either(TIME_12H,TIME_24H),/ *#/)}]},NUMBER={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},LABEL={className:"label",begin:/^\w+:/},DOC_COMMENT=hljs.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),COMMENT=hljs.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[CHARACTER,STRING,DATE,NUMBER,LABEL,DOC_COMMENT,COMMENT,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{"meta-keyword":"const disable else elseif enable end externalsource if region then"},contains:[COMMENT]}]}}module.exports=vbnet},85811:module=>{function vbscriptHtml(hljs){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}module.exports=vbscriptHtml},70616:module=>{function source(re){return re?typeof re=="string"?re:re.source:null}function concat(...args){return args.map(x=>source(x)).join("")}function either(...args){return"("+args.map(x=>source(x)).join("|")+")"}function vbscript(hljs){const BUILT_IN_FUNCTIONS="lcase month vartype instrrev ubound setlocale getobject rgb getref string weekdayname rnd dateadd monthname now day minute isarray cbool round formatcurrency conversions csng timevalue second year space abs clng timeserial fixs len asc isempty maths dateserial atn timer isobject filter weekday datevalue ccur isdate instr datediff formatdatetime replace isnull right sgn array snumeric log cdbl hex chr lbound msgbox ucase getlocale cos cdate cbyte rtrim join hour oct typename trim strcomp int createobject loadpicture tan formatnumber mid split cint sin datepart ltrim sqr time derived eval date formatpercent exp inputbox left ascw chrw regexp cstr err".split(" "),BUILT_IN_OBJECTS=["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],BUILT_IN_CALL={begin:concat(either(...BUILT_IN_FUNCTIONS),"\\s*\\("),relevance:0,keywords:{built_in:BUILT_IN_FUNCTIONS}};return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:"call class const dim do loop erase execute executeglobal exit for each next function if then else on error option explicit new private property let get public randomize redim rem select case set stop sub while wend with end to elseif is or xor and not class_initialize class_terminate default preserve in me byval byref step resume goto",built_in:BUILT_IN_OBJECTS,literal:"true false null nothing empty"},illegal:"//",contains:[BUILT_IN_CALL,hljs.inherit(hljs.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),hljs.COMMENT(/'/,/$/,{relevance:0}),hljs.C_NUMBER_MODE]}}module.exports=vbscript},93813:module=>{function verilog(hljs){return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:{$pattern:/[\w\$]+/,keyword:"accept_on alias always always_comb always_ff always_latch and assert assign assume automatic before begin bind bins binsof bit break buf|0 bufif0 bufif1 byte case casex casez cell chandle checker class clocking cmos config const constraint context continue cover covergroup coverpoint cross deassign default defparam design disable dist do edge else end endcase endchecker endclass endclocking endconfig endfunction endgenerate endgroup endinterface endmodule endpackage endprimitive endprogram endproperty endspecify endsequence endtable endtask enum event eventually expect export extends extern final first_match for force foreach forever fork forkjoin function generate|5 genvar global highz0 highz1 if iff ifnone ignore_bins illegal_bins implements implies import incdir include initial inout input inside instance int integer interconnect interface intersect join join_any join_none large let liblist library local localparam logic longint macromodule matches medium modport module nand negedge nettype new nexttime nmos nor noshowcancelled not notif0 notif1 or output package packed parameter pmos posedge primitive priority program property protected pull0 pull1 pulldown pullup pulsestyle_ondetect pulsestyle_onevent pure rand randc randcase randsequence rcmos real realtime ref reg reject_on release repeat restrict return rnmos rpmos rtran rtranif0 rtranif1 s_always s_eventually s_nexttime s_until s_until_with scalared sequence shortint shortreal showcancelled signed small soft solve specify specparam static string strong strong0 strong1 struct super supply0 supply1 sync_accept_on sync_reject_on table tagged task this throughout time timeprecision timeunit tran tranif0 tranif1 tri tri0 tri1 triand trior trireg type typedef union unique unique0 unsigned until until_with untyped use uwire var vectored virtual void wait wait_order wand weak weak0 weak1 while wildcard wire with within wor xnor xor",literal:"null",built_in:"$finish $stop $exit $fatal $error $warning $info $realtime $time $printtimescale $bitstoreal $bitstoshortreal $itor $signed $cast $bits $stime $timeformat $realtobits $shortrealtobits $rtoi $unsigned $asserton $assertkill $assertpasson $assertfailon $assertnonvacuouson $assertoff $assertcontrol $assertpassoff $assertfailoff $assertvacuousoff $isunbounded $sampled $fell $changed $past_gclk $fell_gclk $changed_gclk $rising_gclk $steady_gclk $coverage_control $coverage_get $coverage_save $set_coverage_db_name $rose $stable $past $rose_gclk $stable_gclk $future_gclk $falling_gclk $changing_gclk $display $coverage_get_max $coverage_merge $get_coverage $load_coverage_db $typename $unpacked_dimensions $left $low $increment $clog2 $ln $log10 $exp $sqrt $pow $floor $ceil $sin $cos $tan $countbits $onehot $isunknown $fatal $warning $dimensions $right $high $size $asin $acos $atan $atan2 $hypot $sinh $cosh $tanh $asinh $acosh $atanh $countones $onehot0 $error $info $random $dist_chi_square $dist_erlang $dist_exponential $dist_normal $dist_poisson $dist_t $dist_uniform $q_initialize $q_remove $q_exam $async$and$array $async$nand$array $async$or$array $async$nor$array $sync$and$array $sync$nand$array $sync$or$array $sync$nor$array $q_add $q_full $psprintf $async$and$plane $async$nand$plane $async$or$plane $async$nor$plane $sync$and$plane $sync$nand$plane $sync$or$plane $sync$nor$plane $system $display $displayb $displayh $displayo $strobe $strobeb $strobeh $strobeo $write $readmemb $readmemh $writememh $value$plusargs $dumpvars $dumpon $dumplimit $dumpports $dumpportson $dumpportslimit $writeb $writeh $writeo $monitor $monitorb $monitorh $monitoro $writememb $dumpfile $dumpoff $dumpall $dumpflush $dumpportsoff $dumpportsall $dumpportsflush $fclose $fdisplay $fdisplayb $fdisplayh $fdisplayo $fstrobe $fstrobeb $fstrobeh $fstrobeo $swrite $swriteb $swriteh $swriteo $fscanf $fread $fseek $fflush $feof $fopen $fwrite $fwriteb $fwriteh $fwriteo $fmonitor $fmonitorb $fmonitorh $fmonitoro $sformat $sformatf $fgetc $ungetc $fgets $sscanf $rewind $ftell $ferror"},contains:[hljs.C_BLOCK_COMMENT_MODE,hljs.C_LINE_COMMENT_MODE,hljs.QUOTE_STRING_MODE,{className:"number",contains:[hljs.BACKSLASH_ESCAPE],variants:[{begin:"\\b((\\d+'(b|h|o|d|B|H|O|D))[0-9xzXZa-fA-F_]+)"},{begin:"\\B(('(b|h|o|d|B|H|O|D))[0-9xzXZa-fA-F_]+)"},{begin:"\\b([0-9_])+",relevance:0}]},{className:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{className:"meta",begin:"`",end:"$",keywords:{"meta-keyword":"define __FILE__ __LINE__ begin_keywords celldefine default_nettype define else elsif end_keywords endcelldefine endif ifdef ifndef include line nounconnected_drive pragma resetall timescale unconnected_drive undef undefineall"},relevance:0}]}}module.exports=verilog},73407:module=>{function vhdl(hljs){const INTEGER_RE="\\d(_|\\d)*",EXPONENT_RE="[eE][-+]?"+INTEGER_RE,DECIMAL_LITERAL_RE=INTEGER_RE+"(\\."+INTEGER_RE+")?("+EXPONENT_RE+")?",BASED_INTEGER_RE="\\w+",BASED_LITERAL_RE=INTEGER_RE+"#"+BASED_INTEGER_RE+"(\\."+BASED_INTEGER_RE+")?#("+EXPONENT_RE+")?",NUMBER_RE="\\b("+BASED_LITERAL_RE+"|"+DECIMAL_LITERAL_RE+")";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:"abs access after alias all and architecture array assert assume assume_guarantee attribute begin block body buffer bus case component configuration constant context cover disconnect downto default else elsif end entity exit fairness file for force function generate generic group guarded if impure in inertial inout is label library linkage literal loop map mod nand new next nor not null of on open or others out package parameter port postponed procedure process property protected pure range record register reject release rem report restrict restrict_guarantee return rol ror select sequence severity shared signal sla sll sra srl strong subtype then to transport type unaffected units until use variable view vmode vprop vunit wait when while with xnor xor",built_in:"boolean bit character integer time delay_length natural positive string bit_vector file_open_kind file_open_status std_logic std_logic_vector unsigned signed boolean_vector integer_vector std_ulogic std_ulogic_vector unresolved_unsigned u_unsigned unresolved_signed u_signed real_vector time_vector",literal:"false true note warning error failure line text side width"},illegal:/\{/,contains:[hljs.C_BLOCK_COMMENT_MODE,hljs.COMMENT("--","$"),hljs.QUOTE_STRING_MODE,{className:"number",begin:NUMBER_RE,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[hljs.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[hljs.BACKSLASH_ESCAPE]}]}}module.exports=vhdl},1975:module=>{function vim(hljs){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[hljs.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},hljs.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]*/},{className:"function",beginKeywords:"function function!",end:"$",relevance:0,contains:[hljs.TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}module.exports=vim},98761:module=>{function x86asm(hljs){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+hljs.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[hljs.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},hljs.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}module.exports=x86asm},6386:module=>{function xl(hljs){const XL_KEYWORDS={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:"if then else do while until for loop import with is as where when by data constant integer real text name boolean symbol infix prefix postfix block tree",literal:"true false nil",built_in:"in mod rem and or xor not abs sign floor ceil sqrt sin cos tan asin acos atan exp expm1 log log2 log10 log1p pi at text_length text_range text_find text_replace contains page slide basic_slide title_slide title subtitle fade_in fade_out fade_at clear_color color line_color line_width texture_wrap texture_transform texture scale_?x scale_?y scale_?z? translate_?x translate_?y translate_?z? rotate_?x rotate_?y rotate_?z? rectangle circle ellipse sphere path line_to move_to quad_to curve_to theme background contents locally time mouse_?x mouse_?y mouse_buttons "+"ObjectLoader Animate MovieCredits Slides Filters Shading Materials LensFlare Mapping VLCAudioVideo StereoDecoder PointCloud NetworkAccess RemoteControl RegExp ChromaKey Snowfall NodeJS Speech Charts"},DOUBLE_QUOTE_TEXT={className:"string",begin:'"',end:'"',illegal:"\\n"},SINGLE_QUOTE_TEXT={className:"string",begin:"'",end:"'",illegal:"\\n"},LONG_TEXT={className:"string",begin:"<<",end:">>"},BASED_NUMBER={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},IMPORT={beginKeywords:"import",end:"$",keywords:XL_KEYWORDS,contains:[DOUBLE_QUOTE_TEXT]},FUNCTION_DEFINITION={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[hljs.inherit(hljs.TITLE_MODE,{starts:{endsWithParent:!0,keywords:XL_KEYWORDS}})]};return{name:"XL",aliases:["tao"],keywords:XL_KEYWORDS,contains:[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,DOUBLE_QUOTE_TEXT,SINGLE_QUOTE_TEXT,LONG_TEXT,FUNCTION_DEFINITION,IMPORT,BASED_NUMBER,hljs.NUMBER_MODE]}}module.exports=xl},5750:module=>{function source(re){return re?typeof re=="string"?re:re.source:null}function lookahead(re){return concat("(?=",re,")")}function optional(re){return concat("(",re,")?")}function concat(...args){return args.map(x=>source(x)).join("")}function either(...args){return"("+args.map(x=>source(x)).join("|")+")"}function xml(hljs){const TAG_NAME_RE=concat(/[A-Z_]/,optional(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),XML_IDENT_RE=/[A-Za-z0-9._:-]+/,XML_ENTITIES={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},XML_META_KEYWORDS={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},XML_META_PAR_KEYWORDS=hljs.inherit(XML_META_KEYWORDS,{begin:/\(/,end:/\)/}),APOS_META_STRING_MODE=hljs.inherit(hljs.APOS_STRING_MODE,{className:"meta-string"}),QUOTE_META_STRING_MODE=hljs.inherit(hljs.QUOTE_STRING_MODE,{className:"meta-string"}),TAG_INTERNALS={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:XML_IDENT_RE,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[XML_ENTITIES]},{begin:/'/,end:/'/,contains:[XML_ENTITIES]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[XML_META_KEYWORDS,QUOTE_META_STRING_MODE,APOS_META_STRING_MODE,XML_META_PAR_KEYWORDS,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[XML_META_KEYWORDS,XML_META_PAR_KEYWORDS,QUOTE_META_STRING_MODE,APOS_META_STRING_MODE]}]}]},hljs.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},XML_ENTITIES,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[TAG_INTERNALS],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[TAG_INTERNALS],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:concat(/</,lookahead(concat(TAG_NAME_RE,either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:TAG_NAME_RE,relevance:0,starts:TAG_INTERNALS}]},{className:"tag",begin:concat(/<\//,lookahead(concat(TAG_NAME_RE,/>/))),contains:[{className:"name",begin:TAG_NAME_RE,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}module.exports=xml},10784:module=>{function xquery(_hljs){return{name:"XQuery",aliases:["xpath","xq"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:"module schema namespace boundary-space preserve no-preserve strip default collation base-uri ordering context decimal-format decimal-separator copy-namespaces empty-sequence except exponent-separator external grouping-separator inherit no-inherit lax minus-sign per-mille percent schema-attribute schema-element strict unordered zero-digit declare import option function validate variable for at in let where order group by return if then else tumbling sliding window start when only end previous next stable ascending descending allowing empty greatest least some every satisfies switch case typeswitch try catch and or to union intersect instance of treat as castable cast map array delete insert into replace value rename copy modify update",type:"item document-node node attribute document element comment namespace namespace-node processing-instruction text construction xs:anyAtomicType xs:untypedAtomic xs:duration xs:time xs:decimal xs:float xs:double xs:gYearMonth xs:gYear xs:gMonthDay xs:gMonth xs:gDay xs:boolean xs:base64Binary xs:hexBinary xs:anyURI xs:QName xs:NOTATION xs:dateTime xs:dateTimeStamp xs:date xs:string xs:normalizedString xs:token xs:language xs:NMTOKEN xs:Name xs:NCName xs:ID xs:IDREF xs:ENTITY xs:integer xs:nonPositiveInteger xs:negativeInteger xs:long xs:int xs:short xs:byte xs:nonNegativeInteger xs:unisignedLong xs:unsignedInt xs:unsignedShort xs:unsignedByte xs:positiveInteger xs:yearMonthDuration xs:dayTimeDuration",literal:"eq ne lt le gt ge is self:: child:: descendant:: descendant-or-self:: attribute:: following:: following-sibling:: parent:: ancestor:: ancestor-or-self:: preceding:: preceding-sibling:: NaN"},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^</$:'"-]\b(?:abs|accumulator-(?:after|before)|adjust-(?:date(?:Time)?|time)-to-timezone|analyze-string|apply|available-(?:environment-variables|system-properties)|avg|base-uri|boolean|ceiling|codepoints?-(?:equal|to-string)|collation-key|collection|compare|concat|contains(?:-token)?|copy-of|count|current(?:-)?(?:date(?:Time)?|time|group(?:ing-key)?|output-uri|merge-(?:group|key))?data|dateTime|days?-from-(?:date(?:Time)?|duration)|deep-equal|default-(?:collation|language)|distinct-values|document(?:-uri)?|doc(?:-available)?|element-(?:available|with-id)|empty|encode-for-uri|ends-with|environment-variable|error|escape-html-uri|exactly-one|exists|false|filter|floor|fold-(?:left|right)|for-each(?:-pair)?|format-(?:date(?:Time)?|time|integer|number)|function-(?:arity|available|lookup|name)|generate-id|has-children|head|hours-from-(?:dateTime|duration|time)|id(?:ref)?|implicit-timezone|in-scope-prefixes|index-of|innermost|insert-before|iri-to-uri|json-(?:doc|to-xml)|key|lang|last|load-xquery-module|local-name(?:-from-QName)?|(?:lower|upper)-case|matches|max|minutes-from-(?:dateTime|duration|time)|min|months?-from-(?:date(?:Time)?|duration)|name(?:space-uri-?(?:for-prefix|from-QName)?)?|nilled|node-name|normalize-(?:space|unicode)|not|number|one-or-more|outermost|parse-(?:ietf-date|json)|path|position|(?:prefix-from-)?QName|random-number-generator|regex-group|remove|replace|resolve-(?:QName|uri)|reverse|root|round(?:-half-to-even)?|seconds-from-(?:dateTime|duration|time)|snapshot|sort|starts-with|static-base-uri|stream-available|string-?(?:join|length|to-codepoints)?|subsequence|substring-?(?:after|before)?|sum|system-property|tail|timezone-from-(?:date(?:Time)?|time)|tokenize|trace|trans(?:form|late)|true|type-available|unordered|unparsed-(?:entity|text)?-?(?:public-id|uri|available|lines)?|uri-collection|xml-to-json|years?-from-(?:date(?:Time)?|duration)|zero-or-one)\b/},{begin:/\blocal:/,end:/\(/,excludeEnd:!0},{begin:/\bzip:/,end:/(?:zip-file|(?:xml|html|text|binary)-entry| (?:update-)?entries)\b/},{begin:/\b(?:util|db|functx|app|xdmp|xmldb):/,end:/\(/,excludeEnd:!0}]},{className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},{className:"number",begin:/(\b0[0-7_]+)|(\b0x[0-9a-fA-F_]+)|(\b[1-9][0-9_]*(\.[0-9_]+)?)|[0_]\b/,relevance:0},{className:"comment",begin:/\(:/,end:/:\)/,relevance:10,contains:[{className:"doctag",begin:/@\w+/}]},{className:"meta",begin:/%[\w\-:]+/},{className:"title",begin:/\bxquery version "[13]\.[01]"\s?(?:encoding ".+")?/,end:/;/},{beginKeywords:"element attribute comment document processing-instruction",end:/\{/,excludeEnd:!0},{begin:/<([\w._:-]+)(\s+\S*=('|").*('|"))?>/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}module.exports=xquery},83322:module=>{function yaml(hljs){var LITERALS="true false yes no null",URI_CHARACTERS="[\\w#;/?:@&=+$,.~*'()[\\]]+",KEY={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},TEMPLATE_VARIABLES={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},STRING={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[hljs.BACKSLASH_ESCAPE,TEMPLATE_VARIABLES]},CONTAINER_STRING=hljs.inherit(STRING,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),DATE_RE="[0-9]{4}(-[0-9][0-9]){0,2}",TIME_RE="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",FRACTION_RE="(\\.[0-9]*)?",ZONE_RE="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",TIMESTAMP={className:"number",begin:"\\b"+DATE_RE+TIME_RE+FRACTION_RE+ZONE_RE+"\\b"},VALUE_CONTAINER={end:",",endsWithParent:!0,excludeEnd:!0,keywords:LITERALS,relevance:0},OBJECT={begin:/\{/,end:/\}/,contains:[VALUE_CONTAINER],illegal:"\\n",relevance:0},ARRAY={begin:"\\[",end:"\\]",contains:[VALUE_CONTAINER],illegal:"\\n",relevance:0},MODES=[KEY,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+URI_CHARACTERS},{className:"type",begin:"!<"+URI_CHARACTERS+">"},{className:"type",begin:"!"+URI_CHARACTERS},{className:"type",begin:"!!"+URI_CHARACTERS},{className:"meta",begin:"&"+hljs.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+hljs.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},hljs.HASH_COMMENT_MODE,{beginKeywords:LITERALS,keywords:{literal:LITERALS}},TIMESTAMP,{className:"number",begin:hljs.C_NUMBER_RE+"\\b",relevance:0},OBJECT,ARRAY,STRING],VALUE_MODES=[...MODES];return VALUE_MODES.pop(),VALUE_MODES.push(CONTAINER_STRING),VALUE_CONTAINER.contains=VALUE_MODES,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:MODES}}module.exports=yaml},89417:module=>{function zephir(hljs){const STRING={className:"string",contains:[hljs.BACKSLASH_ESCAPE],variants:[hljs.inherit(hljs.APOS_STRING_MODE,{illegal:null}),hljs.inherit(hljs.QUOTE_STRING_MODE,{illegal:null})]},TITLE_MODE=hljs.UNDERSCORE_TITLE_MODE,NUMBER={variants:[hljs.BINARY_NUMBER_MODE,hljs.C_NUMBER_MODE]},KEYWORDS="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:KEYWORDS,contains:[hljs.C_LINE_COMMENT_MODE,hljs.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[hljs.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:KEYWORDS,contains:["self",hljs.C_BLOCK_COMMENT_MODE,STRING,NUMBER]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},TITLE_MODE]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[TITLE_MODE]},{beginKeywords:"use",end:/;/,contains:[TITLE_MODE]},{begin:/=>/},STRING,NUMBER]}}module.exports=zephir},28583:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";const decamelize=__webpack_require__(85051),humanizeString=input=>{if(typeof input!="string")throw new TypeError("Expected a string");return input=decamelize(input),input=input.toLowerCase().replace(/[_-]+/g," ").replace(/\s{2,}/g," ").trim(),input=input.charAt(0).toUpperCase()+input.slice(1),input};module.exports=humanizeString,module.exports.default=humanizeString},30551:(__unused_webpack_module,exports)=>{/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */exports.read=function(buffer,offset,isLE,mLen,nBytes){var e,m,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,nBits=-7,i=isLE?nBytes-1:0,d=isLE?-1:1,s=buffer[offset+i];for(i+=d,e=s&(1<<-nBits)-1,s>>=-nBits,nBits+=eLen;nBits>0;e=e*256+buffer[offset+i],i+=d,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=m*256+buffer[offset+i],i+=d,nBits-=8);if(e===0)e=1-eBias;else{if(e===eMax)return m?NaN:(s?-1:1)*(1/0);m=m+Math.pow(2,mLen),e=e-eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)},exports.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=mLen===23?Math.pow(2,-24)-Math.pow(2,-77):0,i=isLE?0:nBytes-1,d=isLE?1:-1,s=value<0||value===0&&1/value<0?1:0;for(value=Math.abs(value),isNaN(value)||value===1/0?(m=isNaN(value)?1:0,e=eMax):(e=Math.floor(Math.log(value)/Math.LN2),value*(c=Math.pow(2,-e))<1&&(e--,c*=2),e+eBias>=1?value+=rt/c:value+=rt*Math.pow(2,1-eBias),value*c>=2&&(e++,c/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c-1)*Math.pow(2,mLen),e=e+eBias):(m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen),e=0));mLen>=8;buffer[offset+i]=m&255,i+=d,m/=256,mLen-=8);for(e=e<<mLen|m,eLen+=mLen;eLen>0;buffer[offset+i]=e&255,i+=d,e/=256,eLen-=8);buffer[offset+i-d]|=s*128}},2937:module=>{typeof Object.create=="function"?module.exports=function(ctor,superCtor){superCtor&&(ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}}))}:module.exports=function(ctor,superCtor){if(superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype,ctor.prototype=new TempCtor,ctor.prototype.constructor=ctor}}},44599:module=>{"use strict";module.exports=alphabetical;function alphabetical(character){var code=typeof character=="string"?character.charCodeAt(0):character;return code>=97&&code<=122||code>=65&&code<=90}},21831:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var alphabetical=__webpack_require__(44599),decimal=__webpack_require__(8451);module.exports=alphanumerical;function alphanumerical(character){return alphabetical(character)||decimal(character)}},42571:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var hasToStringTag=__webpack_require__(47388)(),callBound=__webpack_require__(74161),$toString=callBound("Object.prototype.toString"),isStandardArguments=function(value){return hasToStringTag&&value&&typeof value=="object"&&Symbol.toStringTag in value?!1:$toString(value)==="[object Arguments]"},isLegacyArguments=function(value){return isStandardArguments(value)?!0:value!==null&&typeof value=="object"&&typeof value.length=="number"&&value.length>=0&&$toString(value)!=="[object Array]"&&$toString(value.callee)==="[object Function]"},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments,module.exports=supportsStandardArguments?isStandardArguments:isLegacyArguments},33655:module=>{"use strict";var fnToStr=Function.prototype.toString,reflectApply=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,badArrayLike,isCallableMarker;if(typeof reflectApply=="function"&&typeof Object.defineProperty=="function")try{badArrayLike=Object.defineProperty({},"length",{get:function(){throw isCallableMarker}}),isCallableMarker={},reflectApply(function(){throw 42},null,badArrayLike)}catch(_){_!==isCallableMarker&&(reflectApply=null)}else reflectApply=null;var constructorRegex=/^\s*class\b/,isES6ClassFn=function(value){try{var fnStr=fnToStr.call(value);return constructorRegex.test(fnStr)}catch{return!1}},tryFunctionObject=function(value){try{return isES6ClassFn(value)?!1:(fnToStr.call(value),!0)}catch{return!1}},toStr=Object.prototype.toString,objectClass="[object Object]",fnClass="[object Function]",genClass="[object GeneratorFunction]",ddaClass="[object HTMLAllCollection]",ddaClass2="[object HTML document.all class]",ddaClass3="[object HTMLCollection]",hasToStringTag=typeof Symbol=="function"&&!!Symbol.toStringTag,isIE68=!(0 in[,]),isDDA=function(){return!1};if(typeof document=="object"){var all=document.all;toStr.call(all)===toStr.call(document.all)&&(isDDA=function(value){if((isIE68||!value)&&(typeof value>"u"||typeof value=="object"))try{var str=toStr.call(value);return(str===ddaClass||str===ddaClass2||str===ddaClass3||str===objectClass)&&value("")==null}catch{}return!1})}module.exports=reflectApply?function(value){if(isDDA(value))return!0;if(!value||typeof value!="function"&&typeof value!="object")return!1;try{reflectApply(value,null,badArrayLike)}catch(e){if(e!==isCallableMarker)return!1}return!isES6ClassFn(value)&&tryFunctionObject(value)}:function(value){if(isDDA(value))return!0;if(!value||typeof value!="function"&&typeof value!="object")return!1;if(hasToStringTag)return tryFunctionObject(value);if(isES6ClassFn(value))return!1;var strClass=toStr.call(value);return strClass!==fnClass&&strClass!==genClass&&!/^\[object HTML/.test(strClass)?!1:tryFunctionObject(value)}},8451:module=>{"use strict";module.exports=decimal;function decimal(character){var code=typeof character=="string"?character.charCodeAt(0):character;return code>=48&&code<=57}},89141:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var toStr=Object.prototype.toString,fnToStr=Function.prototype.toString,isFnRegex=/^\s*(?:function)?\*/,hasToStringTag=__webpack_require__(47388)(),getProto=Object.getPrototypeOf,getGeneratorFunc=function(){if(!hasToStringTag)return!1;try{return Function("return function*() {}")()}catch{}},GeneratorFunction;module.exports=function(fn){if(typeof fn!="function")return!1;if(isFnRegex.test(fnToStr.call(fn)))return!0;if(!hasToStringTag){var str=toStr.call(fn);return str==="[object GeneratorFunction]"}if(!getProto)return!1;if(typeof GeneratorFunction>"u"){var generatorFunc=getGeneratorFunc();GeneratorFunction=generatorFunc?getProto(generatorFunc):!1}return getProto(fn)===GeneratorFunction}},29401:module=>{"use strict";module.exports=hexadecimal;function hexadecimal(character){var code=typeof character=="string"?character.charCodeAt(0):character;return code>=97&&code<=102||code>=65&&code<=70||code>=48&&code<=57}},2612:module=>{"use strict";module.exports=function(value){return value!==value}},65757:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var callBind=__webpack_require__(96350),define=__webpack_require__(89722),implementation=__webpack_require__(2612),getPolyfill=__webpack_require__(79774),shim=__webpack_require__(6928),polyfill=callBind(getPolyfill(),Number);define(polyfill,{getPolyfill,implementation,shim}),module.exports=polyfill},79774:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var implementation=__webpack_require__(2612);module.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:implementation}},6928:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var define=__webpack_require__(89722),getPolyfill=__webpack_require__(79774);module.exports=function(){var polyfill=getPolyfill();return define(Number,{isNaN:polyfill},{isNaN:function(){return Number.isNaN!==polyfill}}),polyfill}},37261:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var whichTypedArray=__webpack_require__(44418);module.exports=function(value){return!!whichTypedArray(value)}},36768:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var Buffer=__webpack_require__(55872).Buffer,__awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){function adopt(value){return value instanceof P?value:new P(function(resolve){resolve(value)})}return new(P||(P=Promise))(function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):adopt(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())})};Object.defineProperty(exports,"__esModule",{value:!0});const fs=__webpack_require__(5010),util_1=__webpack_require__(93585),statAsync=util_1.promisify(fs.stat),openAsync=util_1.promisify(fs.open),closeAsync=util_1.promisify(fs.close),MAX_BYTES=512;function isBinaryFile(file,size){return __awaiter(this,void 0,void 0,function*(){if(isString(file)){const stat=yield statAsync(file);isStatFile(stat);const fileDescriptor=yield openAsync(file,"r"),allocBuffer=Buffer.alloc(MAX_BYTES);return new Promise((fulfill,reject)=>{fs.read(fileDescriptor,allocBuffer,0,MAX_BYTES,0,(err,bytesRead,_)=>{closeAsync(fileDescriptor),err?reject(err):fulfill(isBinaryCheck(allocBuffer,bytesRead))})})}else return size===void 0&&(size=file.length),isBinaryCheck(file,size)})}exports.isBinaryFile=isBinaryFile;function isBinaryFileSync(file,size){if(isString(file)){const stat=fs.statSync(file);isStatFile(stat);const fileDescriptor=fs.openSync(file,"r"),allocBuffer=Buffer.alloc(MAX_BYTES),bytesRead=fs.readSync(fileDescriptor,allocBuffer,0,MAX_BYTES,0);return fs.closeSync(fileDescriptor),isBinaryCheck(allocBuffer,bytesRead)}else return size===void 0&&(size=file.length),isBinaryCheck(file,size)}exports.isBinaryFileSync=isBinaryFileSync;function isBinaryCheck(fileBuffer,bytesRead){if(bytesRead===0)return!1;let suspiciousBytes=0;const totalBytes=Math.min(bytesRead,MAX_BYTES);if(bytesRead>=3&&fileBuffer[0]===239&&fileBuffer[1]===187&&fileBuffer[2]===191||bytesRead>=4&&fileBuffer[0]===0&&fileBuffer[1]===0&&fileBuffer[2]===254&&fileBuffer[3]===255||bytesRead>=4&&fileBuffer[0]===255&&fileBuffer[1]===254&&fileBuffer[2]===0&&fileBuffer[3]===0||bytesRead>=4&&fileBuffer[0]===132&&fileBuffer[1]===49&&fileBuffer[2]===149&&fileBuffer[3]===51)return!1;if(totalBytes>=5&&fileBuffer.slice(0,5).toString()==="%PDF-")return!0;if(bytesRead>=2&&fileBuffer[0]===254&&fileBuffer[1]===255||bytesRead>=2&&fileBuffer[0]===255&&fileBuffer[1]===254)return!1;for(let i=0;i<totalBytes;i++){if(fileBuffer[i]===0)return!0;if((fileBuffer[i]<7||fileBuffer[i]>14)&&(fileBuffer[i]<32||fileBuffer[i]>127)){if(fileBuffer[i]>193&&fileBuffer[i]<224&&i+1<totalBytes){if(i++,fileBuffer[i]>127&&fileBuffer[i]<192)continue}else if(fileBuffer[i]>223&&fileBuffer[i]<240&&i+2<totalBytes&&(i++,fileBuffer[i]>127&&fileBuffer[i]<192&&fileBuffer[i+1]>127&&fileBuffer[i+1]<192)){i++;continue}if(suspiciousBytes++,i>32&&suspiciousBytes*100/totalBytes>10)return!0}}return suspiciousBytes*100/totalBytes>10}function isString(x){return typeof x=="string"}function isStatFile(stat){if(!stat.isFile())throw new Error("Path provided was not a file!")}},38419:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>JavascriptTimeAgo,intlDateTimeFormatSupported:()=>intlDateTimeFormatSupported,intlDateTimeFormatSupportedLocale:()=>intlDateTimeFormatSupportedLocale});var defaultLocale="en",localesData={};function getDefaultLocale(){return defaultLocale}function setDefaultLocale(locale){defaultLocale=locale}function getLocaleData(locale){return localesData[locale]}function addLocaleData(localeData){if(!localeData)throw new Error("No locale data passed");localesData[localeData.locale]=localeData}function resolveLocale(locale){var options=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},localeMatcher=options.localeMatcher||"lookup";switch(localeMatcher){case"lookup":return resolveLocaleLookup(locale);case"best fit":return resolveLocaleLookup(locale);default:throw new RangeError('Invalid "localeMatcher" option: '.concat(localeMatcher))}}function resolveLocaleLookup(locale){if(getLocaleData(locale))return locale;for(var parts=locale.split("-");locale.length>1;)if(parts.pop(),locale=parts.join("-"),getLocaleData(locale))return locale}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Constructor}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var UNITS=["second","minute","hour","day","week","month","quarter","year"],NUMERIC_VALUES=["auto","always"],STYLE_VALUES=["long","short","narrow"],RelativeTimeFormat=function(){function RelativeTimeFormat2(){var locales=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],options=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};_classCallCheck(this,RelativeTimeFormat2),_defineProperty(this,"numeric","always"),_defineProperty(this,"style","long"),_defineProperty(this,"localeMatcher","lookup");var numeric=options.numeric,style=options.style,localeMatcher=options.localeMatcher;if(numeric){if(NUMERIC_VALUES.indexOf(numeric)<0)throw new RangeError('Invalid "numeric" option: '.concat(numeric));this.numeric=numeric}if(style){if(STYLE_VALUES.indexOf(style)<0)throw new RangeError('Invalid "style" option: '.concat(style));this.style=style}if(localeMatcher&&(this.localeMatcher=localeMatcher),typeof locales=="string"&&(locales=[locales]),locales.push(getDefaultLocale()),this.locale=RelativeTimeFormat2.supportedLocalesOf(locales,{localeMatcher:this.localeMatcher})[0],!this.locale)throw new TypeError("No supported locale was found");this.locale=resolveLocale(this.locale,{localeMatcher:this.localeMatcher}),typeof Intl<"u"&&Intl.NumberFormat&&(this.numberFormat=new Intl.NumberFormat(this.locale))}return _createClass(RelativeTimeFormat2,[{key:"format",value:function(value,unit){return this.getRule(value,unit).replace("{0}",this.formatNumber(Math.abs(value)))}},{key:"formatToParts",value:function(value,unit){var rule=this.getRule(value,unit),valueIndex=rule.indexOf("{0}");if(valueIndex<0)return[{type:"literal",value:rule}];var parts=[];return valueIndex>0&&parts.push({type:"literal",value:rule.slice(0,valueIndex)}),parts.push({unit,type:"integer",value:this.formatNumber(Math.abs(value))}),valueIndex+3<rule.length-1&&parts.push({type:"literal",value:rule.slice(valueIndex+3)}),parts}},{key:"getRule",value:function(value,unit){if(UNITS.indexOf(unit)<0)throw new RangeError("Unknown time unit: ".concat(unit,"."));var unitRules=getLocaleData(this.locale)[this.style][unit];if(this.numeric==="auto"){if(value===-2||value===-1){var message=unitRules["previous".concat(value===-1?"":"-"+Math.abs(value))];if(message)return message}else if(value===1||value===2){var _message=unitRules["next".concat(value===1?"":"-"+Math.abs(value))];if(_message)return _message}else if(value===0&&unitRules.current)return unitRules.current}var quantifierRules=unitRules[value<=0?"past":"future"];if(typeof quantifierRules=="string")return quantifierRules;var quantify=getLocaleData(this.locale).quantify,quantifier=quantify&&quantify(Math.abs(value));return quantifier=quantifier||"other",quantifierRules[quantifier]||quantifierRules.other}},{key:"formatNumber",value:function(number){return this.numberFormat?this.numberFormat.format(number):String(number)}},{key:"resolvedOptions",value:function(){return{locale:this.locale,style:this.style,numeric:this.numeric}}}]),RelativeTimeFormat2}();RelativeTimeFormat.supportedLocalesOf=function(locales){var options=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return typeof locales=="string"&&(locales=[locales]),locales.filter(function(locale){return resolveLocale(locale,options)})},RelativeTimeFormat.addLocale=addLocaleData,RelativeTimeFormat.setDefaultLocale=setDefaultLocale,RelativeTimeFormat.getDefaultLocale=getDefaultLocale;function _typeof(obj){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(obj2){return typeof obj2}:_typeof=function(obj2){return obj2&&typeof Symbol=="function"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2},_typeof(obj)}function cache_classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function cache_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 cache_createClass(Constructor,protoProps,staticProps){return protoProps&&cache_defineProperties(Constructor.prototype,protoProps),staticProps&&cache_defineProperties(Constructor,staticProps),Constructor}function cache_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var Cache=function(){function Cache2(){cache_classCallCheck(this,Cache2),cache_defineProperty(this,"cache",{})}return cache_createClass(Cache2,[{key:"get",value:function(){for(var cache=this.cache,_len=arguments.length,keys=new Array(_len),_key=0;_key<_len;_key++)keys[_key]=arguments[_key];for(var _i=0;_i<keys.length;_i++){var key=keys[_i];if(_typeof(cache)!=="object")return;cache=cache[key]}return cache}},{key:"put",value:function(){for(var _len2=arguments.length,keys=new Array(_len2),_key2=0;_key2<_len2;_key2++)keys[_key2]=arguments[_key2];for(var value=keys.pop(),lastKey=keys.pop(),cache=this.cache,_i2=0;_i2<keys.length;_i2++){var key=keys[_i2];_typeof(cache[key])!=="object"&&(cache[key]={}),cache=cache[key]}return cache[lastKey]=value}}]),Cache2}(),minute=60,hour=60*minute,day=24*hour,month=30.44*day,year=146097/400*day;function getStep(gradation,unit){for(var _iterator=gradation,_isArray=Array.isArray(_iterator),_i=0,_iterator=_isArray?_iterator:_iterator[Symbol.iterator]();;){var _ref;if(_isArray){if(_i>=_iterator.length)break;_ref=_iterator[_i++]}else{if(_i=_iterator.next(),_i.done)break;_ref=_i.value}var step=_ref;if(step.unit===unit)return step}}function getDate(value){return value instanceof Date?value:new Date(value)}const convenient=[{factor:1,unit:"now"},{threshold:1,threshold_for_now:45,factor:1,unit:"second"},{threshold:45,factor:60,unit:"minute"},{threshold:2.5*60,factor:60,granularity:5,unit:"minute"},{threshold:22.5*60,factor:30*60,unit:"half-hour"},{threshold:42.5*60,threshold_for_minute:52.5*60,factor:60*60,unit:"hour"},{threshold:20.5/24*day,factor:day,unit:"day"},{threshold:5.5*day,factor:7*day,unit:"week"},{threshold:3.5*7*day,factor:month,unit:"month"},{threshold:10.5*month,factor:year,unit:"year"}];function grade_typeof(obj){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?grade_typeof=function(obj2){return typeof obj2}:grade_typeof=function(obj2){return obj2&&typeof Symbol=="function"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2},grade_typeof(obj)}function grade(elapsed,now,units){var gradation=arguments.length>3&&arguments[3]!==void 0?arguments[3]:convenient;if(gradation=getAllowedSteps(gradation,units),gradation.length!==0){var i=findGradationStep(elapsed,now,gradation),step=gradation[i];if(i!==-1){if(step.granularity){var amount=Math.round(Math.abs(elapsed)/step.factor/step.granularity)*step.granularity;if(amount===0&&i>0)return gradation[i-1]}return step}}}function getThreshold(fromStep,toStep,now,future){var threshold;if(fromStep&&(fromStep.id||fromStep.unit)&&(threshold=toStep["threshold_for_".concat(fromStep.id||fromStep.unit)]),threshold===void 0&&(threshold=toStep.threshold),typeof threshold=="function"&&(threshold=threshold(now,future)),fromStep&&typeof threshold!="number"){var type=grade_typeof(threshold);throw new Error('Each step of a gradation must have a threshold defined except for the first one. Got "'.concat(threshold,'", ').concat(type,". Step: ").concat(JSON.stringify(toStep)))}return threshold}function findGradationStep(elapsed,now,gradation){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return Math.abs(elapsed)<getThreshold(gradation[i-1],gradation[i],now,elapsed<0)?i-1:i===gradation.length-1?i:findGradationStep(elapsed,now,gradation,i+1)}function getAllowedSteps(gradation,units){return gradation.filter(function(_ref){var unit=_ref.unit;return unit?units.indexOf(unit)>=0:!0})}function locale_typeof(obj){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?locale_typeof=function(obj2){return typeof obj2}:locale_typeof=function(obj2){return obj2&&typeof Symbol=="function"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2},locale_typeof(obj)}function chooseLocale(locales,isLocaleDataAvailable){for(var _iterator=locales,_isArray=Array.isArray(_iterator),_i=0,_iterator=_isArray?_iterator:_iterator[Symbol.iterator]();;){var _ref;if(_isArray){if(_i>=_iterator.length)break;_ref=_iterator[_i++]}else{if(_i=_iterator.next(),_i.done)break;_ref=_i.value}var locale=_ref;if(isLocaleDataAvailable(locale))return locale;for(var parts=locale.split("-");parts.length>1;)if(parts.pop(),locale=parts.join("-"),isLocaleDataAvailable(locale))return locale}throw new Error("No locale data has been registered for any of the locales: ".concat(locales.join(", ")))}function intlDateTimeFormatSupportedLocale(locales){if(intlDateTimeFormatSupported())return Intl.DateTimeFormat.supportedLocalesOf(locales)[0]}function intlDateTimeFormatSupported(){var isIntlAvailable=(typeof Intl>"u"?"undefined":locale_typeof(Intl))==="object";return isIntlAvailable&&typeof Intl.DateTimeFormat=="function"}const style_default={gradation:convenient,flavour:["long-convenient","long"],units:["now","minute","hour","day","week","month","year"]},canonical=[{factor:1,unit:"now"},{threshold:.5,factor:1,unit:"second"},{threshold:59.5,factor:60,unit:"minute"},{threshold:59.5*60,factor:60*60,unit:"hour"},{threshold:23.5*60*60,factor:day,unit:"day"},{threshold:6.5*day,factor:7*day,unit:"week"},{threshold:3.5*7*day,factor:month,unit:"month"},{threshold:11.5*month,factor:year,unit:"year"}];function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{},ownKeys=Object.keys(source);typeof Object.getOwnPropertySymbols=="function"&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))),ownKeys.forEach(function(key){twitter_defineProperty(target,key,source[key])})}return target}function twitter_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var formatters={};const twitter={gradation:[_objectSpread({},getStep(canonical,"minute"),{threshold:59.5}),_objectSpread({},getStep(canonical,"hour"),{threshold:59.5*60}),{threshold:day-.5*hour,format:function(value,locale){if(!!intlDateTimeFormatSupported())return formatters[locale]||(formatters[locale]={}),formatters[locale].this_year||(formatters[locale].this_year=new Intl.DateTimeFormat(locale,{month:"short",day:"numeric"})),formatters[locale].this_year.format(getDate(value))}},{threshold:function(now,future){if(future){var nextYear=new Date(new Date(now).getFullYear()+1,0);return(nextYear.getTime()-now)/1e3}else{var thisYear=new Date(new Date(now).getFullYear(),0);return(now-thisYear.getTime())/1e3}},format:function(value,locale){if(!!intlDateTimeFormatSupported())return formatters[locale]||(formatters[locale]={}),formatters[locale].other||(formatters[locale].other=new Intl.DateTimeFormat(locale,{year:"numeric",month:"short",day:"numeric"})),formatters[locale].other.format(getDate(value))}}],flavour:["tiny","short-time","narrow","short"]},style_time={gradation:convenient,flavour:"long-time",units:["now","minute","hour","day","week","month","year"]};var LocaleDataStore_defaultLocale="en",LocaleDataStore_localesData={};function LocaleDataStore_getLocaleData(locale){return LocaleDataStore_localesData[locale]}function LocaleDataStore_addLocaleData(localeData){if(!localeData)throw new Error("[javascript-time-ago] No locale data passed.");LocaleDataStore_localesData[localeData.locale]=localeData}function JavascriptTimeAgo_typeof(obj){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?JavascriptTimeAgo_typeof=function(obj2){return typeof obj2}:JavascriptTimeAgo_typeof=function(obj2){return obj2&&typeof Symbol=="function"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2},JavascriptTimeAgo_typeof(obj)}function JavascriptTimeAgo_classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function JavascriptTimeAgo_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 JavascriptTimeAgo_createClass(Constructor,protoProps,staticProps){return protoProps&&JavascriptTimeAgo_defineProperties(Constructor.prototype,protoProps),staticProps&&JavascriptTimeAgo_defineProperties(Constructor,staticProps),Constructor}var JavascriptTimeAgo_UNITS=null,JavascriptTimeAgo=function(){function JavascriptTimeAgo2(){var locales=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];JavascriptTimeAgo_classCallCheck(this,JavascriptTimeAgo2),typeof locales=="string"&&(locales=[locales]),this.locale=chooseLocale(locales.concat(RelativeTimeFormat.getDefaultLocale()),LocaleDataStore_getLocaleData),typeof Intl<"u"&&Intl.NumberFormat&&(this.numberFormat=new Intl.NumberFormat(this.locale)),this.relativeTimeFormatCache=new Cache}return JavascriptTimeAgo_createClass(JavascriptTimeAgo2,[{key:"format",value:function(input){var style=arguments.length>1&&arguments[1]!==void 0?arguments[1]:style_default;if(typeof style=="string")switch(style){case"twitter":style=twitter;break;case"time":style=style_time;break;default:style=style_default}var _getDateAndTimeBeingF=getDateAndTimeBeingFormatted(input),date=_getDateAndTimeBeingF.date,time=_getDateAndTimeBeingF.time,_this$getLocaleData=this.getLocaleData(style.flavour),flavour=_this$getLocaleData.flavour,localeData=_this$getLocaleData.localeData,now=style.now||Date.now(),elapsed=(now-time)/1e3;if(style.custom){var custom=style.custom({now,date,time,elapsed,locale:this.locale});if(custom!==void 0)return custom}var units=getTimeIntervalMeasurementUnits(localeData,style.units);if(units.length===0)return console.error('Units "'.concat(units.join(", "),'" were not found in locale data for "').concat(this.locale,'".')),"";var step=grade(elapsed,now,units,style.gradation);if(!step)return"";if(step.format)return step.format(date||time,this.locale);var unit=step.unit,factor=step.factor,granularity=step.granularity,amount=Math.abs(elapsed)/factor;if(granularity&&(amount=Math.round(amount/granularity)*granularity),unit==="now")return getNowMessage(localeData,-1*Math.sign(elapsed));switch(flavour){case"long":case"short":case"narrow":return this.getFormatter(flavour).format(-1*Math.sign(elapsed)*Math.round(amount),unit);default:return this.formatValue(-1*Math.sign(elapsed)*Math.round(amount),unit,localeData)}}},{key:"formatValue",value:function(value,unit,localeData){return this.getRule(value,unit,localeData).replace("{0}",this.formatNumber(Math.abs(value)))}},{key:"getRule",value:function(value,unit,localeData){var unitRules=localeData[unit];if(typeof unitRules=="string")return unitRules;var quantifierRules=unitRules[value<=0?"past":"future"]||unitRules;if(typeof quantifierRules=="string")return quantifierRules;var quantify=LocaleDataStore_getLocaleData(this.locale).quantify,quantifier=quantify&&quantify(Math.abs(value));return quantifier=quantifier||"other",quantifierRules[quantifier]||quantifierRules.other}},{key:"formatNumber",value:function(number){return this.numberFormat?this.numberFormat.format(number):String(number)}},{key:"getFormatter",value:function(flavor){return this.relativeTimeFormatCache.get(this.locale,flavor)||this.relativeTimeFormatCache.put(this.locale,flavor,new RelativeTimeFormat(this.locale,{style:flavor}))}},{key:"getLocaleData",value:function(){var flavour=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],localeData=LocaleDataStore_getLocaleData(this.locale);typeof flavour=="string"&&(flavour=[flavour]),flavour=flavour.concat("long");for(var _iterator=flavour,_isArray=Array.isArray(_iterator),_i=0,_iterator=_isArray?_iterator:_iterator[Symbol.iterator]();;){var _ref;if(_isArray){if(_i>=_iterator.length)break;_ref=_iterator[_i++]}else{if(_i=_iterator.next(),_i.done)break;_ref=_i.value}var _=_ref;if(localeData[_])return{flavour:_,localeData:localeData[_]}}}}]),JavascriptTimeAgo2}();JavascriptTimeAgo.getDefaultLocale=RelativeTimeFormat.getDefaultLocale,JavascriptTimeAgo.setDefaultLocale=RelativeTimeFormat.setDefaultLocale,JavascriptTimeAgo.addLocale=function(localeData){LocaleDataStore_addLocaleData(localeData),RelativeTimeFormat.addLocale(localeData)},JavascriptTimeAgo.locale=JavascriptTimeAgo.addLocale;function getDateAndTimeBeingFormatted(input){if(input.constructor===Date||isMockedDate(input))return{date:input,time:input.getTime()};if(typeof input=="number")return{time:input};throw new Error("Unsupported relative time formatter input: ".concat(JavascriptTimeAgo_typeof(input),", ").concat(input))}function isMockedDate(object){return JavascriptTimeAgo_typeof(object)==="object"&&typeof object.getTime=="function"}function getTimeIntervalMeasurementUnits(localeData,restrictedSetOfUnits){var units=Object.keys(localeData);return restrictedSetOfUnits&&(units=restrictedSetOfUnits.filter(function(_){return units.indexOf(_)>=0})),(!restrictedSetOfUnits||restrictedSetOfUnits.indexOf("now")>=0)&&units.indexOf("now")<0&&localeData.second.current&&units.unshift("now"),units}function getNowMessage(localeData,value){return localeData.now?typeof localeData.now=="string"?localeData.now:value<=0?localeData.now.past:localeData.now.future:localeData.second.current}},36192:(module,__unused_webpack_exports,__webpack_require__)=>{var locale=__webpack_require__(69540);module.exports={locale:locale.locale,long:locale.long,short:locale.short,narrow:locale.narrow,"short-time":__webpack_require__(14640),"short-convenient":__webpack_require__(90596),"long-time":__webpack_require__(94609),"long-convenient":__webpack_require__(20433),tiny:__webpack_require__(27218),quantify:locale.quantify}},17703:(__unused_webpack_module,exports)=>{"use strict";var __webpack_unused_export__;__webpack_unused_export__=!0,__webpack_unused_export__=void 0;var LF=`
123
123
  `,CR="\r",LinesAndColumns2=function(){function LinesAndColumns3(string){this.string=string;for(var offsets=[0],offset=0;offset<string.length;)switch(string[offset]){case LF:offset+=LF.length,offsets.push(offset);break;case CR:offset+=CR.length,string[offset]===LF&&(offset+=LF.length),offsets.push(offset);break;default:offset++;break}this.offsets=offsets}return LinesAndColumns3.prototype.locationForIndex=function(index){if(index<0||index>this.string.length)return null;for(var line=0,offsets=this.offsets;offsets[line+1]<=index;)line++;var column=index-offsets[line];return{line,column}},LinesAndColumns3.prototype.indexForLocation=function(location){var line=location.line,column=location.column;return line<0||line>=this.offsets.length||column<0||column>this.lengthOfLine(line)?null:this.offsets[line]+column},LinesAndColumns3.prototype.lengthOfLine=function(line){var offset=this.offsets[line],nextOffset=line===this.offsets.length-1?this.string.length:this.offsets[line+1];return nextOffset-offset},LinesAndColumns3}();__webpack_unused_export__=LinesAndColumns2,__webpack_unused_export__=LinesAndColumns2},30174:(module,exports,__webpack_require__)=>{module=__webpack_require__.nmd(module);var LARGE_ARRAY_SIZE=200,FUNC_ERROR_TEXT="Expected a function",HASH_UNDEFINED="__lodash_hash_undefined__",UNORDERED_COMPARE_FLAG=1,PARTIAL_COMPARE_FLAG=2,INFINITY=1/0,MAX_SAFE_INTEGER=9007199254740991,argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",genTag="[object GeneratorFunction]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",promiseTag="[object Promise]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",weakMapTag="[object WeakMap]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/,reLeadingDot=/^\./,rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reEscapeChar=/\\(\\)?/g,reIsHostCtor=/^\[object .+?Constructor\]$/,reIsUint=/^(?:0|[1-9]\d*)$/,typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0,typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=!1;var freeGlobal=typeof __webpack_require__.g=="object"&&__webpack_require__.g&&__webpack_require__.g.Object===Object&&__webpack_require__.g,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")(),freeExports=exports&&!exports.nodeType&&exports,freeModule=freeExports&&!0&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,freeProcess=moduleExports&&freeGlobal.process,nodeUtil=function(){try{return freeProcess&&freeProcess.binding("util")}catch{}}(),nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray;function arrayMap(array,iteratee){for(var index=-1,length=array?array.length:0,result=Array(length);++index<length;)result[index]=iteratee(array[index],index,array);return result}function arraySome(array,predicate){for(var index=-1,length=array?array.length:0;++index<length;)if(predicate(array[index],index,array))return!0;return!1}function baseProperty(key){return function(object){return object?.[key]}}function baseSortBy(array,comparer){var length=array.length;for(array.sort(comparer);length--;)array[length]=array[length].value;return array}function baseTimes(n,iteratee){for(var index=-1,result=Array(n);++index<n;)result[index]=iteratee(index);return result}function baseUnary(func){return function(value){return func(value)}}function getValue(object,key){return object?.[key]}function isHostObject(value){var result=!1;if(value!=null&&typeof value.toString!="function")try{result=!!(value+"")}catch{}return result}function mapToArray(map){var index=-1,result=Array(map.size);return map.forEach(function(value,key){result[++index]=[key,value]}),result}function overArg(func,transform){return function(arg){return func(transform(arg))}}function setToArray(set){var index=-1,result=Array(set.size);return set.forEach(function(value){result[++index]=value}),result}var arrayProto=Array.prototype,funcProto=Function.prototype,objectProto=Object.prototype,coreJsData=root["__core-js_shared__"],maskSrcKey=function(){var uid=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||"");return uid?"Symbol(src)_1."+uid:""}(),funcToString=funcProto.toString,hasOwnProperty=objectProto.hasOwnProperty,objectToString=objectProto.toString,reIsNative=RegExp("^"+funcToString.call(hasOwnProperty).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Symbol2=root.Symbol,Uint8Array2=root.Uint8Array,propertyIsEnumerable=objectProto.propertyIsEnumerable,splice=arrayProto.splice,nativeKeys=overArg(Object.keys,Object),DataView2=getNative(root,"DataView"),Map2=getNative(root,"Map"),Promise2=getNative(root,"Promise"),Set2=getNative(root,"Set"),WeakMap2=getNative(root,"WeakMap"),nativeCreate=getNative(Object,"create"),dataViewCtorString=toSource(DataView2),mapCtorString=toSource(Map2),promiseCtorString=toSource(Promise2),setCtorString=toSource(Set2),weakMapCtorString=toSource(WeakMap2),symbolProto=Symbol2?Symbol2.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;function Hash(entries){var index=-1,length=entries?entries.length:0;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{}}function hashDelete(key){return this.has(key)&&delete this.__data__[key]}function hashGet(key){var data=this.__data__;if(nativeCreate){var result=data[key];return result===HASH_UNDEFINED?void 0:result}return hasOwnProperty.call(data,key)?data[key]:void 0}function hashHas(key){var data=this.__data__;return nativeCreate?data[key]!==void 0:hasOwnProperty.call(data,key)}function hashSet(key,value){var data=this.__data__;return data[key]=nativeCreate&&value===void 0?HASH_UNDEFINED:value,this}Hash.prototype.clear=hashClear,Hash.prototype.delete=hashDelete,Hash.prototype.get=hashGet,Hash.prototype.has=hashHas,Hash.prototype.set=hashSet;function ListCache(entries){var index=-1,length=entries?entries.length:0;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}function listCacheClear(){this.__data__=[]}function listCacheDelete(key){var data=this.__data__,index=assocIndexOf(data,key);if(index<0)return!1;var lastIndex=data.length-1;return index==lastIndex?data.pop():splice.call(data,index,1),!0}function listCacheGet(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?void 0:data[index][1]}function listCacheHas(key){return assocIndexOf(this.__data__,key)>-1}function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);return index<0?data.push([key,value]):data[index][1]=value,this}ListCache.prototype.clear=listCacheClear,ListCache.prototype.delete=listCacheDelete,ListCache.prototype.get=listCacheGet,ListCache.prototype.has=listCacheHas,ListCache.prototype.set=listCacheSet;function MapCache(entries){var index=-1,length=entries?entries.length:0;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}function mapCacheClear(){this.__data__={hash:new Hash,map:new(Map2||ListCache),string:new Hash}}function mapCacheDelete(key){return getMapData(this,key).delete(key)}function mapCacheGet(key){return getMapData(this,key).get(key)}function mapCacheHas(key){return getMapData(this,key).has(key)}function mapCacheSet(key,value){return getMapData(this,key).set(key,value),this}MapCache.prototype.clear=mapCacheClear,MapCache.prototype.delete=mapCacheDelete,MapCache.prototype.get=mapCacheGet,MapCache.prototype.has=mapCacheHas,MapCache.prototype.set=mapCacheSet;function SetCache(values){var index=-1,length=values?values.length:0;for(this.__data__=new MapCache;++index<length;)this.add(values[index])}function setCacheAdd(value){return this.__data__.set(value,HASH_UNDEFINED),this}function setCacheHas(value){return this.__data__.has(value)}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd,SetCache.prototype.has=setCacheHas;function Stack(entries){this.__data__=new ListCache(entries)}function stackClear(){this.__data__=new ListCache}function stackDelete(key){return this.__data__.delete(key)}function stackGet(key){return this.__data__.get(key)}function stackHas(key){return this.__data__.has(key)}function stackSet(key,value){var cache=this.__data__;if(cache instanceof ListCache){var pairs=cache.__data__;if(!Map2||pairs.length<LARGE_ARRAY_SIZE-1)return pairs.push([key,value]),this;cache=this.__data__=new MapCache(pairs)}return cache.set(key,value),this}Stack.prototype.clear=stackClear,Stack.prototype.delete=stackDelete,Stack.prototype.get=stackGet,Stack.prototype.has=stackHas,Stack.prototype.set=stackSet;function arrayLikeKeys(value,inherited){var result=isArray(value)||isArguments(value)?baseTimes(value.length,String):[],length=result.length,skipIndexes=!!length;for(var key in value)(inherited||hasOwnProperty.call(value,key))&&!(skipIndexes&&(key=="length"||isIndex(key,length)))&&result.push(key);return result}function assocIndexOf(array,key){for(var length=array.length;length--;)if(eq(array[length][0],key))return length;return-1}var baseEach=createBaseEach(baseForOwn),baseFor=createBaseFor();function baseForOwn(object,iteratee){return object&&baseFor(object,iteratee,keys)}function baseGet(object,path){path=isKey(path,object)?[path]:castPath(path);for(var index=0,length=path.length;object!=null&&index<length;)object=object[toKey(path[index++])];return index&&index==length?object:void 0}function baseGetTag(value){return objectToString.call(value)}function baseHasIn(object,key){return object!=null&&key in Object(object)}function baseIsEqual(value,other,customizer,bitmask,stack){return value===other?!0:value==null||other==null||!isObject(value)&&!isObjectLike(other)?value!==value&&other!==other:baseIsEqualDeep(value,other,baseIsEqual,customizer,bitmask,stack)}function baseIsEqualDeep(object,other,equalFunc,customizer,bitmask,stack){var objIsArr=isArray(object),othIsArr=isArray(other),objTag=arrayTag,othTag=arrayTag;objIsArr||(objTag=getTag(object),objTag=objTag==argsTag?objectTag:objTag),othIsArr||(othTag=getTag(other),othTag=othTag==argsTag?objectTag:othTag);var objIsObj=objTag==objectTag&&!isHostObject(object),othIsObj=othTag==objectTag&&!isHostObject(other),isSameTag=objTag==othTag;if(isSameTag&&!objIsObj)return stack||(stack=new Stack),objIsArr||isTypedArray(object)?equalArrays(object,other,equalFunc,customizer,bitmask,stack):equalByTag(object,other,objTag,equalFunc,customizer,bitmask,stack);if(!(bitmask&PARTIAL_COMPARE_FLAG)){var objIsWrapped=objIsObj&&hasOwnProperty.call(object,"__wrapped__"),othIsWrapped=othIsObj&&hasOwnProperty.call(other,"__wrapped__");if(objIsWrapped||othIsWrapped){var objUnwrapped=objIsWrapped?object.value():object,othUnwrapped=othIsWrapped?other.value():other;return stack||(stack=new Stack),equalFunc(objUnwrapped,othUnwrapped,customizer,bitmask,stack)}}return isSameTag?(stack||(stack=new Stack),equalObjects(object,other,equalFunc,customizer,bitmask,stack)):!1}function baseIsMatch(object,source,matchData,customizer){var index=matchData.length,length=index,noCustomizer=!customizer;if(object==null)return!length;for(object=Object(object);index--;){var data=matchData[index];if(noCustomizer&&data[2]?data[1]!==object[data[0]]:!(data[0]in object))return!1}for(;++index<length;){data=matchData[index];var key=data[0],objValue=object[key],srcValue=data[1];if(noCustomizer&&data[2]){if(objValue===void 0&&!(key in object))return!1}else{var stack=new Stack;if(customizer)var result=customizer(objValue,srcValue,key,object,source,stack);if(!(result===void 0?baseIsEqual(srcValue,objValue,customizer,UNORDERED_COMPARE_FLAG|PARTIAL_COMPARE_FLAG,stack):result))return!1}}return!0}function baseIsNative(value){if(!isObject(value)||isMasked(value))return!1;var pattern=isFunction(value)||isHostObject(value)?reIsNative:reIsHostCtor;return pattern.test(toSource(value))}function baseIsTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[objectToString.call(value)]}function baseIteratee(value){return typeof value=="function"?value:value==null?identity:typeof value=="object"?isArray(value)?baseMatchesProperty(value[0],value[1]):baseMatches(value):property(value)}function baseKeys(object){if(!isPrototype(object))return nativeKeys(object);var result=[];for(var key in Object(object))hasOwnProperty.call(object,key)&&key!="constructor"&&result.push(key);return result}function baseMap(collection,iteratee){var index=-1,result=isArrayLike(collection)?Array(collection.length):[];return baseEach(collection,function(value,key,collection2){result[++index]=iteratee(value,key,collection2)}),result}function baseMatches(source){var matchData=getMatchData(source);return matchData.length==1&&matchData[0][2]?matchesStrictComparable(matchData[0][0],matchData[0][1]):function(object){return object===source||baseIsMatch(object,source,matchData)}}function baseMatchesProperty(path,srcValue){return isKey(path)&&isStrictComparable(srcValue)?matchesStrictComparable(toKey(path),srcValue):function(object){var objValue=get(object,path);return objValue===void 0&&objValue===srcValue?hasIn(object,path):baseIsEqual(srcValue,objValue,void 0,UNORDERED_COMPARE_FLAG|PARTIAL_COMPARE_FLAG)}}function baseOrderBy(collection,iteratees,orders){var index=-1;iteratees=arrayMap(iteratees.length?iteratees:[identity],baseUnary(baseIteratee));var result=baseMap(collection,function(value,key,collection2){var criteria=arrayMap(iteratees,function(iteratee){return iteratee(value)});return{criteria,index:++index,value}});return baseSortBy(result,function(object,other){return compareMultiple(object,other,orders)})}function basePropertyDeep(path){return function(object){return baseGet(object,path)}}function baseToString(value){if(typeof value=="string")return value;if(isSymbol(value))return symbolToString?symbolToString.call(value):"";var result=value+"";return result=="0"&&1/value==-INFINITY?"-0":result}function castPath(value){return isArray(value)?value:stringToPath(value)}function compareAscending(value,other){if(value!==other){var valIsDefined=value!==void 0,valIsNull=value===null,valIsReflexive=value===value,valIsSymbol=isSymbol(value),othIsDefined=other!==void 0,othIsNull=other===null,othIsReflexive=other===other,othIsSymbol=isSymbol(other);if(!othIsNull&&!othIsSymbol&&!valIsSymbol&&value>other||valIsSymbol&&othIsDefined&&othIsReflexive&&!othIsNull&&!othIsSymbol||valIsNull&&othIsDefined&&othIsReflexive||!valIsDefined&&othIsReflexive||!valIsReflexive)return 1;if(!valIsNull&&!valIsSymbol&&!othIsSymbol&&value<other||othIsSymbol&&valIsDefined&&valIsReflexive&&!valIsNull&&!valIsSymbol||othIsNull&&valIsDefined&&valIsReflexive||!othIsDefined&&valIsReflexive||!othIsReflexive)return-1}return 0}function compareMultiple(object,other,orders){for(var index=-1,objCriteria=object.criteria,othCriteria=other.criteria,length=objCriteria.length,ordersLength=orders.length;++index<length;){var result=compareAscending(objCriteria[index],othCriteria[index]);if(result){if(index>=ordersLength)return result;var order=orders[index];return result*(order=="desc"?-1:1)}}return object.index-other.index}function createBaseEach(eachFunc,fromRight){return function(collection,iteratee){if(collection==null)return collection;if(!isArrayLike(collection))return eachFunc(collection,iteratee);for(var length=collection.length,index=fromRight?length:-1,iterable=Object(collection);(fromRight?index--:++index<length)&&iteratee(iterable[index],index,iterable)!==!1;);return collection}}function createBaseFor(fromRight){return function(object,iteratee,keysFunc){for(var index=-1,iterable=Object(object),props=keysFunc(object),length=props.length;length--;){var key=props[fromRight?length:++index];if(iteratee(iterable[key],key,iterable)===!1)break}return object}}function equalArrays(array,other,equalFunc,customizer,bitmask,stack){var isPartial=bitmask&PARTIAL_COMPARE_FLAG,arrLength=array.length,othLength=other.length;if(arrLength!=othLength&&!(isPartial&&othLength>arrLength))return!1;var stacked=stack.get(array);if(stacked&&stack.get(other))return stacked==other;var index=-1,result=!0,seen=bitmask&UNORDERED_COMPARE_FLAG?new SetCache:void 0;for(stack.set(array,other),stack.set(other,array);++index<arrLength;){var arrValue=array[index],othValue=other[index];if(customizer)var compared=isPartial?customizer(othValue,arrValue,index,other,array,stack):customizer(arrValue,othValue,index,array,other,stack);if(compared!==void 0){if(compared)continue;result=!1;break}if(seen){if(!arraySome(other,function(othValue2,othIndex){if(!seen.has(othIndex)&&(arrValue===othValue2||equalFunc(arrValue,othValue2,customizer,bitmask,stack)))return seen.add(othIndex)})){result=!1;break}}else if(!(arrValue===othValue||equalFunc(arrValue,othValue,customizer,bitmask,stack))){result=!1;break}}return stack.delete(array),stack.delete(other),result}function equalByTag(object,other,tag,equalFunc,customizer,bitmask,stack){switch(tag){case dataViewTag:if(object.byteLength!=other.byteLength||object.byteOffset!=other.byteOffset)return!1;object=object.buffer,other=other.buffer;case arrayBufferTag:return!(object.byteLength!=other.byteLength||!equalFunc(new Uint8Array2(object),new Uint8Array2(other)));case boolTag:case dateTag:case numberTag:return eq(+object,+other);case errorTag:return object.name==other.name&&object.message==other.message;case regexpTag:case stringTag:return object==other+"";case mapTag:var convert=mapToArray;case setTag:var isPartial=bitmask&PARTIAL_COMPARE_FLAG;if(convert||(convert=setToArray),object.size!=other.size&&!isPartial)return!1;var stacked=stack.get(object);if(stacked)return stacked==other;bitmask|=UNORDERED_COMPARE_FLAG,stack.set(object,other);var result=equalArrays(convert(object),convert(other),equalFunc,customizer,bitmask,stack);return stack.delete(object),result;case symbolTag:if(symbolValueOf)return symbolValueOf.call(object)==symbolValueOf.call(other)}return!1}function equalObjects(object,other,equalFunc,customizer,bitmask,stack){var isPartial=bitmask&PARTIAL_COMPARE_FLAG,objProps=keys(object),objLength=objProps.length,othProps=keys(other),othLength=othProps.length;if(objLength!=othLength&&!isPartial)return!1;for(var index=objLength;index--;){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty.call(other,key)))return!1}var stacked=stack.get(object);if(stacked&&stack.get(other))return stacked==other;var result=!0;stack.set(object,other),stack.set(other,object);for(var skipCtor=isPartial;++index<objLength;){key=objProps[index];var objValue=object[key],othValue=other[key];if(customizer)var compared=isPartial?customizer(othValue,objValue,key,other,object,stack):customizer(objValue,othValue,key,object,other,stack);if(!(compared===void 0?objValue===othValue||equalFunc(objValue,othValue,customizer,bitmask,stack):compared)){result=!1;break}skipCtor||(skipCtor=key=="constructor")}if(result&&!skipCtor){var objCtor=object.constructor,othCtor=other.constructor;objCtor!=othCtor&&"constructor"in object&&"constructor"in other&&!(typeof objCtor=="function"&&objCtor instanceof objCtor&&typeof othCtor=="function"&&othCtor instanceof othCtor)&&(result=!1)}return stack.delete(object),stack.delete(other),result}function getMapData(map,key){var data=map.__data__;return isKeyable(key)?data[typeof key=="string"?"string":"hash"]:data.map}function getMatchData(object){for(var result=keys(object),length=result.length;length--;){var key=result[length],value=object[key];result[length]=[key,value,isStrictComparable(value)]}return result}function getNative(object,key){var value=getValue(object,key);return baseIsNative(value)?value:void 0}var getTag=baseGetTag;(DataView2&&getTag(new DataView2(new ArrayBuffer(1)))!=dataViewTag||Map2&&getTag(new Map2)!=mapTag||Promise2&&getTag(Promise2.resolve())!=promiseTag||Set2&&getTag(new Set2)!=setTag||WeakMap2&&getTag(new WeakMap2)!=weakMapTag)&&(getTag=function(value){var result=objectToString.call(value),Ctor=result==objectTag?value.constructor:void 0,ctorString=Ctor?toSource(Ctor):void 0;if(ctorString)switch(ctorString){case dataViewCtorString:return dataViewTag;case mapCtorString:return mapTag;case promiseCtorString:return promiseTag;case setCtorString:return setTag;case weakMapCtorString:return weakMapTag}return result});function hasPath(object,path,hasFunc){path=isKey(path,object)?[path]:castPath(path);for(var result,index=-1,length=path.length;++index<length;){var key=toKey(path[index]);if(!(result=object!=null&&hasFunc(object,key)))break;object=object[key]}if(result)return result;var length=object?object.length:0;return!!length&&isLength(length)&&isIndex(key,length)&&(isArray(object)||isArguments(object))}function isIndex(value,length){return length=length??MAX_SAFE_INTEGER,!!length&&(typeof value=="number"||reIsUint.test(value))&&value>-1&&value%1==0&&value<length}function isKey(value,object){if(isArray(value))return!1;var type=typeof value;return type=="number"||type=="symbol"||type=="boolean"||value==null||isSymbol(value)?!0:reIsPlainProp.test(value)||!reIsDeepProp.test(value)||object!=null&&value in Object(object)}function isKeyable(value){var type=typeof value;return type=="string"||type=="number"||type=="symbol"||type=="boolean"?value!=="__proto__":value===null}function isMasked(func){return!!maskSrcKey&&maskSrcKey in func}function isPrototype(value){var Ctor=value&&value.constructor,proto=typeof Ctor=="function"&&Ctor.prototype||objectProto;return value===proto}function isStrictComparable(value){return value===value&&!isObject(value)}function matchesStrictComparable(key,srcValue){return function(object){return object==null?!1:object[key]===srcValue&&(srcValue!==void 0||key in Object(object))}}var stringToPath=memoize(function(string){string=toString(string);var result=[];return reLeadingDot.test(string)&&result.push(""),string.replace(rePropName,function(match,number,quote,string2){result.push(quote?string2.replace(reEscapeChar,"$1"):number||match)}),result});function toKey(value){if(typeof value=="string"||isSymbol(value))return value;var result=value+"";return result=="0"&&1/value==-INFINITY?"-0":result}function toSource(func){if(func!=null){try{return funcToString.call(func)}catch{}try{return func+""}catch{}}return""}function orderBy(collection,iteratees,orders,guard){return collection==null?[]:(isArray(iteratees)||(iteratees=iteratees==null?[]:[iteratees]),orders=guard?void 0:orders,isArray(orders)||(orders=orders==null?[]:[orders]),baseOrderBy(collection,iteratees,orders))}function memoize(func,resolver){if(typeof func!="function"||resolver&&typeof resolver!="function")throw new TypeError(FUNC_ERROR_TEXT);var memoized=function(){var args=arguments,key=resolver?resolver.apply(this,args):args[0],cache=memoized.cache;if(cache.has(key))return cache.get(key);var result=func.apply(this,args);return memoized.cache=cache.set(key,result),result};return memoized.cache=new(memoize.Cache||MapCache),memoized}memoize.Cache=MapCache;function eq(value,other){return value===other||value!==value&&other!==other}function isArguments(value){return isArrayLikeObject(value)&&hasOwnProperty.call(value,"callee")&&(!propertyIsEnumerable.call(value,"callee")||objectToString.call(value)==argsTag)}var isArray=Array.isArray;function isArrayLike(value){return value!=null&&isLength(value.length)&&!isFunction(value)}function isArrayLikeObject(value){return isObjectLike(value)&&isArrayLike(value)}function isFunction(value){var tag=isObject(value)?objectToString.call(value):"";return tag==funcTag||tag==genTag}function isLength(value){return typeof value=="number"&&value>-1&&value%1==0&&value<=MAX_SAFE_INTEGER}function isObject(value){var type=typeof value;return!!value&&(type=="object"||type=="function")}function isObjectLike(value){return!!value&&typeof value=="object"}function isSymbol(value){return typeof value=="symbol"||isObjectLike(value)&&objectToString.call(value)==symbolTag}var isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;function toString(value){return value==null?"":baseToString(value)}function get(object,path,defaultValue){var result=object==null?void 0:baseGet(object,path);return result===void 0?defaultValue:result}function hasIn(object,path){return object!=null&&hasPath(object,path,baseHasIn)}function keys(object){return isArrayLike(object)?arrayLikeKeys(object):baseKeys(object)}function identity(value){return value}function property(path){return isKey(path)?baseProperty(toKey(path)):basePropertyDeep(path)}module.exports=orderBy},23387:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var low=__webpack_require__(14725);module.exports=low,low.registerLanguage("1c",__webpack_require__(97317)),low.registerLanguage("abnf",__webpack_require__(87058)),low.registerLanguage("accesslog",__webpack_require__(14687)),low.registerLanguage("actionscript",__webpack_require__(19128)),low.registerLanguage("ada",__webpack_require__(96174)),low.registerLanguage("angelscript",__webpack_require__(94896)),low.registerLanguage("apache",__webpack_require__(91666)),low.registerLanguage("applescript",__webpack_require__(20256)),low.registerLanguage("arcade",__webpack_require__(38242)),low.registerLanguage("arduino",__webpack_require__(35614)),low.registerLanguage("armasm",__webpack_require__(85462)),low.registerLanguage("xml",__webpack_require__(5750)),low.registerLanguage("asciidoc",__webpack_require__(56115)),low.registerLanguage("aspectj",__webpack_require__(47950)),low.registerLanguage("autohotkey",__webpack_require__(18145)),low.registerLanguage("autoit",__webpack_require__(30800)),low.registerLanguage("avrasm",__webpack_require__(21907)),low.registerLanguage("awk",__webpack_require__(70166)),low.registerLanguage("axapta",__webpack_require__(22210)),low.registerLanguage("bash",__webpack_require__(17504)),low.registerLanguage("basic",__webpack_require__(53731)),low.registerLanguage("bnf",__webpack_require__(46910)),low.registerLanguage("brainfuck",__webpack_require__(15815)),low.registerLanguage("c-like",__webpack_require__(69477)),low.registerLanguage("c",__webpack_require__(69021)),low.registerLanguage("cal",__webpack_require__(41925)),low.registerLanguage("capnproto",__webpack_require__(6770)),low.registerLanguage("ceylon",__webpack_require__(41831)),low.registerLanguage("clean",__webpack_require__(50122)),low.registerLanguage("clojure",__webpack_require__(50278)),low.registerLanguage("clojure-repl",__webpack_require__(17047)),low.registerLanguage("cmake",__webpack_require__(18870)),low.registerLanguage("coffeescript",__webpack_require__(92318)),low.registerLanguage("coq",__webpack_require__(33526)),low.registerLanguage("cos",__webpack_require__(44899)),low.registerLanguage("cpp",__webpack_require__(32596)),low.registerLanguage("crmsh",__webpack_require__(32424)),low.registerLanguage("crystal",__webpack_require__(68392)),low.registerLanguage("csharp",__webpack_require__(60342)),low.registerLanguage("csp",__webpack_require__(35136)),low.registerLanguage("css",__webpack_require__(66556)),low.registerLanguage("d",__webpack_require__(82762)),low.registerLanguage("markdown",__webpack_require__(91710)),low.registerLanguage("dart",__webpack_require__(91192)),low.registerLanguage("delphi",__webpack_require__(55557)),low.registerLanguage("diff",__webpack_require__(67592)),low.registerLanguage("django",__webpack_require__(18863)),low.registerLanguage("dns",__webpack_require__(37586)),low.registerLanguage("dockerfile",__webpack_require__(20821)),low.registerLanguage("dos",__webpack_require__(31033)),low.registerLanguage("dsconfig",__webpack_require__(69948)),low.registerLanguage("dts",__webpack_require__(92034)),low.registerLanguage("dust",__webpack_require__(13971)),low.registerLanguage("ebnf",__webpack_require__(98469)),low.registerLanguage("elixir",__webpack_require__(95622)),low.registerLanguage("elm",__webpack_require__(84162)),low.registerLanguage("ruby",__webpack_require__(7836)),low.registerLanguage("erb",__webpack_require__(61190)),low.registerLanguage("erlang-repl",__webpack_require__(44704)),low.registerLanguage("erlang",__webpack_require__(59761)),low.registerLanguage("excel",__webpack_require__(35611)),low.registerLanguage("fix",__webpack_require__(18866)),low.registerLanguage("flix",__webpack_require__(86309)),low.registerLanguage("fortran",__webpack_require__(14750)),low.registerLanguage("fsharp",__webpack_require__(87547)),low.registerLanguage("gams",__webpack_require__(42061)),low.registerLanguage("gauss",__webpack_require__(25184)),low.registerLanguage("gcode",__webpack_require__(13745)),low.registerLanguage("gherkin",__webpack_require__(62865)),low.registerLanguage("glsl",__webpack_require__(23395)),low.registerLanguage("gml",__webpack_require__(5153)),low.registerLanguage("go",__webpack_require__(90667)),low.registerLanguage("golo",__webpack_require__(39619)),low.registerLanguage("gradle",__webpack_require__(28659)),low.registerLanguage("groovy",__webpack_require__(24540)),low.registerLanguage("haml",__webpack_require__(73260)),low.registerLanguage("handlebars",__webpack_require__(65777)),low.registerLanguage("haskell",__webpack_require__(22333)),low.registerLanguage("haxe",__webpack_require__(98212)),low.registerLanguage("hsp",__webpack_require__(48363)),low.registerLanguage("htmlbars",__webpack_require__(14275)),low.registerLanguage("http",__webpack_require__(30959)),low.registerLanguage("hy",__webpack_require__(85807)),low.registerLanguage("inform7",__webpack_require__(88040)),low.registerLanguage("ini",__webpack_require__(30942)),low.registerLanguage("irpf90",__webpack_require__(99888)),low.registerLanguage("isbl",__webpack_require__(57183)),low.registerLanguage("java",__webpack_require__(54744)),low.registerLanguage("javascript",__webpack_require__(39787)),low.registerLanguage("jboss-cli",__webpack_require__(95069)),low.registerLanguage("json",__webpack_require__(41078)),low.registerLanguage("julia",__webpack_require__(62951)),low.registerLanguage("julia-repl",__webpack_require__(76167)),low.registerLanguage("kotlin",__webpack_require__(81936)),low.registerLanguage("lasso",__webpack_require__(78109)),low.registerLanguage("latex",__webpack_require__(95313)),low.registerLanguage("ldif",__webpack_require__(91301)),low.registerLanguage("leaf",__webpack_require__(92480)),low.registerLanguage("less",__webpack_require__(95610)),low.registerLanguage("lisp",__webpack_require__(27740)),low.registerLanguage("livecodeserver",__webpack_require__(61598)),low.registerLanguage("livescript",__webpack_require__(94624)),low.registerLanguage("llvm",__webpack_require__(85638)),low.registerLanguage("lsl",__webpack_require__(3351)),low.registerLanguage("lua",__webpack_require__(18727)),low.registerLanguage("makefile",__webpack_require__(36548)),low.registerLanguage("mathematica",__webpack_require__(20313)),low.registerLanguage("matlab",__webpack_require__(83271)),low.registerLanguage("maxima",__webpack_require__(85513)),low.registerLanguage("mel",__webpack_require__(18625)),low.registerLanguage("mercury",__webpack_require__(29230)),low.registerLanguage("mipsasm",__webpack_require__(91106)),low.registerLanguage("mizar",__webpack_require__(29148)),low.registerLanguage("perl",__webpack_require__(48278)),low.registerLanguage("mojolicious",__webpack_require__(84061)),low.registerLanguage("monkey",__webpack_require__(58123)),low.registerLanguage("moonscript",__webpack_require__(12942)),low.registerLanguage("n1ql",__webpack_require__(48062)),low.registerLanguage("nginx",__webpack_require__(40819)),low.registerLanguage("nim",__webpack_require__(13434)),low.registerLanguage("nix",__webpack_require__(41367)),low.registerLanguage("node-repl",__webpack_require__(72134)),low.registerLanguage("nsis",__webpack_require__(67726)),low.registerLanguage("objectivec",__webpack_require__(67353)),low.registerLanguage("ocaml",__webpack_require__(63830)),low.registerLanguage("openscad",__webpack_require__(17925)),low.registerLanguage("oxygene",__webpack_require__(67999)),low.registerLanguage("parser3",__webpack_require__(10540)),low.registerLanguage("pf",__webpack_require__(36455)),low.registerLanguage("pgsql",__webpack_require__(99499)),low.registerLanguage("php",__webpack_require__(36875)),low.registerLanguage("php-template",__webpack_require__(14045)),low.registerLanguage("plaintext",__webpack_require__(80784)),low.registerLanguage("pony",__webpack_require__(67603)),low.registerLanguage("powershell",__webpack_require__(68107)),low.registerLanguage("processing",__webpack_require__(62984)),low.registerLanguage("profile",__webpack_require__(88903)),low.registerLanguage("prolog",__webpack_require__(83782)),low.registerLanguage("properties",__webpack_require__(71511)),low.registerLanguage("protobuf",__webpack_require__(93968)),low.registerLanguage("puppet",__webpack_require__(98232)),low.registerLanguage("purebasic",__webpack_require__(51769)),low.registerLanguage("python",__webpack_require__(44106)),low.registerLanguage("python-repl",__webpack_require__(47985)),low.registerLanguage("q",__webpack_require__(40189)),low.registerLanguage("qml",__webpack_require__(73573)),low.registerLanguage("r",__webpack_require__(48421)),low.registerLanguage("reasonml",__webpack_require__(47223)),low.registerLanguage("rib",__webpack_require__(60699)),low.registerLanguage("roboconf",__webpack_require__(47745)),low.registerLanguage("routeros",__webpack_require__(67290)),low.registerLanguage("rsl",__webpack_require__(31362)),low.registerLanguage("ruleslanguage",__webpack_require__(84438)),low.registerLanguage("rust",__webpack_require__(77077)),low.registerLanguage("sas",__webpack_require__(93711)),low.registerLanguage("scala",__webpack_require__(48433)),low.registerLanguage("scheme",__webpack_require__(56622)),low.registerLanguage("scilab",__webpack_require__(1204)),low.registerLanguage("scss",__webpack_require__(93121)),low.registerLanguage("shell",__webpack_require__(18308)),low.registerLanguage("smali",__webpack_require__(2562)),low.registerLanguage("smalltalk",__webpack_require__(20455)),low.registerLanguage("sml",__webpack_require__(85143)),low.registerLanguage("sqf",__webpack_require__(1811)),low.registerLanguage("sql_more",__webpack_require__(93245)),low.registerLanguage("sql",__webpack_require__(74883)),low.registerLanguage("stan",__webpack_require__(30362)),low.registerLanguage("stata",__webpack_require__(9765)),low.registerLanguage("step21",__webpack_require__(44078)),low.registerLanguage("stylus",__webpack_require__(82601)),low.registerLanguage("subunit",__webpack_require__(87344)),low.registerLanguage("swift",__webpack_require__(54503)),low.registerLanguage("taggerscript",__webpack_require__(75738)),low.registerLanguage("yaml",__webpack_require__(83322)),low.registerLanguage("tap",__webpack_require__(4541)),low.registerLanguage("tcl",__webpack_require__(99645)),low.registerLanguage("thrift",__webpack_require__(14850)),low.registerLanguage("tp",__webpack_require__(15263)),low.registerLanguage("twig",__webpack_require__(54602)),low.registerLanguage("typescript",__webpack_require__(2056)),low.registerLanguage("vala",__webpack_require__(52959)),low.registerLanguage("vbnet",__webpack_require__(74048)),low.registerLanguage("vbscript",__webpack_require__(70616)),low.registerLanguage("vbscript-html",__webpack_require__(85811)),low.registerLanguage("verilog",__webpack_require__(93813)),low.registerLanguage("vhdl",__webpack_require__(73407)),low.registerLanguage("vim",__webpack_require__(1975)),low.registerLanguage("x86asm",__webpack_require__(98761)),low.registerLanguage("xl",__webpack_require__(6386)),low.registerLanguage("xquery",__webpack_require__(10784)),low.registerLanguage("zephir",__webpack_require__(89417))},14725:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var high=__webpack_require__(88467),fault=__webpack_require__(96203);exports.highlight=highlight,exports.highlightAuto=highlightAuto,exports.registerLanguage=registerLanguage,exports.listLanguages=listLanguages,exports.registerAlias=registerAlias,Emitter.prototype.addText=text,Emitter.prototype.addKeyword=addKeyword,Emitter.prototype.addSublanguage=addSublanguage,Emitter.prototype.openNode=open,Emitter.prototype.closeNode=close,Emitter.prototype.closeAllNodes=noop,Emitter.prototype.finalize=noop,Emitter.prototype.toHTML=toHtmlNoop;var defaultPrefix="hljs-";function highlight(name,value,options){var before=high.configure({}),settings=options||{},prefix=settings.prefix,result;if(typeof name!="string")throw fault("Expected `string` for name, got `%s`",name);if(!high.getLanguage(name))throw fault("Unknown language: `%s` is not registered",name);if(typeof value!="string")throw fault("Expected `string` for value, got `%s`",value);if(prefix==null&&(prefix=defaultPrefix),high.configure({__emitter:Emitter,classPrefix:prefix}),result=high.highlight(value,{language:name,ignoreIllegals:!0}),high.configure(before||{}),result.errorRaised)throw result.errorRaised;return{relevance:result.relevance,language:result.language,value:result.emitter.rootNode.children}}function highlightAuto(value,options){var settings=options||{},subset=settings.subset||high.listLanguages(),prefix=settings.prefix,length=subset.length,index=-1,result,secondBest,current,name;if(prefix==null&&(prefix=defaultPrefix),typeof value!="string")throw fault("Expected `string` for value, got `%s`",value);for(secondBest={relevance:0,language:null,value:[]},result={relevance:0,language:null,value:[]};++index<length;)name=subset[index],high.getLanguage(name)&&(current=highlight(name,value,options),current.language=name,current.relevance>secondBest.relevance&&(secondBest=current),current.relevance>result.relevance&&(secondBest=result,result=current));return secondBest.language&&(result.secondBest=secondBest),result}function registerLanguage(name,syntax){high.registerLanguage(name,syntax)}function listLanguages(){return high.listLanguages()}function registerAlias(name,alias){var map=name,key;alias&&(map={},map[name]=alias);for(key in map)high.registerAliases(map[key],{languageName:key})}function Emitter(options){this.options=options,this.rootNode={children:[]},this.stack=[this.rootNode]}function addKeyword(value,name){this.openNode(name),this.addText(value),this.closeNode()}function addSublanguage(other,name){var stack=this.stack,current=stack[stack.length-1],results=other.rootNode.children,node=name?{type:"element",tagName:"span",properties:{className:[name]},children:results}:results;current.children=current.children.concat(node)}function text(value){var stack=this.stack,current,tail;value!==""&&(current=stack[stack.length-1],tail=current.children[current.children.length-1],tail&&tail.type==="text"?tail.value+=value:current.children.push({type:"text",value}))}function open(name){var stack=this.stack,className=this.options.classPrefix+name,current=stack[stack.length-1],child={type:"element",tagName:"span",properties:{className:[className]},children:[]};current.children.push(child),stack.push(child)}function close(){this.stack.pop()}function toHtmlNoop(){return""}function noop(){}},61896:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var constants_1=__webpack_require__(56579),encoding_1=__webpack_require__(69215),S_IFMT=constants_1.constants.S_IFMT,S_IFDIR=constants_1.constants.S_IFDIR,S_IFREG=constants_1.constants.S_IFREG,S_IFBLK=constants_1.constants.S_IFBLK,S_IFCHR=constants_1.constants.S_IFCHR,S_IFLNK=constants_1.constants.S_IFLNK,S_IFIFO=constants_1.constants.S_IFIFO,S_IFSOCK=constants_1.constants.S_IFSOCK,Dirent=function(){function Dirent2(){this.name="",this.mode=0}return Dirent2.build=function(link,encoding){var dirent=new Dirent2,mode=link.getNode().mode;return dirent.name=encoding_1.strToEncoding(link.getName(),encoding),dirent.mode=mode,dirent},Dirent2.prototype._checkModeProperty=function(property){return(this.mode&S_IFMT)===property},Dirent2.prototype.isDirectory=function(){return this._checkModeProperty(S_IFDIR)},Dirent2.prototype.isFile=function(){return this._checkModeProperty(S_IFREG)},Dirent2.prototype.isBlockDevice=function(){return this._checkModeProperty(S_IFBLK)},Dirent2.prototype.isCharacterDevice=function(){return this._checkModeProperty(S_IFCHR)},Dirent2.prototype.isSymbolicLink=function(){return this._checkModeProperty(S_IFLNK)},Dirent2.prototype.isFIFO=function(){return this._checkModeProperty(S_IFIFO)},Dirent2.prototype.isSocket=function(){return this._checkModeProperty(S_IFSOCK)},Dirent2}();exports.Dirent=Dirent,exports.default=Dirent},45166:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var constants_1=__webpack_require__(56579),getBigInt_1=__webpack_require__(27918),S_IFMT=constants_1.constants.S_IFMT,S_IFDIR=constants_1.constants.S_IFDIR,S_IFREG=constants_1.constants.S_IFREG,S_IFBLK=constants_1.constants.S_IFBLK,S_IFCHR=constants_1.constants.S_IFCHR,S_IFLNK=constants_1.constants.S_IFLNK,S_IFIFO=constants_1.constants.S_IFIFO,S_IFSOCK=constants_1.constants.S_IFSOCK,Stats=function(){function Stats2(){}return Stats2.build=function(node,bigint){bigint===void 0&&(bigint=!1);var stats=new Stats2,uid=node.uid,gid=node.gid,atime=node.atime,mtime=node.mtime,ctime=node.ctime,getStatNumber=bigint?getBigInt_1.default:function(number){return number};stats.uid=getStatNumber(uid),stats.gid=getStatNumber(gid),stats.rdev=getStatNumber(0),stats.blksize=getStatNumber(4096),stats.ino=getStatNumber(node.ino),stats.size=getStatNumber(node.getSize()),stats.blocks=getStatNumber(1),stats.atime=atime,stats.mtime=mtime,stats.ctime=ctime,stats.birthtime=ctime,stats.atimeMs=getStatNumber(atime.getTime()),stats.mtimeMs=getStatNumber(mtime.getTime());var ctimeMs=getStatNumber(ctime.getTime());return stats.ctimeMs=ctimeMs,stats.birthtimeMs=ctimeMs,stats.dev=getStatNumber(0),stats.mode=getStatNumber(node.mode),stats.nlink=getStatNumber(node.nlink),stats},Stats2.prototype._checkModeProperty=function(property){return(Number(this.mode)&S_IFMT)===property},Stats2.prototype.isDirectory=function(){return this._checkModeProperty(S_IFDIR)},Stats2.prototype.isFile=function(){return this._checkModeProperty(S_IFREG)},Stats2.prototype.isBlockDevice=function(){return this._checkModeProperty(S_IFBLK)},Stats2.prototype.isCharacterDevice=function(){return this._checkModeProperty(S_IFCHR)},Stats2.prototype.isSymbolicLink=function(){return this._checkModeProperty(S_IFLNK)},Stats2.prototype.isFIFO=function(){return this._checkModeProperty(S_IFIFO)},Stats2.prototype.isSocket=function(){return this._checkModeProperty(S_IFSOCK)},Stats2}();exports.Stats=Stats,exports.default=Stats},56579:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.constants={O_RDONLY:0,O_WRONLY:1,O_RDWR:2,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,S_IFSOCK:49152,O_CREAT:64,O_EXCL:128,O_NOCTTY:256,O_TRUNC:512,O_APPEND:1024,O_DIRECTORY:65536,O_NOATIME:262144,O_NOFOLLOW:131072,O_SYNC:1052672,O_DIRECT:16384,O_NONBLOCK:2048,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,F_OK:0,R_OK:4,W_OK:2,X_OK:1,UV_FS_SYMLINK_DIR:1,UV_FS_SYMLINK_JUNCTION:2,UV_FS_COPYFILE_EXCL:1,UV_FS_COPYFILE_FICLONE:2,UV_FS_COPYFILE_FICLONE_FORCE:4,COPYFILE_EXCL:1,COPYFILE_FICLONE:2,COPYFILE_FICLONE_FORCE:4}},69215:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var buffer_1=__webpack_require__(3534),errors=__webpack_require__(78761);exports.ENCODING_UTF8="utf8";function assertEncoding(encoding){if(encoding&&!buffer_1.Buffer.isEncoding(encoding))throw new errors.TypeError("ERR_INVALID_OPT_VALUE_ENCODING",encoding)}exports.assertEncoding=assertEncoding;function strToEncoding(str,encoding){return!encoding||encoding===exports.ENCODING_UTF8?str:encoding==="buffer"?new buffer_1.Buffer(str):new buffer_1.Buffer(str).toString(encoding)}exports.strToEncoding=strToEncoding},27918:(__unused_webpack_module,exports)=>{typeof BigInt=="function"?exports.default=BigInt:exports.default=function(){throw new Error("BigInt is not supported in this environment.")}},27884:function(module,exports,__webpack_require__){"use strict";var __assign2=this&&this.__assign||function(){return __assign2=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},__assign2.apply(this,arguments)};Object.defineProperty(exports,"__esModule",{value:!0});var Stats_1=__webpack_require__(45166),Dirent_1=__webpack_require__(61896),volume_1=__webpack_require__(57965),_a=__webpack_require__(1956),fsSyncMethods=_a.fsSyncMethods,fsAsyncMethods=_a.fsAsyncMethods,constants_1=__webpack_require__(56579),F_OK=constants_1.constants.F_OK,R_OK=constants_1.constants.R_OK,W_OK=constants_1.constants.W_OK,X_OK=constants_1.constants.X_OK;exports.Volume=volume_1.Volume,exports.vol=new volume_1.Volume;function createFsFromVolume(vol){for(var fs={F_OK,R_OK,W_OK,X_OK,constants:constants_1.constants,Stats:Stats_1.default,Dirent:Dirent_1.default},_i=0,fsSyncMethods_1=fsSyncMethods;_i<fsSyncMethods_1.length;_i++){var method=fsSyncMethods_1[_i];typeof vol[method]=="function"&&(fs[method]=vol[method].bind(vol))}for(var _a2=0,fsAsyncMethods_1=fsAsyncMethods;_a2<fsAsyncMethods_1.length;_a2++){var method=fsAsyncMethods_1[_a2];typeof vol[method]=="function"&&(fs[method]=vol[method].bind(vol))}return fs.StatWatcher=vol.StatWatcher,fs.FSWatcher=vol.FSWatcher,fs.WriteStream=vol.WriteStream,fs.ReadStream=vol.ReadStream,fs.promises=vol.promises,fs._toUnixTimestamp=volume_1.toUnixTimestamp,fs}exports.createFsFromVolume=createFsFromVolume,exports.fs=createFsFromVolume(exports.vol),module.exports=__assign2(__assign2({},module.exports),exports.fs),module.exports.semantic=!0},3534:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __spreadArrays=this&&this.__spreadArrays||function(){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};Object.defineProperty(exports,"__esModule",{value:!0});var buffer_1=__webpack_require__(55872);exports.Buffer=buffer_1.Buffer;function bufferV0P12Ponyfill(arg0){for(var args=[],_i=1;_i<arguments.length;_i++)args[_i-1]=arguments[_i];return new(buffer_1.Buffer.bind.apply(buffer_1.Buffer,__spreadArrays([void 0,arg0],args)))}var bufferAllocUnsafe=buffer_1.Buffer.allocUnsafe||bufferV0P12Ponyfill;exports.bufferAllocUnsafe=bufferAllocUnsafe;var bufferFrom=buffer_1.Buffer.from||bufferV0P12Ponyfill;exports.bufferFrom=bufferFrom},78761:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||function(){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)b2.hasOwnProperty(p)&&(d2[p]=b2[p])},extendStatics(d,b)};return function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __)}}();Object.defineProperty(exports,"__esModule",{value:!0});var assert=__webpack_require__(48049),util=__webpack_require__(93585),kCode=typeof Symbol>"u"?"_kCode":Symbol("code"),messages={};function makeNodeError(Base){return function(_super){__extends(NodeError,_super);function NodeError(key){for(var args=[],_i=1;_i<arguments.length;_i++)args[_i-1]=arguments[_i];var _this=_super.call(this,message(key,args))||this;return _this.code=key,_this[kCode]=key,_this.name=_super.prototype.name+" ["+_this[kCode]+"]",_this}return NodeError}(Base)}var AssertionError=function(_super){__extends(AssertionError2,_super);function AssertionError2(options){var _this=this;if(typeof options!="object"||options===null)throw new exports.TypeError("ERR_INVALID_ARG_TYPE","options","object");return options.message?_this=_super.call(this,options.message)||this:_this=_super.call(this,util.inspect(options.actual).slice(0,128)+" "+(options.operator+" "+util.inspect(options.expected).slice(0,128)))||this,_this.generatedMessage=!options.message,_this.name="AssertionError [ERR_ASSERTION]",_this.code="ERR_ASSERTION",_this.actual=options.actual,_this.expected=options.expected,_this.operator=options.operator,exports.Error.captureStackTrace(_this,options.stackStartFunction),_this}return AssertionError2}(__webpack_require__.g.Error);exports.AssertionError=AssertionError;function message(key,args){assert.strictEqual(typeof key,"string");var msg=messages[key];assert(msg,"An invalid error message key was used: "+key+".");var fmt;if(typeof msg=="function")fmt=msg;else{if(fmt=util.format,args===void 0||args.length===0)return msg;args.unshift(msg)}return String(fmt.apply(null,args))}exports.message=message;function E(sym,val){messages[sym]=typeof val=="function"?val:String(val)}exports.E=E,exports.Error=makeNodeError(__webpack_require__.g.Error),exports.TypeError=makeNodeError(__webpack_require__.g.TypeError),exports.RangeError=makeNodeError(__webpack_require__.g.RangeError),E("ERR_ARG_NOT_ITERABLE","%s must be iterable"),E("ERR_ASSERTION","%s"),E("ERR_BUFFER_OUT_OF_BOUNDS",bufferOutOfBounds),E("ERR_CHILD_CLOSED_BEFORE_REPLY","Child closed before reply received"),E("ERR_CONSOLE_WRITABLE_STREAM","Console expects a writable stream instance for %s"),E("ERR_CPU_USAGE","Unable to obtain cpu usage %s"),E("ERR_DNS_SET_SERVERS_FAILED",function(err,servers){return'c-ares failed to set servers: "'+err+'" ['+servers+"]"}),E("ERR_FALSY_VALUE_REJECTION","Promise was rejected with falsy value"),E("ERR_ENCODING_NOT_SUPPORTED",function(enc){return'The "'+enc+'" encoding is not supported'}),E("ERR_ENCODING_INVALID_ENCODED_DATA",function(enc){return"The encoded data was not valid for encoding "+enc}),E("ERR_HTTP_HEADERS_SENT","Cannot render headers after they are sent to the client"),E("ERR_HTTP_INVALID_STATUS_CODE","Invalid status code: %s"),E("ERR_HTTP_TRAILER_INVALID","Trailers are invalid with this transfer encoding"),E("ERR_INDEX_OUT_OF_RANGE","Index out of range"),E("ERR_INVALID_ARG_TYPE",invalidArgType),E("ERR_INVALID_ARRAY_LENGTH",function(name,len,actual){return assert.strictEqual(typeof actual,"number"),'The array "'+name+'" (length '+actual+") must be of length "+len+"."}),E("ERR_INVALID_BUFFER_SIZE","Buffer size must be a multiple of %s"),E("ERR_INVALID_CALLBACK","Callback must be a function"),E("ERR_INVALID_CHAR","Invalid character in %s"),E("ERR_INVALID_CURSOR_POS","Cannot set cursor row without setting its column"),E("ERR_INVALID_FD",'"fd" must be a positive integer: %s'),E("ERR_INVALID_FILE_URL_HOST",'File URL host must be "localhost" or empty on %s'),E("ERR_INVALID_FILE_URL_PATH","File URL path %s"),E("ERR_INVALID_HANDLE_TYPE","This handle type cannot be sent"),E("ERR_INVALID_IP_ADDRESS","Invalid IP address: %s"),E("ERR_INVALID_OPT_VALUE",function(name,value){return'The value "'+String(value)+'" is invalid for option "'+name+'"'}),E("ERR_INVALID_OPT_VALUE_ENCODING",function(value){return'The value "'+String(value)+'" is invalid for option "encoding"'}),E("ERR_INVALID_REPL_EVAL_CONFIG",'Cannot specify both "breakEvalOnSigint" and "eval" for REPL'),E("ERR_INVALID_SYNC_FORK_INPUT","Asynchronous forks do not support Buffer, Uint8Array or string input: %s"),E("ERR_INVALID_THIS",'Value of "this" must be of type %s'),E("ERR_INVALID_TUPLE","%s must be an iterable %s tuple"),E("ERR_INVALID_URL","Invalid URL: %s"),E("ERR_INVALID_URL_SCHEME",function(expected){return"The URL must be "+oneOf(expected,"scheme")}),E("ERR_IPC_CHANNEL_CLOSED","Channel closed"),E("ERR_IPC_DISCONNECTED","IPC channel is already disconnected"),E("ERR_IPC_ONE_PIPE","Child process can have only one IPC pipe"),E("ERR_IPC_SYNC_FORK","IPC cannot be used with synchronous forks"),E("ERR_MISSING_ARGS",missingArgs),E("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),E("ERR_NAPI_CONS_FUNCTION","Constructor must be a function"),E("ERR_NAPI_CONS_PROTOTYPE_OBJECT","Constructor.prototype must be an object"),E("ERR_NO_CRYPTO","Node.js is not compiled with OpenSSL crypto support"),E("ERR_NO_LONGER_SUPPORTED","%s is no longer supported"),E("ERR_PARSE_HISTORY_DATA","Could not parse history data in %s"),E("ERR_SOCKET_ALREADY_BOUND","Socket is already bound"),E("ERR_SOCKET_BAD_PORT","Port should be > 0 and < 65536"),E("ERR_SOCKET_BAD_TYPE","Bad socket type specified. Valid types are: udp4, udp6"),E("ERR_SOCKET_CANNOT_SEND","Unable to send data"),E("ERR_SOCKET_CLOSED","Socket is closed"),E("ERR_SOCKET_DGRAM_NOT_RUNNING","Not running"),E("ERR_STDERR_CLOSE","process.stderr cannot be closed"),E("ERR_STDOUT_CLOSE","process.stdout cannot be closed"),E("ERR_STREAM_WRAP","Stream has StringDecoder set or is in objectMode"),E("ERR_TLS_CERT_ALTNAME_INVALID","Hostname/IP does not match certificate's altnames: %s"),E("ERR_TLS_DH_PARAM_SIZE",function(size){return"DH parameter size "+size+" is less than 2048"}),E("ERR_TLS_HANDSHAKE_TIMEOUT","TLS handshake timeout"),E("ERR_TLS_RENEGOTIATION_FAILED","Failed to renegotiate"),E("ERR_TLS_REQUIRED_SERVER_NAME",'"servername" is required parameter for Server.addContext'),E("ERR_TLS_SESSION_ATTACK","TSL session renegotiation attack detected"),E("ERR_TRANSFORM_ALREADY_TRANSFORMING","Calling transform done when still transforming"),E("ERR_TRANSFORM_WITH_LENGTH_0","Calling transform done when writableState.length != 0"),E("ERR_UNKNOWN_ENCODING","Unknown encoding: %s"),E("ERR_UNKNOWN_SIGNAL","Unknown signal: %s"),E("ERR_UNKNOWN_STDIN_TYPE","Unknown stdin file type"),E("ERR_UNKNOWN_STREAM_TYPE","Unknown stream file type"),E("ERR_V8BREAKITERATOR","Full ICU data not installed. See https://github.com/nodejs/node/wiki/Intl");function invalidArgType(name,expected,actual){assert(name,"name is required");var determiner;expected.includes("not ")?(determiner="must not be",expected=expected.split("not ")[1]):determiner="must be";var msg;if(Array.isArray(name)){var names=name.map(function(val){return'"'+val+'"'}).join(", ");msg="The "+names+" arguments "+determiner+" "+oneOf(expected,"type")}else if(name.includes(" argument"))msg="The "+name+" "+determiner+" "+oneOf(expected,"type");else{var type=name.includes(".")?"property":"argument";msg='The "'+name+'" '+type+" "+determiner+" "+oneOf(expected,"type")}return arguments.length>=3&&(msg+=". Received type "+(actual!==null?typeof actual:"null")),msg}function missingArgs(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];assert(args.length>0,"At least one arg needs to be specified");var msg="The ",len=args.length;switch(args=args.map(function(a){return'"'+a+'"'}),len){case 1:msg+=args[0]+" argument";break;case 2:msg+=args[0]+" and "+args[1]+" arguments";break;default:msg+=args.slice(0,len-1).join(", "),msg+=", and "+args[len-1]+" arguments";break}return msg+" must be specified"}function oneOf(expected,thing){if(assert(expected,"expected is required"),assert(typeof thing=="string","thing is required"),Array.isArray(expected)){var len=expected.length;return assert(len>0,"At least one expected value needs to be specified"),expected=expected.map(function(i){return String(i)}),len>2?"one of "+thing+" "+expected.slice(0,len-1).join(", ")+", or "+expected[len-1]:len===2?"one of "+thing+" "+expected[0]+" or "+expected[1]:"of "+thing+" "+expected[0]}else return"of "+thing+" "+String(expected)}function bufferOutOfBounds(name,isWriting){return isWriting?"Attempt to write outside buffer bounds":'"'+name+'" is outside of buffer bounds'}},97695:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||function(){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)b2.hasOwnProperty(p)&&(d2[p]=b2[p])},extendStatics(d,b)};return function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __)}}();Object.defineProperty(exports,"__esModule",{value:!0});var process_1=__webpack_require__(59951),buffer_1=__webpack_require__(3534),constants_1=__webpack_require__(56579),events_1=__webpack_require__(72100),Stats_1=__webpack_require__(45166),S_IFMT=constants_1.constants.S_IFMT,S_IFDIR=constants_1.constants.S_IFDIR,S_IFREG=constants_1.constants.S_IFREG,S_IFBLK=constants_1.constants.S_IFBLK,S_IFCHR=constants_1.constants.S_IFCHR,S_IFLNK=constants_1.constants.S_IFLNK,S_IFIFO=constants_1.constants.S_IFIFO,S_IFSOCK=constants_1.constants.S_IFSOCK,O_APPEND=constants_1.constants.O_APPEND;exports.SEP="/";var Node2=function(_super){__extends(Node3,_super);function Node3(ino,perm){perm===void 0&&(perm=438);var _this=_super.call(this)||this;return _this.uid=process_1.default.getuid(),_this.gid=process_1.default.getgid(),_this.atime=new Date,_this.mtime=new Date,_this.ctime=new Date,_this.perm=438,_this.mode=S_IFREG,_this.nlink=1,_this.perm=perm,_this.mode|=perm,_this.ino=ino,_this}return Node3.prototype.getString=function(encoding){return encoding===void 0&&(encoding="utf8"),this.getBuffer().toString(encoding)},Node3.prototype.setString=function(str){this.buf=buffer_1.bufferFrom(str,"utf8"),this.touch()},Node3.prototype.getBuffer=function(){return this.buf||this.setBuffer(buffer_1.bufferAllocUnsafe(0)),buffer_1.bufferFrom(this.buf)},Node3.prototype.setBuffer=function(buf){this.buf=buffer_1.bufferFrom(buf),this.touch()},Node3.prototype.getSize=function(){return this.buf?this.buf.length:0},Node3.prototype.setModeProperty=function(property){this.mode=this.mode&~S_IFMT|property},Node3.prototype.setIsFile=function(){this.setModeProperty(S_IFREG)},Node3.prototype.setIsDirectory=function(){this.setModeProperty(S_IFDIR)},Node3.prototype.setIsSymlink=function(){this.setModeProperty(S_IFLNK)},Node3.prototype.isFile=function(){return(this.mode&S_IFMT)===S_IFREG},Node3.prototype.isDirectory=function(){return(this.mode&S_IFMT)===S_IFDIR},Node3.prototype.isSymlink=function(){return(this.mode&S_IFMT)===S_IFLNK},Node3.prototype.makeSymlink=function(steps){this.symlink=steps,this.setIsSymlink()},Node3.prototype.write=function(buf,off,len,pos){if(off===void 0&&(off=0),len===void 0&&(len=buf.length),pos===void 0&&(pos=0),this.buf||(this.buf=buffer_1.bufferAllocUnsafe(0)),pos+len>this.buf.length){var newBuf=buffer_1.bufferAllocUnsafe(pos+len);this.buf.copy(newBuf,0,0,this.buf.length),this.buf=newBuf}return buf.copy(this.buf,pos,off,off+len),this.touch(),len},Node3.prototype.read=function(buf,off,len,pos){off===void 0&&(off=0),len===void 0&&(len=buf.byteLength),pos===void 0&&(pos=0),this.buf||(this.buf=buffer_1.bufferAllocUnsafe(0));var actualLen=len;return actualLen>buf.byteLength&&(actualLen=buf.byteLength),actualLen+pos>this.buf.length&&(actualLen=this.buf.length-pos),this.buf.copy(buf,off,pos,pos+actualLen),actualLen},Node3.prototype.truncate=function(len){if(len===void 0&&(len=0),!len)this.buf=buffer_1.bufferAllocUnsafe(0);else if(this.buf||(this.buf=buffer_1.bufferAllocUnsafe(0)),len<=this.buf.length)this.buf=this.buf.slice(0,len);else{var buf=buffer_1.bufferAllocUnsafe(0);this.buf.copy(buf),buf.fill(0,len)}this.touch()},Node3.prototype.chmod=function(perm){this.perm=perm,this.mode=this.mode&-512|perm,this.touch()},Node3.prototype.chown=function(uid,gid){this.uid=uid,this.gid=gid,this.touch()},Node3.prototype.touch=function(){this.mtime=new Date,this.emit("change",this)},Node3.prototype.canRead=function(uid,gid){return uid===void 0&&(uid=process_1.default.getuid()),gid===void 0&&(gid=process_1.default.getgid()),!!(this.perm&4||gid===this.gid&&this.perm&32||uid===this.uid&&this.perm&256)},Node3.prototype.canWrite=function(uid,gid){return uid===void 0&&(uid=process_1.default.getuid()),gid===void 0&&(gid=process_1.default.getgid()),!!(this.perm&2||gid===this.gid&&this.perm&16||uid===this.uid&&this.perm&128)},Node3.prototype.del=function(){this.emit("delete",this)},Node3.prototype.toJSON=function(){return{ino:this.ino,uid:this.uid,gid:this.gid,atime:this.atime.getTime(),mtime:this.mtime.getTime(),ctime:this.ctime.getTime(),perm:this.perm,mode:this.mode,nlink:this.nlink,symlink:this.symlink,data:this.getString()}},Node3}(events_1.EventEmitter);exports.Node=Node2;var Link=function(_super){__extends(Link2,_super);function Link2(vol,parent,name){var _this=_super.call(this)||this;return _this.children={},_this.steps=[],_this.ino=0,_this.length=0,_this.vol=vol,_this.parent=parent,_this.steps=parent?parent.steps.concat([name]):[name],_this}return Link2.prototype.setNode=function(node){this.node=node,this.ino=node.ino},Link2.prototype.getNode=function(){return this.node},Link2.prototype.createChild=function(name,node){node===void 0&&(node=this.vol.createNode());var link=new Link2(this.vol,this,name);return link.setNode(node),node.isDirectory(),this.setChild(name,link),link},Link2.prototype.setChild=function(name,link){return link===void 0&&(link=new Link2(this.vol,this,name)),this.children[name]=link,link.parent=this,this.length++,this.emit("child:add",link,this),link},Link2.prototype.deleteChild=function(link){delete this.children[link.getName()],this.length--,this.emit("child:delete",link,this)},Link2.prototype.getChild=function(name){if(Object.hasOwnProperty.call(this.children,name))return this.children[name]},Link2.prototype.getPath=function(){return this.steps.join(exports.SEP)},Link2.prototype.getName=function(){return this.steps[this.steps.length-1]},Link2.prototype.walk=function(steps,stop,i){if(stop===void 0&&(stop=steps.length),i===void 0&&(i=0),i>=steps.length)return this;if(i>=stop)return this;var step=steps[i],link=this.getChild(step);return link?link.walk(steps,stop,i+1):null},Link2.prototype.toJSON=function(){return{steps:this.steps,ino:this.ino,children:Object.keys(this.children)}},Link2}(events_1.EventEmitter);exports.Link=Link;var File2=function(){function File3(link,node,flags,fd){this.position=0,this.link=link,this.node=node,this.flags=flags,this.fd=fd}return File3.prototype.getString=function(encoding){return encoding===void 0&&(encoding="utf8"),this.node.getString()},File3.prototype.setString=function(str){this.node.setString(str)},File3.prototype.getBuffer=function(){return this.node.getBuffer()},File3.prototype.setBuffer=function(buf){this.node.setBuffer(buf)},File3.prototype.getSize=function(){return this.node.getSize()},File3.prototype.truncate=function(len){this.node.truncate(len)},File3.prototype.seekTo=function(position){this.position=position},File3.prototype.stats=function(){return Stats_1.default.build(this.node)},File3.prototype.write=function(buf,offset,length,position){offset===void 0&&(offset=0),length===void 0&&(length=buf.length),typeof position!="number"&&(position=this.position),this.flags&O_APPEND&&(position=this.getSize());var bytes=this.node.write(buf,offset,length,position);return this.position=position+bytes,bytes},File3.prototype.read=function(buf,offset,length,position){offset===void 0&&(offset=0),length===void 0&&(length=buf.byteLength),typeof position!="number"&&(position=this.position);var bytes=this.node.read(buf,offset,length,position);return this.position=position+bytes,bytes},File3.prototype.chmod=function(perm){this.node.chmod(perm)},File3.prototype.chown=function(uid,gid){this.node.chown(uid,gid)},File3}();exports.File=File2},59951:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var process=__webpack_require__(14224);Object.defineProperty(exports,"__esModule",{value:!0});var maybeReturnProcess=function(){if(typeof process<"u")return process;try{return __webpack_require__(14224)}catch{return}};function createProcess(){var p=maybeReturnProcess()||{};return p.getuid||(p.getuid=function(){return 0}),p.getgid||(p.getgid=function(){return 0}),p.cwd||(p.cwd=function(){return"/"}),p.nextTick||(p.nextTick=__webpack_require__(1663).default),p.emitWarning||(p.emitWarning=function(message,type){console.warn(""+type+(type?": ":"")+message)}),p.env||(p.env={}),p}exports.createProcess=createProcess,exports.default=createProcess()},31958:function(__unused_webpack_module,exports){"use strict";var __spreadArrays=this&&this.__spreadArrays||function(){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};Object.defineProperty(exports,"__esModule",{value:!0});function promisify(vol,fn,getResult){return getResult===void 0&&(getResult=function(input){return input}),function(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];return new Promise(function(resolve,reject){vol[fn].bind(vol).apply(void 0,__spreadArrays(args,[function(error,result){return error?reject(error):resolve(getResult(result))}]))})}}var FileHandle=function(){function FileHandle2(vol,fd){this.vol=vol,this.fd=fd}return FileHandle2.prototype.appendFile=function(data,options){return promisify(this.vol,"appendFile")(this.fd,data,options)},FileHandle2.prototype.chmod=function(mode){return promisify(this.vol,"fchmod")(this.fd,mode)},FileHandle2.prototype.chown=function(uid,gid){return promisify(this.vol,"fchown")(this.fd,uid,gid)},FileHandle2.prototype.close=function(){return promisify(this.vol,"close")(this.fd)},FileHandle2.prototype.datasync=function(){return promisify(this.vol,"fdatasync")(this.fd)},FileHandle2.prototype.read=function(buffer,offset,length,position){return promisify(this.vol,"read",function(bytesRead){return{bytesRead,buffer}})(this.fd,buffer,offset,length,position)},FileHandle2.prototype.readFile=function(options){return promisify(this.vol,"readFile")(this.fd,options)},FileHandle2.prototype.stat=function(options){return promisify(this.vol,"fstat")(this.fd,options)},FileHandle2.prototype.sync=function(){return promisify(this.vol,"fsync")(this.fd)},FileHandle2.prototype.truncate=function(len){return promisify(this.vol,"ftruncate")(this.fd,len)},FileHandle2.prototype.utimes=function(atime,mtime){return promisify(this.vol,"futimes")(this.fd,atime,mtime)},FileHandle2.prototype.write=function(buffer,offset,length,position){return promisify(this.vol,"write",function(bytesWritten){return{bytesWritten,buffer}})(this.fd,buffer,offset,length,position)},FileHandle2.prototype.writeFile=function(data,options){return promisify(this.vol,"writeFile")(this.fd,data,options)},FileHandle2}();exports.FileHandle=FileHandle;function createPromisesApi(vol){return typeof Promise>"u"?null:{FileHandle,access:function(path,mode){return promisify(vol,"access")(path,mode)},appendFile:function(path,data,options){return promisify(vol,"appendFile")(path instanceof FileHandle?path.fd:path,data,options)},chmod:function(path,mode){return promisify(vol,"chmod")(path,mode)},chown:function(path,uid,gid){return promisify(vol,"chown")(path,uid,gid)},copyFile:function(src,dest,flags){return promisify(vol,"copyFile")(src,dest,flags)},lchmod:function(path,mode){return promisify(vol,"lchmod")(path,mode)},lchown:function(path,uid,gid){return promisify(vol,"lchown")(path,uid,gid)},link:function(existingPath,newPath){return promisify(vol,"link")(existingPath,newPath)},lstat:function(path,options){return promisify(vol,"lstat")(path,options)},mkdir:function(path,options){return promisify(vol,"mkdir")(path,options)},mkdtemp:function(prefix,options){return promisify(vol,"mkdtemp")(prefix,options)},open:function(path,flags,mode){return promisify(vol,"open",function(fd){return new FileHandle(vol,fd)})(path,flags,mode)},readdir:function(path,options){return promisify(vol,"readdir")(path,options)},readFile:function(id,options){return promisify(vol,"readFile")(id instanceof FileHandle?id.fd:id,options)},readlink:function(path,options){return promisify(vol,"readlink")(path,options)},realpath:function(path,options){return promisify(vol,"realpath")(path,options)},rename:function(oldPath,newPath){return promisify(vol,"rename")(oldPath,newPath)},rmdir:function(path){return promisify(vol,"rmdir")(path)},stat:function(path,options){return promisify(vol,"stat")(path,options)},symlink:function(target,path,type){return promisify(vol,"symlink")(target,path,type)},truncate:function(path,len){return promisify(vol,"truncate")(path,len)},unlink:function(path){return promisify(vol,"unlink")(path)},utimes:function(path,atime,mtime){return promisify(vol,"utimes")(path,atime,mtime)},writeFile:function(id,data,options){return promisify(vol,"writeFile")(id instanceof FileHandle?id.fd:id,data,options)}}}exports.default=createPromisesApi},1663:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _setImmediate;typeof setImmediate=="function"?_setImmediate=setImmediate.bind(__webpack_require__.g):_setImmediate=setTimeout.bind(__webpack_require__.g),exports.default=_setImmediate},1785:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});function setTimeoutUnref(callback,time,args){var ref=setTimeout.apply(null,arguments);return ref&&typeof ref=="object"&&typeof ref.unref=="function"&&ref.unref(),ref}exports.default=setTimeoutUnref},57965:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||function(){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)b2.hasOwnProperty(p)&&(d2[p]=b2[p])},extendStatics(d,b)};return function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __)}}(),__spreadArrays=this&&this.__spreadArrays||function(){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};Object.defineProperty(exports,"__esModule",{value:!0});var pathModule=__webpack_require__(62005),node_1=__webpack_require__(97695),Stats_1=__webpack_require__(45166),Dirent_1=__webpack_require__(61896),buffer_1=__webpack_require__(3534),setImmediate_1=__webpack_require__(1663),process_1=__webpack_require__(59951),setTimeoutUnref_1=__webpack_require__(1785),stream_1=__webpack_require__(76835),constants_1=__webpack_require__(56579),events_1=__webpack_require__(72100),encoding_1=__webpack_require__(69215),errors=__webpack_require__(78761),extend=__webpack_require__(47697).l,util=__webpack_require__(93585),promises_1=__webpack_require__(31958),resolveCrossPlatform=pathModule.resolve,O_RDONLY=constants_1.constants.O_RDONLY,O_WRONLY=constants_1.constants.O_WRONLY,O_RDWR=constants_1.constants.O_RDWR,O_CREAT=constants_1.constants.O_CREAT,O_EXCL=constants_1.constants.O_EXCL,O_TRUNC=constants_1.constants.O_TRUNC,O_APPEND=constants_1.constants.O_APPEND,O_SYNC=constants_1.constants.O_SYNC,F_OK=constants_1.constants.F_OK,COPYFILE_EXCL=constants_1.constants.COPYFILE_EXCL,COPYFILE_FICLONE_FORCE=constants_1.constants.COPYFILE_FICLONE_FORCE,sep,relative;if(pathModule.posix){var posix=pathModule.posix;sep=posix.sep,relative=posix.relative}else sep=pathModule.sep,relative=pathModule.relative;var isWin=process_1.default.platform==="win32",kMinPoolSpace=128,ERRSTR={PATH_STR:"path must be a string or Buffer",FD:"fd must be a file descriptor",MODE_INT:"mode must be an int",CB:"callback must be a function",UID:"uid must be an unsigned int",GID:"gid must be an unsigned int",LEN:"len must be an integer",ATIME:"atime must be an integer",MTIME:"mtime must be an integer",PREFIX:"filename prefix is required",BUFFER:"buffer must be an instance of Buffer or StaticBuffer",OFFSET:"offset must be an integer",LENGTH:"length must be an integer",POSITION:"position must be an integer"},ERRSTR_OPTS=function(tipeof){return"Expected options to be either an object or a string, but got "+tipeof+" instead"},ENOENT="ENOENT",EBADF="EBADF",EINVAL="EINVAL",EPERM="EPERM",EPROTO="EPROTO",EEXIST="EEXIST",ENOTDIR="ENOTDIR",EMFILE="EMFILE",EACCES="EACCES",EISDIR="EISDIR",ENOTEMPTY="ENOTEMPTY",ENOSYS="ENOSYS";function formatError(errorCode,func,path,path2){func===void 0&&(func=""),path===void 0&&(path=""),path2===void 0&&(path2="");var pathFormatted="";switch(path&&(pathFormatted=" '"+path+"'"),path2&&(pathFormatted+=" -> '"+path2+"'"),errorCode){case ENOENT:return"ENOENT: no such file or directory, "+func+pathFormatted;case EBADF:return"EBADF: bad file descriptor, "+func+pathFormatted;case EINVAL:return"EINVAL: invalid argument, "+func+pathFormatted;case EPERM:return"EPERM: operation not permitted, "+func+pathFormatted;case EPROTO:return"EPROTO: protocol error, "+func+pathFormatted;case EEXIST:return"EEXIST: file already exists, "+func+pathFormatted;case ENOTDIR:return"ENOTDIR: not a directory, "+func+pathFormatted;case EISDIR:return"EISDIR: illegal operation on a directory, "+func+pathFormatted;case EACCES:return"EACCES: permission denied, "+func+pathFormatted;case ENOTEMPTY:return"ENOTEMPTY: directory not empty, "+func+pathFormatted;case EMFILE:return"EMFILE: too many open files, "+func+pathFormatted;case ENOSYS:return"ENOSYS: function not implemented, "+func+pathFormatted;default:return errorCode+": error occurred, "+func+pathFormatted}}function createError(errorCode,func,path,path2,Constructor){func===void 0&&(func=""),path===void 0&&(path=""),path2===void 0&&(path2=""),Constructor===void 0&&(Constructor=Error);var error=new Constructor(formatError(errorCode,func,path,path2));return error.code=errorCode,error}var FLAGS;(function(FLAGS2){FLAGS2[FLAGS2.r=O_RDONLY]="r",FLAGS2[FLAGS2["r+"]=O_RDWR]="r+",FLAGS2[FLAGS2.rs=O_RDONLY|O_SYNC]="rs",FLAGS2[FLAGS2.sr=FLAGS2.rs]="sr",FLAGS2[FLAGS2["rs+"]=O_RDWR|O_SYNC]="rs+",FLAGS2[FLAGS2["sr+"]=FLAGS2["rs+"]]="sr+",FLAGS2[FLAGS2.w=O_WRONLY|O_CREAT|O_TRUNC]="w",FLAGS2[FLAGS2.wx=O_WRONLY|O_CREAT|O_TRUNC|O_EXCL]="wx",FLAGS2[FLAGS2.xw=FLAGS2.wx]="xw",FLAGS2[FLAGS2["w+"]=O_RDWR|O_CREAT|O_TRUNC]="w+",FLAGS2[FLAGS2["wx+"]=O_RDWR|O_CREAT|O_TRUNC|O_EXCL]="wx+",FLAGS2[FLAGS2["xw+"]=FLAGS2["wx+"]]="xw+",FLAGS2[FLAGS2.a=O_WRONLY|O_APPEND|O_CREAT]="a",FLAGS2[FLAGS2.ax=O_WRONLY|O_APPEND|O_CREAT|O_EXCL]="ax",FLAGS2[FLAGS2.xa=FLAGS2.ax]="xa",FLAGS2[FLAGS2["a+"]=O_RDWR|O_APPEND|O_CREAT]="a+",FLAGS2[FLAGS2["ax+"]=O_RDWR|O_APPEND|O_CREAT|O_EXCL]="ax+",FLAGS2[FLAGS2["xa+"]=FLAGS2["ax+"]]="xa+"})(FLAGS=exports.FLAGS||(exports.FLAGS={}));function flagsToNumber(flags){if(typeof flags=="number")return flags;if(typeof flags=="string"){var flagsNum=FLAGS[flags];if(typeof flagsNum<"u")return flagsNum}throw new errors.TypeError("ERR_INVALID_OPT_VALUE","flags",flags)}exports.flagsToNumber=flagsToNumber;function getOptions(defaults,options){var opts;if(options){var tipeof=typeof options;switch(tipeof){case"string":opts=extend({},defaults,{encoding:options});break;case"object":opts=extend({},defaults,options);break;default:throw TypeError(ERRSTR_OPTS(tipeof))}}else return defaults;return opts.encoding!=="buffer"&&encoding_1.assertEncoding(opts.encoding),opts}function optsGenerator(defaults){return function(options){return getOptions(defaults,options)}}function validateCallback(callback){if(typeof callback!="function")throw TypeError(ERRSTR.CB);return callback}function optsAndCbGenerator(getOpts){return function(options,callback){return typeof options=="function"?[getOpts(),options]:[getOpts(options),validateCallback(callback)]}}var optsDefaults={encoding:"utf8"},getDefaultOpts=optsGenerator(optsDefaults),getDefaultOptsAndCb=optsAndCbGenerator(getDefaultOpts),readFileOptsDefaults={flag:"r"},getReadFileOptions=optsGenerator(readFileOptsDefaults),writeFileDefaults={encoding:"utf8",mode:438,flag:FLAGS[FLAGS.w]},getWriteFileOptions=optsGenerator(writeFileDefaults),appendFileDefaults={encoding:"utf8",mode:438,flag:FLAGS[FLAGS.a]},getAppendFileOpts=optsGenerator(appendFileDefaults),getAppendFileOptsAndCb=optsAndCbGenerator(getAppendFileOpts),realpathDefaults=optsDefaults,getRealpathOptions=optsGenerator(realpathDefaults),getRealpathOptsAndCb=optsAndCbGenerator(getRealpathOptions),mkdirDefaults={mode:511,recursive:!1},getMkdirOptions=function(options){return typeof options=="number"?extend({},mkdirDefaults,{mode:options}):extend({},mkdirDefaults,options)},rmdirDefaults={recursive:!1},getRmdirOptions=function(options){return extend({},rmdirDefaults,options)},readdirDefaults={encoding:"utf8",withFileTypes:!1},getReaddirOptions=optsGenerator(readdirDefaults),getReaddirOptsAndCb=optsAndCbGenerator(getReaddirOptions),statDefaults={bigint:!1},getStatOptions=function(options){return options===void 0&&(options={}),extend({},statDefaults,options)},getStatOptsAndCb=function(options,callback){return typeof options=="function"?[getStatOptions(),options]:[getStatOptions(options),validateCallback(callback)]};function getPathFromURLPosix(url){if(url.hostname!=="")throw new errors.TypeError("ERR_INVALID_FILE_URL_HOST",process_1.default.platform);for(var pathname=url.pathname,n=0;n<pathname.length;n++)if(pathname[n]==="%"){var third=pathname.codePointAt(n+2)|32;if(pathname[n+1]==="2"&&third===102)throw new errors.TypeError("ERR_INVALID_FILE_URL_PATH","must not include encoded / characters")}return decodeURIComponent(pathname)}function pathToFilename(path){if(typeof path!="string"&&!buffer_1.Buffer.isBuffer(path)){try{if(!(path instanceof __webpack_require__(46393).URL))throw new TypeError(ERRSTR.PATH_STR)}catch{throw new TypeError(ERRSTR.PATH_STR)}path=getPathFromURLPosix(path)}var pathString=String(path);return nullCheck(pathString),pathString}exports.pathToFilename=pathToFilename;var resolve=function(filename,base){return base===void 0&&(base=process_1.default.cwd()),resolveCrossPlatform(base,filename)};if(isWin){var _resolve_1=resolve,unixify_1=__webpack_require__(37414).Z4;resolve=function(filename,base){return unixify_1(_resolve_1(filename,base))}}function filenameToSteps(filename,base){var fullPath=resolve(filename,base),fullPathSansSlash=fullPath.substr(1);return fullPathSansSlash?fullPathSansSlash.split(sep):[]}exports.filenameToSteps=filenameToSteps;function pathToSteps(path){return filenameToSteps(pathToFilename(path))}exports.pathToSteps=pathToSteps;function dataToStr(data,encoding){return encoding===void 0&&(encoding=encoding_1.ENCODING_UTF8),buffer_1.Buffer.isBuffer(data)?data.toString(encoding):data instanceof Uint8Array?buffer_1.bufferFrom(data).toString(encoding):String(data)}exports.dataToStr=dataToStr;function dataToBuffer(data,encoding){return encoding===void 0&&(encoding=encoding_1.ENCODING_UTF8),buffer_1.Buffer.isBuffer(data)?data:data instanceof Uint8Array?buffer_1.bufferFrom(data):buffer_1.bufferFrom(String(data),encoding)}exports.dataToBuffer=dataToBuffer;function bufferToEncoding(buffer,encoding){return!encoding||encoding==="buffer"?buffer:buffer.toString(encoding)}exports.bufferToEncoding=bufferToEncoding;function nullCheck(path,callback){if((""+path).indexOf("\0")!==-1){var er=new Error("Path must be a string without null bytes");if(er.code=ENOENT,typeof callback!="function")throw er;return process_1.default.nextTick(callback,er),!1}return!0}function _modeToNumber(mode,def){if(typeof mode=="number")return mode;if(typeof mode=="string")return parseInt(mode,8);if(def)return modeToNumber(def)}function modeToNumber(mode,def){var result=_modeToNumber(mode,def);if(typeof result!="number"||isNaN(result))throw new TypeError(ERRSTR.MODE_INT);return result}function isFd(path){return path>>>0===path}function validateFd(fd){if(!isFd(fd))throw TypeError(ERRSTR.FD)}function toUnixTimestamp(time){if(typeof time=="string"&&+time==time)return+time;if(time instanceof Date)return time.getTime()/1e3;if(isFinite(time))return time<0?Date.now()/1e3:time;throw new Error("Cannot parse time: "+time)}exports.toUnixTimestamp=toUnixTimestamp;function validateUid(uid){if(typeof uid!="number")throw TypeError(ERRSTR.UID)}function validateGid(gid){if(typeof gid!="number")throw TypeError(ERRSTR.GID)}var Volume=function(){function Volume2(props){props===void 0&&(props={}),this.ino=0,this.inodes={},this.releasedInos=[],this.fds={},this.releasedFds=[],this.maxFiles=1e4,this.openFiles=0,this.promisesApi=promises_1.default(this),this.statWatchers={},this.props=extend({Node:node_1.Node,Link:node_1.Link,File:node_1.File},props);var root=this.createLink();root.setNode(this.createNode(!0));var self2=this;this.StatWatcher=function(_super){__extends(StatWatcher2,_super);function StatWatcher2(){return _super.call(this,self2)||this}return StatWatcher2}(StatWatcher);var _ReadStream=FsReadStream;this.ReadStream=function(_super){__extends(class_1,_super);function class_1(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];return _super.apply(this,__spreadArrays([self2],args))||this}return class_1}(_ReadStream);var _WriteStream=FsWriteStream;this.WriteStream=function(_super){__extends(class_2,_super);function class_2(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];return _super.apply(this,__spreadArrays([self2],args))||this}return class_2}(_WriteStream),this.FSWatcher=function(_super){__extends(FSWatcher2,_super);function FSWatcher2(){return _super.call(this,self2)||this}return FSWatcher2}(FSWatcher),this.root=root}return Volume2.fromJSON=function(json,cwd){var vol=new Volume2;return vol.fromJSON(json,cwd),vol},Object.defineProperty(Volume2.prototype,"promises",{get:function(){if(this.promisesApi===null)throw new Error("Promise is not supported in this environment.");return this.promisesApi},enumerable:!0,configurable:!0}),Volume2.prototype.createLink=function(parent,name,isDirectory,perm){if(isDirectory===void 0&&(isDirectory=!1),!parent)return new this.props.Link(this,null,"");if(!name)throw new Error("createLink: name cannot be empty");return parent.createChild(name,this.createNode(isDirectory,perm))},Volume2.prototype.deleteLink=function(link){var parent=link.parent;return parent?(parent.deleteChild(link),!0):!1},Volume2.prototype.newInoNumber=function(){var releasedFd=this.releasedInos.pop();return releasedFd||(this.ino=(this.ino+1)%4294967295,this.ino)},Volume2.prototype.newFdNumber=function(){var releasedFd=this.releasedFds.pop();return typeof releasedFd=="number"?releasedFd:Volume2.fd--},Volume2.prototype.createNode=function(isDirectory,perm){isDirectory===void 0&&(isDirectory=!1);var node=new this.props.Node(this.newInoNumber(),perm);return isDirectory&&node.setIsDirectory(),this.inodes[node.ino]=node,node},Volume2.prototype.getNode=function(ino){return this.inodes[ino]},Volume2.prototype.deleteNode=function(node){node.del(),delete this.inodes[node.ino],this.releasedInos.push(node.ino)},Volume2.prototype.genRndStr=function(){var str=(Math.random()+1).toString(36).substr(2,6);return str.length===6?str:this.genRndStr()},Volume2.prototype.getLink=function(steps){return this.root.walk(steps)},Volume2.prototype.getLinkOrThrow=function(filename,funcName){var steps=filenameToSteps(filename),link=this.getLink(steps);if(!link)throw createError(ENOENT,funcName,filename);return link},Volume2.prototype.getResolvedLink=function(filenameOrSteps){for(var steps=typeof filenameOrSteps=="string"?filenameToSteps(filenameOrSteps):filenameOrSteps,link=this.root,i=0;i<steps.length;){var step=steps[i];if(link=link.getChild(step),!link)return null;var node=link.getNode();if(node.isSymlink()){steps=node.symlink.concat(steps.slice(i+1)),link=this.root,i=0;continue}i++}return link},Volume2.prototype.getResolvedLinkOrThrow=function(filename,funcName){var link=this.getResolvedLink(filename);if(!link)throw createError(ENOENT,funcName,filename);return link},Volume2.prototype.resolveSymlinks=function(link){return this.getResolvedLink(link.steps.slice(1))},Volume2.prototype.getLinkAsDirOrThrow=function(filename,funcName){var link=this.getLinkOrThrow(filename,funcName);if(!link.getNode().isDirectory())throw createError(ENOTDIR,funcName,filename);return link},Volume2.prototype.getLinkParent=function(steps){return this.root.walk(steps,steps.length-1)},Volume2.prototype.getLinkParentAsDirOrThrow=function(filenameOrSteps,funcName){var steps=filenameOrSteps instanceof Array?filenameOrSteps:filenameToSteps(filenameOrSteps),link=this.getLinkParent(steps);if(!link)throw createError(ENOENT,funcName,sep+steps.join(sep));if(!link.getNode().isDirectory())throw createError(ENOTDIR,funcName,sep+steps.join(sep));return link},Volume2.prototype.getFileByFd=function(fd){return this.fds[String(fd)]},Volume2.prototype.getFileByFdOrThrow=function(fd,funcName){if(!isFd(fd))throw TypeError(ERRSTR.FD);var file=this.getFileByFd(fd);if(!file)throw createError(EBADF,funcName);return file},Volume2.prototype.getNodeByIdOrCreate=function(id,flags,perm){if(typeof id=="number"){var file=this.getFileByFd(id);if(!file)throw Error("File nto found");return file.node}else{var steps=pathToSteps(id),link=this.getLink(steps);if(link)return link.getNode();if(flags&O_CREAT){var dirLink=this.getLinkParent(steps);if(dirLink){var name_1=steps[steps.length-1];return link=this.createLink(dirLink,name_1,!1,perm),link.getNode()}}throw createError(ENOENT,"getNodeByIdOrCreate",pathToFilename(id))}},Volume2.prototype.wrapAsync=function(method,args,callback){var _this=this;validateCallback(callback),setImmediate_1.default(function(){try{callback(null,method.apply(_this,args))}catch(err){callback(err)}})},Volume2.prototype._toJSON=function(link,json,path){var _a;link===void 0&&(link=this.root),json===void 0&&(json={});var isEmpty=!0,children=link.children;link.getNode().isFile()&&(children=(_a={},_a[link.getName()]=link.parent.getChild(link.getName()),_a),link=link.parent);for(var name_2 in children){isEmpty=!1;var child=link.getChild(name_2);if(!child)throw new Error("_toJSON: unexpected undefined");var node=child.getNode();if(node.isFile()){var filename=child.getPath();path&&(filename=relative(path,filename)),json[filename]=node.getString()}else node.isDirectory()&&this._toJSON(child,json,path)}var dirPath=link.getPath();return path&&(dirPath=relative(path,dirPath)),dirPath&&isEmpty&&(json[dirPath]=null),json},Volume2.prototype.toJSON=function(paths,json,isRelative){json===void 0&&(json={}),isRelative===void 0&&(isRelative=!1);var links=[];if(paths){paths instanceof Array||(paths=[paths]);for(var _i=0,paths_1=paths;_i<paths_1.length;_i++){var path=paths_1[_i],filename=pathToFilename(path),link=this.getResolvedLink(filename);!link||links.push(link)}}else links.push(this.root);if(!links.length)return json;for(var _a=0,links_1=links;_a<links_1.length;_a++){var link=links_1[_a];this._toJSON(link,json,isRelative?link.getPath():"")}return json},Volume2.prototype.fromJSON=function(json,cwd){cwd===void 0&&(cwd=process_1.default.cwd());for(var filename in json){var data=json[filename];if(typeof data=="string"){filename=resolve(filename,cwd);var steps=filenameToSteps(filename);if(steps.length>1){var dirname=sep+steps.slice(0,steps.length-1).join(sep);this.mkdirpBase(dirname,511)}this.writeFileSync(filename,data)}else this.mkdirpBase(filename,511)}},Volume2.prototype.reset=function(){this.ino=0,this.inodes={},this.releasedInos=[],this.fds={},this.releasedFds=[],this.openFiles=0,this.root=this.createLink(),this.root.setNode(this.createNode(!0))},Volume2.prototype.mountSync=function(mountpoint,json){this.fromJSON(json,mountpoint)},Volume2.prototype.openLink=function(link,flagsNum,resolveSymlinks){if(resolveSymlinks===void 0&&(resolveSymlinks=!0),this.openFiles>=this.maxFiles)throw createError(EMFILE,"open",link.getPath());var realLink=link;if(resolveSymlinks&&(realLink=this.resolveSymlinks(link)),!realLink)throw createError(ENOENT,"open",link.getPath());var node=realLink.getNode();if(node.isDirectory()&&flagsNum!==FLAGS.r)throw createError(EISDIR,"open",link.getPath());if(!(flagsNum&O_WRONLY)&&!node.canRead())throw createError(EACCES,"open",link.getPath());flagsNum&O_RDWR;var file=new this.props.File(link,node,flagsNum,this.newFdNumber());return this.fds[file.fd]=file,this.openFiles++,flagsNum&O_TRUNC&&file.truncate(),file},Volume2.prototype.openFile=function(filename,flagsNum,modeNum,resolveSymlinks){resolveSymlinks===void 0&&(resolveSymlinks=!0);var steps=filenameToSteps(filename),link=resolveSymlinks?this.getResolvedLink(steps):this.getLink(steps);if(!link&&flagsNum&O_CREAT){var dirLink=this.getResolvedLink(steps.slice(0,steps.length-1));if(!dirLink)throw createError(ENOENT,"open",sep+steps.join(sep));flagsNum&O_CREAT&&typeof modeNum=="number"&&(link=this.createLink(dirLink,steps[steps.length-1],!1,modeNum))}if(link)return this.openLink(link,flagsNum,resolveSymlinks);throw createError(ENOENT,"open",filename)},Volume2.prototype.openBase=function(filename,flagsNum,modeNum,resolveSymlinks){resolveSymlinks===void 0&&(resolveSymlinks=!0);var file=this.openFile(filename,flagsNum,modeNum,resolveSymlinks);if(!file)throw createError(ENOENT,"open",filename);return file.fd},Volume2.prototype.openSync=function(path,flags,mode){mode===void 0&&(mode=438);var modeNum=modeToNumber(mode),fileName=pathToFilename(path),flagsNum=flagsToNumber(flags);return this.openBase(fileName,flagsNum,modeNum)},Volume2.prototype.open=function(path,flags,a,b){var mode=a,callback=b;typeof a=="function"&&(mode=438,callback=a),mode=mode||438;var modeNum=modeToNumber(mode),fileName=pathToFilename(path),flagsNum=flagsToNumber(flags);this.wrapAsync(this.openBase,[fileName,flagsNum,modeNum],callback)},Volume2.prototype.closeFile=function(file){!this.fds[file.fd]||(this.openFiles--,delete this.fds[file.fd],this.releasedFds.push(file.fd))},Volume2.prototype.closeSync=function(fd){validateFd(fd);var file=this.getFileByFdOrThrow(fd,"close");this.closeFile(file)},Volume2.prototype.close=function(fd,callback){validateFd(fd),this.wrapAsync(this.closeSync,[fd],callback)},Volume2.prototype.openFileOrGetById=function(id,flagsNum,modeNum){if(typeof id=="number"){var file=this.fds[id];if(!file)throw createError(ENOENT);return file}else return this.openFile(pathToFilename(id),flagsNum,modeNum)},Volume2.prototype.readBase=function(fd,buffer,offset,length,position){var file=this.getFileByFdOrThrow(fd);return file.read(buffer,Number(offset),Number(length),position)},Volume2.prototype.readSync=function(fd,buffer,offset,length,position){return validateFd(fd),this.readBase(fd,buffer,offset,length,position)},Volume2.prototype.read=function(fd,buffer,offset,length,position,callback){var _this=this;if(validateCallback(callback),length===0)return process_1.default.nextTick(function(){callback&&callback(null,0,buffer)});setImmediate_1.default(function(){try{var bytes=_this.readBase(fd,buffer,offset,length,position);callback(null,bytes,buffer)}catch(err){callback(err)}})},Volume2.prototype.readFileBase=function(id,flagsNum,encoding){var result,isUserFd=typeof id=="number",userOwnsFd=isUserFd&&isFd(id),fd;if(userOwnsFd)fd=id;else{var filename=pathToFilename(id),steps=filenameToSteps(filename),link=this.getResolvedLink(steps);if(link){var node=link.getNode();if(node.isDirectory())throw createError(EISDIR,"open",link.getPath())}fd=this.openSync(id,flagsNum)}try{result=bufferToEncoding(this.getFileByFdOrThrow(fd).getBuffer(),encoding)}finally{userOwnsFd||this.closeSync(fd)}return result},Volume2.prototype.readFileSync=function(file,options){var opts=getReadFileOptions(options),flagsNum=flagsToNumber(opts.flag);return this.readFileBase(file,flagsNum,opts.encoding)},Volume2.prototype.readFile=function(id,a,b){var _a=optsAndCbGenerator(getReadFileOptions)(a,b),opts=_a[0],callback=_a[1],flagsNum=flagsToNumber(opts.flag);this.wrapAsync(this.readFileBase,[id,flagsNum,opts.encoding],callback)},Volume2.prototype.writeBase=function(fd,buf,offset,length,position){var file=this.getFileByFdOrThrow(fd,"write");return file.write(buf,offset,length,position)},Volume2.prototype.writeSync=function(fd,a,b,c,d){validateFd(fd);var encoding,offset,length,position,isBuffer=typeof a!="string";isBuffer?(offset=(b||0)|0,length=c,position=d):(position=b,encoding=c);var buf=dataToBuffer(a,encoding);return isBuffer?typeof length>"u"&&(length=buf.length):(offset=0,length=buf.length),this.writeBase(fd,buf,offset,length,position)},Volume2.prototype.write=function(fd,a,b,c,d,e){var _this=this;validateFd(fd);var offset,length,position,encoding,callback,tipa=typeof a,tipb=typeof b,tipc=typeof c,tipd=typeof d;tipa!=="string"?tipb==="function"?callback=b:tipc==="function"?(offset=b|0,callback=c):tipd==="function"?(offset=b|0,length=c,callback=d):(offset=b|0,length=c,position=d,callback=e):tipb==="function"?callback=b:tipc==="function"?(position=b,callback=c):tipd==="function"&&(position=b,encoding=c,callback=d);var buf=dataToBuffer(a,encoding);tipa!=="string"?typeof length>"u"&&(length=buf.length):(offset=0,length=buf.length);var cb=validateCallback(callback);setImmediate_1.default(function(){try{var bytes=_this.writeBase(fd,buf,offset,length,position);tipa!=="string"?cb(null,bytes,buf):cb(null,bytes,a)}catch(err){cb(err)}})},Volume2.prototype.writeFileBase=function(id,buf,flagsNum,modeNum){var isUserFd=typeof id=="number",fd;isUserFd?fd=id:fd=this.openBase(pathToFilename(id),flagsNum,modeNum);var offset=0,length=buf.length,position=flagsNum&O_APPEND?void 0:0;try{for(;length>0;){var written=this.writeSync(fd,buf,offset,length,position);offset+=written,length-=written,position!==void 0&&(position+=written)}}finally{isUserFd||this.closeSync(fd)}},Volume2.prototype.writeFileSync=function(id,data,options){var opts=getWriteFileOptions(options),flagsNum=flagsToNumber(opts.flag),modeNum=modeToNumber(opts.mode),buf=dataToBuffer(data,opts.encoding);this.writeFileBase(id,buf,flagsNum,modeNum)},Volume2.prototype.writeFile=function(id,data,a,b){var options=a,callback=b;typeof a=="function"&&(options=writeFileDefaults,callback=a);var cb=validateCallback(callback),opts=getWriteFileOptions(options),flagsNum=flagsToNumber(opts.flag),modeNum=modeToNumber(opts.mode),buf=dataToBuffer(data,opts.encoding);this.wrapAsync(this.writeFileBase,[id,buf,flagsNum,modeNum],cb)},Volume2.prototype.linkBase=function(filename1,filename2){var steps1=filenameToSteps(filename1),link1=this.getLink(steps1);if(!link1)throw createError(ENOENT,"link",filename1,filename2);var steps2=filenameToSteps(filename2),dir2=this.getLinkParent(steps2);if(!dir2)throw createError(ENOENT,"link",filename1,filename2);var name=steps2[steps2.length-1];if(dir2.getChild(name))throw createError(EEXIST,"link",filename1,filename2);var node=link1.getNode();node.nlink++,dir2.createChild(name,node)},Volume2.prototype.copyFileBase=function(src,dest,flags){var buf=this.readFileSync(src);if(flags&COPYFILE_EXCL&&this.existsSync(dest))throw createError(EEXIST,"copyFile",src,dest);if(flags&COPYFILE_FICLONE_FORCE)throw createError(ENOSYS,"copyFile",src,dest);this.writeFileBase(dest,buf,FLAGS.w,438)},Volume2.prototype.copyFileSync=function(src,dest,flags){var srcFilename=pathToFilename(src),destFilename=pathToFilename(dest);return this.copyFileBase(srcFilename,destFilename,(flags||0)|0)},Volume2.prototype.copyFile=function(src,dest,a,b){var srcFilename=pathToFilename(src),destFilename=pathToFilename(dest),flags,callback;typeof a=="function"?(flags=0,callback=a):(flags=a,callback=b),validateCallback(callback),this.wrapAsync(this.copyFileBase,[srcFilename,destFilename,flags],callback)},Volume2.prototype.linkSync=function(existingPath,newPath){var existingPathFilename=pathToFilename(existingPath),newPathFilename=pathToFilename(newPath);this.linkBase(existingPathFilename,newPathFilename)},Volume2.prototype.link=function(existingPath,newPath,callback){var existingPathFilename=pathToFilename(existingPath),newPathFilename=pathToFilename(newPath);this.wrapAsync(this.linkBase,[existingPathFilename,newPathFilename],callback)},Volume2.prototype.unlinkBase=function(filename){var steps=filenameToSteps(filename),link=this.getLink(steps);if(!link)throw createError(ENOENT,"unlink",filename);if(link.length)throw Error("Dir not empty...");this.deleteLink(link);var node=link.getNode();node.nlink--,node.nlink<=0&&this.deleteNode(node)},Volume2.prototype.unlinkSync=function(path){var filename=pathToFilename(path);this.unlinkBase(filename)},Volume2.prototype.unlink=function(path,callback){var filename=pathToFilename(path);this.wrapAsync(this.unlinkBase,[filename],callback)},Volume2.prototype.symlinkBase=function(targetFilename,pathFilename){var pathSteps=filenameToSteps(pathFilename),dirLink=this.getLinkParent(pathSteps);if(!dirLink)throw createError(ENOENT,"symlink",targetFilename,pathFilename);var name=pathSteps[pathSteps.length-1];if(dirLink.getChild(name))throw createError(EEXIST,"symlink",targetFilename,pathFilename);var symlink=dirLink.createChild(name);return symlink.getNode().makeSymlink(filenameToSteps(targetFilename)),symlink},Volume2.prototype.symlinkSync=function(target,path,type){var targetFilename=pathToFilename(target),pathFilename=pathToFilename(path);this.symlinkBase(targetFilename,pathFilename)},Volume2.prototype.symlink=function(target,path,a,b){var callback=validateCallback(typeof a=="function"?a:b),targetFilename=pathToFilename(target),pathFilename=pathToFilename(path);this.wrapAsync(this.symlinkBase,[targetFilename,pathFilename],callback)},Volume2.prototype.realpathBase=function(filename,encoding){var steps=filenameToSteps(filename),realLink=this.getResolvedLink(steps);if(!realLink)throw createError(ENOENT,"realpath",filename);return encoding_1.strToEncoding(realLink.getPath(),encoding)},Volume2.prototype.realpathSync=function(path,options){return this.realpathBase(pathToFilename(path),getRealpathOptions(options).encoding)},Volume2.prototype.realpath=function(path,a,b){var _a=getRealpathOptsAndCb(a,b),opts=_a[0],callback=_a[1],pathFilename=pathToFilename(path);this.wrapAsync(this.realpathBase,[pathFilename,opts.encoding],callback)},Volume2.prototype.lstatBase=function(filename,bigint){bigint===void 0&&(bigint=!1);var link=this.getLink(filenameToSteps(filename));if(!link)throw createError(ENOENT,"lstat",filename);return Stats_1.default.build(link.getNode(),bigint)},Volume2.prototype.lstatSync=function(path,options){return this.lstatBase(pathToFilename(path),getStatOptions(options).bigint)},Volume2.prototype.lstat=function(path,a,b){var _a=getStatOptsAndCb(a,b),opts=_a[0],callback=_a[1];this.wrapAsync(this.lstatBase,[pathToFilename(path),opts.bigint],callback)},Volume2.prototype.statBase=function(filename,bigint){bigint===void 0&&(bigint=!1);var link=this.getResolvedLink(filenameToSteps(filename));if(!link)throw createError(ENOENT,"stat",filename);return Stats_1.default.build(link.getNode(),bigint)},Volume2.prototype.statSync=function(path,options){return this.statBase(pathToFilename(path),getStatOptions(options).bigint)},Volume2.prototype.stat=function(path,a,b){var _a=getStatOptsAndCb(a,b),opts=_a[0],callback=_a[1];this.wrapAsync(this.statBase,[pathToFilename(path),opts.bigint],callback)},Volume2.prototype.fstatBase=function(fd,bigint){bigint===void 0&&(bigint=!1);var file=this.getFileByFd(fd);if(!file)throw createError(EBADF,"fstat");return Stats_1.default.build(file.node,bigint)},Volume2.prototype.fstatSync=function(fd,options){return this.fstatBase(fd,getStatOptions(options).bigint)},Volume2.prototype.fstat=function(fd,a,b){var _a=getStatOptsAndCb(a,b),opts=_a[0],callback=_a[1];this.wrapAsync(this.fstatBase,[fd,opts.bigint],callback)},Volume2.prototype.renameBase=function(oldPathFilename,newPathFilename){var link=this.getLink(filenameToSteps(oldPathFilename));if(!link)throw createError(ENOENT,"rename",oldPathFilename,newPathFilename);var newPathSteps=filenameToSteps(newPathFilename),newPathDirLink=this.getLinkParent(newPathSteps);if(!newPathDirLink)throw createError(ENOENT,"rename",oldPathFilename,newPathFilename);var oldLinkParent=link.parent;oldLinkParent&&oldLinkParent.deleteChild(link);var name=newPathSteps[newPathSteps.length-1];link.steps=__spreadArrays(newPathDirLink.steps,[name]),newPathDirLink.setChild(link.getName(),link)},Volume2.prototype.renameSync=function(oldPath,newPath){var oldPathFilename=pathToFilename(oldPath),newPathFilename=pathToFilename(newPath);this.renameBase(oldPathFilename,newPathFilename)},Volume2.prototype.rename=function(oldPath,newPath,callback){var oldPathFilename=pathToFilename(oldPath),newPathFilename=pathToFilename(newPath);this.wrapAsync(this.renameBase,[oldPathFilename,newPathFilename],callback)},Volume2.prototype.existsBase=function(filename){return!!this.statBase(filename)},Volume2.prototype.existsSync=function(path){try{return this.existsBase(pathToFilename(path))}catch{return!1}},Volume2.prototype.exists=function(path,callback){var _this=this,filename=pathToFilename(path);if(typeof callback!="function")throw Error(ERRSTR.CB);setImmediate_1.default(function(){try{callback(_this.existsBase(filename))}catch{callback(!1)}})},Volume2.prototype.accessBase=function(filename,mode){var link=this.getLinkOrThrow(filename,"access")},Volume2.prototype.accessSync=function(path,mode){mode===void 0&&(mode=F_OK);var filename=pathToFilename(path);mode=mode|0,this.accessBase(filename,mode)},Volume2.prototype.access=function(path,a,b){var mode=F_OK,callback;typeof a!="function"?(mode=a|0,callback=validateCallback(b)):callback=a;var filename=pathToFilename(path);this.wrapAsync(this.accessBase,[filename,mode],callback)},Volume2.prototype.appendFileSync=function(id,data,options){options===void 0&&(options=appendFileDefaults);var opts=getAppendFileOpts(options);(!opts.flag||isFd(id))&&(opts.flag="a"),this.writeFileSync(id,data,opts)},Volume2.prototype.appendFile=function(id,data,a,b){var _a=getAppendFileOptsAndCb(a,b),opts=_a[0],callback=_a[1];(!opts.flag||isFd(id))&&(opts.flag="a"),this.writeFile(id,data,opts,callback)},Volume2.prototype.readdirBase=function(filename,options){var steps=filenameToSteps(filename),link=this.getResolvedLink(steps);if(!link)throw createError(ENOENT,"readdir",filename);var node=link.getNode();if(!node.isDirectory())throw createError(ENOTDIR,"scandir",filename);if(options.withFileTypes){var list_1=[];for(var name_3 in link.children){var child=link.getChild(name_3);!child||list_1.push(Dirent_1.default.build(child,options.encoding))}return!isWin&&options.encoding!=="buffer"&&list_1.sort(function(a,b){return a.name<b.name?-1:a.name>b.name?1:0}),list_1}var list=[];for(var name_4 in link.children)list.push(encoding_1.strToEncoding(name_4,options.encoding));return!isWin&&options.encoding!=="buffer"&&list.sort(),list},Volume2.prototype.readdirSync=function(path,options){var opts=getReaddirOptions(options),filename=pathToFilename(path);return this.readdirBase(filename,opts)},Volume2.prototype.readdir=function(path,a,b){var _a=getReaddirOptsAndCb(a,b),options=_a[0],callback=_a[1],filename=pathToFilename(path);this.wrapAsync(this.readdirBase,[filename,options],callback)},Volume2.prototype.readlinkBase=function(filename,encoding){var link=this.getLinkOrThrow(filename,"readlink"),node=link.getNode();if(!node.isSymlink())throw createError(EINVAL,"readlink",filename);var str=sep+node.symlink.join(sep);return encoding_1.strToEncoding(str,encoding)},Volume2.prototype.readlinkSync=function(path,options){var opts=getDefaultOpts(options),filename=pathToFilename(path);return this.readlinkBase(filename,opts.encoding)},Volume2.prototype.readlink=function(path,a,b){var _a=getDefaultOptsAndCb(a,b),opts=_a[0],callback=_a[1],filename=pathToFilename(path);this.wrapAsync(this.readlinkBase,[filename,opts.encoding],callback)},Volume2.prototype.fsyncBase=function(fd){this.getFileByFdOrThrow(fd,"fsync")},Volume2.prototype.fsyncSync=function(fd){this.fsyncBase(fd)},Volume2.prototype.fsync=function(fd,callback){this.wrapAsync(this.fsyncBase,[fd],callback)},Volume2.prototype.fdatasyncBase=function(fd){this.getFileByFdOrThrow(fd,"fdatasync")},Volume2.prototype.fdatasyncSync=function(fd){this.fdatasyncBase(fd)},Volume2.prototype.fdatasync=function(fd,callback){this.wrapAsync(this.fdatasyncBase,[fd],callback)},Volume2.prototype.ftruncateBase=function(fd,len){var file=this.getFileByFdOrThrow(fd,"ftruncate");file.truncate(len)},Volume2.prototype.ftruncateSync=function(fd,len){this.ftruncateBase(fd,len)},Volume2.prototype.ftruncate=function(fd,a,b){var len=typeof a=="number"?a:0,callback=validateCallback(typeof a=="number"?b:a);this.wrapAsync(this.ftruncateBase,[fd,len],callback)},Volume2.prototype.truncateBase=function(path,len){var fd=this.openSync(path,"r+");try{this.ftruncateSync(fd,len)}finally{this.closeSync(fd)}},Volume2.prototype.truncateSync=function(id,len){if(isFd(id))return this.ftruncateSync(id,len);this.truncateBase(id,len)},Volume2.prototype.truncate=function(id,a,b){var len=typeof a=="number"?a:0,callback=validateCallback(typeof a=="number"?b:a);if(isFd(id))return this.ftruncate(id,len,callback);this.wrapAsync(this.truncateBase,[id,len],callback)},Volume2.prototype.futimesBase=function(fd,atime,mtime){var file=this.getFileByFdOrThrow(fd,"futimes"),node=file.node;node.atime=new Date(atime*1e3),node.mtime=new Date(mtime*1e3)},Volume2.prototype.futimesSync=function(fd,atime,mtime){this.futimesBase(fd,toUnixTimestamp(atime),toUnixTimestamp(mtime))},Volume2.prototype.futimes=function(fd,atime,mtime,callback){this.wrapAsync(this.futimesBase,[fd,toUnixTimestamp(atime),toUnixTimestamp(mtime)],callback)},Volume2.prototype.utimesBase=function(filename,atime,mtime){var fd=this.openSync(filename,"r+");try{this.futimesBase(fd,atime,mtime)}finally{this.closeSync(fd)}},Volume2.prototype.utimesSync=function(path,atime,mtime){this.utimesBase(pathToFilename(path),toUnixTimestamp(atime),toUnixTimestamp(mtime))},Volume2.prototype.utimes=function(path,atime,mtime,callback){this.wrapAsync(this.utimesBase,[pathToFilename(path),toUnixTimestamp(atime),toUnixTimestamp(mtime)],callback)},Volume2.prototype.mkdirBase=function(filename,modeNum){var steps=filenameToSteps(filename);if(!steps.length)throw createError(EISDIR,"mkdir",filename);var dir=this.getLinkParentAsDirOrThrow(filename,"mkdir"),name=steps[steps.length-1];if(dir.getChild(name))throw createError(EEXIST,"mkdir",filename);dir.createChild(name,this.createNode(!0,modeNum))},Volume2.prototype.mkdirpBase=function(filename,modeNum){for(var steps=filenameToSteps(filename),link=this.root,i=0;i<steps.length;i++){var step=steps[i];if(!link.getNode().isDirectory())throw createError(ENOTDIR,"mkdir",link.getPath());var child=link.getChild(step);if(child)if(child.getNode().isDirectory())link=child;else throw createError(ENOTDIR,"mkdir",child.getPath());else link=link.createChild(step,this.createNode(!0,modeNum))}},Volume2.prototype.mkdirSync=function(path,options){var opts=getMkdirOptions(options),modeNum=modeToNumber(opts.mode,511),filename=pathToFilename(path);opts.recursive?this.mkdirpBase(filename,modeNum):this.mkdirBase(filename,modeNum)},Volume2.prototype.mkdir=function(path,a,b){var opts=getMkdirOptions(a),callback=validateCallback(typeof a=="function"?a:b),modeNum=modeToNumber(opts.mode,511),filename=pathToFilename(path);opts.recursive?this.wrapAsync(this.mkdirpBase,[filename,modeNum],callback):this.wrapAsync(this.mkdirBase,[filename,modeNum],callback)},Volume2.prototype.mkdirpSync=function(path,mode){this.mkdirSync(path,{mode,recursive:!0})},Volume2.prototype.mkdirp=function(path,a,b){var mode=typeof a=="function"?void 0:a,callback=validateCallback(typeof a=="function"?a:b);this.mkdir(path,{mode,recursive:!0},callback)},Volume2.prototype.mkdtempBase=function(prefix,encoding,retry){retry===void 0&&(retry=5);var filename=prefix+this.genRndStr();try{return this.mkdirBase(filename,511),encoding_1.strToEncoding(filename,encoding)}catch(err){if(err.code===EEXIST){if(retry>1)return this.mkdtempBase(prefix,encoding,retry-1);throw Error("Could not create temp dir.")}else throw err}},Volume2.prototype.mkdtempSync=function(prefix,options){var encoding=getDefaultOpts(options).encoding;if(!prefix||typeof prefix!="string")throw new TypeError("filename prefix is required");return nullCheck(prefix),this.mkdtempBase(prefix,encoding)},Volume2.prototype.mkdtemp=function(prefix,a,b){var _a=getDefaultOptsAndCb(a,b),encoding=_a[0].encoding,callback=_a[1];if(!prefix||typeof prefix!="string")throw new TypeError("filename prefix is required");!nullCheck(prefix)||this.wrapAsync(this.mkdtempBase,[prefix,encoding],callback)},Volume2.prototype.rmdirBase=function(filename,options){var opts=getRmdirOptions(options),link=this.getLinkAsDirOrThrow(filename,"rmdir");if(link.length&&!opts.recursive)throw createError(ENOTEMPTY,"rmdir",filename);this.deleteLink(link)},Volume2.prototype.rmdirSync=function(path,options){this.rmdirBase(pathToFilename(path),options)},Volume2.prototype.rmdir=function(path,a,b){var opts=getRmdirOptions(a),callback=validateCallback(typeof a=="function"?a:b);this.wrapAsync(this.rmdirBase,[pathToFilename(path),opts],callback)},Volume2.prototype.fchmodBase=function(fd,modeNum){var file=this.getFileByFdOrThrow(fd,"fchmod");file.chmod(modeNum)},Volume2.prototype.fchmodSync=function(fd,mode){this.fchmodBase(fd,modeToNumber(mode))},Volume2.prototype.fchmod=function(fd,mode,callback){this.wrapAsync(this.fchmodBase,[fd,modeToNumber(mode)],callback)},Volume2.prototype.chmodBase=function(filename,modeNum){var fd=this.openSync(filename,"r+");try{this.fchmodBase(fd,modeNum)}finally{this.closeSync(fd)}},Volume2.prototype.chmodSync=function(path,mode){var modeNum=modeToNumber(mode),filename=pathToFilename(path);this.chmodBase(filename,modeNum)},Volume2.prototype.chmod=function(path,mode,callback){var modeNum=modeToNumber(mode),filename=pathToFilename(path);this.wrapAsync(this.chmodBase,[filename,modeNum],callback)},Volume2.prototype.lchmodBase=function(filename,modeNum){var fd=this.openBase(filename,O_RDWR,0,!1);try{this.fchmodBase(fd,modeNum)}finally{this.closeSync(fd)}},Volume2.prototype.lchmodSync=function(path,mode){var modeNum=modeToNumber(mode),filename=pathToFilename(path);this.lchmodBase(filename,modeNum)},Volume2.prototype.lchmod=function(path,mode,callback){var modeNum=modeToNumber(mode),filename=pathToFilename(path);this.wrapAsync(this.lchmodBase,[filename,modeNum],callback)},Volume2.prototype.fchownBase=function(fd,uid,gid){this.getFileByFdOrThrow(fd,"fchown").chown(uid,gid)},Volume2.prototype.fchownSync=function(fd,uid,gid){validateUid(uid),validateGid(gid),this.fchownBase(fd,uid,gid)},Volume2.prototype.fchown=function(fd,uid,gid,callback){validateUid(uid),validateGid(gid),this.wrapAsync(this.fchownBase,[fd,uid,gid],callback)},Volume2.prototype.chownBase=function(filename,uid,gid){var link=this.getResolvedLinkOrThrow(filename,"chown"),node=link.getNode();node.chown(uid,gid)},Volume2.prototype.chownSync=function(path,uid,gid){validateUid(uid),validateGid(gid),this.chownBase(pathToFilename(path),uid,gid)},Volume2.prototype.chown=function(path,uid,gid,callback){validateUid(uid),validateGid(gid),this.wrapAsync(this.chownBase,[pathToFilename(path),uid,gid],callback)},Volume2.prototype.lchownBase=function(filename,uid,gid){this.getLinkOrThrow(filename,"lchown").getNode().chown(uid,gid)},Volume2.prototype.lchownSync=function(path,uid,gid){validateUid(uid),validateGid(gid),this.lchownBase(pathToFilename(path),uid,gid)},Volume2.prototype.lchown=function(path,uid,gid,callback){validateUid(uid),validateGid(gid),this.wrapAsync(this.lchownBase,[pathToFilename(path),uid,gid],callback)},Volume2.prototype.watchFile=function(path,a,b){var filename=pathToFilename(path),options=a,listener=b;if(typeof options=="function"&&(listener=a,options=null),typeof listener!="function")throw Error('"watchFile()" requires a listener function');var interval=5007,persistent=!0;options&&typeof options=="object"&&(typeof options.interval=="number"&&(interval=options.interval),typeof options.persistent=="boolean"&&(persistent=options.persistent));var watcher=this.statWatchers[filename];return watcher||(watcher=new this.StatWatcher,watcher.start(filename,persistent,interval),this.statWatchers[filename]=watcher),watcher.addListener("change",listener),watcher},Volume2.prototype.unwatchFile=function(path,listener){var filename=pathToFilename(path),watcher=this.statWatchers[filename];!watcher||(typeof listener=="function"?watcher.removeListener("change",listener):watcher.removeAllListeners("change"),watcher.listenerCount("change")===0&&(watcher.stop(),delete this.statWatchers[filename]))},Volume2.prototype.createReadStream=function(path,options){return new this.ReadStream(path,options)},Volume2.prototype.createWriteStream=function(path,options){return new this.WriteStream(path,options)},Volume2.prototype.watch=function(path,options,listener){var filename=pathToFilename(path),givenOptions=options;typeof options=="function"&&(listener=options,givenOptions=null);var _a=getDefaultOpts(givenOptions),persistent=_a.persistent,recursive=_a.recursive,encoding=_a.encoding;persistent===void 0&&(persistent=!0),recursive===void 0&&(recursive=!1);var watcher=new this.FSWatcher;return watcher.start(filename,persistent,recursive,encoding),listener&&watcher.addListener("change",listener),watcher},Volume2.fd=2147483647,Volume2}();exports.Volume=Volume;function emitStop(self2){self2.emit("stop")}var StatWatcher=function(_super){__extends(StatWatcher2,_super);function StatWatcher2(vol){var _this=_super.call(this)||this;return _this.onInterval=function(){try{var stats=_this.vol.statSync(_this.filename);_this.hasChanged(stats)&&(_this.emit("change",stats,_this.prev),_this.prev=stats)}finally{_this.loop()}},_this.vol=vol,_this}return StatWatcher2.prototype.loop=function(){this.timeoutRef=this.setTimeout(this.onInterval,this.interval)},StatWatcher2.prototype.hasChanged=function(stats){return stats.mtimeMs>this.prev.mtimeMs||stats.nlink!==this.prev.nlink},StatWatcher2.prototype.start=function(path,persistent,interval){persistent===void 0&&(persistent=!0),interval===void 0&&(interval=5007),this.filename=pathToFilename(path),this.setTimeout=persistent?setTimeout:setTimeoutUnref_1.default,this.interval=interval,this.prev=this.vol.statSync(this.filename),this.loop()},StatWatcher2.prototype.stop=function(){clearTimeout(this.timeoutRef),process_1.default.nextTick(emitStop,this)},StatWatcher2}(events_1.EventEmitter);exports.StatWatcher=StatWatcher;var pool;function allocNewPool(poolSize){pool=buffer_1.bufferAllocUnsafe(poolSize),pool.used=0}util.inherits(FsReadStream,stream_1.Readable),exports.ReadStream=FsReadStream;function FsReadStream(vol,path,options){if(!(this instanceof FsReadStream))return new FsReadStream(vol,path,options);if(this._vol=vol,options=extend({},getOptions(options,{})),options.highWaterMark===void 0&&(options.highWaterMark=64*1024),stream_1.Readable.call(this,options),this.path=pathToFilename(path),this.fd=options.fd===void 0?null:options.fd,this.flags=options.flags===void 0?"r":options.flags,this.mode=options.mode===void 0?438:options.mode,this.start=options.start,this.end=options.end,this.autoClose=options.autoClose===void 0?!0:options.autoClose,this.pos=void 0,this.bytesRead=0,this.start!==void 0){if(typeof this.start!="number")throw new TypeError('"start" option must be a Number');if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")throw new TypeError('"end" option must be a Number');if(this.start>this.end)throw new Error('"start" option must be <= "end" option');this.pos=this.start}typeof this.fd!="number"&&this.open(),this.on("end",function(){this.autoClose&&this.destroy&&this.destroy()})}FsReadStream.prototype.open=function(){var self2=this;this._vol.open(this.path,this.flags,this.mode,function(er,fd){if(er){self2.autoClose&&self2.destroy&&self2.destroy(),self2.emit("error",er);return}self2.fd=fd,self2.emit("open",fd),self2.read()})},FsReadStream.prototype._read=function(n){if(typeof this.fd!="number")return this.once("open",function(){this._read(n)});if(this.destroyed)return;(!pool||pool.length-pool.used<kMinPoolSpace)&&allocNewPool(this._readableState.highWaterMark);var thisPool=pool,toRead=Math.min(pool.length-pool.used,n),start=pool.used;if(this.pos!==void 0&&(toRead=Math.min(this.end-this.pos+1,toRead)),toRead<=0)return this.push(null);var self2=this;this._vol.read(this.fd,pool,pool.used,toRead,this.pos,onread),this.pos!==void 0&&(this.pos+=toRead),pool.used+=toRead;function onread(er,bytesRead){if(er)self2.autoClose&&self2.destroy&&self2.destroy(),self2.emit("error",er);else{var b=null;bytesRead>0&&(self2.bytesRead+=bytesRead,b=thisPool.slice(start,start+bytesRead)),self2.push(b)}}},FsReadStream.prototype._destroy=function(err,cb){this.close(function(err2){cb(err||err2)})},FsReadStream.prototype.close=function(cb){var _this=this;if(cb&&this.once("close",cb),this.closed||typeof this.fd!="number"){if(typeof this.fd!="number"){this.once("open",closeOnOpen);return}return process_1.default.nextTick(function(){return _this.emit("close")})}this.closed=!0,this._vol.close(this.fd,function(er){er?_this.emit("error",er):_this.emit("close")}),this.fd=null};function closeOnOpen(fd){this.close()}util.inherits(FsWriteStream,stream_1.Writable),exports.WriteStream=FsWriteStream;function FsWriteStream(vol,path,options){if(!(this instanceof FsWriteStream))return new FsWriteStream(vol,path,options);if(this._vol=vol,options=extend({},getOptions(options,{})),stream_1.Writable.call(this,options),this.path=pathToFilename(path),this.fd=options.fd===void 0?null:options.fd,this.flags=options.flags===void 0?"w":options.flags,this.mode=options.mode===void 0?438:options.mode,this.start=options.start,this.autoClose=options.autoClose===void 0?!0:!!options.autoClose,this.pos=void 0,this.bytesWritten=0,this.start!==void 0){if(typeof this.start!="number")throw new TypeError('"start" option must be a Number');if(this.start<0)throw new Error('"start" must be >= zero');this.pos=this.start}options.encoding&&this.setDefaultEncoding(options.encoding),typeof this.fd!="number"&&this.open(),this.once("finish",function(){this.autoClose&&this.close()})}FsWriteStream.prototype.open=function(){this._vol.open(this.path,this.flags,this.mode,function(er,fd){if(er){this.autoClose&&this.destroy&&this.destroy(),this.emit("error",er);return}this.fd=fd,this.emit("open",fd)}.bind(this))},FsWriteStream.prototype._write=function(data,encoding,cb){if(!(data instanceof buffer_1.Buffer))return this.emit("error",new Error("Invalid data"));if(typeof this.fd!="number")return this.once("open",function(){this._write(data,encoding,cb)});var self2=this;this._vol.write(this.fd,data,0,data.length,this.pos,function(er,bytes){if(er)return self2.autoClose&&self2.destroy&&self2.destroy(),cb(er);self2.bytesWritten+=bytes,cb()}),this.pos!==void 0&&(this.pos+=data.length)},FsWriteStream.prototype._writev=function(data,cb){if(typeof this.fd!="number")return this.once("open",function(){this._writev(data,cb)});for(var self2=this,len=data.length,chunks=new Array(len),size=0,i=0;i<len;i++){var chunk=data[i].chunk;chunks[i]=chunk,size+=chunk.length}var buf=buffer_1.Buffer.concat(chunks);this._vol.write(this.fd,buf,0,buf.length,this.pos,function(er,bytes){if(er)return self2.destroy&&self2.destroy(),cb(er);self2.bytesWritten+=bytes,cb()}),this.pos!==void 0&&(this.pos+=size)},FsWriteStream.prototype._destroy=FsReadStream.prototype._destroy,FsWriteStream.prototype.close=FsReadStream.prototype.close,FsWriteStream.prototype.destroySoon=FsWriteStream.prototype.end;var FSWatcher=function(_super){__extends(FSWatcher2,_super);function FSWatcher2(vol){var _this=_super.call(this)||this;return _this._filename="",_this._filenameEncoded="",_this._recursive=!1,_this._encoding=encoding_1.ENCODING_UTF8,_this._onNodeChange=function(){_this._emit("change")},_this._onParentChild=function(link){link.getName()===_this._getName()&&_this._emit("rename")},_this._emit=function(type){_this.emit("change",type,_this._filenameEncoded)},_this._persist=function(){_this._timer=setTimeout(_this._persist,1e6)},_this._vol=vol,_this}return FSWatcher2.prototype._getName=function(){return this._steps[this._steps.length-1]},FSWatcher2.prototype.start=function(path,persistent,recursive,encoding){persistent===void 0&&(persistent=!0),recursive===void 0&&(recursive=!1),encoding===void 0&&(encoding=encoding_1.ENCODING_UTF8),this._filename=pathToFilename(path),this._steps=filenameToSteps(this._filename),this._filenameEncoded=encoding_1.strToEncoding(this._filename),this._recursive=recursive,this._encoding=encoding;try{this._link=this._vol.getLinkOrThrow(this._filename,"FSWatcher")}catch(err){var error=new Error("watch "+this._filename+" "+err.code);throw error.code=err.code,error.errno=err.code,error}this._link.getNode().on("change",this._onNodeChange),this._link.on("child:add",this._onNodeChange),this._link.on("child:delete",this._onNodeChange);var parent=this._link.parent;parent&&(parent.setMaxListeners(parent.getMaxListeners()+1),parent.on("child:delete",this._onParentChild)),persistent&&this._persist()},FSWatcher2.prototype.close=function(){clearTimeout(this._timer),this._link.getNode().removeListener("change",this._onNodeChange);var parent=this._link.parent;parent&&parent.removeListener("child:delete",this._onParentChild)},FSWatcher2}(events_1.EventEmitter);exports.FSWatcher=FSWatcher},44712:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__)},94329:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__)},90251:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={row:"row_row__2G7eX"}},8897:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={low:"elevations_low__dTtoA",medium:"elevations_medium__12RpE",high:"elevations_high__F58ho"}},88026:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={low:"elevations_low__210HA",medium:"elevations_medium__zPVZW",high:"elevations_high__VrJ8N"}},76455:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={sharp:"roundness_sharp__ZxfPl",default:"roundness_default__2ytAD",small:"roundness_small__3p4JZ",medium:"roundness_medium__3Bl78",circle:"roundness_circle__1pRnq"}},52372:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={dotsLoader:"dots-loader_dotsLoader__1l_Pm","scale-down":"dots-loader_scale-down__2YOKm"}},14506:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={vanillaButton:"button_vanillaButton__1_Yk-"}},11199:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={error:"error_error__2Al3x"}},3404:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={"colTemplate--xs-1":"grid-template_colTemplate--xs-1__3zST9","colTemplate--sm-1":"grid-template_colTemplate--sm-1__2iG2n","colTemplate--md-1":"grid-template_colTemplate--md-1__340kG","colTemplate--l-1":"grid-template_colTemplate--l-1__3okeZ","colTemplate--lg-1":"grid-template_colTemplate--lg-1__AmPru","colTemplate--xl-1":"grid-template_colTemplate--xl-1__3bKcV","colTemplate--all-1":"grid-template_colTemplate--all-1__NwE8p","colTemplate--xs-2":"grid-template_colTemplate--xs-2__1jGt1","colTemplate--sm-2":"grid-template_colTemplate--sm-2__1cUzm","colTemplate--md-2":"grid-template_colTemplate--md-2__1-uIm","colTemplate--l-2":"grid-template_colTemplate--l-2__1vJdB","colTemplate--lg-2":"grid-template_colTemplate--lg-2__3GCjD","colTemplate--xl-2":"grid-template_colTemplate--xl-2__3nsfh","colTemplate--all-2":"grid-template_colTemplate--all-2__1DdQ5","colTemplate--xs-3":"grid-template_colTemplate--xs-3__2Uj5p","colTemplate--sm-3":"grid-template_colTemplate--sm-3__3YQLf","colTemplate--md-3":"grid-template_colTemplate--md-3__1f0er","colTemplate--l-3":"grid-template_colTemplate--l-3__7vgGr","colTemplate--lg-3":"grid-template_colTemplate--lg-3__2lw_5","colTemplate--xl-3":"grid-template_colTemplate--xl-3__2KR2C","colTemplate--all-3":"grid-template_colTemplate--all-3__2Lr4u","colTemplate--xs-4":"grid-template_colTemplate--xs-4__rdjAG","colTemplate--sm-4":"grid-template_colTemplate--sm-4__2VHaZ","colTemplate--md-4":"grid-template_colTemplate--md-4__2QLUM","colTemplate--l-4":"grid-template_colTemplate--l-4__2oO2a","colTemplate--lg-4":"grid-template_colTemplate--lg-4__38QRq","colTemplate--xl-4":"grid-template_colTemplate--xl-4__2UEkX","colTemplate--all-4":"grid-template_colTemplate--all-4__3yow2","colTemplate--xs-5":"grid-template_colTemplate--xs-5__2uAmd","colTemplate--sm-5":"grid-template_colTemplate--sm-5__3S_wg","colTemplate--md-5":"grid-template_colTemplate--md-5__2qDeh","colTemplate--l-5":"grid-template_colTemplate--l-5__3AAez","colTemplate--lg-5":"grid-template_colTemplate--lg-5__37z5d","colTemplate--xl-5":"grid-template_colTemplate--xl-5__2wI_c","colTemplate--all-5":"grid-template_colTemplate--all-5__3qA89","colTemplate--xs-6":"grid-template_colTemplate--xs-6__9c4qM","colTemplate--sm-6":"grid-template_colTemplate--sm-6__3ACr0","colTemplate--md-6":"grid-template_colTemplate--md-6__3Fgi7","colTemplate--l-6":"grid-template_colTemplate--l-6__1y5qG","colTemplate--lg-6":"grid-template_colTemplate--lg-6__1rpMQ","colTemplate--xl-6":"grid-template_colTemplate--xl-6__1vApb","colTemplate--all-6":"grid-template_colTemplate--all-6__hF5ZJ","colTemplate--xs-7":"grid-template_colTemplate--xs-7__1OfsC","colTemplate--sm-7":"grid-template_colTemplate--sm-7__2XWEe","colTemplate--md-7":"grid-template_colTemplate--md-7__3sfZO","colTemplate--l-7":"grid-template_colTemplate--l-7__30fbk","colTemplate--lg-7":"grid-template_colTemplate--lg-7__1EMvl","colTemplate--xl-7":"grid-template_colTemplate--xl-7__19UTG","colTemplate--all-7":"grid-template_colTemplate--all-7__S3k_g","colTemplate--xs-8":"grid-template_colTemplate--xs-8__2Z0iL","colTemplate--sm-8":"grid-template_colTemplate--sm-8__16Vi5","colTemplate--md-8":"grid-template_colTemplate--md-8__2ojBM","colTemplate--l-8":"grid-template_colTemplate--l-8__2Vh5h","colTemplate--lg-8":"grid-template_colTemplate--lg-8__orDEx","colTemplate--xl-8":"grid-template_colTemplate--xl-8__1eh2W","colTemplate--all-8":"grid-template_colTemplate--all-8__3Zv5t","colTemplate--xs-9":"grid-template_colTemplate--xs-9__jeC6n","colTemplate--sm-9":"grid-template_colTemplate--sm-9__1UyNB","colTemplate--md-9":"grid-template_colTemplate--md-9__Wyxdp","colTemplate--l-9":"grid-template_colTemplate--l-9__1WJlG","colTemplate--lg-9":"grid-template_colTemplate--lg-9__3plbW","colTemplate--xl-9":"grid-template_colTemplate--xl-9__24QW7","colTemplate--all-9":"grid-template_colTemplate--all-9__3-ISN","colTemplate--xs-10":"grid-template_colTemplate--xs-10__1t8GI","colTemplate--sm-10":"grid-template_colTemplate--sm-10__15lMU","colTemplate--md-10":"grid-template_colTemplate--md-10__3uTqB","colTemplate--l-10":"grid-template_colTemplate--l-10__3sNJB","colTemplate--lg-10":"grid-template_colTemplate--lg-10__3xbn8","colTemplate--xl-10":"grid-template_colTemplate--xl-10__3GrBI","colTemplate--all-10":"grid-template_colTemplate--all-10__VHrPx","colTemplate--xs-11":"grid-template_colTemplate--xs-11__tRi7X","colTemplate--sm-11":"grid-template_colTemplate--sm-11__1xXKA","colTemplate--md-11":"grid-template_colTemplate--md-11__3QlbP","colTemplate--l-11":"grid-template_colTemplate--l-11__eyfLA","colTemplate--lg-11":"grid-template_colTemplate--lg-11__1Cp2T","colTemplate--xl-11":"grid-template_colTemplate--xl-11__hUAaU","colTemplate--all-11":"grid-template_colTemplate--all-11__3qOPz","colTemplate--xs-12":"grid-template_colTemplate--xs-12__1LRj-","colTemplate--sm-12":"grid-template_colTemplate--sm-12__LB9aC","colTemplate--md-12":"grid-template_colTemplate--md-12__2NnNR","colTemplate--l-12":"grid-template_colTemplate--l-12__gnqmV","colTemplate--lg-12":"grid-template_colTemplate--lg-12__xFGki","colTemplate--xl-12":"grid-template_colTemplate--xl-12__1yCp1","colTemplate--all-12":"grid-template_colTemplate--all-12__36nnu"}},21582:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={gridContainer:"grid_gridContainer__3iMYx"}},82920:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={centerColumn:"page-frame_centerColumn__1Tkfp",wideColumn:"page-frame_wideColumn__11cbv",textColumn:"page-frame_textColumn__2IAvT"}},40989:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={skeletonContent:"skeleton-design_skeletonContent__26Lau",line:"skeleton-design_line__2EpZ-",word:"skeleton-design_word__2YDPX",shimmer:"skeleton-design_shimmer__1lq1y",skeleton:"skeleton-design_skeleton__3Md3E",block:"skeleton-design_block__2p_8V",circle:"skeleton-design_circle__1ASbR",placeHolderShimmer:"skeleton-design_placeHolderShimmer__3rmjZ","skeleton-effect-fade":"skeleton-design_skeleton-effect-fade__3gDge"}},91695:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={skeleton:"skeleton_skeleton__2s05C",block:"skeleton_block__3d6Vb",circle:"skeleton_circle__3mEU-",skeletonContent:"skeleton_skeletonContent__pnTsk",line:"skeleton_line__2RHT3",word:"skeleton_word__3tq1G"}},17957:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={flexCenter:"flex-center_flexCenter__CURyK"}},59467:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={container:"abs-container_container__3HEVl",containee:"abs-container_containee__2fZk8"}},8769:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={displacement:"displacement_displacement__1PlJK"}},87109:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={top:"positions_top__1ZpT0","top-start":"positions_top-start__121x6","top-end":"positions_top-end__3R1wO",right:"positions_right__21xNZ","right-start":"positions_right-start__17Ffz","right-end":"positions_right-end__3Y2qy",bottom:"positions_bottom__2fqqo","bottom-start":"positions_bottom-start__1v_0X","bottom-end":"positions_bottom-end__10Wj3",left:"positions_left__2tqOF","left-start":"positions_left-start__1DK9t","left-end":"positions_left-end__1fbIK",cover:"positions_cover__nWu1D"}},13900:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={container:"abs-container_container__1XMq0",containee:"abs-container_containee__34ibH"}},33931:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={displacement:"displacement_displacement__1u-hj"}},58658:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={top:"positions_top__3M9l4","top-start":"positions_top-start__2_9sO","top-end":"positions_top-end__FEn7E",right:"positions_right__3I-Mr","right-start":"positions_right-start__3rMfW","right-end":"positions_right-end__ZXUwe",bottom:"positions_bottom__3iEOM","bottom-start":"positions_bottom-start__2t1p-","bottom-end":"positions_bottom-end__2l6MS",left:"positions_left__MKL_3","left-start":"positions_left-start__-Omm9","left-end":"positions_left-end__2PE5y",cover:"positions_cover__3FEJP"}},52484:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={bedrock:"background_bedrock__1pqv0",base:"background_base__1pUni",layer:"background_layer__6tpUs",crust:"background_crust__3uv_1",topping:"background_topping__3sSHi",dent:"background_dent__1ads7"}},98202:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={bedrock:"background_bedrock__Zff9x",base:"background_base__2cwCI",layer:"background_layer__3F5Nm",crust:"background_crust__1aYUB",topping:"background_topping__3B3E8",dent:"background_dent__maLq4"}},65614:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={card:"card_card__23BzK"}},24421:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={placeholder:"drawer_placeholder__2qR1l"}},9592:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={placeholder:"drawer_placeholder__2uvq4"}},80410:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={hoverSplitter:"splitter_hoverSplitter___2P7y",highlighter:"splitter_highlighter__2T9e1"}},57207:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={pane:"pane_pane__1FK8s"}},30069:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={splitPane:"split-pane_splitPane__3S4Hc",isDragging:"split-pane_isDragging__3hSAb"}},28532:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={splitter:"splitter_splitter__1j24w"}},89718:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={mutedText:"muted-text_mutedText__13IeL"}},29753:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={xxs:"text-sizes_xxs__8YMiZ",xs:"text-sizes_xs__3MbdX",sm:"text-sizes_sm__15FrQ",md:"text-sizes_md__3xFYN",lg:"text-sizes_lg__UQPFE",xl:"text-sizes_xl__i6XHY",xxl:"text-sizes_xxl__3GlpK"}},92177:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={themedText:"themed-text_themedText__2F8Wt"}},8331:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={primary:"accent-color_primary__3h2h5",complementary:"accent-color_complementary__jPiZV",impulsive:"accent-color_impulsive__3JZyu",hungry:"accent-color_hungry__3Mw5_",success:"accent-color_success__3c35t",process:"accent-color_process__1vAqJ",emphasized:"accent-color_emphasized__12Z1g",neutral:"accent-color_neutral__3DgOa"}},49942:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={brands:"brand-definition_brands__2_hUP"}},16588:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={primaryPalette:"color-definition_primaryPalette__15GQv"}},44085:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={darkMod:"dark-theme_darkMod__1k1vO"}},49646:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={bookFont:"book-font_bookFont__384VZ"}},40426:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={headingMargins:"heading-margin-definition_headingMargins__zoxdn"}},17107:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={shadowTheme:"shadow-definition_shadowTheme__hXs20"}},36075:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={headingFontSize:"size-definition_headingFontSize__3mKQS",textFontSize:"size-definition_textFontSize__yWWma"}},84522:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={defaults:"texts_defaults__3lxTp"}},97305:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={componentTitle:"component-overview_componentTitle__12yYn",badgeContainer:"component-overview_badgeContainer__1uGXB",subTitle:"component-overview_subTitle__32hCO",titleRow:"component-overview_titleRow__3hAU5",contentTabs:"component-overview_contentTabs__2_bno",nav:"component-overview_nav__2IJTW",tab:"component-overview_tab__22MA4",copyBox:"component-overview_copyBox__smm_p",title:"component-overview_title__1AGcf"}},2398:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={label:"version-label_label__2rFV5",latest:"version-label_latest__3n-Te",current:"version-label_current__12LAI",versionLabel:"version-label_versionLabel__2Ry1I",emptyLabel:"version-label_emptyLabel__1-mG7",labelContainer:"version-label_labelContainer__22uN2"}},62850:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={compositionCard:"composition-card_compositionCard__3phiD",linkToComposition:"composition-card_linkToComposition__2fsHG",compositionContainer:"composition-card_compositionContainer__RFLqY",title:"composition-card_title__2-wag",compositionCardError:"composition-card_compositionCardError__-BErF"}},28641:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={compositionsMenuBar:"compositions-menu-bar_compositionsMenuBar__3BqiJ",spacer:"compositions-menu-bar_spacer__2VjC2"}},44730:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={background:"compositions-overview_background__8or-J"}},18266:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={buttonsHolder:"buttons-plugin_buttonsHolder__3-iZX",clearText:"buttons-plugin_clearText__1ts37"}},36813:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={dropdownPlaceholder:"dropdown_dropdownPlaceholder__RzUyo",removePlaceholderBorder:"dropdown_removePlaceholderBorder__1ivaK",dropdownMenu:"dropdown_dropdownMenu__2yapD"}},61303:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={menuItem:"menu-item_menuItem__P1JgV",withIcon:"menu-item_withIcon__2IgCl",active:"menu-item_active__ju5n7",interactive:"menu-item_interactive__1bSaJ"}},50490:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={menuItem:"menu-item_menuItem__1Oojd",withIcon:"menu-item_withIcon__1XejK",active:"menu-item_active__3z8s4",interactive:"menu-item_interactive__2cN28"}},2657:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={theme:"base-theme_theme__2bOaZ"}},95942:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={circularFont:"circular-font_circularFont__2KXq0"}},81226:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={toggler:"theme-toggler_toggler__2KPzl"}},76164:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={card:"alert-card_card__2LKgj",heading:"alert-card_heading__1s8y6",icon:"alert-card_icon__3jvLM",separator:"alert-card_separator__1mTt6"}},70976:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={notificationIcon:"level-icon_notificationIcon__2FHoN"}},22135:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={emptyCompositions:"empty-box_emptyCompositions__gGCMV",innerBorder:"empty-box_innerBorder__3jplN"}},3205:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={iconButton:"icon-button_iconButton__1SY2n",iconOnly:"icon-button_iconOnly__3wkXh",active:"icon-button_active__2AAaQ",icon:"icon-button_icon__1DYzH",margin:"icon-button_margin__2346A"}},354:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={buttonSizes:"sizes_buttonSizes__nrZFr"}},73952:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={iconButton:"icon-button_iconButton__xArdn",iconOnly:"icon-button_iconOnly__2ynkV",active:"icon-button_active__2ONBD",withIcon:"icon-button_withIcon__1WlfF",withoutBorder:"icon-button_withoutBorder__23dBO",margin:"icon-button_margin__2F7uK"}},58002:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={buttonSizes:"sizes_buttonSizes__YPiVm"}},98691:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={optionButton:"option-button_optionButton__3B7vw",active:"option-button_active__3ILuN"}},41957:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={pillLabel:"pill-label_pillLabel___fjAP"}},53692:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={separator:"separator_separator__3KCxl"}},1540:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={a:"letter-bg-colors_a__3i3Wj",b:"letter-bg-colors_b__2328-",c:"letter-bg-colors_c__QwLb-",d:"letter-bg-colors_d__1URQE",e:"letter-bg-colors_e__2mf2c",f:"letter-bg-colors_f__2UiJr",g:"letter-bg-colors_g__1rmE1",h:"letter-bg-colors_h__lhgJh",i:"letter-bg-colors_i__3H31p",j:"letter-bg-colors_j__2xS0z",k:"letter-bg-colors_k__AKA74",l:"letter-bg-colors_l__2WaMV",m:"letter-bg-colors_m__qB32h",n:"letter-bg-colors_n__1ohN9",o:"letter-bg-colors_o__32mjg",p:"letter-bg-colors_p__3w95j",q:"letter-bg-colors_q__Qs4Eh",r:"letter-bg-colors_r__3TQPi",s:"letter-bg-colors_s__Yt8a6",t:"letter-bg-colors_t__1lJik",u:"letter-bg-colors_u__2ijXw",v:"letter-bg-colors_v__2-III",w:"letter-bg-colors_w__2wrgp",x:"letter-bg-colors_x__wHEsj",y:"letter-bg-colors_y__3N_yq",z:"letter-bg-colors_z__14N-q"}},35304:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={a:"letter-colors_a__2pKbt",b:"letter-colors_b__AK8Ro",c:"letter-colors_c__u8IaG",d:"letter-colors_d__3IzFj",e:"letter-colors_e__2FGyf",f:"letter-colors_f__3hcDC",g:"letter-colors_g__3XiqV",h:"letter-colors_h__1sEBq",i:"letter-colors_i__18UZJ",j:"letter-colors_j__1SeT5",k:"letter-colors_k__3Py4v",l:"letter-colors_l__1Crp5",m:"letter-colors_m__3eY0H",n:"letter-colors_n__hA8J1",o:"letter-colors_o__1gid3",p:"letter-colors_p__3r6h5",q:"letter-colors_q__1smwY",r:"letter-colors_r__MYkx4",s:"letter-colors_s__3Yh-2",t:"letter-colors_t__JDmvu",u:"letter-colors_u__fdKeM",v:"letter-colors_v__4WH_W",w:"letter-colors_w__2WI-q",x:"letter-colors_x__1qQad",y:"letter-colors_y__2rcN-",z:"letter-colors_z__1noaT"}},63315:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={ellipsis:"ellipsis_ellipsis__KvhbN",ellipsisDiv:"ellipsis_ellipsisDiv__1OgpJ"}},77233:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={menuItem:"item_menuItem__29qwU",icon:"item_icon__3GBG-",interactive:"item_interactive__9X8LI",active:"item_active__1I4KY"}},16752:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={messageCard:"message-card_messageCard__3Lzoz",icon:"message-card_icon__21bOn",textBox:"message-card_textBox__2eTwB"}},75011:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={success:"status-message-card_success__1nKvx",failure:"status-message-card_failure__1sIVY",pending:"status-message-card_pending__3Ntbe",processing:"status-message-card_processing__1vFk9",skipped:"status-message-card_skipped__2CBfy",unknown:"status-message-card_unknown__1xVLE"}},55837:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={}},92345:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={column:"react-playground_column__1twMm",codePane:"react-playground_codePane__ksbyh",previewPane:"react-playground_previewPane__1sQGr",error:"react-playground_error__3Tn4v",row:"react-playground_row__1M8F6",editor:"react-playground_editor__3W9YO",splitter:"react-playground_splitter__11NdD",previewBox:"react-playground_previewBox__1z3mf",playground:"react-playground_playground__31NbW"}},2054:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={mdxLinkedHeading:"create-heading_mdxLinkedHeading__32Ft-",mainHeadingStyles:"create-heading_mainHeadingStyles__2IzJA"}},75732:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={snippet:"snippet_snippet__3oUIi"}},22092:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={mdxContent:"mdx-layout_mdxContent__-o0fA"}},62124:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={link:"external-link_link__28zu4"}},68009:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={overrides:"global_overrides__BENrf"}},22488:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={heading:"sizes_heading__2ySFq"}},44103:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={anchor:"anchor_anchor__3e2ph",anchorIcon:"anchor_anchorIcon__26yzm"}},72389:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={anchor:"anchor_anchor__34FWS",anchorIcon:"anchor_anchorIcon__X1KUv"}},26351:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={blockQuote:"block-quote_blockQuote__1zXUP"}},39898:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={bold:"bold_bold__2iXKq"}},13857:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={snippetWrapper:"code-snippet_snippetWrapper__2TTBI",copyIcon:"code-snippet_copyIcon__1AWEU",codeSnippet:"code-snippet_codeSnippet__1LfRj",copy:"code-snippet_copy__2sFN0"}},39537:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={copiedMessage:"copied-message_copiedMessage__34yoz",showMessage:"copied-message_showMessage__f5lVW"}},5416:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={xxs:"heading-sizes_xxs__3OYIT",xs:"heading-sizes_xs__1kOCU",sm:"heading-sizes_sm__33AKy",md:"heading-sizes_md__1w1H9",lg:"heading-sizes_lg__3CNT7",xl:"heading-sizes_xl__2V7O8",xxl:"heading-sizes_xxl__2yeVT"}},69872:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={h1:"heading_h1__1R6FA",h2:"heading_h2__1h49x",h3:"heading_h3__8T8O8",h4:"heading_h4__2Xo3c",h5:"heading_h5__qvNEk",h6:"heading_h6__2mMfD"}},90684:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={xxs:"heading-sizes_xxs__3-_Vc",xs:"heading-sizes_xs__16QUK",sm:"heading-sizes_sm__22Qer",md:"heading-sizes_md__32NGd",lg:"heading-sizes_lg__1HLiS",xl:"heading-sizes_xl__2HF05",xxl:"heading-sizes_xxl__2mTuO"}},47609:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={h1:"heading_h1__2RIGc",h2:"heading_h2__3T3Og",h3:"heading_h3__2tdjy",h4:"heading_h4__2PFUD",h5:"heading_h5__3969y",h6:"heading_h6__38whL"}},32165:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={xxs:"heading-sizes_xxs__2jTPW",xs:"heading-sizes_xs__Y-10D",sm:"heading-sizes_sm__2op9_",md:"heading-sizes_md__2Tp1d",lg:"heading-sizes_lg__3FnQQ",xl:"heading-sizes_xl__3h755",xxl:"heading-sizes_xxl__7IBEu"}},9948:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={h1:"heading_h1__2BUO6",h2:"heading_h2__3D0CW",h3:"heading_h3__aYYxn",h4:"heading_h4__3wi-x",h5:"heading_h5__qrqut",h6:"heading_h6__kW6Ki"}},66147:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={img:"image_img__sWar9"}},52599:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={inlineCode:"inline-code_inlineCode__cKt4x",highlight:"inline-code_highlight__xSLMZ"}},20018:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={inlineCode:"inline-code_inlineCode__3bIoo",highlight:"inline-code_highlight__3U4Qm"}},49826:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={italic:"italic_italic__t_FtD"}},66098:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={labelList:"label-list_labelList__1uXsT"}},42409:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={label:"label_label__1m0qI"}},83338:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={linkedHeading:"linked-heading_linkedHeading__3ALBF",anchor:"linked-heading_anchor__jjVZ0",heading:"linked-heading_heading__39lns"}},39970:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={linkedHeading:"linked-heading_linkedHeading__306iV",anchor:"linked-heading_anchor__Ew4Ar",heading:"linked-heading_heading__2Csvh"}},58801:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={ol:"ol_ol__3kvUB"}},98298:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={paragraph:"paragraph_paragraph__1WLlN"}},1549:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={paragraph:"paragraph_paragraph__qLRLA"}},6502:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={section:"section_section__Rbi35",sectionMargin:"section_sectionMargin__GGQp_"}},16964:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={separator:"separator_separator__2oHEG"}},9156:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={separator:"separator_separator__3Zrxt"}},98300:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={subTitle:"sub-title_subTitle__37_4A"}},95954:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={sup:"sup_sup__2ucyV"}},60072:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={table:"base-table_table__3JWRd"}},59091:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={td:"td_td__1IUx8"}},93706:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={tr:"tr_tr__1ShYV"}},49835:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={ul:"ul_ul__24HNZ"}},47446:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={fadeInOut:"fade-in-out_fadeInOut__36-RP"}},33607:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={dropdown:"dropdown_dropdown__UBYe5"}},98397:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={top:"arrow-position_top__1VrqY",bottom:"arrow-position_bottom__11okT",right:"arrow-position_right__2FAUs",left:"arrow-position_left__2x5JK",cover:"arrow-position_cover__1WJfN",none:"arrow-position_none__18npg"}},80790:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={top:"arrow-shadow_top__2p1uG","top-start":"arrow-shadow_top-start__XSRGA","top-end":"arrow-shadow_top-end__22rnz",bottom:"arrow-shadow_bottom__1Hu8D","bottom-start":"arrow-shadow_bottom-start__JJ1u5","bottom-end":"arrow-shadow_bottom-end__jaKWh",right:"arrow-shadow_right__2QSXy","right-start":"arrow-shadow_right-start__TsZRC","right-end":"arrow-shadow_right-end__1z1Xt",left:"arrow-shadow_left__2nx1x","left-start":"arrow-shadow_left-start__2zyML","left-end":"arrow-shadow_left-end__yGoac"}},34232:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={arrow:"arrow_arrow__3vIzE"}},85624:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={menu:"tooltip-card_menu__1BSQE"}},93954:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={tooltip:"tooltip-drawer_tooltip__3ARWU",arrow:"tooltip-drawer_arrow__8YJEk"}},41722:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={icon:"error-fallback_icon__1mFum",message:"error-fallback_message__3VS44",errorFallback:"error-fallback_errorFallback__1tcDU",enter:"error-fallback_enter__2lKcF"}},47015:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={keyCombo:"key_keyCombo__2LhrH",keycap:"key_keycap__BCsXb",keySequence:"key_keySequence__5x6Bc",thenSep:"key_thenSep__3Qnd1"}},71294:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={mainDropdown:"main-dropdown_mainDropdown__2KWH7",menu:"main-dropdown_menu__2vopi",iconAnchor:"main-dropdown_iconAnchor__RBZdI",icon:"main-dropdown_icon__TfJ5M",menuBlock:"main-dropdown_menuBlock__3G80a",title:"main-dropdown_title__2VxBo",line:"main-dropdown_line__1pTym"}},96540:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={icon:"menu-widget-icon_icon__BE5qR",widgetMenuIcon:"menu-widget-icon_widgetMenuIcon__3HL8c"}},4141:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={link:"bottom-link_link__3vuU2"}},39240:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={navZIndex:"100",paneSplitterZIndex:"101",topBarZIndex:"102",modalZIndex:"5000",highlighterZIndex:"15500",menu:"dropdown_menu__2Ec7D",placeholder:"dropdown_placeholder__2GUpe",content:"dropdown_content__1wnPF"}},50185:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={middle:"tab-content_middle__1zWtN",bottom:"tab-content_bottom__DWuCX",drawer:"tab-content_drawer__8M7FK",open:"tab-content_open__2H3Xl"}},94500:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={tab:"tab_tab__bmP6w",active:"tab_active__CP5RJ"}},42549:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={versionRow:"lane-info_versionRow__1ALU1",versionTimestamp:"lane-info_versionTimestamp__2BmOW",versionUserAvatar:"lane-info_versionUserAvatar__3gd_r",laneIcon:"lane-info_laneIcon__mdCcY",version:"lane-info_version__Q2Rmg",versionName:"lane-info_versionName__1Rjli"}},50080:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={simple:"version-dropdown-placeholder_simple__TwjFa",detailed:"version-dropdown-placeholder_detailed__3GVrd",disabled:"version-dropdown-placeholder_disabled__1TpJK",versionName:"version-dropdown-placeholder_versionName__NFtt9",commitMessage:"version-dropdown-placeholder_commitMessage__1-G6n",versionUserAvatar:"version-dropdown-placeholder_versionUserAvatar__2M3Z2",loader:"version-dropdown-placeholder_loader__2TTe1"}},63179:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={navZIndex:"100",paneSplitterZIndex:"101",topBarZIndex:"102",modalZIndex:"5000",highlighterZIndex:"15500",versionDropdown:"version-dropdown_versionDropdown__26zMI",menu:"version-dropdown_menu__3gzq4",title:"version-dropdown_title__3hQ6s",titleContainer:"version-dropdown_titleContainer__3HByT",versionContainerRoot:"version-dropdown_versionContainerRoot__3qX9w",versionRow:"version-dropdown_versionRow__33k0f",localVersion:"version-dropdown_localVersion__1_Kj1",versionTimestamp:"version-dropdown_versionTimestamp__2slIn",versionUserAvatar:"version-dropdown_versionUserAvatar__28p6g",laneIcon:"version-dropdown_laneIcon__3wXox",version:"version-dropdown_version__32b-4",versionName:"version-dropdown_versionName__1MBcM",withVersions:"version-dropdown_withVersions__3soV6",tabs:"version-dropdown_tabs__2kYKG",tab:"version-dropdown_tab__3dSKy",loading:"version-dropdown_loading__VHpGU",loader:"version-dropdown_loader__3s76A",versionMenuContainer:"version-dropdown_versionMenuContainer__2KM1E",hide:"version-dropdown_hide__2llxh"}},72773:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={versionRow:"version-info_versionRow__sk5Vp",versionTimestamp:"version-info_versionTimestamp__m888-",versionUserAvatar:"version-info_versionUserAvatar__l37Sw",laneIcon:"version-info_laneIcon__2hi5u",version:"version-info_version__2P46N",versionName:"version-info_versionName__1u2vs",commitMessage:"version-info_commitMessage__21dib",emptyMessage:"version-info_emptyMessage__1gMR5"}},42058:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={container:"component_container__wKARi"}},82769:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={topBar:"menu_topBar__1zVDB",leftSide:"menu_leftSide__2QCN9",navigation:"menu_navigation__2VobK",desktopNav:"menu_desktopNav__3ueBm",mobileNav:"menu_mobileNav__2jp2R",rightSide:"menu_rightSide__NGGSx",widget:"menu_widget__2le2h",useBox:"menu_useBox__2ibV5",componentVersionMenu:"menu_componentVersionMenu__1nAMz",tab:"menu_tab__313mY",topBarNav:"menu_topBarNav__3RUac",noBorder:"menu_noBorder__Jr9_p",hideOnMobile:"menu_hideOnMobile__1DK_k"}},37987:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={topBarLink:"top-bar-nav_topBarLink__2Mg-_",active:"top-bar-nav_active__-Swyn"}},62342:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={compositionCardSkeleton:"composition-card-skeleton_compositionCardSkeleton__2lkvU",preview:"composition-card-skeleton_preview__2liLH",block:"composition-card-skeleton_block__Z6FZE",bottom:"composition-card-skeleton_bottom__1tO_1"}},6998:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={compositionPreview:"composition-card_compositionPreview__3TVxb",compositionCard:"composition-card_compositionCard__3sHyv",icon:"composition-card_icon__1H-Ib",previewOverlay:"composition-card_previewOverlay__1AMju",bottom:"composition-card_bottom__1OcNv",displayName:"composition-card_displayName__1We1l",link:"composition-card_link__234ph"}},9092:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={compositionGallerySkeleton:"composition-gallery-skeleton_compositionGallerySkeleton__1FO9x",title:"composition-gallery-skeleton_title__3dsTo",compositionGalleryGrid:"composition-gallery-skeleton_compositionGalleryGrid__LJakn"}},52174:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={carousel:"composition-gallery_carousel__36_gL",compositionGalleryCard:"composition-gallery_compositionGalleryCard__18Ued",title:"composition-gallery_title__3uNKe",compositionGallery:"composition-gallery_compositionGallery__3cKqD",preview:"composition-gallery_preview__2DrfB"}},94042:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={navZIndex:"100",paneSplitterZIndex:"101",topBarZIndex:"102",modalZIndex:"5000",highlighterZIndex:"15500",compositionsPage:"compositions_compositionsPage__2XIGE",compositionPreview:"compositions_compositionPreview__2pQD_",left:"compositions_left__1yoSj",right:"compositions_right__1OzrT",menuBar:"compositions_menuBar__1owlG",splitter:"compositions_splitter__2cJan",collapser:"compositions_collapser__3bIFa",tabsContainer:"compositions_tabsContainer__3HLzI",tabs:"compositions_tabs__2tiBY",tabContent:"compositions_tabContent__2Cklv",compositions:"compositions_compositions__3lEI2",openInNewTab:"compositions_openInNewTab__24wPr",noCompositionsPage:"compositions_noCompositionsPage__3q5mS",title:"compositions_title__1mv6f",separator:"compositions_separator__KJxPc",buildStatusMessage:"compositions_buildStatusMessage__X2Qik",compositionPanel:"compositions_compositionPanel__3rdng"}},29217:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={linkWrapper:"compositions-panel_linkWrapper__-mm5p",right:"compositions-panel_right__8a-pK",icon:"compositions-panel_icon__2Neha",active:"compositions-panel_active__2_9Nv",box:"compositions-panel_box__37jb9",codeLink:"compositions-panel_codeLink__1J8dt",name:"compositions-panel_name__8GKMN",panelLink:"compositions-panel_panelLink__2iHHl",tabs:"compositions-panel_tabs__qjxZP"}},63552:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={defaultAvatarBgColor:"ededed",avatar:"styles_avatar__2EwCK",letter:"styles_letter__31VOa",orgDefault:"styles_orgDefault__1TsW4",avatarImg:"styles_avatarImg__1fJqq",blob:"styles_blob__3cRP3",soloAvatarIcon:"styles_soloAvatarIcon__2XAN_",default:"styles_default__1-pm7"}},93566:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={dateTooltip:"time-ago_dateTooltip__2raq5",dateTooltipContent:"time-ago_dateTooltipContent__140y9"}},88022:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={}},8374:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={overviewWrapper:"overview_overviewWrapper__1l3gU",noOverflow:"overview_noOverflow__sXnaT",componentOverviewBlock:"overview_componentOverviewBlock__1_2hV",title:"overview_title__3ipIL",legacyPreview:"overview_legacyPreview__1y7yd",compositions:"overview_compositions__1juds",readme:"overview_readme__3rLft",readmeSkeleton:"overview_readmeSkeleton__3CGhV",block:"overview_block__3OYy0",overviewPropsTable:"overview_overviewPropsTable__20WTG"}},74148:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={tabContainer:"tabs_tabContainer__3ffie",tab:"tabs_tab__1u6Qx",disabled:"tabs_disabled__21PDt",active:"tabs_active__1QtYl"}},16033:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={preview:"preview_preview__1HyM7"}},63447:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={compositionSection:"docs-app_compositionSection__2rAWY",compositionCard:"docs-app_compositionCard__2BFqj",docsMainBlock:"docs-app_docsMainBlock__1Vyyg",heading:"docs-app_heading__25cfc",mdx:"docs-app_mdx__WbON7"}},52091:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={icon:"error-fallback_icon__22fU3",message:"error-fallback_message__7TfMY",errorFallback:"error-fallback_errorFallback__3WyiR",enter:"error-fallback_enter__3s9LR"}},66413:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={navZIndex:"100",paneSplitterZIndex:"101",topBarZIndex:"102",modalZIndex:"5000",highlighterZIndex:"15500",collapser:"collapser-button_collapser__2qEPm",open:"collapser-button_open__3y1Vb",circle:"collapser-button_circle__2cuYC",right:"collapser-button_right__3kYNA",left:"collapser-button_left__m-Exj"}},18455:(module,__unused_webpack_exports,__webpack_require__)=>{module.exports=minimatch,minimatch.Minimatch=Minimatch;const path=(()=>{try{return __webpack_require__(62005)}catch{}})()||{sep:"/"};minimatch.sep=path.sep;const GLOBSTAR=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={},expand=__webpack_require__(43816),plTypes={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},qmark="[^/]",star=qmark+"*?",twoStarDot="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",twoStarNoDot="(?:(?!(?:\\/|^)\\.).)*?",reSpecials=charSet("().*{}+?[]^$\\!");function charSet(s){return s.split("").reduce(function(set,c){return set[c]=!0,set},{})}const slashSplit=/\/+/;minimatch.filter=filter;function filter(pattern,options){return options=options||{},function(p,i,list){return minimatch(p,pattern,options)}}function ext(a,b){a=a||{},b=b||{};const t={};return Object.keys(a).forEach(function(k){t[k]=a[k]}),Object.keys(b).forEach(function(k){t[k]=b[k]}),t}minimatch.defaults=function(def){if(!def||typeof def!="object"||!Object.keys(def).length)return minimatch;const orig=minimatch,m=function(p,pattern,options){return orig(p,pattern,ext(def,options))};return m.Minimatch=function(pattern,options){return new orig.Minimatch(pattern,ext(def,options))},m.Minimatch.defaults=options=>orig.defaults(ext(def,options)).Minimatch,m.filter=function(pattern,options){return orig.filter(pattern,ext(def,options))},m.defaults=function(options){return orig.defaults(ext(def,options))},m.makeRe=function(pattern,options){return orig.makeRe(pattern,ext(def,options))},m.braceExpand=function(pattern,options){return orig.braceExpand(pattern,ext(def,options))},m.match=function(list,pattern,options){return orig.match(list,pattern,ext(def,options))},m},Minimatch.defaults=function(def){return minimatch.defaults(def).Minimatch};function minimatch(p,pattern,options){return assertValidPattern(pattern),options||(options={}),!options.nocomment&&pattern.charAt(0)==="#"?!1:pattern.trim()===""?p==="":new Minimatch(pattern,options).match(p)}function Minimatch(pattern,options){if(!(this instanceof Minimatch))return new Minimatch(pattern,options);assertValidPattern(pattern),options||(options={}),pattern=pattern.trim(),path.sep!=="/"&&(pattern=pattern.split(path.sep).join("/")),this.options=options,this.set=[],this.pattern=pattern,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}Minimatch.prototype.debug=function(){},Minimatch.prototype.make=make;function make(){if(!this._made){var pattern=this.pattern,options=this.options;if(!options.nocomment&&pattern.charAt(0)==="#"){this.comment=!0;return}if(!pattern){this.empty=!0;return}this.parseNegate();var set=this.globSet=this.braceExpand();options.debug&&(this.debug=console.error),this.debug(this.pattern,set),set=this.globParts=set.map(function(s){return s.split(slashSplit)}),this.debug(this.pattern,set),set=set.map(function(s,si,set2){return s.map(this.parse,this)},this),this.debug(this.pattern,set),set=set.filter(function(s){return s.indexOf(!1)===-1}),this.debug(this.pattern,set),this.set=set}}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var pattern=this.pattern,negate=!1,options=this.options,negateOffset=0;if(!options.nonegate){for(var i=0,l=pattern.length;i<l&&pattern.charAt(i)==="!";i++)negate=!negate,negateOffset++;negateOffset&&(this.pattern=pattern.substr(negateOffset)),this.negate=negate}}minimatch.braceExpand=function(pattern,options){return braceExpand(pattern,options)},Minimatch.prototype.braceExpand=braceExpand;function braceExpand(pattern,options){return options||(this instanceof Minimatch?options=this.options:options={}),pattern=typeof pattern>"u"?this.pattern:pattern,assertValidPattern(pattern),options.nobrace||!/\{(?:(?!\{).)*\}/.test(pattern)?[pattern]:expand(pattern)}const MAX_PATTERN_LENGTH=1024*64,assertValidPattern=pattern=>{if(typeof pattern!="string")throw new TypeError("invalid pattern");if(pattern.length>MAX_PATTERN_LENGTH)throw new TypeError("pattern is too long")};Minimatch.prototype.parse=parse;const SUBPARSE={};function parse(pattern,isSub){assertValidPattern(pattern);var options=this.options;if(!options.noglobstar&&pattern==="**")return GLOBSTAR;if(pattern==="")return"";var re="",hasMagic=!1,escaping=!1,patternListStack=[],negativeLists=[],stateChar,inClass=!1,reClassStart=-1,classStart=-1,patternStart=pattern.charAt(0)==="."?"":options.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",self2=this;function clearStateChar(){if(stateChar){switch(stateChar){case"*":re+=star,hasMagic=!0;break;case"?":re+=qmark,hasMagic=!0;break;default:re+="\\"+stateChar;break}self2.debug("clearStateChar %j %j",stateChar,re),stateChar=!1}}for(var i=0,len=pattern.length,c;i<len&&(c=pattern.charAt(i));i++){if(this.debug("%s %s %s %j",pattern,i,re,c),escaping&&reSpecials[c]){re+="\\"+c,escaping=!1;continue}switch(c){case"/":return!1;case"\\":clearStateChar(),escaping=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",pattern,i,re,c),inClass){this.debug(" in class"),c==="!"&&i===classStart+1&&(c="^"),re+=c;continue}self2.debug("call clearStateChar %j",stateChar),clearStateChar(),stateChar=c,options.noext&&clearStateChar();continue;case"(":if(inClass){re+="(";continue}if(!stateChar){re+="\\(";continue}patternListStack.push({type:stateChar,start:i-1,reStart:re.length,open:plTypes[stateChar].open,close:plTypes[stateChar].close}),re+=stateChar==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",stateChar,re),stateChar=!1;continue;case")":if(inClass||!patternListStack.length){re+="\\)";continue}clearStateChar(),hasMagic=!0;var pl=patternListStack.pop();re+=pl.close,pl.type==="!"&&negativeLists.push(pl),pl.reEnd=re.length;continue;case"|":if(inClass||!patternListStack.length||escaping){re+="\\|",escaping=!1;continue}clearStateChar(),re+="|";continue;case"[":if(clearStateChar(),inClass){re+="\\"+c;continue}inClass=!0,classStart=i,reClassStart=re.length,re+=c;continue;case"]":if(i===classStart+1||!inClass){re+="\\"+c,escaping=!1;continue}if(inClass){var cs=pattern.substring(classStart+1,i);try{RegExp("["+cs+"]")}catch{var sp=this.parse(cs,SUBPARSE);re=re.substr(0,reClassStart)+"\\["+sp[0]+"\\]",hasMagic=hasMagic||sp[1],inClass=!1;continue}}hasMagic=!0,inClass=!1,re+=c;continue;default:clearStateChar(),escaping?escaping=!1:reSpecials[c]&&!(c==="^"&&inClass)&&(re+="\\"),re+=c}}for(inClass&&(cs=pattern.substr(classStart+1),sp=this.parse(cs,SUBPARSE),re=re.substr(0,reClassStart)+"\\["+sp[0],hasMagic=hasMagic||sp[1]),pl=patternListStack.pop();pl;pl=patternListStack.pop()){var tail=re.slice(pl.reStart+pl.open.length);this.debug("setting tail",re,pl),tail=tail.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(_,$1,$2){return $2||($2="\\"),$1+$1+$2+"|"}),this.debug(`tail=%j
124
124
  %s`,tail,tail,pl,re);var t=pl.type==="*"?star:pl.type==="?"?qmark:"\\"+pl.type;hasMagic=!0,re=re.slice(0,pl.reStart)+t+"\\("+tail}clearStateChar(),escaping&&(re+="\\\\");var addPatternStart=!1;switch(re.charAt(0)){case".":case"[":case"(":addPatternStart=!0}for(var n=negativeLists.length-1;n>-1;n--){var nl=negativeLists[n],nlBefore=re.slice(0,nl.reStart),nlFirst=re.slice(nl.reStart,nl.reEnd-8),nlLast=re.slice(nl.reEnd-8,nl.reEnd),nlAfter=re.slice(nl.reEnd);nlLast+=nlAfter;var openParensBefore=nlBefore.split("(").length-1,cleanAfter=nlAfter;for(i=0;i<openParensBefore;i++)cleanAfter=cleanAfter.replace(/\)[+*?]?/,"");nlAfter=cleanAfter;var dollar="";nlAfter===""&&isSub!==SUBPARSE&&(dollar="$");var newRe=nlBefore+nlFirst+nlAfter+dollar+nlLast;re=newRe}if(re!==""&&hasMagic&&(re="(?=.)"+re),addPatternStart&&(re=patternStart+re),isSub===SUBPARSE)return[re,hasMagic];if(!hasMagic)return globUnescape(pattern);var flags=options.nocase?"i":"";try{var regExp=new RegExp("^"+re+"$",flags)}catch{return new RegExp("$.")}return regExp._glob=pattern,regExp._src=re,regExp}minimatch.makeRe=function(pattern,options){return new Minimatch(pattern,options||{}).makeRe()},Minimatch.prototype.makeRe=makeRe;function makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;var set=this.set;if(!set.length)return this.regexp=!1,this.regexp;var options=this.options,twoStar=options.noglobstar?star:options.dot?twoStarDot:twoStarNoDot,flags=options.nocase?"i":"",re=set.map(function(pattern){return pattern.map(function(p){return p===GLOBSTAR?twoStar:typeof p=="string"?regExpEscape(p):p._src}).join("\\/")}).join("|");re="^(?:"+re+")$",this.negate&&(re="^(?!"+re+").*$");try{this.regexp=new RegExp(re,flags)}catch{this.regexp=!1}return this.regexp}minimatch.match=function(list,pattern,options){options=options||{};const mm=new Minimatch(pattern,options);return list=list.filter(function(f){return mm.match(f)}),mm.options.nonull&&!list.length&&list.push(pattern),list},Minimatch.prototype.match=match;function match(f,partial){if(this.debug("match",f,this.pattern),this.comment)return!1;if(this.empty)return f==="";if(f==="/"&&partial)return!0;var options=this.options;path.sep!=="/"&&(f=f.split(path.sep).join("/")),f=f.split(slashSplit),this.debug(this.pattern,"split",f);var set=this.set;this.debug(this.pattern,"set",set);var filename,i;for(i=f.length-1;i>=0&&(filename=f[i],!filename);i--);for(i=0;i<set.length;i++){var pattern=set[i],file=f;options.matchBase&&pattern.length===1&&(file=[filename]);var hit=this.matchOne(file,pattern,partial);if(hit)return options.flipNegate?!0:!this.negate}return options.flipNegate?!1:this.negate}Minimatch.prototype.matchOne=function(file,pattern,partial){var options=this.options;this.debug("matchOne",{this:this,file,pattern}),this.debug("matchOne",file.length,pattern.length);for(var fi=0,pi=0,fl=file.length,pl=pattern.length;fi<fl&&pi<pl;fi++,pi++){this.debug("matchOne loop");var p=pattern[pi],f=file[fi];if(this.debug(pattern,p,f),p===!1)return!1;if(p===GLOBSTAR){this.debug("GLOBSTAR",[pattern,p,f]);var fr=fi,pr=pi+1;if(pr===pl){for(this.debug("** at the end");fi<fl;fi++)if(file[fi]==="."||file[fi]===".."||!options.dot&&file[fi].charAt(0)===".")return!1;return!0}for(;fr<fl;){var swallowee=file[fr];if(this.debug(`
125
125
  globstar while`,file,fr,pattern,pr,swallowee),this.matchOne(file.slice(fr),pattern.slice(pr),partial))return this.debug("globstar found match!",fr,fl,swallowee),!0;if(swallowee==="."||swallowee===".."||!options.dot&&swallowee.charAt(0)==="."){this.debug("dot detected!",file,fr,pattern,pr);break}this.debug("globstar swallow a segment, and continue"),fr++}return!!(partial&&(this.debug(`
@@ -366,7 +366,7 @@ ${namesToRegister.map(({variableName,uniqueLocalName})=>` reactHotLoader.regist
366
366
  */var REGEX_DATA="xregexp",features={astral:!1},nativ={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},fixed={},regexCache={},patternCache={},tokens=[],defaultScope="default",classScope="class",nativeTokens={default:/\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9]\d*|x[\dA-Fa-f]{2}|u(?:[\dA-Fa-f]{4}|{[\dA-Fa-f]+})|c[A-Za-z]|[\s\S])|\(\?(?:[:=!]|<[=!])|[?*+]\?|{\d+(?:,\d*)?}\??|[\s\S]/,class:/\\(?:[0-3][0-7]{0,2}|[4-7][0-7]?|x[\dA-Fa-f]{2}|u(?:[\dA-Fa-f]{4}|{[\dA-Fa-f]+})|c[A-Za-z]|[\s\S])|[\s\S]/},replacementToken=/\$(?:{([\w$]+)}|<([\w$]+)>|(\d\d?|[\s\S]))/g,correctExecNpcg=nativ.exec.call(/()??/,"")[1]===void 0,hasFlagsProp=/x/.flags!==void 0,toString={}.toString;function hasNativeFlag(flag){var isSupported=!0;try{new RegExp("",flag)}catch{isSupported=!1}return isSupported}var hasNativeU=hasNativeFlag("u"),hasNativeY=hasNativeFlag("y"),registeredFlags={g:!0,i:!0,m:!0,u:hasNativeU,y:hasNativeY};function augment(regex,captureNames,xSource,xFlags,isInternalOnly){var p=void 0;if(regex[REGEX_DATA]={captureNames},isInternalOnly)return regex;if(regex.__proto__)regex.__proto__=XRegExp.prototype;else for(p in XRegExp.prototype)regex[p]=XRegExp.prototype[p];return regex[REGEX_DATA].source=xSource,regex[REGEX_DATA].flags=xFlags&&xFlags.split("").sort().join(""),regex}function clipDuplicates(str){return nativ.replace.call(str,/([\s\S])(?=[\s\S]*\1)/g,"")}function copyRegex(regex,options){if(!XRegExp.isRegExp(regex))throw new TypeError("Type RegExp expected");var xData=regex[REGEX_DATA]||{},flags=getNativeFlags(regex),flagsToAdd="",flagsToRemove="",xregexpSource=null,xregexpFlags=null;return options=options||{},options.removeG&&(flagsToRemove+="g"),options.removeY&&(flagsToRemove+="y"),flagsToRemove&&(flags=nativ.replace.call(flags,new RegExp("["+flagsToRemove+"]+","g"),"")),options.addG&&(flagsToAdd+="g"),options.addY&&(flagsToAdd+="y"),flagsToAdd&&(flags=clipDuplicates(flags+flagsToAdd)),options.isInternalOnly||(xData.source!==void 0&&(xregexpSource=xData.source),xData.flags!=null&&(xregexpFlags=flagsToAdd?clipDuplicates(xData.flags+flagsToAdd):xData.flags)),regex=augment(new RegExp(options.source||regex.source,flags),hasNamedCapture(regex)?xData.captureNames.slice(0):null,xregexpSource,xregexpFlags,options.isInternalOnly),regex}function dec(hex2){return parseInt(hex2,16)}function getContextualTokenSeparator(match,scope,flags){return match.input[match.index-1]==="("||match.input[match.index+match[0].length]===")"||isQuantifierNext(match.input,match.index+match[0].length,flags)?"":"(?:)"}function getNativeFlags(regex){return hasFlagsProp?regex.flags:nativ.exec.call(/\/([a-z]*)$/i,RegExp.prototype.toString.call(regex))[1]}function hasNamedCapture(regex){return!!(regex[REGEX_DATA]&&regex[REGEX_DATA].captureNames)}function hex(dec2){return parseInt(dec2,10).toString(16)}function isQuantifierNext(pattern,pos,flags){var inlineCommentPattern="\\(\\?#[^)]*\\)",lineCommentPattern="#[^#\\n]*",quantifierPattern="[?*+]|{\\d+(?:,\\d*)?}";return nativ.test.call(flags.indexOf("x")!==-1?/^(?:\s|#[^#\n]*|\(\?#[^)]*\))*(?:[?*+]|{\d+(?:,\d*)?})/:/^(?:\(\?#[^)]*\))*(?:[?*+]|{\d+(?:,\d*)?})/,pattern.slice(pos))}function isType(value,type){return toString.call(value)==="[object "+type+"]"}function pad4(str){for(;str.length<4;)str="0"+str;return str}function prepareFlags(pattern,flags){var i=void 0;if(clipDuplicates(flags)!==flags)throw new SyntaxError("Invalid duplicate regex flag "+flags);for(pattern=nativ.replace.call(pattern,/^\(\?([\w$]+)\)/,function($0,$1){if(nativ.test.call(/[gy]/,$1))throw new SyntaxError("Cannot use flag g or y in mode modifier "+$0);return flags=clipDuplicates(flags+$1),""}),i=0;i<flags.length;++i)if(!registeredFlags[flags[i]])throw new SyntaxError("Unknown regex flag "+flags[i]);return{pattern,flags}}function prepareOptions(value){var options={};return isType(value,"String")?(XRegExp.forEach(value,/[^\s,]+/,function(match){options[match]=!0}),options):value}function registerFlag(flag){if(!/^[\w$]$/.test(flag))throw new Error("Flag must be a single character A-Za-z0-9_$");registeredFlags[flag]=!0}function runTokens(pattern,flags,pos,scope,context){for(var i=tokens.length,leadChar=pattern[pos],result=null,match=void 0,t=void 0;i--;)if(t=tokens[i],!(t.leadChar&&t.leadChar!==leadChar||t.scope!==scope&&t.scope!=="all"||t.flag&&flags.indexOf(t.flag)===-1)&&(match=XRegExp.exec(pattern,t.regex,pos,"sticky"),match)){result={matchLength:match[0].length,output:t.handler.call(context,match,scope,flags),reparse:t.reparse};break}return result}function setAstral(on){features.astral=on}function toObject(value){if(value==null)throw new TypeError("Cannot convert null or undefined to object");return value}function XRegExp(pattern,flags){if(XRegExp.isRegExp(pattern)){if(flags!==void 0)throw new TypeError("Cannot supply flags when copying a RegExp");return copyRegex(pattern)}if(pattern=pattern===void 0?"":String(pattern),flags=flags===void 0?"":String(flags),XRegExp.isInstalled("astral")&&flags.indexOf("A")===-1&&(flags+="A"),patternCache[pattern]||(patternCache[pattern]={}),!patternCache[pattern][flags]){for(var context={hasNamedCapture:!1,captureNames:[]},scope=defaultScope,output="",pos=0,result=void 0,applied=prepareFlags(pattern,flags),appliedPattern=applied.pattern,appliedFlags=applied.flags;pos<appliedPattern.length;){do result=runTokens(appliedPattern,appliedFlags,pos,scope,context),result&&result.reparse&&(appliedPattern=appliedPattern.slice(0,pos)+result.output+appliedPattern.slice(pos+result.matchLength));while(result&&result.reparse);if(result)output+=result.output,pos+=result.matchLength||1;else{var token=XRegExp.exec(appliedPattern,nativeTokens[scope],pos,"sticky")[0];output+=token,pos+=token.length,token==="["&&scope===defaultScope?scope=classScope:token==="]"&&scope===classScope&&(scope=defaultScope)}}patternCache[pattern][flags]={pattern:nativ.replace.call(output,/(?:\(\?:\))+/g,"(?:)"),flags:nativ.replace.call(appliedFlags,/[^gimuy]+/g,""),captures:context.hasNamedCapture?context.captureNames:null}}var generated=patternCache[pattern][flags];return augment(new RegExp(generated.pattern,generated.flags),generated.captures,pattern,flags)}XRegExp.prototype=/(?:)/,XRegExp.version="4.0.0",XRegExp._clipDuplicates=clipDuplicates,XRegExp._hasNativeFlag=hasNativeFlag,XRegExp._dec=dec,XRegExp._hex=hex,XRegExp._pad4=pad4,XRegExp.addToken=function(regex,handler,options){options=options||{};var optionalFlags=options.optionalFlags,i=void 0;if(options.flag&&registerFlag(options.flag),optionalFlags)for(optionalFlags=nativ.split.call(optionalFlags,""),i=0;i<optionalFlags.length;++i)registerFlag(optionalFlags[i]);tokens.push({regex:copyRegex(regex,{addG:!0,addY:hasNativeY,isInternalOnly:!0}),handler,scope:options.scope||defaultScope,flag:options.flag,reparse:options.reparse,leadChar:options.leadChar}),XRegExp.cache.flush("patterns")},XRegExp.cache=function(pattern,flags){return regexCache[pattern]||(regexCache[pattern]={}),regexCache[pattern][flags]||(regexCache[pattern][flags]=XRegExp(pattern,flags))},XRegExp.cache.flush=function(cacheName){cacheName==="patterns"?patternCache={}:regexCache={}},XRegExp.escape=function(str){return nativ.replace.call(toObject(str),/[-\[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},XRegExp.exec=function(str,regex,pos,sticky){var cacheKey="g",addY=!1,fakeY=!1,match=void 0;addY=hasNativeY&&!!(sticky||regex.sticky&&sticky!==!1),addY?cacheKey+="y":sticky&&(fakeY=!0,cacheKey+="FakeY"),regex[REGEX_DATA]=regex[REGEX_DATA]||{};var r2=regex[REGEX_DATA][cacheKey]||(regex[REGEX_DATA][cacheKey]=copyRegex(regex,{addG:!0,addY,source:fakeY?regex.source+"|()":void 0,removeY:sticky===!1,isInternalOnly:!0}));return pos=pos||0,r2.lastIndex=pos,match=fixed.exec.call(r2,str),fakeY&&match&&match.pop()===""&&(match=null),regex.global&&(regex.lastIndex=match?r2.lastIndex:0),match},XRegExp.forEach=function(str,regex,callback){for(var pos=0,i=-1,match=void 0;match=XRegExp.exec(str,regex,pos);)callback(match,++i,str,regex),pos=match.index+(match[0].length||1)},XRegExp.globalize=function(regex){return copyRegex(regex,{addG:!0})},XRegExp.install=function(options){options=prepareOptions(options),!features.astral&&options.astral&&setAstral(!0)},XRegExp.isInstalled=function(feature){return!!features[feature]},XRegExp.isRegExp=function(value){return toString.call(value)==="[object RegExp]"},XRegExp.match=function(str,regex,scope){var global2=regex.global&&scope!=="one"||scope==="all",cacheKey=(global2?"g":"")+(regex.sticky?"y":"")||"noGY";regex[REGEX_DATA]=regex[REGEX_DATA]||{};var r2=regex[REGEX_DATA][cacheKey]||(regex[REGEX_DATA][cacheKey]=copyRegex(regex,{addG:!!global2,removeG:scope==="one",isInternalOnly:!0})),result=nativ.match.call(toObject(str),r2);return regex.global&&(regex.lastIndex=scope==="one"&&result?result.index+result[0].length:0),global2?result||[]:result&&result[0]},XRegExp.matchChain=function(str,chain){return function recurseChain(values,level){var item=chain[level].regex?chain[level]:{regex:chain[level]},matches=[];function addMatch(match){if(item.backref){if(!(match.hasOwnProperty(item.backref)||+item.backref<match.length))throw new ReferenceError("Backreference to undefined group: "+item.backref);matches.push(match[item.backref]||"")}else matches.push(match[0])}for(var i=0;i<values.length;++i)XRegExp.forEach(values[i],item.regex,addMatch);return level===chain.length-1||!matches.length?matches:recurseChain(matches,level+1)}([str],0)},XRegExp.replace=function(str,search,replacement,scope){var isRegex=XRegExp.isRegExp(search),global2=search.global&&scope!=="one"||scope==="all",cacheKey=(global2?"g":"")+(search.sticky?"y":"")||"noGY",s2=search;isRegex?(search[REGEX_DATA]=search[REGEX_DATA]||{},s2=search[REGEX_DATA][cacheKey]||(search[REGEX_DATA][cacheKey]=copyRegex(search,{addG:!!global2,removeG:scope==="one",isInternalOnly:!0}))):global2&&(s2=new RegExp(XRegExp.escape(String(search)),"g"));var result=fixed.replace.call(toObject(str),s2,replacement);return isRegex&&search.global&&(search.lastIndex=0),result},XRegExp.replaceEach=function(str,replacements){var i=void 0,r=void 0;for(i=0;i<replacements.length;++i)r=replacements[i],str=XRegExp.replace(str,r[0],r[1],r[2]);return str},XRegExp.split=function(str,separator,limit){return fixed.split.call(toObject(str),separator,limit)},XRegExp.test=function(str,regex,pos,sticky){return!!XRegExp.exec(str,regex,pos,sticky)},XRegExp.uninstall=function(options){options=prepareOptions(options),features.astral&&options.astral&&setAstral(!1)},XRegExp.union=function(patterns,flags,options){options=options||{};var conjunction=options.conjunction||"or",numCaptures=0,numPriorCaptures=void 0,captureNames=void 0;function rewrite(match,paren,backref){var name=captureNames[numCaptures-numPriorCaptures];if(paren){if(++numCaptures,name)return"(?<"+name+">"}else if(backref)return"\\"+(+backref+numPriorCaptures);return match}if(!(isType(patterns,"Array")&&patterns.length))throw new TypeError("Must provide a nonempty array of patterns to merge");for(var parts=/(\()(?!\?)|\\([1-9]\d*)|\\[\s\S]|\[(?:[^\\\]]|\\[\s\S])*\]/g,output=[],pattern=void 0,i=0;i<patterns.length;++i)pattern=patterns[i],XRegExp.isRegExp(pattern)?(numPriorCaptures=numCaptures,captureNames=pattern[REGEX_DATA]&&pattern[REGEX_DATA].captureNames||[],output.push(nativ.replace.call(XRegExp(pattern.source).source,parts,rewrite))):output.push(XRegExp.escape(pattern));var separator=conjunction==="none"?"":"|";return XRegExp(output.join(separator),flags)},fixed.exec=function(str){var origLastIndex=this.lastIndex,match=nativ.exec.apply(this,arguments);if(match){if(!correctExecNpcg&&match.length>1&&match.indexOf("")!==-1){var r2=copyRegex(this,{removeG:!0,isInternalOnly:!0});nativ.replace.call(String(str).slice(match.index),r2,function(){for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];for(var len=args.length,i2=1;i2<len-2;++i2)args[i2]===void 0&&(match[i2]=void 0)})}if(this[REGEX_DATA]&&this[REGEX_DATA].captureNames)for(var i=1;i<match.length;++i){var name=this[REGEX_DATA].captureNames[i-1];name&&(match[name]=match[i])}this.global&&!match[0].length&&this.lastIndex>match.index&&(this.lastIndex=match.index)}return this.global||(this.lastIndex=origLastIndex),match},fixed.test=function(str){return!!fixed.exec.call(this,str)},fixed.match=function(regex){if(!XRegExp.isRegExp(regex))regex=new RegExp(regex);else if(regex.global){var result=nativ.match.apply(this,arguments);return regex.lastIndex=0,result}return fixed.exec.call(regex,toObject(this))},fixed.replace=function(search,replacement){var isRegex=XRegExp.isRegExp(search),origLastIndex=void 0,captureNames=void 0,result=void 0;return isRegex?(search[REGEX_DATA]&&(captureNames=search[REGEX_DATA].captureNames),origLastIndex=search.lastIndex):search+="",isType(replacement,"Function")?result=nativ.replace.call(String(this),search,function(){for(var _len2=arguments.length,args=Array(_len2),_key2=0;_key2<_len2;_key2++)args[_key2]=arguments[_key2];if(captureNames){args[0]=new String(args[0]);for(var i=0;i<captureNames.length;++i)captureNames[i]&&(args[0][captureNames[i]]=args[i+1])}return isRegex&&search.global&&(search.lastIndex=args[args.length-2]+args[0].length),replacement.apply(void 0,args)}):result=nativ.replace.call(this==null?this:String(this),search,function(){for(var _len3=arguments.length,args=Array(_len3),_key3=0;_key3<_len3;_key3++)args[_key3]=arguments[_key3];return nativ.replace.call(String(replacement),replacementToken,replacer);function replacer($0,bracketed,angled,dollarToken){if(bracketed=bracketed||angled,bracketed){var n=+bracketed;if(n<=args.length-3)return args[n]||"";if(n=captureNames?captureNames.indexOf(bracketed):-1,n<0)throw new SyntaxError("Backreference to undefined group "+$0);return args[n+1]||""}if(dollarToken==="$")return"$";if(dollarToken==="&"||+dollarToken==0)return args[0];if(dollarToken==="`")return args[args.length-1].slice(0,args[args.length-2]);if(dollarToken==="'")return args[args.length-1].slice(args[args.length-2]+args[0].length);if(dollarToken=+dollarToken,!isNaN(dollarToken)){if(dollarToken>args.length-3)throw new SyntaxError("Backreference to undefined group "+$0);return args[dollarToken]||""}throw new SyntaxError("Invalid token "+$0)}}),isRegex&&(search.global?search.lastIndex=0:search.lastIndex=origLastIndex),result},fixed.split=function(separator,limit){if(!XRegExp.isRegExp(separator))return nativ.split.apply(this,arguments);var str=String(this),output=[],origLastIndex=separator.lastIndex,lastLastIndex=0,lastLength=void 0;return limit=(limit===void 0?-1:limit)>>>0,XRegExp.forEach(str,separator,function(match){match.index+match[0].length>lastLastIndex&&(output.push(str.slice(lastLastIndex,match.index)),match.length>1&&match.index<str.length&&Array.prototype.push.apply(output,match.slice(1)),lastLength=match[0].length,lastLastIndex=match.index+lastLength)}),lastLastIndex===str.length?(!nativ.test.call(separator,"")||lastLength)&&output.push(""):output.push(str.slice(lastLastIndex)),separator.lastIndex=origLastIndex,output.length>limit?output.slice(0,limit):output},XRegExp.addToken(/\\([ABCE-RTUVXYZaeg-mopqyz]|c(?![A-Za-z])|u(?![\dA-Fa-f]{4}|{[\dA-Fa-f]+})|x(?![\dA-Fa-f]{2}))/,function(match,scope){if(match[1]==="B"&&scope===defaultScope)return match[0];throw new SyntaxError("Invalid escape "+match[0])},{scope:"all",leadChar:"\\"}),XRegExp.addToken(/\\u{([\dA-Fa-f]+)}/,function(match,scope,flags){var code=dec(match[1]);if(code>1114111)throw new SyntaxError("Invalid Unicode code point "+match[0]);if(code<=65535)return"\\u"+pad4(hex(code));if(hasNativeU&&flags.indexOf("u")!==-1)return match[0];throw new SyntaxError("Cannot use Unicode code point above \\u{FFFF} without flag u")},{scope:"all",leadChar:"\\"}),XRegExp.addToken(/\[(\^?)\]/,function(match){return match[1]?"[\\s\\S]":"\\b\\B"},{leadChar:"["}),XRegExp.addToken(/\(\?#[^)]*\)/,getContextualTokenSeparator,{leadChar:"("}),XRegExp.addToken(/\s+|#[^\n]*\n?/,getContextualTokenSeparator,{flag:"x"}),XRegExp.addToken(/\./,function(){return"[\\s\\S]"},{flag:"s",leadChar:"."}),XRegExp.addToken(/\\k<([\w$]+)>/,function(match){var index=isNaN(match[1])?this.captureNames.indexOf(match[1])+1:+match[1],endIndex=match.index+match[0].length;if(!index||index>this.captureNames.length)throw new SyntaxError("Backreference to undefined group "+match[0]);return"\\"+index+(endIndex===match.input.length||isNaN(match.input[endIndex])?"":"(?:)")},{leadChar:"\\"}),XRegExp.addToken(/\\(\d+)/,function(match,scope){if(!(scope===defaultScope&&/^[1-9]/.test(match[1])&&+match[1]<=this.captureNames.length)&&match[1]!=="0")throw new SyntaxError("Cannot use octal escape or backreference to undefined group "+match[0]);return match[0]},{scope:"all",leadChar:"\\"}),XRegExp.addToken(/\(\?P?<([\w$]+)>/,function(match){if(!isNaN(match[1]))throw new SyntaxError("Cannot use integer as capture name "+match[0]);if(match[1]==="length"||match[1]==="__proto__")throw new SyntaxError("Cannot use reserved word as capture name "+match[0]);if(this.captureNames.indexOf(match[1])!==-1)throw new SyntaxError("Cannot use same name for multiple groups "+match[0]);return this.captureNames.push(match[1]),this.hasNamedCapture=!0,"("},{leadChar:"("}),XRegExp.addToken(/\((?!\?)/,function(match,scope,flags){return flags.indexOf("n")!==-1?"(?:":(this.captureNames.push(null),"(")},{optionalFlags:"n",leadChar:"("}),exports.default=XRegExp,module.exports=exports.default},26192:module=>{module.exports=extend;var hasOwnProperty=Object.prototype.hasOwnProperty;function extend(){for(var target={},i=0;i<arguments.length;i++){var source=arguments[i];for(var key in source)hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target}},67180:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.AspectList=void 0;class AspectList{constructor(entries){this.entries=entries}get(aspectId){const aspectEntry=this.entries.find(entry=>entry.aspectId===aspectId);if(!!aspectEntry)return aspectEntry.aspectData}toObject(){return{entries:this.entries}}static fromObject(obj){const entries=obj?.entries||[];return new AspectList(entries)}static fromJson(obj){const entries=obj?.entries?.map(({aspectId,aspectData})=>({aspectId,aspectData:JSON.parse(aspectData)}))||[];return new AspectList(entries)}}exports.AspectList=AspectList},86549:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentDescriptor=void 0;function _component(){const data=__webpack_require__(68211);return _component=function(){return data},data}function _aspectList(){const data=__webpack_require__(67180);return _aspectList=function(){return data},data}class ComponentDescriptor{constructor(id,aspectList){this.id=id,this.aspectList=aspectList}get scope(){return this.id.scope}get(aspectId){return this.aspectList.get(aspectId)}toObject(){return{id:this.id.toString(),aspectList:this.aspectList.toObject()}}async isModified(){return!1}stringify(){return JSON.stringify(this.toObject())}toString(){return this.stringify()}static fromObject({id,aspectList}){const aspects=_aspectList().AspectList.fromObject(aspectList);return new ComponentDescriptor(_component().ComponentID.fromString(id),aspects)}static fromArray(componentsDescriptorProps){return componentsDescriptorProps.map(component=>ComponentDescriptor.fromObject(component))}}exports.ComponentDescriptor=ComponentDescriptor},57984:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"AspectDataEntry",{enumerable:!0,get:function(){return _aspectList().AspectDataEntry}}),Object.defineProperty(exports,"AspectList",{enumerable:!0,get:function(){return _aspectList().AspectList}}),Object.defineProperty(exports,"AspectListProps",{enumerable:!0,get:function(){return _aspectList().AspectListProps}}),Object.defineProperty(exports,"ComponentDescriptor",{enumerable:!0,get:function(){return _componentDescriptor().ComponentDescriptor}}),Object.defineProperty(exports,"ComponentDescriptorProps",{enumerable:!0,get:function(){return _componentDescriptor().ComponentDescriptorProps}});function _componentDescriptor(){const data=__webpack_require__(86549);return _componentDescriptor=function(){return data},data}function _aspectList(){const data=__webpack_require__(67180);return _aspectList=function(){return data},data}},65559:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CircularDependencies=void 0;const component_issue_1=__webpack_require__(50581);class CircularDependencies extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="circular dependencies",this.solution='run `bit insights "circular"` to get the component-ids participating in the circular',this.isTagBlocker=!0}outputForCLI(){return(0,component_issue_1.formatTitle)(this.descriptionWithSolution,!1)}}exports.CircularDependencies=CircularDependencies},50581: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.deserializeWithBitId=exports.componentIssueToString=exports.formatTitle=exports.ComponentIssue=exports.ISSUE_FORMAT_SPACE=exports.ISSUE_FORMAT_SPACE_COUNT=void 0;const chalk_1=__importDefault(__webpack_require__(23729)),component_id_1=__webpack_require__(91526);exports.ISSUE_FORMAT_SPACE_COUNT=10,exports.ISSUE_FORMAT_SPACE=" ".repeat(exports.ISSUE_FORMAT_SPACE_COUNT);class ComponentIssue{constructor(){this.isTagBlocker=!0,this.isCacheBlocker=!0,this.formatDataFunction=componentIssueToString}get descriptionWithSolution(){const solution=this.formatSolution();return`${this.description} ${solution}`}formatSolution(){return this.solution?` (${this.solution})`:""}outputForCLI(){return formatTitle(this.descriptionWithSolution)+chalk_1.default.white(this.dataToString())}dataToString(){return Object.keys(this.data).map(k=>`${exports.ISSUE_FORMAT_SPACE}${k} -> ${this.formatDataFunction(this.data[k])}`).join(`
367
367
  `)}toObject(){return{type:this.constructor.name,description:this.description,solution:this.solution,isTagBlocker:this.isTagBlocker,data:this.data}}serialize(){return JSON.stringify(this.data)}deserialize(data){return JSON.parse(data)}}exports.ComponentIssue=ComponentIssue;function formatTitle(issueTitle,hasMoreData=!0){const colon=hasMoreData?":":"";return chalk_1.default.yellow(`
368
368
  ${issueTitle}${colon}
369
- `)}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),removed_env_1=__webpack_require__(84531);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,RemovedEnv:removed_env_1.RemovedEnv,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.
369
+ `)}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},72599:(__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__(72599),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),removed_env_1=__webpack_require__(84531);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,RemovedEnv:removed_env_1.RemovedEnv,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.
370
370
  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(`
371
371
  `)}}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__(91526),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},84531:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RemovedEnv=void 0;const component_issue_1=__webpack_require__(50581);class RemovedEnv extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="the env of this component is deleted",this.solution='use "bit env set/replace" to set a new env or a different version of this env. to undo the delete, run "bit recover"',this.isTagBlocker=!0}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data}}exports.RemovedEnv=RemovedEnv},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(`
372
372
  `)}}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__(53298),react_1=__importDefault(__webpack_require__(59496)),design_ui_surfaces_menu_link_item_1=__webpack_require__(98920),evangelist_elements_icon_1=__webpack_require__(86144),lane_info_module_scss_1=__importDefault(__webpack_require__(42549));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__(50080));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__(98920),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__(63179)),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__(98920),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__(72773));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=_interopRequireWildcard(__webpack_require__(18288));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}}function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}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}`,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__(97857);return _uiFoundationUiHooks=function(){return data},data}function _client(){const data=__webpack_require__(47094);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)`
@@ -390,7 +390,7 @@ the following are permitted ${Object.keys(exports.IssuesClasses).join(", ")}`);c
390
390
  }
391
391
  }
392
392
  }
393
- `;function useComponentHost(){const{data,loading}=(0,_uiFoundationUiHooks().useDataQuery)(COMPONENT_HOST);return!data||loading?{}:{host:_componentHostModel().ComponentHostModel.from(data)}}},68211:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"AspectData",{enumerable:!0,get:function(){return _aspectEntry().AspectData}}),Object.defineProperty(exports,"AspectEntry",{enumerable:!0,get:function(){return _aspectEntry().AspectEntry}}),Object.defineProperty(exports,"CollapsibleMenuNav",{enumerable:!0,get:function(){return _menu().CollapsibleMenuNav}}),Object.defineProperty(exports,"Component",{enumerable:!0,get:function(){return _component2().Component}}),Object.defineProperty(exports,"ComponentAspect",{enumerable:!0,get:function(){return _component().ComponentAspect}}),Object.defineProperty(exports,"ComponentContext",{enumerable:!0,get:function(){return _componentContext().ComponentContext}}),Object.defineProperty(exports,"ComponentDescriptorContext",{enumerable:!0,get:function(){return _componentContext().ComponentDescriptorContext}}),Object.defineProperty(exports,"ComponentDescriptorProvider",{enumerable:!0,get:function(){return _context().ComponentDescriptorProvider}}),Object.defineProperty(exports,"ComponentFS",{enumerable:!0,get:function(){return _componentFs().default}}),Object.defineProperty(exports,"ComponentID",{enumerable:!0,get:function(){return _componentId().ComponentID}}),Object.defineProperty(exports,"ComponentLogsResult",{enumerable:!0,get:function(){return _ui().ComponentLogsResult}}),Object.defineProperty(exports,"ComponentMap",{enumerable:!0,get:function(){return _componentMap().ComponentMap}}),Object.defineProperty(exports,"ComponentMenu",{enumerable:!0,get:function(){return _menu().ComponentMenu}}),Object.defineProperty(exports,"ComponentModel",{enumerable:!0,get:function(){return _componentModel().ComponentModel}}),Object.defineProperty(exports,"ComponentProvider",{enumerable:!0,get:function(){return _context().ComponentProvider}}),Object.defineProperty(exports,"Config",{enumerable:!0,get:function(){return _config().Config}}),Object.defineProperty(exports,"Filters",{enumerable:!0,get:function(){return _ui().Filters}}),Object.defineProperty(exports,"InvalidComponent",{enumerable:!0,get:function(){return _component2().InvalidComponent}}),Object.defineProperty(exports,"ResolveComponentIdFunc",{enumerable:!0,get:function(){return _aspectEntry().ResolveComponentIdFunc}}),Object.defineProperty(exports,"Snap",{enumerable:!0,get:function(){return _snap().Snap}}),Object.defineProperty(exports,"SnapProps",{enumerable:!0,get:function(){return _snap().SnapProps}}),Object.defineProperty(exports,"State",{enumerable:!0,get:function(){return _state().State}}),Object.defineProperty(exports,"Tag",{enumerable:!0,get:function(){return _tag().Tag}}),Object.defineProperty(exports,"TagMap",{enumerable:!0,get:function(){return _tagMap().TagMap}}),Object.defineProperty(exports,"TagProps",{enumerable:!0,get:function(){return _tag().TagProps}}),Object.defineProperty(exports,"TopBarNav",{enumerable:!0,get:function(){return _topBarNav().TopBarNav}}),Object.defineProperty(exports,"VersionRelatedDropdowns",{enumerable:!0,get:function(){return _menu().VersionRelatedDropdowns}}),Object.defineProperty(exports,"componentFields",{enumerable:!0,get:function(){return _ui().componentFields}}),Object.defineProperty(exports,"componentIdFields",{enumerable:!0,get:function(){return _ui().componentIdFields}}),Object.defineProperty(exports,"componentOverviewFields",{enumerable:!0,get:function(){return _ui().componentOverviewFields}}),exports.default=void 0,Object.defineProperty(exports,"useComponent",{enumerable:!0,get:function(){return _ui().useComponent}}),Object.defineProperty(exports,"useComponentDescriptor",{enumerable:!0,get:function(){return _componentContext().useComponentDescriptor}}),Object.defineProperty(exports,"useComponentHost",{enumerable:!0,get:function(){return _host().useComponentHost}}),Object.defineProperty(exports,"useComponentLogs",{enumerable:!0,get:function(){return _ui().useComponentLogs}}),Object.defineProperty(exports,"useIdFromLocation",{enumerable:!0,get:function(){return _ui().useIdFromLocation}});function _component(){const data=__webpack_require__(42259);return _component=function(){return data},data}function _host(){const data=__webpack_require__(23384);return _host=function(){return data},data}function _component2(){const data=__webpack_require__(60195);return _component2=function(){return data},data}function _componentId(){const data=__webpack_require__(91526);return _componentId=function(){return data},data}function _componentFs(){const data=_interopRequireDefault(__webpack_require__(11846));return _componentFs=function(){return data},data}function _aspectEntry(){const data=__webpack_require__(69301);return _aspectEntry=function(){return data},data}function _snap(){const data=__webpack_require__(8801);return _snap=function(){return data},data}function _tag(){const data=__webpack_require__(13801);return _tag=function(){return data},data}function _state(){const data=__webpack_require__(49784);return _state=function(){return data},data}function _tagMap(){const data=__webpack_require__(50310);return _tagMap=function(){return data},data}function _componentMap(){const data=__webpack_require__(12178);return _componentMap=function(){return data},data}function _componentContext(){const data=__webpack_require__(48841);return _componentContext=function(){return data},data}function _context(){const data=__webpack_require__(58431);return _context=function(){return data},data}function _ui(){const data=__webpack_require__(4744);return _ui=function(){return data},data}function _menu(){const data=__webpack_require__(70820);return _menu=function(){return data},data}function _componentModel(){const data=__webpack_require__(77237);return _componentModel=function(){return data},data}function _topBarNav(){const data=__webpack_require__(82224);return _topBarNav=function(){return data},data}function _config(){const data=__webpack_require__(5075);return _config=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var _default=exports.default=_component().ComponentAspect},8801:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Snap=void 0;class Snap{constructor(hash,timestamp,parents,author,message){this.hash=hash,this.timestamp=timestamp,this.parents=parents,this.author=author,this.message=message}static fromObject(snapObject){const parents=snapObject.parents||[];return new Snap(snapObject.hash,new Date(parseInt(snapObject.timestamp)),parents,snapObject.author,snapObject.message)}toObject(){return{timestamp:this.timestamp.getTime().toString(),hash:this.hash,author:this.author,message:this.message,parents:this.parents}}}exports.Snap=Snap},49784:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.State=void 0;function _componentIssues(){const data=__webpack_require__(86853);return _componentIssues=function(){return data},data}function _componentId(){const data=__webpack_require__(91526);return _componentId=function(){return data},data}function _exceptions(){const data=__webpack_require__(54428);return _exceptions=function(){return data},data}class State{constructor(config,_aspects,filesystem,dependencies,_consumer){this.config=config,this._aspects=_aspects,this.filesystem=filesystem,this.dependencies=dependencies,this._consumer=_consumer}get mainFile(){const file=this.filesystem.files.find(componentFile=>componentFile.relative===this._consumer.mainFile);if(!file)throw new(_exceptions()).MainFileNotFound(_componentId().ComponentID.fromLegacy(this._consumer.id),this._consumer.mainFile);return file}get hash(){return""}get issues(){return this._consumer.issues||=new(_componentIssues()).IssuesList}get isModified(){return this._consumer._isModified}get aspects(){return this._aspects}set aspects(aspects){this._aspects=aspects}}exports.State=State},50310:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.TagMap=void 0;function _pkgModules(){const data=__webpack_require__(27580);return _pkgModules=function(){return data},data}function _semver(){const data=__webpack_require__(9131);return _semver=function(){return data},data}function _exceptions(){const data=__webpack_require__(54428);return _exceptions=function(){return data},data}class TagMap extends Map{byHash(hash){return Array.from(this.values()).find(currTag=>currTag.hash===hash)}getPreReleaseLatestTags(){const preReleaseTagsWithAllVersions=this.toArray().reduce((acc,current)=>{const preReleases=current.version.prerelease;return!preReleases.length||preReleases.length!==2||typeof preReleases[0]!="string"||(acc[preReleases[0]]||=[]).push(current.version.raw),acc},{});return Object.keys(preReleaseTagsWithAllVersions).reduce((acc,current)=>(acc[current]=(0,_semver().maxSatisfying)(preReleaseTagsWithAllVersions[current],"*",{includePrerelease:!0}),acc),{})}getHashMap(){const res=new Map;return this.forEach(tag=>{res.set(tag.hash,tag)}),res}getLatest(){const versions=this.toArray().map(tag=>tag.version.raw);if(this.isEmpty())throw new(_exceptions()).CouldNotFindLatest(versions);return(0,_pkgModules().getLatestVersion)(versions)}isEmpty(){return this.size===0}toArray(){return Array.from(this.values())}byVersion(version){return this.toArray().map(tag=>tag).find(tag=>tag.version.raw===version)}static fromArray(tags){const tuples=tags.map(tag=>[tag.version,tag]);return new TagMap(tuples)}static empty(){return new TagMap}}exports.TagMap=TagMap},47769:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"Tag",{enumerable:!0,get:function(){return _tag().Tag}});function _tag(){const data=__webpack_require__(13801);return _tag=function(){return data},data}},13801:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tag=void 0;function _semver(){const data=__webpack_require__(9131);return _semver=function(){return data},data}class Tag{constructor(hash,version){this.hash=hash,this.version=version}toObject(){return{hash:this.hash,version:this.version.raw}}static fromObject(tag){return new Tag(tag.hash,new(_semver()).SemVer(tag.version))}}exports.Tag=Tag},6315:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentError=void 0;function _react(){const data=_interopRequireDefault(__webpack_require__(59496));return _react=function(){return data},data}function _designUiPages(){const data=__webpack_require__(20459);return _designUiPages=function(){return data},data}function _designUiPages2(){const data=__webpack_require__(92751);return _designUiPages2=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class ComponentError{constructor(code,message){this.code=code,this.message=message}renderError(){return this.code===404?_react().default.createElement(_designUiPages().NotFoundPage,null):_react().default.createElement(_designUiPages2().ServerErrorPage,null)}}exports.ComponentError=ComponentError},70145:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"ComponentError",{enumerable:!0,get:function(){return _componentError().ComponentError}});function _componentError(){const data=__webpack_require__(6315);return _componentError=function(){return data},data}},46265:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentModel=void 0;function _compositions(){const data=__webpack_require__(32552);return _compositions=function(){return data},data}function _componentId(){const data=__webpack_require__(91526);return _componentId=function(){return data},data}function _tag(){const data=__webpack_require__(47769);return _tag=function(){return data},data}function _tagMap(){const data=__webpack_require__(50310);return _tagMap=function(){return data},data}class ComponentModel{constructor(id,displayName,packageName,server,compositions,tags,buildStatus,issuesCount,status,deprecation,environment,description="",labels=[],host,size,latest,preview,logs){this.id=id,this.displayName=displayName,this.packageName=packageName,this.server=server,this.compositions=compositions,this.tags=tags,this.buildStatus=buildStatus,this.issuesCount=issuesCount,this.status=status,this.deprecation=deprecation,this.environment=environment,this.description=description,this.labels=labels,this.host=host,this.size=size,this.latest=latest,this.preview=preview,this.logs=logs}get version(){return this.id.version?this.id.version:"new"}static from({id,server,displayName,compositions=[],packageName,tags=[],deprecation,buildStatus,env,status,issuesCount,description,labels,host,latest,preview,size,logs}){return new ComponentModel(_componentId().ComponentID.fromObject(id),displayName,packageName,server,_compositions().Composition.fromArray(compositions),_tagMap().TagMap.fromArray(tags.map(tag=>_tag().Tag.fromObject(tag))),buildStatus,issuesCount,status,deprecation,env,description,labels,host,size,latest,preview,logs?.map(log=>log??{hash:"[error]",tag:"[error]",message:"",parents:[]}))}static fromArray(componentsProps){return componentsProps.map(rawComponent=>ComponentModel.from(rawComponent))}static empty(){return new ComponentModel(_componentId().ComponentID.fromObject({name:"root",scope:"temp"}),"","",{env:"",url:""},[],_tagMap().TagMap.empty())}}exports.ComponentModel=ComponentModel},77237:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"ComponentModel",{enumerable:!0,get:function(){return _componentModel().ComponentModel}}),Object.defineProperty(exports,"ComponentModelProps",{enumerable:!0,get:function(){return _componentModel().ComponentModelProps}});function _componentModel(){const data=__webpack_require__(46265);return _componentModel=function(){return data},data}},34146:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Component=Component;function _react(){const data=_interopRequireWildcard(__webpack_require__(59496));return _react=function(){return data},data}function _lodash(){const data=_interopRequireDefault(__webpack_require__(11549));return _lodash=function(){return data},data}function _uiFoundationUiReactRouter(){const data=__webpack_require__(24681);return _uiFoundationUiReactRouter=function(){return data},data}function _lodash2(){const data=__webpack_require__(32699);return _lodash2=function(){return data},data}function _context(){const data=__webpack_require__(58431);return _context=function(){return data},data}function _useComponent(){const data=__webpack_require__(21268);return _useComponent=function(){return data},data}function _useComponentFromLocation(){const data=__webpack_require__(39646);return _useComponentFromLocation=function(){return data},data}function _(){const data=__webpack_require__(68211);return _=function(){return data},data}function _componentModule(){const data=_interopRequireDefault(__webpack_require__(42058));return _componentModule=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r2){return Object.getOwnPropertyDescriptor(e,r2).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r2){_defineProperty(e,r2,t[r2])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r2){Object.defineProperty(e,r2,Object.getOwnPropertyDescriptor(t,r2))})}return e}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return typeof i=="symbol"?i:i+""}function _toPrimitive(t,r){if(typeof t!="object"||!t)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var i=e.call(t,r||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function getComponentIdStr(componentIdStr){return(0,_lodash2().isFunction)(componentIdStr)?componentIdStr():componentIdStr}function Component({routeSlot,overriddenRoutes,containerSlot,host,onComponentChange,componentIdStr,useComponent,path,useComponentFilters}){const idFromLocation=(0,_useComponentFromLocation().useIdFromLocation)(),componentIdStrWithScopeFromLocation=(0,_useComponentFromLocation().useIdFromLocation)(void 0,!0),_componentIdStr=getComponentIdStr(componentIdStr),componentId=_componentIdStr?_().ComponentID.fromString(_componentIdStr):void 0,resolvedComponentIdStr=path||idFromLocation,componentFiltersFromProps=useComponentFilters?.()||{},useComponentOptions={logFilters:_objectSpread(_objectSpread({},componentFiltersFromProps),componentFiltersFromProps.loading?{}:{log:_objectSpread({},componentFiltersFromProps.log)}),customUseComponent:useComponent},{component,componentDescriptor,error}=(0,_useComponent().useComponent)(host,componentId?.toString()||componentIdStrWithScopeFromLocation,useComponentOptions);(0,_react().useEffect)(()=>onComponentChange?.(component),[component]),(0,_react().useEffect)(()=>()=>onComponentChange?.(void 0),[]);const pageItems=(0,_react().useMemo)(()=>(0,_lodash().default)(containerSlot?.values()),[containerSlot]),before=(0,_react().useMemo)(()=>pageItems.filter(x=>x.type==="before").map(x=>x.content),[pageItems]),after=(0,_react().useMemo)(()=>pageItems.filter(x=>x.type==="after").map(x=>x.content),[pageItems]);return error?error?.renderError():component?_react().default.createElement(_context().ComponentDescriptorProvider,{componentDescriptor},_react().default.createElement(_context().ComponentProvider,{component},before,_react().default.createElement("div",{className:_componentModule().default.container},routeSlot&&_react().default.createElement(_uiFoundationUiReactRouter().SlotRouter,{parentPath:`${resolvedComponentIdStr}/*`,slot:routeSlot,routes:overriddenRoutes})),after)):_react().default.createElement("div",null)}},48841:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useComponentDescriptor=exports.ComponentDescriptorContext=exports.ComponentContext=void 0;function _react(){const data=__webpack_require__(59496);return _react=function(){return data},data}function _componentModel(){const data=__webpack_require__(77237);return _componentModel=function(){return data},data}const ComponentContext=exports.ComponentContext=(0,_react().createContext)(_componentModel().ComponentModel.empty()),ComponentDescriptorContext=exports.ComponentDescriptorContext=(0,_react().createContext)(void 0),useComponentDescriptor=()=>(0,_react().useContext)(ComponentDescriptorContext);exports.useComponentDescriptor=useComponentDescriptor},9994:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentDescriptorProvider=ComponentDescriptorProvider,exports.ComponentProvider=ComponentProvider;function _react(){const data=_interopRequireDefault(__webpack_require__(59496));return _react=function(){return data},data}function _componentContext(){const data=__webpack_require__(48841);return _componentContext=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function ComponentProvider({component,children}){return _react().default.createElement(_componentContext().ComponentContext.Provider,{value:component},children)}function ComponentDescriptorProvider({componentDescriptor,children}){return _react().default.createElement(_componentContext().ComponentDescriptorContext.Provider,{value:componentDescriptor},children)}},58431:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"ComponentContext",{enumerable:!0,get:function(){return _componentContext().ComponentContext}}),Object.defineProperty(exports,"ComponentDescriptorContext",{enumerable:!0,get:function(){return _componentContext().ComponentDescriptorContext}}),Object.defineProperty(exports,"ComponentDescriptorProvider",{enumerable:!0,get:function(){return _componentProvider().ComponentDescriptorProvider}}),Object.defineProperty(exports,"ComponentProvider",{enumerable:!0,get:function(){return _componentProvider().ComponentProvider}}),Object.defineProperty(exports,"useComponentDescriptor",{enumerable:!0,get:function(){return _componentContext().useComponentDescriptor}});function _componentContext(){const data=__webpack_require__(48841);return _componentContext=function(){return data},data}function _componentProvider(){const data=__webpack_require__(9994);return _componentProvider=function(){return data},data}},4744:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"COMPONENT_QUERY_LOG_FIELDS",{enumerable:!0,get:function(){return _useComponent2().COMPONENT_QUERY_LOG_FIELDS}}),Object.defineProperty(exports,"CollapsibleMenuNav",{enumerable:!0,get:function(){return _menu().CollapsibleMenuNav}}),Object.defineProperty(exports,"Component",{enumerable:!0,get:function(){return _component().Component}}),Object.defineProperty(exports,"ComponentContext",{enumerable:!0,get:function(){return _context().ComponentContext}}),Object.defineProperty(exports,"ComponentMenu",{enumerable:!0,get:function(){return _menu().ComponentMenu}}),Object.defineProperty(exports,"ComponentModel",{enumerable:!0,get:function(){return _componentModel().ComponentModel}}),Object.defineProperty(exports,"ComponentModelProps",{enumerable:!0,get:function(){return _componentModel().ComponentModelProps}}),Object.defineProperty(exports,"ComponentProvider",{enumerable:!0,get:function(){return _context().ComponentProvider}}),Object.defineProperty(exports,"ConsumeMethodSlot",{enumerable:!0,get:function(){return _menu().ConsumeMethodSlot}}),Object.defineProperty(exports,"GET_COMPONENT",{enumerable:!0,get:function(){return _useComponent2().GET_COMPONENT}}),Object.defineProperty(exports,"GET_COMPONENT_WITH_LOGS",{enumerable:!0,get:function(){return _useComponent2().GET_COMPONENT_WITH_LOGS}}),Object.defineProperty(exports,"MenuNavProps",{enumerable:!0,get:function(){return _menu().MenuNavProps}}),Object.defineProperty(exports,"TopBarNav",{enumerable:!0,get:function(){return _topBarNav().TopBarNav}}),Object.defineProperty(exports,"VersionRelatedDropdowns",{enumerable:!0,get:function(){return _menu().VersionRelatedDropdowns}}),Object.defineProperty(exports,"componentFields",{enumerable:!0,get:function(){return _useComponent2().componentFields}}),Object.defineProperty(exports,"componentFieldsWithLogs",{enumerable:!0,get:function(){return _useComponent2().componentFieldsWithLogs}}),Object.defineProperty(exports,"componentIdFields",{enumerable:!0,get:function(){return _useComponent2().componentIdFields}}),Object.defineProperty(exports,"componentOverviewFields",{enumerable:!0,get:function(){return _useComponent2().componentOverviewFields}}),Object.defineProperty(exports,"useComponent",{enumerable:!0,get:function(){return _useComponent().useComponent}}),Object.defineProperty(exports,"useComponentLogs",{enumerable:!0,get:function(){return _useComponentLogs().useComponentLogs}}),Object.defineProperty(exports,"useComponentQuery",{enumerable:!0,get:function(){return _useComponentQuery().useComponentQuery}}),Object.defineProperty(exports,"useIdFromLocation",{enumerable:!0,get:function(){return _useComponentFromLocation().useIdFromLocation}});function _menu(){const data=__webpack_require__(70820);return _menu=function(){return data},data}function _component(){const data=__webpack_require__(34146);return _component=function(){return data},data}function _componentModel(){const data=__webpack_require__(77237);return _componentModel=function(){return data},data}function _context(){const data=__webpack_require__(58431);return _context=function(){return data},data}function _topBarNav(){const data=__webpack_require__(82224);return _topBarNav=function(){return data},data}function _useComponent(){const data=__webpack_require__(21268);return _useComponent=function(){return data},data}function _useComponent2(){const data=__webpack_require__(86851);return _useComponent2=function(){return data},data}function _useComponentFromLocation(){const data=__webpack_require__(39646);return _useComponentFromLocation=function(){return data},data}function _useComponentQuery(){const data=__webpack_require__(62589);return _useComponentQuery=function(){return data},data}function _useComponentLogs(){const data=__webpack_require__(11129);return _useComponentLogs=function(){return data},data}},70820:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"CollapsibleMenuNav",{enumerable:!0,get:function(){return _menuNav().CollapsibleMenuNav}}),Object.defineProperty(exports,"ComponentMenu",{enumerable:!0,get:function(){return _menu().ComponentMenu}}),Object.defineProperty(exports,"MenuNavProps",{enumerable:!0,get:function(){return _menuNav().MenuNavProps}}),Object.defineProperty(exports,"RightSideMenuItem",{enumerable:!0,get:function(){return _menu().RightSideMenuItem}}),Object.defineProperty(exports,"RightSideMenuSlot",{enumerable:!0,get:function(){return _menu().RightSideMenuSlot}}),Object.defineProperty(exports,"VersionRelatedDropdowns",{enumerable:!0,get:function(){return _menu().VersionRelatedDropdowns}});function _menuNav(){const data=__webpack_require__(58072);return _menuNav=function(){return data},data}function _menu(){const data=__webpack_require__(23813);return _menu=function(){return data},data}},58072:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CollapsibleMenuNav=CollapsibleMenuNav;function _react(){const data=_interopRequireWildcard(__webpack_require__(59496));return _react=function(){return data},data}function _classnames(){const data=_interopRequireDefault(__webpack_require__(97754));return _classnames=function(){return data},data}function _designNavigation(){const data=__webpack_require__(50349);return _designNavigation=function(){return data},data}function _topBarNav(){const data=__webpack_require__(82224);return _topBarNav=function(){return data},data}function _menuModule(){const data=_interopRequireDefault(__webpack_require__(82769));return _menuModule=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r2){return Object.getOwnPropertyDescriptor(e,r2).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r2){_defineProperty(e,r2,t[r2])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r2){Object.defineProperty(e,r2,Object.getOwnPropertyDescriptor(t,r2))})}return e}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return typeof i=="symbol"?i:i+""}function _toPrimitive(t,r){if(typeof t!="object"||!t)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var i=e.call(t,r||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function _extends(){return _extends=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},_extends.apply(null,arguments)}function TopBarNavComponent({isInMenu,menuItemProps}){const widgetDisplayText=menuItemProps?.displayName&&isInMenu?menuItemProps?.displayName:void 0;return _react().default.createElement(_topBarNav().TopBarNav,_extends({},menuItemProps,{className:(0,_classnames().default)(menuItemProps?.className,_menuModule().default.topBarNav,isInMenu&&_menuModule().default.noBorder)}),widgetDisplayText||menuItemProps?.children)}function CollapsibleMenuNav({navigationSlot,widgetSlot,navPlugins=[],widgetPlugins=[],className,secondaryNavClassName,activeTabIndex,alwaysShowActiveTab,children}){const plugins=(0,_react().useMemo)(()=>((navPlugins.length>0?navPlugins:navigationSlot?.toArray())||[]).sort(sortFn),[navigationSlot,navPlugins]),widgets=(0,_react().useMemo)(()=>((widgetPlugins.length>0?widgetPlugins:widgetSlot?.toArray())||[]).sort(sortFn),[widgetSlot,widgetPlugins]),links=[...plugins,...widgets].map(([,menuItem],index)=>{const lastPluginStyle=plugins.length-1===index?{marginRight:"auto"}:{},firstWidgetStyle=plugins.length===index?{marginLeft:"auto"}:{};return{component:TopBarNavComponent,tabProps:{menuItemProps:menuItem.props},style:_objectSpread(_objectSpread({},firstWidgetStyle),lastPluginStyle),className:menuItem.props.className}});return _react().default.createElement(_designNavigation().ResponsiveNavbar,{navClassName:(0,_classnames().default)(_menuModule().default.tab,className),secondaryNavClassName,style:{width:"100%",height:"100%"},priority:"none",tabs:links,defaultActiveIndex:activeTabIndex,alwaysShowActiveTab},children)}function sortFn([,{order:first}],[,{order:second}]){return(first??0)-(second??0)}},23813:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentMenu=ComponentMenu,exports.VersionRelatedDropdowns=VersionRelatedDropdowns,exports.defaultLoadCurrentVersion=void 0,exports.defaultLoadVersions=defaultLoadVersions;function _react(){const data=_interopRequireWildcard(__webpack_require__(59496));return _react=function(){return data},data}function _reactRouterDom(){const data=__webpack_require__(441);return _reactRouterDom=function(){return data},data}function _classnames(){const data=_interopRequireDefault(__webpack_require__(97754));return _classnames=function(){return data},data}function _lodash(){const data=__webpack_require__(32699);return _lodash=function(){return data},data}function semver(){const data=_interopRequireWildcard(__webpack_require__(9131));return semver=function(){return data},data}function _componentUi(){const data=__webpack_require__(24636);return _componentUi=function(){return data},data}function _uiFoundationUi(){const data=__webpack_require__(69952);return _uiFoundationUi=function(){return data},data}function _componentId(){const data=__webpack_require__(91526);return _componentId=function(){return data},data}function _baseReactNavigation(){const data=__webpack_require__(76223);return _baseReactNavigation=function(){return data},data}function _uiFoundationUiUseBox(){const data=__webpack_require__(53179);return _uiFoundationUiUseBox=function(){return data},data}function _lanesHooks(){const data=__webpack_require__(33461);return _lanesHooks=function(){return data},data}function _uiFoundationUiUseBox2(){const data=__webpack_require__(87873);return _uiFoundationUiUseBox2=function(){return data},data}function _useComponent(){const data=__webpack_require__(21268);return _useComponent=function(){return data},data}function _menuNav(){const data=__webpack_require__(58072);return _menuNav=function(){return data},data}function _useComponentFromLocation(){const data=__webpack_require__(39646);return _useComponentFromLocation=function(){return data},data}function _menuModule(){const data=_interopRequireDefault(__webpack_require__(82769));return _menuModule=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r2){return Object.getOwnPropertyDescriptor(e,r2).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r2){_defineProperty(e,r2,t[r2])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r2){Object.defineProperty(e,r2,Object.getOwnPropertyDescriptor(t,r2))})}return e}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return typeof i=="symbol"?i:i+""}function _toPrimitive(t,r){if(typeof t!="object"||!t)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var i=e.call(t,r||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function getComponentIdStr(componentIdStr){return(0,_lodash().isFunction)(componentIdStr)?componentIdStr():componentIdStr}function ComponentMenu({navigationSlot,widgetSlot,className,host,menuItemSlot,consumeMethodSlot,rightSideMenuSlot,componentIdStr,skipRightSide,RightNode,useComponent,path,useComponentFilters}){const idFromLocation=(0,_useComponentFromLocation().useIdFromLocation)(),componentIdStrWithScopeFromLocation=(0,_useComponentFromLocation().useIdFromLocation)(void 0,!0),_componentIdStr=getComponentIdStr(componentIdStr),componentId=_componentIdStr?_componentId().ComponentID.fromString(_componentIdStr):void 0,resolvedComponentIdStr=path||idFromLocation,mainMenuItems=(0,_react().useMemo)(()=>(0,_lodash().groupBy)((0,_lodash().flatten)(menuItemSlot.values()),"category"),[menuItemSlot]),rightSideItems=(0,_react().useMemo)(()=>(0,_lodash().orderBy)((0,_lodash().flatten)(rightSideMenuSlot.values()),"order"),[rightSideMenuSlot]),componentFilters=useComponentFilters?.()||{},useComponentVersions=defaultLoadVersions(host,componentId?.toString()||componentIdStrWithScopeFromLocation,componentFilters,useComponent),RightSide=_react().default.createElement("div",{className:_menuModule().default.rightSide},RightNode||_react().default.createElement(_react().default.Fragment,null,_react().default.createElement(VersionRelatedDropdowns,{host,consumeMethods:consumeMethodSlot,componentId:componentId?.toString()||idFromLocation,useComponent:useComponentVersions,componentFilters}),rightSideItems.map(({item})=>item),_react().default.createElement(_uiFoundationUi().MainDropdown,{className:_menuModule().default.hideOnMobile,menuItems:mainMenuItems})));return _react().default.createElement(_reactRouterDom().Routes,null,_react().default.createElement(_reactRouterDom().Route,{path:`${resolvedComponentIdStr}/*`,element:_react().default.createElement("div",{className:(0,_classnames().default)(_menuModule().default.topBar,className)},_react().default.createElement("div",{className:_menuModule().default.leftSide},_react().default.createElement(_menuNav().CollapsibleMenuNav,{navigationSlot,widgetSlot})),!skipRightSide&&_react().default.createElement("div",{className:_menuModule().default.rightSide},RightSide))}))}function defaultLoadVersions(host,componentId,componentFilters={},useComponent,loadingFromProps){return _react().default.useCallback(_props=>{const{skip,initialLoad}=_props||{},fetchOptions={logFilters:_objectSpread(_objectSpread({},componentFilters),{},{log:_objectSpread(_objectSpread({},componentFilters.log),{},{limit:initialLoad?3:void 0})}),skip:loadingFromProps||skip,customUseComponent:useComponent},{component,loading:loadingComponent,componentLogs={}}=(0,_useComponent().useComponent)(host,componentId,fetchOptions),logs=componentLogs?.logs,loading=_react().default.useMemo(()=>loadingComponent||loadingFromProps||componentLogs.loading,[loadingComponent,loadingFromProps,componentLogs.loading]),snaps=(0,_react().useMemo)(()=>(logs||[]).filter(log=>!log.tag).map(snap=>_objectSpread(_objectSpread({},snap),{},{version:snap.hash})),[logs]),tags=(0,_react().useMemo)(()=>{const tagLookup=new Map;return(logs||[]).filter(log=>log.tag).forEach(tag=>{tagLookup.set(tag?.tag,tag)}),(0,_lodash().compact)((component?.tags?.toArray()||[]).reverse().map(tag=>tagLookup.get(tag.version.version))).map(tag=>_objectSpread(_objectSpread({},tag),{},{version:tag.tag}))},[logs]);return{loading,id:component?.id,packageName:component?.packageName,latestVersion:component?.latest,currentVersion:component?.version,snaps,tags,buildStatus:component?.buildStatus}},[componentId,loadingFromProps,componentFilters])}const defaultLoadCurrentVersion=props=>_props=>{const{skip,version:_version}=_props||{},{snaps,tags,currentVersion,loading}=props.useComponent?.({skip,id:props.componentId})??{},version=_version??currentVersion;return _react().default.useMemo(()=>semver().valid(version),[loading,version])?_react().default.useMemo(()=>tags?.find(tag=>tag.tag===version),[loading,tags?.length,version]):_react().default.useMemo(()=>snaps?.find(snap=>snap.version===version),[loading,snaps?.length,version])};exports.defaultLoadCurrentVersion=defaultLoadCurrentVersion;function VersionRelatedDropdowns(props){const updatedPropsWithDefaults=_objectSpread(_objectSpread({},props),{},{useLanes:props.useLanes??_lanesHooks().useLanes,dropdownOptions:_objectSpread(_objectSpread({},props.dropdownOptions),{},{showVersionDetails:props?.dropdownOptions?.showVersionDetails??!0})}),loadVersion=defaultLoadCurrentVersion(updatedPropsWithDefaults),{useLanes,consumeMethods,className,dropdownOptions,host}=updatedPropsWithDefaults,{loading,id,tags,snaps,latest,packageName,currentVersion:_currentVersion}=props.useComponent?.({initialLoad:!0})||{},location=(0,_baseReactNavigation().useLocation)(),{lanesModel}=useLanes(),lanes=id?lanesModel?.getLanesByComponentId(id)?.filter(lane=>!lane.id.isDefault())||[]:[],viewedLane=lanesModel?.viewedLane?.id&&!lanesModel?.viewedLane?.id.isDefault()?lanesModel.viewedLane:void 0,isWorkspace=host==="teambit.workspace/workspace",isNew=tags?.length===0&&snaps?.length===0,localVersion=isWorkspace&&!isNew&&(!viewedLane||lanesModel?.isViewingCurrentLane()),currentVersion=isWorkspace&&!isNew&&!location?.search.includes("version")?"workspace":_currentVersion??"",consumeMethodProps=_react().default.useMemo(()=>id?{id,packageName:packageName??"",latest,options:{viewedLane,disableInstall:!packageName}}:void 0,[id,packageName,latest,viewedLane]),methods=useConsumeMethods(consumeMethods,consumeMethodProps),hasMethods=methods?.length>0;return _react().default.createElement(_react().default.Fragment,null,consumeMethods&&id&&hasMethods&&_react().default.createElement(_uiFoundationUiUseBox().UseBoxDropdown,{position:"bottom-end",className:(0,_classnames().default)(_menuModule().default.useBox,_menuModule().default.hideOnMobile),Menu:_react().default.createElement(_uiFoundationUiUseBox2().Menu,{methods,componentName:id.name})}),_react().default.createElement(_componentUi().VersionDropdown,{lanes,loading,useComponentVersions:props.useComponent,hasMoreVersions:!isNew,useCurrentVersionLog:loadVersion,localVersion,currentVersion,latestVersion:latest,currentLane:viewedLane,className,menuClassName:_menuModule().default.componentVersionMenu,getActiveTabIndex:dropdownOptions?.getActiveTabIndex,showVersionDetails:dropdownOptions?.showVersionDetails}))}function useConsumeMethods(consumeMethods,consumePluginProps){return(0,_react().useMemo)(()=>(0,_lodash().flatten)(consumeMethods?.values()).map(method=>{if(!!consumePluginProps)return method?.(consumePluginProps)}).filter(x=>!!x&&x.Component&&x.Title),[consumeMethods,consumePluginProps])}},82224:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _topBarNav=__webpack_require__(13264);Object.keys(_topBarNav).forEach(function(key){key==="default"||key==="__esModule"||key in exports&&exports[key]===_topBarNav[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _topBarNav[key]}})})},13264:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.TopBarNav=TopBarNav;function _react(){const data=_interopRequireDefault(__webpack_require__(59496));return _react=function(){return data},data}function _classnames(){const data=_interopRequireDefault(__webpack_require__(97754));return _classnames=function(){return data},data}function _reactRouterDom(){const data=__webpack_require__(441);return _reactRouterDom=function(){return data},data}function _baseReactNavigation(){const data=__webpack_require__(76223);return _baseReactNavigation=function(){return data},data}function _topBarNavModule(){const data=_interopRequireDefault(__webpack_require__(37987));return _topBarNavModule=function(){return data},data}const _excluded=["href","className","activeClassName","children","displayName","ignoreQueryParams"];function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _extends(){return _extends=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},_extends.apply(null,arguments)}function _objectWithoutProperties(e,t){if(e==null)return{};var o,r,i=_objectWithoutPropertiesLoose(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)o=s[r],t.includes(o)||{}.propertyIsEnumerable.call(e,o)&&(i[o]=e[o])}return i}function _objectWithoutPropertiesLoose(r,e){if(r==null)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(e.includes(n))continue;t[n]=r[n]}return t}const Link=_baseReactNavigation().Link;function TopBarNav(_ref){let{href,className,activeClassName,children,displayName,ignoreQueryParams}=_ref,rest=_objectWithoutProperties(_ref,_excluded);const{search}=(0,_reactRouterDom().useLocation)(),preventPassingDisplayNameToLink=displayName,target=href&&!ignoreQueryParams&&`${href}${search}`||href;return _react().default.createElement(Link,_extends({},rest,{className:(0,_classnames().default)(className,_topBarNavModule().default.topBarLink),activeClassName:(0,_classnames().default)(activeClassName,_topBarNavModule().default.active),href:target}),_react().default.createElement("div",null,children))}},39646:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useIdFromLocation=useIdFromLocation;function _reactRouterDom(){const data=__webpack_require__(441);return _reactRouterDom=function(){return data},data}const componentRegex=/^[\w/-]*[\w-]/;function useIdFromLocation(url,deriveScopeFromSearchParams){const params=(0,_reactRouterDom().useParams)(),[searchParams]=(0,_reactRouterDom().useSearchParams)(),scopeFromQueryParams=searchParams.get("scope")??void 0,splat=url||params["*"];if(!splat)return;const[maybeOrgWithScope,...maybeFullName]=splat.split("/"),hasScope=maybeOrgWithScope.split(".").length>1,fullNameFromUrl=hasScope?maybeFullName.join("/"):splat;let scope;hasScope&&(scope=maybeOrgWithScope),!hasScope&&deriveScopeFromSearchParams&&(scope=scopeFromQueryParams);const match=componentRegex.exec(fullNameFromUrl);if(!!match?.[0])return scope?`${scope}/${match[0]}`:match[0]}},11129:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useComponentLogs=useComponentLogs,exports.useComponentLogsInit=useComponentLogsInit;function _react(){const data=__webpack_require__(59496);return _react=function(){return data},data}function _uiFoundationUiHooks(){const data=__webpack_require__(97857);return _uiFoundationUiHooks=function(){return data},data}function _useComponent(){const data=__webpack_require__(86851);return _useComponent=function(){return data},data}function _componentError(){const data=__webpack_require__(70145);return _componentError=function(){return data},data}function _useComponent2(){const data=__webpack_require__(12645);return _useComponent2=function(){return data},data}function _(){const data=__webpack_require__(68211);return _=function(){return data},data}function useComponentLogs(componentId,host,filters,skipFromProps){const{variables,skip}=useComponentLogsInit(componentId,host,filters,skipFromProps),{data,error,loading}=(0,_uiFoundationUiHooks().useDataQuery)(_useComponent().GET_COMPONENT_WITH_LOGS,{variables,skip,errorPolicy:"all"}),rawComponent=data?.getHost?.get,rawCompLogs=rawComponent?.logs,componentError=error&&!data?new(_componentError()).ComponentError(500,error.message):!rawComponent&&!loading&&new(_componentError()).ComponentError(404)||void 0,idDepKey=rawComponent?.id?`${rawComponent?.id?.scope}/${rawComponent?.id?.name}@${rawComponent?.id?.version}}`:void 0,id=(0,_react().useMemo)(()=>rawComponent?_().ComponentID.fromObject(rawComponent.id):void 0,[idDepKey]);return{loading,id,packageName:rawComponent?.packageName,latest:rawComponent?.latest,error:componentError,componentLogs:{logs:rawCompLogs,loading}}}function useComponentLogsInit(componentId,host,filters,skip){const{log}=filters||{},{head:logHead,offset:logOffset,sort:logSort,limit:logLimit,type:logType,takeHeadFromComponent:logTakeHeadFromComponent}=log||{},variables={id:componentId,extensionId:host,logOffset:(0,_useComponent2().getOffsetValue)(logOffset,logLimit),logLimit,logType,logHead,logSort,logTakeHeadFromComponent};return{logOffset,variables,skip}}},62589:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useComponentQuery=useComponentQuery;function _react(){const data=__webpack_require__(59496);return _react=function(){return data},data}function _uiFoundationUiHooks(){const data=__webpack_require__(97857);return _uiFoundationUiHooks=function(){return data},data}function _componentId(){const data=__webpack_require__(91526);return _componentId=function(){return data},data}function _componentDescriptor(){const data=__webpack_require__(57984);return _componentDescriptor=function(){return data},data}function _componentModel(){const data=__webpack_require__(77237);return _componentModel=function(){return data},data}function _useComponent(){const data=__webpack_require__(86851);return _useComponent=function(){return data},data}function _useComponentLogs(){const data=__webpack_require__(11129);return _useComponentLogs=function(){return data},data}function _componentError(){const data=__webpack_require__(70145);return _componentError=function(){return data},data}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r2){return Object.getOwnPropertyDescriptor(e,r2).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r2){_defineProperty(e,r2,t[r2])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r2){Object.defineProperty(e,r2,Object.getOwnPropertyDescriptor(t,r2))})}return e}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return typeof i=="symbol"?i:i+""}function _toPrimitive(t,r){if(typeof t!="object"||!t)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var i=e.call(t,r||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function useComponentQuery(componentId,host,filters,skip){const idRef=(0,_react().useRef)(componentId);idRef.current=componentId;const variables={id:componentId,extensionId:host},{data,error,loading,subscribeToMore}=(0,_uiFoundationUiHooks().useDataQuery)(_useComponent().GET_COMPONENT,{variables,skip,errorPolicy:"all"}),{loading:loadingLogs,componentLogs:{logs}={}}=(0,_useComponentLogs().useComponentLogs)(componentId,host,filters,skip),rawComponent=data?.getHost?.get;(0,_react().useEffect)(()=>{if(host!=="teambit.workspace/workspace")return()=>{};const unsubAddition=subscribeToMore({document:_useComponent().SUB_SUBSCRIPTION_ADDED,updateQuery:(prev,{subscriptionData})=>{const prevComponent=prev?.getHost?.get,addedComponent=subscriptionData?.data?.componentAdded?.component;return!addedComponent||prevComponent?prev:idRef.current===addedComponent.id.name?_objectSpread(_objectSpread({},prev),{},{getHost:_objectSpread(_objectSpread({},prev.getHost),{},{get:addedComponent})}):prev}}),unsubChanges=subscribeToMore({document:_useComponent().SUB_COMPONENT_CHANGED,updateQuery:(prev,{subscriptionData})=>{if(!subscriptionData.data)return prev;const prevComponent=prev?.getHost?.get,updatedComponent=subscriptionData?.data?.componentChanged?.component;return updatedComponent&&_componentId().ComponentID.isEqualObj(prevComponent?.id,updatedComponent?.id)?_objectSpread(_objectSpread({},prev),{},{getHost:_objectSpread(_objectSpread({},prev.getHost),{},{get:updatedComponent})}):prev}}),unsubRemoval=subscribeToMore({document:_useComponent().SUB_COMPONENT_REMOVED,updateQuery:(prev,{subscriptionData})=>{if(!subscriptionData.data)return prev;const prevComponent=prev?.getHost?.get,removedIds=subscriptionData?.data?.componentRemoved?.componentIds;return!prevComponent||!removedIds?.length?prev:removedIds.some(removedId=>_componentId().ComponentID.isEqualObj(removedId,prevComponent.id))?_objectSpread(_objectSpread({},prev),{},{getHost:_objectSpread(_objectSpread({},prev.getHost),{},{get:null})}):prev}});return()=>{unsubChanges(),unsubAddition(),unsubRemoval()}},[]);const idDepKey=rawComponent?.id?`${rawComponent?.id?.scope}/${rawComponent?.id?.name}@${rawComponent?.id?.version}}`:void 0,id=(0,_react().useMemo)(()=>rawComponent?_componentId().ComponentID.fromObject(rawComponent.id):void 0,[idDepKey]),componentError=error&&!data?new(_componentError()).ComponentError(500,error.message):!rawComponent&&!loading&&new(_componentError()).ComponentError(404)||void 0,component=(0,_react().useMemo)(()=>rawComponent?_componentModel().ComponentModel.from(_objectSpread(_objectSpread({},rawComponent),{},{host,logs})):void 0,[id?.toString(),logs]),componentDescriptor=(0,_react().useMemo)(()=>{const aspectList={entries:rawComponent?.aspects.map(aspectObject=>_objectSpread(_objectSpread({},aspectObject),{},{aspectId:aspectObject.id,aspectData:aspectObject.data}))};return id?_componentDescriptor().ComponentDescriptor.fromObject({id:id.toString(),aspectList}):void 0},[id?.toString()]);return(0,_react().useMemo)(()=>({componentDescriptor,component,componentLogs:{loading:loadingLogs,logs},error:componentError||void 0,loading}),[host,component,componentDescriptor,componentError])}},86851:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.componentOverviewFields=exports.componentIdFields=exports.componentFieldsWithLogs=exports.componentFields=exports.SUB_SUBSCRIPTION_ADDED=exports.SUB_COMPONENT_REMOVED=exports.SUB_COMPONENT_CHANGED=exports.GET_COMPONENT_WITH_LOGS=exports.GET_COMPONENT=exports.COMPONENT_QUERY_LOG_FIELDS=void 0;function _client(){const data=__webpack_require__(47094);return _client=function(){return data},data}const componentIdFields=exports.componentIdFields=(0,_client().gql)`
393
+ `;function useComponentHost(){const{data,loading}=(0,_uiFoundationUiHooks().useDataQuery)(COMPONENT_HOST);return!data||loading?{}:{host:_componentHostModel().ComponentHostModel.from(data)}}},68211:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"AspectData",{enumerable:!0,get:function(){return _aspectEntry().AspectData}}),Object.defineProperty(exports,"AspectEntry",{enumerable:!0,get:function(){return _aspectEntry().AspectEntry}}),Object.defineProperty(exports,"CollapsibleMenuNav",{enumerable:!0,get:function(){return _menu().CollapsibleMenuNav}}),Object.defineProperty(exports,"Component",{enumerable:!0,get:function(){return _component2().Component}}),Object.defineProperty(exports,"ComponentAspect",{enumerable:!0,get:function(){return _component().ComponentAspect}}),Object.defineProperty(exports,"ComponentContext",{enumerable:!0,get:function(){return _componentContext().ComponentContext}}),Object.defineProperty(exports,"ComponentDescriptorContext",{enumerable:!0,get:function(){return _componentContext().ComponentDescriptorContext}}),Object.defineProperty(exports,"ComponentDescriptorProvider",{enumerable:!0,get:function(){return _context().ComponentDescriptorProvider}}),Object.defineProperty(exports,"ComponentFS",{enumerable:!0,get:function(){return _componentFs().default}}),Object.defineProperty(exports,"ComponentID",{enumerable:!0,get:function(){return _componentId().ComponentID}}),Object.defineProperty(exports,"ComponentLogsResult",{enumerable:!0,get:function(){return _ui().ComponentLogsResult}}),Object.defineProperty(exports,"ComponentMap",{enumerable:!0,get:function(){return _componentMap().ComponentMap}}),Object.defineProperty(exports,"ComponentMenu",{enumerable:!0,get:function(){return _menu().ComponentMenu}}),Object.defineProperty(exports,"ComponentModel",{enumerable:!0,get:function(){return _componentModel().ComponentModel}}),Object.defineProperty(exports,"ComponentProvider",{enumerable:!0,get:function(){return _context().ComponentProvider}}),Object.defineProperty(exports,"Config",{enumerable:!0,get:function(){return _config().Config}}),Object.defineProperty(exports,"Filters",{enumerable:!0,get:function(){return _ui().Filters}}),Object.defineProperty(exports,"InvalidComponent",{enumerable:!0,get:function(){return _component2().InvalidComponent}}),Object.defineProperty(exports,"ResolveComponentIdFunc",{enumerable:!0,get:function(){return _aspectEntry().ResolveComponentIdFunc}}),Object.defineProperty(exports,"Snap",{enumerable:!0,get:function(){return _snap().Snap}}),Object.defineProperty(exports,"SnapProps",{enumerable:!0,get:function(){return _snap().SnapProps}}),Object.defineProperty(exports,"State",{enumerable:!0,get:function(){return _state().State}}),Object.defineProperty(exports,"Tag",{enumerable:!0,get:function(){return _tag().Tag}}),Object.defineProperty(exports,"TagMap",{enumerable:!0,get:function(){return _tagMap().TagMap}}),Object.defineProperty(exports,"TagProps",{enumerable:!0,get:function(){return _tag().TagProps}}),Object.defineProperty(exports,"TopBarNav",{enumerable:!0,get:function(){return _topBarNav().TopBarNav}}),Object.defineProperty(exports,"VersionRelatedDropdowns",{enumerable:!0,get:function(){return _menu().VersionRelatedDropdowns}}),Object.defineProperty(exports,"componentFields",{enumerable:!0,get:function(){return _ui().componentFields}}),Object.defineProperty(exports,"componentIdFields",{enumerable:!0,get:function(){return _ui().componentIdFields}}),Object.defineProperty(exports,"componentOverviewFields",{enumerable:!0,get:function(){return _ui().componentOverviewFields}}),exports.default=void 0,Object.defineProperty(exports,"useComponent",{enumerable:!0,get:function(){return _ui().useComponent}}),Object.defineProperty(exports,"useComponentDescriptor",{enumerable:!0,get:function(){return _componentContext().useComponentDescriptor}}),Object.defineProperty(exports,"useComponentHost",{enumerable:!0,get:function(){return _host().useComponentHost}}),Object.defineProperty(exports,"useComponentLogs",{enumerable:!0,get:function(){return _ui().useComponentLogs}}),Object.defineProperty(exports,"useIdFromLocation",{enumerable:!0,get:function(){return _ui().useIdFromLocation}});function _component(){const data=__webpack_require__(42259);return _component=function(){return data},data}function _host(){const data=__webpack_require__(23384);return _host=function(){return data},data}function _component2(){const data=__webpack_require__(60195);return _component2=function(){return data},data}function _componentId(){const data=__webpack_require__(91526);return _componentId=function(){return data},data}function _componentFs(){const data=_interopRequireDefault(__webpack_require__(11846));return _componentFs=function(){return data},data}function _aspectEntry(){const data=__webpack_require__(69301);return _aspectEntry=function(){return data},data}function _snap(){const data=__webpack_require__(8801);return _snap=function(){return data},data}function _tag(){const data=__webpack_require__(13801);return _tag=function(){return data},data}function _state(){const data=__webpack_require__(49784);return _state=function(){return data},data}function _tagMap(){const data=__webpack_require__(50310);return _tagMap=function(){return data},data}function _componentMap(){const data=__webpack_require__(12178);return _componentMap=function(){return data},data}function _componentContext(){const data=__webpack_require__(48841);return _componentContext=function(){return data},data}function _context(){const data=__webpack_require__(58431);return _context=function(){return data},data}function _ui(){const data=__webpack_require__(4744);return _ui=function(){return data},data}function _menu(){const data=__webpack_require__(70820);return _menu=function(){return data},data}function _componentModel(){const data=__webpack_require__(77237);return _componentModel=function(){return data},data}function _topBarNav(){const data=__webpack_require__(57655);return _topBarNav=function(){return data},data}function _config(){const data=__webpack_require__(5075);return _config=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var _default=exports.default=_component().ComponentAspect},8801:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Snap=void 0;class Snap{constructor(hash,timestamp,parents,author,message){this.hash=hash,this.timestamp=timestamp,this.parents=parents,this.author=author,this.message=message}static fromObject(snapObject){const parents=snapObject.parents||[];return new Snap(snapObject.hash,new Date(parseInt(snapObject.timestamp)),parents,snapObject.author,snapObject.message)}toObject(){return{timestamp:this.timestamp.getTime().toString(),hash:this.hash,author:this.author,message:this.message,parents:this.parents}}}exports.Snap=Snap},49784:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.State=void 0;function _componentIssues(){const data=__webpack_require__(86853);return _componentIssues=function(){return data},data}function _componentId(){const data=__webpack_require__(91526);return _componentId=function(){return data},data}function _exceptions(){const data=__webpack_require__(54428);return _exceptions=function(){return data},data}class State{constructor(config,_aspects,filesystem,dependencies,_consumer){this.config=config,this._aspects=_aspects,this.filesystem=filesystem,this.dependencies=dependencies,this._consumer=_consumer}get mainFile(){const file=this.filesystem.files.find(componentFile=>componentFile.relative===this._consumer.mainFile);if(!file)throw new(_exceptions()).MainFileNotFound(_componentId().ComponentID.fromLegacy(this._consumer.id),this._consumer.mainFile);return file}get hash(){return""}get issues(){return this._consumer.issues||=new(_componentIssues()).IssuesList}get isModified(){return this._consumer._isModified}get aspects(){return this._aspects}set aspects(aspects){this._aspects=aspects}}exports.State=State},50310:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.TagMap=void 0;function _pkgModules(){const data=__webpack_require__(27580);return _pkgModules=function(){return data},data}function _semver(){const data=__webpack_require__(9131);return _semver=function(){return data},data}function _exceptions(){const data=__webpack_require__(54428);return _exceptions=function(){return data},data}class TagMap extends Map{byHash(hash){return Array.from(this.values()).find(currTag=>currTag.hash===hash)}getPreReleaseLatestTags(){const preReleaseTagsWithAllVersions=this.toArray().reduce((acc,current)=>{const preReleases=current.version.prerelease;return!preReleases.length||preReleases.length!==2||typeof preReleases[0]!="string"||(acc[preReleases[0]]||=[]).push(current.version.raw),acc},{});return Object.keys(preReleaseTagsWithAllVersions).reduce((acc,current)=>(acc[current]=(0,_semver().maxSatisfying)(preReleaseTagsWithAllVersions[current],"*",{includePrerelease:!0}),acc),{})}getHashMap(){const res=new Map;return this.forEach(tag=>{res.set(tag.hash,tag)}),res}getLatest(){const versions=this.toArray().map(tag=>tag.version.raw);if(this.isEmpty())throw new(_exceptions()).CouldNotFindLatest(versions);return(0,_pkgModules().getLatestVersion)(versions)}isEmpty(){return this.size===0}toArray(){return Array.from(this.values())}byVersion(version){return this.toArray().map(tag=>tag).find(tag=>tag.version.raw===version)}static fromArray(tags){const tuples=tags.map(tag=>[tag.version,tag]);return new TagMap(tuples)}static empty(){return new TagMap}}exports.TagMap=TagMap},47769:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"Tag",{enumerable:!0,get:function(){return _tag().Tag}});function _tag(){const data=__webpack_require__(13801);return _tag=function(){return data},data}},13801:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tag=void 0;function _semver(){const data=__webpack_require__(9131);return _semver=function(){return data},data}class Tag{constructor(hash,version){this.hash=hash,this.version=version}toObject(){return{hash:this.hash,version:this.version.raw}}static fromObject(tag){return new Tag(tag.hash,new(_semver()).SemVer(tag.version))}}exports.Tag=Tag},6315:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentError=void 0;function _react(){const data=_interopRequireDefault(__webpack_require__(59496));return _react=function(){return data},data}function _designUiPages(){const data=__webpack_require__(20459);return _designUiPages=function(){return data},data}function _designUiPages2(){const data=__webpack_require__(92751);return _designUiPages2=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class ComponentError{constructor(code,message){this.code=code,this.message=message}renderError(){return this.code===404?_react().default.createElement(_designUiPages().NotFoundPage,null):_react().default.createElement(_designUiPages2().ServerErrorPage,null)}}exports.ComponentError=ComponentError},70145:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"ComponentError",{enumerable:!0,get:function(){return _componentError().ComponentError}});function _componentError(){const data=__webpack_require__(6315);return _componentError=function(){return data},data}},46265:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentModel=void 0;function _compositions(){const data=__webpack_require__(32552);return _compositions=function(){return data},data}function _componentId(){const data=__webpack_require__(91526);return _componentId=function(){return data},data}function _tag(){const data=__webpack_require__(47769);return _tag=function(){return data},data}function _tagMap(){const data=__webpack_require__(50310);return _tagMap=function(){return data},data}class ComponentModel{constructor(id,displayName,packageName,server,compositions,tags,buildStatus,issuesCount,status,deprecation,environment,description="",labels=[],host,size,latest,preview,logs){this.id=id,this.displayName=displayName,this.packageName=packageName,this.server=server,this.compositions=compositions,this.tags=tags,this.buildStatus=buildStatus,this.issuesCount=issuesCount,this.status=status,this.deprecation=deprecation,this.environment=environment,this.description=description,this.labels=labels,this.host=host,this.size=size,this.latest=latest,this.preview=preview,this.logs=logs}get version(){return this.id.version?this.id.version:"new"}static from({id,server,displayName,compositions=[],packageName,tags=[],deprecation,buildStatus,env,status,issuesCount,description,labels,host,latest,preview,size,logs}){return new ComponentModel(_componentId().ComponentID.fromObject(id),displayName,packageName,server,_compositions().Composition.fromArray(compositions),_tagMap().TagMap.fromArray(tags.map(tag=>_tag().Tag.fromObject(tag))),buildStatus,issuesCount,status,deprecation,env,description,labels,host,size,latest,preview,logs?.map(log=>log??{hash:"[error]",tag:"[error]",message:"",parents:[]}))}static fromArray(componentsProps){return componentsProps.map(rawComponent=>ComponentModel.from(rawComponent))}static empty(){return new ComponentModel(_componentId().ComponentID.fromObject({name:"root",scope:"temp"}),"","",{env:"",url:""},[],_tagMap().TagMap.empty())}}exports.ComponentModel=ComponentModel},77237:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"ComponentModel",{enumerable:!0,get:function(){return _componentModel().ComponentModel}}),Object.defineProperty(exports,"ComponentModelProps",{enumerable:!0,get:function(){return _componentModel().ComponentModelProps}});function _componentModel(){const data=__webpack_require__(46265);return _componentModel=function(){return data},data}},34146:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Component=Component;function _react(){const data=_interopRequireWildcard(__webpack_require__(59496));return _react=function(){return data},data}function _lodash(){const data=_interopRequireDefault(__webpack_require__(11549));return _lodash=function(){return data},data}function _uiFoundationUiReactRouter(){const data=__webpack_require__(24681);return _uiFoundationUiReactRouter=function(){return data},data}function _lodash2(){const data=__webpack_require__(32699);return _lodash2=function(){return data},data}function _context(){const data=__webpack_require__(58431);return _context=function(){return data},data}function _useComponent(){const data=__webpack_require__(21268);return _useComponent=function(){return data},data}function _useComponentFromLocation(){const data=__webpack_require__(39646);return _useComponentFromLocation=function(){return data},data}function _(){const data=__webpack_require__(68211);return _=function(){return data},data}function _componentModule(){const data=_interopRequireDefault(__webpack_require__(42058));return _componentModule=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r2){return Object.getOwnPropertyDescriptor(e,r2).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r2){_defineProperty(e,r2,t[r2])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r2){Object.defineProperty(e,r2,Object.getOwnPropertyDescriptor(t,r2))})}return e}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return typeof i=="symbol"?i:i+""}function _toPrimitive(t,r){if(typeof t!="object"||!t)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var i=e.call(t,r||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function getComponentIdStr(componentIdStr){return(0,_lodash2().isFunction)(componentIdStr)?componentIdStr():componentIdStr}function Component({routeSlot,overriddenRoutes,containerSlot,host,onComponentChange,componentIdStr,useComponent,path,useComponentFilters}){const idFromLocation=(0,_useComponentFromLocation().useIdFromLocation)(),componentIdStrWithScopeFromLocation=(0,_useComponentFromLocation().useIdFromLocation)(void 0,!0),_componentIdStr=getComponentIdStr(componentIdStr),componentId=_componentIdStr?_().ComponentID.fromString(_componentIdStr):void 0,resolvedComponentIdStr=path||idFromLocation,componentFiltersFromProps=useComponentFilters?.()||{},useComponentOptions={logFilters:_objectSpread(_objectSpread({},componentFiltersFromProps),componentFiltersFromProps.loading?{}:{log:_objectSpread({},componentFiltersFromProps.log)}),customUseComponent:useComponent},{component,componentDescriptor,error}=(0,_useComponent().useComponent)(host,componentId?.toString()||componentIdStrWithScopeFromLocation,useComponentOptions);(0,_react().useEffect)(()=>onComponentChange?.(component),[component]),(0,_react().useEffect)(()=>()=>onComponentChange?.(void 0),[]);const pageItems=(0,_react().useMemo)(()=>(0,_lodash().default)(containerSlot?.values()),[containerSlot]),before=(0,_react().useMemo)(()=>pageItems.filter(x=>x.type==="before").map(x=>x.content),[pageItems]),after=(0,_react().useMemo)(()=>pageItems.filter(x=>x.type==="after").map(x=>x.content),[pageItems]);return error?error?.renderError():component?_react().default.createElement(_context().ComponentDescriptorProvider,{componentDescriptor},_react().default.createElement(_context().ComponentProvider,{component},before,_react().default.createElement("div",{className:_componentModule().default.container},routeSlot&&_react().default.createElement(_uiFoundationUiReactRouter().SlotRouter,{parentPath:`${resolvedComponentIdStr}/*`,slot:routeSlot,routes:overriddenRoutes})),after)):_react().default.createElement("div",null)}},48841:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useComponentDescriptor=exports.ComponentDescriptorContext=exports.ComponentContext=void 0;function _react(){const data=__webpack_require__(59496);return _react=function(){return data},data}function _componentModel(){const data=__webpack_require__(77237);return _componentModel=function(){return data},data}const ComponentContext=exports.ComponentContext=(0,_react().createContext)(_componentModel().ComponentModel.empty()),ComponentDescriptorContext=exports.ComponentDescriptorContext=(0,_react().createContext)(void 0),useComponentDescriptor=()=>(0,_react().useContext)(ComponentDescriptorContext);exports.useComponentDescriptor=useComponentDescriptor},9994:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentDescriptorProvider=ComponentDescriptorProvider,exports.ComponentProvider=ComponentProvider;function _react(){const data=_interopRequireDefault(__webpack_require__(59496));return _react=function(){return data},data}function _componentContext(){const data=__webpack_require__(48841);return _componentContext=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function ComponentProvider({component,children}){return _react().default.createElement(_componentContext().ComponentContext.Provider,{value:component},children)}function ComponentDescriptorProvider({componentDescriptor,children}){return _react().default.createElement(_componentContext().ComponentDescriptorContext.Provider,{value:componentDescriptor},children)}},58431:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"ComponentContext",{enumerable:!0,get:function(){return _componentContext().ComponentContext}}),Object.defineProperty(exports,"ComponentDescriptorContext",{enumerable:!0,get:function(){return _componentContext().ComponentDescriptorContext}}),Object.defineProperty(exports,"ComponentDescriptorProvider",{enumerable:!0,get:function(){return _componentProvider().ComponentDescriptorProvider}}),Object.defineProperty(exports,"ComponentProvider",{enumerable:!0,get:function(){return _componentProvider().ComponentProvider}}),Object.defineProperty(exports,"useComponentDescriptor",{enumerable:!0,get:function(){return _componentContext().useComponentDescriptor}});function _componentContext(){const data=__webpack_require__(48841);return _componentContext=function(){return data},data}function _componentProvider(){const data=__webpack_require__(9994);return _componentProvider=function(){return data},data}},4744:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"COMPONENT_QUERY_LOG_FIELDS",{enumerable:!0,get:function(){return _useComponent2().COMPONENT_QUERY_LOG_FIELDS}}),Object.defineProperty(exports,"CollapsibleMenuNav",{enumerable:!0,get:function(){return _menu().CollapsibleMenuNav}}),Object.defineProperty(exports,"Component",{enumerable:!0,get:function(){return _component().Component}}),Object.defineProperty(exports,"ComponentContext",{enumerable:!0,get:function(){return _context().ComponentContext}}),Object.defineProperty(exports,"ComponentMenu",{enumerable:!0,get:function(){return _menu().ComponentMenu}}),Object.defineProperty(exports,"ComponentModel",{enumerable:!0,get:function(){return _componentModel().ComponentModel}}),Object.defineProperty(exports,"ComponentModelProps",{enumerable:!0,get:function(){return _componentModel().ComponentModelProps}}),Object.defineProperty(exports,"ComponentProvider",{enumerable:!0,get:function(){return _context().ComponentProvider}}),Object.defineProperty(exports,"ConsumeMethodSlot",{enumerable:!0,get:function(){return _menu().ConsumeMethodSlot}}),Object.defineProperty(exports,"GET_COMPONENT",{enumerable:!0,get:function(){return _useComponent2().GET_COMPONENT}}),Object.defineProperty(exports,"GET_COMPONENT_WITH_LOGS",{enumerable:!0,get:function(){return _useComponent2().GET_COMPONENT_WITH_LOGS}}),Object.defineProperty(exports,"MenuNavProps",{enumerable:!0,get:function(){return _menu().MenuNavProps}}),Object.defineProperty(exports,"TopBarNav",{enumerable:!0,get:function(){return _topBarNav().TopBarNav}}),Object.defineProperty(exports,"VersionRelatedDropdowns",{enumerable:!0,get:function(){return _menu().VersionRelatedDropdowns}}),Object.defineProperty(exports,"componentFields",{enumerable:!0,get:function(){return _useComponent2().componentFields}}),Object.defineProperty(exports,"componentFieldsWithLogs",{enumerable:!0,get:function(){return _useComponent2().componentFieldsWithLogs}}),Object.defineProperty(exports,"componentIdFields",{enumerable:!0,get:function(){return _useComponent2().componentIdFields}}),Object.defineProperty(exports,"componentOverviewFields",{enumerable:!0,get:function(){return _useComponent2().componentOverviewFields}}),Object.defineProperty(exports,"useComponent",{enumerable:!0,get:function(){return _useComponent().useComponent}}),Object.defineProperty(exports,"useComponentLogs",{enumerable:!0,get:function(){return _useComponentLogs().useComponentLogs}}),Object.defineProperty(exports,"useComponentQuery",{enumerable:!0,get:function(){return _useComponentQuery().useComponentQuery}}),Object.defineProperty(exports,"useIdFromLocation",{enumerable:!0,get:function(){return _useComponentFromLocation().useIdFromLocation}});function _menu(){const data=__webpack_require__(70820);return _menu=function(){return data},data}function _component(){const data=__webpack_require__(34146);return _component=function(){return data},data}function _componentModel(){const data=__webpack_require__(77237);return _componentModel=function(){return data},data}function _context(){const data=__webpack_require__(58431);return _context=function(){return data},data}function _topBarNav(){const data=__webpack_require__(57655);return _topBarNav=function(){return data},data}function _useComponent(){const data=__webpack_require__(21268);return _useComponent=function(){return data},data}function _useComponent2(){const data=__webpack_require__(86851);return _useComponent2=function(){return data},data}function _useComponentFromLocation(){const data=__webpack_require__(39646);return _useComponentFromLocation=function(){return data},data}function _useComponentQuery(){const data=__webpack_require__(62589);return _useComponentQuery=function(){return data},data}function _useComponentLogs(){const data=__webpack_require__(11129);return _useComponentLogs=function(){return data},data}},70820:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"CollapsibleMenuNav",{enumerable:!0,get:function(){return _menuNav().CollapsibleMenuNav}}),Object.defineProperty(exports,"ComponentMenu",{enumerable:!0,get:function(){return _menu().ComponentMenu}}),Object.defineProperty(exports,"MenuNavProps",{enumerable:!0,get:function(){return _menuNav().MenuNavProps}}),Object.defineProperty(exports,"RightSideMenuItem",{enumerable:!0,get:function(){return _menu().RightSideMenuItem}}),Object.defineProperty(exports,"RightSideMenuSlot",{enumerable:!0,get:function(){return _menu().RightSideMenuSlot}}),Object.defineProperty(exports,"VersionRelatedDropdowns",{enumerable:!0,get:function(){return _menu().VersionRelatedDropdowns}});function _menuNav(){const data=__webpack_require__(58072);return _menuNav=function(){return data},data}function _menu(){const data=__webpack_require__(23813);return _menu=function(){return data},data}},58072:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CollapsibleMenuNav=CollapsibleMenuNav;function _react(){const data=_interopRequireWildcard(__webpack_require__(59496));return _react=function(){return data},data}function _classnames(){const data=_interopRequireDefault(__webpack_require__(97754));return _classnames=function(){return data},data}function _designNavigation(){const data=__webpack_require__(50349);return _designNavigation=function(){return data},data}function _topBarNav(){const data=__webpack_require__(57655);return _topBarNav=function(){return data},data}function _menuModule(){const data=_interopRequireDefault(__webpack_require__(82769));return _menuModule=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r2){return Object.getOwnPropertyDescriptor(e,r2).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r2){_defineProperty(e,r2,t[r2])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r2){Object.defineProperty(e,r2,Object.getOwnPropertyDescriptor(t,r2))})}return e}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return typeof i=="symbol"?i:i+""}function _toPrimitive(t,r){if(typeof t!="object"||!t)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var i=e.call(t,r||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function _extends(){return _extends=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},_extends.apply(null,arguments)}function TopBarNavComponent({isInMenu,menuItemProps}){const widgetDisplayText=menuItemProps?.displayName&&isInMenu?menuItemProps?.displayName:void 0;return _react().default.createElement(_topBarNav().TopBarNav,_extends({},menuItemProps,{className:(0,_classnames().default)(menuItemProps?.className,_menuModule().default.topBarNav,isInMenu&&_menuModule().default.noBorder)}),widgetDisplayText||menuItemProps?.children)}function CollapsibleMenuNav({navigationSlot,widgetSlot,navPlugins=[],widgetPlugins=[],className,secondaryNavClassName,activeTabIndex,alwaysShowActiveTab,children}){const plugins=(0,_react().useMemo)(()=>((navPlugins.length>0?navPlugins:navigationSlot?.toArray())||[]).sort(sortFn),[navigationSlot,navPlugins]),widgets=(0,_react().useMemo)(()=>((widgetPlugins.length>0?widgetPlugins:widgetSlot?.toArray())||[]).sort(sortFn),[widgetSlot,widgetPlugins]),links=[...plugins,...widgets].map(([,menuItem],index)=>{const lastPluginStyle=plugins.length-1===index?{marginRight:"auto"}:{},firstWidgetStyle=plugins.length===index?{marginLeft:"auto"}:{};return{component:TopBarNavComponent,tabProps:{menuItemProps:menuItem.props},style:_objectSpread(_objectSpread({},firstWidgetStyle),lastPluginStyle),className:menuItem.props.className}});return _react().default.createElement(_designNavigation().ResponsiveNavbar,{navClassName:(0,_classnames().default)(_menuModule().default.tab,className),secondaryNavClassName,style:{width:"100%",height:"100%"},priority:"none",tabs:links,defaultActiveIndex:activeTabIndex,alwaysShowActiveTab},children)}function sortFn([,{order:first}],[,{order:second}]){return(first??0)-(second??0)}},23813:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentMenu=ComponentMenu,exports.VersionRelatedDropdowns=VersionRelatedDropdowns,exports.defaultLoadCurrentVersion=void 0,exports.defaultLoadVersions=defaultLoadVersions;function _react(){const data=_interopRequireWildcard(__webpack_require__(59496));return _react=function(){return data},data}function _reactRouterDom(){const data=__webpack_require__(441);return _reactRouterDom=function(){return data},data}function _classnames(){const data=_interopRequireDefault(__webpack_require__(97754));return _classnames=function(){return data},data}function _lodash(){const data=__webpack_require__(32699);return _lodash=function(){return data},data}function semver(){const data=_interopRequireWildcard(__webpack_require__(9131));return semver=function(){return data},data}function _componentUi(){const data=__webpack_require__(24636);return _componentUi=function(){return data},data}function _uiFoundationUi(){const data=__webpack_require__(69952);return _uiFoundationUi=function(){return data},data}function _componentId(){const data=__webpack_require__(91526);return _componentId=function(){return data},data}function _baseReactNavigation(){const data=__webpack_require__(76223);return _baseReactNavigation=function(){return data},data}function _uiFoundationUiUseBox(){const data=__webpack_require__(53179);return _uiFoundationUiUseBox=function(){return data},data}function _lanesHooks(){const data=__webpack_require__(33461);return _lanesHooks=function(){return data},data}function _uiFoundationUiUseBox2(){const data=__webpack_require__(87873);return _uiFoundationUiUseBox2=function(){return data},data}function _useComponent(){const data=__webpack_require__(21268);return _useComponent=function(){return data},data}function _menuNav(){const data=__webpack_require__(58072);return _menuNav=function(){return data},data}function _useComponentFromLocation(){const data=__webpack_require__(39646);return _useComponentFromLocation=function(){return data},data}function _menuModule(){const data=_interopRequireDefault(__webpack_require__(82769));return _menuModule=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r2){return Object.getOwnPropertyDescriptor(e,r2).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r2){_defineProperty(e,r2,t[r2])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r2){Object.defineProperty(e,r2,Object.getOwnPropertyDescriptor(t,r2))})}return e}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return typeof i=="symbol"?i:i+""}function _toPrimitive(t,r){if(typeof t!="object"||!t)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var i=e.call(t,r||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function getComponentIdStr(componentIdStr){return(0,_lodash().isFunction)(componentIdStr)?componentIdStr():componentIdStr}function ComponentMenu({navigationSlot,widgetSlot,className,host,menuItemSlot,consumeMethodSlot,rightSideMenuSlot,componentIdStr,skipRightSide,RightNode,useComponent,path,useComponentFilters}){const idFromLocation=(0,_useComponentFromLocation().useIdFromLocation)(),componentIdStrWithScopeFromLocation=(0,_useComponentFromLocation().useIdFromLocation)(void 0,!0),_componentIdStr=getComponentIdStr(componentIdStr),componentId=_componentIdStr?_componentId().ComponentID.fromString(_componentIdStr):void 0,resolvedComponentIdStr=path||idFromLocation,mainMenuItems=(0,_react().useMemo)(()=>(0,_lodash().groupBy)((0,_lodash().flatten)(menuItemSlot.values()),"category"),[menuItemSlot]),rightSideItems=(0,_react().useMemo)(()=>(0,_lodash().orderBy)((0,_lodash().flatten)(rightSideMenuSlot.values()),"order"),[rightSideMenuSlot]),componentFilters=useComponentFilters?.()||{},useComponentVersions=defaultLoadVersions(host,componentId?.toString()||componentIdStrWithScopeFromLocation,componentFilters,useComponent),RightSide=_react().default.createElement("div",{className:_menuModule().default.rightSide},RightNode||_react().default.createElement(_react().default.Fragment,null,_react().default.createElement(VersionRelatedDropdowns,{host,consumeMethods:consumeMethodSlot,componentId:componentId?.toString()||idFromLocation,useComponent:useComponentVersions,componentFilters}),rightSideItems.map(({item})=>item),_react().default.createElement(_uiFoundationUi().MainDropdown,{className:_menuModule().default.hideOnMobile,menuItems:mainMenuItems})));return _react().default.createElement(_reactRouterDom().Routes,null,_react().default.createElement(_reactRouterDom().Route,{path:`${resolvedComponentIdStr}/*`,element:_react().default.createElement("div",{className:(0,_classnames().default)(_menuModule().default.topBar,className)},_react().default.createElement("div",{className:_menuModule().default.leftSide},_react().default.createElement(_menuNav().CollapsibleMenuNav,{navigationSlot,widgetSlot})),!skipRightSide&&_react().default.createElement("div",{className:_menuModule().default.rightSide},RightSide))}))}function defaultLoadVersions(host,componentId,componentFilters={},useComponent,loadingFromProps){return _react().default.useCallback(_props=>{const{skip,initialLoad}=_props||{},fetchOptions={logFilters:_objectSpread(_objectSpread({},componentFilters),{},{log:_objectSpread(_objectSpread({},componentFilters.log),{},{limit:initialLoad?3:void 0})}),skip:loadingFromProps||skip,customUseComponent:useComponent},{component,loading:loadingComponent,componentLogs={}}=(0,_useComponent().useComponent)(host,componentId,fetchOptions),logs=componentLogs?.logs,loading=_react().default.useMemo(()=>loadingComponent||loadingFromProps||componentLogs.loading,[loadingComponent,loadingFromProps,componentLogs.loading]),snaps=(0,_react().useMemo)(()=>(logs||[]).filter(log=>!log.tag).map(snap=>_objectSpread(_objectSpread({},snap),{},{version:snap.hash})),[logs]),tags=(0,_react().useMemo)(()=>{const tagLookup=new Map;return(logs||[]).filter(log=>log.tag).forEach(tag=>{tagLookup.set(tag?.tag,tag)}),(0,_lodash().compact)((component?.tags?.toArray()||[]).reverse().map(tag=>tagLookup.get(tag.version.version))).map(tag=>_objectSpread(_objectSpread({},tag),{},{version:tag.tag}))},[logs]);return{loading,id:component?.id,packageName:component?.packageName,latestVersion:component?.latest,currentVersion:component?.version,snaps,tags,buildStatus:component?.buildStatus}},[componentId,loadingFromProps,componentFilters])}const defaultLoadCurrentVersion=props=>_props=>{const{skip,version:_version}=_props||{},{snaps,tags,currentVersion,loading}=props.useComponent?.({skip,id:props.componentId})??{},version=_version??currentVersion;return _react().default.useMemo(()=>semver().valid(version),[loading,version])?_react().default.useMemo(()=>tags?.find(tag=>tag.tag===version),[loading,tags?.length,version]):_react().default.useMemo(()=>snaps?.find(snap=>snap.version===version),[loading,snaps?.length,version])};exports.defaultLoadCurrentVersion=defaultLoadCurrentVersion;function VersionRelatedDropdowns(props){const updatedPropsWithDefaults=_objectSpread(_objectSpread({},props),{},{useLanes:props.useLanes??_lanesHooks().useLanes,dropdownOptions:_objectSpread(_objectSpread({},props.dropdownOptions),{},{showVersionDetails:props?.dropdownOptions?.showVersionDetails??!0})}),loadVersion=defaultLoadCurrentVersion(updatedPropsWithDefaults),{useLanes,consumeMethods,className,dropdownOptions,host}=updatedPropsWithDefaults,{loading,id,tags,snaps,latest,packageName,currentVersion:_currentVersion}=props.useComponent?.({initialLoad:!0})||{},location=(0,_baseReactNavigation().useLocation)(),{lanesModel}=useLanes(),lanes=id?lanesModel?.getLanesByComponentId(id)?.filter(lane=>!lane.id.isDefault())||[]:[],viewedLane=lanesModel?.viewedLane?.id&&!lanesModel?.viewedLane?.id.isDefault()?lanesModel.viewedLane:void 0,isWorkspace=host==="teambit.workspace/workspace",isNew=tags?.length===0&&snaps?.length===0,localVersion=isWorkspace&&!isNew&&(!viewedLane||lanesModel?.isViewingCurrentLane()),currentVersion=isWorkspace&&!isNew&&!location?.search.includes("version")?"workspace":_currentVersion??"",consumeMethodProps=_react().default.useMemo(()=>id?{id,packageName:packageName??"",latest,options:{viewedLane,disableInstall:!packageName}}:void 0,[id,packageName,latest,viewedLane]),methods=useConsumeMethods(consumeMethods,consumeMethodProps),hasMethods=methods?.length>0;return _react().default.createElement(_react().default.Fragment,null,consumeMethods&&id&&hasMethods&&_react().default.createElement(_uiFoundationUiUseBox().UseBoxDropdown,{position:"bottom-end",className:(0,_classnames().default)(_menuModule().default.useBox,_menuModule().default.hideOnMobile),Menu:_react().default.createElement(_uiFoundationUiUseBox2().Menu,{methods,componentName:id.name})}),_react().default.createElement(_componentUi().VersionDropdown,{lanes,loading,useComponentVersions:props.useComponent,hasMoreVersions:!isNew,useCurrentVersionLog:loadVersion,localVersion,currentVersion,latestVersion:latest,currentLane:viewedLane,className,menuClassName:_menuModule().default.componentVersionMenu,getActiveTabIndex:dropdownOptions?.getActiveTabIndex,showVersionDetails:dropdownOptions?.showVersionDetails}))}function useConsumeMethods(consumeMethods,consumePluginProps){return(0,_react().useMemo)(()=>(0,_lodash().flatten)(consumeMethods?.values()).map(method=>{if(!!consumePluginProps)return method?.(consumePluginProps)}).filter(x=>!!x&&x.Component&&x.Title),[consumeMethods,consumePluginProps])}},57655:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _topBarNav=__webpack_require__(13264);Object.keys(_topBarNav).forEach(function(key){key==="default"||key==="__esModule"||key in exports&&exports[key]===_topBarNav[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _topBarNav[key]}})})},13264:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.TopBarNav=TopBarNav;function _react(){const data=_interopRequireDefault(__webpack_require__(59496));return _react=function(){return data},data}function _classnames(){const data=_interopRequireDefault(__webpack_require__(97754));return _classnames=function(){return data},data}function _reactRouterDom(){const data=__webpack_require__(441);return _reactRouterDom=function(){return data},data}function _baseReactNavigation(){const data=__webpack_require__(76223);return _baseReactNavigation=function(){return data},data}function _topBarNavModule(){const data=_interopRequireDefault(__webpack_require__(37987));return _topBarNavModule=function(){return data},data}const _excluded=["href","className","activeClassName","children","displayName","ignoreQueryParams"];function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _extends(){return _extends=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},_extends.apply(null,arguments)}function _objectWithoutProperties(e,t){if(e==null)return{};var o,r,i=_objectWithoutPropertiesLoose(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)o=s[r],t.includes(o)||{}.propertyIsEnumerable.call(e,o)&&(i[o]=e[o])}return i}function _objectWithoutPropertiesLoose(r,e){if(r==null)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(e.includes(n))continue;t[n]=r[n]}return t}const Link=_baseReactNavigation().Link;function TopBarNav(_ref){let{href,className,activeClassName,children,displayName,ignoreQueryParams}=_ref,rest=_objectWithoutProperties(_ref,_excluded);const{search}=(0,_reactRouterDom().useLocation)(),preventPassingDisplayNameToLink=displayName,target=href&&!ignoreQueryParams&&`${href}${search}`||href;return _react().default.createElement(Link,_extends({},rest,{className:(0,_classnames().default)(className,_topBarNavModule().default.topBarLink),activeClassName:(0,_classnames().default)(activeClassName,_topBarNavModule().default.active),href:target}),_react().default.createElement("div",null,children))}},39646:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useIdFromLocation=useIdFromLocation;function _reactRouterDom(){const data=__webpack_require__(441);return _reactRouterDom=function(){return data},data}const componentRegex=/^[\w/-]*[\w-]/;function useIdFromLocation(url,deriveScopeFromSearchParams){const params=(0,_reactRouterDom().useParams)(),[searchParams]=(0,_reactRouterDom().useSearchParams)(),scopeFromQueryParams=searchParams.get("scope")??void 0,splat=url||params["*"];if(!splat)return;const[maybeOrgWithScope,...maybeFullName]=splat.split("/"),hasScope=maybeOrgWithScope.split(".").length>1,fullNameFromUrl=hasScope?maybeFullName.join("/"):splat;let scope;hasScope&&(scope=maybeOrgWithScope),!hasScope&&deriveScopeFromSearchParams&&(scope=scopeFromQueryParams);const match=componentRegex.exec(fullNameFromUrl);if(!!match?.[0])return scope?`${scope}/${match[0]}`:match[0]}},11129:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useComponentLogs=useComponentLogs,exports.useComponentLogsInit=useComponentLogsInit;function _react(){const data=__webpack_require__(59496);return _react=function(){return data},data}function _uiFoundationUiHooks(){const data=__webpack_require__(97857);return _uiFoundationUiHooks=function(){return data},data}function _useComponent(){const data=__webpack_require__(86851);return _useComponent=function(){return data},data}function _componentError(){const data=__webpack_require__(70145);return _componentError=function(){return data},data}function _useComponent2(){const data=__webpack_require__(12645);return _useComponent2=function(){return data},data}function _(){const data=__webpack_require__(68211);return _=function(){return data},data}function useComponentLogs(componentId,host,filters,skipFromProps){const{variables,skip}=useComponentLogsInit(componentId,host,filters,skipFromProps),{data,error,loading}=(0,_uiFoundationUiHooks().useDataQuery)(_useComponent().GET_COMPONENT_WITH_LOGS,{variables,skip,errorPolicy:"all"}),rawComponent=data?.getHost?.get,rawCompLogs=rawComponent?.logs,componentError=error&&!data?new(_componentError()).ComponentError(500,error.message):!rawComponent&&!loading&&new(_componentError()).ComponentError(404)||void 0,idDepKey=rawComponent?.id?`${rawComponent?.id?.scope}/${rawComponent?.id?.name}@${rawComponent?.id?.version}}`:void 0,id=(0,_react().useMemo)(()=>rawComponent?_().ComponentID.fromObject(rawComponent.id):void 0,[idDepKey]);return{loading,id,packageName:rawComponent?.packageName,latest:rawComponent?.latest,error:componentError,componentLogs:{logs:rawCompLogs,loading}}}function useComponentLogsInit(componentId,host,filters,skip){const{log}=filters||{},{head:logHead,offset:logOffset,sort:logSort,limit:logLimit,type:logType,takeHeadFromComponent:logTakeHeadFromComponent}=log||{},variables={id:componentId,extensionId:host,logOffset:(0,_useComponent2().getOffsetValue)(logOffset,logLimit),logLimit,logType,logHead,logSort,logTakeHeadFromComponent};return{logOffset,variables,skip}}},62589:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useComponentQuery=useComponentQuery;function _react(){const data=__webpack_require__(59496);return _react=function(){return data},data}function _uiFoundationUiHooks(){const data=__webpack_require__(97857);return _uiFoundationUiHooks=function(){return data},data}function _componentId(){const data=__webpack_require__(91526);return _componentId=function(){return data},data}function _componentDescriptor(){const data=__webpack_require__(57984);return _componentDescriptor=function(){return data},data}function _componentModel(){const data=__webpack_require__(77237);return _componentModel=function(){return data},data}function _useComponent(){const data=__webpack_require__(86851);return _useComponent=function(){return data},data}function _useComponentLogs(){const data=__webpack_require__(11129);return _useComponentLogs=function(){return data},data}function _componentError(){const data=__webpack_require__(70145);return _componentError=function(){return data},data}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r2){return Object.getOwnPropertyDescriptor(e,r2).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r2){_defineProperty(e,r2,t[r2])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r2){Object.defineProperty(e,r2,Object.getOwnPropertyDescriptor(t,r2))})}return e}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return typeof i=="symbol"?i:i+""}function _toPrimitive(t,r){if(typeof t!="object"||!t)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var i=e.call(t,r||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function useComponentQuery(componentId,host,filters,skip){const idRef=(0,_react().useRef)(componentId);idRef.current=componentId;const variables={id:componentId,extensionId:host},{data,error,loading,subscribeToMore}=(0,_uiFoundationUiHooks().useDataQuery)(_useComponent().GET_COMPONENT,{variables,skip,errorPolicy:"all"}),{loading:loadingLogs,componentLogs:{logs}={}}=(0,_useComponentLogs().useComponentLogs)(componentId,host,filters,skip),rawComponent=data?.getHost?.get;(0,_react().useEffect)(()=>{if(host!=="teambit.workspace/workspace")return()=>{};const unsubAddition=subscribeToMore({document:_useComponent().SUB_SUBSCRIPTION_ADDED,updateQuery:(prev,{subscriptionData})=>{const prevComponent=prev?.getHost?.get,addedComponent=subscriptionData?.data?.componentAdded?.component;return!addedComponent||prevComponent?prev:idRef.current===addedComponent.id.name?_objectSpread(_objectSpread({},prev),{},{getHost:_objectSpread(_objectSpread({},prev.getHost),{},{get:addedComponent})}):prev}}),unsubChanges=subscribeToMore({document:_useComponent().SUB_COMPONENT_CHANGED,updateQuery:(prev,{subscriptionData})=>{if(!subscriptionData.data)return prev;const prevComponent=prev?.getHost?.get,updatedComponent=subscriptionData?.data?.componentChanged?.component;return updatedComponent&&_componentId().ComponentID.isEqualObj(prevComponent?.id,updatedComponent?.id)?_objectSpread(_objectSpread({},prev),{},{getHost:_objectSpread(_objectSpread({},prev.getHost),{},{get:updatedComponent})}):prev}}),unsubRemoval=subscribeToMore({document:_useComponent().SUB_COMPONENT_REMOVED,updateQuery:(prev,{subscriptionData})=>{if(!subscriptionData.data)return prev;const prevComponent=prev?.getHost?.get,removedIds=subscriptionData?.data?.componentRemoved?.componentIds;return!prevComponent||!removedIds?.length?prev:removedIds.some(removedId=>_componentId().ComponentID.isEqualObj(removedId,prevComponent.id))?_objectSpread(_objectSpread({},prev),{},{getHost:_objectSpread(_objectSpread({},prev.getHost),{},{get:null})}):prev}});return()=>{unsubChanges(),unsubAddition(),unsubRemoval()}},[]);const idDepKey=rawComponent?.id?`${rawComponent?.id?.scope}/${rawComponent?.id?.name}@${rawComponent?.id?.version}}`:void 0,id=(0,_react().useMemo)(()=>rawComponent?_componentId().ComponentID.fromObject(rawComponent.id):void 0,[idDepKey]),componentError=error&&!data?new(_componentError()).ComponentError(500,error.message):!rawComponent&&!loading&&new(_componentError()).ComponentError(404)||void 0,component=(0,_react().useMemo)(()=>rawComponent?_componentModel().ComponentModel.from(_objectSpread(_objectSpread({},rawComponent),{},{host,logs})):void 0,[id?.toString(),logs]),componentDescriptor=(0,_react().useMemo)(()=>{const aspectList={entries:rawComponent?.aspects.map(aspectObject=>_objectSpread(_objectSpread({},aspectObject),{},{aspectId:aspectObject.id,aspectData:aspectObject.data}))};return id?_componentDescriptor().ComponentDescriptor.fromObject({id:id.toString(),aspectList}):void 0},[id?.toString()]);return(0,_react().useMemo)(()=>({componentDescriptor,component,componentLogs:{loading:loadingLogs,logs},error:componentError||void 0,loading}),[host,component,componentDescriptor,componentError])}},86851:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.componentOverviewFields=exports.componentIdFields=exports.componentFieldsWithLogs=exports.componentFields=exports.SUB_SUBSCRIPTION_ADDED=exports.SUB_COMPONENT_REMOVED=exports.SUB_COMPONENT_CHANGED=exports.GET_COMPONENT_WITH_LOGS=exports.GET_COMPONENT=exports.COMPONENT_QUERY_LOG_FIELDS=void 0;function _client(){const data=__webpack_require__(47094);return _client=function(){return data},data}const componentIdFields=exports.componentIdFields=(0,_client().gql)`
394
394
  fragment componentIdFields on ComponentID {
395
395
  name
396
396
  version
@@ -565,7 +565,7 @@ the following are permitted ${Object.keys(exports.IssuesClasses).join(", ")}`);c
565
565
  }
566
566
  }
567
567
  ${exports.docsFields}
568
- `;function useDocs(componentId){var _a,_b;const{data}=(0,client_1.useQuery)(getProperties,{variables:{id:componentId.toString()}});return(_b=(_a=data?.getHost)===null||_a===void 0?void 0:_a.getDocs)===null||_b===void 0?void 0:_b.properties}exports.useDocs=useDocs},82718:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DefaultValue=exports.Properties=exports.useDocs=exports.docsFields=void 0;var get_docs_1=__webpack_require__(7122);Object.defineProperty(exports,"docsFields",{enumerable:!0,get:function(){return get_docs_1.docsFields}}),Object.defineProperty(exports,"useDocs",{enumerable:!0,get:function(){return get_docs_1.useDocs}}),Object.defineProperty(exports,"Properties",{enumerable:!0,get:function(){return get_docs_1.Properties}}),Object.defineProperty(exports,"DefaultValue",{enumerable:!0,get:function(){return get_docs_1.DefaultValue}})},28868:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.defaultDocs=void 0;const defaultDocs=exports.defaultDocs={default:()=>null,labels:[],abstract:"",examples:[]}},84723:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"BadgePosition",{enumerable:!0,get:function(){return _overview().BadgePosition}}),Object.defineProperty(exports,"Doc",{enumerable:!0,get:function(){return _docsEntities().Doc}}),Object.defineProperty(exports,"DocProp",{enumerable:!0,get:function(){return _docsEntities().DocProp}}),Object.defineProperty(exports,"DocPropList",{enumerable:!0,get:function(){return _docsEntities().DocPropList}}),Object.defineProperty(exports,"DocsAspect",{enumerable:!0,get:function(){return _docs().DocsAspect}}),Object.defineProperty(exports,"Overview",{enumerable:!0,get:function(){return _overview().Overview}}),exports.default=void 0,Object.defineProperty(exports,"defaultDocs",{enumerable:!0,get:function(){return _docs2().defaultDocs}});function _docs(){const data=__webpack_require__(12825);return _docs=function(){return data},data}function _docsEntities(){const data=__webpack_require__(87628);return _docsEntities=function(){return data},data}function _docs2(){const data=__webpack_require__(28868);return _docs2=function(){return data},data}function _overview(){const data=__webpack_require__(57682);return _overview=function(){return data},data}var _default=exports.default=_docs().DocsAspect},57682:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"BadgePosition",{enumerable:!0,get:function(){return _overview().BadgePosition}}),Object.defineProperty(exports,"Overview",{enumerable:!0,get:function(){return _overview().Overview}});function _overview(){const data=__webpack_require__(93294);return _overview=function(){return data},data}},93294:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BadgePosition=void 0,exports.Overview=Overview;function _react(){const data=_interopRequireWildcard(__webpack_require__(59496));return _react=function(){return data},data}function _classnames(){const data=_interopRequireDefault(__webpack_require__(97754));return _classnames=function(){return data},data}function _lodash(){const data=__webpack_require__(32699);return _lodash=function(){return data},data}function _component(){const data=__webpack_require__(68211);return _component=function(){return data},data}function _previewUi(){const data=__webpack_require__(27699);return _previewUi=function(){return data},data}function _componentUi(){const data=__webpack_require__(37782);return _componentUi=function(){return data},data}function _compositionsPanels(){const data=__webpack_require__(10726);return _compositionsPanels=function(){return data},data}function _baseReactThemes(){const data=__webpack_require__(15567);return _baseReactThemes=function(){return data},data}function _readmeSkeleton(){const data=__webpack_require__(95526);return _readmeSkeleton=function(){return data},data}function _overviewModule(){const data=_interopRequireDefault(__webpack_require__(8374));return _overviewModule=function(){return data},data}const _excluded=["onLoad","style"];function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}function _extends(){return _extends=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},_extends.apply(null,arguments)}function _objectWithoutProperties(e,t){if(e==null)return{};var o,r,i=_objectWithoutPropertiesLoose(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)o=s[r],t.includes(o)||{}.propertyIsEnumerable.call(e,o)&&(i[o]=e[o])}return i}function _objectWithoutPropertiesLoose(r,e){if(r==null)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(e.includes(n))continue;t[n]=r[n]}return t}let BadgePosition=exports.BadgePosition=function(BadgePosition2){return BadgePosition2[BadgePosition2.Title=0]="Title",BadgePosition2[BadgePosition2.SubTitle=1]="SubTitle",BadgePosition2[BadgePosition2.Labels=2]="Labels",BadgePosition2[BadgePosition2.Package=3]="Package",BadgePosition2}({});function Overview({titleBadges,overviewOptions,previewProps,getEmptyState,TaggedAPI}){const component=(0,_react().useContext)(_component().ComponentContext),componentDescriptor=(0,_component().useComponentDescriptor)(),{current}=(0,_baseReactThemes().useThemePicker)(),overviewProps=(0,_lodash().flatten)(overviewOptions.values())[0],showHeader=!component.preview?.legacyHeader,EmptyState=getEmptyState&&getEmptyState(),buildFailed=component.buildStatus?.toLowerCase()!=="succeed"&&component?.host==="teambit.scope/scope",isScaling=Boolean(component.preview?.isScaling),includesEnvTemplate=Boolean(component.preview?.includesEnvTemplate),defaultLoadingState=_react().default.useMemo(()=>isScaling&&!includesEnvTemplate,[isScaling,includesEnvTemplate]),[isLoading,setLoading]=(0,_react().useState)(defaultLoadingState),iframeQueryParams=`onlyOverview=${component.preview?.onlyOverview||"false"}&skipIncludes=${component.preview?.skipIncludes||component.preview?.onlyOverview}`,overviewPropsValues=overviewProps&&overviewProps(),themeParams=current?.themeName?`theme=${current?.themeName}`:"",_ref=previewProps||{},{onLoad,style}=_ref,rest=_objectWithoutProperties(_ref,_excluded),onPreviewLoad=_react().default.useCallback((e,props)=>{setLoading(!1),onLoad?.(e,props)},[onLoad]);return _react().default.useEffect(()=>{!isLoading&&defaultLoadingState&&setLoading(!0),isLoading&&!defaultLoadingState&&setLoading(!1)},[component.id.toString(),defaultLoadingState]),_react().default.createElement("div",{className:(0,_classnames().default)(_overviewModule().default.overviewWrapper,isLoading&&_overviewModule().default.noOverflow),key:`${component.id.toString()}`},showHeader&&_react().default.createElement(_componentUi().ComponentOverview,{className:(0,_classnames().default)(_overviewModule().default.componentOverviewBlock,!isScaling&&_overviewModule().default.legacyPreview),displayName:component.displayName,version:component.version,abstract:component.description,labels:component.labels,packageName:component.packageName,titleBadges:(0,_lodash().flatten)(titleBadges.values()),componentDescriptor,component}),!buildFailed&&_react().default.createElement("div",{className:_overviewModule().default.readme},isLoading&&_react().default.createElement(_readmeSkeleton().ReadmeSkeleton,null,_react().default.createElement(_compositionsPanels().CompositionGallerySkeleton,{compositionsLength:Math.min(component.compositions.length,3)})),_react().default.createElement(_previewUi().ComponentPreview,_extends({onLoad:onPreviewLoad,previewName:"overview",pubsub:!0,queryParams:[iframeQueryParams,themeParams,overviewPropsValues?.queryParams||""],viewport:null,fullContentHeight:!0,disableScroll:!0},rest,{component,style:{width:"100%",height:"100%",minHeight:isScaling?void 0:500}})),component.preview?.onlyOverview&&!isLoading&&_react().default.createElement(_compositionsPanels().CompositionGallery,{component}),component.preview?.onlyOverview&&!isLoading&&TaggedAPI&&_react().default.createElement(TaggedAPI,{componentId:component.id.toString()})),buildFailed&&EmptyState&&_react().default.createElement(EmptyState,null))}},95526:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ReadmeSkeleton=ReadmeSkeleton;function _react(){const data=_interopRequireDefault(__webpack_require__(59496));return _react=function(){return data},data}function _baseUiLoaders(){const data=__webpack_require__(20298);return _baseUiLoaders=function(){return data},data}function _overviewModule(){const data=_interopRequireDefault(__webpack_require__(8374));return _overviewModule=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function ReadmeSkeleton({children}){return _react().default.createElement("div",{className:_overviewModule().default.readmeSkeleton},_react().default.createElement(_baseUiLoaders().LineSkeleton,{width:"80%"}),_react().default.createElement(_baseUiLoaders().LineSkeleton,{width:"70%"}),_react().default.createElement(_baseUiLoaders().LineSkeleton,{width:"40%",style:{marginBottom:40}}),_react().default.createElement(_baseUiLoaders().LineSkeleton,{width:"30%",style:{marginBottom:16}}),_react().default.createElement(_baseUiLoaders().BlockSkeleton,{lines:10,style:{width:"100%",marginBottom:40}}),children)}},33461:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLanes=exports.IgnoreDerivingFromUrl=exports.LanesProviderProps=exports.LanesProvider=exports.useLanesContext=exports.LanesContextModel=exports.LanesContext=void 0;var lanes_context_1=__webpack_require__(31499);Object.defineProperty(exports,"LanesContext",{enumerable:!0,get:function(){return lanes_context_1.LanesContext}}),Object.defineProperty(exports,"LanesContextModel",{enumerable:!0,get:function(){return lanes_context_1.LanesContextModel}}),Object.defineProperty(exports,"useLanesContext",{enumerable:!0,get:function(){return lanes_context_1.useLanesContext}});var lanes_provider_1=__webpack_require__(7811);Object.defineProperty(exports,"LanesProvider",{enumerable:!0,get:function(){return lanes_provider_1.LanesProvider}}),Object.defineProperty(exports,"LanesProviderProps",{enumerable:!0,get:function(){return lanes_provider_1.LanesProviderProps}}),Object.defineProperty(exports,"IgnoreDerivingFromUrl",{enumerable:!0,get:function(){return lanes_provider_1.IgnoreDerivingFromUrl}});var use_lanes_1=__webpack_require__(13655);Object.defineProperty(exports,"useLanes",{enumerable:!0,get:function(){return use_lanes_1.useLanes}})},31499:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLanesContext=exports.LanesContext=void 0;const react_1=__webpack_require__(59496);exports.LanesContext=(0,react_1.createContext)(void 0);const useLanesContext=()=>(0,react_1.useContext)(exports.LanesContext);exports.useLanesContext=useLanesContext},7811:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result};Object.defineProperty(exports,"__esModule",{value:!0}),exports.LanesProvider=void 0;const react_1=__importStar(__webpack_require__(59496)),lanes_ui_models_lanes_model_1=__webpack_require__(53298),ui_foundation_ui_react_router_use_query_1=__webpack_require__(46286),base_react_navigation_link_1=__webpack_require__(76223),lanes_context_1=__webpack_require__(31499),use_lanes_1=__webpack_require__(13655);function LanesProvider({children,viewedLaneId:viewedIdFromProps,targetLanes,ignoreDerivingFromUrl:ignoreDerivingFromUrlFromProps,skipNetworkCall,options:optionsFromProps={},useScope}){var _a;const[lanesState,setLanesState]=(0,react_1.useState)(),[viewedLaneId,setViewedLaneId]=(0,react_1.useState)(viewedIdFromProps),{scope}=useScope?.()||{},skip=skipNetworkCall||!!targetLanes,options=(0,react_1.useMemo)(()=>{var _a2,_b,_c;return Object.assign({skip,ids:(_a2=optionsFromProps.ids)!==null&&_a2!==void 0?_a2:viewedLaneId?[viewedLaneId.toString()]:void 0,offset:(_b=optionsFromProps.offset)!==null&&_b!==void 0?_b:0,limit:(_c=optionsFromProps.limit)!==null&&_c!==void 0?_c:10},optionsFromProps)},[skip,optionsFromProps.ids,(_a=optionsFromProps.ids)===null||_a===void 0?void 0:_a.length,viewedLaneId?.toString()]),{lanesModel,loading,hasMore,fetchMoreLanes,offset,limit}=(0,use_lanes_1.useLanes)(targetLanes,skipNetworkCall,options,void 0,scope);(0,react_1.useEffect)(()=>{!loading&&lanesModel&&setLanesState(lanesModel)},[lanesModel,loading]);const updateViewedLane=(0,react_1.useCallback)(lane=>{setViewedLaneId(lane),setLanesState(state=>(state?.setViewedOrDefaultLane(lane),state))},[lanesModel]),location=(0,base_react_navigation_link_1.useLocation)(),query=(0,ui_foundation_ui_react_router_use_query_1.useQuery)(),ignoreDerivingFromUrl=(0,react_1.useCallback)(_location=>ignoreDerivingFromUrlFromProps?ignoreDerivingFromUrlFromProps.some(fn=>fn(_location)):!1,[]);(0,react_1.useEffect)(()=>{viewedIdFromProps&&updateViewedLane(viewedIdFromProps)},[viewedIdFromProps?.toString()]),(0,react_1.useEffect)(()=>{var _a2,_b;if(ignoreDerivingFromUrl(location))return;const viewedLaneIdToSet=location?.pathname&&lanes_ui_models_lanes_model_1.LanesModel.getLaneIdFromPathname(location?.pathname,query)||void 0||viewedLaneId||((_a2=lanesModel?.currentLane)===null||_a2===void 0?void 0:_a2.id)||((_b=lanesModel?.lanes.find(lane=>lane.id.isDefault()))===null||_b===void 0?void 0:_b.id);updateViewedLane(viewedLaneIdToSet)},[location?.pathname]),(0,react_1.useEffect)(()=>{setLanesState(existing=>{var _a2,_b;if(!loading&&lanesModel?.lanes.length){const state=new lanes_ui_models_lanes_model_1.LanesModel(Object.assign({},lanesModel));return viewedLaneId===void 0&&((_a2=lanesModel?.currentLane)===null||_a2===void 0?void 0:_a2.id)?state.setViewedOrDefaultLane((_b=lanesModel?.currentLane)===null||_b===void 0?void 0:_b.id):state.setViewedOrDefaultLane(viewedLaneId),state}return existing})},[loading,lanesModel?.lanes.length,viewedLaneId]);const lanesContextModel={lanesModel:lanesState,updateViewedLane,loading,hasMore,fetchMoreLanes,options,offset,limit};return react_1.default.createElement(lanes_context_1.LanesContext.Provider,{value:lanesContextModel},children)}exports.LanesProvider=LanesProvider},13655:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){function adopt(value){return value instanceof P?value:new P(function(resolve){resolve(value)})}return new(P||(P=Promise))(function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):adopt(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())})};Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLanes=exports.useSearchLanes=void 0;const react_1=__webpack_require__(59496),ui_foundation_ui_hooks_use_data_query_1=__webpack_require__(97857),lanes_ui_models_lanes_model_1=__webpack_require__(53298),client_1=__webpack_require__(47094),lodash_1=__webpack_require__(32699),lanes_context_1=__webpack_require__(31499),GET_LANES=(0,client_1.gql)`
568
+ `;function useDocs(componentId){var _a,_b;const{data}=(0,client_1.useQuery)(getProperties,{variables:{id:componentId.toString()}});return(_b=(_a=data?.getHost)===null||_a===void 0?void 0:_a.getDocs)===null||_b===void 0?void 0:_b.properties}exports.useDocs=useDocs},82718:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DefaultValue=exports.Properties=exports.useDocs=exports.docsFields=void 0;var get_docs_1=__webpack_require__(7122);Object.defineProperty(exports,"docsFields",{enumerable:!0,get:function(){return get_docs_1.docsFields}}),Object.defineProperty(exports,"useDocs",{enumerable:!0,get:function(){return get_docs_1.useDocs}}),Object.defineProperty(exports,"Properties",{enumerable:!0,get:function(){return get_docs_1.Properties}}),Object.defineProperty(exports,"DefaultValue",{enumerable:!0,get:function(){return get_docs_1.DefaultValue}})},28868:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.defaultDocs=void 0;const defaultDocs=exports.defaultDocs={default:()=>null,labels:[],abstract:"",examples:[]}},84723:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"BadgePosition",{enumerable:!0,get:function(){return _overview().BadgePosition}}),Object.defineProperty(exports,"Doc",{enumerable:!0,get:function(){return _docsEntities().Doc}}),Object.defineProperty(exports,"DocProp",{enumerable:!0,get:function(){return _docsEntities().DocProp}}),Object.defineProperty(exports,"DocPropList",{enumerable:!0,get:function(){return _docsEntities().DocPropList}}),Object.defineProperty(exports,"DocsAspect",{enumerable:!0,get:function(){return _docs().DocsAspect}}),Object.defineProperty(exports,"Overview",{enumerable:!0,get:function(){return _overview().Overview}}),exports.default=void 0,Object.defineProperty(exports,"defaultDocs",{enumerable:!0,get:function(){return _docs2().defaultDocs}});function _docs(){const data=__webpack_require__(12825);return _docs=function(){return data},data}function _docsEntities(){const data=__webpack_require__(87628);return _docsEntities=function(){return data},data}function _docs2(){const data=__webpack_require__(28868);return _docs2=function(){return data},data}function _overview(){const data=__webpack_require__(57682);return _overview=function(){return data},data}var _default=exports.default=_docs().DocsAspect},57682:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"BadgePosition",{enumerable:!0,get:function(){return _overview().BadgePosition}}),Object.defineProperty(exports,"Overview",{enumerable:!0,get:function(){return _overview().Overview}});function _overview(){const data=__webpack_require__(93294);return _overview=function(){return data},data}},93294:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BadgePosition=void 0,exports.Overview=Overview;function _react(){const data=_interopRequireWildcard(__webpack_require__(59496));return _react=function(){return data},data}function _classnames(){const data=_interopRequireDefault(__webpack_require__(97754));return _classnames=function(){return data},data}function _lodash(){const data=__webpack_require__(32699);return _lodash=function(){return data},data}function _component(){const data=__webpack_require__(68211);return _component=function(){return data},data}function _previewUi(){const data=__webpack_require__(27699);return _previewUi=function(){return data},data}function _componentUi(){const data=__webpack_require__(37782);return _componentUi=function(){return data},data}function _compositionsPanels(){const data=__webpack_require__(10726);return _compositionsPanels=function(){return data},data}function _baseReactThemes(){const data=__webpack_require__(15567);return _baseReactThemes=function(){return data},data}function _readmeSkeleton(){const data=__webpack_require__(95526);return _readmeSkeleton=function(){return data},data}function _overviewModule(){const data=_interopRequireDefault(__webpack_require__(8374));return _overviewModule=function(){return data},data}const _excluded=["onLoad","style"];function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}function _extends(){return _extends=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},_extends.apply(null,arguments)}function _objectWithoutProperties(e,t){if(e==null)return{};var o,r,i=_objectWithoutPropertiesLoose(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)o=s[r],t.includes(o)||{}.propertyIsEnumerable.call(e,o)&&(i[o]=e[o])}return i}function _objectWithoutPropertiesLoose(r,e){if(r==null)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(e.includes(n))continue;t[n]=r[n]}return t}let BadgePosition=exports.BadgePosition=function(BadgePosition2){return BadgePosition2[BadgePosition2.Title=0]="Title",BadgePosition2[BadgePosition2.SubTitle=1]="SubTitle",BadgePosition2[BadgePosition2.Labels=2]="Labels",BadgePosition2[BadgePosition2.Package=3]="Package",BadgePosition2}({});function Overview({titleBadges,overviewOptions,previewProps,getEmptyState,TaggedAPI}){const component=(0,_react().useContext)(_component().ComponentContext),componentDescriptor=(0,_component().useComponentDescriptor)(),{current}=(0,_baseReactThemes().useThemePicker)(),overviewProps=(0,_lodash().flatten)(overviewOptions.values())[0],showHeader=!component.preview?.legacyHeader,EmptyState=getEmptyState&&getEmptyState(),buildFailed=component.buildStatus?.toLowerCase()!=="succeed"&&component?.host==="teambit.scope/scope",isScaling=Boolean(component.preview?.isScaling),includesEnvTemplate=Boolean(component.preview?.includesEnvTemplate),defaultLoadingState=_react().default.useMemo(()=>isScaling&&!includesEnvTemplate,[isScaling,includesEnvTemplate]),[isLoading,setLoading]=(0,_react().useState)(defaultLoadingState),iframeQueryParams=`onlyOverview=${component.preview?.onlyOverview||"false"}&skipIncludes=${component.preview?.skipIncludes||component.preview?.onlyOverview}`,overviewPropsValues=overviewProps&&overviewProps(),themeParams=current?.themeName?`theme=${current?.themeName}`:"",_ref=previewProps||{},{onLoad,style}=_ref,rest=_objectWithoutProperties(_ref,_excluded),onPreviewLoad=_react().default.useCallback((e,props)=>{setLoading(!1),onLoad?.(e,props)},[onLoad]);return _react().default.useEffect(()=>{!isLoading&&defaultLoadingState&&setLoading(!0),isLoading&&!defaultLoadingState&&setLoading(!1)},[component.id.toString(),defaultLoadingState]),_react().default.createElement("div",{className:(0,_classnames().default)(_overviewModule().default.overviewWrapper,isLoading&&_overviewModule().default.noOverflow),key:`${component.id.toString()}`},showHeader&&_react().default.createElement(_componentUi().ComponentOverview,{className:(0,_classnames().default)(_overviewModule().default.componentOverviewBlock,!isScaling&&_overviewModule().default.legacyPreview),displayName:component.displayName,version:component.version,abstract:component.description,labels:component.labels,packageName:component.packageName,titleBadges:(0,_lodash().flatten)(titleBadges.values()),componentDescriptor,component}),!buildFailed&&_react().default.createElement("div",{className:_overviewModule().default.readme},isLoading&&_react().default.createElement(_readmeSkeleton().ReadmeSkeleton,null,_react().default.createElement(_compositionsPanels().CompositionGallerySkeleton,{compositionsLength:Math.min(component.compositions.length,3)})),_react().default.createElement(_previewUi().ComponentPreview,_extends({onLoad:onPreviewLoad,previewName:"overview",pubsub:!0,queryParams:[iframeQueryParams,themeParams,overviewPropsValues?.queryParams||""],viewport:null,fullContentHeight:!0,disableScroll:!0},rest,{component,style:{width:"100%",height:"100%",minHeight:isScaling?void 0:500}})),component.preview?.onlyOverview&&!isLoading&&_react().default.createElement(_compositionsPanels().CompositionGallery,{component}),component.preview?.onlyOverview&&!isLoading&&TaggedAPI&&_react().default.createElement(TaggedAPI,{componentId:component.id.toString()})),buildFailed&&EmptyState&&_react().default.createElement(EmptyState,null))}},95526:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ReadmeSkeleton=ReadmeSkeleton;function _react(){const data=_interopRequireDefault(__webpack_require__(59496));return _react=function(){return data},data}function _baseUiLoaders(){const data=__webpack_require__(20298);return _baseUiLoaders=function(){return data},data}function _overviewModule(){const data=_interopRequireDefault(__webpack_require__(8374));return _overviewModule=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function ReadmeSkeleton({children}){return _react().default.createElement("div",{className:_overviewModule().default.readmeSkeleton},_react().default.createElement(_baseUiLoaders().LineSkeleton,{width:"80%"}),_react().default.createElement(_baseUiLoaders().LineSkeleton,{width:"70%"}),_react().default.createElement(_baseUiLoaders().LineSkeleton,{width:"40%",style:{marginBottom:40}}),_react().default.createElement(_baseUiLoaders().LineSkeleton,{width:"30%",style:{marginBottom:16}}),_react().default.createElement(_baseUiLoaders().BlockSkeleton,{lines:10,style:{width:"100%",marginBottom:40}}),children)}},33461:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLanes=exports.IgnoreDerivingFromUrl=exports.LanesProviderProps=exports.LanesProvider=exports.useLanesContext=exports.LanesContextModel=exports.LanesContext=void 0;var lanes_context_1=__webpack_require__(31499);Object.defineProperty(exports,"LanesContext",{enumerable:!0,get:function(){return lanes_context_1.LanesContext}}),Object.defineProperty(exports,"LanesContextModel",{enumerable:!0,get:function(){return lanes_context_1.LanesContextModel}}),Object.defineProperty(exports,"useLanesContext",{enumerable:!0,get:function(){return lanes_context_1.useLanesContext}});var lanes_provider_1=__webpack_require__(7811);Object.defineProperty(exports,"LanesProvider",{enumerable:!0,get:function(){return lanes_provider_1.LanesProvider}}),Object.defineProperty(exports,"LanesProviderProps",{enumerable:!0,get:function(){return lanes_provider_1.LanesProviderProps}}),Object.defineProperty(exports,"IgnoreDerivingFromUrl",{enumerable:!0,get:function(){return lanes_provider_1.IgnoreDerivingFromUrl}});var use_lanes_1=__webpack_require__(13655);Object.defineProperty(exports,"useLanes",{enumerable:!0,get:function(){return use_lanes_1.useLanes}})},31499:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLanesContext=exports.LanesContext=void 0;const react_1=__webpack_require__(59496);exports.LanesContext=(0,react_1.createContext)(void 0);const useLanesContext=()=>(0,react_1.useContext)(exports.LanesContext);exports.useLanesContext=useLanesContext},7811:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result};Object.defineProperty(exports,"__esModule",{value:!0}),exports.LanesProvider=void 0;const react_1=__importStar(__webpack_require__(59496)),lanes_ui_models_lanes_model_1=__webpack_require__(53298),ui_foundation_ui_react_router_use_query_1=__webpack_require__(46286),base_react_navigation_link_1=__webpack_require__(76223),lanes_context_1=__webpack_require__(31499),use_lanes_1=__webpack_require__(13655);function LanesProvider({children,viewedLaneId:viewedLaneIdProp,targetLanes,ignoreDerivingFromUrl:ignoreDerivingFromUrlProp,skipNetworkCall,options:optionsProp={},useScope,loading:loadingFromProps}){var _a,_b;const{scope}=useScope?.()||{},query=(0,ui_foundation_ui_react_router_use_query_1.useQuery)(),location=(0,base_react_navigation_link_1.useLocation)(),skip=skipNetworkCall||Boolean(targetLanes),ignoreDerivingFromUrl=(0,react_1.useCallback)(_location=>ignoreDerivingFromUrlProp?ignoreDerivingFromUrlProp.some(fn=>fn(_location)):!1,[ignoreDerivingFromUrlProp]),[viewedLaneId,setViewedLaneId]=(0,react_1.useState)(()=>{if(viewedLaneIdProp)return viewedLaneIdProp;if(!ignoreDerivingFromUrl(location)){const laneIdFromUrl=location?.pathname?lanes_ui_models_lanes_model_1.LanesModel.getLaneIdFromPathname(location.pathname,query):void 0;if(laneIdFromUrl)return laneIdFromUrl}});(0,react_1.useEffect)(()=>{viewedLaneIdProp&&setViewedLaneId(viewedLaneIdProp)},[viewedLaneIdProp?.toString()]),(0,react_1.useEffect)(()=>{if(ignoreDerivingFromUrl(location))return;const laneIdFromUrl=location?.pathname?lanes_ui_models_lanes_model_1.LanesModel.getLaneIdFromPathname(location.pathname,query):void 0;laneIdFromUrl&&(!viewedLaneId||!viewedLaneId.isEqual(laneIdFromUrl))&&setViewedLaneId(laneIdFromUrl)},[location?.pathname,query.toString(),viewedLaneId?.toString(),ignoreDerivingFromUrl]);const options=(0,react_1.useMemo)(()=>{var _a2,_b2,_c;return Object.assign({skip,ids:(_a2=optionsProp.ids)!==null&&_a2!==void 0?_a2:viewedLaneId?[viewedLaneId.toString()]:void 0,offset:(_b2=optionsProp.offset)!==null&&_b2!==void 0?_b2:0,limit:(_c=optionsProp.limit)!==null&&_c!==void 0?_c:10},optionsProp)},[skip,optionsProp,viewedLaneId?.toString()]),{lanesModel,loading:loadingLanesModel,hasMore,fetchMoreLanes,offset,limit}=(0,use_lanes_1.useLanes)(targetLanes,skipNetworkCall,options,void 0,scope),loading=(0,react_1.useMemo)(()=>loadingFromProps||loadingLanesModel,[loadingFromProps,loadingLanesModel]),lanesState=(0,react_1.useMemo)(()=>{var _a2,_b2;if(lanesModel){const newState=new lanes_ui_models_lanes_model_1.LanesModel(Object.assign({},lanesModel)),laneIdToSet=viewedLaneId||((_a2=newState.currentLane)===null||_a2===void 0?void 0:_a2.id)||((_b2=newState.lanes.find(lane=>lane.id.isDefault()))===null||_b2===void 0?void 0:_b2.id);return newState.setViewedOrDefaultLane(laneIdToSet),newState}},[Boolean(lanesModel),(_a=lanesModel?.viewedLane)===null||_a===void 0?void 0:_a.id.toString(),viewedLaneId?.toString(),loading,lanesModel?.lanes.map(lane=>lane.id.toString()).join(",")]),updateViewedLane=(0,react_1.useCallback)(lane=>{setViewedLaneId(lane)},[]),lanesContextModel=(0,react_1.useMemo)(()=>({lanesModel:lanesState,updateViewedLane,loading,hasMore,fetchMoreLanes,options,offset,limit}),[Boolean(lanesState),(_b=lanesState?.viewedLane)===null||_b===void 0?void 0:_b.id.toString(),lanesState?.lanes.map(lane=>lane.id.toString()).join(","),updateViewedLane,loading,hasMore,fetchMoreLanes,options,offset,limit]);return react_1.default.createElement(lanes_context_1.LanesContext.Provider,{value:lanesContextModel},children)}exports.LanesProvider=LanesProvider},13655:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){function adopt(value){return value instanceof P?value:new P(function(resolve){resolve(value)})}return new(P||(P=Promise))(function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):adopt(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())})};Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLanes=exports.useSearchLanes=void 0;const react_1=__webpack_require__(59496),ui_foundation_ui_hooks_use_data_query_1=__webpack_require__(97857),lanes_ui_models_lanes_model_1=__webpack_require__(53298),client_1=__webpack_require__(47094),lodash_1=__webpack_require__(32699),lanes_context_1=__webpack_require__(31499),GET_LANES=(0,client_1.gql)`
569
569
  query Lanes(
570
570
  $extensionId: String
571
571
  $laneIds: [String!]
@@ -667,7 +667,7 @@ the following are permitted ${Object.keys(exports.IssuesClasses).join(", ")}`);c
667
667
  id
668
668
  }
669
669
  }
670
- `,useRootLanes=(viewedLaneId,skip,options={},scope)=>{const{ids,offset,limit,sort}=options,{data,fetchMore,loading}=(0,ui_foundation_ui_hooks_use_data_query_1.useDataQuery)(GET_LANES,{variables:{laneIds:ids,offset,limit,sort,skipViewedLane:!viewedLaneId||viewedLaneId.isDefault(),viewedLaneId:viewedLaneId?[viewedLaneId?.toString()]:void 0},skip,errorPolicy:"all",fetchPolicy:"cache-and-network"}),lanesModel=(0,react_1.useMemo)(()=>{if(!loading&&!!data)return lanes_ui_models_lanes_model_1.LanesModel.from({data,scope})},[loading,data,viewedLaneId?.toString(),scope]),hasMore=(0,react_1.useMemo)(()=>{var _a,_b,_c,_d,_e,_f;return loading?!0:limit?ids?.length?((_c=(_b=(_a=data?.lanes)===null||_a===void 0?void 0:_a.list)===null||_b===void 0?void 0:_b.length)!==null&&_c!==void 0?_c:0)===ids.length:((_f=(_e=(_d=data?.lanes)===null||_d===void 0?void 0:_d.list)===null||_e===void 0?void 0:_e.length)!==null&&_f!==void 0?_f:0)>=limit:!1},[loading,data]),fetchMoreLanes=(0,react_1.useCallback)((newOffset,newLimit)=>__awaiter(void 0,void 0,void 0,function*(){var _a,_b;if(hasMore)try{const{data:moreData,networkStatus}=yield fetchMore({variables:{offset:newOffset,limit:newLimit,laneIds:[],skipViewedLane:!viewedLaneId||viewedLaneId.isDefault(),viewedLaneId:viewedLaneId?[viewedLaneId?.toString()]:void 0}}),loadingMore=networkStatus===3;return!loadingMore&&moreData.lanes?{lanesModel:lanes_ui_models_lanes_model_1.LanesModel.from({data:moreData}),loading:loadingMore,hasMore:((_b=(_a=moreData.lanes.list)===null||_a===void 0?void 0:_a.length)!==null&&_b!==void 0?_b:0)>=newLimit,nextOffset:newOffset+newLimit}:{lanesModel,loading:loadingMore,nextOffset:newOffset,currentLimit:newLimit}}catch(err){return console.error(err),{}}return{lanesModel,loading:!1,hasMore:!1,nextOffset:newOffset,currentLimit:newLimit}}),[hasMore,viewedLaneId?.toString(),lanesModel]);return{loading,lanesModel,fetchMoreLanes,hasMore,offset,limit}},useSearchLanes=(search,skip)=>{const{data:searchData,loading:loadingSearch}=(0,ui_foundation_ui_hooks_use_data_query_1.useDataQuery)(GET_LANES,{variables:{search,skipViewedLane:!0},skip:skip||!search,errorPolicy:"all",fetchPolicy:"cache-and-network"});return search?{loading:loadingSearch,lanesModel:searchData&&lanes_ui_models_lanes_model_1.LanesModel.from({data:{lanes:Object.assign(Object.assign({},searchData.lanes),{current:void 0,default:void 0})}})}:{}};exports.useSearchLanes=useSearchLanes;const useLanes=(targetLanes,skip,optionsFromProps,useContextFromProps=!0,scope)=>{var _a,_b,_c,_d,_e;const context=(0,lanes_context_1.useLanesContext)()||{},options=optionsFromProps||context?.options,isSameOptions=(0,lodash_1.isEqual)(options,context?.options),useContext=useContextFromProps&&!!context&&isSameOptions,shouldSkip=skip||!!targetLanes||useContext,rootLanesData=useRootLanes((_b=(_a=context?.lanesModel)===null||_a===void 0?void 0:_a.viewedLane)===null||_b===void 0?void 0:_b.id,shouldSkip,options,scope),searchResult=(0,exports.useSearchLanes)(options?.search,shouldSkip);return targetLanes?Object.assign(Object.assign(Object.assign({},context),rootLanesData),{lanesModel:targetLanes,searchResult}):useContext?Object.assign(Object.assign({},context),{searchResult}):((_c=rootLanesData.lanesModel)===null||_c===void 0||_c.setViewedLane((_e=(_d=context?.lanesModel)===null||_d===void 0?void 0:_d.viewedLane)===null||_e===void 0?void 0:_e.id),Object.assign(Object.assign(Object.assign({},context),rootLanesData),{searchResult}))};exports.useLanes=useLanes},52515:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"PanelUiAspect",{enumerable:!0,get:function(){return _panelUi().PanelUiAspect}}),Object.defineProperty(exports,"Tab",{enumerable:!0,get:function(){return _tabs().Tab}}),Object.defineProperty(exports,"TabContainer",{enumerable:!0,get:function(){return _tabs().TabContainer}}),Object.defineProperty(exports,"TabList",{enumerable:!0,get:function(){return _tabs().TabList}}),Object.defineProperty(exports,"TabPanel",{enumerable:!0,get:function(){return _tabs().TabPanel}});function _panelUi(){const data=__webpack_require__(9322);return _panelUi=function(){return data},data}function _tabs(){const data=__webpack_require__(63096);return _tabs=function(){return data},data}},9322:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PanelUiAspect=void 0;function _harmony(){const data=__webpack_require__(55669);return _harmony=function(){return data},data}const PanelUiAspect=exports.PanelUiAspect=_harmony().Aspect.create({id:"teambit.ui-foundation/panels",dependencies:[],defaultConfig:{}})},63096:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tab=Tab,exports.TabContainer=void 0,exports.TabList=TabList,exports.TabPanel=void 0;function _classnames(){const data=_interopRequireDefault(__webpack_require__(97754));return _classnames=function(){return data},data}function _react(){const data=_interopRequireDefault(__webpack_require__(59496));return _react=function(){return data},data}function _reactTabs(){const data=__webpack_require__(35493);return _reactTabs=function(){return data},data}function _tabsModule(){const data=_interopRequireDefault(__webpack_require__(74148));return _tabsModule=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _extends(){return _extends=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},_extends.apply(null,arguments)}const TabContainer=exports.TabContainer=_reactTabs().Tabs;function TabList(props){return _react().default.createElement(_reactTabs().TabList,_extends({},props,{className:(0,_classnames().default)(_tabsModule().default.tabContainer,props.className)}))}TabList.tabsRole="TabList";const TabPanel=exports.TabPanel=_reactTabs().TabPanel;function Tab(props){return _react().default.createElement(_reactTabs().Tab,_extends({},props,{className:(0,_classnames().default)(props.className,_tabsModule().default.tab),selectedClassName:_tabsModule().default.active,disabledClassName:_tabsModule().default.disabled}))}Tab.tabsRole="Tab"},27580:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.validateVersion=exports.getValidVersionOrReleaseType=exports.getLatestVersion=void 0;var semver_helper_1=__webpack_require__(50702);Object.defineProperty(exports,"getLatestVersion",{enumerable:!0,get:function(){return semver_helper_1.getLatestVersion}}),Object.defineProperty(exports,"getValidVersionOrReleaseType",{enumerable:!0,get:function(){return semver_helper_1.getValidVersionOrReleaseType}}),Object.defineProperty(exports,"validateVersion",{enumerable:!0,get:function(){return semver_helper_1.validateVersion}})},50702:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getLatestVersion=exports.getValidVersionOrReleaseType=exports.validateVersion=exports.throwForUnsupportedReleaseType=exports.isReleaseTypeSupported=exports.isStrReleaseType=void 0;const semver_1=__webpack_require__(9131),component_version_1=__webpack_require__(22670);function isStrReleaseType(str){return["major","premajor","minor","preminor","patch","prepatch","prerelease"].includes(str)}exports.isStrReleaseType=isStrReleaseType;function isReleaseTypeSupported(str){return["patch","minor","major","prerelease"].includes(str)}exports.isReleaseTypeSupported=isReleaseTypeSupported;function throwForUnsupportedReleaseType(str){if(!isReleaseTypeSupported(str))throw new Error(`the release-type "${str}" is not supported`)}exports.throwForUnsupportedReleaseType=throwForUnsupportedReleaseType;function validateVersion(version){if(version){const validVersion=(0,semver_1.valid)(version);if(!validVersion)throw new component_version_1.InvalidVersion(version);return validVersion}}exports.validateVersion=validateVersion;function getValidVersionOrReleaseType(str){if(isStrReleaseType(str)){const releaseType=str;return throwForUnsupportedReleaseType(releaseType),{releaseType}}return{exactVersion:validateVersion(str)}}exports.getValidVersionOrReleaseType=getValidVersionOrReleaseType;function getLatestVersion(versions){const max=(0,semver_1.maxSatisfying)(versions,"*",{includePrerelease:!0});if(!max)throw new Error(`unable to find the latest version from ${versions.join(", ")}`);return max}exports.getLatestVersion=getLatestVersion},75665:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.computePreviewScale=void 0;function computePreviewScale(width,containerWidth){const scale=containerWidth*.95/width;return scale>1?"scale(1)":`scale(${scale})`}exports.computePreviewScale=computePreviewScale},27699:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.toPreviewHash=exports.toPreviewServer=exports.toPreviewUrl=exports.ComponentPreview=void 0;var preview_1=__webpack_require__(34874);Object.defineProperty(exports,"ComponentPreview",{enumerable:!0,get:function(){return preview_1.ComponentPreview}});var urls_1=__webpack_require__(99768);Object.defineProperty(exports,"toPreviewUrl",{enumerable:!0,get:function(){return urls_1.toPreviewUrl}}),Object.defineProperty(exports,"toPreviewServer",{enumerable:!0,get:function(){return urls_1.toPreviewServer}}),Object.defineProperty(exports,"toPreviewHash",{enumerable:!0,get:function(){return urls_1.toPreviewHash}})},34874: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.ComponentPreview=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),lodash_1=__webpack_require__(32699),penpal_1=__webpack_require__(63805),pubsub_1=__webpack_require__(23179),ui_foundation_ui_rendering_html_1=__webpack_require__(91375),urls_1=__webpack_require__(99768),compute_preview_scale_1=__webpack_require__(75665),use_iframe_content_height_1=__webpack_require__(63853),preview_module_scss_1=__importDefault(__webpack_require__(16033));function ComponentPreview(_a){var _b,_c,_d,{component,previewName,className,forceHeight,includeEnv=!0,queryParams,disableScroll=!1,pubsub,innerBottomPadding=0,viewport=1280,fullContentHeight=!1,onLoad,style}=_a,rest=__rest(_a,["component","previewName","className","forceHeight","includeEnv","queryParams","disableScroll","pubsub","innerBottomPadding","viewport","fullContentHeight","onLoad","style"]);const[heightIframeRef,iframeHeight]=(0,use_iframe_content_height_1.useIframeContentHeight)({skip:!1,viewport}),iframeRef=(0,react_1.useRef)(null),[width,setWidth]=(0,react_1.useState)(0),[height,setHeight]=(0,react_1.useState)(0),containerRef=(0,react_1.useRef)(null),isScaling=(_b=component.preview)===null||_b===void 0?void 0:_b.isScaling,currentRef=isScaling?iframeRef:heightIframeRef;(0,pubsub_1.usePubSubIframe)(pubsub?currentRef:void 0),(0,react_1.useEffect)(()=>{const handleLoad=event=>{event.data&&(event.data.event===ui_foundation_ui_rendering_html_1.LOAD_EVENT||event.data.event==="webpackInvalid")&&onLoad&&onLoad(event)};return window.addEventListener("message",handleLoad),()=>{window.removeEventListener("message",handleLoad)}},[]),(0,react_1.useEffect)(()=>{!iframeRef.current||(0,penpal_1.connectToChild)({iframe:iframeRef.current,methods:{pub:(event,message)=>{message.type==="preview-size"&&(setWidth(message.data.width),setHeight(message.data.height)),onLoad&&event&&onLoad(event,{height:message.data.height,width:message.data.width})}}})},[iframeRef?.current]);const params=Array.isArray(queryParams)?queryParams.concat(`viewport=${viewport}`):(0,lodash_1.compact)([queryParams,`viewport=${viewport}`]),targetParams=viewport===null?queryParams:params,url=(0,urls_1.toPreviewUrl)(component,previewName,isScaling?targetParams:queryParams,includeEnv),containerWidth=((_c=containerRef.current)===null||_c===void 0?void 0:_c.offsetWidth)||0,containerHeight=((_d=containerRef.current)===null||_d===void 0?void 0:_d.offsetHeight)||0,currentWidth=fullContentHeight?"100%":width||1280,legacyCurrentWidth="100%",targetWidth=typeof currentWidth=="string"?currentWidth:Math.max(currentWidth,containerWidth),targetHeight=height!==0?height:5e3,finalHeight=!fullContentHeight&&targetHeight<containerHeight?containerHeight:targetHeight,defaultLegacyHeight=forceHeight||5e3,legacyIframeHeight=(iframeHeight||0)>400?iframeHeight:defaultLegacyHeight;return react_1.default.createElement("div",{ref:containerRef,className:(0,classnames_1.default)(preview_module_scss_1.default.preview,className),style:{height:forceHeight}},react_1.default.createElement("iframe",Object.assign({},rest,{ref:currentRef,style:Object.assign(Object.assign({},style),{height:forceHeight||(isScaling?finalHeight+innerBottomPadding:legacyIframeHeight),width:isScaling?targetWidth:legacyCurrentWidth,visibility:width===0&&isScaling&&!fullContentHeight?"hidden":void 0,transform:fullContentHeight?"":(0,compute_preview_scale_1.computePreviewScale)(width,containerWidth),border:0,transformOrigin:"top left"}),src:url,scrolling:disableScroll?"no":void 0})))}exports.ComponentPreview=ComponentPreview},99768:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.toPreviewHash=exports.toPreviewServer=exports.toPreviewUrl=void 0;const base_ui_utils_string_affix_1=__webpack_require__(6480);function toPreviewUrl(component,previewName,additionalParams,includeEnvId=!0){const serverPath=toPreviewServer(component,previewName),envId=getEnvIdQueryParam(component,includeEnvId),hash=toPreviewHash(component,previewName,envId,additionalParams);return`${serverPath}#${hash}`}exports.toPreviewUrl=toPreviewUrl;function toPreviewServer(component,previewName){var _a,_b;const explicitUrl=(_a=component.server)===null||_a===void 0?void 0:_a.url;return explicitUrl&&!component.server.host?explicitUrl:((_b=component.preview)===null||_b===void 0?void 0:_b.includesEnvTemplate)===!1?toEnvTemplatePreviewUrl(component,previewName):toComponentPreviewUrl(component)}exports.toPreviewServer=toPreviewServer;function getEnvIdQueryParam(component,includeEnvId=!0){var _a,_b,_c,_d;if(!!includeEnvId&&!(((_a=component.server)===null||_a===void 0?void 0:_a.host)||((_b=component.server)===null||_b===void 0?void 0:_b.basePath))&&!!(!((_c=component.server)===null||_c===void 0)&&_c.url))return(_d=component.environment)===null||_d===void 0?void 0:_d.id}function toComponentPreviewUrl(component){var _a,_b;return`${createPrefix((_a=component.server)===null||_a===void 0?void 0:_a.basePath,(_b=component.server)===null||_b===void 0?void 0:_b.host)}/${component.id.toString()}/~aspect/preview/`}function createPrefix(basePath,host){const actualBasePath=basePath||"/api",basePathWithSlash=actualBasePath.startsWith("/")?actualBasePath:`/${actualBasePath}`,hostWithoutSlash=host?.endsWith("/")?host.slice(0,-1):host,prefix=hostWithoutSlash?`${hostWithoutSlash}${basePathWithSlash}`:basePathWithSlash;return prefix.endsWith("/")?prefix.slice(0,-1):prefix}function toEnvTemplatePreviewUrl(component,previewName){var _a,_b,_c;const envId=(_a=component.environment)===null||_a===void 0?void 0:_a.id,search=`compId=${component.id.toString()}`;return`${createPrefix((_b=component.server)===null||_b===void 0?void 0:_b.basePath,(_c=component.server)===null||_c===void 0?void 0:_c.host)}/${envId}/~aspect/env-template/${previewName}/?${search}`}function toPreviewHash(component,previewName,envId,queryParams=""){const previewParam=(0,base_ui_utils_string_affix_1.affix)("preview=",previewName),envIdParam=(0,base_ui_utils_string_affix_1.affix)("env=",envId),hashQuery=[previewParam,envIdParam].concat(queryParams).filter(x=>!!x).join("&");return`${component.id.toString()}${(0,base_ui_utils_string_affix_1.affix)("?",hashQuery)}`}exports.toPreviewHash=toPreviewHash},63853:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useInterval=exports.useIframeContentHeight=void 0;const react_1=__webpack_require__(59496);function useIframeContentHeight({interval=250,skip,viewport}){const iframeRef=(0,react_1.useRef)(null),[iframeHeight,setIframeHeight]=(0,react_1.useState)(0),[iframeWidth,setIframeWidth]=(0,react_1.useState)(0);if(skip)return[iframeRef,void 0,iframeWidth];let first=!0;return useInterval(()=>{var _a;try{const iframe=iframeRef.current;viewport!==null&&(iframe.contentWindow.document.body.style.width="fit-content"),!first&&iframe?.style.height==="5000px"&&(iframe.style.height="100%");const newHeight=iframe.contentWindow.document.body.scrollHeight,newWidth=(_a=iframe?.contentWindow)===null||_a===void 0?void 0:_a.document.body.offsetWidth;setIframeHeight(newHeight),setIframeWidth(newWidth||0),first=!1}catch{}},interval),[iframeRef,iframeHeight,iframeWidth]}exports.useIframeContentHeight=useIframeContentHeight;function useInterval(callback,interval){const savedCallback=(0,react_1.useRef)(()=>callback);(0,react_1.useEffect)(()=>{savedCallback.current=callback}),(0,react_1.useEffect)(()=>{function tick(){savedCallback.current()}if(interval!==null){const id=setInterval(tick,interval);return()=>clearInterval(id)}return()=>{}},[interval])}exports.useInterval=useInterval},61286: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.DocsApp=void 0;const react_1=__importDefault(__webpack_require__(59496)),docs_1=__webpack_require__(84723),react_ui_docs_properties_table_1=__webpack_require__(98077),react_ui_docs_compositions_carousel_1=__webpack_require__(54505),react_ui_docs_docs_content_1=__webpack_require__(90036),docs_theme_1=__webpack_require__(35623),docs_app_module_scss_1=__importDefault(__webpack_require__(63447));function DocsApp({componentId,docs=docs_1.defaultDocs,compositions,context}){const withoutHash=window.location.hash.substring(1),[,after]=withoutHash.split("?"),renderOnlyOverview=new URLSearchParams(after).get("onlyOverview");return react_1.default.createElement(docs_theme_1.DocsTheme,null,react_1.default.createElement(react_1.default.Fragment,null,react_1.default.createElement(react_ui_docs_docs_content_1.DocsContent,{docs,className:docs_app_module_scss_1.default.mdx}),(!renderOnlyOverview||renderOnlyOverview==="false")&&react_1.default.createElement(react_ui_docs_compositions_carousel_1.CompositionsCarousel,{renderingContext:context,compositions,className:docs_app_module_scss_1.default.compositionSection,compositionCardClass:docs_app_module_scss_1.default.compositionCard}),(!renderOnlyOverview||renderOnlyOverview==="false")&&react_1.default.createElement(react_ui_docs_properties_table_1.PropertiesTable,{componentId})))}exports.DocsApp=DocsApp},35623: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.DocsTheme=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),design_themes_theme_toggler_1=__webpack_require__(68960),design_theme_icons_font_1=__webpack_require__(22975),docs_app_module_scss_1=__importDefault(__webpack_require__(63447));function DocsTheme({children}){const hash=window.location.hash,[,hashQuery]=hash&&hash.split("?"),theme=new URLSearchParams(hashQuery).get("theme")||"light";return react_1.default.createElement(design_themes_theme_toggler_1.ThemeSwitcher,{defaultTheme:theme},react_1.default.createElement(design_theme_icons_font_1.IconFont,{query:"q76y7n"}),react_1.default.createElement("div",{className:(0,classnames_1.default)(docs_app_module_scss_1.default.docsMainBlock)},children))}exports.DocsTheme=DocsTheme},17294:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0});const react_1=__importDefault(__webpack_require__(59496)),react_dom_1=__importDefault(__webpack_require__(87995)),docs_app_1=__webpack_require__(61286);function DocsRoot({componentId,docs,compositions,context}){react_dom_1.default.render(react_1.default.createElement(docs_app_1.DocsApp,{componentId,docs,compositions,context}),document.getElementById("root"))}DocsRoot.apiObject=!0,exports.default=DocsRoot},79022: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.docsStyles=exports.DocsApp=exports.default=exports.DocsTheme=void 0;var docs_theme_1=__webpack_require__(35623);Object.defineProperty(exports,"DocsTheme",{enumerable:!0,get:function(){return docs_theme_1.DocsTheme}});var docs_app_root_1=__webpack_require__(17294);Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return __importDefault(docs_app_root_1).default}});var docs_app_1=__webpack_require__(61286);Object.defineProperty(exports,"DocsApp",{enumerable:!0,get:function(){return docs_app_1.DocsApp}});var docs_app_module_scss_1=__webpack_require__(63447);Object.defineProperty(exports,"docsStyles",{enumerable:!0,get:function(){return __importDefault(docs_app_module_scss_1).default}})},80849: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.ApplyProviders=void 0;const react_1=__importDefault(__webpack_require__(59496)),react_error_boundary_1=__webpack_require__(75340),base_ui_utils_composer_1=__webpack_require__(80893),react_ui_error_fallback_1=__webpack_require__(32334),react_2=__webpack_require__(32750);function ApplyProviders(_a){var{renderingContext,children}=_a,rest=__rest(_a,["renderingContext","children"]);const{providers=[]}=renderingContext.get(react_2.ReactAspect.id)||{};return react_1.default.createElement("div",Object.assign({},rest),react_1.default.createElement(react_error_boundary_1.ErrorBoundary,{FallbackComponent:react_ui_error_fallback_1.ErrorFallback},react_1.default.createElement(base_ui_utils_composer_1.Composer,{components:providers},children)))}exports.ApplyProviders=ApplyProviders},95440:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ApplyProviders=void 0;var apply_providers_1=__webpack_require__(80849);Object.defineProperty(exports,"ApplyProviders",{enumerable:!0,get:function(){return apply_providers_1.ApplyProviders}})},84218: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.CompositionsCarousel=void 0;const react_1=__importDefault(__webpack_require__(59496)),react_ui_docs_apply_providers_1=__webpack_require__(95440),compositions_ui_compositions_overview_1=__webpack_require__(31314),documenter_ui_linked_heading_1=__webpack_require__(19058),documenter_ui_section_1=__webpack_require__(94761);function CompositionsCarousel(_a){var{compositions,compositionCardClass,renderingContext}=_a,rest=__rest(_a,["compositions","compositionCardClass","renderingContext"]);return!compositions||Object.keys(compositions).length===0?null:react_1.default.createElement(documenter_ui_section_1.Section,Object.assign({},rest),react_1.default.createElement(documenter_ui_linked_heading_1.LinkedHeading,null,"Compositions"),react_1.default.createElement(react_ui_docs_apply_providers_1.ApplyProviders,{renderingContext},react_1.default.createElement(compositions_ui_compositions_overview_1.CompositionsOverview,{compositions,compositionCardClass})))}exports.CompositionsCarousel=CompositionsCarousel},54505:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionsCarousel=void 0;var compositions_carousel_1=__webpack_require__(84218);Object.defineProperty(exports,"CompositionsCarousel",{enumerable:!0,get:function(){return compositions_carousel_1.CompositionsCarousel}})},58715: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.DocsContent=void 0;const react_error_boundary_1=__webpack_require__(75340),lodash_1=__webpack_require__(32699),docs_1=__webpack_require__(84723),react_ui_error_fallback_1=__webpack_require__(32334),mdx_ui_mdx_layout_1=__webpack_require__(72920),react_1=__importDefault(__webpack_require__(59496));function DocsContent(_a){var{docs=docs_1.defaultDocs}=_a,rest=__rest(_a,["docs"]);const Content=(0,lodash_1.isFunction)(docs.default)?docs.default:()=>null;return react_1.default.createElement(react_error_boundary_1.ErrorBoundary,{FallbackComponent:react_ui_error_fallback_1.ErrorFallback},Content.isMDXComponent?react_1.default.createElement(mdx_ui_mdx_layout_1.MDXLayout,Object.assign({},rest),react_1.default.createElement(Content,null)):react_1.default.createElement(Content,null))}exports.DocsContent=DocsContent},90036:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DocsContent=void 0;var docs_content_1=__webpack_require__(58715);Object.defineProperty(exports,"DocsContent",{enumerable:!0,get:function(){return docs_content_1.DocsContent}})},98077:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PropertiesTable=void 0;var properties_table_1=__webpack_require__(29784);Object.defineProperty(exports,"PropertiesTable",{enumerable:!0,get:function(){return properties_table_1.PropertiesTable}})},29784: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.PropertiesTable=void 0;const documenter_ui_linked_heading_1=__webpack_require__(19058),documenter_ui_property_table_1=__webpack_require__(17218),documenter_ui_section_1=__webpack_require__(94761),component_ui_hooks_use_fetch_docs_1=__webpack_require__(36791),react_1=__importDefault(__webpack_require__(59496));function PropertiesTable(_a){var{componentId}=_a,rest=__rest(_a,["componentId"]);const{loading,error,data}=(0,component_ui_hooks_use_fetch_docs_1.useFetchDocs)(componentId);if(!data||loading)return null;if(error)return console.error(`failed to fetch docs for ${componentId} in PropertiesTable`,error),null;const{properties}=data.docs;return properties.length===0?react_1.default.createElement("div",null):react_1.default.createElement(documenter_ui_section_1.Section,Object.assign({},rest),react_1.default.createElement(documenter_ui_linked_heading_1.LinkedHeading,null,"Properties"),react_1.default.createElement(documenter_ui_property_table_1.PropTable,{rows:properties}))}exports.PropertiesTable=PropertiesTable},16880:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){function adopt(value){return value instanceof P?value:new P(function(resolve){resolve(value)})}return new(P||(P=Promise))(function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):adopt(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())})},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.ErrorFallback=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),design_ui_icon_button_1=__webpack_require__(53330),base_ui_styles_flex_center_1=__webpack_require__(15764),error_fallback_module_scss_1=__importDefault(__webpack_require__(52091));function ErrorFallback({resetErrorBoundary,className,children="Failed to render",cta="try again"}){const handleClick=()=>__awaiter(this,void 0,void 0,function*(){yield new Promise(resolve=>setTimeout(resolve,480)),resetErrorBoundary()});return react_1.default.createElement("div",{className:(0,classnames_1.default)(error_fallback_module_scss_1.default.errorFallback,base_ui_styles_flex_center_1.flexCenter,className)},react_1.default.createElement("div",{className:error_fallback_module_scss_1.default.icon}),react_1.default.createElement("div",{className:error_fallback_module_scss_1.default.message},children),react_1.default.createElement(design_ui_icon_button_1.IconButton,{onClick:handleClick,className:error_fallback_module_scss_1.default.retryButton},cta))}exports.ErrorFallback=ErrorFallback},32334:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ErrorFallback=void 0;var error_fallback_1=__webpack_require__(16880);Object.defineProperty(exports,"ErrorFallback",{enumerable:!0,get:function(){return error_fallback_1.ErrorFallback}})},31461:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.matchPatterns=exports.splitPatterns=void 0;var match_patterns_1=__webpack_require__(36213);Object.defineProperty(exports,"splitPatterns",{enumerable:!0,get:function(){return match_patterns_1.splitPatterns}}),Object.defineProperty(exports,"matchPatterns",{enumerable:!0,get:function(){return match_patterns_1.matchPatterns}})},36213: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.splitPatterns=exports.matchPatterns=void 0;const minimatch_1=__importDefault(__webpack_require__(18455));function matchPatterns(filePath,includePatterns,excludePatterns){const included=includePatterns.some(pattern=>(0,minimatch_1.default)(filePath,pattern)),excluded=excludePatterns.every(pattern=>(0,minimatch_1.default)(filePath,pattern));return included&&excluded}exports.matchPatterns=matchPatterns;function splitPatterns(patterns){return{includePatterns:patterns.filter(pattern=>!pattern.startsWith("!")),excludePatterns:patterns.filter(pattern=>pattern.startsWith("!"))}}exports.splitPatterns=splitPatterns},55044:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.capitalize=void 0;function capitalize(str){return str.charAt(0).toUpperCase()+str.slice(1)}exports.capitalize=capitalize},58315:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.capitalize=void 0;var capitalize_1=__webpack_require__(55044);Object.defineProperty(exports,"capitalize",{enumerable:!0,get:function(){return capitalize_1.capitalize}})},14663:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var process=__webpack_require__(14224),Buffer=__webpack_require__(55872).Buffer;Object.defineProperty(exports,"__esModule",{value:!0}),exports.crlf=exports.cr=exports.auto=exports.lf=void 0;const isbinaryfile_1=__webpack_require__(36768),lineBreak=typeof process<"u"&&process.platform==="win32"?`\r
670
+ `,useRootLanes=(viewedLaneId,skip,options={},scope)=>{const{ids,offset,limit,sort}=options,{data,fetchMore,loading}=(0,ui_foundation_ui_hooks_use_data_query_1.useDataQuery)(GET_LANES,{variables:{laneIds:ids,offset,limit,sort,skipViewedLane:!viewedLaneId||viewedLaneId.isDefault(),viewedLaneId:viewedLaneId?[viewedLaneId?.toString()]:void 0},skip,errorPolicy:"all",fetchPolicy:"cache-and-network"}),lanesModel=(0,react_1.useMemo)(()=>{if(!loading&&!!data)return lanes_ui_models_lanes_model_1.LanesModel.from({data,scope})},[loading,data,viewedLaneId?.toString(),scope]),hasMore=(0,react_1.useMemo)(()=>{var _a,_b,_c,_d,_e,_f;return loading?!0:limit?ids?.length?((_c=(_b=(_a=data?.lanes)===null||_a===void 0?void 0:_a.list)===null||_b===void 0?void 0:_b.length)!==null&&_c!==void 0?_c:0)===ids.length:((_f=(_e=(_d=data?.lanes)===null||_d===void 0?void 0:_d.list)===null||_e===void 0?void 0:_e.length)!==null&&_f!==void 0?_f:0)>=limit:!1},[loading,data]),fetchMoreLanes=(0,react_1.useCallback)((newOffset,newLimit)=>__awaiter(void 0,void 0,void 0,function*(){var _a,_b;if(hasMore)try{const{data:moreData,networkStatus}=yield fetchMore({variables:{offset:newOffset,limit:newLimit,laneIds:[],skipViewedLane:!viewedLaneId||viewedLaneId.isDefault(),viewedLaneId:viewedLaneId?[viewedLaneId?.toString()]:void 0}}),loadingMore=networkStatus===3;return!loadingMore&&moreData.lanes?{lanesModel:lanes_ui_models_lanes_model_1.LanesModel.from({data:moreData}),loading:loadingMore,hasMore:((_b=(_a=moreData.lanes.list)===null||_a===void 0?void 0:_a.length)!==null&&_b!==void 0?_b:0)>=newLimit,nextOffset:newOffset+newLimit}:{lanesModel,loading:loadingMore,nextOffset:newOffset,currentLimit:newLimit}}catch(err){return console.error(err),{}}return{lanesModel,loading:!1,hasMore:!1,nextOffset:newOffset,currentLimit:newLimit}}),[hasMore,viewedLaneId?.toString(),lanesModel]);return{loading,lanesModel,fetchMoreLanes,hasMore,offset,limit}},useSearchLanes=(search,skip)=>{const{data:searchData,loading:loadingSearch}=(0,ui_foundation_ui_hooks_use_data_query_1.useDataQuery)(GET_LANES,{variables:{search,skipViewedLane:!0},skip:skip||!search,errorPolicy:"all",fetchPolicy:"cache-and-network"});return search?{loading:loadingSearch,lanesModel:searchData&&lanes_ui_models_lanes_model_1.LanesModel.from({data:{lanes:Object.assign(Object.assign({},searchData.lanes),{current:void 0,default:void 0})}})}:{}};exports.useSearchLanes=useSearchLanes;const useLanes=(targetLanes,skip,optionsFromProps,useContextFromProps=!0,scope)=>{var _a,_b,_c,_d,_e,_f,_g;const context=(0,lanes_context_1.useLanesContext)()||{},options=optionsFromProps||context?.options,isSameOptions=(0,lodash_1.isEqual)(options,context?.options),useContext=useContextFromProps&&!!context&&isSameOptions,shouldSkip=skip||!!targetLanes||useContext,rootLanesData=useRootLanes((_b=(_a=context?.lanesModel)===null||_a===void 0?void 0:_a.viewedLane)===null||_b===void 0?void 0:_b.id,shouldSkip,options,scope),searchResult=(0,exports.useSearchLanes)(options?.search,shouldSkip);return targetLanes?(targetLanes.viewedLane||targetLanes.setViewedLane((_d=(_c=context?.lanesModel)===null||_c===void 0?void 0:_c.viewedLane)===null||_d===void 0?void 0:_d.id),Object.assign(Object.assign(Object.assign({},context),rootLanesData),{lanesModel:targetLanes,searchResult})):useContext?Object.assign(Object.assign({},context),{searchResult}):((_e=rootLanesData.lanesModel)===null||_e===void 0||_e.setViewedLane((_g=(_f=context?.lanesModel)===null||_f===void 0?void 0:_f.viewedLane)===null||_g===void 0?void 0:_g.id),Object.assign(Object.assign(Object.assign({},context),rootLanesData),{searchResult}))};exports.useLanes=useLanes},52515:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"PanelUiAspect",{enumerable:!0,get:function(){return _panelUi().PanelUiAspect}}),Object.defineProperty(exports,"Tab",{enumerable:!0,get:function(){return _tabs().Tab}}),Object.defineProperty(exports,"TabContainer",{enumerable:!0,get:function(){return _tabs().TabContainer}}),Object.defineProperty(exports,"TabList",{enumerable:!0,get:function(){return _tabs().TabList}}),Object.defineProperty(exports,"TabPanel",{enumerable:!0,get:function(){return _tabs().TabPanel}});function _panelUi(){const data=__webpack_require__(9322);return _panelUi=function(){return data},data}function _tabs(){const data=__webpack_require__(63096);return _tabs=function(){return data},data}},9322:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PanelUiAspect=void 0;function _harmony(){const data=__webpack_require__(55669);return _harmony=function(){return data},data}const PanelUiAspect=exports.PanelUiAspect=_harmony().Aspect.create({id:"teambit.ui-foundation/panels",dependencies:[],defaultConfig:{}})},63096:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tab=Tab,exports.TabContainer=void 0,exports.TabList=TabList,exports.TabPanel=void 0;function _classnames(){const data=_interopRequireDefault(__webpack_require__(97754));return _classnames=function(){return data},data}function _react(){const data=_interopRequireDefault(__webpack_require__(59496));return _react=function(){return data},data}function _reactTabs(){const data=__webpack_require__(35493);return _reactTabs=function(){return data},data}function _tabsModule(){const data=_interopRequireDefault(__webpack_require__(74148));return _tabsModule=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _extends(){return _extends=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},_extends.apply(null,arguments)}const TabContainer=exports.TabContainer=_reactTabs().Tabs;function TabList(props){return _react().default.createElement(_reactTabs().TabList,_extends({},props,{className:(0,_classnames().default)(_tabsModule().default.tabContainer,props.className)}))}TabList.tabsRole="TabList";const TabPanel=exports.TabPanel=_reactTabs().TabPanel;function Tab(props){return _react().default.createElement(_reactTabs().Tab,_extends({},props,{className:(0,_classnames().default)(props.className,_tabsModule().default.tab),selectedClassName:_tabsModule().default.active,disabledClassName:_tabsModule().default.disabled}))}Tab.tabsRole="Tab"},27580:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.validateVersion=exports.getValidVersionOrReleaseType=exports.getLatestVersion=void 0;var semver_helper_1=__webpack_require__(50702);Object.defineProperty(exports,"getLatestVersion",{enumerable:!0,get:function(){return semver_helper_1.getLatestVersion}}),Object.defineProperty(exports,"getValidVersionOrReleaseType",{enumerable:!0,get:function(){return semver_helper_1.getValidVersionOrReleaseType}}),Object.defineProperty(exports,"validateVersion",{enumerable:!0,get:function(){return semver_helper_1.validateVersion}})},50702:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getLatestVersion=exports.getValidVersionOrReleaseType=exports.validateVersion=exports.throwForUnsupportedReleaseType=exports.isReleaseTypeSupported=exports.isStrReleaseType=void 0;const semver_1=__webpack_require__(9131),component_version_1=__webpack_require__(22670);function isStrReleaseType(str){return["major","premajor","minor","preminor","patch","prepatch","prerelease"].includes(str)}exports.isStrReleaseType=isStrReleaseType;function isReleaseTypeSupported(str){return["patch","minor","major","prerelease"].includes(str)}exports.isReleaseTypeSupported=isReleaseTypeSupported;function throwForUnsupportedReleaseType(str){if(!isReleaseTypeSupported(str))throw new Error(`the release-type "${str}" is not supported`)}exports.throwForUnsupportedReleaseType=throwForUnsupportedReleaseType;function validateVersion(version){if(version){const validVersion=(0,semver_1.valid)(version);if(!validVersion)throw new component_version_1.InvalidVersion(version);return validVersion}}exports.validateVersion=validateVersion;function getValidVersionOrReleaseType(str){if(isStrReleaseType(str)){const releaseType=str;return throwForUnsupportedReleaseType(releaseType),{releaseType}}return{exactVersion:validateVersion(str)}}exports.getValidVersionOrReleaseType=getValidVersionOrReleaseType;function getLatestVersion(versions){const max=(0,semver_1.maxSatisfying)(versions,"*",{includePrerelease:!0});if(!max)throw new Error(`unable to find the latest version from ${versions.join(", ")}`);return max}exports.getLatestVersion=getLatestVersion},75665:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.computePreviewScale=void 0;function computePreviewScale(width,containerWidth){const scale=containerWidth*.95/width;return scale>1?"scale(1)":`scale(${scale})`}exports.computePreviewScale=computePreviewScale},27699:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.toPreviewHash=exports.toPreviewServer=exports.toPreviewUrl=exports.ComponentPreview=void 0;var preview_1=__webpack_require__(34874);Object.defineProperty(exports,"ComponentPreview",{enumerable:!0,get:function(){return preview_1.ComponentPreview}});var urls_1=__webpack_require__(99768);Object.defineProperty(exports,"toPreviewUrl",{enumerable:!0,get:function(){return urls_1.toPreviewUrl}}),Object.defineProperty(exports,"toPreviewServer",{enumerable:!0,get:function(){return urls_1.toPreviewServer}}),Object.defineProperty(exports,"toPreviewHash",{enumerable:!0,get:function(){return urls_1.toPreviewHash}})},34874: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.ComponentPreview=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),lodash_1=__webpack_require__(32699),penpal_1=__webpack_require__(63805),pubsub_1=__webpack_require__(23179),ui_foundation_ui_rendering_html_1=__webpack_require__(91375),urls_1=__webpack_require__(99768),compute_preview_scale_1=__webpack_require__(75665),use_iframe_content_height_1=__webpack_require__(63853),preview_module_scss_1=__importDefault(__webpack_require__(16033));function ComponentPreview(_a){var _b,_c,_d,{component,previewName,className,forceHeight,includeEnv=!0,queryParams,disableScroll=!1,pubsub,innerBottomPadding=0,viewport=1280,fullContentHeight=!1,onLoad,style}=_a,rest=__rest(_a,["component","previewName","className","forceHeight","includeEnv","queryParams","disableScroll","pubsub","innerBottomPadding","viewport","fullContentHeight","onLoad","style"]);const[heightIframeRef,iframeHeight]=(0,use_iframe_content_height_1.useIframeContentHeight)({skip:!1,viewport}),iframeRef=(0,react_1.useRef)(null),[width,setWidth]=(0,react_1.useState)(0),[height,setHeight]=(0,react_1.useState)(0),containerRef=(0,react_1.useRef)(null),isScaling=(_b=component.preview)===null||_b===void 0?void 0:_b.isScaling,currentRef=isScaling?iframeRef:heightIframeRef;(0,pubsub_1.usePubSubIframe)(pubsub?currentRef:void 0),(0,react_1.useEffect)(()=>{const handleLoad=event=>{event.data&&(event.data.event===ui_foundation_ui_rendering_html_1.LOAD_EVENT||event.data.event==="webpackInvalid")&&onLoad&&onLoad(event)};return window.addEventListener("message",handleLoad),()=>{window.removeEventListener("message",handleLoad)}},[]),(0,react_1.useEffect)(()=>{!iframeRef.current||(0,penpal_1.connectToChild)({iframe:iframeRef.current,methods:{pub:(event,message)=>{message.type==="preview-size"&&(setWidth(message.data.width),setHeight(message.data.height)),onLoad&&event&&onLoad(event,{height:message.data.height,width:message.data.width})}}})},[iframeRef?.current]);const params=Array.isArray(queryParams)?queryParams.concat(`viewport=${viewport}`):(0,lodash_1.compact)([queryParams,`viewport=${viewport}`]),targetParams=viewport===null?queryParams:params,url=(0,urls_1.toPreviewUrl)(component,previewName,isScaling?targetParams:queryParams,includeEnv),containerWidth=((_c=containerRef.current)===null||_c===void 0?void 0:_c.offsetWidth)||0,containerHeight=((_d=containerRef.current)===null||_d===void 0?void 0:_d.offsetHeight)||0,currentWidth=fullContentHeight?"100%":width||1280,legacyCurrentWidth="100%",targetWidth=typeof currentWidth=="string"?currentWidth:Math.max(currentWidth,containerWidth),targetHeight=height!==0?height:5e3,finalHeight=!fullContentHeight&&targetHeight<containerHeight?containerHeight:targetHeight,defaultLegacyHeight=forceHeight||5e3,legacyIframeHeight=(iframeHeight||0)>400?iframeHeight:defaultLegacyHeight;return react_1.default.createElement("div",{ref:containerRef,className:(0,classnames_1.default)(preview_module_scss_1.default.preview,className),style:{height:forceHeight}},react_1.default.createElement("iframe",Object.assign({},rest,{ref:currentRef,style:Object.assign(Object.assign({},style),{height:forceHeight||(isScaling?finalHeight+innerBottomPadding:legacyIframeHeight),width:isScaling?targetWidth:legacyCurrentWidth,visibility:width===0&&isScaling&&!fullContentHeight?"hidden":void 0,transform:fullContentHeight?"":(0,compute_preview_scale_1.computePreviewScale)(width,containerWidth),border:0,transformOrigin:"top left"}),src:url,scrolling:disableScroll?"no":void 0})))}exports.ComponentPreview=ComponentPreview},99768:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.toPreviewHash=exports.toPreviewServer=exports.toPreviewUrl=void 0;const base_ui_utils_string_affix_1=__webpack_require__(6480);function toPreviewUrl(component,previewName,additionalParams,includeEnvId=!0){const serverPath=toPreviewServer(component,previewName),envId=getEnvIdQueryParam(component,includeEnvId),hash=toPreviewHash(component,previewName,envId,additionalParams);return`${serverPath}#${hash}`}exports.toPreviewUrl=toPreviewUrl;function toPreviewServer(component,previewName){var _a,_b;const explicitUrl=(_a=component.server)===null||_a===void 0?void 0:_a.url;return explicitUrl&&!component.server.host?explicitUrl:((_b=component.preview)===null||_b===void 0?void 0:_b.includesEnvTemplate)===!1?toEnvTemplatePreviewUrl(component,previewName):toComponentPreviewUrl(component)}exports.toPreviewServer=toPreviewServer;function getEnvIdQueryParam(component,includeEnvId=!0){var _a,_b,_c,_d;if(!!includeEnvId&&!(((_a=component.server)===null||_a===void 0?void 0:_a.host)||((_b=component.server)===null||_b===void 0?void 0:_b.basePath))&&!!(!((_c=component.server)===null||_c===void 0)&&_c.url))return(_d=component.environment)===null||_d===void 0?void 0:_d.id}function toComponentPreviewUrl(component){var _a,_b;return`${createPrefix((_a=component.server)===null||_a===void 0?void 0:_a.basePath,(_b=component.server)===null||_b===void 0?void 0:_b.host)}/${component.id.toString()}/~aspect/preview/`}function createPrefix(basePath,host){const actualBasePath=basePath||"/api",basePathWithSlash=actualBasePath.startsWith("/")?actualBasePath:`/${actualBasePath}`,hostWithoutSlash=host?.endsWith("/")?host.slice(0,-1):host,prefix=hostWithoutSlash?`${hostWithoutSlash}${basePathWithSlash}`:basePathWithSlash;return prefix.endsWith("/")?prefix.slice(0,-1):prefix}function toEnvTemplatePreviewUrl(component,previewName){var _a,_b,_c;const envId=(_a=component.environment)===null||_a===void 0?void 0:_a.id,search=`compId=${component.id.toString()}`;return`${createPrefix((_b=component.server)===null||_b===void 0?void 0:_b.basePath,(_c=component.server)===null||_c===void 0?void 0:_c.host)}/${envId}/~aspect/env-template/${previewName}/?${search}`}function toPreviewHash(component,previewName,envId,queryParams=""){const previewParam=(0,base_ui_utils_string_affix_1.affix)("preview=",previewName),envIdParam=(0,base_ui_utils_string_affix_1.affix)("env=",envId),hashQuery=[previewParam,envIdParam].concat(queryParams).filter(x=>!!x).join("&");return`${component.id.toString()}${(0,base_ui_utils_string_affix_1.affix)("?",hashQuery)}`}exports.toPreviewHash=toPreviewHash},63853:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useInterval=exports.useIframeContentHeight=void 0;const react_1=__webpack_require__(59496);function useIframeContentHeight({interval=250,skip,viewport}){const iframeRef=(0,react_1.useRef)(null),[iframeHeight,setIframeHeight]=(0,react_1.useState)(0),[iframeWidth,setIframeWidth]=(0,react_1.useState)(0);if(skip)return[iframeRef,void 0,iframeWidth];let first=!0;return useInterval(()=>{var _a;try{const iframe=iframeRef.current;viewport!==null&&(iframe.contentWindow.document.body.style.width="fit-content"),!first&&iframe?.style.height==="5000px"&&(iframe.style.height="100%");const newHeight=iframe.contentWindow.document.body.scrollHeight,newWidth=(_a=iframe?.contentWindow)===null||_a===void 0?void 0:_a.document.body.offsetWidth;setIframeHeight(newHeight),setIframeWidth(newWidth||0),first=!1}catch{}},interval),[iframeRef,iframeHeight,iframeWidth]}exports.useIframeContentHeight=useIframeContentHeight;function useInterval(callback,interval){const savedCallback=(0,react_1.useRef)(()=>callback);(0,react_1.useEffect)(()=>{savedCallback.current=callback}),(0,react_1.useEffect)(()=>{function tick(){savedCallback.current()}if(interval!==null){const id=setInterval(tick,interval);return()=>clearInterval(id)}return()=>{}},[interval])}exports.useInterval=useInterval},61286: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.DocsApp=void 0;const react_1=__importDefault(__webpack_require__(59496)),docs_1=__webpack_require__(84723),react_ui_docs_properties_table_1=__webpack_require__(98077),react_ui_docs_compositions_carousel_1=__webpack_require__(54505),react_ui_docs_docs_content_1=__webpack_require__(90036),docs_theme_1=__webpack_require__(35623),docs_app_module_scss_1=__importDefault(__webpack_require__(63447));function DocsApp({componentId,docs=docs_1.defaultDocs,compositions,context}){const withoutHash=window.location.hash.substring(1),[,after]=withoutHash.split("?"),renderOnlyOverview=new URLSearchParams(after).get("onlyOverview");return react_1.default.createElement(docs_theme_1.DocsTheme,null,react_1.default.createElement(react_1.default.Fragment,null,react_1.default.createElement(react_ui_docs_docs_content_1.DocsContent,{docs,className:docs_app_module_scss_1.default.mdx}),(!renderOnlyOverview||renderOnlyOverview==="false")&&react_1.default.createElement(react_ui_docs_compositions_carousel_1.CompositionsCarousel,{renderingContext:context,compositions,className:docs_app_module_scss_1.default.compositionSection,compositionCardClass:docs_app_module_scss_1.default.compositionCard}),(!renderOnlyOverview||renderOnlyOverview==="false")&&react_1.default.createElement(react_ui_docs_properties_table_1.PropertiesTable,{componentId})))}exports.DocsApp=DocsApp},35623: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.DocsTheme=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),design_themes_theme_toggler_1=__webpack_require__(68960),design_theme_icons_font_1=__webpack_require__(22975),docs_app_module_scss_1=__importDefault(__webpack_require__(63447));function DocsTheme({children}){const hash=window.location.hash,[,hashQuery]=hash&&hash.split("?"),theme=new URLSearchParams(hashQuery).get("theme")||"light";return react_1.default.createElement(design_themes_theme_toggler_1.ThemeSwitcher,{defaultTheme:theme},react_1.default.createElement(design_theme_icons_font_1.IconFont,{query:"q76y7n"}),react_1.default.createElement("div",{className:(0,classnames_1.default)(docs_app_module_scss_1.default.docsMainBlock)},children))}exports.DocsTheme=DocsTheme},17294:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0});const react_1=__importDefault(__webpack_require__(59496)),react_dom_1=__importDefault(__webpack_require__(87995)),docs_app_1=__webpack_require__(61286);function DocsRoot({componentId,docs,compositions,context}){react_dom_1.default.render(react_1.default.createElement(docs_app_1.DocsApp,{componentId,docs,compositions,context}),document.getElementById("root"))}DocsRoot.apiObject=!0,exports.default=DocsRoot},79022: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.docsStyles=exports.DocsApp=exports.default=exports.DocsTheme=void 0;var docs_theme_1=__webpack_require__(35623);Object.defineProperty(exports,"DocsTheme",{enumerable:!0,get:function(){return docs_theme_1.DocsTheme}});var docs_app_root_1=__webpack_require__(17294);Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return __importDefault(docs_app_root_1).default}});var docs_app_1=__webpack_require__(61286);Object.defineProperty(exports,"DocsApp",{enumerable:!0,get:function(){return docs_app_1.DocsApp}});var docs_app_module_scss_1=__webpack_require__(63447);Object.defineProperty(exports,"docsStyles",{enumerable:!0,get:function(){return __importDefault(docs_app_module_scss_1).default}})},80849: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.ApplyProviders=void 0;const react_1=__importDefault(__webpack_require__(59496)),react_error_boundary_1=__webpack_require__(75340),base_ui_utils_composer_1=__webpack_require__(80893),react_ui_error_fallback_1=__webpack_require__(32334),react_2=__webpack_require__(32750);function ApplyProviders(_a){var{renderingContext,children}=_a,rest=__rest(_a,["renderingContext","children"]);const{providers=[]}=renderingContext.get(react_2.ReactAspect.id)||{};return react_1.default.createElement("div",Object.assign({},rest),react_1.default.createElement(react_error_boundary_1.ErrorBoundary,{FallbackComponent:react_ui_error_fallback_1.ErrorFallback},react_1.default.createElement(base_ui_utils_composer_1.Composer,{components:providers},children)))}exports.ApplyProviders=ApplyProviders},95440:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ApplyProviders=void 0;var apply_providers_1=__webpack_require__(80849);Object.defineProperty(exports,"ApplyProviders",{enumerable:!0,get:function(){return apply_providers_1.ApplyProviders}})},84218: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.CompositionsCarousel=void 0;const react_1=__importDefault(__webpack_require__(59496)),react_ui_docs_apply_providers_1=__webpack_require__(95440),compositions_ui_compositions_overview_1=__webpack_require__(31314),documenter_ui_linked_heading_1=__webpack_require__(19058),documenter_ui_section_1=__webpack_require__(94761);function CompositionsCarousel(_a){var{compositions,compositionCardClass,renderingContext}=_a,rest=__rest(_a,["compositions","compositionCardClass","renderingContext"]);return!compositions||Object.keys(compositions).length===0?null:react_1.default.createElement(documenter_ui_section_1.Section,Object.assign({},rest),react_1.default.createElement(documenter_ui_linked_heading_1.LinkedHeading,null,"Compositions"),react_1.default.createElement(react_ui_docs_apply_providers_1.ApplyProviders,{renderingContext},react_1.default.createElement(compositions_ui_compositions_overview_1.CompositionsOverview,{compositions,compositionCardClass})))}exports.CompositionsCarousel=CompositionsCarousel},54505:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionsCarousel=void 0;var compositions_carousel_1=__webpack_require__(84218);Object.defineProperty(exports,"CompositionsCarousel",{enumerable:!0,get:function(){return compositions_carousel_1.CompositionsCarousel}})},58715: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.DocsContent=void 0;const react_error_boundary_1=__webpack_require__(75340),lodash_1=__webpack_require__(32699),docs_1=__webpack_require__(84723),react_ui_error_fallback_1=__webpack_require__(32334),mdx_ui_mdx_layout_1=__webpack_require__(72920),react_1=__importDefault(__webpack_require__(59496));function DocsContent(_a){var{docs=docs_1.defaultDocs}=_a,rest=__rest(_a,["docs"]);const Content=(0,lodash_1.isFunction)(docs.default)?docs.default:()=>null;return react_1.default.createElement(react_error_boundary_1.ErrorBoundary,{FallbackComponent:react_ui_error_fallback_1.ErrorFallback},Content.isMDXComponent?react_1.default.createElement(mdx_ui_mdx_layout_1.MDXLayout,Object.assign({},rest),react_1.default.createElement(Content,null)):react_1.default.createElement(Content,null))}exports.DocsContent=DocsContent},90036:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DocsContent=void 0;var docs_content_1=__webpack_require__(58715);Object.defineProperty(exports,"DocsContent",{enumerable:!0,get:function(){return docs_content_1.DocsContent}})},98077:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PropertiesTable=void 0;var properties_table_1=__webpack_require__(29784);Object.defineProperty(exports,"PropertiesTable",{enumerable:!0,get:function(){return properties_table_1.PropertiesTable}})},29784: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.PropertiesTable=void 0;const documenter_ui_linked_heading_1=__webpack_require__(19058),documenter_ui_property_table_1=__webpack_require__(17218),documenter_ui_section_1=__webpack_require__(94761),component_ui_hooks_use_fetch_docs_1=__webpack_require__(36791),react_1=__importDefault(__webpack_require__(59496));function PropertiesTable(_a){var{componentId}=_a,rest=__rest(_a,["componentId"]);const{loading,error,data}=(0,component_ui_hooks_use_fetch_docs_1.useFetchDocs)(componentId);if(!data||loading)return null;if(error)return console.error(`failed to fetch docs for ${componentId} in PropertiesTable`,error),null;const{properties}=data.docs;return properties.length===0?react_1.default.createElement("div",null):react_1.default.createElement(documenter_ui_section_1.Section,Object.assign({},rest),react_1.default.createElement(documenter_ui_linked_heading_1.LinkedHeading,null,"Properties"),react_1.default.createElement(documenter_ui_property_table_1.PropTable,{rows:properties}))}exports.PropertiesTable=PropertiesTable},16880:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){function adopt(value){return value instanceof P?value:new P(function(resolve){resolve(value)})}return new(P||(P=Promise))(function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):adopt(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())})},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.ErrorFallback=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),design_ui_icon_button_1=__webpack_require__(53330),base_ui_styles_flex_center_1=__webpack_require__(15764),error_fallback_module_scss_1=__importDefault(__webpack_require__(52091));function ErrorFallback({resetErrorBoundary,className,children="Failed to render",cta="try again"}){const handleClick=()=>__awaiter(this,void 0,void 0,function*(){yield new Promise(resolve=>setTimeout(resolve,480)),resetErrorBoundary()});return react_1.default.createElement("div",{className:(0,classnames_1.default)(error_fallback_module_scss_1.default.errorFallback,base_ui_styles_flex_center_1.flexCenter,className)},react_1.default.createElement("div",{className:error_fallback_module_scss_1.default.icon}),react_1.default.createElement("div",{className:error_fallback_module_scss_1.default.message},children),react_1.default.createElement(design_ui_icon_button_1.IconButton,{onClick:handleClick,className:error_fallback_module_scss_1.default.retryButton},cta))}exports.ErrorFallback=ErrorFallback},32334:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ErrorFallback=void 0;var error_fallback_1=__webpack_require__(16880);Object.defineProperty(exports,"ErrorFallback",{enumerable:!0,get:function(){return error_fallback_1.ErrorFallback}})},31461:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.matchPatterns=exports.splitPatterns=void 0;var match_patterns_1=__webpack_require__(36213);Object.defineProperty(exports,"splitPatterns",{enumerable:!0,get:function(){return match_patterns_1.splitPatterns}}),Object.defineProperty(exports,"matchPatterns",{enumerable:!0,get:function(){return match_patterns_1.matchPatterns}})},36213: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.splitPatterns=exports.matchPatterns=void 0;const minimatch_1=__importDefault(__webpack_require__(18455));function matchPatterns(filePath,includePatterns,excludePatterns){const included=includePatterns.some(pattern=>(0,minimatch_1.default)(filePath,pattern)),excluded=excludePatterns.every(pattern=>(0,minimatch_1.default)(filePath,pattern));return included&&excluded}exports.matchPatterns=matchPatterns;function splitPatterns(patterns){return{includePatterns:patterns.filter(pattern=>!pattern.startsWith("!")),excludePatterns:patterns.filter(pattern=>pattern.startsWith("!"))}}exports.splitPatterns=splitPatterns},55044:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.capitalize=void 0;function capitalize(str){return str.charAt(0).toUpperCase()+str.slice(1)}exports.capitalize=capitalize},58315:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.capitalize=void 0;var capitalize_1=__webpack_require__(55044);Object.defineProperty(exports,"capitalize",{enumerable:!0,get:function(){return capitalize_1.capitalize}})},14663:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var process=__webpack_require__(14224),Buffer=__webpack_require__(55872).Buffer;Object.defineProperty(exports,"__esModule",{value:!0}),exports.crlf=exports.cr=exports.auto=exports.lf=void 0;const isbinaryfile_1=__webpack_require__(36768),lineBreak=typeof process<"u"&&process.platform==="win32"?`\r
671
671
  `:`
672
672
  `,newline=/\r\n|\r|\n/g;function converts(text,to){if(Buffer.isBuffer(text)){if((0,isbinaryfile_1.isBinaryFileSync)(text))return text;const str=text.toString(),strReplaced=str.replace(newline,to);return str!==strReplaced?Buffer.from(strReplaced):text}return text.toString().replace(newline,to)}function lf(text){return converts(text,`
673
673
  `)}exports.lf=lf;function auto(text){return converts(text,lineBreak)}exports.auto=auto;function cr(text){return converts(text,"\r")}exports.cr=cr;function crlf(text){return converts(text,`\r
@@ -687,4 +687,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
687
687
  `),headers=parseHeaders(message.slice(0,i)),contentType_1=headers["content-type"],contentType_1&&contentType_1.toLowerCase().indexOf("application/json")===-1)throw new Error("Unsupported patch content type: application/json is required.");if(body=message.slice(i),body){if(result=parseJsonBody(response,body),Object.keys(result).length>1||"data"in result||"incremental"in result||"errors"in result||"payload"in result)if(isApolloPayloadResult(result)){if(next={},"payload"in result){if(Object.keys(result).length===1&&result.payload===null)return[2];next=tslib_es6_assign({},result.payload)}"errors"in result&&(next=tslib_es6_assign(tslib_es6_assign({},next),{extensions:tslib_es6_assign(tslib_es6_assign({},"extensions"in next?next.extensions:null),(_c={},_c[PROTOCOL_ERRORS_SYMBOL]=result.errors,_c))})),nextValue(next)}else nextValue(result);else if(Object.keys(result).length===1&&"hasNext"in result&&!result.hasNext)return[2]}bi=buffer.indexOf(boundary)}return[3,1];case 3:return[2]}})})}function parseHeaders(headerText){var headersInit={};return headerText.split(`
688
688
  `).forEach(function(line){var i=line.indexOf(":");if(i>-1){var name_1=line.slice(0,i).trim().toLowerCase(),value=line.slice(i+1).trim();headersInit[name_1]=value}}),headersInit}function parseJsonBody(response,bodyText){if(response.status>=300){var getResult=function(){try{return JSON.parse(bodyText)}catch{return bodyText}};throwServerError(response,getResult(),"Response not successful: Received status code ".concat(response.status))}try{return JSON.parse(bodyText)}catch(err){var parseError=err;throw parseError.name="ServerParseError",parseError.response=response,parseError.statusCode=response.status,parseError.bodyText=bodyText,parseError}}function handleError(err,observer){err.result&&err.result.errors&&err.result.data&&observer.next(err.result),observer.error(err)}function parseAndCheckHttpResponse(operations){return function(response){return response.text().then(function(bodyText){return parseJsonBody(response,bodyText)}).then(function(result){return!Array.isArray(result)&&!parseAndCheckHttpResponse_hasOwnProperty.call(result,"data")&&!parseAndCheckHttpResponse_hasOwnProperty.call(result,"errors")&&throwServerError(response,result,"Server response was missing for query '".concat(Array.isArray(operations)?operations.map(function(op){return op.operationName}):operations.operationName,"'.")),result})}}var checkFetcher=function(fetcher){if(!fetcher&&typeof fetch>"u")throw newInvariantError(38)},printer=__webpack_require__(69377),printCache,print=Object.assign(function(ast){var result=printCache.get(ast);return result||(result=(0,printer.print)(ast),printCache.set(ast,result)),result},{reset:function(){printCache=new AutoCleanedWeakCache(cacheSizes.print||2e3)}});print.reset(),globalThis.__DEV__!==!1&&registerGlobalCache("print",function(){return printCache?printCache.size:0});var defaultHttpOptions={includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},defaultHeaders={accept:"*/*","content-type":"application/json"},defaultOptions={method:"POST"},fallbackHttpConfig={http:defaultHttpOptions,headers:defaultHeaders,options:defaultOptions},defaultPrinter=function(ast,printer2){return printer2(ast)};function selectHttpOptionsAndBody(operation,fallbackConfig){for(var configs=[],_i=2;_i<arguments.length;_i++)configs[_i-2]=arguments[_i];return configs.unshift(fallbackConfig),selectHttpOptionsAndBodyInternal.apply(void 0,__spreadArray([operation,defaultPrinter],configs,!1))}function selectHttpOptionsAndBodyInternal(operation,printer2){for(var configs=[],_i=2;_i<arguments.length;_i++)configs[_i-2]=arguments[_i];var options={},http={};configs.forEach(function(config){options=tslib_es6_assign(tslib_es6_assign(tslib_es6_assign({},options),config.options),{headers:tslib_es6_assign(tslib_es6_assign({},options.headers),config.headers)}),config.credentials&&(options.credentials=config.credentials),http=tslib_es6_assign(tslib_es6_assign({},http),config.http)}),options.headers&&(options.headers=removeDuplicateHeaders(options.headers,http.preserveHeaderCase));var operationName2=operation.operationName,extensions=operation.extensions,variables=operation.variables,query=operation.query,body={operationName:operationName2,variables};return http.includeExtensions&&(body.extensions=extensions),http.includeQuery&&(body.query=printer2(query,print)),{options,body}}function removeDuplicateHeaders(headers,preserveHeaderCase){if(!preserveHeaderCase){var normalizedHeaders_1={};return Object.keys(Object(headers)).forEach(function(name){normalizedHeaders_1[name.toLowerCase()]=headers[name]}),normalizedHeaders_1}var headerData={};Object.keys(Object(headers)).forEach(function(name){headerData[name.toLowerCase()]={originalName:name,value:headers[name]}});var normalizedHeaders={};return Object.keys(headerData).forEach(function(name){normalizedHeaders[headerData[name].originalName]=headerData[name].value}),normalizedHeaders}function rewriteURIForGET(chosenURI,body){var queryParams=[],addQueryParam=function(key,value){queryParams.push("".concat(key,"=").concat(encodeURIComponent(value)))};if("query"in body&&addQueryParam("query",body.query),body.operationName&&addQueryParam("operationName",body.operationName),body.variables){var serializedVariables=void 0;try{serializedVariables=serializeFetchParameter(body.variables,"Variables map")}catch(parseError){return{parseError}}addQueryParam("variables",serializedVariables)}if(body.extensions){var serializedExtensions=void 0;try{serializedExtensions=serializeFetchParameter(body.extensions,"Extensions map")}catch(parseError){return{parseError}}addQueryParam("extensions",serializedExtensions)}var fragment="",preFragment=chosenURI,fragmentStart=chosenURI.indexOf("#");fragmentStart!==-1&&(fragment=chosenURI.substr(fragmentStart),preFragment=chosenURI.substr(0,fragmentStart));var queryParamsPrefix=preFragment.indexOf("?")===-1?"?":"&",newURI=preFragment+queryParamsPrefix+queryParams.join("&")+fragment;return{newURI}}function fromError(errorValue){return new Observable(function(observer){observer.error(errorValue)})}function filterOperationVariables(variables,query){var result=tslib_es6_assign({},variables),unusedNames=new Set(Object.keys(variables));return(0,visitor.Vn)(query,{Variable:function(node,_key,parent){parent&&parent.kind!=="VariableDefinition"&&unusedNames.delete(node.name.value)}}),unusedNames.forEach(function(name){delete result[name]}),result}var kinds=__webpack_require__(47336),TYPENAME_FIELD={kind:kinds.h.FIELD,name:{kind:kinds.h.NAME,value:"__typename"}};function isEmpty(op,fragmentMap){return!op||op.selectionSet.selections.every(function(selection){return selection.kind===kinds.h.FRAGMENT_SPREAD&&isEmpty(fragmentMap[selection.name.value],fragmentMap)})}function nullIfDocIsEmpty(doc){return isEmpty(getOperationDefinition(doc)||getFragmentDefinition(doc),createFragmentMap(getFragmentDefinitions(doc)))?null:doc}function getDirectiveMatcher(configs){var names=new Map,tests=new Map;return configs.forEach(function(directive){directive&&(directive.name?names.set(directive.name,directive):directive.test&&tests.set(directive.test,directive))}),function(directive){var config=names.get(directive.name.value);return!config&&tests.size&&tests.forEach(function(testConfig,test){test(directive)&&(config=testConfig)}),config}}function makeInUseGetterFunction(defaultKey){var map=new Map;return function(key){key===void 0&&(key=defaultKey);var inUse=map.get(key);return inUse||map.set(key,inUse={variables:new Set,fragmentSpreads:new Set}),inUse}}function removeDirectivesFromDocument(directives,doc){getFromAST_checkDocument(doc);for(var getInUseByOperationName=makeInUseGetterFunction(""),getInUseByFragmentName=makeInUseGetterFunction(""),getInUse=function(ancestors){for(var p=0,ancestor=void 0;p<ancestors.length&&(ancestor=ancestors[p]);++p)if(!isArray(ancestor)){if(ancestor.kind===kinds.h.OPERATION_DEFINITION)return getInUseByOperationName(ancestor.name&&ancestor.name.value);if(ancestor.kind===kinds.h.FRAGMENT_DEFINITION)return getInUseByFragmentName(ancestor.name.value)}return globalThis.__DEV__!==!1&&invariantWrappers_invariant.error(86),null},operationCount=0,i=doc.definitions.length-1;i>=0;--i)doc.definitions[i].kind===kinds.h.OPERATION_DEFINITION&&++operationCount;var directiveMatcher=getDirectiveMatcher(directives),shouldRemoveField=function(nodeDirectives){return isNonEmptyArray(nodeDirectives)&&nodeDirectives.map(directiveMatcher).some(function(config){return config&&config.remove})},originalFragmentDefsByPath=new Map,firstVisitMadeChanges=!1,fieldOrInlineFragmentVisitor={enter:function(node){if(shouldRemoveField(node.directives))return firstVisitMadeChanges=!0,null}},docWithoutDirectiveSubtrees=(0,visitor.Vn)(doc,{Field:fieldOrInlineFragmentVisitor,InlineFragment:fieldOrInlineFragmentVisitor,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(node,_key,_parent,_path,ancestors){var inUse=getInUse(ancestors);inUse&&inUse.variables.add(node.name.value)}},FragmentSpread:{enter:function(node,_key,_parent,_path,ancestors){if(shouldRemoveField(node.directives))return firstVisitMadeChanges=!0,null;var inUse=getInUse(ancestors);inUse&&inUse.fragmentSpreads.add(node.name.value)}},FragmentDefinition:{enter:function(node,_key,_parent,path){originalFragmentDefsByPath.set(JSON.stringify(path),node)},leave:function(node,_key,_parent,path){var originalNode=originalFragmentDefsByPath.get(JSON.stringify(path));if(node===originalNode)return node;if(operationCount>0&&node.selectionSet.selections.every(function(selection){return selection.kind===kinds.h.FIELD&&selection.name.value==="__typename"}))return getInUseByFragmentName(node.name.value).removed=!0,firstVisitMadeChanges=!0,null}},Directive:{leave:function(node){if(directiveMatcher(node))return firstVisitMadeChanges=!0,null}}});if(!firstVisitMadeChanges)return doc;var populateTransitiveVars=function(inUse){return inUse.transitiveVars||(inUse.transitiveVars=new Set(inUse.variables),inUse.removed||inUse.fragmentSpreads.forEach(function(childFragmentName){populateTransitiveVars(getInUseByFragmentName(childFragmentName)).transitiveVars.forEach(function(varName){inUse.transitiveVars.add(varName)})})),inUse},allFragmentNamesUsed=new Set;docWithoutDirectiveSubtrees.definitions.forEach(function(def){def.kind===kinds.h.OPERATION_DEFINITION?populateTransitiveVars(getInUseByOperationName(def.name&&def.name.value)).fragmentSpreads.forEach(function(childFragmentName){allFragmentNamesUsed.add(childFragmentName)}):def.kind===kinds.h.FRAGMENT_DEFINITION&&operationCount===0&&!getInUseByFragmentName(def.name.value).removed&&allFragmentNamesUsed.add(def.name.value)}),allFragmentNamesUsed.forEach(function(fragmentName){populateTransitiveVars(getInUseByFragmentName(fragmentName)).fragmentSpreads.forEach(function(childFragmentName){allFragmentNamesUsed.add(childFragmentName)})});var fragmentWillBeRemoved=function(fragmentName){return!!(!allFragmentNamesUsed.has(fragmentName)||getInUseByFragmentName(fragmentName).removed)},enterVisitor={enter:function(node){if(fragmentWillBeRemoved(node.name.value))return null}};return nullIfDocIsEmpty((0,visitor.Vn)(docWithoutDirectiveSubtrees,{FragmentSpread:enterVisitor,FragmentDefinition:enterVisitor,OperationDefinition:{leave:function(node){if(node.variableDefinitions){var usedVariableNames_1=populateTransitiveVars(getInUseByOperationName(node.name&&node.name.value)).transitiveVars;if(usedVariableNames_1.size<node.variableDefinitions.length)return tslib_es6_assign(tslib_es6_assign({},node),{variableDefinitions:node.variableDefinitions.filter(function(varDef){return usedVariableNames_1.has(varDef.variable.name.value)})})}}}}))}var addTypenameToDocument=Object.assign(function(doc){return(0,visitor.Vn)(doc,{SelectionSet:{enter:function(node,_key,parent){if(!(parent&&parent.kind===kinds.h.OPERATION_DEFINITION)){var selections=node.selections;if(!!selections){var skip=selections.some(function(selection){return storeUtils_isField(selection)&&(selection.name.value==="__typename"||selection.name.value.lastIndexOf("__",0)===0)});if(!skip){var field=parent;if(!(storeUtils_isField(field)&&field.directives&&field.directives.some(function(d){return d.name.value==="export"})))return tslib_es6_assign(tslib_es6_assign({},node),{selections:__spreadArray(__spreadArray([],selections,!0),[TYPENAME_FIELD],!1)})}}}}}})},{added:function(field){return field===TYPENAME_FIELD}}),connectionRemoveConfig={test:function(directive){var willRemove=directive.name.value==="connection";return willRemove&&(!directive.arguments||!directive.arguments.some(function(arg){return arg.name.value==="key"}))&&globalThis.__DEV__!==!1&&invariantWrappers_invariant.warn(87),willRemove}};function removeConnectionDirectiveFromDocument(doc){return removeDirectivesFromDocument([connectionRemoveConfig],checkDocument(doc))}function hasDirectivesInSelectionSet(directives,selectionSet,nestedCheck){return nestedCheck===void 0&&(nestedCheck=!0),!!selectionSet&&selectionSet.selections&&selectionSet.selections.some(function(selection){return hasDirectivesInSelection(directives,selection,nestedCheck)})}function hasDirectivesInSelection(directives,selection,nestedCheck){return nestedCheck===void 0&&(nestedCheck=!0),isField(selection)?selection.directives?selection.directives.some(getDirectiveMatcher(directives))||nestedCheck&&hasDirectivesInSelectionSet(directives,selection.selectionSet,nestedCheck):!1:!0}function getArgumentMatcher(config){return function(argument){return config.some(function(aConfig){return argument.value&&argument.value.kind===Kind.VARIABLE&&argument.value.name&&(aConfig.name===argument.value.name.value||aConfig.test&&aConfig.test(argument))})}}function removeArgumentsFromDocument(config,doc){var argMatcher=getArgumentMatcher(config);return nullIfDocIsEmpty(visit(doc,{OperationDefinition:{enter:function(node){return __assign(__assign({},node),{variableDefinitions:node.variableDefinitions?node.variableDefinitions.filter(function(varDef){return!config.some(function(arg){return arg.name===varDef.variable.name.value})}):[]})}},Field:{enter:function(node){var shouldRemoveField=config.some(function(argConfig){return argConfig.remove});if(shouldRemoveField){var argMatchCount_1=0;if(node.arguments&&node.arguments.forEach(function(arg){argMatcher(arg)&&(argMatchCount_1+=1)}),argMatchCount_1===1)return null}}},Argument:{enter:function(node){if(argMatcher(node))return null}}}))}function removeFragmentSpreadFromDocument(config,doc){function enter(node){if(config.some(function(def){return def.name===node.name.value}))return null}return nullIfDocIsEmpty(visit(doc,{FragmentSpread:{enter},FragmentDefinition:{enter}}))}function buildQueryFromSelectionSet(document2){var definition=getMainDefinition(document2),definitionOperation=definition.operation;if(definitionOperation==="query")return document2;var modifiedDoc=(0,visitor.Vn)(document2,{OperationDefinition:{enter:function(node){return tslib_es6_assign(tslib_es6_assign({},node),{operation:"query"})}}});return modifiedDoc}function removeClientSetsFromDocument(document2){getFromAST_checkDocument(document2);var modifiedDoc=removeDirectivesFromDocument([{test:function(directive){return directive.name.value==="client"},remove:!0}],document2);return modifiedDoc}var backupFetch=maybe(function(){return fetch}),createHttpLink=function(linkOptions){linkOptions===void 0&&(linkOptions={});var _a2=linkOptions.uri,uri=_a2===void 0?"/graphql":_a2,preferredFetch=linkOptions.fetch,_b=linkOptions.print,print2=_b===void 0?defaultPrinter:_b,includeExtensions=linkOptions.includeExtensions,preserveHeaderCase=linkOptions.preserveHeaderCase,useGETForQueries=linkOptions.useGETForQueries,_c=linkOptions.includeUnusedVariables,includeUnusedVariables=_c===void 0?!1:_c,requestOptions=__rest(linkOptions,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);globalThis.__DEV__!==!1&&checkFetcher(preferredFetch||backupFetch);var linkConfig={http:{includeExtensions,preserveHeaderCase},options:requestOptions.fetchOptions,credentials:requestOptions.credentials,headers:requestOptions.headers};return new ApolloLink(function(operation){var chosenURI=selectURI(operation,uri),context=operation.getContext(),clientAwarenessHeaders={};if(context.clientAwareness){var _a3=context.clientAwareness,name_1=_a3.name,version2=_a3.version;name_1&&(clientAwarenessHeaders["apollographql-client-name"]=name_1),version2&&(clientAwarenessHeaders["apollographql-client-version"]=version2)}var contextHeaders=tslib_es6_assign(tslib_es6_assign({},clientAwarenessHeaders),context.headers),contextConfig={http:context.http,options:context.fetchOptions,credentials:context.credentials,headers:contextHeaders};if(hasDirectives(["client"],operation.query)){var transformedQuery=removeClientSetsFromDocument(operation.query);if(!transformedQuery)return fromError(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));operation.query=transformedQuery}var _b2=selectHttpOptionsAndBodyInternal(operation,print2,fallbackHttpConfig,linkConfig,contextConfig),options=_b2.options,body=_b2.body;body.variables&&!includeUnusedVariables&&(body.variables=filterOperationVariables(body.variables,operation.query));var controller;!options.signal&&typeof AbortController<"u"&&(controller=new AbortController,options.signal=controller.signal);var definitionIsMutation=function(d){return d.kind==="OperationDefinition"&&d.operation==="mutation"},definitionIsSubscription=function(d){return d.kind==="OperationDefinition"&&d.operation==="subscription"},isSubscription=definitionIsSubscription(getMainDefinition(operation.query)),hasDefer=hasDirectives(["defer"],operation.query);if(useGETForQueries&&!operation.query.definitions.some(definitionIsMutation)&&(options.method="GET"),hasDefer||isSubscription){options.headers=options.headers||{};var acceptHeader="multipart/mixed;";isSubscription&&hasDefer&&globalThis.__DEV__!==!1&&invariantWrappers_invariant.warn(39),isSubscription?acceptHeader+="boundary=graphql;subscriptionSpec=1.0,application/json":hasDefer&&(acceptHeader+="deferSpec=20220824,application/json"),options.headers.accept=acceptHeader}if(options.method==="GET"){var _c2=rewriteURIForGET(chosenURI,body),newURI=_c2.newURI,parseError=_c2.parseError;if(parseError)return fromError(parseError);chosenURI=newURI}else try{options.body=serializeFetchParameter(body,"Payload")}catch(parseError2){return fromError(parseError2)}return new Observable(function(observer){var currentFetch=preferredFetch||maybe(function(){return fetch})||backupFetch,observerNext=observer.next.bind(observer);return currentFetch(chosenURI,options).then(function(response){var _a4;operation.setContext({response});var ctype=(_a4=response.headers)===null||_a4===void 0?void 0:_a4.get("content-type");return ctype!==null&&/^multipart\/mixed/i.test(ctype)?readMultipartBody(response,observerNext):parseAndCheckHttpResponse(operation)(response).then(observerNext)}).then(function(){controller=void 0,observer.complete()}).catch(function(err){controller=void 0,handleError(err,observer)}),function(){controller&&controller.abort()}})})},HttpLink=function(_super){__extends(HttpLink2,_super);function HttpLink2(options){options===void 0&&(options={});var _this=_super.call(this,createHttpLink(options).request)||this;return _this.options=options,_this}return HttpLink2}(ApolloLink);const{toString:lib_toString,hasOwnProperty:lib_hasOwnProperty}=Object.prototype,fnToStr=Function.prototype.toString,previousComparisons=new Map;function equal(a,b){try{return check(a,b)}finally{previousComparisons.clear()}}const lib=equal;function check(a,b){if(a===b)return!0;const aTag=lib_toString.call(a),bTag=lib_toString.call(b);if(aTag!==bTag)return!1;switch(aTag){case"[object Array]":if(a.length!==b.length)return!1;case"[object Object]":{if(previouslyCompared(a,b))return!0;const aKeys=definedKeys(a),bKeys=definedKeys(b),keyCount=aKeys.length;if(keyCount!==bKeys.length)return!1;for(let k=0;k<keyCount;++k)if(!lib_hasOwnProperty.call(b,aKeys[k]))return!1;for(let k=0;k<keyCount;++k){const key=aKeys[k];if(!check(a[key],b[key]))return!1}return!0}case"[object Error]":return a.name===b.name&&a.message===b.message;case"[object Number]":if(a!==a)return b!==b;case"[object Boolean]":case"[object Date]":return+a==+b;case"[object RegExp]":case"[object String]":return a==`${b}`;case"[object Map]":case"[object Set]":{if(a.size!==b.size)return!1;if(previouslyCompared(a,b))return!0;const aIterator=a.entries(),isMap=aTag==="[object Map]";for(;;){const info=aIterator.next();if(info.done)break;const[aKey,aValue]=info.value;if(!b.has(aKey)||isMap&&!check(aValue,b.get(aKey)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":a=new Uint8Array(a),b=new Uint8Array(b);case"[object DataView]":{let len=a.byteLength;if(len===b.byteLength)for(;len--&&a[len]===b[len];);return len===-1}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{const aCode=fnToStr.call(a);return aCode!==fnToStr.call(b)?!1:!endsWith(aCode,nativeCodeSuffix)}}return!1}function definedKeys(obj){return Object.keys(obj).filter(isDefinedKey,obj)}function isDefinedKey(key){return this[key]!==void 0}const nativeCodeSuffix="{ [native code] }";function endsWith(full,suffix){const fromIndex=full.length-suffix.length;return fromIndex>=0&&full.indexOf(suffix,fromIndex)===fromIndex}function previouslyCompared(a,b){let bSet=previousComparisons.get(a);if(bSet){if(bSet.has(b))return!0}else previousComparisons.set(a,bSet=new Set);return bSet.add(b),!1}const defaultMakeData=()=>Object.create(null),{forEach,slice}=Array.prototype,{hasOwnProperty:trie_lib_hasOwnProperty}=Object.prototype;class Trie{constructor(weakness=!0,makeData=defaultMakeData){this.weakness=weakness,this.makeData=makeData}lookup(){return this.lookupArray(arguments)}lookupArray(array){let node=this;return forEach.call(array,key=>node=node.getChildTrie(key)),trie_lib_hasOwnProperty.call(node,"data")?node.data:node.data=this.makeData(slice.call(array))}peek(){return this.peekArray(arguments)}peekArray(array){let node=this;for(let i=0,len=array.length;node&&i<len;++i){const map=node.mapFor(array[i],!1);node=map&&map.get(array[i])}return node&&node.data}remove(){return this.removeArray(arguments)}removeArray(array){let data;if(array.length){const head=array[0],map=this.mapFor(head,!1),child=map&&map.get(head);child&&(data=child.removeArray(slice.call(array,1)),!child.data&&!child.weak&&!(child.strong&&child.strong.size)&&map.delete(head))}else data=this.data,delete this.data;return data}getChildTrie(key){const map=this.mapFor(key,!0);let child=map.get(key);return child||map.set(key,child=new Trie(this.weakness,this.makeData)),child}mapFor(key,create){return this.weakness&&isObjRef(key)?this.weak||(create?this.weak=new WeakMap:void 0):this.strong||(create?this.strong=new Map:void 0)}}function isObjRef(value){switch(typeof value){case"object":if(value===null)break;case"function":return!0}return!1}const lib_defaultMakeData=()=>Object.create(null),{forEach:lib_forEach,slice:lib_slice}=Array.prototype,{hasOwnProperty:_wry_trie_lib_hasOwnProperty}=Object.prototype;class lib_Trie{constructor(weakness=!0,makeData=lib_defaultMakeData){this.weakness=weakness,this.makeData=makeData}lookup(...array){return this.lookupArray(array)}lookupArray(array){let node=this;return lib_forEach.call(array,key=>node=node.getChildTrie(key)),_wry_trie_lib_hasOwnProperty.call(node,"data")?node.data:node.data=this.makeData(lib_slice.call(array))}peek(...array){return this.peekArray(array)}peekArray(array){let node=this;for(let i=0,len=array.length;node&&i<len;++i){const map=this.weakness&&lib_isObjRef(array[i])?node.weak:node.strong;node=map&&map.get(array[i])}return node&&node.data}getChildTrie(key){const map=this.weakness&&lib_isObjRef(key)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map);let child=map.get(key);return child||map.set(key,child=new lib_Trie(this.weakness,this.makeData)),child}}function lib_isObjRef(value){switch(typeof value){case"object":if(value===null)break;case"function":return!0}return!1}let currentContext=null;const MISSING_VALUE={};let idCounter=1;const makeSlotClass=()=>class{constructor(){this.id=["slot",idCounter++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let context=currentContext;context;context=context.parent)if(this.id in context.slots){const value=context.slots[this.id];if(value===MISSING_VALUE)break;return context!==currentContext&&(currentContext.slots[this.id]=value),!0}return currentContext&&(currentContext.slots[this.id]=MISSING_VALUE),!1}getValue(){if(this.hasValue())return currentContext.slots[this.id]}withValue(value,callback,args,thisArg){const slots={__proto__:null,[this.id]:value},parent=currentContext;currentContext={parent,slots};try{return callback.apply(thisArg,args)}finally{currentContext=parent}}static bind(callback){const context=currentContext;return function(){const saved=currentContext;try{return currentContext=context,callback.apply(this,arguments)}finally{currentContext=saved}}}static noContext(callback,args,thisArg){if(currentContext){const saved=currentContext;try{return currentContext=null,callback.apply(thisArg,args)}finally{currentContext=saved}}else return callback.apply(thisArg,args)}};function slot_maybe(fn){try{return fn()}catch{}}const globalKey="@wry/context:Slot",globalHost=slot_maybe(()=>globalThis)||slot_maybe(()=>global)||Object.create(null),Slot=globalHost[globalKey]||Array[globalKey]||function(Slot2){try{Object.defineProperty(globalHost,globalKey,{value:Slot2,enumerable:!1,writable:!1,configurable:!0})}finally{return Slot2}}(makeSlotClass()),{bind,noContext}=Slot;function setTimeoutWithContext(callback,delay){return setTimeout(bind(callback),delay)}function asyncFromGen(genFn){return function(){const gen=genFn.apply(this,arguments),boundNext=bind(gen.next),boundThrow=bind(gen.throw);return new Promise((resolve,reject)=>{function invoke(method,argument){try{var result=method.call(gen,argument)}catch(error){return reject(error)}const next=result.done?resolve:invokeNext;isPromiseLike(result.value)?result.value.then(next,result.done?reject:invokeThrow):next(result.value)}const invokeNext=value=>invoke(boundNext,value),invokeThrow=error=>invoke(boundThrow,error);invokeNext()})}}function isPromiseLike(value){return value&&typeof value.then=="function"}const wrappedFibers=null;function wrapYieldingFiberMethods(Fiber){if(wrappedFibers.indexOf(Fiber)<0){const wrap2=(obj,method)=>{const fn=obj[method];obj[method]=function(){return noContext(fn,arguments,this)}};wrap2(Fiber,"yield"),wrap2(Fiber.prototype,"run"),wrap2(Fiber.prototype,"throwInto"),wrappedFibers.push(Fiber)}return Fiber}const parentEntrySlot=new Slot;function nonReactive(fn){return parentEntrySlot.withValue(void 0,fn)}const{hasOwnProperty:helpers_hasOwnProperty}=Object.prototype,arrayFromSet=Array.from||function(set){const array=[];return set.forEach(item=>array.push(item)),array};function maybeUnsubscribe(entryOrDep){const{unsubscribe}=entryOrDep;typeof unsubscribe=="function"&&(entryOrDep.unsubscribe=void 0,unsubscribe())}const emptySetPool=[],POOL_TARGET_SIZE=100;function assert(condition,optionalMessage){if(!condition)throw new Error(optionalMessage||"assertion failure")}function valueIs(a,b){const len=a.length;return len>0&&len===b.length&&a[len-1]===b[len-1]}function valueGet(value){switch(value.length){case 0:throw new Error("unknown value");case 1:return value[0];case 2:throw value[1]}}function valueCopy(value){return value.slice(0)}class Entry{constructor(fn){this.fn=fn,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++Entry.count}peek(){if(this.value.length===1&&!mightBeDirty(this))return rememberParent(this),this.value[0]}recompute(args){return assert(!this.recomputing,"already recomputing"),rememberParent(this),mightBeDirty(this)?reallyRecompute(this,args):valueGet(this.value)}setDirty(){this.dirty||(this.dirty=!0,reportDirty(this),maybeUnsubscribe(this))}dispose(){this.setDirty(),forgetChildren(this),eachParent(this,(parent,child)=>{parent.setDirty(),forgetChild(parent,this)})}forget(){this.dispose()}dependOn(dep2){dep2.add(this),this.deps||(this.deps=emptySetPool.pop()||new Set),this.deps.add(dep2)}forgetDeps(){this.deps&&(arrayFromSet(this.deps).forEach(dep2=>dep2.delete(this)),this.deps.clear(),emptySetPool.push(this.deps),this.deps=null)}}Entry.count=0;function rememberParent(child){const parent=parentEntrySlot.getValue();if(parent)return child.parents.add(parent),parent.childValues.has(child)||parent.childValues.set(child,[]),mightBeDirty(child)?reportDirtyChild(parent,child):reportCleanChild(parent,child),parent}function reallyRecompute(entry,args){return forgetChildren(entry),parentEntrySlot.withValue(entry,recomputeNewValue,[entry,args]),maybeSubscribe(entry,args)&&setClean(entry),valueGet(entry.value)}function recomputeNewValue(entry,args){entry.recomputing=!0;const{normalizeResult}=entry;let oldValueCopy;normalizeResult&&entry.value.length===1&&(oldValueCopy=valueCopy(entry.value)),entry.value.length=0;try{if(entry.value[0]=entry.fn.apply(null,args),normalizeResult&&oldValueCopy&&!valueIs(oldValueCopy,entry.value))try{entry.value[0]=normalizeResult(entry.value[0],oldValueCopy[0])}catch{}}catch(e){entry.value[1]=e}entry.recomputing=!1}function mightBeDirty(entry){return entry.dirty||!!(entry.dirtyChildren&&entry.dirtyChildren.size)}function setClean(entry){entry.dirty=!1,!mightBeDirty(entry)&&reportClean(entry)}function reportDirty(child){eachParent(child,reportDirtyChild)}function reportClean(child){eachParent(child,reportCleanChild)}function eachParent(child,callback){const parentCount=child.parents.size;if(parentCount){const parents=arrayFromSet(child.parents);for(let i=0;i<parentCount;++i)callback(parents[i],child)}}function reportDirtyChild(parent,child){assert(parent.childValues.has(child)),assert(mightBeDirty(child));const parentWasClean=!mightBeDirty(parent);if(!parent.dirtyChildren)parent.dirtyChildren=emptySetPool.pop()||new Set;else if(parent.dirtyChildren.has(child))return;parent.dirtyChildren.add(child),parentWasClean&&reportDirty(parent)}function reportCleanChild(parent,child){assert(parent.childValues.has(child)),assert(!mightBeDirty(child));const childValue=parent.childValues.get(child);childValue.length===0?parent.childValues.set(child,valueCopy(child.value)):valueIs(childValue,child.value)||parent.setDirty(),removeDirtyChild(parent,child),!mightBeDirty(parent)&&reportClean(parent)}function removeDirtyChild(parent,child){const dc=parent.dirtyChildren;dc&&(dc.delete(child),dc.size===0&&(emptySetPool.length<POOL_TARGET_SIZE&&emptySetPool.push(dc),parent.dirtyChildren=null))}function forgetChildren(parent){parent.childValues.size>0&&parent.childValues.forEach((_value,child)=>{forgetChild(parent,child)}),parent.forgetDeps(),assert(parent.dirtyChildren===null)}function forgetChild(parent,child){child.parents.delete(parent),parent.childValues.delete(child),removeDirtyChild(parent,child)}function maybeSubscribe(entry,args){if(typeof entry.subscribe=="function")try{maybeUnsubscribe(entry),entry.unsubscribe=entry.subscribe.apply(null,args)}catch{return entry.setDirty(),!1}return!0}const EntryMethods={setDirty:!0,dispose:!0,forget:!0};function dep(options){const depsByKey=new Map,subscribe=options&&options.subscribe;function depend(key){const parent=parentEntrySlot.getValue();if(parent){let dep2=depsByKey.get(key);dep2||depsByKey.set(key,dep2=new Set),parent.dependOn(dep2),typeof subscribe=="function"&&(maybeUnsubscribe(dep2),dep2.unsubscribe=subscribe(key))}}return depend.dirty=function(key,entryMethodName){const dep2=depsByKey.get(key);if(dep2){const m=entryMethodName&&helpers_hasOwnProperty.call(EntryMethods,entryMethodName)?entryMethodName:"setDirty";arrayFromSet(dep2).forEach(entry=>entry[m]()),depsByKey.delete(key),maybeUnsubscribe(dep2)}},depend}let defaultKeyTrie;function defaultMakeCacheKey(...args){return(defaultKeyTrie||(defaultKeyTrie=new lib_Trie(typeof WeakMap=="function"))).lookupArray(args)}const caches=new Set;function lib_wrap(originalFunction,{max=Math.pow(2,16),keyArgs,makeCacheKey=defaultMakeCacheKey,normalizeResult,subscribe,cache:cacheOption=StrongCache}=Object.create(null)){const cache2=typeof cacheOption=="function"?new cacheOption(max,entry=>entry.dispose()):cacheOption,optimistic=function(){const key=makeCacheKey.apply(null,keyArgs?keyArgs.apply(null,arguments):arguments);if(key===void 0)return originalFunction.apply(null,arguments);let entry=cache2.get(key);entry||(cache2.set(key,entry=new Entry(originalFunction)),entry.normalizeResult=normalizeResult,entry.subscribe=subscribe,entry.forget=()=>cache2.delete(key));const value=entry.recompute(Array.prototype.slice.call(arguments));return cache2.set(key,entry),caches.add(cache2),parentEntrySlot.hasValue()||(caches.forEach(cache3=>cache3.clean()),caches.clear()),value};Object.defineProperty(optimistic,"size",{get:()=>cache2.size,configurable:!1,enumerable:!1}),Object.freeze(optimistic.options={max,keyArgs,makeCacheKey,normalizeResult,subscribe,cache:cache2});function dirtyKey(key){const entry=key&&cache2.get(key);entry&&entry.setDirty()}optimistic.dirtyKey=dirtyKey,optimistic.dirty=function(){dirtyKey(makeCacheKey.apply(null,arguments))};function peekKey(key){const entry=key&&cache2.get(key);if(entry)return entry.peek()}optimistic.peekKey=peekKey,optimistic.peek=function(){return peekKey(makeCacheKey.apply(null,arguments))};function forgetKey(key){return key?cache2.delete(key):!1}return optimistic.forgetKey=forgetKey,optimistic.forget=function(){return forgetKey(makeCacheKey.apply(null,arguments))},optimistic.makeCacheKey=makeCacheKey,optimistic.getKey=keyArgs?function(){return makeCacheKey.apply(null,keyArgs.apply(null,arguments))}:makeCacheKey,Object.freeze(optimistic)}function identity(document2){return document2}var DocumentTransform=function(){function DocumentTransform2(transform,options){options===void 0&&(options=Object.create(null)),this.resultCache=canUseWeakSet?new WeakSet:new Set,this.transform=transform,options.getCacheKey&&(this.getCacheKey=options.getCacheKey),this.cached=options.cache!==!1,this.resetCache()}return DocumentTransform2.prototype.getCacheKey=function(document2){return[document2]},DocumentTransform2.identity=function(){return new DocumentTransform2(identity,{cache:!1})},DocumentTransform2.split=function(predicate,left,right){return right===void 0&&(right=DocumentTransform2.identity()),Object.assign(new DocumentTransform2(function(document2){var documentTransform=predicate(document2)?left:right;return documentTransform.transformDocument(document2)},{cache:!1}),{left,right})},DocumentTransform2.prototype.resetCache=function(){var _this=this;if(this.cached){var stableCacheKeys_1=new Trie(canUseWeakMap);this.performWork=lib_wrap(DocumentTransform2.prototype.performWork.bind(this),{makeCacheKey:function(document2){var cacheKeys=_this.getCacheKey(document2);if(cacheKeys)return invariantWrappers_invariant(Array.isArray(cacheKeys),69),stableCacheKeys_1.lookupArray(cacheKeys)},max:cacheSizes["documentTransform.cache"],cache:WeakCache})}},DocumentTransform2.prototype.performWork=function(document2){return getFromAST_checkDocument(document2),this.transform(document2)},DocumentTransform2.prototype.transformDocument=function(document2){if(this.resultCache.has(document2))return document2;var transformedDocument=this.performWork(document2);return this.resultCache.add(transformedDocument),transformedDocument},DocumentTransform2.prototype.concat=function(otherTransform){var _this=this;return Object.assign(new DocumentTransform2(function(document2){return otherTransform.transformDocument(_this.transformDocument(document2))},{cache:!1}),{left:this,right:otherTransform})},DocumentTransform2}();function asyncMap(observable,mapFn,catchFn){return new Observable(function(observer){var promiseQueue={then:function(callback){return new Promise(function(resolve){return resolve(callback())})}};function makeCallback(examiner,key){return function(arg){if(examiner){var both=function(){return observer.closed?0:examiner(arg)};promiseQueue=promiseQueue.then(both,both).then(function(result){return observer.next(result)},function(error){return observer.error(error)})}else observer[key](arg)}}var handler={next:makeCallback(mapFn,"next"),error:makeCallback(catchFn,"error"),complete:function(){promiseQueue.then(function(){return observer.complete()})}},sub=observable.subscribe(handler);return function(){return sub.unsubscribe()}})}function graphQLResultHasError(result){var errors=getGraphQLErrorsFromResult(result);return isNonEmptyArray(errors)}function getGraphQLErrorsFromResult(result){var graphQLErrors=isNonEmptyArray(result.errors)?result.errors.slice(0):[];return isExecutionPatchIncrementalResult(result)&&isNonEmptyArray(result.incremental)&&result.incremental.forEach(function(incrementalResult){incrementalResult.errors&&graphQLErrors.push.apply(graphQLErrors,incrementalResult.errors)}),graphQLErrors}function iterateObserversSafely(observers,method,argument){var observersWithMethod=[];observers.forEach(function(obs){return obs[method]&&observersWithMethod.push(obs)}),observersWithMethod.forEach(function(obs){return obs[method](argument)})}function fixObservableSubclass(subclass){function set(key){Object.defineProperty(subclass,key,{value:Observable})}return canUseSymbol&&Symbol.species&&set(Symbol.species),set("@@species"),subclass}function Concast_isPromiseLike(value){return value&&typeof value.then=="function"}var Concast=function(_super){__extends(Concast2,_super);function Concast2(sources){var _this=_super.call(this,function(observer){return _this.addObserver(observer),function(){return _this.removeObserver(observer)}})||this;return _this.observers=new Set,_this.promise=new Promise(function(resolve,reject){_this.resolve=resolve,_this.reject=reject}),_this.handlers={next:function(result){_this.sub!==null&&(_this.latest=["next",result],_this.notify("next",result),iterateObserversSafely(_this.observers,"next",result))},error:function(error){var sub=_this.sub;sub!==null&&(sub&&setTimeout(function(){return sub.unsubscribe()}),_this.sub=null,_this.latest=["error",error],_this.reject(error),_this.notify("error",error),iterateObserversSafely(_this.observers,"error",error))},complete:function(){var _a2=_this,sub=_a2.sub,_b=_a2.sources,sources2=_b===void 0?[]:_b;if(sub!==null){var value=sources2.shift();value?Concast_isPromiseLike(value)?value.then(function(obs){return _this.sub=obs.subscribe(_this.handlers)},_this.handlers.error):_this.sub=value.subscribe(_this.handlers):(sub&&setTimeout(function(){return sub.unsubscribe()}),_this.sub=null,_this.latest&&_this.latest[0]==="next"?_this.resolve(_this.latest[1]):_this.resolve(),_this.notify("complete"),iterateObserversSafely(_this.observers,"complete"))}}},_this.nextResultListeners=new Set,_this.cancel=function(reason){_this.reject(reason),_this.sources=[],_this.handlers.error(reason)},_this.promise.catch(function(_){}),typeof sources=="function"&&(sources=[new Observable(sources)]),Concast_isPromiseLike(sources)?sources.then(function(iterable){return _this.start(iterable)},_this.handlers.error):_this.start(sources),_this}return Concast2.prototype.start=function(sources){this.sub===void 0&&(this.sources=Array.from(sources),this.handlers.complete())},Concast2.prototype.deliverLastMessage=function(observer){if(this.latest){var nextOrError=this.latest[0],method=observer[nextOrError];method&&method.call(observer,this.latest[1]),this.sub===null&&nextOrError==="next"&&observer.complete&&observer.complete()}},Concast2.prototype.addObserver=function(observer){this.observers.has(observer)||(this.deliverLastMessage(observer),this.observers.add(observer))},Concast2.prototype.removeObserver=function(observer){this.observers.delete(observer)&&this.observers.size<1&&this.handlers.complete()},Concast2.prototype.notify=function(method,arg){var nextResultListeners=this.nextResultListeners;nextResultListeners.size&&(this.nextResultListeners=new Set,nextResultListeners.forEach(function(listener){return listener(method,arg)}))},Concast2.prototype.beforeNext=function(callback){var called=!1;this.nextResultListeners.add(function(method,arg){called||(called=!0,callback(method,arg))})},Concast2}(Observable);fixObservableSubclass(Concast);var NetworkStatus;(function(NetworkStatus2){NetworkStatus2[NetworkStatus2.loading=1]="loading",NetworkStatus2[NetworkStatus2.setVariables=2]="setVariables",NetworkStatus2[NetworkStatus2.fetchMore=3]="fetchMore",NetworkStatus2[NetworkStatus2.refetch=4]="refetch",NetworkStatus2[NetworkStatus2.poll=6]="poll",NetworkStatus2[NetworkStatus2.ready=7]="ready",NetworkStatus2[NetworkStatus2.error=8]="error"})(NetworkStatus||(NetworkStatus={}));function isNetworkRequestInFlight(networkStatus){return networkStatus?networkStatus<7:!1}function isNetworkRequestSettled(networkStatus){return networkStatus===7||networkStatus===8}function compact(){for(var objects=[],_i=0;_i<arguments.length;_i++)objects[_i]=arguments[_i];var result=Object.create(null);return objects.forEach(function(obj){!obj||Object.keys(obj).forEach(function(key){var value=obj[key];value!==void 0&&(result[key]=value)})}),result}var cloneDeep_toString=Object.prototype.toString;function cloneDeep(value){return cloneDeepHelper(value)}function cloneDeepHelper(val,seen){switch(cloneDeep_toString.call(val)){case"[object Array]":{if(seen=seen||new Map,seen.has(val))return seen.get(val);var copy_1=val.slice(0);return seen.set(val,copy_1),copy_1.forEach(function(child,i){copy_1[i]=cloneDeepHelper(child,seen)}),copy_1}case"[object Object]":{if(seen=seen||new Map,seen.has(val))return seen.get(val);var copy_2=Object.create(Object.getPrototypeOf(val));return seen.set(val,copy_2),Object.keys(val).forEach(function(key){copy_2[key]=cloneDeepHelper(val[key],seen)}),copy_2}default:return val}}function equalByQuery(query,_a2,_b,variables){var aData=_a2.data,aRest=__rest(_a2,["data"]),bData=_b.data,bRest=__rest(_b,["data"]);return lib(aRest,bRest)&&equalBySelectionSet(getMainDefinition(query).selectionSet,aData,bData,{fragmentMap:createFragmentMap(getFragmentDefinitions(query)),variables})}function equalBySelectionSet(selectionSet,aResult,bResult,context){if(aResult===bResult)return!0;var seenSelections=new Set;return selectionSet.selections.every(function(selection){if(seenSelections.has(selection)||(seenSelections.add(selection),!shouldInclude(selection,context.variables))||selectionHasNonreactiveDirective(selection))return!0;if(storeUtils_isField(selection)){var resultKey=resultKeyNameFromField(selection),aResultChild=aResult&&aResult[resultKey],bResultChild=bResult&&bResult[resultKey],childSelectionSet=selection.selectionSet;if(!childSelectionSet)return lib(aResultChild,bResultChild);var aChildIsArray=Array.isArray(aResultChild),bChildIsArray=Array.isArray(bResultChild);if(aChildIsArray!==bChildIsArray)return!1;if(aChildIsArray&&bChildIsArray){var length_1=aResultChild.length;if(bResultChild.length!==length_1)return!1;for(var i=0;i<length_1;++i)if(!equalBySelectionSet(childSelectionSet,aResultChild[i],bResultChild[i],context))return!1;return!0}return equalBySelectionSet(childSelectionSet,aResultChild,bResultChild,context)}else{var fragment=getFragmentFromSelection(selection,context.fragmentMap);if(fragment)return selectionHasNonreactiveDirective(fragment)?!0:equalBySelectionSet(fragment.selectionSet,aResult,bResult,context)}})}function selectionHasNonreactiveDirective(selection){return!!selection.directives&&selection.directives.some(directiveIsNonreactive)}function directiveIsNonreactive(dir){return dir.name.value==="nonreactive"}var ObservableQuery_assign=Object.assign,ObservableQuery_hasOwnProperty=Object.hasOwnProperty,ObservableQuery=function(_super){__extends(ObservableQuery2,_super);function ObservableQuery2(_a2){var queryManager=_a2.queryManager,queryInfo=_a2.queryInfo,options=_a2.options,_this=_super.call(this,function(observer){try{var subObserver=observer._subscription._observer;subObserver&&!subObserver.error&&(subObserver.error=defaultSubscriptionObserverErrorCallback)}catch{}var first=!_this.observers.size;_this.observers.add(observer);var last=_this.last;return last&&last.error?observer.error&&observer.error(last.error):last&&last.result&&observer.next&&observer.next(last.result),first&&_this.reobserve().catch(function(){}),function(){_this.observers.delete(observer)&&!_this.observers.size&&_this.tearDownQuery()}})||this;_this.observers=new Set,_this.subscriptions=new Set,_this.queryInfo=queryInfo,_this.queryManager=queryManager,_this.waitForOwnResult=skipCacheDataFor(options.fetchPolicy),_this.isTornDown=!1,_this.subscribeToMore=_this.subscribeToMore.bind(_this);var _b=queryManager.defaultOptions.watchQuery,_c=_b===void 0?{}:_b,_d=_c.fetchPolicy,defaultFetchPolicy=_d===void 0?"cache-first":_d,_e=options.fetchPolicy,fetchPolicy=_e===void 0?defaultFetchPolicy:_e,_f=options.initialFetchPolicy,initialFetchPolicy=_f===void 0?fetchPolicy==="standby"?defaultFetchPolicy:fetchPolicy:_f;_this.options=tslib_es6_assign(tslib_es6_assign({},options),{initialFetchPolicy,fetchPolicy}),_this.queryId=queryInfo.queryId||queryManager.generateQueryId();var opDef=getOperationDefinition(_this.query);return _this.queryName=opDef&&opDef.name&&opDef.name.value,_this}return Object.defineProperty(ObservableQuery2.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(ObservableQuery2.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),ObservableQuery2.prototype.result=function(){var _this=this;return new Promise(function(resolve,reject){var observer={next:function(result){resolve(result),_this.observers.delete(observer),_this.observers.size||_this.queryManager.removeQuery(_this.queryId),setTimeout(function(){subscription.unsubscribe()},0)},error:reject},subscription=_this.subscribe(observer)})},ObservableQuery2.prototype.resetDiff=function(){this.queryInfo.resetDiff()},ObservableQuery2.prototype.getCurrentResult=function(saveAsLastResult){saveAsLastResult===void 0&&(saveAsLastResult=!0);var lastResult=this.getLastResult(!0),networkStatus=this.queryInfo.networkStatus||lastResult&&lastResult.networkStatus||NetworkStatus.ready,result=tslib_es6_assign(tslib_es6_assign({},lastResult),{loading:isNetworkRequestInFlight(networkStatus),networkStatus}),_a2=this.options.fetchPolicy,fetchPolicy=_a2===void 0?"cache-first":_a2;if(!(skipCacheDataFor(fetchPolicy)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers))if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var diff=this.queryInfo.getDiff();(diff.complete||this.options.returnPartialData)&&(result.data=diff.result),equal(result.data,{})&&(result.data=void 0),diff.complete?(delete result.partial,diff.complete&&result.networkStatus===NetworkStatus.loading&&(fetchPolicy==="cache-first"||fetchPolicy==="cache-only")&&(result.networkStatus=NetworkStatus.ready,result.loading=!1)):result.partial=!0,globalThis.__DEV__!==!1&&!diff.complete&&!this.options.partialRefetch&&!result.loading&&!result.data&&!result.error&&logMissingFieldErrors(diff.missing)}return saveAsLastResult&&this.updateLastResult(result),result},ObservableQuery2.prototype.isDifferentFromLastResult=function(newResult,variables){if(!this.last)return!0;var resultIsDifferent=this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective?!equalByQuery(this.query,this.last.result,newResult,this.variables):!equal(this.last.result,newResult);return resultIsDifferent||variables&&!equal(this.last.variables,variables)},ObservableQuery2.prototype.getLast=function(key,variablesMustMatch){var last=this.last;if(last&&last[key]&&(!variablesMustMatch||equal(last.variables,this.variables)))return last[key]},ObservableQuery2.prototype.getLastResult=function(variablesMustMatch){return this.getLast("result",variablesMustMatch)},ObservableQuery2.prototype.getLastError=function(variablesMustMatch){return this.getLast("error",variablesMustMatch)},ObservableQuery2.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},ObservableQuery2.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},ObservableQuery2.prototype.refetch=function(variables){var _a2,reobserveOptions={pollInterval:0},fetchPolicy=this.options.fetchPolicy;if(fetchPolicy==="cache-and-network"?reobserveOptions.fetchPolicy=fetchPolicy:fetchPolicy==="no-cache"?reobserveOptions.fetchPolicy="no-cache":reobserveOptions.fetchPolicy="network-only",globalThis.__DEV__!==!1&&variables&&ObservableQuery_hasOwnProperty.call(variables,"variables")){var queryDef=getQueryDefinition(this.query),vars=queryDef.variableDefinitions;(!vars||!vars.some(function(v){return v.variable.name.value==="variables"}))&&globalThis.__DEV__!==!1&&invariantWrappers_invariant.warn(20,variables,((_a2=queryDef.name)===null||_a2===void 0?void 0:_a2.value)||queryDef)}return variables&&!equal(this.options.variables,variables)&&(reobserveOptions.variables=this.options.variables=tslib_es6_assign(tslib_es6_assign({},this.options.variables),variables)),this.queryInfo.resetLastWrite(),this.reobserve(reobserveOptions,NetworkStatus.refetch)},ObservableQuery2.prototype.fetchMore=function(fetchMoreOptions){var _this=this,combinedOptions=tslib_es6_assign(tslib_es6_assign({},fetchMoreOptions.query?fetchMoreOptions:tslib_es6_assign(tslib_es6_assign(tslib_es6_assign(tslib_es6_assign({},this.options),{query:this.options.query}),fetchMoreOptions),{variables:tslib_es6_assign(tslib_es6_assign({},this.options.variables),fetchMoreOptions.variables)})),{fetchPolicy:"no-cache"});combinedOptions.query=this.transformDocument(combinedOptions.query);var qid=this.queryManager.generateQueryId();this.lastQuery=fetchMoreOptions.query?this.transformDocument(this.options.query):combinedOptions.query;var queryInfo=this.queryInfo,originalNetworkStatus=queryInfo.networkStatus;queryInfo.networkStatus=NetworkStatus.fetchMore,combinedOptions.notifyOnNetworkStatusChange&&this.observe();var updatedQuerySet=new Set,updateQuery=fetchMoreOptions?.updateQuery,isCached=this.options.fetchPolicy!=="no-cache";return isCached||invariantWrappers_invariant(updateQuery,21),this.queryManager.fetchQuery(qid,combinedOptions,NetworkStatus.fetchMore).then(function(fetchMoreResult){if(_this.queryManager.removeQuery(qid),queryInfo.networkStatus===NetworkStatus.fetchMore&&(queryInfo.networkStatus=originalNetworkStatus),isCached)_this.queryManager.cache.batch({update:function(cache2){var updateQuery2=fetchMoreOptions.updateQuery;updateQuery2?cache2.updateQuery({query:_this.query,variables:_this.variables,returnPartialData:!0,optimistic:!1},function(previous){return updateQuery2(previous,{fetchMoreResult:fetchMoreResult.data,variables:combinedOptions.variables})}):cache2.writeQuery({query:combinedOptions.query,variables:combinedOptions.variables,data:fetchMoreResult.data})},onWatchUpdated:function(watch){updatedQuerySet.add(watch.query)}});else{var lastResult=_this.getLast("result"),data=updateQuery(lastResult.data,{fetchMoreResult:fetchMoreResult.data,variables:combinedOptions.variables});_this.reportResult(tslib_es6_assign(tslib_es6_assign({},lastResult),{data}),_this.variables)}return fetchMoreResult}).finally(function(){isCached&&!updatedQuerySet.has(_this.query)&&reobserveCacheFirst(_this)})},ObservableQuery2.prototype.subscribeToMore=function(options){var _this=this,subscription=this.queryManager.startGraphQLSubscription({query:options.document,variables:options.variables,context:options.context}).subscribe({next:function(subscriptionData){var updateQuery=options.updateQuery;updateQuery&&_this.updateQuery(function(previous,_a2){var variables=_a2.variables;return updateQuery(previous,{subscriptionData,variables})})},error:function(err){if(options.onError){options.onError(err);return}globalThis.__DEV__!==!1&&invariantWrappers_invariant.error(22,err)}});return this.subscriptions.add(subscription),function(){_this.subscriptions.delete(subscription)&&subscription.unsubscribe()}},ObservableQuery2.prototype.setOptions=function(newOptions){return this.reobserve(newOptions)},ObservableQuery2.prototype.silentSetOptions=function(newOptions){var mergedOptions=compact(this.options,newOptions||{});ObservableQuery_assign(this.options,mergedOptions)},ObservableQuery2.prototype.setVariables=function(variables){return equal(this.variables,variables)?this.observers.size?this.result():Promise.resolve():(this.options.variables=variables,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables},NetworkStatus.setVariables):Promise.resolve())},ObservableQuery2.prototype.updateQuery=function(mapFn){var queryManager=this.queryManager,result=queryManager.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,newResult=mapFn(result,{variables:this.variables});newResult&&(queryManager.cache.writeQuery({query:this.options.query,data:newResult,variables:this.variables}),queryManager.broadcastQueries())},ObservableQuery2.prototype.startPolling=function(pollInterval){this.options.pollInterval=pollInterval,this.updatePolling()},ObservableQuery2.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},ObservableQuery2.prototype.applyNextFetchPolicy=function(reason,options){if(options.nextFetchPolicy){var _a2=options.fetchPolicy,fetchPolicy=_a2===void 0?"cache-first":_a2,_b=options.initialFetchPolicy,initialFetchPolicy=_b===void 0?fetchPolicy:_b;fetchPolicy==="standby"||(typeof options.nextFetchPolicy=="function"?options.fetchPolicy=options.nextFetchPolicy(fetchPolicy,{reason,options,observable:this,initialFetchPolicy}):reason==="variables-changed"?options.fetchPolicy=initialFetchPolicy:options.fetchPolicy=options.nextFetchPolicy)}return options.fetchPolicy},ObservableQuery2.prototype.fetch=function(options,newNetworkStatus,query){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,options,newNetworkStatus,query)},ObservableQuery2.prototype.updatePolling=function(){var _this=this;if(!this.queryManager.ssrMode){var _a2=this,pollingInfo=_a2.pollingInfo,pollInterval=_a2.options.pollInterval;if(!pollInterval||!this.hasObservers()){pollingInfo&&(clearTimeout(pollingInfo.timeout),delete this.pollingInfo);return}if(!(pollingInfo&&pollingInfo.interval===pollInterval)){invariantWrappers_invariant(pollInterval,23);var info=pollingInfo||(this.pollingInfo={});info.interval=pollInterval;var maybeFetch=function(){var _a3,_b;_this.pollingInfo&&(!isNetworkRequestInFlight(_this.queryInfo.networkStatus)&&!(!((_b=(_a3=_this.options).skipPollAttempt)===null||_b===void 0)&&_b.call(_a3))?_this.reobserve({fetchPolicy:_this.options.initialFetchPolicy==="no-cache"?"no-cache":"network-only"},NetworkStatus.poll).then(poll,poll):poll())},poll=function(){var info2=_this.pollingInfo;info2&&(clearTimeout(info2.timeout),info2.timeout=setTimeout(maybeFetch,info2.interval))};poll()}}},ObservableQuery2.prototype.updateLastResult=function(newResult,variables){variables===void 0&&(variables=this.variables);var error=this.getLastError();return error&&this.last&&!equal(variables,this.last.variables)&&(error=void 0),this.last=tslib_es6_assign({result:this.queryManager.assumeImmutableResults?newResult:cloneDeep(newResult),variables},error?{error}:null)},ObservableQuery2.prototype.reobserveAsConcast=function(newOptions,newNetworkStatus){var _this=this;this.isTornDown=!1;var useDisposableConcast=newNetworkStatus===NetworkStatus.refetch||newNetworkStatus===NetworkStatus.fetchMore||newNetworkStatus===NetworkStatus.poll,oldVariables=this.options.variables,oldFetchPolicy=this.options.fetchPolicy,mergedOptions=compact(this.options,newOptions||{}),options=useDisposableConcast?mergedOptions:ObservableQuery_assign(this.options,mergedOptions),query=this.transformDocument(options.query);this.lastQuery=query,useDisposableConcast||(this.updatePolling(),newOptions&&newOptions.variables&&!equal(newOptions.variables,oldVariables)&&options.fetchPolicy!=="standby"&&(options.fetchPolicy===oldFetchPolicy||typeof options.nextFetchPolicy=="function")&&(this.applyNextFetchPolicy("variables-changed",options),newNetworkStatus===void 0&&(newNetworkStatus=NetworkStatus.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=skipCacheDataFor(options.fetchPolicy));var finishWaitingForOwnResult=function(){_this.concast===concast&&(_this.waitForOwnResult=!1)},variables=options.variables&&tslib_es6_assign({},options.variables),_a2=this.fetch(options,newNetworkStatus,query),concast=_a2.concast,fromLink=_a2.fromLink,observer={next:function(result){equal(_this.variables,variables)&&(finishWaitingForOwnResult(),_this.reportResult(result,variables))},error:function(error){equal(_this.variables,variables)&&(isApolloError(error)||(error=new ApolloError({networkError:error})),finishWaitingForOwnResult(),_this.reportError(error,variables))}};return!useDisposableConcast&&(fromLink||!this.concast)&&(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=concast,this.observer=observer),concast.addObserver(observer),concast},ObservableQuery2.prototype.reobserve=function(newOptions,newNetworkStatus){return this.reobserveAsConcast(newOptions,newNetworkStatus).promise},ObservableQuery2.prototype.resubscribeAfterError=function(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];var last=this.last;this.resetLastResults();var subscription=this.subscribe.apply(this,args);return this.last=last,subscription},ObservableQuery2.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},ObservableQuery2.prototype.reportResult=function(result,variables){var lastError=this.getLastError(),isDifferent=this.isDifferentFromLastResult(result,variables);(lastError||!result.partial||this.options.returnPartialData)&&this.updateLastResult(result,variables),(lastError||isDifferent)&&iterateObserversSafely(this.observers,"next",result)},ObservableQuery2.prototype.reportError=function(error,variables){var errorResult=tslib_es6_assign(tslib_es6_assign({},this.getLastResult()),{error,errors:error.graphQLErrors,networkStatus:NetworkStatus.error,loading:!1});this.updateLastResult(errorResult,variables),iterateObserversSafely(this.observers,"error",this.last.error=error)},ObservableQuery2.prototype.hasObservers=function(){return this.observers.size>0},ObservableQuery2.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(sub){return sub.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},ObservableQuery2.prototype.transformDocument=function(document2){return this.queryManager.transform(document2)},ObservableQuery2}(Observable);fixObservableSubclass(ObservableQuery);function reobserveCacheFirst(obsQuery){var _a2=obsQuery.options,fetchPolicy=_a2.fetchPolicy,nextFetchPolicy=_a2.nextFetchPolicy;return fetchPolicy==="cache-and-network"||fetchPolicy==="network-only"?obsQuery.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(currentFetchPolicy,context){return this.nextFetchPolicy=nextFetchPolicy,typeof this.nextFetchPolicy=="function"?this.nextFetchPolicy(currentFetchPolicy,context):fetchPolicy}}):obsQuery.reobserve()}function defaultSubscriptionObserverErrorCallback(error){globalThis.__DEV__!==!1&&invariantWrappers_invariant.error(24,error.message,error.stack)}function logMissingFieldErrors(missing){globalThis.__DEV__!==!1&&missing&&globalThis.__DEV__!==!1&&invariantWrappers_invariant.debug(25,missing)}function skipCacheDataFor(fetchPolicy){return fetchPolicy==="network-only"||fetchPolicy==="no-cache"||fetchPolicy==="standby"}var destructiveMethodCounts=new(canUseWeakMap?WeakMap:Map);function wrapDestructiveCacheMethod(cache2,methodName){var original=cache2[methodName];typeof original=="function"&&(cache2[methodName]=function(){return destructiveMethodCounts.set(cache2,(destructiveMethodCounts.get(cache2)+1)%1e15),original.apply(this,arguments)})}function cancelNotifyTimeout(info){info.notifyTimeout&&(clearTimeout(info.notifyTimeout),info.notifyTimeout=void 0)}var QueryInfo=function(){function QueryInfo2(queryManager,queryId){queryId===void 0&&(queryId=queryManager.generateQueryId()),this.queryId=queryId,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var cache2=this.cache=queryManager.cache;destructiveMethodCounts.has(cache2)||(destructiveMethodCounts.set(cache2,0),wrapDestructiveCacheMethod(cache2,"evict"),wrapDestructiveCacheMethod(cache2,"modify"),wrapDestructiveCacheMethod(cache2,"reset"))}return QueryInfo2.prototype.init=function(query){var networkStatus=query.networkStatus||NetworkStatus.loading;return this.variables&&this.networkStatus!==NetworkStatus.loading&&!equal(this.variables,query.variables)&&(networkStatus=NetworkStatus.setVariables),equal(query.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:query.document,variables:query.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus}),query.observableQuery&&this.setObservableQuery(query.observableQuery),query.lastRequestId&&(this.lastRequestId=query.lastRequestId),this},QueryInfo2.prototype.reset=function(){cancelNotifyTimeout(this),this.dirty=!1},QueryInfo2.prototype.resetDiff=function(){this.lastDiff=void 0},QueryInfo2.prototype.getDiff=function(){var options=this.getDiffOptions();if(this.lastDiff&&equal(options,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var oq=this.observableQuery;if(oq&&oq.options.fetchPolicy==="no-cache")return{complete:!1};var diff=this.cache.diff(options);return this.updateLastDiff(diff,options),diff},QueryInfo2.prototype.updateLastDiff=function(diff,options){this.lastDiff=diff?{diff,options:options||this.getDiffOptions()}:void 0},QueryInfo2.prototype.getDiffOptions=function(variables){var _a2;return variables===void 0&&(variables=this.variables),{query:this.document,variables,returnPartialData:!0,optimistic:!0,canonizeResults:(_a2=this.observableQuery)===null||_a2===void 0?void 0:_a2.options.canonizeResults}},QueryInfo2.prototype.setDiff=function(diff){var _this=this,_a2,oldDiff=this.lastDiff&&this.lastDiff.diff;diff&&!diff.complete&&((_a2=this.observableQuery)===null||_a2===void 0?void 0:_a2.getLastError())||(this.updateLastDiff(diff),!this.dirty&&!equal(oldDiff&&oldDiff.result,diff&&diff.result)&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return _this.notify()},0))))},QueryInfo2.prototype.setObservableQuery=function(oq){var _this=this;oq!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=oq,oq?(oq.queryInfo=this,this.listeners.add(this.oqListener=function(){var diff=_this.getDiff();diff.fromOptimisticTransaction?oq.observe():reobserveCacheFirst(oq)})):delete this.oqListener)},QueryInfo2.prototype.notify=function(){var _this=this;cancelNotifyTimeout(this),this.shouldNotify()&&this.listeners.forEach(function(listener){return listener(_this)}),this.dirty=!1},QueryInfo2.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(isNetworkRequestInFlight(this.networkStatus)&&this.observableQuery){var fetchPolicy=this.observableQuery.options.fetchPolicy;if(fetchPolicy!=="cache-only"&&fetchPolicy!=="cache-and-network")return!1}return!0},QueryInfo2.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=QueryInfo2.prototype.cancel;var oq=this.observableQuery;oq&&oq.stopPolling()}},QueryInfo2.prototype.cancel=function(){},QueryInfo2.prototype.updateWatch=function(variables){var _this=this;variables===void 0&&(variables=this.variables);var oq=this.observableQuery;if(!(oq&&oq.options.fetchPolicy==="no-cache")){var watchOptions=tslib_es6_assign(tslib_es6_assign({},this.getDiffOptions(variables)),{watcher:this,callback:function(diff){return _this.setDiff(diff)}});(!this.lastWatch||!equal(watchOptions,this.lastWatch))&&(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=watchOptions))}},QueryInfo2.prototype.resetLastWrite=function(){this.lastWrite=void 0},QueryInfo2.prototype.shouldWrite=function(result,variables){var lastWrite=this.lastWrite;return!(lastWrite&&lastWrite.dmCount===destructiveMethodCounts.get(this.cache)&&equal(variables,lastWrite.variables)&&equal(result.data,lastWrite.result.data))},QueryInfo2.prototype.markResult=function(result,document2,options,cacheWriteBehavior){var _this=this,merger=new DeepMerger,graphQLErrors=isNonEmptyArray(result.errors)?result.errors.slice(0):[];if(this.reset(),"incremental"in result&&isNonEmptyArray(result.incremental)){var mergedData=mergeIncrementalData(this.getDiff().result,result);result.data=mergedData}else if("hasNext"in result&&result.hasNext){var diff=this.getDiff();result.data=merger.merge(diff.result,result.data)}this.graphQLErrors=graphQLErrors,options.fetchPolicy==="no-cache"?this.updateLastDiff({result:result.data,complete:!0},this.getDiffOptions(options.variables)):cacheWriteBehavior!==0&&(shouldWriteResult(result,options.errorPolicy)?this.cache.performTransaction(function(cache2){if(_this.shouldWrite(result,options.variables))cache2.writeQuery({query:document2,data:result.data,variables:options.variables,overwrite:cacheWriteBehavior===1}),_this.lastWrite={result,variables:options.variables,dmCount:destructiveMethodCounts.get(_this.cache)};else if(_this.lastDiff&&_this.lastDiff.diff.complete){result.data=_this.lastDiff.diff.result;return}var diffOptions=_this.getDiffOptions(options.variables),diff2=cache2.diff(diffOptions);!_this.stopped&&equal(_this.variables,options.variables)&&_this.updateWatch(options.variables),_this.updateLastDiff(diff2,diffOptions),diff2.complete&&(result.data=diff2.result)}):this.lastWrite=void 0)},QueryInfo2.prototype.markReady=function(){return this.networkError=null,this.networkStatus=NetworkStatus.ready},QueryInfo2.prototype.markError=function(error){return this.networkStatus=NetworkStatus.error,this.lastWrite=void 0,this.reset(),error.graphQLErrors&&(this.graphQLErrors=error.graphQLErrors),error.networkError&&(this.networkError=error.networkError),error},QueryInfo2}();function shouldWriteResult(result,errorPolicy){errorPolicy===void 0&&(errorPolicy="none");var ignoreErrors=errorPolicy==="ignore"||errorPolicy==="all",writeWithErrors=!graphQLResultHasError(result);return!writeWithErrors&&ignoreErrors&&result.data&&(writeWithErrors=!0),writeWithErrors}var QueryManager_hasOwnProperty=Object.prototype.hasOwnProperty,IGNORE=Object.create(null),QueryManager=function(){function QueryManager2(options){var _this=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new AutoCleanedWeakCache(cacheSizes["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Trie(!1);var defaultDocumentTransform=new DocumentTransform(function(document2){return _this.cache.transformDocument(document2)},{cache:!1});this.cache=options.cache,this.link=options.link,this.defaultOptions=options.defaultOptions,this.queryDeduplication=options.queryDeduplication,this.clientAwareness=options.clientAwareness,this.localState=options.localState,this.ssrMode=options.ssrMode,this.assumeImmutableResults=options.assumeImmutableResults;var documentTransform=options.documentTransform;this.documentTransform=documentTransform?defaultDocumentTransform.concat(documentTransform).concat(defaultDocumentTransform):defaultDocumentTransform,this.defaultContext=options.defaultContext||Object.create(null),(this.onBroadcast=options.onBroadcast)&&(this.mutationStore=Object.create(null))}return QueryManager2.prototype.stop=function(){var _this=this;this.queries.forEach(function(_info,queryId){_this.stopQueryNoBroadcast(queryId)}),this.cancelPendingFetches(newInvariantError(26))},QueryManager2.prototype.cancelPendingFetches=function(error){this.fetchCancelFns.forEach(function(cancel){return cancel(error)}),this.fetchCancelFns.clear()},QueryManager2.prototype.mutate=function(_a2){return __awaiter(this,arguments,void 0,function(_b){var mutationId,hasClientExports2,mutationStoreValue,isOptimistic,self2,_c,_d,mutation=_b.mutation,variables=_b.variables,optimisticResponse=_b.optimisticResponse,updateQueries=_b.updateQueries,_e=_b.refetchQueries,refetchQueries=_e===void 0?[]:_e,_f=_b.awaitRefetchQueries,awaitRefetchQueries=_f===void 0?!1:_f,updateWithProxyFn=_b.update,onQueryUpdated=_b.onQueryUpdated,_g=_b.fetchPolicy,fetchPolicy=_g===void 0?((_c=this.defaultOptions.mutate)===null||_c===void 0?void 0:_c.fetchPolicy)||"network-only":_g,_h=_b.errorPolicy,errorPolicy=_h===void 0?((_d=this.defaultOptions.mutate)===null||_d===void 0?void 0:_d.errorPolicy)||"none":_h,keepRootFields=_b.keepRootFields,context=_b.context;return __generator(this,function(_j){switch(_j.label){case 0:return invariantWrappers_invariant(mutation,27),invariantWrappers_invariant(fetchPolicy==="network-only"||fetchPolicy==="no-cache",28),mutationId=this.generateMutationId(),mutation=this.cache.transformForLink(this.transform(mutation)),hasClientExports2=this.getDocumentInfo(mutation).hasClientExports,variables=this.getVariables(mutation,variables),hasClientExports2?[4,this.localState.addExportedVariables(mutation,variables,context)]:[3,2];case 1:variables=_j.sent(),_j.label=2;case 2:return mutationStoreValue=this.mutationStore&&(this.mutationStore[mutationId]={mutation,variables,loading:!0,error:null}),isOptimistic=optimisticResponse&&this.markMutationOptimistic(optimisticResponse,{mutationId,document:mutation,variables,fetchPolicy,errorPolicy,context,updateQueries,update:updateWithProxyFn,keepRootFields}),this.broadcastQueries(),self2=this,[2,new Promise(function(resolve,reject){return asyncMap(self2.getObservableFromLink(mutation,tslib_es6_assign(tslib_es6_assign({},context),{optimisticResponse:isOptimistic?optimisticResponse:void 0}),variables,{},!1),function(result){if(graphQLResultHasError(result)&&errorPolicy==="none")throw new ApolloError({graphQLErrors:getGraphQLErrorsFromResult(result)});mutationStoreValue&&(mutationStoreValue.loading=!1,mutationStoreValue.error=null);var storeResult=tslib_es6_assign({},result);return typeof refetchQueries=="function"&&(refetchQueries=refetchQueries(storeResult)),errorPolicy==="ignore"&&graphQLResultHasError(storeResult)&&delete storeResult.errors,self2.markMutationResult({mutationId,result:storeResult,document:mutation,variables,fetchPolicy,errorPolicy,context,update:updateWithProxyFn,updateQueries,awaitRefetchQueries,refetchQueries,removeOptimistic:isOptimistic?mutationId:void 0,onQueryUpdated,keepRootFields})}).subscribe({next:function(storeResult){self2.broadcastQueries(),(!("hasNext"in storeResult)||storeResult.hasNext===!1)&&resolve(storeResult)},error:function(err){mutationStoreValue&&(mutationStoreValue.loading=!1,mutationStoreValue.error=err),isOptimistic&&self2.cache.removeOptimistic(mutationId),self2.broadcastQueries(),reject(err instanceof ApolloError?err:new ApolloError({networkError:err}))}})})]}})})},QueryManager2.prototype.markMutationResult=function(mutation,cache2){var _this=this;cache2===void 0&&(cache2=this.cache);var result=mutation.result,cacheWrites=[],skipCache=mutation.fetchPolicy==="no-cache";if(!skipCache&&shouldWriteResult(result,mutation.errorPolicy)){if(isExecutionPatchIncrementalResult(result)||cacheWrites.push({result:result.data,dataId:"ROOT_MUTATION",query:mutation.document,variables:mutation.variables}),isExecutionPatchIncrementalResult(result)&&isNonEmptyArray(result.incremental)){var diff=cache2.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(mutation.document).asQuery,variables:mutation.variables,optimistic:!1,returnPartialData:!0}),mergedData=void 0;diff.result&&(mergedData=mergeIncrementalData(diff.result,result)),typeof mergedData<"u"&&(result.data=mergedData,cacheWrites.push({result:mergedData,dataId:"ROOT_MUTATION",query:mutation.document,variables:mutation.variables}))}var updateQueries_1=mutation.updateQueries;updateQueries_1&&this.queries.forEach(function(_a2,queryId){var observableQuery=_a2.observableQuery,queryName=observableQuery&&observableQuery.queryName;if(!(!queryName||!QueryManager_hasOwnProperty.call(updateQueries_1,queryName))){var updater=updateQueries_1[queryName],_b=_this.queries.get(queryId),document2=_b.document,variables=_b.variables,_c=cache2.diff({query:document2,variables,returnPartialData:!0,optimistic:!1}),currentQueryResult=_c.result,complete=_c.complete;if(complete&&currentQueryResult){var nextQueryResult=updater(currentQueryResult,{mutationResult:result,queryName:document2&&getOperationName(document2)||void 0,queryVariables:variables});nextQueryResult&&cacheWrites.push({result:nextQueryResult,dataId:"ROOT_QUERY",query:document2,variables})}}})}if(cacheWrites.length>0||(mutation.refetchQueries||"").length>0||mutation.update||mutation.onQueryUpdated||mutation.removeOptimistic){var results_1=[];if(this.refetchQueries({updateCache:function(cache3){skipCache||cacheWrites.forEach(function(write){return cache3.write(write)});var update=mutation.update,isFinalResult=!isExecutionPatchResult(result)||isExecutionPatchIncrementalResult(result)&&!result.hasNext;if(update){if(!skipCache){var diff2=cache3.diff({id:"ROOT_MUTATION",query:_this.getDocumentInfo(mutation.document).asQuery,variables:mutation.variables,optimistic:!1,returnPartialData:!0});diff2.complete&&(result=tslib_es6_assign(tslib_es6_assign({},result),{data:diff2.result}),"incremental"in result&&delete result.incremental,"hasNext"in result&&delete result.hasNext)}isFinalResult&&update(cache3,result,{context:mutation.context,variables:mutation.variables})}!skipCache&&!mutation.keepRootFields&&isFinalResult&&cache3.modify({id:"ROOT_MUTATION",fields:function(value,_a2){var fieldName=_a2.fieldName,DELETE2=_a2.DELETE;return fieldName==="__typename"?value:DELETE2}})},include:mutation.refetchQueries,optimistic:!1,removeOptimistic:mutation.removeOptimistic,onQueryUpdated:mutation.onQueryUpdated||null}).forEach(function(result2){return results_1.push(result2)}),mutation.awaitRefetchQueries||mutation.onQueryUpdated)return Promise.all(results_1).then(function(){return result})}return Promise.resolve(result)},QueryManager2.prototype.markMutationOptimistic=function(optimisticResponse,mutation){var _this=this,data=typeof optimisticResponse=="function"?optimisticResponse(mutation.variables,{IGNORE}):optimisticResponse;return data===IGNORE?!1:(this.cache.recordOptimisticTransaction(function(cache2){try{_this.markMutationResult(tslib_es6_assign(tslib_es6_assign({},mutation),{result:{data}}),cache2)}catch(error){globalThis.__DEV__!==!1&&invariantWrappers_invariant.error(error)}},mutation.mutationId),!0)},QueryManager2.prototype.fetchQuery=function(queryId,options,networkStatus){return this.fetchConcastWithInfo(queryId,options,networkStatus).concast.promise},QueryManager2.prototype.getQueryStore=function(){var store=Object.create(null);return this.queries.forEach(function(info,queryId){store[queryId]={variables:info.variables,networkStatus:info.networkStatus,networkError:info.networkError,graphQLErrors:info.graphQLErrors}}),store},QueryManager2.prototype.resetErrors=function(queryId){var queryInfo=this.queries.get(queryId);queryInfo&&(queryInfo.networkError=void 0,queryInfo.graphQLErrors=[])},QueryManager2.prototype.transform=function(document2){return this.documentTransform.transformDocument(document2)},QueryManager2.prototype.getDocumentInfo=function(document2){var transformCache=this.transformCache;if(!transformCache.has(document2)){var cacheEntry={hasClientExports:hasClientExports(document2),hasForcedResolvers:this.localState.shouldForceResolvers(document2),hasNonreactiveDirective:hasDirectives(["nonreactive"],document2),clientQuery:this.localState.clientQuery(document2),serverQuery:removeDirectivesFromDocument([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],document2),defaultVars:getDefaultValues(getOperationDefinition(document2)),asQuery:tslib_es6_assign(tslib_es6_assign({},document2),{definitions:document2.definitions.map(function(def){return def.kind==="OperationDefinition"&&def.operation!=="query"?tslib_es6_assign(tslib_es6_assign({},def),{operation:"query"}):def})})};transformCache.set(document2,cacheEntry)}return transformCache.get(document2)},QueryManager2.prototype.getVariables=function(document2,variables){return tslib_es6_assign(tslib_es6_assign({},this.getDocumentInfo(document2).defaultVars),variables)},QueryManager2.prototype.watchQuery=function(options){var query=this.transform(options.query);options=tslib_es6_assign(tslib_es6_assign({},options),{variables:this.getVariables(query,options.variables)}),typeof options.notifyOnNetworkStatusChange>"u"&&(options.notifyOnNetworkStatusChange=!1);var queryInfo=new QueryInfo(this),observable=new ObservableQuery({queryManager:this,queryInfo,options});return observable.lastQuery=query,this.queries.set(observable.queryId,queryInfo),queryInfo.init({document:query,observableQuery:observable,variables:observable.variables}),observable},QueryManager2.prototype.query=function(options,queryId){var _this=this;return queryId===void 0&&(queryId=this.generateQueryId()),invariantWrappers_invariant(options.query,29),invariantWrappers_invariant(options.query.kind==="Document",30),invariantWrappers_invariant(!options.returnPartialData,31),invariantWrappers_invariant(!options.pollInterval,32),this.fetchQuery(queryId,tslib_es6_assign(tslib_es6_assign({},options),{query:this.transform(options.query)})).finally(function(){return _this.stopQuery(queryId)})},QueryManager2.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},QueryManager2.prototype.generateRequestId=function(){return this.requestIdCounter++},QueryManager2.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},QueryManager2.prototype.stopQueryInStore=function(queryId){this.stopQueryInStoreNoBroadcast(queryId),this.broadcastQueries()},QueryManager2.prototype.stopQueryInStoreNoBroadcast=function(queryId){var queryInfo=this.queries.get(queryId);queryInfo&&queryInfo.stop()},QueryManager2.prototype.clearStore=function(options){return options===void 0&&(options={discardWatches:!0}),this.cancelPendingFetches(newInvariantError(33)),this.queries.forEach(function(queryInfo){queryInfo.observableQuery?queryInfo.networkStatus=NetworkStatus.loading:queryInfo.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(options)},QueryManager2.prototype.getObservableQueries=function(include){var _this=this;include===void 0&&(include="active");var queries=new Map,queryNamesAndDocs=new Map,legacyQueryOptions=new Set;return Array.isArray(include)&&include.forEach(function(desc){typeof desc=="string"?queryNamesAndDocs.set(desc,!1):isDocumentNode(desc)?queryNamesAndDocs.set(_this.transform(desc),!1):isNonNullObject(desc)&&desc.query&&legacyQueryOptions.add(desc)}),this.queries.forEach(function(_a2,queryId){var oq=_a2.observableQuery,document2=_a2.document;if(oq){if(include==="all"){queries.set(queryId,oq);return}var queryName=oq.queryName,fetchPolicy=oq.options.fetchPolicy;if(fetchPolicy==="standby"||include==="active"&&!oq.hasObservers())return;(include==="active"||queryName&&queryNamesAndDocs.has(queryName)||document2&&queryNamesAndDocs.has(document2))&&(queries.set(queryId,oq),queryName&&queryNamesAndDocs.set(queryName,!0),document2&&queryNamesAndDocs.set(document2,!0))}}),legacyQueryOptions.size&&legacyQueryOptions.forEach(function(options){var queryId=makeUniqueId("legacyOneTimeQuery"),queryInfo=_this.getQuery(queryId).init({document:options.query,variables:options.variables}),oq=new ObservableQuery({queryManager:_this,queryInfo,options:tslib_es6_assign(tslib_es6_assign({},options),{fetchPolicy:"network-only"})});invariantWrappers_invariant(oq.queryId===queryId),queryInfo.setObservableQuery(oq),queries.set(queryId,oq)}),globalThis.__DEV__!==!1&&queryNamesAndDocs.size&&queryNamesAndDocs.forEach(function(included,nameOrDoc){included||globalThis.__DEV__!==!1&&invariantWrappers_invariant.warn(typeof nameOrDoc=="string"?34:35,nameOrDoc)}),queries},QueryManager2.prototype.reFetchObservableQueries=function(includeStandby){var _this=this;includeStandby===void 0&&(includeStandby=!1);var observableQueryPromises=[];return this.getObservableQueries(includeStandby?"all":"active").forEach(function(observableQuery,queryId){var fetchPolicy=observableQuery.options.fetchPolicy;observableQuery.resetLastResults(),(includeStandby||fetchPolicy!=="standby"&&fetchPolicy!=="cache-only")&&observableQueryPromises.push(observableQuery.refetch()),_this.getQuery(queryId).setDiff(null)}),this.broadcastQueries(),Promise.all(observableQueryPromises)},QueryManager2.prototype.setObservableQuery=function(observableQuery){this.getQuery(observableQuery.queryId).setObservableQuery(observableQuery)},QueryManager2.prototype.startGraphQLSubscription=function(_a2){var _this=this,query=_a2.query,fetchPolicy=_a2.fetchPolicy,_b=_a2.errorPolicy,errorPolicy=_b===void 0?"none":_b,variables=_a2.variables,_c=_a2.context,context=_c===void 0?{}:_c,_d=_a2.extensions,extensions=_d===void 0?{}:_d;query=this.transform(query),variables=this.getVariables(query,variables);var makeObservable=function(variables2){return _this.getObservableFromLink(query,context,variables2,extensions).map(function(result){fetchPolicy!=="no-cache"&&(shouldWriteResult(result,errorPolicy)&&_this.cache.write({query,result:result.data,dataId:"ROOT_SUBSCRIPTION",variables:variables2}),_this.broadcastQueries());var hasErrors=graphQLResultHasError(result),hasProtocolErrors=graphQLResultHasProtocolErrors(result);if(hasErrors||hasProtocolErrors){var errors={};if(hasErrors&&(errors.graphQLErrors=result.errors),hasProtocolErrors&&(errors.protocolErrors=result.extensions[PROTOCOL_ERRORS_SYMBOL]),errorPolicy==="none"||hasProtocolErrors)throw new ApolloError(errors)}return errorPolicy==="ignore"&&delete result.errors,result})};if(this.getDocumentInfo(query).hasClientExports){var observablePromise_1=this.localState.addExportedVariables(query,variables,context).then(makeObservable);return new Observable(function(observer){var sub=null;return observablePromise_1.then(function(observable){return sub=observable.subscribe(observer)},observer.error),function(){return sub&&sub.unsubscribe()}})}return makeObservable(variables)},QueryManager2.prototype.stopQuery=function(queryId){this.stopQueryNoBroadcast(queryId),this.broadcastQueries()},QueryManager2.prototype.stopQueryNoBroadcast=function(queryId){this.stopQueryInStoreNoBroadcast(queryId),this.removeQuery(queryId)},QueryManager2.prototype.removeQuery=function(queryId){this.fetchCancelFns.delete(queryId),this.queries.has(queryId)&&(this.getQuery(queryId).stop(),this.queries.delete(queryId))},QueryManager2.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(info){return info.notify()})},QueryManager2.prototype.getLocalState=function(){return this.localState},QueryManager2.prototype.getObservableFromLink=function(query,context,variables,extensions,deduplication){var _this=this,_a2;deduplication===void 0&&(deduplication=(_a2=context?.queryDeduplication)!==null&&_a2!==void 0?_a2:this.queryDeduplication);var observable,_b=this.getDocumentInfo(query),serverQuery=_b.serverQuery,clientQuery=_b.clientQuery;if(serverQuery){var _c=this,inFlightLinkObservables_1=_c.inFlightLinkObservables,link=_c.link,operation={query:serverQuery,variables,operationName:getOperationName(serverQuery)||void 0,context:this.prepareContext(tslib_es6_assign(tslib_es6_assign({},context),{forceFetch:!deduplication})),extensions};if(context=operation.context,deduplication){var printedServerQuery_1=print(serverQuery),varJson_1=canonicalStringify(variables),entry=inFlightLinkObservables_1.lookup(printedServerQuery_1,varJson_1);if(observable=entry.observable,!observable){var concast=new Concast([execute(link,operation)]);observable=entry.observable=concast,concast.beforeNext(function(){inFlightLinkObservables_1.remove(printedServerQuery_1,varJson_1)})}}else observable=new Concast([execute(link,operation)])}else observable=new Concast([Observable.of({data:{}})]),context=this.prepareContext(context);return clientQuery&&(observable=asyncMap(observable,function(result){return _this.localState.runResolvers({document:clientQuery,remoteResult:result,context,variables})})),observable},QueryManager2.prototype.getResultsFromLink=function(queryInfo,cacheWriteBehavior,options){var requestId=queryInfo.lastRequestId=this.generateRequestId(),linkDocument=this.cache.transformForLink(options.query);return asyncMap(this.getObservableFromLink(linkDocument,options.context,options.variables),function(result){var graphQLErrors=getGraphQLErrorsFromResult(result),hasErrors=graphQLErrors.length>0,errorPolicy=options.errorPolicy;if(requestId>=queryInfo.lastRequestId){if(hasErrors&&errorPolicy==="none")throw queryInfo.markError(new ApolloError({graphQLErrors}));queryInfo.markResult(result,linkDocument,options,cacheWriteBehavior),queryInfo.markReady()}var aqr={data:result.data,loading:!1,networkStatus:NetworkStatus.ready};return hasErrors&&errorPolicy==="none"&&(aqr.data=void 0),hasErrors&&errorPolicy!=="ignore"&&(aqr.errors=graphQLErrors,aqr.networkStatus=NetworkStatus.error),aqr},function(networkError){var error=isApolloError(networkError)?networkError:new ApolloError({networkError});throw requestId>=queryInfo.lastRequestId&&queryInfo.markError(error),error})},QueryManager2.prototype.fetchConcastWithInfo=function(queryId,options,networkStatus,query){var _this=this;networkStatus===void 0&&(networkStatus=NetworkStatus.loading),query===void 0&&(query=options.query);var variables=this.getVariables(query,options.variables),queryInfo=this.getQuery(queryId),defaults=this.defaultOptions.watchQuery,_a2=options.fetchPolicy,fetchPolicy=_a2===void 0?defaults&&defaults.fetchPolicy||"cache-first":_a2,_b=options.errorPolicy,errorPolicy=_b===void 0?defaults&&defaults.errorPolicy||"none":_b,_c=options.returnPartialData,returnPartialData=_c===void 0?!1:_c,_d=options.notifyOnNetworkStatusChange,notifyOnNetworkStatusChange=_d===void 0?!1:_d,_e=options.context,context=_e===void 0?{}:_e,normalized=Object.assign({},options,{query,variables,fetchPolicy,errorPolicy,returnPartialData,notifyOnNetworkStatusChange,context}),fromVariables=function(variables2){normalized.variables=variables2;var sourcesWithInfo2=_this.fetchQueryByPolicy(queryInfo,normalized,networkStatus);return normalized.fetchPolicy!=="standby"&&sourcesWithInfo2.sources.length>0&&queryInfo.observableQuery&&queryInfo.observableQuery.applyNextFetchPolicy("after-fetch",options),sourcesWithInfo2},cleanupCancelFn=function(){return _this.fetchCancelFns.delete(queryId)};this.fetchCancelFns.set(queryId,function(reason){cleanupCancelFn(),setTimeout(function(){return concast.cancel(reason)})});var concast,containsDataFromLink;if(this.getDocumentInfo(normalized.query).hasClientExports)concast=new Concast(this.localState.addExportedVariables(normalized.query,normalized.variables,normalized.context).then(fromVariables).then(function(sourcesWithInfo2){return sourcesWithInfo2.sources})),containsDataFromLink=!0;else{var sourcesWithInfo=fromVariables(normalized.variables);containsDataFromLink=sourcesWithInfo.fromLink,concast=new Concast(sourcesWithInfo.sources)}return concast.promise.then(cleanupCancelFn,cleanupCancelFn),{concast,fromLink:containsDataFromLink}},QueryManager2.prototype.refetchQueries=function(_a2){var _this=this,updateCache=_a2.updateCache,include=_a2.include,_b=_a2.optimistic,optimistic=_b===void 0?!1:_b,_c=_a2.removeOptimistic,removeOptimistic=_c===void 0?optimistic?makeUniqueId("refetchQueries"):void 0:_c,onQueryUpdated=_a2.onQueryUpdated,includedQueriesById=new Map;include&&this.getObservableQueries(include).forEach(function(oq,queryId){includedQueriesById.set(queryId,{oq,lastDiff:_this.getQuery(queryId).getDiff()})});var results=new Map;return updateCache&&this.cache.batch({update:updateCache,optimistic:optimistic&&removeOptimistic||!1,removeOptimistic,onWatchUpdated:function(watch,diff,lastDiff){var oq=watch.watcher instanceof QueryInfo&&watch.watcher.observableQuery;if(oq){if(onQueryUpdated){includedQueriesById.delete(oq.queryId);var result=onQueryUpdated(oq,diff,lastDiff);return result===!0&&(result=oq.refetch()),result!==!1&&results.set(oq,result),result}onQueryUpdated!==null&&includedQueriesById.set(oq.queryId,{oq,lastDiff,diff})}}}),includedQueriesById.size&&includedQueriesById.forEach(function(_a3,queryId){var oq=_a3.oq,lastDiff=_a3.lastDiff,diff=_a3.diff,result;if(onQueryUpdated){if(!diff){var info=oq.queryInfo;info.reset(),diff=info.getDiff()}result=onQueryUpdated(oq,diff,lastDiff)}(!onQueryUpdated||result===!0)&&(result=oq.refetch()),result!==!1&&results.set(oq,result),queryId.indexOf("legacyOneTimeQuery")>=0&&_this.stopQueryNoBroadcast(queryId)}),removeOptimistic&&this.cache.removeOptimistic(removeOptimistic),results},QueryManager2.prototype.fetchQueryByPolicy=function(queryInfo,_a2,networkStatus){var _this=this,query=_a2.query,variables=_a2.variables,fetchPolicy=_a2.fetchPolicy,refetchWritePolicy=_a2.refetchWritePolicy,errorPolicy=_a2.errorPolicy,returnPartialData=_a2.returnPartialData,context=_a2.context,notifyOnNetworkStatusChange=_a2.notifyOnNetworkStatusChange,oldNetworkStatus=queryInfo.networkStatus;queryInfo.init({document:query,variables,networkStatus});var readCache=function(){return queryInfo.getDiff()},resultsFromCache=function(diff2,networkStatus2){networkStatus2===void 0&&(networkStatus2=queryInfo.networkStatus||NetworkStatus.loading);var data=diff2.result;globalThis.__DEV__!==!1&&!returnPartialData&&!equal(data,{})&&logMissingFieldErrors(diff2.missing);var fromData=function(data2){return Observable.of(tslib_es6_assign({data:data2,loading:isNetworkRequestInFlight(networkStatus2),networkStatus:networkStatus2},diff2.complete?null:{partial:!0}))};return data&&_this.getDocumentInfo(query).hasForcedResolvers?_this.localState.runResolvers({document:query,remoteResult:{data},context,variables,onlyRunForcedResolvers:!0}).then(function(resolved){return fromData(resolved.data||void 0)}):errorPolicy==="none"&&networkStatus2===NetworkStatus.refetch&&Array.isArray(diff2.missing)?fromData(void 0):fromData(data)},cacheWriteBehavior=fetchPolicy==="no-cache"?0:networkStatus===NetworkStatus.refetch&&refetchWritePolicy!=="merge"?1:2,resultsFromLink=function(){return _this.getResultsFromLink(queryInfo,cacheWriteBehavior,{query,variables,context,fetchPolicy,errorPolicy})},shouldNotify=notifyOnNetworkStatusChange&&typeof oldNetworkStatus=="number"&&oldNetworkStatus!==networkStatus&&isNetworkRequestInFlight(networkStatus);switch(fetchPolicy){default:case"cache-first":{var diff=readCache();return diff.complete?{fromLink:!1,sources:[resultsFromCache(diff,queryInfo.markReady())]}:returnPartialData||shouldNotify?{fromLink:!0,sources:[resultsFromCache(diff),resultsFromLink()]}:{fromLink:!0,sources:[resultsFromLink()]}}case"cache-and-network":{var diff=readCache();return diff.complete||returnPartialData||shouldNotify?{fromLink:!0,sources:[resultsFromCache(diff),resultsFromLink()]}:{fromLink:!0,sources:[resultsFromLink()]}}case"cache-only":return{fromLink:!1,sources:[resultsFromCache(readCache(),queryInfo.markReady())]};case"network-only":return shouldNotify?{fromLink:!0,sources:[resultsFromCache(readCache()),resultsFromLink()]}:{fromLink:!0,sources:[resultsFromLink()]};case"no-cache":return shouldNotify?{fromLink:!0,sources:[resultsFromCache(queryInfo.getDiff()),resultsFromLink()]}:{fromLink:!0,sources:[resultsFromLink()]};case"standby":return{fromLink:!1,sources:[]}}},QueryManager2.prototype.getQuery=function(queryId){return queryId&&!this.queries.has(queryId)&&this.queries.set(queryId,new QueryInfo(this,queryId)),this.queries.get(queryId)},QueryManager2.prototype.prepareContext=function(context){context===void 0&&(context={});var newContext=this.localState.prepareContext(context);return tslib_es6_assign(tslib_es6_assign(tslib_es6_assign({},this.defaultContext),newContext),{clientAwareness:this.clientAwareness})},QueryManager2}(),predicates=__webpack_require__(69050),cacheSlot=new Slot,cacheInfoMap=new WeakMap;function getCacheInfo(cache2){var info=cacheInfoMap.get(cache2);return info||cacheInfoMap.set(cache2,info={vars:new Set,dep:dep()}),info}function forgetCache(cache2){getCacheInfo(cache2).vars.forEach(function(rv){return rv.forgetCache(cache2)})}function recallCache(cache2){getCacheInfo(cache2).vars.forEach(function(rv){return rv.attachCache(cache2)})}function makeVar(value){var caches2=new Set,listeners=new Set,rv=function(newValue){if(arguments.length>0){if(value!==newValue){value=newValue,caches2.forEach(function(cache3){getCacheInfo(cache3).dep.dirty(rv),broadcast(cache3)});var oldListeners=Array.from(listeners);listeners.clear(),oldListeners.forEach(function(listener){return listener(value)})}}else{var cache2=cacheSlot.getValue();cache2&&(attach(cache2),getCacheInfo(cache2).dep(rv))}return value};rv.onNextChange=function(listener){return listeners.add(listener),function(){listeners.delete(listener)}};var attach=rv.attachCache=function(cache2){return caches2.add(cache2),getCacheInfo(cache2).vars.add(rv),rv};return rv.forgetCache=function(cache2){return caches2.delete(cache2)},rv}function broadcast(cache2){cache2.broadcastWatches&&cache2.broadcastWatches()}var LocalState=function(){function LocalState2(_a2){var cache2=_a2.cache,client=_a2.client,resolvers=_a2.resolvers,fragmentMatcher=_a2.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=cache2,client&&(this.client=client),resolvers&&this.addResolvers(resolvers),fragmentMatcher&&this.setFragmentMatcher(fragmentMatcher)}return LocalState2.prototype.addResolvers=function(resolvers){var _this=this;this.resolvers=this.resolvers||{},Array.isArray(resolvers)?resolvers.forEach(function(resolverGroup){_this.resolvers=mergeDeep(_this.resolvers,resolverGroup)}):this.resolvers=mergeDeep(this.resolvers,resolvers)},LocalState2.prototype.setResolvers=function(resolvers){this.resolvers={},this.addResolvers(resolvers)},LocalState2.prototype.getResolvers=function(){return this.resolvers||{}},LocalState2.prototype.runResolvers=function(_a2){return __awaiter(this,arguments,void 0,function(_b){var document2=_b.document,remoteResult=_b.remoteResult,context=_b.context,variables=_b.variables,_c=_b.onlyRunForcedResolvers,onlyRunForcedResolvers=_c===void 0?!1:_c;return __generator(this,function(_d){return document2?[2,this.resolveDocument(document2,remoteResult.data,context,variables,this.fragmentMatcher,onlyRunForcedResolvers).then(function(localResult){return tslib_es6_assign(tslib_es6_assign({},remoteResult),{data:localResult.result})})]:[2,remoteResult]})})},LocalState2.prototype.setFragmentMatcher=function(fragmentMatcher){this.fragmentMatcher=fragmentMatcher},LocalState2.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},LocalState2.prototype.clientQuery=function(document2){return hasDirectives(["client"],document2)&&this.resolvers?document2:null},LocalState2.prototype.serverQuery=function(document2){return removeClientSetsFromDocument(document2)},LocalState2.prototype.prepareContext=function(context){var cache2=this.cache;return tslib_es6_assign(tslib_es6_assign({},context),{cache:cache2,getCacheKey:function(obj){return cache2.identify(obj)}})},LocalState2.prototype.addExportedVariables=function(document_1){return __awaiter(this,arguments,void 0,function(document2,variables,context){return variables===void 0&&(variables={}),context===void 0&&(context={}),__generator(this,function(_a2){return document2?[2,this.resolveDocument(document2,this.buildRootValueFromCache(document2,variables)||{},this.prepareContext(context),variables).then(function(data){return tslib_es6_assign(tslib_es6_assign({},variables),data.exportedVariables)})]:[2,tslib_es6_assign({},variables)]})})},LocalState2.prototype.shouldForceResolvers=function(document2){var forceResolvers=!1;return(0,visitor.Vn)(document2,{Directive:{enter:function(node){if(node.name.value==="client"&&node.arguments&&(forceResolvers=node.arguments.some(function(arg){return arg.name.value==="always"&&arg.value.kind==="BooleanValue"&&arg.value.value===!0}),forceResolvers))return visitor.$_}}}),forceResolvers},LocalState2.prototype.buildRootValueFromCache=function(document2,variables){return this.cache.diff({query:buildQueryFromSelectionSet(document2),variables,returnPartialData:!0,optimistic:!1}).result},LocalState2.prototype.resolveDocument=function(document_1,rootValue_1){return __awaiter(this,arguments,void 0,function(document2,rootValue,context,variables,fragmentMatcher,onlyRunForcedResolvers){var mainDefinition,fragments,fragmentMap,selectionsToResolve,definitionOperation,defaultOperationType,_a2,cache2,client,execContext,isClientFieldDescendant;return context===void 0&&(context={}),variables===void 0&&(variables={}),fragmentMatcher===void 0&&(fragmentMatcher=function(){return!0}),onlyRunForcedResolvers===void 0&&(onlyRunForcedResolvers=!1),__generator(this,function(_b){return mainDefinition=getMainDefinition(document2),fragments=getFragmentDefinitions(document2),fragmentMap=createFragmentMap(fragments),selectionsToResolve=this.collectSelectionsToResolve(mainDefinition,fragmentMap),definitionOperation=mainDefinition.operation,defaultOperationType=definitionOperation?definitionOperation.charAt(0).toUpperCase()+definitionOperation.slice(1):"Query",_a2=this,cache2=_a2.cache,client=_a2.client,execContext={fragmentMap,context:tslib_es6_assign(tslib_es6_assign({},context),{cache:cache2,client}),variables,fragmentMatcher,defaultOperationType,exportedVariables:{},selectionsToResolve,onlyRunForcedResolvers},isClientFieldDescendant=!1,[2,this.resolveSelectionSet(mainDefinition.selectionSet,isClientFieldDescendant,rootValue,execContext).then(function(result){return{result,exportedVariables:execContext.exportedVariables}})]})})},LocalState2.prototype.resolveSelectionSet=function(selectionSet,isClientFieldDescendant,rootValue,execContext){return __awaiter(this,void 0,void 0,function(){var fragmentMap,context,variables,resultsToMerge,execute2,_this=this;return __generator(this,function(_a2){return fragmentMap=execContext.fragmentMap,context=execContext.context,variables=execContext.variables,resultsToMerge=[rootValue],execute2=function(selection){return __awaiter(_this,void 0,void 0,function(){var fragment,typeCondition;return __generator(this,function(_a3){return!isClientFieldDescendant&&!execContext.selectionsToResolve.has(selection)?[2]:shouldInclude(selection,variables)?storeUtils_isField(selection)?[2,this.resolveField(selection,isClientFieldDescendant,rootValue,execContext).then(function(fieldResult){var _a4;typeof fieldResult<"u"&&resultsToMerge.push((_a4={},_a4[resultKeyNameFromField(selection)]=fieldResult,_a4))})]:(isInlineFragment(selection)?fragment=selection:(fragment=fragmentMap[selection.name.value],invariantWrappers_invariant(fragment,18,selection.name.value)),fragment&&fragment.typeCondition&&(typeCondition=fragment.typeCondition.name.value,execContext.fragmentMatcher(rootValue,typeCondition,context))?[2,this.resolveSelectionSet(fragment.selectionSet,isClientFieldDescendant,rootValue,execContext).then(function(fragmentResult){resultsToMerge.push(fragmentResult)})]:[2]):[2]})})},[2,Promise.all(selectionSet.selections.map(execute2)).then(function(){return mergeDeepArray(resultsToMerge)})]})})},LocalState2.prototype.resolveField=function(field,isClientFieldDescendant,rootValue,execContext){return __awaiter(this,void 0,void 0,function(){var variables,fieldName,aliasedFieldName,aliasUsed,defaultResult,resultPromise,resolverType,resolverMap,resolve,_this=this;return __generator(this,function(_a2){return rootValue?(variables=execContext.variables,fieldName=field.name.value,aliasedFieldName=resultKeyNameFromField(field),aliasUsed=fieldName!==aliasedFieldName,defaultResult=rootValue[aliasedFieldName]||rootValue[fieldName],resultPromise=Promise.resolve(defaultResult),(!execContext.onlyRunForcedResolvers||this.shouldForceResolvers(field))&&(resolverType=rootValue.__typename||execContext.defaultOperationType,resolverMap=this.resolvers&&this.resolvers[resolverType],resolverMap&&(resolve=resolverMap[aliasUsed?fieldName:aliasedFieldName],resolve&&(resultPromise=Promise.resolve(cacheSlot.withValue(this.cache,resolve,[rootValue,argumentsObjectFromField(field,variables),execContext.context,{field,fragmentMap:execContext.fragmentMap}]))))),[2,resultPromise.then(function(result){var _a3,_b;if(result===void 0&&(result=defaultResult),field.directives&&field.directives.forEach(function(directive){directive.name.value==="export"&&directive.arguments&&directive.arguments.forEach(function(arg){arg.name.value==="as"&&arg.value.kind==="StringValue"&&(execContext.exportedVariables[arg.value.value]=result)})}),!field.selectionSet||result==null)return result;var isClientField=(_b=(_a3=field.directives)===null||_a3===void 0?void 0:_a3.some(function(d){return d.name.value==="client"}))!==null&&_b!==void 0?_b:!1;if(Array.isArray(result))return _this.resolveSubSelectedArray(field,isClientFieldDescendant||isClientField,result,execContext);if(field.selectionSet)return _this.resolveSelectionSet(field.selectionSet,isClientFieldDescendant||isClientField,result,execContext)})]):[2,null]})})},LocalState2.prototype.resolveSubSelectedArray=function(field,isClientFieldDescendant,result,execContext){var _this=this;return Promise.all(result.map(function(item){if(item===null)return null;if(Array.isArray(item))return _this.resolveSubSelectedArray(field,isClientFieldDescendant,item,execContext);if(field.selectionSet)return _this.resolveSelectionSet(field.selectionSet,isClientFieldDescendant,item,execContext)}))},LocalState2.prototype.collectSelectionsToResolve=function(mainDefinition,fragmentMap){var isSingleASTNode=function(node){return!Array.isArray(node)},selectionsToResolveCache=this.selectionsToResolveCache;function collectByDefinition(definitionNode){if(!selectionsToResolveCache.has(definitionNode)){var matches_1=new Set;selectionsToResolveCache.set(definitionNode,matches_1),(0,visitor.Vn)(definitionNode,{Directive:function(node,_,__,___,ancestors){node.name.value==="client"&&ancestors.forEach(function(node2){isSingleASTNode(node2)&&(0,predicates.pO)(node2)&&matches_1.add(node2)})},FragmentSpread:function(spread,_,__,___,ancestors){var fragment=fragmentMap[spread.name.value];invariantWrappers_invariant(fragment,19,spread.name.value);var fragmentSelections=collectByDefinition(fragment);fragmentSelections.size>0&&(ancestors.forEach(function(node){isSingleASTNode(node)&&(0,predicates.pO)(node)&&matches_1.add(node)}),matches_1.add(spread),fragmentSelections.forEach(function(selection){matches_1.add(selection)}))}})}return selectionsToResolveCache.get(definitionNode)}return collectByDefinition(mainDefinition)},LocalState2}();function mergeOptions(defaults,options){return compact(defaults,options,options.variables&&{variables:compact(tslib_es6_assign(tslib_es6_assign({},defaults&&defaults.variables),options.variables))})}var hasSuggestedDevtools=!1,ApolloClient=function(){function ApolloClient2(options){var _this=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!options.cache)throw newInvariantError(15);var uri=options.uri,credentials=options.credentials,headers=options.headers,cache2=options.cache,documentTransform=options.documentTransform,_a2=options.ssrMode,ssrMode=_a2===void 0?!1:_a2,_b=options.ssrForceFetchDelay,ssrForceFetchDelay=_b===void 0?0:_b,connectToDevTools=options.connectToDevTools,_c=options.queryDeduplication,queryDeduplication=_c===void 0?!0:_c,defaultOptions2=options.defaultOptions,defaultContext=options.defaultContext,_d=options.assumeImmutableResults,assumeImmutableResults=_d===void 0?cache2.assumeImmutableResults:_d,resolvers=options.resolvers,typeDefs=options.typeDefs,fragmentMatcher=options.fragmentMatcher,clientAwarenessName=options.name,clientAwarenessVersion=options.version,devtools=options.devtools,link=options.link;link||(link=uri?new HttpLink({uri,credentials,headers}):ApolloLink.empty()),this.link=link,this.cache=cache2,this.disableNetworkFetches=ssrMode||ssrForceFetchDelay>0,this.queryDeduplication=queryDeduplication,this.defaultOptions=defaultOptions2||Object.create(null),this.typeDefs=typeDefs,this.devtoolsConfig=tslib_es6_assign(tslib_es6_assign({},devtools),{enabled:devtools?.enabled||connectToDevTools}),this.devtoolsConfig.enabled===void 0&&(this.devtoolsConfig.enabled=globalThis.__DEV__!==!1),ssrForceFetchDelay&&setTimeout(function(){return _this.disableNetworkFetches=!1},ssrForceFetchDelay),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=version,this.localState=new LocalState({cache:cache2,client:this,resolvers,fragmentMatcher}),this.queryManager=new QueryManager({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext,documentTransform,queryDeduplication,ssrMode,clientAwareness:{name:clientAwarenessName,version:clientAwarenessVersion},localState:this.localState,assumeImmutableResults,onBroadcast:this.devtoolsConfig.enabled?function(){_this.devToolsHookCb&&_this.devToolsHookCb({action:{},state:{queries:_this.queryManager.getQueryStore(),mutations:_this.queryManager.mutationStore||{}},dataWithOptimisticResults:_this.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return ApolloClient2.prototype.connectToDevTools=function(){if(!(typeof window>"u")){var windowWithDevTools=window,devtoolsSymbol=Symbol.for("apollo.devtools");(windowWithDevTools[devtoolsSymbol]=windowWithDevTools[devtoolsSymbol]||[]).push(this),windowWithDevTools.__APOLLO_CLIENT__=this,!hasSuggestedDevtools&&globalThis.__DEV__!==!1&&(hasSuggestedDevtools=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var nav=window.navigator,ua=nav&&nav.userAgent,url=void 0;typeof ua=="string"&&(ua.indexOf("Chrome/")>-1?url="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":ua.indexOf("Firefox/")>-1&&(url="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),url&&globalThis.__DEV__!==!1&&invariantWrappers_invariant.log("Download the Apollo DevTools for a better development experience: %s",url)}},1e4))}},Object.defineProperty(ApolloClient2.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),ApolloClient2.prototype.stop=function(){this.queryManager.stop()},ApolloClient2.prototype.watchQuery=function(options){return this.defaultOptions.watchQuery&&(options=mergeOptions(this.defaultOptions.watchQuery,options)),this.disableNetworkFetches&&(options.fetchPolicy==="network-only"||options.fetchPolicy==="cache-and-network")&&(options=tslib_es6_assign(tslib_es6_assign({},options),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(options)},ApolloClient2.prototype.query=function(options){return this.defaultOptions.query&&(options=mergeOptions(this.defaultOptions.query,options)),invariantWrappers_invariant(options.fetchPolicy!=="cache-and-network",16),this.disableNetworkFetches&&options.fetchPolicy==="network-only"&&(options=tslib_es6_assign(tslib_es6_assign({},options),{fetchPolicy:"cache-first"})),this.queryManager.query(options)},ApolloClient2.prototype.mutate=function(options){return this.defaultOptions.mutate&&(options=mergeOptions(this.defaultOptions.mutate,options)),this.queryManager.mutate(options)},ApolloClient2.prototype.subscribe=function(options){return this.queryManager.startGraphQLSubscription(options)},ApolloClient2.prototype.readQuery=function(options,optimistic){return optimistic===void 0&&(optimistic=!1),this.cache.readQuery(options,optimistic)},ApolloClient2.prototype.watchFragment=function(options){return this.cache.watchFragment(options)},ApolloClient2.prototype.readFragment=function(options,optimistic){return optimistic===void 0&&(optimistic=!1),this.cache.readFragment(options,optimistic)},ApolloClient2.prototype.writeQuery=function(options){var ref=this.cache.writeQuery(options);return options.broadcast!==!1&&this.queryManager.broadcastQueries(),ref},ApolloClient2.prototype.writeFragment=function(options){var ref=this.cache.writeFragment(options);return options.broadcast!==!1&&this.queryManager.broadcastQueries(),ref},ApolloClient2.prototype.__actionHookForDevTools=function(cb){this.devToolsHookCb=cb},ApolloClient2.prototype.__requestRaw=function(payload){return execute(this.link,payload)},ApolloClient2.prototype.resetStore=function(){var _this=this;return Promise.resolve().then(function(){return _this.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(_this.resetStoreCallbacks.map(function(fn){return fn()}))}).then(function(){return _this.reFetchObservableQueries()})},ApolloClient2.prototype.clearStore=function(){var _this=this;return Promise.resolve().then(function(){return _this.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(_this.clearStoreCallbacks.map(function(fn){return fn()}))})},ApolloClient2.prototype.onResetStore=function(cb){var _this=this;return this.resetStoreCallbacks.push(cb),function(){_this.resetStoreCallbacks=_this.resetStoreCallbacks.filter(function(c){return c!==cb})}},ApolloClient2.prototype.onClearStore=function(cb){var _this=this;return this.clearStoreCallbacks.push(cb),function(){_this.clearStoreCallbacks=_this.clearStoreCallbacks.filter(function(c){return c!==cb})}},ApolloClient2.prototype.reFetchObservableQueries=function(includeStandby){return this.queryManager.reFetchObservableQueries(includeStandby)},ApolloClient2.prototype.refetchQueries=function(options){var map=this.queryManager.refetchQueries(options),queries=[],results=[];map.forEach(function(result2,obsQuery){queries.push(obsQuery),results.push(result2)});var result=Promise.all(results);return result.queries=queries,result.results=results,result.catch(function(error){globalThis.__DEV__!==!1&&invariantWrappers_invariant.debug(17,error)}),result},ApolloClient2.prototype.getObservableQueries=function(include){return include===void 0&&(include="active"),this.queryManager.getObservableQueries(include)},ApolloClient2.prototype.extract=function(optimistic){return this.cache.extract(optimistic)},ApolloClient2.prototype.restore=function(serializedState){return this.cache.restore(serializedState)},ApolloClient2.prototype.addResolvers=function(resolvers){this.localState.addResolvers(resolvers)},ApolloClient2.prototype.setResolvers=function(resolvers){this.localState.setResolvers(resolvers)},ApolloClient2.prototype.getResolvers=function(){return this.localState.getResolvers()},ApolloClient2.prototype.setLocalStateFragmentMatcher=function(fragmentMatcher){this.localState.setFragmentMatcher(fragmentMatcher)},ApolloClient2.prototype.setLink=function(newLink){this.link=this.queryManager.link=newLink},Object.defineProperty(ApolloClient2.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext},enumerable:!1,configurable:!0}),ApolloClient2}();globalThis.__DEV__!==!1&&(ApolloClient.prototype.getMemoryInternals=getApolloClientMemoryInternals);var Cache;(function(Cache2){})(Cache||(Cache={}));var ApolloCache=function(){function ApolloCache2(){this.assumeImmutableResults=!1,this.getFragmentDoc=lib_wrap(getFragmentQueryDocument,{max:cacheSizes["cache.fragmentQueryDocuments"]||1e3,cache:WeakCache})}return ApolloCache2.prototype.batch=function(options){var _this=this,optimisticId=typeof options.optimistic=="string"?options.optimistic:options.optimistic===!1?null:void 0,updateResult;return this.performTransaction(function(){return updateResult=options.update(_this)},optimisticId),updateResult},ApolloCache2.prototype.recordOptimisticTransaction=function(transaction,optimisticId){this.performTransaction(transaction,optimisticId)},ApolloCache2.prototype.transformDocument=function(document2){return document2},ApolloCache2.prototype.transformForLink=function(document2){return document2},ApolloCache2.prototype.identify=function(object){},ApolloCache2.prototype.gc=function(){return[]},ApolloCache2.prototype.modify=function(options){return!1},ApolloCache2.prototype.readQuery=function(options,optimistic){return optimistic===void 0&&(optimistic=!!options.optimistic),this.read(tslib_es6_assign(tslib_es6_assign({},options),{rootId:options.id||"ROOT_QUERY",optimistic}))},ApolloCache2.prototype.watchFragment=function(options){var _this=this,fragment=options.fragment,fragmentName=options.fragmentName,from2=options.from,_a2=options.optimistic,optimistic=_a2===void 0?!0:_a2,otherOptions=__rest(options,["fragment","fragmentName","from","optimistic"]),query=this.getFragmentDoc(fragment,fragmentName),diffOptions=tslib_es6_assign(tslib_es6_assign({},otherOptions),{returnPartialData:!0,id:typeof from2>"u"||typeof from2=="string"?from2:this.identify(from2),query,optimistic}),latestDiff;return new Observable(function(observer){return _this.watch(tslib_es6_assign(tslib_es6_assign({},diffOptions),{immediate:!0,callback:function(diff){if(!(latestDiff&&equalByQuery(query,{data:latestDiff?.result},{data:diff.result}))){var result={data:diff.result,complete:!!diff.complete};diff.missing&&(result.missing=mergeDeepArray(diff.missing.map(function(error){return error.missing}))),latestDiff=diff,observer.next(result)}}}))})},ApolloCache2.prototype.readFragment=function(options,optimistic){return optimistic===void 0&&(optimistic=!!options.optimistic),this.read(tslib_es6_assign(tslib_es6_assign({},options),{query:this.getFragmentDoc(options.fragment,options.fragmentName),rootId:options.id,optimistic}))},ApolloCache2.prototype.writeQuery=function(_a2){var id=_a2.id,data=_a2.data,options=__rest(_a2,["id","data"]);return this.write(Object.assign(options,{dataId:id||"ROOT_QUERY",result:data}))},ApolloCache2.prototype.writeFragment=function(_a2){var id=_a2.id,data=_a2.data,fragment=_a2.fragment,fragmentName=_a2.fragmentName,options=__rest(_a2,["id","data","fragment","fragmentName"]);return this.write(Object.assign(options,{query:this.getFragmentDoc(fragment,fragmentName),dataId:id,result:data}))},ApolloCache2.prototype.updateQuery=function(options,update){return this.batch({update:function(cache2){var value=cache2.readQuery(options),data=update(value);return data==null?value:(cache2.writeQuery(tslib_es6_assign(tslib_es6_assign({},options),{data})),data)}})},ApolloCache2.prototype.updateFragment=function(options,update){return this.batch({update:function(cache2){var value=cache2.readFragment(options),data=update(value);return data==null?value:(cache2.writeFragment(tslib_es6_assign(tslib_es6_assign({},options),{data})),data)}})},ApolloCache2}();globalThis.__DEV__!==!1&&(ApolloCache.prototype.getMemoryInternals=getApolloCacheMemoryInternals);var MissingFieldError=function(_super){__extends(MissingFieldError2,_super);function MissingFieldError2(message,path,query,variables){var _a2,_this=_super.call(this,message)||this;if(_this.message=message,_this.path=path,_this.query=query,_this.variables=variables,Array.isArray(_this.path)){_this.missing=_this.message;for(var i=_this.path.length-1;i>=0;--i)_this.missing=(_a2={},_a2[_this.path[i]]=_this.missing,_a2)}else _this.missing=_this.path;return _this.__proto__=MissingFieldError2.prototype,_this}return MissingFieldError2}(Error);function deepFreeze(value){var workSet=new Set([value]);return workSet.forEach(function(obj){isNonNullObject(obj)&&shallowFreeze(obj)===obj&&Object.getOwnPropertyNames(obj).forEach(function(name){isNonNullObject(obj[name])&&workSet.add(obj[name])})}),value}function shallowFreeze(obj){if(globalThis.__DEV__!==!1&&!Object.isFrozen(obj))try{Object.freeze(obj)}catch(e){if(e instanceof TypeError)return null;throw e}return obj}function maybeDeepFreeze(obj){return globalThis.__DEV__!==!1&&deepFreeze(obj),obj}var hasOwn=Object.prototype.hasOwnProperty;function isNullish(value){return value==null}function defaultDataIdFromObject(_a2,context){var __typename=_a2.__typename,id=_a2.id,_id=_a2._id;if(typeof __typename=="string"&&(context&&(context.keyObject=isNullish(id)?isNullish(_id)?void 0:{_id}:{id}),isNullish(id)&&!isNullish(_id)&&(id=_id),!isNullish(id)))return"".concat(__typename,":").concat(typeof id=="number"||typeof id=="string"?id:JSON.stringify(id))}var defaultConfig={dataIdFromObject:defaultDataIdFromObject,addTypename:!0,resultCaching:!0,canonizeResults:!1};function normalizeConfig(config){return compact(defaultConfig,config)}function shouldCanonizeResults(config){var value=config.canonizeResults;return value===void 0?defaultConfig.canonizeResults:value}function getTypenameFromStoreObject(store,objectOrReference){return isReference(objectOrReference)?store.get(objectOrReference.__ref,"__typename"):objectOrReference&&objectOrReference.__typename}var TypeOrFieldNameRegExp=/^[_a-z][_0-9a-z]*/i;function fieldNameFromStoreName(storeFieldName){var match=storeFieldName.match(TypeOrFieldNameRegExp);return match?match[0]:storeFieldName}function selectionSetMatchesResult(selectionSet,result,variables){return isNonNullObject(result)?isArray(result)?result.every(function(item){return selectionSetMatchesResult(selectionSet,item,variables)}):selectionSet.selections.every(function(field){if(storeUtils_isField(field)&&shouldInclude(field,variables)){var key=resultKeyNameFromField(field);return hasOwn.call(result,key)&&(!field.selectionSet||selectionSetMatchesResult(field.selectionSet,result[key],variables))}return!0}):!1}function storeValueIsStoreObject(value){return isNonNullObject(value)&&!isReference(value)&&!isArray(value)}function makeProcessedFieldsMerger(){return new DeepMerger}function extractFragmentContext(document2,fragments){var fragmentMap=createFragmentMap(getFragmentDefinitions(document2));return{fragmentMap,lookupFragment:function(name){var def=fragmentMap[name];return!def&&fragments&&(def=fragments.lookup(name)),def||null}}}var DELETE=Object.create(null),delModifier=function(){return DELETE},INVALIDATE=Object.create(null),EntityStore=function(){function EntityStore2(policies,group){var _this=this;this.policies=policies,this.group=group,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(objectOrReference,storeFieldName){return maybeDeepFreeze(isReference(objectOrReference)?_this.get(objectOrReference.__ref,storeFieldName):objectOrReference&&objectOrReference[storeFieldName])},this.canRead=function(objOrRef){return isReference(objOrRef)?_this.has(objOrRef.__ref):typeof objOrRef=="object"},this.toReference=function(objOrIdOrRef,mergeIntoStore){if(typeof objOrIdOrRef=="string")return makeReference(objOrIdOrRef);if(isReference(objOrIdOrRef))return objOrIdOrRef;var id=_this.policies.identify(objOrIdOrRef)[0];if(id){var ref=makeReference(id);return mergeIntoStore&&_this.merge(id,objOrIdOrRef),ref}}}return EntityStore2.prototype.toObject=function(){return tslib_es6_assign({},this.data)},EntityStore2.prototype.has=function(dataId){return this.lookup(dataId,!0)!==void 0},EntityStore2.prototype.get=function(dataId,fieldName){if(this.group.depend(dataId,fieldName),hasOwn.call(this.data,dataId)){var storeObject=this.data[dataId];if(storeObject&&hasOwn.call(storeObject,fieldName))return storeObject[fieldName]}if(fieldName==="__typename"&&hasOwn.call(this.policies.rootTypenamesById,dataId))return this.policies.rootTypenamesById[dataId];if(this instanceof Layer)return this.parent.get(dataId,fieldName)},EntityStore2.prototype.lookup=function(dataId,dependOnExistence){if(dependOnExistence&&this.group.depend(dataId,"__exists"),hasOwn.call(this.data,dataId))return this.data[dataId];if(this instanceof Layer)return this.parent.lookup(dataId,dependOnExistence);if(this.policies.rootTypenamesById[dataId])return Object.create(null)},EntityStore2.prototype.merge=function(older,newer){var _this=this,dataId;isReference(older)&&(older=older.__ref),isReference(newer)&&(newer=newer.__ref);var existing=typeof older=="string"?this.lookup(dataId=older):older,incoming=typeof newer=="string"?this.lookup(dataId=newer):newer;if(!!incoming){invariantWrappers_invariant(typeof dataId=="string",1);var merged=new DeepMerger(storeObjectReconciler).merge(existing,incoming);if(this.data[dataId]=merged,merged!==existing&&(delete this.refs[dataId],this.group.caching)){var fieldsToDirty_1=Object.create(null);existing||(fieldsToDirty_1.__exists=1),Object.keys(incoming).forEach(function(storeFieldName){if(!existing||existing[storeFieldName]!==merged[storeFieldName]){fieldsToDirty_1[storeFieldName]=1;var fieldName=fieldNameFromStoreName(storeFieldName);fieldName!==storeFieldName&&!_this.policies.hasKeyArgs(merged.__typename,fieldName)&&(fieldsToDirty_1[fieldName]=1),merged[storeFieldName]===void 0&&!(_this instanceof Layer)&&delete merged[storeFieldName]}}),fieldsToDirty_1.__typename&&!(existing&&existing.__typename)&&this.policies.rootTypenamesById[dataId]===merged.__typename&&delete fieldsToDirty_1.__typename,Object.keys(fieldsToDirty_1).forEach(function(fieldName){return _this.group.dirty(dataId,fieldName)})}}},EntityStore2.prototype.modify=function(dataId,fields){var _this=this,storeObject=this.lookup(dataId);if(storeObject){var changedFields_1=Object.create(null),needToMerge_1=!1,allDeleted_1=!0,sharedDetails_1={DELETE,INVALIDATE,isReference,toReference:this.toReference,canRead:this.canRead,readField:function(fieldNameOrOptions,from2){return _this.policies.readField(typeof fieldNameOrOptions=="string"?{fieldName:fieldNameOrOptions,from:from2||makeReference(dataId)}:fieldNameOrOptions,{store:_this})}};if(Object.keys(storeObject).forEach(function(storeFieldName){var fieldName=fieldNameFromStoreName(storeFieldName),fieldValue=storeObject[storeFieldName];if(fieldValue!==void 0){var modify=typeof fields=="function"?fields:fields[storeFieldName]||fields[fieldName];if(modify){var newValue=modify===delModifier?DELETE:modify(maybeDeepFreeze(fieldValue),tslib_es6_assign(tslib_es6_assign({},sharedDetails_1),{fieldName,storeFieldName,storage:_this.getStorage(dataId,storeFieldName)}));if(newValue===INVALIDATE)_this.group.dirty(dataId,storeFieldName);else if(newValue===DELETE&&(newValue=void 0),newValue!==fieldValue&&(changedFields_1[storeFieldName]=newValue,needToMerge_1=!0,fieldValue=newValue,globalThis.__DEV__!==!1)){var checkReference=function(ref){if(_this.lookup(ref.__ref)===void 0)return globalThis.__DEV__!==!1&&invariantWrappers_invariant.warn(2,ref),!0};if(isReference(newValue))checkReference(newValue);else if(Array.isArray(newValue))for(var seenReference=!1,someNonReference=void 0,_i=0,newValue_1=newValue;_i<newValue_1.length;_i++){var value=newValue_1[_i];if(isReference(value)){if(seenReference=!0,checkReference(value))break}else if(typeof value=="object"&&!!value){var id=_this.policies.identify(value)[0];id&&(someNonReference=value)}if(seenReference&&someNonReference!==void 0){globalThis.__DEV__!==!1&&invariantWrappers_invariant.warn(3,someNonReference);break}}}}fieldValue!==void 0&&(allDeleted_1=!1)}}),needToMerge_1)return this.merge(dataId,changedFields_1),allDeleted_1&&(this instanceof Layer?this.data[dataId]=void 0:delete this.data[dataId],this.group.dirty(dataId,"__exists")),!0}return!1},EntityStore2.prototype.delete=function(dataId,fieldName,args){var _a2,storeObject=this.lookup(dataId);if(storeObject){var typename=this.getFieldValue(storeObject,"__typename"),storeFieldName=fieldName&&args?this.policies.getStoreFieldName({typename,fieldName,args}):fieldName;return this.modify(dataId,storeFieldName?(_a2={},_a2[storeFieldName]=delModifier,_a2):delModifier)}return!1},EntityStore2.prototype.evict=function(options,limit){var evicted=!1;return options.id&&(hasOwn.call(this.data,options.id)&&(evicted=this.delete(options.id,options.fieldName,options.args)),this instanceof Layer&&this!==limit&&(evicted=this.parent.evict(options,limit)||evicted),(options.fieldName||evicted)&&this.group.dirty(options.id,options.fieldName||"__exists")),evicted},EntityStore2.prototype.clear=function(){this.replace(null)},EntityStore2.prototype.extract=function(){var _this=this,obj=this.toObject(),extraRootIds=[];return this.getRootIdSet().forEach(function(id){hasOwn.call(_this.policies.rootTypenamesById,id)||extraRootIds.push(id)}),extraRootIds.length&&(obj.__META={extraRootIds:extraRootIds.sort()}),obj},EntityStore2.prototype.replace=function(newData){var _this=this;if(Object.keys(this.data).forEach(function(dataId){newData&&hasOwn.call(newData,dataId)||_this.delete(dataId)}),newData){var __META=newData.__META,rest_1=__rest(newData,["__META"]);Object.keys(rest_1).forEach(function(dataId){_this.merge(dataId,rest_1[dataId])}),__META&&__META.extraRootIds.forEach(this.retain,this)}},EntityStore2.prototype.retain=function(rootId){return this.rootIds[rootId]=(this.rootIds[rootId]||0)+1},EntityStore2.prototype.release=function(rootId){if(this.rootIds[rootId]>0){var count=--this.rootIds[rootId];return count||delete this.rootIds[rootId],count}return 0},EntityStore2.prototype.getRootIdSet=function(ids){return ids===void 0&&(ids=new Set),Object.keys(this.rootIds).forEach(ids.add,ids),this instanceof Layer?this.parent.getRootIdSet(ids):Object.keys(this.policies.rootTypenamesById).forEach(ids.add,ids),ids},EntityStore2.prototype.gc=function(){var _this=this,ids=this.getRootIdSet(),snapshot=this.toObject();ids.forEach(function(id){hasOwn.call(snapshot,id)&&(Object.keys(_this.findChildRefIds(id)).forEach(ids.add,ids),delete snapshot[id])});var idsToRemove=Object.keys(snapshot);if(idsToRemove.length){for(var root_1=this;root_1 instanceof Layer;)root_1=root_1.parent;idsToRemove.forEach(function(id){return root_1.delete(id)})}return idsToRemove},EntityStore2.prototype.findChildRefIds=function(dataId){if(!hasOwn.call(this.refs,dataId)){var found_1=this.refs[dataId]=Object.create(null),root=this.data[dataId];if(!root)return found_1;var workSet_1=new Set([root]);workSet_1.forEach(function(obj){isReference(obj)&&(found_1[obj.__ref]=!0),isNonNullObject(obj)&&Object.keys(obj).forEach(function(key){var child=obj[key];isNonNullObject(child)&&workSet_1.add(child)})})}return this.refs[dataId]},EntityStore2.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},EntityStore2}(),CacheGroup=function(){function CacheGroup2(caching,parent){parent===void 0&&(parent=null),this.caching=caching,this.parent=parent,this.d=null,this.resetCaching()}return CacheGroup2.prototype.resetCaching=function(){this.d=this.caching?dep():null,this.keyMaker=new Trie(canUseWeakMap)},CacheGroup2.prototype.depend=function(dataId,storeFieldName){if(this.d){this.d(makeDepKey(dataId,storeFieldName));var fieldName=fieldNameFromStoreName(storeFieldName);fieldName!==storeFieldName&&this.d(makeDepKey(dataId,fieldName)),this.parent&&this.parent.depend(dataId,storeFieldName)}},CacheGroup2.prototype.dirty=function(dataId,storeFieldName){this.d&&this.d.dirty(makeDepKey(dataId,storeFieldName),storeFieldName==="__exists"?"forget":"setDirty")},CacheGroup2}();function makeDepKey(dataId,storeFieldName){return storeFieldName+"#"+dataId}function maybeDependOnExistenceOfEntity(store,entityId){supportsResultCaching(store)&&store.group.depend(entityId,"__exists")}(function(EntityStore2){var Root=function(_super){__extends(Root2,_super);function Root2(_a2){var policies=_a2.policies,_b=_a2.resultCaching,resultCaching=_b===void 0?!0:_b,seed=_a2.seed,_this=_super.call(this,policies,new CacheGroup(resultCaching))||this;return _this.stump=new Stump(_this),_this.storageTrie=new Trie(canUseWeakMap),seed&&_this.replace(seed),_this}return Root2.prototype.addLayer=function(layerId,replay){return this.stump.addLayer(layerId,replay)},Root2.prototype.removeLayer=function(){return this},Root2.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},Root2}(EntityStore2);EntityStore2.Root=Root})(EntityStore||(EntityStore={}));var Layer=function(_super){__extends(Layer2,_super);function Layer2(id,parent,replay,group){var _this=_super.call(this,parent.policies,group)||this;return _this.id=id,_this.parent=parent,_this.replay=replay,_this.group=group,replay(_this),_this}return Layer2.prototype.addLayer=function(layerId,replay){return new Layer2(layerId,this,replay,this.group)},Layer2.prototype.removeLayer=function(layerId){var _this=this,parent=this.parent.removeLayer(layerId);return layerId===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(dataId){var ownStoreObject=_this.data[dataId],parentStoreObject=parent.lookup(dataId);parentStoreObject?ownStoreObject?ownStoreObject!==parentStoreObject&&Object.keys(ownStoreObject).forEach(function(storeFieldName){equal(ownStoreObject[storeFieldName],parentStoreObject[storeFieldName])||_this.group.dirty(dataId,storeFieldName)}):(_this.group.dirty(dataId,"__exists"),Object.keys(parentStoreObject).forEach(function(storeFieldName){_this.group.dirty(dataId,storeFieldName)})):_this.delete(dataId)}),parent):parent===this.parent?this:parent.addLayer(this.id,this.replay)},Layer2.prototype.toObject=function(){return tslib_es6_assign(tslib_es6_assign({},this.parent.toObject()),this.data)},Layer2.prototype.findChildRefIds=function(dataId){var fromParent=this.parent.findChildRefIds(dataId);return hasOwn.call(this.data,dataId)?tslib_es6_assign(tslib_es6_assign({},fromParent),_super.prototype.findChildRefIds.call(this,dataId)):fromParent},Layer2.prototype.getStorage=function(){for(var p=this.parent;p.parent;)p=p.parent;return p.getStorage.apply(p,arguments)},Layer2}(EntityStore),Stump=function(_super){__extends(Stump2,_super);function Stump2(root){return _super.call(this,"EntityStore.Stump",root,function(){},new CacheGroup(root.group.caching,root.group))||this}return Stump2.prototype.removeLayer=function(){return this},Stump2.prototype.merge=function(older,newer){return this.parent.merge(older,newer)},Stump2}(Layer);function storeObjectReconciler(existingObject,incomingObject,property){var existingValue=existingObject[property],incomingValue=incomingObject[property];return equal(existingValue,incomingValue)?existingValue:incomingValue}function supportsResultCaching(store){return!!(store instanceof EntityStore&&store.group.caching)}function shallowCopy(value){return isNonNullObject(value)?isArray(value)?value.slice(0):tslib_es6_assign({__proto__:Object.getPrototypeOf(value)},value):value}var ObjectCanon=function(){function ObjectCanon2(){this.known=new(canUseWeakSet?WeakSet:Set),this.pool=new Trie(canUseWeakMap),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return ObjectCanon2.prototype.isKnown=function(value){return isNonNullObject(value)&&this.known.has(value)},ObjectCanon2.prototype.pass=function(value){if(isNonNullObject(value)){var copy=shallowCopy(value);return this.passes.set(copy,value),copy}return value},ObjectCanon2.prototype.admit=function(value){var _this=this;if(isNonNullObject(value)){var original=this.passes.get(value);if(original)return original;var proto=Object.getPrototypeOf(value);switch(proto){case Array.prototype:{if(this.known.has(value))return value;var array=value.map(this.admit,this),node=this.pool.lookupArray(array);return node.array||(this.known.add(node.array=array),globalThis.__DEV__!==!1&&Object.freeze(array)),node.array}case null:case Object.prototype:{if(this.known.has(value))return value;var proto_1=Object.getPrototypeOf(value),array_1=[proto_1],keys=this.sortedKeys(value);array_1.push(keys.json);var firstValueIndex_1=array_1.length;keys.sorted.forEach(function(key){array_1.push(_this.admit(value[key]))});var node=this.pool.lookupArray(array_1);if(!node.object){var obj_1=node.object=Object.create(proto_1);this.known.add(obj_1),keys.sorted.forEach(function(key,i){obj_1[key]=array_1[firstValueIndex_1+i]}),globalThis.__DEV__!==!1&&Object.freeze(obj_1)}return node.object}}}return value},ObjectCanon2.prototype.sortedKeys=function(obj){var keys=Object.keys(obj),node=this.pool.lookupArray(keys);if(!node.keys){keys.sort();var json=JSON.stringify(keys);(node.keys=this.keysByJSON.get(json))||this.keysByJSON.set(json,node.keys={sorted:keys,json})}return node.keys},ObjectCanon2}();function execSelectionSetKeyArgs(options){return[options.selectionSet,options.objectOrReference,options.context,options.context.canonizeResults]}var StoreReader=function(){function StoreReader2(config){var _this=this;this.knownResults=new(canUseWeakMap?WeakMap:Map),this.config=compact(config,{addTypename:config.addTypename!==!1,canonizeResults:shouldCanonizeResults(config)}),this.canon=config.canon||new ObjectCanon,this.executeSelectionSet=lib_wrap(function(options){var _a2,canonizeResults=options.context.canonizeResults,peekArgs=execSelectionSetKeyArgs(options);peekArgs[3]=!canonizeResults;var other=(_a2=_this.executeSelectionSet).peek.apply(_a2,peekArgs);return other?canonizeResults?tslib_es6_assign(tslib_es6_assign({},other),{result:_this.canon.admit(other.result)}):other:(maybeDependOnExistenceOfEntity(options.context.store,options.enclosingRef.__ref),_this.execSelectionSetImpl(options))},{max:this.config.resultCacheMaxSize||cacheSizes["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:execSelectionSetKeyArgs,makeCacheKey:function(selectionSet,parent,context,canonizeResults){if(supportsResultCaching(context.store))return context.store.makeCacheKey(selectionSet,isReference(parent)?parent.__ref:parent,context.varString,canonizeResults)}}),this.executeSubSelectedArray=lib_wrap(function(options){return maybeDependOnExistenceOfEntity(options.context.store,options.enclosingRef.__ref),_this.execSubSelectedArrayImpl(options)},{max:this.config.resultCacheMaxSize||cacheSizes["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(_a2){var field=_a2.field,array=_a2.array,context=_a2.context;if(supportsResultCaching(context.store))return context.store.makeCacheKey(field,array,context.varString)}})}return StoreReader2.prototype.resetCanon=function(){this.canon=new ObjectCanon},StoreReader2.prototype.diffQueryAgainstStore=function(_a2){var store=_a2.store,query=_a2.query,_b=_a2.rootId,rootId=_b===void 0?"ROOT_QUERY":_b,variables=_a2.variables,_c=_a2.returnPartialData,returnPartialData=_c===void 0?!0:_c,_d=_a2.canonizeResults,canonizeResults=_d===void 0?this.config.canonizeResults:_d,policies=this.config.cache.policies;variables=tslib_es6_assign(tslib_es6_assign({},getDefaultValues(getQueryDefinition(query))),variables);var rootRef=makeReference(rootId),execResult=this.executeSelectionSet({selectionSet:getMainDefinition(query).selectionSet,objectOrReference:rootRef,enclosingRef:rootRef,context:tslib_es6_assign({store,query,policies,variables,varString:canonicalStringify(variables),canonizeResults},extractFragmentContext(query,this.config.fragments))}),missing;if(execResult.missing&&(missing=[new MissingFieldError(firstMissing(execResult.missing),execResult.missing,query,variables)],!returnPartialData))throw missing[0];return{result:execResult.result,complete:!missing,missing}},StoreReader2.prototype.isFresh=function(result,parent,selectionSet,context){if(supportsResultCaching(context.store)&&this.knownResults.get(result)===selectionSet){var latest=this.executeSelectionSet.peek(selectionSet,parent,context,this.canon.isKnown(result));if(latest&&result===latest.result)return!0}return!1},StoreReader2.prototype.execSelectionSetImpl=function(_a2){var _this=this,selectionSet=_a2.selectionSet,objectOrReference=_a2.objectOrReference,enclosingRef=_a2.enclosingRef,context=_a2.context;if(isReference(objectOrReference)&&!context.policies.rootTypenamesById[objectOrReference.__ref]&&!context.store.has(objectOrReference.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(objectOrReference.__ref," object")};var variables=context.variables,policies=context.policies,store=context.store,typename=store.getFieldValue(objectOrReference,"__typename"),objectsToMerge=[],missing,missingMerger=new DeepMerger;this.config.addTypename&&typeof typename=="string"&&!policies.rootIdsByTypename[typename]&&objectsToMerge.push({__typename:typename});function handleMissing(result2,resultName){var _a3;return result2.missing&&(missing=missingMerger.merge(missing,(_a3={},_a3[resultName]=result2.missing,_a3))),result2.result}var workSet=new Set(selectionSet.selections);workSet.forEach(function(selection){var _a3,_b;if(!!shouldInclude(selection,variables))if(storeUtils_isField(selection)){var fieldValue=policies.readField({fieldName:selection.name.value,field:selection,variables:context.variables,from:objectOrReference},context),resultName=resultKeyNameFromField(selection);fieldValue===void 0?addTypenameToDocument.added(selection)||(missing=missingMerger.merge(missing,(_a3={},_a3[resultName]="Can't find field '".concat(selection.name.value,"' on ").concat(isReference(objectOrReference)?objectOrReference.__ref+" object":"object "+JSON.stringify(objectOrReference,null,2)),_a3))):isArray(fieldValue)?fieldValue.length>0&&(fieldValue=handleMissing(_this.executeSubSelectedArray({field:selection,array:fieldValue,enclosingRef,context}),resultName)):selection.selectionSet?fieldValue!=null&&(fieldValue=handleMissing(_this.executeSelectionSet({selectionSet:selection.selectionSet,objectOrReference:fieldValue,enclosingRef:isReference(fieldValue)?fieldValue:enclosingRef,context}),resultName)):context.canonizeResults&&(fieldValue=_this.canon.pass(fieldValue)),fieldValue!==void 0&&objectsToMerge.push((_b={},_b[resultName]=fieldValue,_b))}else{var fragment=getFragmentFromSelection(selection,context.lookupFragment);if(!fragment&&selection.kind===kinds.h.FRAGMENT_SPREAD)throw newInvariantError(9,selection.name.value);fragment&&policies.fragmentMatches(fragment,typename)&&fragment.selectionSet.selections.forEach(workSet.add,workSet)}});var result=mergeDeepArray(objectsToMerge),finalResult={result,missing},frozen=context.canonizeResults?this.canon.admit(finalResult):maybeDeepFreeze(finalResult);return frozen.result&&this.knownResults.set(frozen.result,selectionSet),frozen},StoreReader2.prototype.execSubSelectedArrayImpl=function(_a2){var _this=this,field=_a2.field,array=_a2.array,enclosingRef=_a2.enclosingRef,context=_a2.context,missing,missingMerger=new DeepMerger;function handleMissing(childResult,i){var _a3;return childResult.missing&&(missing=missingMerger.merge(missing,(_a3={},_a3[i]=childResult.missing,_a3))),childResult.result}return field.selectionSet&&(array=array.filter(context.store.canRead)),array=array.map(function(item,i){return item===null?null:isArray(item)?handleMissing(_this.executeSubSelectedArray({field,array:item,enclosingRef,context}),i):field.selectionSet?handleMissing(_this.executeSelectionSet({selectionSet:field.selectionSet,objectOrReference:item,enclosingRef:isReference(item)?item:enclosingRef,context}),i):(globalThis.__DEV__!==!1&&assertSelectionSetForIdValue(context.store,field,item),item)}),{result:context.canonizeResults?this.canon.admit(array):array,missing}},StoreReader2}();function firstMissing(tree){try{JSON.stringify(tree,function(_,value){if(typeof value=="string")throw value;return value})}catch(result){return result}}function assertSelectionSetForIdValue(store,field,fieldValue){if(!field.selectionSet){var workSet_1=new Set([fieldValue]);workSet_1.forEach(function(value){isNonNullObject(value)&&(invariantWrappers_invariant(!isReference(value),10,getTypenameFromStoreObject(store,value),field.name.value),Object.values(value).forEach(workSet_1.add,workSet_1))})}}var specifierInfoCache=Object.create(null);function lookupSpecifierInfo(spec){var cacheKey=JSON.stringify(spec);return specifierInfoCache[cacheKey]||(specifierInfoCache[cacheKey]=Object.create(null))}function keyFieldsFnFromSpecifier(specifier){var info=lookupSpecifierInfo(specifier);return info.keyFieldsFn||(info.keyFieldsFn=function(object,context){var extract=function(from2,key){return context.readField(key,from2)},keyObject=context.keyObject=collectSpecifierPaths(specifier,function(schemaKeyPath){var extracted=extractKeyPath(context.storeObject,schemaKeyPath,extract);return extracted===void 0&&object!==context.storeObject&&hasOwn.call(object,schemaKeyPath[0])&&(extracted=extractKeyPath(object,schemaKeyPath,extractKey)),invariantWrappers_invariant(extracted!==void 0,4,schemaKeyPath.join("."),object),extracted});return"".concat(context.typename,":").concat(JSON.stringify(keyObject))})}function keyArgsFnFromSpecifier(specifier){var info=lookupSpecifierInfo(specifier);return info.keyArgsFn||(info.keyArgsFn=function(args,_a2){var field=_a2.field,variables=_a2.variables,fieldName=_a2.fieldName,collected=collectSpecifierPaths(specifier,function(keyPath){var firstKey=keyPath[0],firstChar=firstKey.charAt(0);if(firstChar==="@"){if(field&&isNonEmptyArray(field.directives)){var directiveName_1=firstKey.slice(1),d=field.directives.find(function(d2){return d2.name.value===directiveName_1}),directiveArgs=d&&argumentsObjectFromField(d,variables);return directiveArgs&&extractKeyPath(directiveArgs,keyPath.slice(1))}return}if(firstChar==="$"){var variableName=firstKey.slice(1);if(variables&&hasOwn.call(variables,variableName)){var varKeyPath=keyPath.slice(0);return varKeyPath[0]=variableName,extractKeyPath(variables,varKeyPath)}return}if(args)return extractKeyPath(args,keyPath)}),suffix=JSON.stringify(collected);return(args||suffix!=="{}")&&(fieldName+=":"+suffix),fieldName})}function collectSpecifierPaths(specifier,extractor){var merger=new DeepMerger;return getSpecifierPaths(specifier).reduce(function(collected,path){var _a2,toMerge=extractor(path);if(toMerge!==void 0){for(var i=path.length-1;i>=0;--i)toMerge=(_a2={},_a2[path[i]]=toMerge,_a2);collected=merger.merge(collected,toMerge)}return collected},Object.create(null))}function getSpecifierPaths(spec){var info=lookupSpecifierInfo(spec);if(!info.paths){var paths_1=info.paths=[],currentPath_1=[];spec.forEach(function(s,i){isArray(s)?(getSpecifierPaths(s).forEach(function(p){return paths_1.push(currentPath_1.concat(p))}),currentPath_1.length=0):(currentPath_1.push(s),isArray(spec[i+1])||(paths_1.push(currentPath_1.slice(0)),currentPath_1.length=0))})}return info.paths}function extractKey(object,key){return object[key]}function extractKeyPath(object,path,extract){return extract=extract||extractKey,normalize(path.reduce(function reducer(obj,key){return isArray(obj)?obj.map(function(child){return reducer(child,key)}):obj&&extract(obj,key)},object))}function normalize(value){return isNonNullObject(value)?isArray(value)?value.map(normalize):collectSpecifierPaths(Object.keys(value).sort(),function(path){return extractKeyPath(value,path)}):value}function argsFromFieldSpecifier(spec){return spec.args!==void 0?spec.args:spec.field?argumentsObjectFromField(spec.field,spec.variables):null}var nullKeyFieldsFn=function(){},simpleKeyArgsFn=function(_args,context){return context.fieldName},mergeTrueFn=function(existing,incoming,_a2){var mergeObjects=_a2.mergeObjects;return mergeObjects(existing,incoming)},mergeFalseFn=function(_,incoming){return incoming},Policies=function(){function Policies2(config){this.config=config,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=tslib_es6_assign({dataIdFromObject:defaultDataIdFromObject},config),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),config.possibleTypes&&this.addPossibleTypes(config.possibleTypes),config.typePolicies&&this.addTypePolicies(config.typePolicies)}return Policies2.prototype.identify=function(object,partialContext){var _a2,policies=this,typename=partialContext&&(partialContext.typename||((_a2=partialContext.storeObject)===null||_a2===void 0?void 0:_a2.__typename))||object.__typename;if(typename===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var storeObject=partialContext&&partialContext.storeObject||object,context=tslib_es6_assign(tslib_es6_assign({},partialContext),{typename,storeObject,readField:partialContext&&partialContext.readField||function(){var options=normalizeReadFieldOptions(arguments,storeObject);return policies.readField(options,{store:policies.cache.data,variables:options.variables})}}),id,policy=typename&&this.getTypePolicy(typename),keyFn=policy&&policy.keyFn||this.config.dataIdFromObject;keyFn;){var specifierOrId=keyFn(tslib_es6_assign(tslib_es6_assign({},object),storeObject),context);if(isArray(specifierOrId))keyFn=keyFieldsFnFromSpecifier(specifierOrId);else{id=specifierOrId;break}}return id=id?String(id):void 0,context.keyObject?[id,context.keyObject]:[id]},Policies2.prototype.addTypePolicies=function(typePolicies){var _this=this;Object.keys(typePolicies).forEach(function(typename){var _a2=typePolicies[typename],queryType=_a2.queryType,mutationType=_a2.mutationType,subscriptionType=_a2.subscriptionType,incoming=__rest(_a2,["queryType","mutationType","subscriptionType"]);queryType&&_this.setRootTypename("Query",typename),mutationType&&_this.setRootTypename("Mutation",typename),subscriptionType&&_this.setRootTypename("Subscription",typename),hasOwn.call(_this.toBeAdded,typename)?_this.toBeAdded[typename].push(incoming):_this.toBeAdded[typename]=[incoming]})},Policies2.prototype.updateTypePolicy=function(typename,incoming){var _this=this,existing=this.getTypePolicy(typename),keyFields=incoming.keyFields,fields=incoming.fields;function setMerge(existing2,merge){existing2.merge=typeof merge=="function"?merge:merge===!0?mergeTrueFn:merge===!1?mergeFalseFn:existing2.merge}setMerge(existing,incoming.merge),existing.keyFn=keyFields===!1?nullKeyFieldsFn:isArray(keyFields)?keyFieldsFnFromSpecifier(keyFields):typeof keyFields=="function"?keyFields:existing.keyFn,fields&&Object.keys(fields).forEach(function(fieldName){var existing2=_this.getFieldPolicy(typename,fieldName,!0),incoming2=fields[fieldName];if(typeof incoming2=="function")existing2.read=incoming2;else{var keyArgs=incoming2.keyArgs,read=incoming2.read,merge=incoming2.merge;existing2.keyFn=keyArgs===!1?simpleKeyArgsFn:isArray(keyArgs)?keyArgsFnFromSpecifier(keyArgs):typeof keyArgs=="function"?keyArgs:existing2.keyFn,typeof read=="function"&&(existing2.read=read),setMerge(existing2,merge)}existing2.read&&existing2.merge&&(existing2.keyFn=existing2.keyFn||simpleKeyArgsFn)})},Policies2.prototype.setRootTypename=function(which,typename){typename===void 0&&(typename=which);var rootId="ROOT_"+which.toUpperCase(),old=this.rootTypenamesById[rootId];typename!==old&&(invariantWrappers_invariant(!old||old===which,5,which),old&&delete this.rootIdsByTypename[old],this.rootIdsByTypename[typename]=rootId,this.rootTypenamesById[rootId]=typename)},Policies2.prototype.addPossibleTypes=function(possibleTypes){var _this=this;this.usingPossibleTypes=!0,Object.keys(possibleTypes).forEach(function(supertype){_this.getSupertypeSet(supertype,!0),possibleTypes[supertype].forEach(function(subtype){_this.getSupertypeSet(subtype,!0).add(supertype);var match=subtype.match(TypeOrFieldNameRegExp);(!match||match[0]!==subtype)&&_this.fuzzySubtypes.set(subtype,new RegExp(subtype))})})},Policies2.prototype.getTypePolicy=function(typename){var _this=this;if(!hasOwn.call(this.typePolicies,typename)){var policy_1=this.typePolicies[typename]=Object.create(null);policy_1.fields=Object.create(null);var supertypes_1=this.supertypeMap.get(typename);!supertypes_1&&this.fuzzySubtypes.size&&(supertypes_1=this.getSupertypeSet(typename,!0),this.fuzzySubtypes.forEach(function(regExp,fuzzy){if(regExp.test(typename)){var fuzzySupertypes=_this.supertypeMap.get(fuzzy);fuzzySupertypes&&fuzzySupertypes.forEach(function(supertype){return supertypes_1.add(supertype)})}})),supertypes_1&&supertypes_1.size&&supertypes_1.forEach(function(supertype){var _a2=_this.getTypePolicy(supertype),fields=_a2.fields,rest=__rest(_a2,["fields"]);Object.assign(policy_1,rest),Object.assign(policy_1.fields,fields)})}var inbox=this.toBeAdded[typename];return inbox&&inbox.length&&inbox.splice(0).forEach(function(policy){_this.updateTypePolicy(typename,policy)}),this.typePolicies[typename]},Policies2.prototype.getFieldPolicy=function(typename,fieldName,createIfMissing){if(typename){var fieldPolicies=this.getTypePolicy(typename).fields;return fieldPolicies[fieldName]||createIfMissing&&(fieldPolicies[fieldName]=Object.create(null))}},Policies2.prototype.getSupertypeSet=function(subtype,createIfMissing){var supertypeSet=this.supertypeMap.get(subtype);return!supertypeSet&&createIfMissing&&this.supertypeMap.set(subtype,supertypeSet=new Set),supertypeSet},Policies2.prototype.fragmentMatches=function(fragment,typename,result,variables){var _this=this;if(!fragment.typeCondition)return!0;if(!typename)return!1;var supertype=fragment.typeCondition.name.value;if(typename===supertype)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(supertype))for(var typenameSupertypeSet=this.getSupertypeSet(typename,!0),workQueue_1=[typenameSupertypeSet],maybeEnqueue_1=function(subtype){var supertypeSet2=_this.getSupertypeSet(subtype,!1);supertypeSet2&&supertypeSet2.size&&workQueue_1.indexOf(supertypeSet2)<0&&workQueue_1.push(supertypeSet2)},needToCheckFuzzySubtypes=!!(result&&this.fuzzySubtypes.size),checkingFuzzySubtypes=!1,i=0;i<workQueue_1.length;++i){var supertypeSet=workQueue_1[i];if(supertypeSet.has(supertype))return typenameSupertypeSet.has(supertype)||(checkingFuzzySubtypes&&globalThis.__DEV__!==!1&&invariantWrappers_invariant.warn(6,typename,supertype),typenameSupertypeSet.add(supertype)),!0;supertypeSet.forEach(maybeEnqueue_1),needToCheckFuzzySubtypes&&i===workQueue_1.length-1&&selectionSetMatchesResult(fragment.selectionSet,result,variables)&&(needToCheckFuzzySubtypes=!1,checkingFuzzySubtypes=!0,this.fuzzySubtypes.forEach(function(regExp,fuzzyString){var match=typename.match(regExp);match&&match[0]===typename&&maybeEnqueue_1(fuzzyString)}))}return!1},Policies2.prototype.hasKeyArgs=function(typename,fieldName){var policy=this.getFieldPolicy(typename,fieldName,!1);return!!(policy&&policy.keyFn)},Policies2.prototype.getStoreFieldName=function(fieldSpec){var typename=fieldSpec.typename,fieldName=fieldSpec.fieldName,policy=this.getFieldPolicy(typename,fieldName,!1),storeFieldName,keyFn=policy&&policy.keyFn;if(keyFn&&typename)for(var context={typename,fieldName,field:fieldSpec.field||null,variables:fieldSpec.variables},args=argsFromFieldSpecifier(fieldSpec);keyFn;){var specifierOrString=keyFn(args,context);if(isArray(specifierOrString))keyFn=keyArgsFnFromSpecifier(specifierOrString);else{storeFieldName=specifierOrString||fieldName;break}}return storeFieldName===void 0&&(storeFieldName=fieldSpec.field?storeKeyNameFromField(fieldSpec.field,fieldSpec.variables):getStoreKeyName(fieldName,argsFromFieldSpecifier(fieldSpec))),storeFieldName===!1?fieldName:fieldName===fieldNameFromStoreName(storeFieldName)?storeFieldName:fieldName+":"+storeFieldName},Policies2.prototype.readField=function(options,context){var objectOrReference=options.from;if(!!objectOrReference){var nameOrField=options.field||options.fieldName;if(!!nameOrField){if(options.typename===void 0){var typename=context.store.getFieldValue(objectOrReference,"__typename");typename&&(options.typename=typename)}var storeFieldName=this.getStoreFieldName(options),fieldName=fieldNameFromStoreName(storeFieldName),existing=context.store.getFieldValue(objectOrReference,storeFieldName),policy=this.getFieldPolicy(options.typename,fieldName,!1),read=policy&&policy.read;if(read){var readOptions=makeFieldFunctionOptions(this,objectOrReference,options,context,context.store.getStorage(isReference(objectOrReference)?objectOrReference.__ref:objectOrReference,storeFieldName));return cacheSlot.withValue(this.cache,read,[existing,readOptions])}return existing}}},Policies2.prototype.getReadFunction=function(typename,fieldName){var policy=this.getFieldPolicy(typename,fieldName,!1);return policy&&policy.read},Policies2.prototype.getMergeFunction=function(parentTypename,fieldName,childTypename){var policy=this.getFieldPolicy(parentTypename,fieldName,!1),merge=policy&&policy.merge;return!merge&&childTypename&&(policy=this.getTypePolicy(childTypename),merge=policy&&policy.merge),merge},Policies2.prototype.runMergeFunction=function(existing,incoming,_a2,context,storage){var field=_a2.field,typename=_a2.typename,merge=_a2.merge;return merge===mergeTrueFn?makeMergeObjectsFunction(context.store)(existing,incoming):merge===mergeFalseFn?incoming:(context.overwrite&&(existing=void 0),merge(existing,incoming,makeFieldFunctionOptions(this,void 0,{typename,fieldName:field.name.value,field,variables:context.variables},context,storage||Object.create(null))))},Policies2}();function makeFieldFunctionOptions(policies,objectOrReference,fieldSpec,context,storage){var storeFieldName=policies.getStoreFieldName(fieldSpec),fieldName=fieldNameFromStoreName(storeFieldName),variables=fieldSpec.variables||context.variables,_a2=context.store,toReference=_a2.toReference,canRead=_a2.canRead;return{args:argsFromFieldSpecifier(fieldSpec),field:fieldSpec.field||null,fieldName,storeFieldName,variables,isReference,toReference,storage,cache:policies.cache,canRead,readField:function(){return policies.readField(normalizeReadFieldOptions(arguments,objectOrReference,variables),context)},mergeObjects:makeMergeObjectsFunction(context.store)}}function normalizeReadFieldOptions(readFieldArgs,objectOrReference,variables){var fieldNameOrOptions=readFieldArgs[0],from2=readFieldArgs[1],argc=readFieldArgs.length,options;return typeof fieldNameOrOptions=="string"?options={fieldName:fieldNameOrOptions,from:argc>1?from2:objectOrReference}:(options=tslib_es6_assign({},fieldNameOrOptions),hasOwn.call(options,"from")||(options.from=objectOrReference)),globalThis.__DEV__!==!1&&options.from===void 0&&globalThis.__DEV__!==!1&&invariantWrappers_invariant.warn(7,stringifyForDisplay(Array.from(readFieldArgs))),options.variables===void 0&&(options.variables=variables),options}function makeMergeObjectsFunction(store){return function(existing,incoming){if(isArray(existing)||isArray(incoming))throw newInvariantError(8);if(isNonNullObject(existing)&&isNonNullObject(incoming)){var eType=store.getFieldValue(existing,"__typename"),iType=store.getFieldValue(incoming,"__typename"),typesDiffer=eType&&iType&&eType!==iType;if(typesDiffer)return incoming;if(isReference(existing)&&storeValueIsStoreObject(incoming))return store.merge(existing.__ref,incoming),existing;if(storeValueIsStoreObject(existing)&&isReference(incoming))return store.merge(existing,incoming.__ref),incoming;if(storeValueIsStoreObject(existing)&&storeValueIsStoreObject(incoming))return tslib_es6_assign(tslib_es6_assign({},existing),incoming)}return incoming}}function getContextFlavor(context,clientOnly,deferred){var key="".concat(clientOnly).concat(deferred),flavored=context.flavors.get(key);return flavored||context.flavors.set(key,flavored=context.clientOnly===clientOnly&&context.deferred===deferred?context:tslib_es6_assign(tslib_es6_assign({},context),{clientOnly,deferred})),flavored}var StoreWriter=function(){function StoreWriter2(cache2,reader,fragments){this.cache=cache2,this.reader=reader,this.fragments=fragments}return StoreWriter2.prototype.writeToStore=function(store,_a2){var _this=this,query=_a2.query,result=_a2.result,dataId=_a2.dataId,variables=_a2.variables,overwrite=_a2.overwrite,operationDefinition=getOperationDefinition(query),merger=makeProcessedFieldsMerger();variables=tslib_es6_assign(tslib_es6_assign({},getDefaultValues(operationDefinition)),variables);var context=tslib_es6_assign(tslib_es6_assign({store,written:Object.create(null),merge:function(existing,incoming){return merger.merge(existing,incoming)},variables,varString:canonicalStringify(variables)},extractFragmentContext(query,this.fragments)),{overwrite:!!overwrite,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),ref=this.processSelectionSet({result:result||Object.create(null),dataId,selectionSet:operationDefinition.selectionSet,mergeTree:{map:new Map},context});if(!isReference(ref))throw newInvariantError(11,result);return context.incomingById.forEach(function(_a3,dataId2){var storeObject=_a3.storeObject,mergeTree=_a3.mergeTree,fieldNodeSet=_a3.fieldNodeSet,entityRef=makeReference(dataId2);if(mergeTree&&mergeTree.map.size){var applied=_this.applyMerges(mergeTree,entityRef,storeObject,context);if(isReference(applied))return;storeObject=applied}if(globalThis.__DEV__!==!1&&!context.overwrite){var fieldsWithSelectionSets_1=Object.create(null);fieldNodeSet.forEach(function(field){field.selectionSet&&(fieldsWithSelectionSets_1[field.name.value]=!0)});var hasSelectionSet_1=function(storeFieldName){return fieldsWithSelectionSets_1[fieldNameFromStoreName(storeFieldName)]===!0},hasMergeFunction_1=function(storeFieldName){var childTree=mergeTree&&mergeTree.map.get(storeFieldName);return Boolean(childTree&&childTree.info&&childTree.info.merge)};Object.keys(storeObject).forEach(function(storeFieldName){hasSelectionSet_1(storeFieldName)&&!hasMergeFunction_1(storeFieldName)&&warnAboutDataLoss(entityRef,storeObject,storeFieldName,context.store)})}store.merge(dataId2,storeObject)}),store.retain(ref.__ref),ref},StoreWriter2.prototype.processSelectionSet=function(_a2){var _this=this,dataId=_a2.dataId,result=_a2.result,selectionSet=_a2.selectionSet,context=_a2.context,mergeTree=_a2.mergeTree,policies=this.cache.policies,incoming=Object.create(null),typename=dataId&&policies.rootTypenamesById[dataId]||getTypenameFromResult(result,selectionSet,context.fragmentMap)||dataId&&context.store.get(dataId,"__typename");typeof typename=="string"&&(incoming.__typename=typename);var readField=function(){var options=normalizeReadFieldOptions(arguments,incoming,context.variables);if(isReference(options.from)){var info=context.incomingById.get(options.from.__ref);if(info){var result_1=policies.readField(tslib_es6_assign(tslib_es6_assign({},options),{from:info.storeObject}),context);if(result_1!==void 0)return result_1}}return policies.readField(options,context)},fieldNodeSet=new Set;this.flattenFields(selectionSet,result,context,typename).forEach(function(context2,field){var _a3,resultFieldKey=resultKeyNameFromField(field),value=result[resultFieldKey];if(fieldNodeSet.add(field),value!==void 0){var storeFieldName=policies.getStoreFieldName({typename,fieldName:field.name.value,field,variables:context2.variables}),childTree=getChildMergeTree(mergeTree,storeFieldName),incomingValue=_this.processFieldValue(value,field,field.selectionSet?getContextFlavor(context2,!1,!1):context2,childTree),childTypename=void 0;field.selectionSet&&(isReference(incomingValue)||storeValueIsStoreObject(incomingValue))&&(childTypename=readField("__typename",incomingValue));var merge=policies.getMergeFunction(typename,field.name.value,childTypename);merge?childTree.info={field,typename,merge}:maybeRecycleChildMergeTree(mergeTree,storeFieldName),incoming=context2.merge(incoming,(_a3={},_a3[storeFieldName]=incomingValue,_a3))}else globalThis.__DEV__!==!1&&!context2.clientOnly&&!context2.deferred&&!addTypenameToDocument.added(field)&&!policies.getReadFunction(typename,field.name.value)&&globalThis.__DEV__!==!1&&invariantWrappers_invariant.error(12,resultKeyNameFromField(field),result)});try{var _b=policies.identify(result,{typename,selectionSet,fragmentMap:context.fragmentMap,storeObject:incoming,readField}),id=_b[0],keyObject=_b[1];dataId=dataId||id,keyObject&&(incoming=context.merge(incoming,keyObject))}catch(e){if(!dataId)throw e}if(typeof dataId=="string"){var dataRef=makeReference(dataId),sets=context.written[dataId]||(context.written[dataId]=[]);if(sets.indexOf(selectionSet)>=0||(sets.push(selectionSet),this.reader&&this.reader.isFresh(result,dataRef,selectionSet,context)))return dataRef;var previous_1=context.incomingById.get(dataId);return previous_1?(previous_1.storeObject=context.merge(previous_1.storeObject,incoming),previous_1.mergeTree=mergeMergeTrees(previous_1.mergeTree,mergeTree),fieldNodeSet.forEach(function(field){return previous_1.fieldNodeSet.add(field)})):context.incomingById.set(dataId,{storeObject:incoming,mergeTree:mergeTreeIsEmpty(mergeTree)?void 0:mergeTree,fieldNodeSet}),dataRef}return incoming},StoreWriter2.prototype.processFieldValue=function(value,field,context,mergeTree){var _this=this;return!field.selectionSet||value===null?globalThis.__DEV__!==!1?cloneDeep(value):value:isArray(value)?value.map(function(item,i){var value2=_this.processFieldValue(item,field,context,getChildMergeTree(mergeTree,i));return maybeRecycleChildMergeTree(mergeTree,i),value2}):this.processSelectionSet({result:value,selectionSet:field.selectionSet,context,mergeTree})},StoreWriter2.prototype.flattenFields=function(selectionSet,result,context,typename){typename===void 0&&(typename=getTypenameFromResult(result,selectionSet,context.fragmentMap));var fieldMap=new Map,policies=this.cache.policies,limitingTrie=new Trie(!1);return function flatten(selectionSet2,inheritedContext){var visitedNode=limitingTrie.lookup(selectionSet2,inheritedContext.clientOnly,inheritedContext.deferred);visitedNode.visited||(visitedNode.visited=!0,selectionSet2.selections.forEach(function(selection){if(!!shouldInclude(selection,context.variables)){var clientOnly=inheritedContext.clientOnly,deferred=inheritedContext.deferred;if(!(clientOnly&&deferred)&&isNonEmptyArray(selection.directives)&&selection.directives.forEach(function(dir){var name=dir.name.value;if(name==="client"&&(clientOnly=!0),name==="defer"){var args=argumentsObjectFromField(dir,context.variables);(!args||args.if!==!1)&&(deferred=!0)}}),storeUtils_isField(selection)){var existing=fieldMap.get(selection);existing&&(clientOnly=clientOnly&&existing.clientOnly,deferred=deferred&&existing.deferred),fieldMap.set(selection,getContextFlavor(context,clientOnly,deferred))}else{var fragment=getFragmentFromSelection(selection,context.lookupFragment);if(!fragment&&selection.kind===kinds.h.FRAGMENT_SPREAD)throw newInvariantError(13,selection.name.value);fragment&&policies.fragmentMatches(fragment,typename,result,context.variables)&&flatten(fragment.selectionSet,getContextFlavor(context,clientOnly,deferred))}}}))}(selectionSet,context),fieldMap},StoreWriter2.prototype.applyMerges=function(mergeTree,existing,incoming,context,getStorageArgs){var _a2,_this=this;if(mergeTree.map.size&&!isReference(incoming)){var e_1=!isArray(incoming)&&(isReference(existing)||storeValueIsStoreObject(existing))?existing:void 0,i_1=incoming;e_1&&!getStorageArgs&&(getStorageArgs=[isReference(e_1)?e_1.__ref:e_1]);var changedFields_1,getValue_1=function(from2,name){return isArray(from2)?typeof name=="number"?from2[name]:void 0:context.store.getFieldValue(from2,String(name))};mergeTree.map.forEach(function(childTree,storeFieldName){var eVal=getValue_1(e_1,storeFieldName),iVal=getValue_1(i_1,storeFieldName);if(iVal!==void 0){getStorageArgs&&getStorageArgs.push(storeFieldName);var aVal=_this.applyMerges(childTree,eVal,iVal,context,getStorageArgs);aVal!==iVal&&(changedFields_1=changedFields_1||new Map,changedFields_1.set(storeFieldName,aVal)),getStorageArgs&&invariantWrappers_invariant(getStorageArgs.pop()===storeFieldName)}}),changedFields_1&&(incoming=isArray(i_1)?i_1.slice(0):tslib_es6_assign({},i_1),changedFields_1.forEach(function(value,name){incoming[name]=value}))}return mergeTree.info?this.cache.policies.runMergeFunction(existing,incoming,mergeTree.info,context,getStorageArgs&&(_a2=context.store).getStorage.apply(_a2,getStorageArgs)):incoming},StoreWriter2}(),emptyMergeTreePool=[];function getChildMergeTree(_a2,name){var map=_a2.map;return map.has(name)||map.set(name,emptyMergeTreePool.pop()||{map:new Map}),map.get(name)}function mergeMergeTrees(left,right){if(left===right||!right||mergeTreeIsEmpty(right))return left;if(!left||mergeTreeIsEmpty(left))return right;var info=left.info&&right.info?tslib_es6_assign(tslib_es6_assign({},left.info),right.info):left.info||right.info,needToMergeMaps=left.map.size&&right.map.size,map=needToMergeMaps?new Map:left.map.size?left.map:right.map,merged={info,map};if(needToMergeMaps){var remainingRightKeys_1=new Set(right.map.keys());left.map.forEach(function(leftTree,key){merged.map.set(key,mergeMergeTrees(leftTree,right.map.get(key))),remainingRightKeys_1.delete(key)}),remainingRightKeys_1.forEach(function(key){merged.map.set(key,mergeMergeTrees(right.map.get(key),left.map.get(key)))})}return merged}function mergeTreeIsEmpty(tree){return!tree||!(tree.info||tree.map.size)}function maybeRecycleChildMergeTree(_a2,name){var map=_a2.map,childTree=map.get(name);childTree&&mergeTreeIsEmpty(childTree)&&(emptyMergeTreePool.push(childTree),map.delete(name))}var warnings=new Set;function warnAboutDataLoss(existingRef,incomingObj,storeFieldName,store){var getChild=function(objOrRef){var child=store.getFieldValue(objOrRef,storeFieldName);return typeof child=="object"&&child},existing=getChild(existingRef);if(!!existing){var incoming=getChild(incomingObj);if(!!incoming&&!isReference(existing)&&!equal(existing,incoming)&&!Object.keys(existing).every(function(key){return store.getFieldValue(incoming,key)!==void 0})){var parentType=store.getFieldValue(existingRef,"__typename")||store.getFieldValue(incomingObj,"__typename"),fieldName=fieldNameFromStoreName(storeFieldName),typeDotName="".concat(parentType,".").concat(fieldName);if(!warnings.has(typeDotName)){warnings.add(typeDotName);var childTypenames=[];!isArray(existing)&&!isArray(incoming)&&[existing,incoming].forEach(function(child){var typename=store.getFieldValue(child,"__typename");typeof typename=="string"&&!childTypenames.includes(typename)&&childTypenames.push(typename)}),globalThis.__DEV__!==!1&&invariantWrappers_invariant.warn(14,fieldName,parentType,childTypenames.length?"either ensure all objects of type "+childTypenames.join(" and ")+" have an ID or a custom merge function, or ":"",typeDotName,tslib_es6_assign({},existing),tslib_es6_assign({},incoming))}}}}var InMemoryCache=function(_super){__extends(InMemoryCache2,_super);function InMemoryCache2(config){config===void 0&&(config={});var _this=_super.call(this)||this;return _this.watches=new Set,_this.addTypenameTransform=new DocumentTransform(addTypenameToDocument),_this.assumeImmutableResults=!0,_this.makeVar=makeVar,_this.txCount=0,_this.config=normalizeConfig(config),_this.addTypename=!!_this.config.addTypename,_this.policies=new Policies({cache:_this,dataIdFromObject:_this.config.dataIdFromObject,possibleTypes:_this.config.possibleTypes,typePolicies:_this.config.typePolicies}),_this.init(),_this}return InMemoryCache2.prototype.init=function(){var rootStore=this.data=new EntityStore.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=rootStore.stump,this.resetResultCache()},InMemoryCache2.prototype.resetResultCache=function(resetResultIdentities){var _this=this,previousReader=this.storeReader,fragments=this.config.fragments;this.storeWriter=new StoreWriter(this,this.storeReader=new StoreReader({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:shouldCanonizeResults(this.config),canon:resetResultIdentities?void 0:previousReader&&previousReader.canon,fragments}),fragments),this.maybeBroadcastWatch=lib_wrap(function(c,options){return _this.broadcastWatch(c,options)},{max:this.config.resultCacheMaxSize||cacheSizes["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(c){var store=c.optimistic?_this.optimisticData:_this.data;if(supportsResultCaching(store)){var optimistic=c.optimistic,id=c.id,variables=c.variables;return store.makeCacheKey(c.query,c.callback,canonicalStringify({optimistic,id,variables}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(group){return group.resetCaching()})},InMemoryCache2.prototype.restore=function(data){return this.init(),data&&this.data.replace(data),this},InMemoryCache2.prototype.extract=function(optimistic){return optimistic===void 0&&(optimistic=!1),(optimistic?this.optimisticData:this.data).extract()},InMemoryCache2.prototype.read=function(options){var _a2=options.returnPartialData,returnPartialData=_a2===void 0?!1:_a2;try{return this.storeReader.diffQueryAgainstStore(tslib_es6_assign(tslib_es6_assign({},options),{store:options.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData})).result||null}catch(e){if(e instanceof MissingFieldError)return null;throw e}},InMemoryCache2.prototype.write=function(options){try{return++this.txCount,this.storeWriter.writeToStore(this.data,options)}finally{!--this.txCount&&options.broadcast!==!1&&this.broadcastWatches()}},InMemoryCache2.prototype.modify=function(options){if(hasOwn.call(options,"id")&&!options.id)return!1;var store=options.optimistic?this.optimisticData:this.data;try{return++this.txCount,store.modify(options.id||"ROOT_QUERY",options.fields)}finally{!--this.txCount&&options.broadcast!==!1&&this.broadcastWatches()}},InMemoryCache2.prototype.diff=function(options){return this.storeReader.diffQueryAgainstStore(tslib_es6_assign(tslib_es6_assign({},options),{store:options.optimistic?this.optimisticData:this.data,rootId:options.id||"ROOT_QUERY",config:this.config}))},InMemoryCache2.prototype.watch=function(watch){var _this=this;return this.watches.size||recallCache(this),this.watches.add(watch),watch.immediate&&this.maybeBroadcastWatch(watch),function(){_this.watches.delete(watch)&&!_this.watches.size&&forgetCache(_this),_this.maybeBroadcastWatch.forget(watch)}},InMemoryCache2.prototype.gc=function(options){var _a2;canonicalStringify.reset(),print.reset(),this.addTypenameTransform.resetCache(),(_a2=this.config.fragments)===null||_a2===void 0||_a2.resetCaches();var ids=this.optimisticData.gc();return options&&!this.txCount&&(options.resetResultCache?this.resetResultCache(options.resetResultIdentities):options.resetResultIdentities&&this.storeReader.resetCanon()),ids},InMemoryCache2.prototype.retain=function(rootId,optimistic){return(optimistic?this.optimisticData:this.data).retain(rootId)},InMemoryCache2.prototype.release=function(rootId,optimistic){return(optimistic?this.optimisticData:this.data).release(rootId)},InMemoryCache2.prototype.identify=function(object){if(isReference(object))return object.__ref;try{return this.policies.identify(object)[0]}catch(e){globalThis.__DEV__!==!1&&invariantWrappers_invariant.warn(e)}},InMemoryCache2.prototype.evict=function(options){if(!options.id){if(hasOwn.call(options,"id"))return!1;options=tslib_es6_assign(tslib_es6_assign({},options),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(options,this.data)}finally{!--this.txCount&&options.broadcast!==!1&&this.broadcastWatches()}},InMemoryCache2.prototype.reset=function(options){var _this=this;return this.init(),canonicalStringify.reset(),options&&options.discardWatches?(this.watches.forEach(function(watch){return _this.maybeBroadcastWatch.forget(watch)}),this.watches.clear(),forgetCache(this)):this.broadcastWatches(),Promise.resolve()},InMemoryCache2.prototype.removeOptimistic=function(idToRemove){var newOptimisticData=this.optimisticData.removeLayer(idToRemove);newOptimisticData!==this.optimisticData&&(this.optimisticData=newOptimisticData,this.broadcastWatches())},InMemoryCache2.prototype.batch=function(options){var _this=this,update=options.update,_a2=options.optimistic,optimistic=_a2===void 0?!0:_a2,removeOptimistic=options.removeOptimistic,onWatchUpdated=options.onWatchUpdated,updateResult,perform=function(layer){var _a3=_this,data=_a3.data,optimisticData=_a3.optimisticData;++_this.txCount,layer&&(_this.data=_this.optimisticData=layer);try{return updateResult=update(_this)}finally{--_this.txCount,_this.data=data,_this.optimisticData=optimisticData}},alreadyDirty=new Set;return onWatchUpdated&&!this.txCount&&this.broadcastWatches(tslib_es6_assign(tslib_es6_assign({},options),{onWatchUpdated:function(watch){return alreadyDirty.add(watch),!1}})),typeof optimistic=="string"?this.optimisticData=this.optimisticData.addLayer(optimistic,perform):optimistic===!1?perform(this.data):perform(),typeof removeOptimistic=="string"&&(this.optimisticData=this.optimisticData.removeLayer(removeOptimistic)),onWatchUpdated&&alreadyDirty.size?(this.broadcastWatches(tslib_es6_assign(tslib_es6_assign({},options),{onWatchUpdated:function(watch,diff){var result=onWatchUpdated.call(this,watch,diff);return result!==!1&&alreadyDirty.delete(watch),result}})),alreadyDirty.size&&alreadyDirty.forEach(function(watch){return _this.maybeBroadcastWatch.dirty(watch)})):this.broadcastWatches(options),updateResult},InMemoryCache2.prototype.performTransaction=function(update,optimisticId){return this.batch({update,optimistic:optimisticId||optimisticId!==null})},InMemoryCache2.prototype.transformDocument=function(document2){return this.addTypenameToDocument(this.addFragmentsToDocument(document2))},InMemoryCache2.prototype.broadcastWatches=function(options){var _this=this;this.txCount||this.watches.forEach(function(c){return _this.maybeBroadcastWatch(c,options)})},InMemoryCache2.prototype.addFragmentsToDocument=function(document2){var fragments=this.config.fragments;return fragments?fragments.transform(document2):document2},InMemoryCache2.prototype.addTypenameToDocument=function(document2){return this.addTypename?this.addTypenameTransform.transformDocument(document2):document2},InMemoryCache2.prototype.broadcastWatch=function(c,options){var lastDiff=c.lastDiff,diff=this.diff(c);options&&(c.optimistic&&typeof options.optimistic=="string"&&(diff.fromOptimisticTransaction=!0),options.onWatchUpdated&&options.onWatchUpdated.call(this,c,diff,lastDiff)===!1)||(!lastDiff||!equal(lastDiff.result,diff.result))&&c.callback(c.lastDiff=diff,lastDiff)},InMemoryCache2}(ApolloCache);globalThis.__DEV__!==!1&&(InMemoryCache.prototype.getMemoryInternals=getInMemoryCacheMemoryInternals);var empty=ApolloLink.empty,from=ApolloLink.from,split=ApolloLink.split,concat=ApolloLink.concat,createSignalIfSupported=function(){if(typeof AbortController>"u")return{controller:!1,signal:!1};var controller=new AbortController,signal=controller.signal;return{controller,signal}};function toPromise(observable){var completed=!1;return new Promise(function(resolve,reject){observable.subscribe({next:function(data){completed?globalThis.__DEV__!==!1&&invariantWrappers_invariant.warn(43):(completed=!0,resolve(data))},error:reject})})}function fromPromise(promise){return new Observable(function(observer){promise.then(function(value){observer.next(value),observer.complete()}).catch(observer.error.bind(observer))})}var parser=__webpack_require__(64929),docCache=new Map,fragmentSourceMap=new Map,printFragmentWarnings=!0,experimentalFragmentVariables=!1;function lib_normalize(string){return string.replace(/[\s,]+/g," ").trim()}function cacheKeyFromLoc(loc){return lib_normalize(loc.source.body.substring(loc.start,loc.end))}function processFragments(ast){var seenKeys=new Set,definitions=[];return ast.definitions.forEach(function(fragmentDefinition){if(fragmentDefinition.kind==="FragmentDefinition"){var fragmentName=fragmentDefinition.name.value,sourceKey=cacheKeyFromLoc(fragmentDefinition.loc),sourceKeySet=fragmentSourceMap.get(fragmentName);sourceKeySet&&!sourceKeySet.has(sourceKey)?printFragmentWarnings&&console.warn("Warning: fragment with name "+fragmentName+` already exists.
689
689
  graphql-tag enforces all fragment names across your application to be unique; read more about
690
- this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):sourceKeySet||fragmentSourceMap.set(fragmentName,sourceKeySet=new Set),sourceKeySet.add(sourceKey),seenKeys.has(sourceKey)||(seenKeys.add(sourceKey),definitions.push(fragmentDefinition))}else definitions.push(fragmentDefinition)}),tslib_es6_assign(tslib_es6_assign({},ast),{definitions})}function stripLoc(doc){var workSet=new Set(doc.definitions);workSet.forEach(function(node){node.loc&&delete node.loc,Object.keys(node).forEach(function(key){var value=node[key];value&&typeof value=="object"&&workSet.add(value)})});var loc=doc.loc;return loc&&(delete loc.startToken,delete loc.endToken),doc}function parseDocument(source){var cacheKey=lib_normalize(source);if(!docCache.has(cacheKey)){var parsed=(0,parser.parse)(source,{experimentalFragmentVariables,allowLegacyFragmentVariables:experimentalFragmentVariables});if(!parsed||parsed.kind!=="Document")throw new Error("Not a valid GraphQL document.");docCache.set(cacheKey,stripLoc(processFragments(parsed)))}return docCache.get(cacheKey)}function gql(literals){for(var args=[],_i=1;_i<arguments.length;_i++)args[_i-1]=arguments[_i];typeof literals=="string"&&(literals=[literals]);var result=literals[0];return args.forEach(function(arg,i){arg&&arg.kind==="Document"?result+=arg.loc.source.body:result+=arg,result+=literals[i+1]}),parseDocument(result)}function resetCaches(){docCache.clear(),fragmentSourceMap.clear()}function disableFragmentWarnings(){printFragmentWarnings=!1}function enableExperimentalFragmentVariables(){experimentalFragmentVariables=!0}function disableExperimentalFragmentVariables(){experimentalFragmentVariables=!1}var extras={gql,resetCaches,disableFragmentWarnings,enableExperimentalFragmentVariables,disableExperimentalFragmentVariables};(function(gql_1){gql_1.gql=extras.gql,gql_1.resetCaches=extras.resetCaches,gql_1.disableFragmentWarnings=extras.disableFragmentWarnings,gql_1.enableExperimentalFragmentVariables=extras.enableExperimentalFragmentVariables,gql_1.disableExperimentalFragmentVariables=extras.disableExperimentalFragmentVariables})(gql||(gql={})),gql.default=gql;const graphql_tag_lib=null;setVerbosity(globalThis.__DEV__!==!1?"log":"silent");var rehackt=__webpack_require__(93226),rehackt_namespaceObject=__webpack_require__.t(rehackt,2),contextKey=canUseSymbol?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function getApolloContext(){invariantWrappers_invariant("createContext"in rehackt_namespaceObject,46);var context=rehackt.createContext[contextKey];return context||(Object.defineProperty(rehackt.createContext,contextKey,{value:context=rehackt.createContext({}),enumerable:!1,writable:!1,configurable:!0}),context.displayName="ApolloContext"),context}var resetApolloContext=getApolloContext,ApolloProvider=function(_a2){var client=_a2.client,children=_a2.children,ApolloContext=getApolloContext(),parentContext=rehackt.useContext(ApolloContext),context=rehackt.useMemo(function(){return tslib_es6_assign(tslib_es6_assign({},parentContext),{client:client||parentContext.client})},[parentContext,client]);return invariantWrappers_invariant(context.client,47),rehackt.createElement(ApolloContext.Provider,{value:context},children)},ApolloConsumer=function(props){var ApolloContext=getApolloContext();return rehackt.createElement(ApolloContext.Consumer,null,function(context){return invariantWrappers_invariant(context&&context.client,45),props.children(context.client)})};function useApolloClient(override){var context=rehackt.useContext(getApolloContext()),client=override||context.client;return invariantWrappers_invariant(!!client,50),client}var didWarnUncachedGetSnapshot=!1,uSESKey="useSyncExternalStore",realHook=rehackt_namespaceObject[uSESKey],useSyncExternalStore=realHook||function(subscribe,getSnapshot,getServerSnapshot){var value=getSnapshot();globalThis.__DEV__!==!1&&!didWarnUncachedGetSnapshot&&value!==getSnapshot()&&(didWarnUncachedGetSnapshot=!0,globalThis.__DEV__!==!1&&invariantWrappers_invariant.error(60));var _a2=rehackt.useState({inst:{value,getSnapshot}}),inst=_a2[0].inst,forceUpdate=_a2[1];return canUseLayoutEffect?rehackt.useLayoutEffect(function(){Object.assign(inst,{value,getSnapshot}),checkIfSnapshotChanged(inst)&&forceUpdate({inst})},[subscribe,value,getSnapshot]):Object.assign(inst,{value,getSnapshot}),rehackt.useEffect(function(){return checkIfSnapshotChanged(inst)&&forceUpdate({inst}),subscribe(function(){checkIfSnapshotChanged(inst)&&forceUpdate({inst})})},[subscribe]),value};function checkIfSnapshotChanged(_a2){var value=_a2.value,getSnapshot=_a2.getSnapshot;try{return value!==getSnapshot()}catch{return!0}}var DocumentType;(function(DocumentType2){DocumentType2[DocumentType2.Query=0]="Query",DocumentType2[DocumentType2.Mutation=1]="Mutation",DocumentType2[DocumentType2.Subscription=2]="Subscription"})(DocumentType||(DocumentType={}));var cache;function operationName(type){var name;switch(type){case DocumentType.Query:name="Query";break;case DocumentType.Mutation:name="Mutation";break;case DocumentType.Subscription:name="Subscription";break}return name}function parser_parser(document2){cache||(cache=new AutoCleanedWeakCache(cacheSizes.parser||1e3));var cached=cache.get(document2);if(cached)return cached;var variables,type,name;invariantWrappers_invariant(!!document2&&!!document2.kind,62,document2);for(var fragments=[],queries=[],mutations=[],subscriptions=[],_i=0,_a2=document2.definitions;_i<_a2.length;_i++){var x=_a2[_i];if(x.kind==="FragmentDefinition"){fragments.push(x);continue}if(x.kind==="OperationDefinition")switch(x.operation){case"query":queries.push(x);break;case"mutation":mutations.push(x);break;case"subscription":subscriptions.push(x);break}}invariantWrappers_invariant(!fragments.length||queries.length||mutations.length||subscriptions.length,63),invariantWrappers_invariant(queries.length+mutations.length+subscriptions.length<=1,64,document2,queries.length,subscriptions.length,mutations.length),type=queries.length?DocumentType.Query:DocumentType.Mutation,!queries.length&&!mutations.length&&(type=DocumentType.Subscription);var definitions=queries.length?queries:mutations.length?mutations:subscriptions;invariantWrappers_invariant(definitions.length===1,65,document2,definitions.length);var definition=definitions[0];variables=definition.variableDefinitions||[],definition.name&&definition.name.kind==="Name"?name=definition.name.value:name="data";var payload={name,type,variables};return cache.set(document2,payload),payload}parser_parser.resetCache=function(){cache=void 0},globalThis.__DEV__!==!1&&registerGlobalCache("parser",function(){return cache?cache.size:0});function verifyDocumentType(document2,type){var operation=parser_parser(document2),requiredOperationName=operationName(type),usedOperationName=operationName(operation.type);invariantWrappers_invariant(operation.type===type,66,requiredOperationName,requiredOperationName,usedOperationName)}var wrapperSymbol=Symbol.for("apollo.hook.wrappers");function wrapHook(hookName,useHook,clientOrObsQuery){var queryManager=clientOrObsQuery.queryManager,wrappers=queryManager&&queryManager[wrapperSymbol],wrapper=wrappers&&wrappers[hookName];return wrapper?wrapper(useHook):useHook}var useQuery_hasOwnProperty=Object.prototype.hasOwnProperty;function useQuery_noop(){}var lastWatchOptions=Symbol();function useQuery(query,options){return options===void 0&&(options=Object.create(null)),wrapHook("useQuery",_useQuery,useApolloClient(options&&options.client))(query,options)}function _useQuery(query,options){var _a2=useQueryInternals(query,options),result=_a2.result,obsQueryFields=_a2.obsQueryFields;return rehackt.useMemo(function(){return tslib_es6_assign(tslib_es6_assign({},result),obsQueryFields)},[result,obsQueryFields])}function useInternalState(client,query,options,renderPromises,makeWatchQueryOptions){function createInternalState(previous){var _a3;verifyDocumentType(query,DocumentType.Query);var internalState2={client,query,observable:renderPromises&&renderPromises.getSSRObservable(makeWatchQueryOptions())||client.watchQuery(getObsQueryOptions(void 0,client,options,makeWatchQueryOptions())),resultData:{previousData:(_a3=previous?.resultData.current)===null||_a3===void 0?void 0:_a3.data}};return internalState2}var _a2=rehackt.useState(createInternalState),internalState=_a2[0],updateInternalState=_a2[1];function onQueryExecuted(watchQueryOptions){var _a3,_b;Object.assign(internalState.observable,(_a3={},_a3[lastWatchOptions]=watchQueryOptions,_a3));var resultData=internalState.resultData;updateInternalState(tslib_es6_assign(tslib_es6_assign({},internalState),{query:watchQueryOptions.query,resultData:Object.assign(resultData,{previousData:((_b=resultData.current)===null||_b===void 0?void 0:_b.data)||resultData.previousData,current:void 0})}))}if(client!==internalState.client||query!==internalState.query){var newInternalState=createInternalState(internalState);return updateInternalState(newInternalState),[newInternalState,onQueryExecuted]}return[internalState,onQueryExecuted]}function useQueryInternals(query,options){var client=useApolloClient(options.client),renderPromises=rehackt.useContext(getApolloContext()).renderPromises,isSyncSSR=!!renderPromises,disableNetworkFetches=client.disableNetworkFetches,ssrAllowed=options.ssr!==!1&&!options.skip,partialRefetch=options.partialRefetch,makeWatchQueryOptions=createMakeWatchQueryOptions(client,query,options,isSyncSSR),_a2=useInternalState(client,query,options,renderPromises,makeWatchQueryOptions),_b=_a2[0],observable=_b.observable,resultData=_b.resultData,onQueryExecuted=_a2[1],watchQueryOptions=makeWatchQueryOptions(observable);useResubscribeIfNecessary(resultData,observable,client,options,watchQueryOptions);var obsQueryFields=rehackt.useMemo(function(){return bindObservableMethods(observable)},[observable]);useRegisterSSRObservable(observable,renderPromises,ssrAllowed);var result=useObservableSubscriptionResult(resultData,observable,client,options,watchQueryOptions,disableNetworkFetches,partialRefetch,isSyncSSR,{onCompleted:options.onCompleted||useQuery_noop,onError:options.onError||useQuery_noop});return{result,obsQueryFields,observable,resultData,client,onQueryExecuted}}function useObservableSubscriptionResult(resultData,observable,client,options,watchQueryOptions,disableNetworkFetches,partialRefetch,isSyncSSR,callbacks){var callbackRef=rehackt.useRef(callbacks);rehackt.useEffect(function(){callbackRef.current=callbacks});var resultOverride=(isSyncSSR||disableNetworkFetches)&&options.ssr===!1&&!options.skip?ssrDisabledResult:options.skip||watchQueryOptions.fetchPolicy==="standby"?skipStandbyResult:void 0,previousData=resultData.previousData,currentResultOverride=rehackt.useMemo(function(){return resultOverride&&toQueryResult(resultOverride,previousData,observable,client)},[client,observable,resultOverride,previousData]);return useSyncExternalStore(rehackt.useCallback(function(handleStoreChange){if(isSyncSSR)return function(){};var onNext=function(){var previousResult=resultData.current,result=observable.getCurrentResult();previousResult&&previousResult.loading===result.loading&&previousResult.networkStatus===result.networkStatus&&equal(previousResult.data,result.data)||setResult(result,resultData,observable,client,partialRefetch,handleStoreChange,callbackRef.current)},onError=function(error){if(subscription.current.unsubscribe(),subscription.current=observable.resubscribeAfterError(onNext,onError),!useQuery_hasOwnProperty.call(error,"graphQLErrors"))throw error;var previousResult=resultData.current;(!previousResult||previousResult&&previousResult.loading||!equal(error,previousResult.error))&&setResult({data:previousResult&&previousResult.data,error,loading:!1,networkStatus:NetworkStatus.error},resultData,observable,client,partialRefetch,handleStoreChange,callbackRef.current)},subscription={current:observable.subscribe(onNext,onError)};return function(){setTimeout(function(){return subscription.current.unsubscribe()})}},[disableNetworkFetches,isSyncSSR,observable,resultData,partialRefetch,client]),function(){return currentResultOverride||getCurrentResult(resultData,observable,callbackRef.current,partialRefetch,client)},function(){return currentResultOverride||getCurrentResult(resultData,observable,callbackRef.current,partialRefetch,client)})}function useRegisterSSRObservable(observable,renderPromises,ssrAllowed){renderPromises&&ssrAllowed&&(renderPromises.registerSSRObservable(observable),observable.getCurrentResult().loading&&renderPromises.addObservableQueryPromise(observable))}function useResubscribeIfNecessary(resultData,observable,client,options,watchQueryOptions){var _a2;observable[lastWatchOptions]&&!equal(observable[lastWatchOptions],watchQueryOptions)&&(observable.reobserve(getObsQueryOptions(observable,client,options,watchQueryOptions)),resultData.previousData=((_a2=resultData.current)===null||_a2===void 0?void 0:_a2.data)||resultData.previousData,resultData.current=void 0),observable[lastWatchOptions]=watchQueryOptions}function createMakeWatchQueryOptions(client,query,_a2,isSyncSSR){_a2===void 0&&(_a2={});var skip=_a2.skip,ssr=_a2.ssr,onCompleted=_a2.onCompleted,onError=_a2.onError,defaultOptions2=_a2.defaultOptions,otherOptions=__rest(_a2,["skip","ssr","onCompleted","onError","defaultOptions"]);return function(observable){var watchQueryOptions=Object.assign(otherOptions,{query});return isSyncSSR&&(watchQueryOptions.fetchPolicy==="network-only"||watchQueryOptions.fetchPolicy==="cache-and-network")&&(watchQueryOptions.fetchPolicy="cache-first"),watchQueryOptions.variables||(watchQueryOptions.variables={}),skip?(watchQueryOptions.initialFetchPolicy=watchQueryOptions.initialFetchPolicy||watchQueryOptions.fetchPolicy||getDefaultFetchPolicy(defaultOptions2,client.defaultOptions),watchQueryOptions.fetchPolicy="standby"):watchQueryOptions.fetchPolicy||(watchQueryOptions.fetchPolicy=observable?.options.initialFetchPolicy||getDefaultFetchPolicy(defaultOptions2,client.defaultOptions)),watchQueryOptions}}function getObsQueryOptions(observable,client,queryHookOptions,watchQueryOptions){var toMerge=[],globalDefaults=client.defaultOptions.watchQuery;return globalDefaults&&toMerge.push(globalDefaults),queryHookOptions.defaultOptions&&toMerge.push(queryHookOptions.defaultOptions),toMerge.push(compact(observable&&observable.options,watchQueryOptions)),toMerge.reduce(mergeOptions)}function setResult(nextResult,resultData,observable,client,partialRefetch,forceUpdate,callbacks){var previousResult=resultData.current;previousResult&&previousResult.data&&(resultData.previousData=previousResult.data),!nextResult.error&&isNonEmptyArray(nextResult.errors)&&(nextResult.error=new ApolloError({graphQLErrors:nextResult.errors})),resultData.current=toQueryResult(unsafeHandlePartialRefetch(nextResult,observable,partialRefetch),resultData.previousData,observable,client),forceUpdate(),handleErrorOrCompleted(nextResult,previousResult?.networkStatus,callbacks)}function handleErrorOrCompleted(result,previousNetworkStatus,callbacks){if(!result.loading){var error_1=toApolloError(result);Promise.resolve().then(function(){error_1?callbacks.onError(error_1):result.data&&previousNetworkStatus!==result.networkStatus&&result.networkStatus===NetworkStatus.ready&&callbacks.onCompleted(result.data)}).catch(function(error){globalThis.__DEV__!==!1&&invariantWrappers_invariant.warn(error)})}}function getCurrentResult(resultData,observable,callbacks,partialRefetch,client){return resultData.current||setResult(observable.getCurrentResult(),resultData,observable,client,partialRefetch,function(){},callbacks),resultData.current}function getDefaultFetchPolicy(queryHookDefaultOptions,clientDefaultOptions){var _a2;return queryHookDefaultOptions?.fetchPolicy||((_a2=clientDefaultOptions?.watchQuery)===null||_a2===void 0?void 0:_a2.fetchPolicy)||"cache-first"}function toApolloError(result){return isNonEmptyArray(result.errors)?new ApolloError({graphQLErrors:result.errors}):result.error}function toQueryResult(result,previousData,observable,client){var data=result.data,partial=result.partial,resultWithoutPartial=__rest(result,["data","partial"]),queryResult=tslib_es6_assign(tslib_es6_assign({data},resultWithoutPartial),{client,observable,variables:observable.variables,called:result!==ssrDisabledResult&&result!==skipStandbyResult,previousData});return queryResult}function unsafeHandlePartialRefetch(result,observable,partialRefetch){return result.partial&&partialRefetch&&!result.loading&&(!result.data||Object.keys(result.data).length===0)&&observable.options.fetchPolicy!=="cache-only"?(observable.refetch(),tslib_es6_assign(tslib_es6_assign({},result),{loading:!0,networkStatus:NetworkStatus.refetch})):result}var ssrDisabledResult=maybeDeepFreeze({loading:!0,data:void 0,error:void 0,networkStatus:NetworkStatus.loading}),skipStandbyResult=maybeDeepFreeze({loading:!1,data:void 0,error:void 0,networkStatus:NetworkStatus.ready});function bindObservableMethods(observable){return{refetch:observable.refetch.bind(observable),reobserve:observable.reobserve.bind(observable),fetchMore:observable.fetchMore.bind(observable),updateQuery:observable.updateQuery.bind(observable),startPolling:observable.startPolling.bind(observable),stopPolling:observable.stopPolling.bind(observable),subscribeToMore:observable.subscribeToMore.bind(observable)}}var useIsomorphicLayoutEffect=canUseDOM?rehackt.useLayoutEffect:rehackt.useEffect,EAGER_METHODS=["refetch","reobserve","fetchMore","updateQuery","startPolling","stopPolling","subscribeToMore"];function useLazyQuery(query,options){var _a2,execOptionsRef=rehackt.useRef(),optionsRef=rehackt.useRef(),queryRef=rehackt.useRef(),merged=mergeOptions(options,execOptionsRef.current||{}),document2=(_a2=merged?.query)!==null&&_a2!==void 0?_a2:query;optionsRef.current=options,queryRef.current=document2;var queryHookOptions=tslib_es6_assign(tslib_es6_assign({},merged),{skip:!execOptionsRef.current}),_b=useQueryInternals(document2,queryHookOptions),obsQueryFields=_b.obsQueryFields,useQueryResult=_b.result,client=_b.client,resultData=_b.resultData,observable=_b.observable,onQueryExecuted=_b.onQueryExecuted,initialFetchPolicy=observable.options.initialFetchPolicy||getDefaultFetchPolicy(queryHookOptions.defaultOptions,client.defaultOptions),forceUpdateState=rehackt.useReducer(function(tick){return tick+1},0)[1],eagerMethods=rehackt.useMemo(function(){for(var eagerMethods2={},_loop_1=function(key2){var method=obsQueryFields[key2];eagerMethods2[key2]=function(){return execOptionsRef.current||(execOptionsRef.current=Object.create(null),forceUpdateState()),method.apply(this,arguments)}},_i=0,EAGER_METHODS_1=EAGER_METHODS;_i<EAGER_METHODS_1.length;_i++){var key=EAGER_METHODS_1[_i];_loop_1(key)}return eagerMethods2},[forceUpdateState,obsQueryFields]),called=!!execOptionsRef.current,result=rehackt.useMemo(function(){return tslib_es6_assign(tslib_es6_assign(tslib_es6_assign({},useQueryResult),eagerMethods),{called})},[useQueryResult,eagerMethods,called]),execute2=rehackt.useCallback(function(executeOptions){execOptionsRef.current=executeOptions?tslib_es6_assign(tslib_es6_assign({},executeOptions),{fetchPolicy:executeOptions.fetchPolicy||initialFetchPolicy}):{fetchPolicy:initialFetchPolicy};var options2=mergeOptions(optionsRef.current,tslib_es6_assign({query:queryRef.current},execOptionsRef.current)),promise=executeQuery(resultData,observable,client,document2,tslib_es6_assign(tslib_es6_assign({},options2),{skip:!1}),onQueryExecuted).then(function(queryResult){return Object.assign(queryResult,eagerMethods)});return promise.catch(function(){}),promise},[client,document2,eagerMethods,initialFetchPolicy,observable,resultData,onQueryExecuted]),executeRef=rehackt.useRef(execute2);useIsomorphicLayoutEffect(function(){executeRef.current=execute2});var stableExecute=rehackt.useCallback(function(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];return executeRef.current.apply(executeRef,args)},[]);return[stableExecute,result]}function executeQuery(resultData,observable,client,currentQuery,options,onQueryExecuted){var query=options.query||currentQuery,watchQueryOptions=createMakeWatchQueryOptions(client,query,options,!1)(observable),concast=observable.reobserveAsConcast(getObsQueryOptions(observable,client,options,watchQueryOptions));return onQueryExecuted(watchQueryOptions),new Promise(function(resolve){var result;concast.subscribe({next:function(value){result=value},error:function(){resolve(toQueryResult(observable.getCurrentResult(),resultData.previousData,observable,client))},complete:function(){resolve(toQueryResult(result,resultData.previousData,observable,client))}})})}function useMutation(mutation,options){var client=useApolloClient(options?.client);verifyDocumentType(mutation,DocumentType.Mutation);var _a2=rehackt.useState({called:!1,loading:!1,client}),result=_a2[0],setResult2=_a2[1],ref=rehackt.useRef({result,mutationId:0,isMounted:!0,client,mutation,options});useIsomorphicLayoutEffect(function(){Object.assign(ref.current,{client,options,mutation})});var execute2=rehackt.useCallback(function(executeOptions){executeOptions===void 0&&(executeOptions={});var _a3=ref.current,options2=_a3.options,mutation2=_a3.mutation,baseOptions=tslib_es6_assign(tslib_es6_assign({},options2),{mutation:mutation2}),client2=executeOptions.client||ref.current.client;!ref.current.result.loading&&!baseOptions.ignoreResults&&ref.current.isMounted&&setResult2(ref.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:client2});var mutationId=++ref.current.mutationId,clientOptions=mergeOptions(baseOptions,executeOptions);return client2.mutate(clientOptions).then(function(response){var _a4,_b,data=response.data,errors=response.errors,error=errors&&errors.length>0?new ApolloError({graphQLErrors:errors}):void 0,onError=executeOptions.onError||((_a4=ref.current.options)===null||_a4===void 0?void 0:_a4.onError);if(error&&onError&&onError(error,clientOptions),mutationId===ref.current.mutationId&&!clientOptions.ignoreResults){var result_1={called:!0,loading:!1,data,error,client:client2};ref.current.isMounted&&!equal(ref.current.result,result_1)&&setResult2(ref.current.result=result_1)}var onCompleted=executeOptions.onCompleted||((_b=ref.current.options)===null||_b===void 0?void 0:_b.onCompleted);return error||onCompleted?.(response.data,clientOptions),response}).catch(function(error){var _a4;if(mutationId===ref.current.mutationId&&ref.current.isMounted){var result_2={loading:!1,error,data:void 0,called:!0,client:client2};equal(ref.current.result,result_2)||setResult2(ref.current.result=result_2)}var onError=executeOptions.onError||((_a4=ref.current.options)===null||_a4===void 0?void 0:_a4.onError);if(onError)return onError(error,clientOptions),{data:void 0,errors:error};throw error})},[]),reset=rehackt.useCallback(function(){if(ref.current.isMounted){var result_3={called:!1,loading:!1,client:ref.current.client};Object.assign(ref.current,{mutationId:0,result:result_3}),setResult2(result_3)}},[]);return rehackt.useEffect(function(){var current=ref.current;return current.isMounted=!0,function(){current.isMounted=!1}},[]),[execute2,tslib_es6_assign({reset},result)]}function useDeepMemo(memoFn,deps){var ref=rehackt.useRef();return(!ref.current||!equal(ref.current.deps,deps))&&(ref.current={value:memoFn(),deps}),ref.current.value}function useSubscription(subscription,options){options===void 0&&(options=Object.create(null));var hasIssuedDeprecationWarningRef=rehackt.useRef(!1),client=useApolloClient(options.client);verifyDocumentType(subscription,DocumentType.Subscription),hasIssuedDeprecationWarningRef.current||(hasIssuedDeprecationWarningRef.current=!0,options.onSubscriptionData&&globalThis.__DEV__!==!1&&invariantWrappers_invariant.warn(options.onData?53:54),options.onSubscriptionComplete&&globalThis.__DEV__!==!1&&invariantWrappers_invariant.warn(options.onComplete?55:56));var skip=options.skip,fetchPolicy=options.fetchPolicy,errorPolicy=options.errorPolicy,shouldResubscribe=options.shouldResubscribe,context=options.context,extensions=options.extensions,ignoreResults=options.ignoreResults,variables=useDeepMemo(function(){return options.variables},[options.variables]),recreate=function(){return createSubscription(client,subscription,variables,fetchPolicy,errorPolicy,context,extensions)},_a2=rehackt.useState(options.skip?null:recreate),observable=_a2[0],setObservable=_a2[1],recreateRef=rehackt.useRef(recreate);useIsomorphicLayoutEffect(function(){recreateRef.current=recreate}),skip?observable&&setObservable(observable=null):(!observable||(client!==observable.__.client||subscription!==observable.__.query||fetchPolicy!==observable.__.fetchPolicy||errorPolicy!==observable.__.errorPolicy||!equal(variables,observable.__.variables))&&(typeof shouldResubscribe=="function"?!!shouldResubscribe(options):shouldResubscribe)!==!1)&&setObservable(observable=recreate());var optionsRef=rehackt.useRef(options);rehackt.useEffect(function(){optionsRef.current=options});var fallbackLoading=!skip&&!ignoreResults,fallbackResult=rehackt.useMemo(function(){return{loading:fallbackLoading,error:void 0,data:void 0,variables}},[fallbackLoading,variables]),ignoreResultsRef=rehackt.useRef(ignoreResults);useIsomorphicLayoutEffect(function(){ignoreResultsRef.current=ignoreResults});var ret=useSyncExternalStore(rehackt.useCallback(function(update){if(!observable)return function(){};var subscriptionStopped=!1,variables2=observable.__.variables,client2=observable.__.client,subscription2=observable.subscribe({next:function(fetchResult){var _a3,_b;if(!subscriptionStopped){var result={loading:!1,data:fetchResult.data,error:toApolloError(fetchResult),variables:variables2};observable.__.setResult(result),ignoreResultsRef.current||update(),result.error?(_b=(_a3=optionsRef.current).onError)===null||_b===void 0||_b.call(_a3,result.error):optionsRef.current.onData?optionsRef.current.onData({client:client2,data:result}):optionsRef.current.onSubscriptionData&&optionsRef.current.onSubscriptionData({client:client2,subscriptionData:result})}},error:function(error){var _a3,_b;error=error instanceof ApolloError?error:new ApolloError({protocolErrors:[error]}),subscriptionStopped||(observable.__.setResult({loading:!1,data:void 0,error,variables:variables2}),ignoreResultsRef.current||update(),(_b=(_a3=optionsRef.current).onError)===null||_b===void 0||_b.call(_a3,error))},complete:function(){subscriptionStopped||(optionsRef.current.onComplete?optionsRef.current.onComplete():optionsRef.current.onSubscriptionComplete&&optionsRef.current.onSubscriptionComplete())}});return function(){subscriptionStopped=!0,setTimeout(function(){subscription2.unsubscribe()})}},[observable]),function(){return observable&&!skip&&!ignoreResults?observable.__.result:fallbackResult},function(){return fallbackResult}),restart=rehackt.useCallback(function(){invariantWrappers_invariant(!optionsRef.current.skip,57),setObservable(recreateRef.current())},[optionsRef,recreateRef]);return rehackt.useMemo(function(){return tslib_es6_assign(tslib_es6_assign({},ret),{restart})},[ret,restart])}function createSubscription(client,query,variables,fetchPolicy,errorPolicy,context,extensions){var options={query,variables,fetchPolicy,errorPolicy,context,extensions},__=tslib_es6_assign(tslib_es6_assign({},options),{client,result:{loading:!0,data:void 0,error:void 0,variables},setResult:function(result){__.result=result}}),observable=null;return Object.assign(new Observable(function(observer){observable||(observable=client.subscribe(options));var sub=observable.subscribe(observer);return function(){return sub.unsubscribe()}}),{__})}function useReactiveVar(rv){return useSyncExternalStore(rehackt.useCallback(function(update){return rv.onNextChange(function onNext(){update(),rv.onNextChange(onNext)})},[rv]),rv,rv)}function useFragment(options){return wrapHook("useFragment",_useFragment,useApolloClient(options.client))(options)}function _useFragment(options){var cache2=useApolloClient(options.client).cache,from2=options.from,rest=__rest(options,["from"]),id=rehackt.useMemo(function(){return typeof from2=="string"?from2:cache2.identify(from2)},[cache2,from2]),stableOptions=useDeepMemo(function(){return tslib_es6_assign(tslib_es6_assign({},rest),{from:id})},[rest,id]),diff=rehackt.useMemo(function(){var fragment=stableOptions.fragment,fragmentName=stableOptions.fragmentName,from3=stableOptions.from,_a2=stableOptions.optimistic,optimistic=_a2===void 0?!0:_a2;return{result:diffToResult(cache2.diff(tslib_es6_assign(tslib_es6_assign({},stableOptions),{returnPartialData:!0,id:from3,query:cache2.getFragmentDoc(fragment,fragmentName),optimistic})))}},[stableOptions,cache2]),getSnapshot=rehackt.useCallback(function(){return diff.result},[diff]);return useSyncExternalStore(rehackt.useCallback(function(forceUpdate){var lastTimeout=0,subscription=cache2.watchFragment(stableOptions).subscribe({next:function(result){lib(result,diff.result)||(diff.result=result,clearTimeout(lastTimeout),lastTimeout=setTimeout(forceUpdate))}});return function(){subscription.unsubscribe(),clearTimeout(lastTimeout)}},[cache2,stableOptions,diff]),getSnapshot,getSnapshot)}function diffToResult(diff){var result={data:diff.result,complete:!!diff.complete};return diff.missing&&(result.missing=mergeDeepArray(diff.missing.map(function(error){return error.missing}))),result}function createFulfilledPromise(value){var promise=Promise.resolve(value);return promise.status="fulfilled",promise.value=value,promise}function createRejectedPromise(reason){var promise=Promise.reject(reason);return promise.catch(function(){}),promise.status="rejected",promise.reason=reason,promise}function isStatefulPromise(promise){return"status"in promise}function wrapPromiseWithState(promise){if(isStatefulPromise(promise))return promise;var pendingPromise=promise;return pendingPromise.status="pending",pendingPromise.then(function(value){if(pendingPromise.status==="pending"){var fulfilledPromise=pendingPromise;fulfilledPromise.status="fulfilled",fulfilledPromise.value=value}},function(reason){if(pendingPromise.status==="pending"){var rejectedPromise=pendingPromise;rejectedPromise.status="rejected",rejectedPromise.reason=reason}}),promise}var useKey="use",_use_realHook=rehackt_namespaceObject[useKey],__use=_use_realHook||function(promise){var statefulPromise=wrapPromiseWithState(promise);switch(statefulPromise.status){case"pending":throw statefulPromise;case"rejected":throw statefulPromise.reason;case"fulfilled":return statefulPromise.value}},QUERY_REFERENCE_SYMBOL=Symbol(),PROMISE_SYMBOL=Symbol();function wrapQueryRef(internalQueryRef){var _a2,ref=(_a2={toPromise:function(){return getWrappedPromise(ref).then(function(){return ref})}},_a2[QUERY_REFERENCE_SYMBOL]=internalQueryRef,_a2[PROMISE_SYMBOL]=internalQueryRef.promise,_a2);return ref}function assertWrappedQueryRef(queryRef){invariantWrappers_invariant(!queryRef||QUERY_REFERENCE_SYMBOL in queryRef,61)}function getWrappedPromise(queryRef){var internalQueryRef=unwrapQueryRef(queryRef);return internalQueryRef.promise.status==="fulfilled"?internalQueryRef.promise:queryRef[PROMISE_SYMBOL]}function unwrapQueryRef(queryRef){return queryRef[QUERY_REFERENCE_SYMBOL]}function updateWrappedQueryRef(queryRef,promise){queryRef[PROMISE_SYMBOL]=promise}var OBSERVED_CHANGED_OPTIONS=["canonizeResults","context","errorPolicy","fetchPolicy","refetchWritePolicy","returnPartialData"],InternalQueryReference=function(){function InternalQueryReference2(observable,options){var _this=this;this.key={},this.listeners=new Set,this.references=0,this.softReferences=0,this.handleNext=this.handleNext.bind(this),this.handleError=this.handleError.bind(this),this.dispose=this.dispose.bind(this),this.observable=observable,options.onDispose&&(this.onDispose=options.onDispose),this.setResult(),this.subscribeToQuery();var startDisposeTimer=function(){var _a2;_this.references||(_this.autoDisposeTimeoutId=setTimeout(_this.dispose,(_a2=options.autoDisposeTimeoutMs)!==null&&_a2!==void 0?_a2:3e4))};this.promise.then(startDisposeTimer,startDisposeTimer)}return Object.defineProperty(InternalQueryReference2.prototype,"disposed",{get:function(){return this.subscription.closed},enumerable:!1,configurable:!0}),Object.defineProperty(InternalQueryReference2.prototype,"watchQueryOptions",{get:function(){return this.observable.options},enumerable:!1,configurable:!0}),InternalQueryReference2.prototype.reinitialize=function(){var observable=this.observable,originalFetchPolicy=this.watchQueryOptions.fetchPolicy,avoidNetworkRequests=originalFetchPolicy==="no-cache"||originalFetchPolicy==="standby";try{if(avoidNetworkRequests?observable.silentSetOptions({fetchPolicy:"standby"}):(observable.resetLastResults(),observable.silentSetOptions({fetchPolicy:"cache-first"})),this.subscribeToQuery(),avoidNetworkRequests)return;observable.resetDiff(),this.setResult()}finally{observable.silentSetOptions({fetchPolicy:originalFetchPolicy})}},InternalQueryReference2.prototype.retain=function(){var _this=this;this.references++,clearTimeout(this.autoDisposeTimeoutId);var disposed=!1;return function(){disposed||(disposed=!0,_this.references--,setTimeout(function(){_this.references||_this.dispose()}))}},InternalQueryReference2.prototype.softRetain=function(){var _this=this;this.softReferences++;var disposed=!1;return function(){disposed||(disposed=!0,_this.softReferences--,setTimeout(function(){!_this.softReferences&&!_this.references&&_this.dispose()}))}},InternalQueryReference2.prototype.didChangeOptions=function(watchQueryOptions){var _this=this;return OBSERVED_CHANGED_OPTIONS.some(function(option){return option in watchQueryOptions&&!equal(_this.watchQueryOptions[option],watchQueryOptions[option])})},InternalQueryReference2.prototype.applyOptions=function(watchQueryOptions){var _a2=this.watchQueryOptions,currentFetchPolicy=_a2.fetchPolicy,currentCanonizeResults=_a2.canonizeResults;return currentFetchPolicy==="standby"&&currentFetchPolicy!==watchQueryOptions.fetchPolicy?this.initiateFetch(this.observable.reobserve(watchQueryOptions)):(this.observable.silentSetOptions(watchQueryOptions),currentCanonizeResults!==watchQueryOptions.canonizeResults&&(this.result=tslib_es6_assign(tslib_es6_assign({},this.result),this.observable.getCurrentResult()),this.promise=createFulfilledPromise(this.result))),this.promise},InternalQueryReference2.prototype.listen=function(listener){var _this=this;return this.listeners.add(listener),function(){_this.listeners.delete(listener)}},InternalQueryReference2.prototype.refetch=function(variables){return this.initiateFetch(this.observable.refetch(variables))},InternalQueryReference2.prototype.fetchMore=function(options){return this.initiateFetch(this.observable.fetchMore(options))},InternalQueryReference2.prototype.dispose=function(){this.subscription.unsubscribe(),this.onDispose()},InternalQueryReference2.prototype.onDispose=function(){},InternalQueryReference2.prototype.handleNext=function(result){var _a2;switch(this.promise.status){case"pending":{result.data===void 0&&(result.data=this.result.data),this.result=result,(_a2=this.resolve)===null||_a2===void 0||_a2.call(this,result);break}default:{if(result.data===this.result.data&&result.networkStatus===this.result.networkStatus)return;result.data===void 0&&(result.data=this.result.data),this.result=result,this.promise=createFulfilledPromise(result),this.deliver(this.promise);break}}},InternalQueryReference2.prototype.handleError=function(error){var _a2;switch(this.subscription.unsubscribe(),this.subscription=this.observable.resubscribeAfterError(this.handleNext,this.handleError),this.promise.status){case"pending":{(_a2=this.reject)===null||_a2===void 0||_a2.call(this,error);break}default:this.promise=createRejectedPromise(error),this.deliver(this.promise)}},InternalQueryReference2.prototype.deliver=function(promise){this.listeners.forEach(function(listener){return listener(promise)})},InternalQueryReference2.prototype.initiateFetch=function(returnedPromise){var _this=this;return this.promise=this.createPendingPromise(),this.promise.catch(function(){}),returnedPromise.then(function(){setTimeout(function(){var _a2;_this.promise.status==="pending"&&(_this.result=_this.observable.getCurrentResult(),(_a2=_this.resolve)===null||_a2===void 0||_a2.call(_this,_this.result))})}).catch(function(){}),returnedPromise},InternalQueryReference2.prototype.subscribeToQuery=function(){var _this=this;this.subscription=this.observable.filter(function(result){return!equal(result.data,{})&&!equal(result,_this.result)}).subscribe(this.handleNext,this.handleError)},InternalQueryReference2.prototype.setResult=function(){var result=this.observable.getCurrentResult(!1);equal(result,this.result)||(this.result=result,this.promise=result.data&&(!result.partial||this.watchQueryOptions.returnPartialData)?createFulfilledPromise(result):this.createPendingPromise())},InternalQueryReference2.prototype.createPendingPromise=function(){var _this=this;return wrapPromiseWithState(new Promise(function(resolve,reject){_this.resolve=resolve,_this.reject=reject}))},InternalQueryReference2}(),SuspenseCache=function(){function SuspenseCache2(options){options===void 0&&(options=Object.create(null)),this.queryRefs=new Trie(canUseWeakMap),this.options=options}return SuspenseCache2.prototype.getQueryRef=function(cacheKey,createObservable){var ref=this.queryRefs.lookupArray(cacheKey);return ref.current||(ref.current=new InternalQueryReference(createObservable(),{autoDisposeTimeoutMs:this.options.autoDisposeTimeoutMs,onDispose:function(){delete ref.current}})),ref.current},SuspenseCache2.prototype.add=function(cacheKey,queryRef){var ref=this.queryRefs.lookupArray(cacheKey);ref.current=queryRef},SuspenseCache2}(),suspenseCacheSymbol=Symbol.for("apollo.suspenseCache");function getSuspenseCache(client){var _a2;return client[suspenseCacheSymbol]||(client[suspenseCacheSymbol]=new SuspenseCache((_a2=client.defaultOptions.react)===null||_a2===void 0?void 0:_a2.suspense)),client[suspenseCacheSymbol]}var skipToken=Symbol.for("apollo.skipToken");function useSuspenseQuery(query,options){return options===void 0&&(options=Object.create(null)),wrapHook("useSuspenseQuery",_useSuspenseQuery,useApolloClient(typeof options=="object"?options.client:void 0))(query,options)}function _useSuspenseQuery(query,options){var client=useApolloClient(options.client),suspenseCache=getSuspenseCache(client),watchQueryOptions=useWatchQueryOptions({client,query,options}),fetchPolicy=watchQueryOptions.fetchPolicy,variables=watchQueryOptions.variables,_a2=options.queryKey,queryKey=_a2===void 0?[]:_a2,cacheKey=__spreadArray([query,canonicalStringify(variables)],[].concat(queryKey),!0),queryRef=suspenseCache.getQueryRef(cacheKey,function(){return client.watchQuery(watchQueryOptions)}),_b=rehackt.useState([queryRef.key,queryRef.promise]),current=_b[0],setPromise=_b[1];current[0]!==queryRef.key&&(current[0]=queryRef.key,current[1]=queryRef.promise);var promise=current[1];queryRef.didChangeOptions(watchQueryOptions)&&(current[1]=promise=queryRef.applyOptions(watchQueryOptions)),rehackt.useEffect(function(){var dispose=queryRef.retain(),removeListener=queryRef.listen(function(promise2){setPromise([queryRef.key,promise2])});return function(){removeListener(),dispose()}},[queryRef]);var skipResult=rehackt.useMemo(function(){var error=useSuspenseQuery_toApolloError(queryRef.result);return{loading:!1,data:queryRef.result.data,networkStatus:error?NetworkStatus.error:NetworkStatus.ready,error}},[queryRef.result]),result=fetchPolicy==="standby"?skipResult:__use(promise),fetchMore=rehackt.useCallback(function(options2){var promise2=queryRef.fetchMore(options2);return setPromise([queryRef.key,queryRef.promise]),promise2},[queryRef]),refetch=rehackt.useCallback(function(variables2){var promise2=queryRef.refetch(variables2);return setPromise([queryRef.key,queryRef.promise]),promise2},[queryRef]),subscribeToMore=queryRef.observable.subscribeToMore;return rehackt.useMemo(function(){return{client,data:result.data,error:useSuspenseQuery_toApolloError(result),networkStatus:result.networkStatus,fetchMore,refetch,subscribeToMore}},[client,fetchMore,refetch,result,subscribeToMore])}function validateOptions(options){var query=options.query,fetchPolicy=options.fetchPolicy,returnPartialData=options.returnPartialData;verifyDocumentType(query,DocumentType.Query),validateFetchPolicy(fetchPolicy),validatePartialDataReturn(fetchPolicy,returnPartialData)}function validateFetchPolicy(fetchPolicy){fetchPolicy===void 0&&(fetchPolicy="cache-first");var supportedFetchPolicies=["cache-first","network-only","no-cache","cache-and-network"];invariantWrappers_invariant(supportedFetchPolicies.includes(fetchPolicy),58,fetchPolicy)}function validatePartialDataReturn(fetchPolicy,returnPartialData){fetchPolicy==="no-cache"&&returnPartialData&&globalThis.__DEV__!==!1&&invariantWrappers_invariant.warn(59)}function useSuspenseQuery_toApolloError(result){return isNonEmptyArray(result.errors)?new ApolloError({graphQLErrors:result.errors}):result.error}function useWatchQueryOptions(_a2){var client=_a2.client,query=_a2.query,options=_a2.options;return useDeepMemo(function(){var _a3;if(options===skipToken)return{query,fetchPolicy:"standby"};var fetchPolicy=options.fetchPolicy||((_a3=client.defaultOptions.watchQuery)===null||_a3===void 0?void 0:_a3.fetchPolicy)||"cache-first",watchQueryOptions=tslib_es6_assign(tslib_es6_assign({},options),{fetchPolicy,query,notifyOnNetworkStatusChange:!1,nextFetchPolicy:void 0});return globalThis.__DEV__!==!1&&validateOptions(watchQueryOptions),options.skip&&(watchQueryOptions.fetchPolicy="standby"),watchQueryOptions},[client,options,query])}function useBackgroundQuery(query,options){return options===void 0&&(options=Object.create(null)),wrapHook("useBackgroundQuery",_useBackgroundQuery,useApolloClient(typeof options=="object"?options.client:void 0))(query,options)}function _useBackgroundQuery(query,options){var client=useApolloClient(options.client),suspenseCache=getSuspenseCache(client),watchQueryOptions=useWatchQueryOptions({client,query,options}),fetchPolicy=watchQueryOptions.fetchPolicy,variables=watchQueryOptions.variables,_a2=options.queryKey,queryKey=_a2===void 0?[]:_a2,didFetchResult=rehackt.useRef(fetchPolicy!=="standby");didFetchResult.current||(didFetchResult.current=fetchPolicy!=="standby");var cacheKey=__spreadArray([query,canonicalStringify(variables)],[].concat(queryKey),!0),queryRef=suspenseCache.getQueryRef(cacheKey,function(){return client.watchQuery(watchQueryOptions)}),_b=rehackt.useState(wrapQueryRef(queryRef)),wrappedQueryRef=_b[0],setWrappedQueryRef=_b[1];if(unwrapQueryRef(wrappedQueryRef)!==queryRef&&setWrappedQueryRef(wrapQueryRef(queryRef)),queryRef.didChangeOptions(watchQueryOptions)){var promise=queryRef.applyOptions(watchQueryOptions);updateWrappedQueryRef(wrappedQueryRef,promise)}rehackt.useEffect(function(){var id=setTimeout(function(){queryRef.disposed&&suspenseCache.add(cacheKey,queryRef)});return function(){return clearTimeout(id)}});var fetchMore=rehackt.useCallback(function(options2){var promise2=queryRef.fetchMore(options2);return setWrappedQueryRef(wrapQueryRef(queryRef)),promise2},[queryRef]),refetch=rehackt.useCallback(function(variables2){var promise2=queryRef.refetch(variables2);return setWrappedQueryRef(wrapQueryRef(queryRef)),promise2},[queryRef]);return rehackt.useEffect(function(){return queryRef.softRetain()},[queryRef]),[didFetchResult.current?wrappedQueryRef:void 0,{fetchMore,refetch,subscribeToMore:queryRef.observable.subscribeToMore}]}var Ctx;function useRenderGuard_noop(){}function useRenderGuard(){return Ctx||(Ctx=rehackt.createContext(null)),rehackt.useCallback(function(){var orig=console.error;try{return console.error=useRenderGuard_noop,rehackt.useContext(Ctx),!0}catch{return!1}finally{console.error=orig}},[])}function useLoadableQuery(query,options){options===void 0&&(options=Object.create(null));var client=useApolloClient(options.client),suspenseCache=getSuspenseCache(client),watchQueryOptions=useWatchQueryOptions({client,query,options}),_a2=options.queryKey,queryKey=_a2===void 0?[]:_a2,_b=rehackt.useState(null),queryRef=_b[0],setQueryRef=_b[1];assertWrappedQueryRef(queryRef);var internalQueryRef=queryRef&&unwrapQueryRef(queryRef);if(queryRef&&internalQueryRef?.didChangeOptions(watchQueryOptions)){var promise=internalQueryRef.applyOptions(watchQueryOptions);updateWrappedQueryRef(queryRef,promise)}var calledDuringRender=useRenderGuard(),fetchMore=rehackt.useCallback(function(options2){if(!internalQueryRef)throw new Error("The query has not been loaded. Please load the query.");var promise2=internalQueryRef.fetchMore(options2);return setQueryRef(wrapQueryRef(internalQueryRef)),promise2},[internalQueryRef]),refetch=rehackt.useCallback(function(options2){if(!internalQueryRef)throw new Error("The query has not been loaded. Please load the query.");var promise2=internalQueryRef.refetch(options2);return setQueryRef(wrapQueryRef(internalQueryRef)),promise2},[internalQueryRef]),loadQuery=rehackt.useCallback(function(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];invariantWrappers_invariant(!calledDuringRender(),51);var variables=args[0],cacheKey=__spreadArray([query,canonicalStringify(variables)],[].concat(queryKey),!0),queryRef2=suspenseCache.getQueryRef(cacheKey,function(){return client.watchQuery(tslib_es6_assign(tslib_es6_assign({},watchQueryOptions),{variables}))});setQueryRef(wrapQueryRef(queryRef2))},[query,queryKey,suspenseCache,watchQueryOptions,calledDuringRender,client]),subscribeToMore=rehackt.useCallback(function(options2){return invariantWrappers_invariant(internalQueryRef,52),internalQueryRef.observable.subscribeToMore(options2)},[internalQueryRef]),reset=rehackt.useCallback(function(){setQueryRef(null)},[]);return[loadQuery,queryRef,{fetchMore,refetch,reset,subscribeToMore}]}function useQueryRefHandlers(queryRef){var unwrapped=unwrapQueryRef(queryRef);return wrapHook("useQueryRefHandlers",_useQueryRefHandlers,unwrapped?unwrapped.observable:useApolloClient())(queryRef)}function _useQueryRefHandlers(queryRef){assertWrappedQueryRef(queryRef);var _a2=rehackt.useState(queryRef),previousQueryRef=_a2[0],setPreviousQueryRef=_a2[1],_b=rehackt.useState(queryRef),wrappedQueryRef=_b[0],setWrappedQueryRef=_b[1],internalQueryRef=unwrapQueryRef(queryRef);previousQueryRef!==queryRef?(setPreviousQueryRef(queryRef),setWrappedQueryRef(queryRef)):updateWrappedQueryRef(queryRef,getWrappedPromise(wrappedQueryRef));var refetch=rehackt.useCallback(function(variables){var promise=internalQueryRef.refetch(variables);return setWrappedQueryRef(wrapQueryRef(internalQueryRef)),promise},[internalQueryRef]),fetchMore=rehackt.useCallback(function(options){var promise=internalQueryRef.fetchMore(options);return setWrappedQueryRef(wrapQueryRef(internalQueryRef)),promise},[internalQueryRef]);return{refetch,fetchMore,subscribeToMore:internalQueryRef.observable.subscribeToMore}}function useReadQuery(queryRef){var unwrapped=unwrapQueryRef(queryRef);return wrapHook("useReadQuery",_useReadQuery,unwrapped?unwrapped.observable:useApolloClient())(queryRef)}function _useReadQuery(queryRef){assertWrappedQueryRef(queryRef);var internalQueryRef=rehackt.useMemo(function(){return unwrapQueryRef(queryRef)},[queryRef]),getPromise=rehackt.useCallback(function(){return getWrappedPromise(queryRef)},[queryRef]);internalQueryRef.disposed&&(internalQueryRef.reinitialize(),updateWrappedQueryRef(queryRef,internalQueryRef.promise)),rehackt.useEffect(function(){return internalQueryRef.retain()},[internalQueryRef]);var promise=useSyncExternalStore(rehackt.useCallback(function(forceUpdate){return internalQueryRef.listen(function(promise2){updateWrappedQueryRef(queryRef,promise2),forceUpdate()})},[internalQueryRef,queryRef]),getPromise,getPromise),result=__use(promise);return rehackt.useMemo(function(){return{data:result.data,networkStatus:result.networkStatus,error:useSuspenseQuery_toApolloError(result)}},[result])}function createQueryPreloader(client){return wrapHook("createQueryPreloader",_createQueryPreloader,client)(client)}var _createQueryPreloader=function(client){return function(query,options){var _a2,_b;options===void 0&&(options=Object.create(null));var queryRef=new InternalQueryReference(client.watchQuery(tslib_es6_assign(tslib_es6_assign({},options),{query})),{autoDisposeTimeoutMs:(_b=(_a2=client.defaultOptions.react)===null||_a2===void 0?void 0:_a2.suspense)===null||_b===void 0?void 0:_b.autoDisposeTimeoutMs});return wrapQueryRef(queryRef)}}},97605:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>_extends});function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}},76004:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>_objectSpread});function _typeof(o){return _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o2){return typeof o2}:function(o2){return o2&&typeof Symbol=="function"&&o2.constructor===Symbol&&o2!==Symbol.prototype?"symbol":typeof o2},_typeof(o)}function _toPrimitive(input,hint){if(_typeof(input)!=="object"||input===null)return input;var prim=input[Symbol.toPrimitive];if(prim!==void 0){var res=prim.call(input,hint||"default");if(_typeof(res)!=="object")return res;throw new TypeError("@@toPrimitive must return a primitive value.")}return(hint==="string"?String:Number)(input)}function _toPropertyKey(arg){var key=_toPrimitive(arg,"string");return _typeof(key)==="symbol"?key:String(key)}function _defineProperty(obj,key,value){return key=_toPropertyKey(key),key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?Object(arguments[i]):{},ownKeys=Object.keys(source);typeof Object.getOwnPropertySymbols=="function"&&ownKeys.push.apply(ownKeys,Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})),ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}},2141:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>_objectWithoutProperties});function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},sourceKeys=Object.keys(source),key,i;for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],!(excluded.indexOf(key)>=0)&&(target[key]=source[key]);return target}function _objectWithoutProperties(source,excluded){if(source==null)return{};var target=_objectWithoutPropertiesLoose(source,excluded),key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],!(excluded.indexOf(key)>=0)&&(!Object.prototype.propertyIsEnumerable.call(source,key)||(target[key]=source[key]))}return target}},1182:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";var _home_circleci_bit_bit_node_modules_teambit_react_ui_docs_app_dist_index_js__WEBPACK_IMPORTED_MODULE_0___namespace_cache;__webpack_require__.d(__webpack_exports__,{Y:()=>_home_circleci_bit_bit_node_modules_teambit_react_ui_docs_app_dist_index_js__WEBPACK_IMPORTED_MODULE_0___namespace_cache||(_home_circleci_bit_bit_node_modules_teambit_react_ui_docs_app_dist_index_js__WEBPACK_IMPORTED_MODULE_0___namespace_cache=__webpack_require__.t(_home_circleci_bit_bit_node_modules_teambit_react_ui_docs_app_dist_index_js__WEBPACK_IMPORTED_MODULE_0__,2))});var _home_circleci_bit_bit_node_modules_teambit_react_ui_docs_app_dist_index_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(79022)},27102:module=>{"use strict";module.exports=JSON.parse('{"AElig":"\xC6","AMP":"&","Aacute":"\xC1","Acirc":"\xC2","Agrave":"\xC0","Aring":"\xC5","Atilde":"\xC3","Auml":"\xC4","COPY":"\xA9","Ccedil":"\xC7","ETH":"\xD0","Eacute":"\xC9","Ecirc":"\xCA","Egrave":"\xC8","Euml":"\xCB","GT":">","Iacute":"\xCD","Icirc":"\xCE","Igrave":"\xCC","Iuml":"\xCF","LT":"<","Ntilde":"\xD1","Oacute":"\xD3","Ocirc":"\xD4","Ograve":"\xD2","Oslash":"\xD8","Otilde":"\xD5","Ouml":"\xD6","QUOT":"\\"","REG":"\xAE","THORN":"\xDE","Uacute":"\xDA","Ucirc":"\xDB","Ugrave":"\xD9","Uuml":"\xDC","Yacute":"\xDD","aacute":"\xE1","acirc":"\xE2","acute":"\xB4","aelig":"\xE6","agrave":"\xE0","amp":"&","aring":"\xE5","atilde":"\xE3","auml":"\xE4","brvbar":"\xA6","ccedil":"\xE7","cedil":"\xB8","cent":"\xA2","copy":"\xA9","curren":"\xA4","deg":"\xB0","divide":"\xF7","eacute":"\xE9","ecirc":"\xEA","egrave":"\xE8","eth":"\xF0","euml":"\xEB","frac12":"\xBD","frac14":"\xBC","frac34":"\xBE","gt":">","iacute":"\xED","icirc":"\xEE","iexcl":"\xA1","igrave":"\xEC","iquest":"\xBF","iuml":"\xEF","laquo":"\xAB","lt":"<","macr":"\xAF","micro":"\xB5","middot":"\xB7","nbsp":"\xA0","not":"\xAC","ntilde":"\xF1","oacute":"\xF3","ocirc":"\xF4","ograve":"\xF2","ordf":"\xAA","ordm":"\xBA","oslash":"\xF8","otilde":"\xF5","ouml":"\xF6","para":"\xB6","plusmn":"\xB1","pound":"\xA3","quot":"\\"","raquo":"\xBB","reg":"\xAE","sect":"\xA7","shy":"\xAD","sup1":"\xB9","sup2":"\xB2","sup3":"\xB3","szlig":"\xDF","thorn":"\xFE","times":"\xD7","uacute":"\xFA","ucirc":"\xFB","ugrave":"\xF9","uml":"\xA8","uuml":"\xFC","yacute":"\xFD","yen":"\xA5","yuml":"\xFF"}')},71701:module=>{"use strict";module.exports=JSON.parse('{"0":"\uFFFD","128":"\u20AC","130":"\u201A","131":"\u0192","132":"\u201E","133":"\u2026","134":"\u2020","135":"\u2021","136":"\u02C6","137":"\u2030","138":"\u0160","139":"\u2039","140":"\u0152","142":"\u017D","145":"\u2018","146":"\u2019","147":"\u201C","148":"\u201D","149":"\u2022","150":"\u2013","151":"\u2014","152":"\u02DC","153":"\u2122","154":"\u0161","155":"\u203A","156":"\u0153","158":"\u017E","159":"\u0178"}')},20433:module=>{"use strict";module.exports=JSON.parse('{"year":{"previous":"last year","current":"this year","next":"next year","past":{"one":"a year ago","other":"{0} years ago"},"future":{"one":"in a year","other":"in {0} years"}},"quarter":{"previous":"last quarter","current":"this quarter","next":"next quarter","past":{"one":"a quarter ago","other":"{0} quarters ago"},"future":{"one":"in a quarter","other":"in {0} quarters"}},"month":{"previous":"last month","current":"this month","next":"next month","past":{"one":"a month ago","other":"{0} months ago"},"future":{"one":"in a month","other":"in {0} months"}},"week":{"previous":"last week","current":"this week","next":"next week","past":{"one":"a week ago","other":"{0} weeks ago"},"future":{"one":"in a week","other":"in {0} weeks"}},"day":{"previous":"yesterday","current":"today","next":"tomorrow","past":{"one":"a day ago","other":"{0} days ago"},"future":{"one":"in a day","other":"in {0} days"}},"hour":{"current":"this hour","past":{"one":"an hour ago","other":"{0} hours ago"},"future":{"one":"in an hour","other":"in {0} hours"}},"minute":{"current":"this minute","past":{"one":"a minute ago","other":"{0} minutes ago"},"future":{"one":"in a minute","other":"in {0} minutes"}},"second":{"current":"now","past":{"one":"a second ago","other":"{0} seconds ago"},"future":{"one":"in a second","other":"in {0} seconds"}},"now":{"future":"in a moment","past":"just now"}}')},94609:module=>{"use strict";module.exports=JSON.parse('{"year":{"one":"{0} year","other":"{0} years"},"month":{"one":"{0} month","other":"{0} months"},"week":{"one":"{0} week","other":"{0} weeks"},"day":{"one":"{0} day","other":"{0} days"},"hour":{"one":"{0} hour","other":"{0} hours"},"minute":{"one":"{0} minute","other":"{0} minutes"},"second":{"one":"{0} second","other":"{0} seconds"},"now":{"future":"in a moment","past":"just now"}}')},25873:module=>{"use strict";module.exports=JSON.parse('{"year":{"previous":"last yr.","current":"this yr.","next":"next yr.","past":"{0} yr. ago","future":"in {0} yr."},"quarter":{"previous":"last qtr.","current":"this qtr.","next":"next qtr.","past":{"one":"{0} qtr. ago","other":"{0} qtrs. ago"},"future":{"one":"in {0} qtr.","other":"in {0} qtrs."}},"month":{"previous":"last mo.","current":"this mo.","next":"next mo.","past":"{0} mo. ago","future":"in {0} mo."},"week":{"previous":"last wk.","current":"this wk.","next":"next wk.","past":"{0} wk. ago","future":"in {0} wk."},"day":{"previous":"yesterday","current":"today","next":"tomorrow","past":{"one":"{0} day ago","other":"{0} days ago"},"future":{"one":"in {0} day","other":"in {0} days"}},"hour":{"current":"this hour","past":"{0} hr. ago","future":"in {0} hr."},"minute":{"current":"this minute","past":"{0} min. ago","future":"in {0} min."},"second":{"current":"now","past":"{0} sec. ago","future":"in {0} sec."},"now":{"future":"in a moment","past":"just now"}}')},14640:module=>{"use strict";module.exports=JSON.parse('{"year":"{0} yr.","month":"{0} mo.","week":"{0} wk.","day":{"one":"{0} day","other":"{0} days"},"hour":"{0} hr.","minute":"{0} min.","second":"{0} sec.","now":"now"}')},27218:module=>{"use strict";module.exports=JSON.parse('{"year":"{0}yr","month":"{0}mo","week":"{0}wk","day":"{0}d","hour":"{0}h","minute":"{0}m","second":"{0}s","now":"now"}')},45641:module=>{"use strict";module.exports=JSON.parse('{"year":{"previous":"last year","current":"this year","next":"next year","past":{"one":"{0} year ago","other":"{0} years ago"},"future":{"one":"in {0} year","other":"in {0} years"}},"quarter":{"previous":"last quarter","current":"this quarter","next":"next quarter","past":{"one":"{0} quarter ago","other":"{0} quarters ago"},"future":{"one":"in {0} quarter","other":"in {0} quarters"}},"month":{"previous":"last month","current":"this month","next":"next month","past":{"one":"{0} month ago","other":"{0} months ago"},"future":{"one":"in {0} month","other":"in {0} months"}},"week":{"previous":"last week","current":"this week","next":"next week","past":{"one":"{0} week ago","other":"{0} weeks ago"},"future":{"one":"in {0} week","other":"in {0} weeks"}},"day":{"previous":"yesterday","current":"today","next":"tomorrow","past":{"one":"{0} day ago","other":"{0} days ago"},"future":{"one":"in {0} day","other":"in {0} days"}},"hour":{"current":"this hour","past":{"one":"{0} hour ago","other":"{0} hours ago"},"future":{"one":"in {0} hour","other":"in {0} hours"}},"minute":{"current":"this minute","past":{"one":"{0} minute ago","other":"{0} minutes ago"},"future":{"one":"in {0} minute","other":"in {0} minutes"}},"second":{"current":"now","past":{"one":"{0} second ago","other":"{0} seconds ago"},"future":{"one":"in {0} second","other":"in {0} seconds"}}}')},97009:module=>{"use strict";module.exports=JSON.parse('{"year":{"previous":"last yr.","current":"this yr.","next":"next yr.","past":"{0} yr. ago","future":"in {0} yr."},"quarter":{"previous":"last qtr.","current":"this qtr.","next":"next qtr.","past":{"one":"{0} qtr. ago","other":"{0} qtrs. ago"},"future":{"one":"in {0} qtr.","other":"in {0} qtrs."}},"month":{"previous":"last mo.","current":"this mo.","next":"next mo.","past":"{0} mo. ago","future":"in {0} mo."},"week":{"previous":"last wk.","current":"this wk.","next":"next wk.","past":"{0} wk. ago","future":"in {0} wk."},"day":{"previous":"yesterday","current":"today","next":"tomorrow","past":{"one":"{0} day ago","other":"{0} days ago"},"future":{"one":"in {0} day","other":"in {0} days"}},"hour":{"current":"this hour","past":"{0} hr. ago","future":"in {0} hr."},"minute":{"current":"this minute","past":"{0} min. ago","future":"in {0} min."},"second":{"current":"now","past":"{0} sec. ago","future":"in {0} sec."}}')},30963:module=>{"use strict";module.exports=JSON.parse('{"year":{"previous":"last yr.","current":"this yr.","next":"next yr.","past":"{0} yr. ago","future":"in {0} yr."},"quarter":{"previous":"last qtr.","current":"this qtr.","next":"next qtr.","past":{"one":"{0} qtr. ago","other":"{0} qtrs. ago"},"future":{"one":"in {0} qtr.","other":"in {0} qtrs."}},"month":{"previous":"last mo.","current":"this mo.","next":"next mo.","past":"{0} mo. ago","future":"in {0} mo."},"week":{"previous":"last wk.","current":"this wk.","next":"next wk.","past":"{0} wk. ago","future":"in {0} wk."},"day":{"previous":"yesterday","current":"today","next":"tomorrow","past":{"one":"{0} day ago","other":"{0} days ago"},"future":{"one":"in {0} day","other":"in {0} days"}},"hour":{"current":"this hour","past":"{0} hr. ago","future":"in {0} hr."},"minute":{"current":"this minute","past":"{0} min. ago","future":"in {0} min."},"second":{"current":"now","past":"{0} sec. ago","future":"in {0} sec."}}')}}]);
690
+ this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):sourceKeySet||fragmentSourceMap.set(fragmentName,sourceKeySet=new Set),sourceKeySet.add(sourceKey),seenKeys.has(sourceKey)||(seenKeys.add(sourceKey),definitions.push(fragmentDefinition))}else definitions.push(fragmentDefinition)}),tslib_es6_assign(tslib_es6_assign({},ast),{definitions})}function stripLoc(doc){var workSet=new Set(doc.definitions);workSet.forEach(function(node){node.loc&&delete node.loc,Object.keys(node).forEach(function(key){var value=node[key];value&&typeof value=="object"&&workSet.add(value)})});var loc=doc.loc;return loc&&(delete loc.startToken,delete loc.endToken),doc}function parseDocument(source){var cacheKey=lib_normalize(source);if(!docCache.has(cacheKey)){var parsed=(0,parser.parse)(source,{experimentalFragmentVariables,allowLegacyFragmentVariables:experimentalFragmentVariables});if(!parsed||parsed.kind!=="Document")throw new Error("Not a valid GraphQL document.");docCache.set(cacheKey,stripLoc(processFragments(parsed)))}return docCache.get(cacheKey)}function gql(literals){for(var args=[],_i=1;_i<arguments.length;_i++)args[_i-1]=arguments[_i];typeof literals=="string"&&(literals=[literals]);var result=literals[0];return args.forEach(function(arg,i){arg&&arg.kind==="Document"?result+=arg.loc.source.body:result+=arg,result+=literals[i+1]}),parseDocument(result)}function resetCaches(){docCache.clear(),fragmentSourceMap.clear()}function disableFragmentWarnings(){printFragmentWarnings=!1}function enableExperimentalFragmentVariables(){experimentalFragmentVariables=!0}function disableExperimentalFragmentVariables(){experimentalFragmentVariables=!1}var extras={gql,resetCaches,disableFragmentWarnings,enableExperimentalFragmentVariables,disableExperimentalFragmentVariables};(function(gql_1){gql_1.gql=extras.gql,gql_1.resetCaches=extras.resetCaches,gql_1.disableFragmentWarnings=extras.disableFragmentWarnings,gql_1.enableExperimentalFragmentVariables=extras.enableExperimentalFragmentVariables,gql_1.disableExperimentalFragmentVariables=extras.disableExperimentalFragmentVariables})(gql||(gql={})),gql.default=gql;const graphql_tag_lib=null;setVerbosity(globalThis.__DEV__!==!1?"log":"silent");var rehackt=__webpack_require__(93226),rehackt_namespaceObject=__webpack_require__.t(rehackt,2),contextKey=canUseSymbol?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function getApolloContext(){invariantWrappers_invariant("createContext"in rehackt_namespaceObject,46);var context=rehackt.createContext[contextKey];return context||(Object.defineProperty(rehackt.createContext,contextKey,{value:context=rehackt.createContext({}),enumerable:!1,writable:!1,configurable:!0}),context.displayName="ApolloContext"),context}var resetApolloContext=getApolloContext,ApolloProvider=function(_a2){var client=_a2.client,children=_a2.children,ApolloContext=getApolloContext(),parentContext=rehackt.useContext(ApolloContext),context=rehackt.useMemo(function(){return tslib_es6_assign(tslib_es6_assign({},parentContext),{client:client||parentContext.client})},[parentContext,client]);return invariantWrappers_invariant(context.client,47),rehackt.createElement(ApolloContext.Provider,{value:context},children)},ApolloConsumer=function(props){var ApolloContext=getApolloContext();return rehackt.createElement(ApolloContext.Consumer,null,function(context){return invariantWrappers_invariant(context&&context.client,45),props.children(context.client)})};function useApolloClient(override){var context=rehackt.useContext(getApolloContext()),client=override||context.client;return invariantWrappers_invariant(!!client,50),client}var didWarnUncachedGetSnapshot=!1,uSESKey="useSyncExternalStore",realHook=rehackt_namespaceObject[uSESKey],useSyncExternalStore=realHook||function(subscribe,getSnapshot,getServerSnapshot){var value=getSnapshot();globalThis.__DEV__!==!1&&!didWarnUncachedGetSnapshot&&value!==getSnapshot()&&(didWarnUncachedGetSnapshot=!0,globalThis.__DEV__!==!1&&invariantWrappers_invariant.error(60));var _a2=rehackt.useState({inst:{value,getSnapshot}}),inst=_a2[0].inst,forceUpdate=_a2[1];return canUseLayoutEffect?rehackt.useLayoutEffect(function(){Object.assign(inst,{value,getSnapshot}),checkIfSnapshotChanged(inst)&&forceUpdate({inst})},[subscribe,value,getSnapshot]):Object.assign(inst,{value,getSnapshot}),rehackt.useEffect(function(){return checkIfSnapshotChanged(inst)&&forceUpdate({inst}),subscribe(function(){checkIfSnapshotChanged(inst)&&forceUpdate({inst})})},[subscribe]),value};function checkIfSnapshotChanged(_a2){var value=_a2.value,getSnapshot=_a2.getSnapshot;try{return value!==getSnapshot()}catch{return!0}}var DocumentType;(function(DocumentType2){DocumentType2[DocumentType2.Query=0]="Query",DocumentType2[DocumentType2.Mutation=1]="Mutation",DocumentType2[DocumentType2.Subscription=2]="Subscription"})(DocumentType||(DocumentType={}));var cache;function operationName(type){var name;switch(type){case DocumentType.Query:name="Query";break;case DocumentType.Mutation:name="Mutation";break;case DocumentType.Subscription:name="Subscription";break}return name}function parser_parser(document2){cache||(cache=new AutoCleanedWeakCache(cacheSizes.parser||1e3));var cached=cache.get(document2);if(cached)return cached;var variables,type,name;invariantWrappers_invariant(!!document2&&!!document2.kind,62,document2);for(var fragments=[],queries=[],mutations=[],subscriptions=[],_i=0,_a2=document2.definitions;_i<_a2.length;_i++){var x=_a2[_i];if(x.kind==="FragmentDefinition"){fragments.push(x);continue}if(x.kind==="OperationDefinition")switch(x.operation){case"query":queries.push(x);break;case"mutation":mutations.push(x);break;case"subscription":subscriptions.push(x);break}}invariantWrappers_invariant(!fragments.length||queries.length||mutations.length||subscriptions.length,63),invariantWrappers_invariant(queries.length+mutations.length+subscriptions.length<=1,64,document2,queries.length,subscriptions.length,mutations.length),type=queries.length?DocumentType.Query:DocumentType.Mutation,!queries.length&&!mutations.length&&(type=DocumentType.Subscription);var definitions=queries.length?queries:mutations.length?mutations:subscriptions;invariantWrappers_invariant(definitions.length===1,65,document2,definitions.length);var definition=definitions[0];variables=definition.variableDefinitions||[],definition.name&&definition.name.kind==="Name"?name=definition.name.value:name="data";var payload={name,type,variables};return cache.set(document2,payload),payload}parser_parser.resetCache=function(){cache=void 0},globalThis.__DEV__!==!1&&registerGlobalCache("parser",function(){return cache?cache.size:0});function verifyDocumentType(document2,type){var operation=parser_parser(document2),requiredOperationName=operationName(type),usedOperationName=operationName(operation.type);invariantWrappers_invariant(operation.type===type,66,requiredOperationName,requiredOperationName,usedOperationName)}var wrapperSymbol=Symbol.for("apollo.hook.wrappers");function wrapHook(hookName,useHook,clientOrObsQuery){var queryManager=clientOrObsQuery.queryManager,wrappers=queryManager&&queryManager[wrapperSymbol],wrapper=wrappers&&wrappers[hookName];return wrapper?wrapper(useHook):useHook}var useQuery_hasOwnProperty=Object.prototype.hasOwnProperty;function useQuery_noop(){}var lastWatchOptions=Symbol();function useQuery(query,options){return options===void 0&&(options=Object.create(null)),wrapHook("useQuery",_useQuery,useApolloClient(options&&options.client))(query,options)}function _useQuery(query,options){var _a2=useQueryInternals(query,options),result=_a2.result,obsQueryFields=_a2.obsQueryFields;return rehackt.useMemo(function(){return tslib_es6_assign(tslib_es6_assign({},result),obsQueryFields)},[result,obsQueryFields])}function useInternalState(client,query,options,renderPromises,makeWatchQueryOptions){function createInternalState(previous){var _a3;verifyDocumentType(query,DocumentType.Query);var internalState2={client,query,observable:renderPromises&&renderPromises.getSSRObservable(makeWatchQueryOptions())||client.watchQuery(getObsQueryOptions(void 0,client,options,makeWatchQueryOptions())),resultData:{previousData:(_a3=previous?.resultData.current)===null||_a3===void 0?void 0:_a3.data}};return internalState2}var _a2=rehackt.useState(createInternalState),internalState=_a2[0],updateInternalState=_a2[1];function onQueryExecuted(watchQueryOptions){var _a3,_b;Object.assign(internalState.observable,(_a3={},_a3[lastWatchOptions]=watchQueryOptions,_a3));var resultData=internalState.resultData;updateInternalState(tslib_es6_assign(tslib_es6_assign({},internalState),{query:watchQueryOptions.query,resultData:Object.assign(resultData,{previousData:((_b=resultData.current)===null||_b===void 0?void 0:_b.data)||resultData.previousData,current:void 0})}))}if(client!==internalState.client||query!==internalState.query){var newInternalState=createInternalState(internalState);return updateInternalState(newInternalState),[newInternalState,onQueryExecuted]}return[internalState,onQueryExecuted]}function useQueryInternals(query,options){var client=useApolloClient(options.client),renderPromises=rehackt.useContext(getApolloContext()).renderPromises,isSyncSSR=!!renderPromises,disableNetworkFetches=client.disableNetworkFetches,ssrAllowed=options.ssr!==!1&&!options.skip,partialRefetch=options.partialRefetch,makeWatchQueryOptions=createMakeWatchQueryOptions(client,query,options,isSyncSSR),_a2=useInternalState(client,query,options,renderPromises,makeWatchQueryOptions),_b=_a2[0],observable=_b.observable,resultData=_b.resultData,onQueryExecuted=_a2[1],watchQueryOptions=makeWatchQueryOptions(observable);useResubscribeIfNecessary(resultData,observable,client,options,watchQueryOptions);var obsQueryFields=rehackt.useMemo(function(){return bindObservableMethods(observable)},[observable]);useRegisterSSRObservable(observable,renderPromises,ssrAllowed);var result=useObservableSubscriptionResult(resultData,observable,client,options,watchQueryOptions,disableNetworkFetches,partialRefetch,isSyncSSR,{onCompleted:options.onCompleted||useQuery_noop,onError:options.onError||useQuery_noop});return{result,obsQueryFields,observable,resultData,client,onQueryExecuted}}function useObservableSubscriptionResult(resultData,observable,client,options,watchQueryOptions,disableNetworkFetches,partialRefetch,isSyncSSR,callbacks){var callbackRef=rehackt.useRef(callbacks);rehackt.useEffect(function(){callbackRef.current=callbacks});var resultOverride=(isSyncSSR||disableNetworkFetches)&&options.ssr===!1&&!options.skip?ssrDisabledResult:options.skip||watchQueryOptions.fetchPolicy==="standby"?skipStandbyResult:void 0,previousData=resultData.previousData,currentResultOverride=rehackt.useMemo(function(){return resultOverride&&toQueryResult(resultOverride,previousData,observable,client)},[client,observable,resultOverride,previousData]);return useSyncExternalStore(rehackt.useCallback(function(handleStoreChange){if(isSyncSSR)return function(){};var onNext=function(){var previousResult=resultData.current,result=observable.getCurrentResult();previousResult&&previousResult.loading===result.loading&&previousResult.networkStatus===result.networkStatus&&equal(previousResult.data,result.data)||setResult(result,resultData,observable,client,partialRefetch,handleStoreChange,callbackRef.current)},onError=function(error){if(subscription.current.unsubscribe(),subscription.current=observable.resubscribeAfterError(onNext,onError),!useQuery_hasOwnProperty.call(error,"graphQLErrors"))throw error;var previousResult=resultData.current;(!previousResult||previousResult&&previousResult.loading||!equal(error,previousResult.error))&&setResult({data:previousResult&&previousResult.data,error,loading:!1,networkStatus:NetworkStatus.error},resultData,observable,client,partialRefetch,handleStoreChange,callbackRef.current)},subscription={current:observable.subscribe(onNext,onError)};return function(){setTimeout(function(){return subscription.current.unsubscribe()})}},[disableNetworkFetches,isSyncSSR,observable,resultData,partialRefetch,client]),function(){return currentResultOverride||getCurrentResult(resultData,observable,callbackRef.current,partialRefetch,client)},function(){return currentResultOverride||getCurrentResult(resultData,observable,callbackRef.current,partialRefetch,client)})}function useRegisterSSRObservable(observable,renderPromises,ssrAllowed){renderPromises&&ssrAllowed&&(renderPromises.registerSSRObservable(observable),observable.getCurrentResult().loading&&renderPromises.addObservableQueryPromise(observable))}function useResubscribeIfNecessary(resultData,observable,client,options,watchQueryOptions){var _a2;observable[lastWatchOptions]&&!equal(observable[lastWatchOptions],watchQueryOptions)&&(observable.reobserve(getObsQueryOptions(observable,client,options,watchQueryOptions)),resultData.previousData=((_a2=resultData.current)===null||_a2===void 0?void 0:_a2.data)||resultData.previousData,resultData.current=void 0),observable[lastWatchOptions]=watchQueryOptions}function createMakeWatchQueryOptions(client,query,_a2,isSyncSSR){_a2===void 0&&(_a2={});var skip=_a2.skip,ssr=_a2.ssr,onCompleted=_a2.onCompleted,onError=_a2.onError,defaultOptions2=_a2.defaultOptions,otherOptions=__rest(_a2,["skip","ssr","onCompleted","onError","defaultOptions"]);return function(observable){var watchQueryOptions=Object.assign(otherOptions,{query});return isSyncSSR&&(watchQueryOptions.fetchPolicy==="network-only"||watchQueryOptions.fetchPolicy==="cache-and-network")&&(watchQueryOptions.fetchPolicy="cache-first"),watchQueryOptions.variables||(watchQueryOptions.variables={}),skip?(watchQueryOptions.initialFetchPolicy=watchQueryOptions.initialFetchPolicy||watchQueryOptions.fetchPolicy||getDefaultFetchPolicy(defaultOptions2,client.defaultOptions),watchQueryOptions.fetchPolicy="standby"):watchQueryOptions.fetchPolicy||(watchQueryOptions.fetchPolicy=observable?.options.initialFetchPolicy||getDefaultFetchPolicy(defaultOptions2,client.defaultOptions)),watchQueryOptions}}function getObsQueryOptions(observable,client,queryHookOptions,watchQueryOptions){var toMerge=[],globalDefaults=client.defaultOptions.watchQuery;return globalDefaults&&toMerge.push(globalDefaults),queryHookOptions.defaultOptions&&toMerge.push(queryHookOptions.defaultOptions),toMerge.push(compact(observable&&observable.options,watchQueryOptions)),toMerge.reduce(mergeOptions)}function setResult(nextResult,resultData,observable,client,partialRefetch,forceUpdate,callbacks){var previousResult=resultData.current;previousResult&&previousResult.data&&(resultData.previousData=previousResult.data),!nextResult.error&&isNonEmptyArray(nextResult.errors)&&(nextResult.error=new ApolloError({graphQLErrors:nextResult.errors})),resultData.current=toQueryResult(unsafeHandlePartialRefetch(nextResult,observable,partialRefetch),resultData.previousData,observable,client),forceUpdate(),handleErrorOrCompleted(nextResult,previousResult?.networkStatus,callbacks)}function handleErrorOrCompleted(result,previousNetworkStatus,callbacks){if(!result.loading){var error_1=toApolloError(result);Promise.resolve().then(function(){error_1?callbacks.onError(error_1):result.data&&previousNetworkStatus!==result.networkStatus&&result.networkStatus===NetworkStatus.ready&&callbacks.onCompleted(result.data)}).catch(function(error){globalThis.__DEV__!==!1&&invariantWrappers_invariant.warn(error)})}}function getCurrentResult(resultData,observable,callbacks,partialRefetch,client){return resultData.current||setResult(observable.getCurrentResult(),resultData,observable,client,partialRefetch,function(){},callbacks),resultData.current}function getDefaultFetchPolicy(queryHookDefaultOptions,clientDefaultOptions){var _a2;return queryHookDefaultOptions?.fetchPolicy||((_a2=clientDefaultOptions?.watchQuery)===null||_a2===void 0?void 0:_a2.fetchPolicy)||"cache-first"}function toApolloError(result){return isNonEmptyArray(result.errors)?new ApolloError({graphQLErrors:result.errors}):result.error}function toQueryResult(result,previousData,observable,client){var data=result.data,partial=result.partial,resultWithoutPartial=__rest(result,["data","partial"]),queryResult=tslib_es6_assign(tslib_es6_assign({data},resultWithoutPartial),{client,observable,variables:observable.variables,called:result!==ssrDisabledResult&&result!==skipStandbyResult,previousData});return queryResult}function unsafeHandlePartialRefetch(result,observable,partialRefetch){return result.partial&&partialRefetch&&!result.loading&&(!result.data||Object.keys(result.data).length===0)&&observable.options.fetchPolicy!=="cache-only"?(observable.refetch(),tslib_es6_assign(tslib_es6_assign({},result),{loading:!0,networkStatus:NetworkStatus.refetch})):result}var ssrDisabledResult=maybeDeepFreeze({loading:!0,data:void 0,error:void 0,networkStatus:NetworkStatus.loading}),skipStandbyResult=maybeDeepFreeze({loading:!1,data:void 0,error:void 0,networkStatus:NetworkStatus.ready});function bindObservableMethods(observable){return{refetch:observable.refetch.bind(observable),reobserve:observable.reobserve.bind(observable),fetchMore:observable.fetchMore.bind(observable),updateQuery:observable.updateQuery.bind(observable),startPolling:observable.startPolling.bind(observable),stopPolling:observable.stopPolling.bind(observable),subscribeToMore:observable.subscribeToMore.bind(observable)}}var useIsomorphicLayoutEffect=canUseDOM?rehackt.useLayoutEffect:rehackt.useEffect,EAGER_METHODS=["refetch","reobserve","fetchMore","updateQuery","startPolling","stopPolling","subscribeToMore"];function useLazyQuery(query,options){var _a2,execOptionsRef=rehackt.useRef(),optionsRef=rehackt.useRef(),queryRef=rehackt.useRef(),merged=mergeOptions(options,execOptionsRef.current||{}),document2=(_a2=merged?.query)!==null&&_a2!==void 0?_a2:query;optionsRef.current=options,queryRef.current=document2;var queryHookOptions=tslib_es6_assign(tslib_es6_assign({},merged),{skip:!execOptionsRef.current}),_b=useQueryInternals(document2,queryHookOptions),obsQueryFields=_b.obsQueryFields,useQueryResult=_b.result,client=_b.client,resultData=_b.resultData,observable=_b.observable,onQueryExecuted=_b.onQueryExecuted,initialFetchPolicy=observable.options.initialFetchPolicy||getDefaultFetchPolicy(queryHookOptions.defaultOptions,client.defaultOptions),forceUpdateState=rehackt.useReducer(function(tick){return tick+1},0)[1],eagerMethods=rehackt.useMemo(function(){for(var eagerMethods2={},_loop_1=function(key2){var method=obsQueryFields[key2];eagerMethods2[key2]=function(){return execOptionsRef.current||(execOptionsRef.current=Object.create(null),forceUpdateState()),method.apply(this,arguments)}},_i=0,EAGER_METHODS_1=EAGER_METHODS;_i<EAGER_METHODS_1.length;_i++){var key=EAGER_METHODS_1[_i];_loop_1(key)}return eagerMethods2},[forceUpdateState,obsQueryFields]),called=!!execOptionsRef.current,result=rehackt.useMemo(function(){return tslib_es6_assign(tslib_es6_assign(tslib_es6_assign({},useQueryResult),eagerMethods),{called})},[useQueryResult,eagerMethods,called]),execute2=rehackt.useCallback(function(executeOptions){execOptionsRef.current=executeOptions?tslib_es6_assign(tslib_es6_assign({},executeOptions),{fetchPolicy:executeOptions.fetchPolicy||initialFetchPolicy}):{fetchPolicy:initialFetchPolicy};var options2=mergeOptions(optionsRef.current,tslib_es6_assign({query:queryRef.current},execOptionsRef.current)),promise=executeQuery(resultData,observable,client,document2,tslib_es6_assign(tslib_es6_assign({},options2),{skip:!1}),onQueryExecuted).then(function(queryResult){return Object.assign(queryResult,eagerMethods)});return promise.catch(function(){}),promise},[client,document2,eagerMethods,initialFetchPolicy,observable,resultData,onQueryExecuted]),executeRef=rehackt.useRef(execute2);useIsomorphicLayoutEffect(function(){executeRef.current=execute2});var stableExecute=rehackt.useCallback(function(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];return executeRef.current.apply(executeRef,args)},[]);return[stableExecute,result]}function executeQuery(resultData,observable,client,currentQuery,options,onQueryExecuted){var query=options.query||currentQuery,watchQueryOptions=createMakeWatchQueryOptions(client,query,options,!1)(observable),concast=observable.reobserveAsConcast(getObsQueryOptions(observable,client,options,watchQueryOptions));return onQueryExecuted(watchQueryOptions),new Promise(function(resolve){var result;concast.subscribe({next:function(value){result=value},error:function(){resolve(toQueryResult(observable.getCurrentResult(),resultData.previousData,observable,client))},complete:function(){resolve(toQueryResult(result,resultData.previousData,observable,client))}})})}function useMutation(mutation,options){var client=useApolloClient(options?.client);verifyDocumentType(mutation,DocumentType.Mutation);var _a2=rehackt.useState({called:!1,loading:!1,client}),result=_a2[0],setResult2=_a2[1],ref=rehackt.useRef({result,mutationId:0,isMounted:!0,client,mutation,options});useIsomorphicLayoutEffect(function(){Object.assign(ref.current,{client,options,mutation})});var execute2=rehackt.useCallback(function(executeOptions){executeOptions===void 0&&(executeOptions={});var _a3=ref.current,options2=_a3.options,mutation2=_a3.mutation,baseOptions=tslib_es6_assign(tslib_es6_assign({},options2),{mutation:mutation2}),client2=executeOptions.client||ref.current.client;!ref.current.result.loading&&!baseOptions.ignoreResults&&ref.current.isMounted&&setResult2(ref.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:client2});var mutationId=++ref.current.mutationId,clientOptions=mergeOptions(baseOptions,executeOptions);return client2.mutate(clientOptions).then(function(response){var _a4,_b,data=response.data,errors=response.errors,error=errors&&errors.length>0?new ApolloError({graphQLErrors:errors}):void 0,onError=executeOptions.onError||((_a4=ref.current.options)===null||_a4===void 0?void 0:_a4.onError);if(error&&onError&&onError(error,clientOptions),mutationId===ref.current.mutationId&&!clientOptions.ignoreResults){var result_1={called:!0,loading:!1,data,error,client:client2};ref.current.isMounted&&!equal(ref.current.result,result_1)&&setResult2(ref.current.result=result_1)}var onCompleted=executeOptions.onCompleted||((_b=ref.current.options)===null||_b===void 0?void 0:_b.onCompleted);return error||onCompleted?.(response.data,clientOptions),response}).catch(function(error){var _a4;if(mutationId===ref.current.mutationId&&ref.current.isMounted){var result_2={loading:!1,error,data:void 0,called:!0,client:client2};equal(ref.current.result,result_2)||setResult2(ref.current.result=result_2)}var onError=executeOptions.onError||((_a4=ref.current.options)===null||_a4===void 0?void 0:_a4.onError);if(onError)return onError(error,clientOptions),{data:void 0,errors:error};throw error})},[]),reset=rehackt.useCallback(function(){if(ref.current.isMounted){var result_3={called:!1,loading:!1,client:ref.current.client};Object.assign(ref.current,{mutationId:0,result:result_3}),setResult2(result_3)}},[]);return rehackt.useEffect(function(){var current=ref.current;return current.isMounted=!0,function(){current.isMounted=!1}},[]),[execute2,tslib_es6_assign({reset},result)]}function useDeepMemo(memoFn,deps){var ref=rehackt.useRef();return(!ref.current||!equal(ref.current.deps,deps))&&(ref.current={value:memoFn(),deps}),ref.current.value}function useSubscription(subscription,options){options===void 0&&(options=Object.create(null));var hasIssuedDeprecationWarningRef=rehackt.useRef(!1),client=useApolloClient(options.client);verifyDocumentType(subscription,DocumentType.Subscription),hasIssuedDeprecationWarningRef.current||(hasIssuedDeprecationWarningRef.current=!0,options.onSubscriptionData&&globalThis.__DEV__!==!1&&invariantWrappers_invariant.warn(options.onData?53:54),options.onSubscriptionComplete&&globalThis.__DEV__!==!1&&invariantWrappers_invariant.warn(options.onComplete?55:56));var skip=options.skip,fetchPolicy=options.fetchPolicy,errorPolicy=options.errorPolicy,shouldResubscribe=options.shouldResubscribe,context=options.context,extensions=options.extensions,ignoreResults=options.ignoreResults,variables=useDeepMemo(function(){return options.variables},[options.variables]),recreate=function(){return createSubscription(client,subscription,variables,fetchPolicy,errorPolicy,context,extensions)},_a2=rehackt.useState(options.skip?null:recreate),observable=_a2[0],setObservable=_a2[1],recreateRef=rehackt.useRef(recreate);useIsomorphicLayoutEffect(function(){recreateRef.current=recreate}),skip?observable&&setObservable(observable=null):(!observable||(client!==observable.__.client||subscription!==observable.__.query||fetchPolicy!==observable.__.fetchPolicy||errorPolicy!==observable.__.errorPolicy||!equal(variables,observable.__.variables))&&(typeof shouldResubscribe=="function"?!!shouldResubscribe(options):shouldResubscribe)!==!1)&&setObservable(observable=recreate());var optionsRef=rehackt.useRef(options);rehackt.useEffect(function(){optionsRef.current=options});var fallbackLoading=!skip&&!ignoreResults,fallbackResult=rehackt.useMemo(function(){return{loading:fallbackLoading,error:void 0,data:void 0,variables}},[fallbackLoading,variables]),ignoreResultsRef=rehackt.useRef(ignoreResults);useIsomorphicLayoutEffect(function(){ignoreResultsRef.current=ignoreResults});var ret=useSyncExternalStore(rehackt.useCallback(function(update){if(!observable)return function(){};var subscriptionStopped=!1,variables2=observable.__.variables,client2=observable.__.client,subscription2=observable.subscribe({next:function(fetchResult){var _a3,_b;if(!subscriptionStopped){var result={loading:!1,data:fetchResult.data,error:toApolloError(fetchResult),variables:variables2};observable.__.setResult(result),ignoreResultsRef.current||update(),result.error?(_b=(_a3=optionsRef.current).onError)===null||_b===void 0||_b.call(_a3,result.error):optionsRef.current.onData?optionsRef.current.onData({client:client2,data:result}):optionsRef.current.onSubscriptionData&&optionsRef.current.onSubscriptionData({client:client2,subscriptionData:result})}},error:function(error){var _a3,_b;error=error instanceof ApolloError?error:new ApolloError({protocolErrors:[error]}),subscriptionStopped||(observable.__.setResult({loading:!1,data:void 0,error,variables:variables2}),ignoreResultsRef.current||update(),(_b=(_a3=optionsRef.current).onError)===null||_b===void 0||_b.call(_a3,error))},complete:function(){subscriptionStopped||(optionsRef.current.onComplete?optionsRef.current.onComplete():optionsRef.current.onSubscriptionComplete&&optionsRef.current.onSubscriptionComplete())}});return function(){subscriptionStopped=!0,setTimeout(function(){subscription2.unsubscribe()})}},[observable]),function(){return observable&&!skip&&!ignoreResults?observable.__.result:fallbackResult},function(){return fallbackResult}),restart=rehackt.useCallback(function(){invariantWrappers_invariant(!optionsRef.current.skip,57),setObservable(recreateRef.current())},[optionsRef,recreateRef]);return rehackt.useMemo(function(){return tslib_es6_assign(tslib_es6_assign({},ret),{restart})},[ret,restart])}function createSubscription(client,query,variables,fetchPolicy,errorPolicy,context,extensions){var options={query,variables,fetchPolicy,errorPolicy,context,extensions},__=tslib_es6_assign(tslib_es6_assign({},options),{client,result:{loading:!0,data:void 0,error:void 0,variables},setResult:function(result){__.result=result}}),observable=null;return Object.assign(new Observable(function(observer){observable||(observable=client.subscribe(options));var sub=observable.subscribe(observer);return function(){return sub.unsubscribe()}}),{__})}function useReactiveVar(rv){return useSyncExternalStore(rehackt.useCallback(function(update){return rv.onNextChange(function onNext(){update(),rv.onNextChange(onNext)})},[rv]),rv,rv)}function useFragment(options){return wrapHook("useFragment",_useFragment,useApolloClient(options.client))(options)}function _useFragment(options){var cache2=useApolloClient(options.client).cache,from2=options.from,rest=__rest(options,["from"]),id=rehackt.useMemo(function(){return typeof from2=="string"?from2:cache2.identify(from2)},[cache2,from2]),stableOptions=useDeepMemo(function(){return tslib_es6_assign(tslib_es6_assign({},rest),{from:id})},[rest,id]),diff=rehackt.useMemo(function(){var fragment=stableOptions.fragment,fragmentName=stableOptions.fragmentName,from3=stableOptions.from,_a2=stableOptions.optimistic,optimistic=_a2===void 0?!0:_a2;return{result:diffToResult(cache2.diff(tslib_es6_assign(tslib_es6_assign({},stableOptions),{returnPartialData:!0,id:from3,query:cache2.getFragmentDoc(fragment,fragmentName),optimistic})))}},[stableOptions,cache2]),getSnapshot=rehackt.useCallback(function(){return diff.result},[diff]);return useSyncExternalStore(rehackt.useCallback(function(forceUpdate){var lastTimeout=0,subscription=cache2.watchFragment(stableOptions).subscribe({next:function(result){lib(result,diff.result)||(diff.result=result,clearTimeout(lastTimeout),lastTimeout=setTimeout(forceUpdate))}});return function(){subscription.unsubscribe(),clearTimeout(lastTimeout)}},[cache2,stableOptions,diff]),getSnapshot,getSnapshot)}function diffToResult(diff){var result={data:diff.result,complete:!!diff.complete};return diff.missing&&(result.missing=mergeDeepArray(diff.missing.map(function(error){return error.missing}))),result}function createFulfilledPromise(value){var promise=Promise.resolve(value);return promise.status="fulfilled",promise.value=value,promise}function createRejectedPromise(reason){var promise=Promise.reject(reason);return promise.catch(function(){}),promise.status="rejected",promise.reason=reason,promise}function isStatefulPromise(promise){return"status"in promise}function wrapPromiseWithState(promise){if(isStatefulPromise(promise))return promise;var pendingPromise=promise;return pendingPromise.status="pending",pendingPromise.then(function(value){if(pendingPromise.status==="pending"){var fulfilledPromise=pendingPromise;fulfilledPromise.status="fulfilled",fulfilledPromise.value=value}},function(reason){if(pendingPromise.status==="pending"){var rejectedPromise=pendingPromise;rejectedPromise.status="rejected",rejectedPromise.reason=reason}}),promise}var useKey="use",_use_realHook=rehackt_namespaceObject[useKey],__use=_use_realHook||function(promise){var statefulPromise=wrapPromiseWithState(promise);switch(statefulPromise.status){case"pending":throw statefulPromise;case"rejected":throw statefulPromise.reason;case"fulfilled":return statefulPromise.value}},QUERY_REFERENCE_SYMBOL=Symbol(),PROMISE_SYMBOL=Symbol();function wrapQueryRef(internalQueryRef){var _a2,ref=(_a2={toPromise:function(){return getWrappedPromise(ref).then(function(){return ref})}},_a2[QUERY_REFERENCE_SYMBOL]=internalQueryRef,_a2[PROMISE_SYMBOL]=internalQueryRef.promise,_a2);return ref}function assertWrappedQueryRef(queryRef){invariantWrappers_invariant(!queryRef||QUERY_REFERENCE_SYMBOL in queryRef,61)}function getWrappedPromise(queryRef){var internalQueryRef=unwrapQueryRef(queryRef);return internalQueryRef.promise.status==="fulfilled"?internalQueryRef.promise:queryRef[PROMISE_SYMBOL]}function unwrapQueryRef(queryRef){return queryRef[QUERY_REFERENCE_SYMBOL]}function updateWrappedQueryRef(queryRef,promise){queryRef[PROMISE_SYMBOL]=promise}var OBSERVED_CHANGED_OPTIONS=["canonizeResults","context","errorPolicy","fetchPolicy","refetchWritePolicy","returnPartialData"],InternalQueryReference=function(){function InternalQueryReference2(observable,options){var _this=this;this.key={},this.listeners=new Set,this.references=0,this.softReferences=0,this.handleNext=this.handleNext.bind(this),this.handleError=this.handleError.bind(this),this.dispose=this.dispose.bind(this),this.observable=observable,options.onDispose&&(this.onDispose=options.onDispose),this.setResult(),this.subscribeToQuery();var startDisposeTimer=function(){var _a2;_this.references||(_this.autoDisposeTimeoutId=setTimeout(_this.dispose,(_a2=options.autoDisposeTimeoutMs)!==null&&_a2!==void 0?_a2:3e4))};this.promise.then(startDisposeTimer,startDisposeTimer)}return Object.defineProperty(InternalQueryReference2.prototype,"disposed",{get:function(){return this.subscription.closed},enumerable:!1,configurable:!0}),Object.defineProperty(InternalQueryReference2.prototype,"watchQueryOptions",{get:function(){return this.observable.options},enumerable:!1,configurable:!0}),InternalQueryReference2.prototype.reinitialize=function(){var observable=this.observable,originalFetchPolicy=this.watchQueryOptions.fetchPolicy,avoidNetworkRequests=originalFetchPolicy==="no-cache"||originalFetchPolicy==="standby";try{if(avoidNetworkRequests?observable.silentSetOptions({fetchPolicy:"standby"}):(observable.resetLastResults(),observable.silentSetOptions({fetchPolicy:"cache-first"})),this.subscribeToQuery(),avoidNetworkRequests)return;observable.resetDiff(),this.setResult()}finally{observable.silentSetOptions({fetchPolicy:originalFetchPolicy})}},InternalQueryReference2.prototype.retain=function(){var _this=this;this.references++,clearTimeout(this.autoDisposeTimeoutId);var disposed=!1;return function(){disposed||(disposed=!0,_this.references--,setTimeout(function(){_this.references||_this.dispose()}))}},InternalQueryReference2.prototype.softRetain=function(){var _this=this;this.softReferences++;var disposed=!1;return function(){disposed||(disposed=!0,_this.softReferences--,setTimeout(function(){!_this.softReferences&&!_this.references&&_this.dispose()}))}},InternalQueryReference2.prototype.didChangeOptions=function(watchQueryOptions){var _this=this;return OBSERVED_CHANGED_OPTIONS.some(function(option){return option in watchQueryOptions&&!equal(_this.watchQueryOptions[option],watchQueryOptions[option])})},InternalQueryReference2.prototype.applyOptions=function(watchQueryOptions){var _a2=this.watchQueryOptions,currentFetchPolicy=_a2.fetchPolicy,currentCanonizeResults=_a2.canonizeResults;return currentFetchPolicy==="standby"&&currentFetchPolicy!==watchQueryOptions.fetchPolicy?this.initiateFetch(this.observable.reobserve(watchQueryOptions)):(this.observable.silentSetOptions(watchQueryOptions),currentCanonizeResults!==watchQueryOptions.canonizeResults&&(this.result=tslib_es6_assign(tslib_es6_assign({},this.result),this.observable.getCurrentResult()),this.promise=createFulfilledPromise(this.result))),this.promise},InternalQueryReference2.prototype.listen=function(listener){var _this=this;return this.listeners.add(listener),function(){_this.listeners.delete(listener)}},InternalQueryReference2.prototype.refetch=function(variables){return this.initiateFetch(this.observable.refetch(variables))},InternalQueryReference2.prototype.fetchMore=function(options){return this.initiateFetch(this.observable.fetchMore(options))},InternalQueryReference2.prototype.dispose=function(){this.subscription.unsubscribe(),this.onDispose()},InternalQueryReference2.prototype.onDispose=function(){},InternalQueryReference2.prototype.handleNext=function(result){var _a2;switch(this.promise.status){case"pending":{result.data===void 0&&(result.data=this.result.data),this.result=result,(_a2=this.resolve)===null||_a2===void 0||_a2.call(this,result);break}default:{if(result.data===this.result.data&&result.networkStatus===this.result.networkStatus)return;result.data===void 0&&(result.data=this.result.data),this.result=result,this.promise=createFulfilledPromise(result),this.deliver(this.promise);break}}},InternalQueryReference2.prototype.handleError=function(error){var _a2;switch(this.subscription.unsubscribe(),this.subscription=this.observable.resubscribeAfterError(this.handleNext,this.handleError),this.promise.status){case"pending":{(_a2=this.reject)===null||_a2===void 0||_a2.call(this,error);break}default:this.promise=createRejectedPromise(error),this.deliver(this.promise)}},InternalQueryReference2.prototype.deliver=function(promise){this.listeners.forEach(function(listener){return listener(promise)})},InternalQueryReference2.prototype.initiateFetch=function(returnedPromise){var _this=this;return this.promise=this.createPendingPromise(),this.promise.catch(function(){}),returnedPromise.then(function(){setTimeout(function(){var _a2;_this.promise.status==="pending"&&(_this.result=_this.observable.getCurrentResult(),(_a2=_this.resolve)===null||_a2===void 0||_a2.call(_this,_this.result))})}).catch(function(){}),returnedPromise},InternalQueryReference2.prototype.subscribeToQuery=function(){var _this=this;this.subscription=this.observable.filter(function(result){return!equal(result.data,{})&&!equal(result,_this.result)}).subscribe(this.handleNext,this.handleError)},InternalQueryReference2.prototype.setResult=function(){var result=this.observable.getCurrentResult(!1);equal(result,this.result)||(this.result=result,this.promise=result.data&&(!result.partial||this.watchQueryOptions.returnPartialData)?createFulfilledPromise(result):this.createPendingPromise())},InternalQueryReference2.prototype.createPendingPromise=function(){var _this=this;return wrapPromiseWithState(new Promise(function(resolve,reject){_this.resolve=resolve,_this.reject=reject}))},InternalQueryReference2}(),SuspenseCache=function(){function SuspenseCache2(options){options===void 0&&(options=Object.create(null)),this.queryRefs=new Trie(canUseWeakMap),this.options=options}return SuspenseCache2.prototype.getQueryRef=function(cacheKey,createObservable){var ref=this.queryRefs.lookupArray(cacheKey);return ref.current||(ref.current=new InternalQueryReference(createObservable(),{autoDisposeTimeoutMs:this.options.autoDisposeTimeoutMs,onDispose:function(){delete ref.current}})),ref.current},SuspenseCache2.prototype.add=function(cacheKey,queryRef){var ref=this.queryRefs.lookupArray(cacheKey);ref.current=queryRef},SuspenseCache2}(),suspenseCacheSymbol=Symbol.for("apollo.suspenseCache");function getSuspenseCache(client){var _a2;return client[suspenseCacheSymbol]||(client[suspenseCacheSymbol]=new SuspenseCache((_a2=client.defaultOptions.react)===null||_a2===void 0?void 0:_a2.suspense)),client[suspenseCacheSymbol]}var skipToken=Symbol.for("apollo.skipToken");function useSuspenseQuery(query,options){return options===void 0&&(options=Object.create(null)),wrapHook("useSuspenseQuery",_useSuspenseQuery,useApolloClient(typeof options=="object"?options.client:void 0))(query,options)}function _useSuspenseQuery(query,options){var client=useApolloClient(options.client),suspenseCache=getSuspenseCache(client),watchQueryOptions=useWatchQueryOptions({client,query,options}),fetchPolicy=watchQueryOptions.fetchPolicy,variables=watchQueryOptions.variables,_a2=options.queryKey,queryKey=_a2===void 0?[]:_a2,cacheKey=__spreadArray([query,canonicalStringify(variables)],[].concat(queryKey),!0),queryRef=suspenseCache.getQueryRef(cacheKey,function(){return client.watchQuery(watchQueryOptions)}),_b=rehackt.useState([queryRef.key,queryRef.promise]),current=_b[0],setPromise=_b[1];current[0]!==queryRef.key&&(current[0]=queryRef.key,current[1]=queryRef.promise);var promise=current[1];queryRef.didChangeOptions(watchQueryOptions)&&(current[1]=promise=queryRef.applyOptions(watchQueryOptions)),rehackt.useEffect(function(){var dispose=queryRef.retain(),removeListener=queryRef.listen(function(promise2){setPromise([queryRef.key,promise2])});return function(){removeListener(),dispose()}},[queryRef]);var skipResult=rehackt.useMemo(function(){var error=useSuspenseQuery_toApolloError(queryRef.result);return{loading:!1,data:queryRef.result.data,networkStatus:error?NetworkStatus.error:NetworkStatus.ready,error}},[queryRef.result]),result=fetchPolicy==="standby"?skipResult:__use(promise),fetchMore=rehackt.useCallback(function(options2){var promise2=queryRef.fetchMore(options2);return setPromise([queryRef.key,queryRef.promise]),promise2},[queryRef]),refetch=rehackt.useCallback(function(variables2){var promise2=queryRef.refetch(variables2);return setPromise([queryRef.key,queryRef.promise]),promise2},[queryRef]),subscribeToMore=queryRef.observable.subscribeToMore;return rehackt.useMemo(function(){return{client,data:result.data,error:useSuspenseQuery_toApolloError(result),networkStatus:result.networkStatus,fetchMore,refetch,subscribeToMore}},[client,fetchMore,refetch,result,subscribeToMore])}function validateOptions(options){var query=options.query,fetchPolicy=options.fetchPolicy,returnPartialData=options.returnPartialData;verifyDocumentType(query,DocumentType.Query),validateFetchPolicy(fetchPolicy),validatePartialDataReturn(fetchPolicy,returnPartialData)}function validateFetchPolicy(fetchPolicy){fetchPolicy===void 0&&(fetchPolicy="cache-first");var supportedFetchPolicies=["cache-first","network-only","no-cache","cache-and-network"];invariantWrappers_invariant(supportedFetchPolicies.includes(fetchPolicy),58,fetchPolicy)}function validatePartialDataReturn(fetchPolicy,returnPartialData){fetchPolicy==="no-cache"&&returnPartialData&&globalThis.__DEV__!==!1&&invariantWrappers_invariant.warn(59)}function useSuspenseQuery_toApolloError(result){return isNonEmptyArray(result.errors)?new ApolloError({graphQLErrors:result.errors}):result.error}function useWatchQueryOptions(_a2){var client=_a2.client,query=_a2.query,options=_a2.options;return useDeepMemo(function(){var _a3;if(options===skipToken)return{query,fetchPolicy:"standby"};var fetchPolicy=options.fetchPolicy||((_a3=client.defaultOptions.watchQuery)===null||_a3===void 0?void 0:_a3.fetchPolicy)||"cache-first",watchQueryOptions=tslib_es6_assign(tslib_es6_assign({},options),{fetchPolicy,query,notifyOnNetworkStatusChange:!1,nextFetchPolicy:void 0});return globalThis.__DEV__!==!1&&validateOptions(watchQueryOptions),options.skip&&(watchQueryOptions.fetchPolicy="standby"),watchQueryOptions},[client,options,query])}function useBackgroundQuery(query,options){return options===void 0&&(options=Object.create(null)),wrapHook("useBackgroundQuery",_useBackgroundQuery,useApolloClient(typeof options=="object"?options.client:void 0))(query,options)}function _useBackgroundQuery(query,options){var client=useApolloClient(options.client),suspenseCache=getSuspenseCache(client),watchQueryOptions=useWatchQueryOptions({client,query,options}),fetchPolicy=watchQueryOptions.fetchPolicy,variables=watchQueryOptions.variables,_a2=options.queryKey,queryKey=_a2===void 0?[]:_a2,didFetchResult=rehackt.useRef(fetchPolicy!=="standby");didFetchResult.current||(didFetchResult.current=fetchPolicy!=="standby");var cacheKey=__spreadArray([query,canonicalStringify(variables)],[].concat(queryKey),!0),queryRef=suspenseCache.getQueryRef(cacheKey,function(){return client.watchQuery(watchQueryOptions)}),_b=rehackt.useState(wrapQueryRef(queryRef)),wrappedQueryRef=_b[0],setWrappedQueryRef=_b[1];if(unwrapQueryRef(wrappedQueryRef)!==queryRef&&setWrappedQueryRef(wrapQueryRef(queryRef)),queryRef.didChangeOptions(watchQueryOptions)){var promise=queryRef.applyOptions(watchQueryOptions);updateWrappedQueryRef(wrappedQueryRef,promise)}rehackt.useEffect(function(){var id=setTimeout(function(){queryRef.disposed&&suspenseCache.add(cacheKey,queryRef)});return function(){return clearTimeout(id)}});var fetchMore=rehackt.useCallback(function(options2){var promise2=queryRef.fetchMore(options2);return setWrappedQueryRef(wrapQueryRef(queryRef)),promise2},[queryRef]),refetch=rehackt.useCallback(function(variables2){var promise2=queryRef.refetch(variables2);return setWrappedQueryRef(wrapQueryRef(queryRef)),promise2},[queryRef]);return rehackt.useEffect(function(){return queryRef.softRetain()},[queryRef]),[didFetchResult.current?wrappedQueryRef:void 0,{fetchMore,refetch,subscribeToMore:queryRef.observable.subscribeToMore}]}var Ctx;function useRenderGuard_noop(){}function useRenderGuard(){return Ctx||(Ctx=rehackt.createContext(null)),rehackt.useCallback(function(){var orig=console.error;try{return console.error=useRenderGuard_noop,rehackt.useContext(Ctx),!0}catch{return!1}finally{console.error=orig}},[])}function useLoadableQuery(query,options){options===void 0&&(options=Object.create(null));var client=useApolloClient(options.client),suspenseCache=getSuspenseCache(client),watchQueryOptions=useWatchQueryOptions({client,query,options}),_a2=options.queryKey,queryKey=_a2===void 0?[]:_a2,_b=rehackt.useState(null),queryRef=_b[0],setQueryRef=_b[1];assertWrappedQueryRef(queryRef);var internalQueryRef=queryRef&&unwrapQueryRef(queryRef);if(queryRef&&internalQueryRef?.didChangeOptions(watchQueryOptions)){var promise=internalQueryRef.applyOptions(watchQueryOptions);updateWrappedQueryRef(queryRef,promise)}var calledDuringRender=useRenderGuard(),fetchMore=rehackt.useCallback(function(options2){if(!internalQueryRef)throw new Error("The query has not been loaded. Please load the query.");var promise2=internalQueryRef.fetchMore(options2);return setQueryRef(wrapQueryRef(internalQueryRef)),promise2},[internalQueryRef]),refetch=rehackt.useCallback(function(options2){if(!internalQueryRef)throw new Error("The query has not been loaded. Please load the query.");var promise2=internalQueryRef.refetch(options2);return setQueryRef(wrapQueryRef(internalQueryRef)),promise2},[internalQueryRef]),loadQuery=rehackt.useCallback(function(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];invariantWrappers_invariant(!calledDuringRender(),51);var variables=args[0],cacheKey=__spreadArray([query,canonicalStringify(variables)],[].concat(queryKey),!0),queryRef2=suspenseCache.getQueryRef(cacheKey,function(){return client.watchQuery(tslib_es6_assign(tslib_es6_assign({},watchQueryOptions),{variables}))});setQueryRef(wrapQueryRef(queryRef2))},[query,queryKey,suspenseCache,watchQueryOptions,calledDuringRender,client]),subscribeToMore=rehackt.useCallback(function(options2){return invariantWrappers_invariant(internalQueryRef,52),internalQueryRef.observable.subscribeToMore(options2)},[internalQueryRef]),reset=rehackt.useCallback(function(){setQueryRef(null)},[]);return[loadQuery,queryRef,{fetchMore,refetch,reset,subscribeToMore}]}function useQueryRefHandlers(queryRef){var unwrapped=unwrapQueryRef(queryRef);return wrapHook("useQueryRefHandlers",_useQueryRefHandlers,unwrapped?unwrapped.observable:useApolloClient())(queryRef)}function _useQueryRefHandlers(queryRef){assertWrappedQueryRef(queryRef);var _a2=rehackt.useState(queryRef),previousQueryRef=_a2[0],setPreviousQueryRef=_a2[1],_b=rehackt.useState(queryRef),wrappedQueryRef=_b[0],setWrappedQueryRef=_b[1],internalQueryRef=unwrapQueryRef(queryRef);previousQueryRef!==queryRef?(setPreviousQueryRef(queryRef),setWrappedQueryRef(queryRef)):updateWrappedQueryRef(queryRef,getWrappedPromise(wrappedQueryRef));var refetch=rehackt.useCallback(function(variables){var promise=internalQueryRef.refetch(variables);return setWrappedQueryRef(wrapQueryRef(internalQueryRef)),promise},[internalQueryRef]),fetchMore=rehackt.useCallback(function(options){var promise=internalQueryRef.fetchMore(options);return setWrappedQueryRef(wrapQueryRef(internalQueryRef)),promise},[internalQueryRef]);return{refetch,fetchMore,subscribeToMore:internalQueryRef.observable.subscribeToMore}}function useReadQuery(queryRef){var unwrapped=unwrapQueryRef(queryRef);return wrapHook("useReadQuery",_useReadQuery,unwrapped?unwrapped.observable:useApolloClient())(queryRef)}function _useReadQuery(queryRef){assertWrappedQueryRef(queryRef);var internalQueryRef=rehackt.useMemo(function(){return unwrapQueryRef(queryRef)},[queryRef]),getPromise=rehackt.useCallback(function(){return getWrappedPromise(queryRef)},[queryRef]);internalQueryRef.disposed&&(internalQueryRef.reinitialize(),updateWrappedQueryRef(queryRef,internalQueryRef.promise)),rehackt.useEffect(function(){return internalQueryRef.retain()},[internalQueryRef]);var promise=useSyncExternalStore(rehackt.useCallback(function(forceUpdate){return internalQueryRef.listen(function(promise2){updateWrappedQueryRef(queryRef,promise2),forceUpdate()})},[internalQueryRef,queryRef]),getPromise,getPromise),result=__use(promise);return rehackt.useMemo(function(){return{data:result.data,networkStatus:result.networkStatus,error:useSuspenseQuery_toApolloError(result)}},[result])}function createQueryPreloader(client){return wrapHook("createQueryPreloader",_createQueryPreloader,client)(client)}var _createQueryPreloader=function(client){return function(query,options){var _a2,_b;options===void 0&&(options=Object.create(null));var queryRef=new InternalQueryReference(client.watchQuery(tslib_es6_assign(tslib_es6_assign({},options),{query})),{autoDisposeTimeoutMs:(_b=(_a2=client.defaultOptions.react)===null||_a2===void 0?void 0:_a2.suspense)===null||_b===void 0?void 0:_b.autoDisposeTimeoutMs});return wrapQueryRef(queryRef)}}},97605:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>_extends});function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}},76004:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>_objectSpread});function _typeof(o){return _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o2){return typeof o2}:function(o2){return o2&&typeof Symbol=="function"&&o2.constructor===Symbol&&o2!==Symbol.prototype?"symbol":typeof o2},_typeof(o)}function _toPrimitive(input,hint){if(_typeof(input)!=="object"||input===null)return input;var prim=input[Symbol.toPrimitive];if(prim!==void 0){var res=prim.call(input,hint||"default");if(_typeof(res)!=="object")return res;throw new TypeError("@@toPrimitive must return a primitive value.")}return(hint==="string"?String:Number)(input)}function _toPropertyKey(arg){var key=_toPrimitive(arg,"string");return _typeof(key)==="symbol"?key:String(key)}function _defineProperty(obj,key,value){return key=_toPropertyKey(key),key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?Object(arguments[i]):{},ownKeys=Object.keys(source);typeof Object.getOwnPropertySymbols=="function"&&ownKeys.push.apply(ownKeys,Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})),ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}},2141:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>_objectWithoutProperties});function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},sourceKeys=Object.keys(source),key,i;for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],!(excluded.indexOf(key)>=0)&&(target[key]=source[key]);return target}function _objectWithoutProperties(source,excluded){if(source==null)return{};var target=_objectWithoutPropertiesLoose(source,excluded),key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],!(excluded.indexOf(key)>=0)&&(!Object.prototype.propertyIsEnumerable.call(source,key)||(target[key]=source[key]))}return target}},1182:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";var _home_circleci_bit_bit_node_modules_teambit_react_ui_docs_app_dist_index_js__WEBPACK_IMPORTED_MODULE_0___namespace_cache;__webpack_require__.d(__webpack_exports__,{Y:()=>_home_circleci_bit_bit_node_modules_teambit_react_ui_docs_app_dist_index_js__WEBPACK_IMPORTED_MODULE_0___namespace_cache||(_home_circleci_bit_bit_node_modules_teambit_react_ui_docs_app_dist_index_js__WEBPACK_IMPORTED_MODULE_0___namespace_cache=__webpack_require__.t(_home_circleci_bit_bit_node_modules_teambit_react_ui_docs_app_dist_index_js__WEBPACK_IMPORTED_MODULE_0__,2))});var _home_circleci_bit_bit_node_modules_teambit_react_ui_docs_app_dist_index_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(79022)},27102:module=>{"use strict";module.exports=JSON.parse('{"AElig":"\xC6","AMP":"&","Aacute":"\xC1","Acirc":"\xC2","Agrave":"\xC0","Aring":"\xC5","Atilde":"\xC3","Auml":"\xC4","COPY":"\xA9","Ccedil":"\xC7","ETH":"\xD0","Eacute":"\xC9","Ecirc":"\xCA","Egrave":"\xC8","Euml":"\xCB","GT":">","Iacute":"\xCD","Icirc":"\xCE","Igrave":"\xCC","Iuml":"\xCF","LT":"<","Ntilde":"\xD1","Oacute":"\xD3","Ocirc":"\xD4","Ograve":"\xD2","Oslash":"\xD8","Otilde":"\xD5","Ouml":"\xD6","QUOT":"\\"","REG":"\xAE","THORN":"\xDE","Uacute":"\xDA","Ucirc":"\xDB","Ugrave":"\xD9","Uuml":"\xDC","Yacute":"\xDD","aacute":"\xE1","acirc":"\xE2","acute":"\xB4","aelig":"\xE6","agrave":"\xE0","amp":"&","aring":"\xE5","atilde":"\xE3","auml":"\xE4","brvbar":"\xA6","ccedil":"\xE7","cedil":"\xB8","cent":"\xA2","copy":"\xA9","curren":"\xA4","deg":"\xB0","divide":"\xF7","eacute":"\xE9","ecirc":"\xEA","egrave":"\xE8","eth":"\xF0","euml":"\xEB","frac12":"\xBD","frac14":"\xBC","frac34":"\xBE","gt":">","iacute":"\xED","icirc":"\xEE","iexcl":"\xA1","igrave":"\xEC","iquest":"\xBF","iuml":"\xEF","laquo":"\xAB","lt":"<","macr":"\xAF","micro":"\xB5","middot":"\xB7","nbsp":"\xA0","not":"\xAC","ntilde":"\xF1","oacute":"\xF3","ocirc":"\xF4","ograve":"\xF2","ordf":"\xAA","ordm":"\xBA","oslash":"\xF8","otilde":"\xF5","ouml":"\xF6","para":"\xB6","plusmn":"\xB1","pound":"\xA3","quot":"\\"","raquo":"\xBB","reg":"\xAE","sect":"\xA7","shy":"\xAD","sup1":"\xB9","sup2":"\xB2","sup3":"\xB3","szlig":"\xDF","thorn":"\xFE","times":"\xD7","uacute":"\xFA","ucirc":"\xFB","ugrave":"\xF9","uml":"\xA8","uuml":"\xFC","yacute":"\xFD","yen":"\xA5","yuml":"\xFF"}')},71701:module=>{"use strict";module.exports=JSON.parse('{"0":"\uFFFD","128":"\u20AC","130":"\u201A","131":"\u0192","132":"\u201E","133":"\u2026","134":"\u2020","135":"\u2021","136":"\u02C6","137":"\u2030","138":"\u0160","139":"\u2039","140":"\u0152","142":"\u017D","145":"\u2018","146":"\u2019","147":"\u201C","148":"\u201D","149":"\u2022","150":"\u2013","151":"\u2014","152":"\u02DC","153":"\u2122","154":"\u0161","155":"\u203A","156":"\u0153","158":"\u017E","159":"\u0178"}')},20433:module=>{"use strict";module.exports=JSON.parse('{"year":{"previous":"last year","current":"this year","next":"next year","past":{"one":"a year ago","other":"{0} years ago"},"future":{"one":"in a year","other":"in {0} years"}},"quarter":{"previous":"last quarter","current":"this quarter","next":"next quarter","past":{"one":"a quarter ago","other":"{0} quarters ago"},"future":{"one":"in a quarter","other":"in {0} quarters"}},"month":{"previous":"last month","current":"this month","next":"next month","past":{"one":"a month ago","other":"{0} months ago"},"future":{"one":"in a month","other":"in {0} months"}},"week":{"previous":"last week","current":"this week","next":"next week","past":{"one":"a week ago","other":"{0} weeks ago"},"future":{"one":"in a week","other":"in {0} weeks"}},"day":{"previous":"yesterday","current":"today","next":"tomorrow","past":{"one":"a day ago","other":"{0} days ago"},"future":{"one":"in a day","other":"in {0} days"}},"hour":{"current":"this hour","past":{"one":"an hour ago","other":"{0} hours ago"},"future":{"one":"in an hour","other":"in {0} hours"}},"minute":{"current":"this minute","past":{"one":"a minute ago","other":"{0} minutes ago"},"future":{"one":"in a minute","other":"in {0} minutes"}},"second":{"current":"now","past":{"one":"a second ago","other":"{0} seconds ago"},"future":{"one":"in a second","other":"in {0} seconds"}},"now":{"future":"in a moment","past":"just now"}}')},94609:module=>{"use strict";module.exports=JSON.parse('{"year":{"one":"{0} year","other":"{0} years"},"month":{"one":"{0} month","other":"{0} months"},"week":{"one":"{0} week","other":"{0} weeks"},"day":{"one":"{0} day","other":"{0} days"},"hour":{"one":"{0} hour","other":"{0} hours"},"minute":{"one":"{0} minute","other":"{0} minutes"},"second":{"one":"{0} second","other":"{0} seconds"},"now":{"future":"in a moment","past":"just now"}}')},90596:module=>{"use strict";module.exports=JSON.parse('{"year":{"previous":"last yr.","current":"this yr.","next":"next yr.","past":"{0} yr. ago","future":"in {0} yr."},"quarter":{"previous":"last qtr.","current":"this qtr.","next":"next qtr.","past":{"one":"{0} qtr. ago","other":"{0} qtrs. ago"},"future":{"one":"in {0} qtr.","other":"in {0} qtrs."}},"month":{"previous":"last mo.","current":"this mo.","next":"next mo.","past":"{0} mo. ago","future":"in {0} mo."},"week":{"previous":"last wk.","current":"this wk.","next":"next wk.","past":"{0} wk. ago","future":"in {0} wk."},"day":{"previous":"yesterday","current":"today","next":"tomorrow","past":{"one":"{0} day ago","other":"{0} days ago"},"future":{"one":"in {0} day","other":"in {0} days"}},"hour":{"current":"this hour","past":"{0} hr. ago","future":"in {0} hr."},"minute":{"current":"this minute","past":"{0} min. ago","future":"in {0} min."},"second":{"current":"now","past":"{0} sec. ago","future":"in {0} sec."},"now":{"future":"in a moment","past":"just now"}}')},14640:module=>{"use strict";module.exports=JSON.parse('{"year":"{0} yr.","month":"{0} mo.","week":"{0} wk.","day":{"one":"{0} day","other":"{0} days"},"hour":"{0} hr.","minute":"{0} min.","second":"{0} sec.","now":"now"}')},27218:module=>{"use strict";module.exports=JSON.parse('{"year":"{0}yr","month":"{0}mo","week":"{0}wk","day":"{0}d","hour":"{0}h","minute":"{0}m","second":"{0}s","now":"now"}')},45641:module=>{"use strict";module.exports=JSON.parse('{"year":{"previous":"last year","current":"this year","next":"next year","past":{"one":"{0} year ago","other":"{0} years ago"},"future":{"one":"in {0} year","other":"in {0} years"}},"quarter":{"previous":"last quarter","current":"this quarter","next":"next quarter","past":{"one":"{0} quarter ago","other":"{0} quarters ago"},"future":{"one":"in {0} quarter","other":"in {0} quarters"}},"month":{"previous":"last month","current":"this month","next":"next month","past":{"one":"{0} month ago","other":"{0} months ago"},"future":{"one":"in {0} month","other":"in {0} months"}},"week":{"previous":"last week","current":"this week","next":"next week","past":{"one":"{0} week ago","other":"{0} weeks ago"},"future":{"one":"in {0} week","other":"in {0} weeks"}},"day":{"previous":"yesterday","current":"today","next":"tomorrow","past":{"one":"{0} day ago","other":"{0} days ago"},"future":{"one":"in {0} day","other":"in {0} days"}},"hour":{"current":"this hour","past":{"one":"{0} hour ago","other":"{0} hours ago"},"future":{"one":"in {0} hour","other":"in {0} hours"}},"minute":{"current":"this minute","past":{"one":"{0} minute ago","other":"{0} minutes ago"},"future":{"one":"in {0} minute","other":"in {0} minutes"}},"second":{"current":"now","past":{"one":"{0} second ago","other":"{0} seconds ago"},"future":{"one":"in {0} second","other":"in {0} seconds"}}}')},97009:module=>{"use strict";module.exports=JSON.parse('{"year":{"previous":"last yr.","current":"this yr.","next":"next yr.","past":"{0} yr. ago","future":"in {0} yr."},"quarter":{"previous":"last qtr.","current":"this qtr.","next":"next qtr.","past":{"one":"{0} qtr. ago","other":"{0} qtrs. ago"},"future":{"one":"in {0} qtr.","other":"in {0} qtrs."}},"month":{"previous":"last mo.","current":"this mo.","next":"next mo.","past":"{0} mo. ago","future":"in {0} mo."},"week":{"previous":"last wk.","current":"this wk.","next":"next wk.","past":"{0} wk. ago","future":"in {0} wk."},"day":{"previous":"yesterday","current":"today","next":"tomorrow","past":{"one":"{0} day ago","other":"{0} days ago"},"future":{"one":"in {0} day","other":"in {0} days"}},"hour":{"current":"this hour","past":"{0} hr. ago","future":"in {0} hr."},"minute":{"current":"this minute","past":"{0} min. ago","future":"in {0} min."},"second":{"current":"now","past":"{0} sec. ago","future":"in {0} sec."}}')},30963:module=>{"use strict";module.exports=JSON.parse('{"year":{"previous":"last yr.","current":"this yr.","next":"next yr.","past":"{0} yr. ago","future":"in {0} yr."},"quarter":{"previous":"last qtr.","current":"this qtr.","next":"next qtr.","past":{"one":"{0} qtr. ago","other":"{0} qtrs. ago"},"future":{"one":"in {0} qtr.","other":"in {0} qtrs."}},"month":{"previous":"last mo.","current":"this mo.","next":"next mo.","past":"{0} mo. ago","future":"in {0} mo."},"week":{"previous":"last wk.","current":"this wk.","next":"next wk.","past":"{0} wk. ago","future":"in {0} wk."},"day":{"previous":"yesterday","current":"today","next":"tomorrow","past":{"one":"{0} day ago","other":"{0} days ago"},"future":{"one":"in {0} day","other":"in {0} days"}},"hour":{"current":"this hour","past":"{0} hr. ago","future":"in {0} hr."},"minute":{"current":"this minute","past":"{0} min. ago","future":"in {0} min."},"second":{"current":"now","past":"{0} sec. ago","future":"in {0} sec."}}')}}]);