text: (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{101:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_material_ui_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(23),_layout_InfoCard__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(55),_CircleProgress__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(240);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/ProgressCard.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a)({root:{height:"100%",width:250}}),ProgressCard=props=>{const classes=useStyles(props),{title:title,subheader:subheader,progress:progress,deepLink:deepLink,variant:variant}=props;return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{className:classes.root,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:44}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_layout_InfoCard__WEBPACK_IMPORTED_MODULE_2__.a,{title:title,subheader:subheader,deepLink:deepLink,variant:variant,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:45}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_CircleProgress__WEBPACK_IMPORTED_MODULE_3__.a,{value:progress,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:51}})))};let _default;var reactHotLoader,leaveModule;__webpack_exports__.a=_default=ProgressCard,reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(useStyles,"useStyles","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/ProgressCard.tsx"),reactHotLoader.register(ProgressCard,"ProgressCard","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/ProgressCard.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/ProgressCard.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},1032:function(module,exports){},108:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),prop_types__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(5),prop_types__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__),react_syntax_highlighter__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1828),react_syntax_highlighter_dist_cjs_styles_hljs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(562),_material_ui_core__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(22);var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const defaultProps={showLineNumbers:!1},CodeSnippet=props=>{const{text:text,language:language,showLineNumbers:showLineNumbers}={...defaultProps,...props},mode="dark"===Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_4__.a)().palette.type?react_syntax_highlighter_dist_cjs_styles_hljs__WEBPACK_IMPORTED_MODULE_3__.dark:react_syntax_highlighter_dist_cjs_styles_hljs__WEBPACK_IMPORTED_MODULE_3__.docco;return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react_syntax_highlighter__WEBPACK_IMPORTED_MODULE_2__.a,{language:language,style:mode,showLineNumbers:showLineNumbers,__self:void 0,__source:{fileName:"/home/runner/work/backstage/backstage/packages/core/src/components/CodeSnippet/CodeSnippet.tsx",lineNumber:44}},text)};let _default;var reactHotLoader,leaveModule;CodeSnippet.propTypes={text:prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,language:prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,showLineNumbers:prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool},__webpack_exports__.a=_default=CodeSnippet,reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(defaultProps,"defaultProps","/home/runner/work/backstage/backstage/packages/core/src/components/CodeSnippet/CodeSnippet.tsx"),reactHotLoader.register(CodeSnippet,"CodeSnippet","/home/runner/work/backstage/backstage/packages/core/src/components/CodeSnippet/CodeSnippet.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/CodeSnippet/CodeSnippet.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},109:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule,_Header__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(366);__webpack_require__.d(__webpack_exports__,"a",(function(){return _Header__WEBPACK_IMPORTED_MODULE_0__.a})),(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},1115:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_storybook_react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(308),_backstage_theme__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(252),_material_ui_core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(951),_material_ui_core__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(952),storybook_dark_mode__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(904),_backstage_core__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(905);const _jsxFileName="/home/runner/work/backstage/backstage/packages/storybook/.storybook/config.js";var enterModule,reactHotLoader,leaveModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),Object(_storybook_react__WEBPACK_IMPORTED_MODULE_1__.addDecorator)(story=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_3__.a,{theme:Object(storybook_dark_mode__WEBPACK_IMPORTED_MODULE_5__.useDarkMode)()?_backstage_theme__WEBPACK_IMPORTED_MODULE_2__.darkTheme:_backstage_theme__WEBPACK_IMPORTED_MODULE_2__.lightTheme,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:9}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_4__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:10}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_backstage_core__WEBPACK_IMPORTED_MODULE_6__.Content,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:11}},story())))),Object(_storybook_react__WEBPACK_IMPORTED_MODULE_1__.addParameters)({darkMode:{current:"light"}}),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}.call(this,__webpack_require__(7)(module))},121:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule,_HeaderLabel__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(828);__webpack_require__.d(__webpack_exports__,"a",(function(){return _HeaderLabel__WEBPACK_IMPORTED_MODULE_0__.a})),(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},135:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var _subjects__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(802);__webpack_require__.d(__webpack_exports__,"BehaviorSubject",(function(){return _subjects__WEBPACK_IMPORTED_MODULE_0__.a})),__webpack_require__.d(__webpack_exports__,"PublishSubject",(function(){return _subjects__WEBPACK_IMPORTED_MODULE_0__.b}));var enterModule,reactHotLoader,leaveModule;__webpack_require__(388),__webpack_require__(387),__webpack_require__(389);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},137:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var _ApiProvider__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(530);__webpack_require__.d(__webpack_exports__,"ApiProvider",(function(){return _ApiProvider__WEBPACK_IMPORTED_MODULE_0__.a})),__webpack_require__.d(__webpack_exports__,"useApi",(function(){return _ApiProvider__WEBPACK_IMPORTED_MODULE_0__.b}));var _ApiRegistry__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(781);__webpack_require__.d(__webpack_exports__,"ApiRegistry",(function(){return _ApiRegistry__WEBPACK_IMPORTED_MODULE_1__.a}));__webpack_require__(782),__webpack_require__(87);var _types__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(783);__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_4__,"AppThemeSelector")&&__webpack_require__.d(__webpack_exports__,"AppThemeSelector",(function(){return _types__WEBPACK_IMPORTED_MODULE_4__.AppThemeSelector})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_4__,"alertApiRef")&&__webpack_require__.d(__webpack_exports__,"alertApiRef",(function(){return _types__WEBPACK_IMPORTED_MODULE_4__.alertApiRef})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_4__,"appThemeApiRef")&&__webpack_require__.d(__webpack_exports__,"appThemeApiRef",(function(){return _types__WEBPACK_IMPORTED_MODULE_4__.appThemeApiRef})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_4__,"defaultSystemIcons")&&__webpack_require__.d(__webpack_exports__,"defaultSystemIcons",(function(){return _types__WEBPACK_IMPORTED_MODULE_4__.defaultSystemIcons})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_4__,"errorApiRef")&&__webpack_require__.d(__webpack_exports__,"errorApiRef",(function(){return _types__WEBPACK_IMPORTED_MODULE_4__.errorApiRef})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_4__,"oauthRequestApiRef")&&__webpack_require__.d(__webpack_exports__,"oauthRequestApiRef",(function(){return _types__WEBPACK_IMPORTED_MODULE_4__.oauthRequestApiRef}));__webpack_require__(784);var _definitions__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(237);__webpack_require__.d(__webpack_exports__,"alertApiRef",(function(){return _definitions__WEBPACK_IMPORTED_MODULE_6__.b})),__webpack_require__.d(__webpack_exports__,"appThemeApiRef",(function(){return _definitions__WEBPACK_IMPORTED_MODULE_6__.c})),__webpack_require__.d(__webpack_exports__,"errorApiRef",(function(){return _definitions__WEBPACK_IMPORTED_MODULE_6__.d})),__webpack_require__.d(__webpack_exports__,"oauthRequestApiRef",(function(){return _definitions__WEBPACK_IMPORTED_MODULE_6__.f}));var enterModule,reactHotLoader,leaveModule,_implementations__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(791);__webpack_require__.o(_implementations__WEBPACK_IMPORTED_MODULE_7__,"AppThemeSelector")&&__webpack_require__.d(__webpack_exports__,"AppThemeSelector",(function(){return _implementations__WEBPACK_IMPORTED_MODULE_7__.AppThemeSelector})),__webpack_require__.o(_implementations__WEBPACK_IMPORTED_MODULE_7__,"defaultSystemIcons")&&__webpack_require__.d(__webpack_exports__,"defaultSystemIcons",(function(){return _implementations__WEBPACK_IMPORTED_MODULE_7__.defaultSystemIcons})),(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},1751:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){var enterModule,reactHotLoader,leaveModule,_storybook_react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(308);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),module._StorybookPreserveDecorators=!0,Object(_storybook_react__WEBPACK_IMPORTED_MODULE_0__.configure)([__webpack_require__(1752),__webpack_require__(1786)],module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}.call(this,__webpack_require__(7)(module))},1752:function(module,exports,__webpack_require__){var map={"./Header/Header.stories.tsx":1753,"./InfoCard/InfoCard.stories.tsx":1783,"./Sidebar/Sidebar.stories.tsx":1784,"./TabbedCard/TabbedCard.stories.tsx":1785};function webpackContext(req){var id=webpackContextResolve(req);return __webpack_require__(id)}function webpackContextResolve(req){if(!__webpack_require__.o(map,req)){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}return map[req]}webpackContext.keys=function webpackContextKeys(){return Object.keys(map)},webpackContext.resolve=webpackContextResolve,module.exports=webpackContext,webpackContext.id=1752},1753:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){__webpack_require__.d(__webpack_exports__,"Home",(function(){return Home})),__webpack_require__.d(__webpack_exports__,"HomeWithSubtitle",(function(){return HomeWithSubtitle})),__webpack_require__.d(__webpack_exports__,"Tool",(function(){return Tool})),__webpack_require__.d(__webpack_exports__,"Service",(function(){return Service})),__webpack_require__.d(__webpack_exports__,"Website",(function(){return Website})),__webpack_require__.d(__webpack_exports__,"Library",(function(){return Library})),__webpack_require__.d(__webpack_exports__,"App",(function(){return App})),__webpack_require__.d(__webpack_exports__,"Other",(function(){return Other}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),___WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(109),_HeaderLabel__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(121),_Page__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(51);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Header.stories.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);var withSourceLoader=__webpack_require__(25).withSource,addSourceDecorator=__webpack_require__(25).addSource,__SOURCE_PREFIX__="/home/runner/work/backstage/backstage/packages/core/src/layout/Header",__STORY__='/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport React from \'react\';\nimport Header from \'.\';\nimport HeaderLabel from \'../HeaderLabel\';\nimport Page, { pageTheme } from \'../Page\';\n\nexport default {\n  title: \'Header\',\n  component: Header,\n};\n\nconst labels = (\n  <>\n    <HeaderLabel label="Owner" value="players" />\n    <HeaderLabel label="Lifecycle" value="Production" />\n    <HeaderLabel label="Tier" value="Level 1" />\n  </>\n);\n\nexport const Home = () => (\n  <Page theme={pageTheme.home}>\n    <Header title="Start/Home Page" type="home">\n      {labels}\n    </Header>\n  </Page>\n);\n\nexport const HomeWithSubtitle = () => (\n  <Header title="Start/Home Page" subtitle="This is a subtitle">\n    {labels}\n  </Header>\n);\n\nexport const Tool = () => (\n  <Page theme={pageTheme.tool}>\n    <Header title="Stand-alone tool" type="tool">\n      {labels}\n    </Header>\n  </Page>\n);\n\nexport const Service = () => (\n  <Page theme={pageTheme.service}>\n    <Header title="Service component page" type="service">\n      {labels}\n    </Header>\n  </Page>\n);\n\nexport const Website = () => (\n  <Page theme={pageTheme.website}>\n    <Header title="Website component page" type="website">\n      {labels}\n    </Header>\n  </Page>\n);\n\nexport const Library = () => (\n  <Page theme={pageTheme.library}>\n    <Header title="Library component page" type="library">\n      {labels}\n    </Header>\n  </Page>\n);\n\nexport const App = () => (\n  <Page theme={pageTheme.app}>\n    <Header title="App component page" type="app">\n      {labels}\n    </Header>\n  </Page>\n);\n\nexport const Other = () => (\n  <Page theme={pageTheme.library}>\n    <Header title="Other/generic component page" type="other">\n      {labels}\n    </Header>\n  </Page>\n);\n',__ADDS_MAP__={"header--home":{startLoc:{col:20,line:34},endLoc:{col:1,line:40},startBody:{col:20,line:34},endBody:{col:1,line:40}},"header--home-with-subtitle":{startLoc:{col:32,line:42},endLoc:{col:1,line:46},startBody:{col:32,line:42},endBody:{col:1,line:46}},"header--tool":{startLoc:{col:20,line:48},endLoc:{col:1,line:54},startBody:{col:20,line:48},endBody:{col:1,line:54}},"header--service":{startLoc:{col:23,line:56},endLoc:{col:1,line:62},startBody:{col:23,line:56},endBody:{col:1,line:62}},"header--website":{startLoc:{col:23,line:64},endLoc:{col:1,line:70},startBody:{col:23,line:64},endBody:{col:1,line:70}},"header--library":{startLoc:{col:23,line:72},endLoc:{col:1,line:78},startBody:{col:23,line:72},endBody:{col:1,line:78}},"header--app":{startLoc:{col:19,line:80},endLoc:{col:1,line:86},startBody:{col:19,line:80},endBody:{col:1,line:86}},"header--other":{startLoc:{col:21,line:88},endLoc:{col:1,line:94},startBody:{col:21,line:88},endBody:{col:1,line:94}}},__MODULE_DEPENDENCIES__=[],__LOCAL_DEPENDENCIES__={},__IDS_TO_FRAMEWORKS__={};let _default;__webpack_exports__.default=_default={parameters:{storySource:{source:'/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport React from \'react\';\nimport Header from \'.\';\nimport HeaderLabel from \'../HeaderLabel\';\nimport Page, { pageTheme } from \'../Page\';\n\nexport default {\n  title: \'Header\',\n  component: Header,\n};\n\nconst labels = (\n  <>\n    <HeaderLabel label="Owner" value="players" />\n    <HeaderLabel label="Lifecycle" value="Production" />\n    <HeaderLabel label="Tier" value="Level 1" />\n  </>\n);\n\nexport const Home = () => (\n  <Page theme={pageTheme.home}>\n    <Header title="Start/Home Page" type="home">\n      {labels}\n    </Header>\n  </Page>\n);\n\nexport const HomeWithSubtitle = () => (\n  <Header title="Start/Home Page" subtitle="This is a subtitle">\n    {labels}\n  </Header>\n);\n\nexport const Tool = () => (\n  <Page theme={pageTheme.tool}>\n    <Header title="Stand-alone tool" type="tool">\n      {labels}\n    </Header>\n  </Page>\n);\n\nexport const Service = () => (\n  <Page theme={pageTheme.service}>\n    <Header title="Service component page" type="service">\n      {labels}\n    </Header>\n  </Page>\n);\n\nexport const Website = () => (\n  <Page theme={pageTheme.website}>\n    <Header title="Website component page" type="website">\n      {labels}\n    </Header>\n  </Page>\n);\n\nexport const Library = () => (\n  <Page theme={pageTheme.library}>\n    <Header title="Library component page" type="library">\n      {labels}\n    </Header>\n  </Page>\n);\n\nexport const App = () => (\n  <Page theme={pageTheme.app}>\n    <Header title="App component page" type="app">\n      {labels}\n    </Header>\n  </Page>\n);\n\nexport const Other = () => (\n  <Page theme={pageTheme.library}>\n    <Header title="Other/generic component page" type="other">\n      {labels}\n    </Header>\n  </Page>\n);\n',locationsMap:{"header--home":{startLoc:{col:20,line:34},endLoc:{col:1,line:40},startBody:{col:20,line:34},endBody:{col:1,line:40}},"header--home-with-subtitle":{startLoc:{col:32,line:42},endLoc:{col:1,line:46},startBody:{col:32,line:42},endBody:{col:1,line:46}},"header--tool":{startLoc:{col:20,line:48},endLoc:{col:1,line:54},startBody:{col:20,line:48},endBody:{col:1,line:54}},"header--service":{startLoc:{col:23,line:56},endLoc:{col:1,line:62},startBody:{col:23,line:56},endBody:{col:1,line:62}},"header--website":{startLoc:{col:23,line:64},endLoc:{col:1,line:70},startBody:{col:23,line:64},endBody:{col:1,line:70}},"header--library":{startLoc:{col:23,line:72},endLoc:{col:1,line:78},startBody:{col:23,line:72},endBody:{col:1,line:78}},"header--app":{startLoc:{col:19,line:80},endLoc:{col:1,line:86},startBody:{col:19,line:80},endBody:{col:1,line:86}},"header--other":{startLoc:{col:21,line:88},endLoc:{col:1,line:94},startBody:{col:21,line:88},endBody:{col:1,line:94}}}}},title:"Header",component:___WEBPACK_IMPORTED_MODULE_1__.a};const labels=react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0___default.a.Fragment,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_HeaderLabel__WEBPACK_IMPORTED_MODULE_2__.a,{label:"Owner",value:"players",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:50}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_HeaderLabel__WEBPACK_IMPORTED_MODULE_2__.a,{label:"Lifecycle",value:"Production",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:51}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_HeaderLabel__WEBPACK_IMPORTED_MODULE_2__.a,{label:"Tier",value:"Level 1",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:52}})),Home=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Page__WEBPACK_IMPORTED_MODULE_3__.a,{theme:_Page__WEBPACK_IMPORTED_MODULE_3__.b.home,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:57}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{title:"Start/Home Page",type:"home",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:58}},labels)),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/Header.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),HomeWithSubtitle=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{title:"Start/Home Page",subtitle:"This is a subtitle",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:65}},labels),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/Header.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),Tool=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Page__WEBPACK_IMPORTED_MODULE_3__.a,{theme:_Page__WEBPACK_IMPORTED_MODULE_3__.b.tool,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:71}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{title:"Stand-alone tool",type:"tool",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:72}},labels)),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/Header.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),Service=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Page__WEBPACK_IMPORTED_MODULE_3__.a,{theme:_Page__WEBPACK_IMPORTED_MODULE_3__.b.service,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:79}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{title:"Service component page",type:"service",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:80}},labels)),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/Header.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),Website=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Page__WEBPACK_IMPORTED_MODULE_3__.a,{theme:_Page__WEBPACK_IMPORTED_MODULE_3__.b.website,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:87}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{title:"Website component page",type:"website",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:88}},labels)),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/Header.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),Library=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Page__WEBPACK_IMPORTED_MODULE_3__.a,{theme:_Page__WEBPACK_IMPORTED_MODULE_3__.b.library,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:95}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{title:"Library component page",type:"library",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:96}},labels)),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/Header.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),App=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Page__WEBPACK_IMPORTED_MODULE_3__.a,{theme:_Page__WEBPACK_IMPORTED_MODULE_3__.b.app,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:103}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{title:"App component page",type:"app",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:104}},labels)),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/Header.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),Other=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Page__WEBPACK_IMPORTED_MODULE_3__.a,{theme:_Page__WEBPACK_IMPORTED_MODULE_3__.b.library,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:111}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{title:"Other/generic component page",type:"other",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:112}},labels)),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/Header.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__});var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(withSourceLoader,"withSourceLoader","/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Header.stories.tsx"),reactHotLoader.register(addSourceDecorator,"addSourceDecorator","/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Header.stories.tsx"),reactHotLoader.register(__SOURCE_PREFIX__,"__SOURCE_PREFIX__","/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Header.stories.tsx"),reactHotLoader.register(__STORY__,"__STORY__","/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Header.stories.tsx"),reactHotLoader.register(__ADDS_MAP__,"__ADDS_MAP__","/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Header.stories.tsx"),reactHotLoader.register("/Header.stories.tsx","__MAIN_FILE_LOCATION__","/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Header.stories.tsx"),reactHotLoader.register(__MODULE_DEPENDENCIES__,"__MODULE_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Header.stories.tsx"),reactHotLoader.register(__LOCAL_DEPENDENCIES__,"__LOCAL_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Header.stories.tsx"),reactHotLoader.register(__IDS_TO_FRAMEWORKS__,"__IDS_TO_FRAMEWORKS__","/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Header.stories.tsx"),reactHotLoader.register(labels,"labels","/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Header.stories.tsx"),reactHotLoader.register(Home,"Home","/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Header.stories.tsx"),reactHotLoader.register(HomeWithSubtitle,"HomeWithSubtitle","/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Header.stories.tsx"),reactHotLoader.register(Tool,"Tool","/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Header.stories.tsx"),reactHotLoader.register(Service,"Service","/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Header.stories.tsx"),reactHotLoader.register(Website,"Website","/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Header.stories.tsx"),reactHotLoader.register(Library,"Library","/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Header.stories.tsx"),reactHotLoader.register(App,"App","/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Header.stories.tsx"),reactHotLoader.register(Other,"Other","/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Header.stories.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Header.stories.tsx"),leaveModule(module))}.call(this,__webpack_require__(7)(module))},177:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"b",(function(){return SidebarItem})),__webpack_require__.d(__webpack_exports__,"c",(function(){return SidebarSearchField})),__webpack_require__.d(__webpack_exports__,"d",(function(){return SidebarSpace})),__webpack_require__.d(__webpack_exports__,"a",(function(){return SidebarDivider}));var _material_ui_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(23),_material_ui_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1807),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(21),_material_ui_core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(254),_material_ui_core__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(205),_material_ui_icons_Search__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(412),_material_ui_icons_Search__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(_material_ui_icons_Search__WEBPACK_IMPORTED_MODULE_5__),clsx__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(3),react__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__),react_router_dom__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(302),_config__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(38);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Items.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_0__.a)(theme=>{const{selectedIndicatorWidth:selectedIndicatorWidth,drawerWidthClosed:drawerWidthClosed,drawerWidthOpen:drawerWidthOpen,iconContainerWidth:iconContainerWidth,iconSize:iconSize}=_config__WEBPACK_IMPORTED_MODULE_9__.c;return{root:{color:"#b5b5b5",display:"flex",flexFlow:"row nowrap",alignItems:"center",height:48,cursor:"pointer"},closed:{width:drawerWidthClosed,justifyContent:"center"},open:{width:drawerWidthOpen},label:{fontWeight:"bold",whiteSpace:"nowrap",lineHeight:1},iconContainer:{boxSizing:"border-box",height:"100%",width:iconContainerWidth,marginRight:-theme.spacing(2),display:"flex",alignItems:"center",justifyContent:"center"},icon:{width:iconSize,height:iconSize},searchRoot:{marginBottom:12},searchField:{color:"#b5b5b5",fontWeight:"bold",fontSize:theme.typography.fontSize},searchContainer:{width:drawerWidthOpen-iconContainerWidth},selected:{"&$root":{borderLeft:`solid ${selectedIndicatorWidth}px #9BF0E1`,color:"#ffffff"},"&$closed":{width:drawerWidthClosed-selectedIndicatorWidth},"& $iconContainer":{marginLeft:-selectedIndicatorWidth}}}}),SidebarItem=({icon:Icon,text:text,to:to="#",disableSelected:disableSelected=!1,hasNotifications:hasNotifications=!1,onClick:onClick,children:children})=>{const classes=useStyles(),{isOpen:isOpen}=Object(react__WEBPACK_IMPORTED_MODULE_7__.useContext)(_config__WEBPACK_IMPORTED_MODULE_9__.b),itemIcon=react__WEBPACK_IMPORTED_MODULE_7___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a,{color:"secondary",variant:"dot",overlap:"circle",invisible:!hasNotifications,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:127}},react__WEBPACK_IMPORTED_MODULE_7___default.a.createElement(Icon,{fontSize:"small",className:classes.icon,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:133}}));return isOpen?react__WEBPACK_IMPORTED_MODULE_7___default.a.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_8__.a,{className:Object(clsx__WEBPACK_IMPORTED_MODULE_6__.a)(classes.root,classes.open),activeClassName:classes.selected,isActive:match=>Boolean(match&&!disableSelected),exact:!0,to:to,onClick:onClick,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:153}},react__WEBPACK_IMPORTED_MODULE_7___default.a.createElement("div",{"data-testid":"login-button",className:classes.iconContainer,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:161}},itemIcon),text&&react__WEBPACK_IMPORTED_MODULE_7___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{variant:"subtitle2",className:classes.label,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:165}},text),children):react__WEBPACK_IMPORTED_MODULE_7___default.a.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_8__.a,{className:Object(clsx__WEBPACK_IMPORTED_MODULE_6__.a)(classes.root,classes.closed),activeClassName:classes.selected,isActive:match=>Boolean(match&&!disableSelected),exact:!0,to:to,onClick:onClick,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:139}},itemIcon)},SidebarSearchField=props=>{const[input,setInput]=Object(react__WEBPACK_IMPORTED_MODULE_7__.useState)(""),classes=useStyles();return react__WEBPACK_IMPORTED_MODULE_7___default.a.createElement("div",{className:classes.searchRoot,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:193}},react__WEBPACK_IMPORTED_MODULE_7___default.a.createElement(SidebarItem,{icon:_material_ui_icons_Search__WEBPACK_IMPORTED_MODULE_5___default.a,disableSelected:!0,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:194}},react__WEBPACK_IMPORTED_MODULE_7___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_3__.a,{placeholder:"Search",onChange:ev=>{setInput(ev.target.value)},onKeyDown:ev=>{"Enter"===ev.key&&props.onSearch(input)},className:classes.searchContainer,InputProps:{disableUnderline:!0,className:classes.searchField},__self:void 0,__source:{fileName:_jsxFileName,lineNumber:195}})))},SidebarSpace=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_4__.a)("div")({flex:1}),SidebarSpacer=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_4__.a)("div")({height:8}),SidebarDivider=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_4__.a)("hr")({height:1,width:"100%",background:"#383838",border:"none",margin:0});var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(useStyles,"useStyles","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Items.tsx"),reactHotLoader.register(SidebarItem,"SidebarItem","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Items.tsx"),reactHotLoader.register(SidebarSearchField,"SidebarSearchField","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Items.tsx"),reactHotLoader.register(SidebarSpace,"SidebarSpace","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Items.tsx"),reactHotLoader.register(SidebarSpacer,"SidebarSpacer","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Items.tsx"),reactHotLoader.register(SidebarDivider,"SidebarDivider","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Items.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},1783:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){__webpack_require__.d(__webpack_exports__,"Default",(function(){return Default})),__webpack_require__.d(__webpack_exports__,"Subhead",(function(){return Subhead})),__webpack_require__.d(__webpack_exports__,"LinkInFooter",(function(){return LinkInFooter}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),___WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(55),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(46);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/layout/InfoCard/InfoCard.stories.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);var withSourceLoader=__webpack_require__(25).withSource,addSourceDecorator=__webpack_require__(25).addSource,__SOURCE_PREFIX__="/home/runner/work/backstage/backstage/packages/core/src/layout/InfoCard",__STORY__="/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport React, { FC } from 'react';\nimport InfoCard from '.';\nimport { Grid } from '@material-ui/core';\n\nconst cardContentStyle = { height: 200, width: 500 };\nconst linkInfo = { title: 'Go to XYZ Location', link: '#' };\n\nexport default {\n  title: 'Information Card',\n  component: InfoCard,\n};\n\nconst Wrapper: FC<{}> = ({ children }) => (\n  <Grid container spacing={4}>\n    <Grid item>{children}</Grid>\n  </Grid>\n);\n\nexport const Default = () => (\n  <Wrapper>\n    <InfoCard title=\"Information Card\">\n      <div style={cardContentStyle} />\n    </InfoCard>\n  </Wrapper>\n);\n\nexport const Subhead = () => (\n  <Wrapper>\n    <InfoCard title=\"Information Card\" subheader=\"Subhead\">\n      <div style={cardContentStyle} />\n    </InfoCard>\n  </Wrapper>\n);\n\nexport const LinkInFooter = () => (\n  <Wrapper>\n    <InfoCard title=\"Information Card\" deepLink={linkInfo}>\n      <div style={cardContentStyle} />\n    </InfoCard>\n  </Wrapper>\n);\n",__ADDS_MAP__={"information-card--default":{startLoc:{col:23,line:34},endLoc:{col:1,line:40},startBody:{col:23,line:34},endBody:{col:1,line:40}},"information-card--subhead":{startLoc:{col:23,line:42},endLoc:{col:1,line:48},startBody:{col:23,line:42},endBody:{col:1,line:48}},"information-card--link-in-footer":{startLoc:{col:28,line:50},endLoc:{col:1,line:56},startBody:{col:28,line:50},endBody:{col:1,line:56}}},__MODULE_DEPENDENCIES__=[],__LOCAL_DEPENDENCIES__={},__IDS_TO_FRAMEWORKS__={};const cardContentStyle={height:200,width:500},linkInfo={title:"Go to XYZ Location",link:"#"};let _default;__webpack_exports__.default=_default={parameters:{storySource:{source:"/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport React, { FC } from 'react';\nimport InfoCard from '.';\nimport { Grid } from '@material-ui/core';\n\nconst cardContentStyle = { height: 200, width: 500 };\nconst linkInfo = { title: 'Go to XYZ Location', link: '#' };\n\nexport default {\n  title: 'Information Card',\n  component: InfoCard,\n};\n\nconst Wrapper: FC<{}> = ({ children }) => (\n  <Grid container spacing={4}>\n    <Grid item>{children}</Grid>\n  </Grid>\n);\n\nexport const Default = () => (\n  <Wrapper>\n    <InfoCard title=\"Information Card\">\n      <div style={cardContentStyle} />\n    </InfoCard>\n  </Wrapper>\n);\n\nexport const Subhead = () => (\n  <Wrapper>\n    <InfoCard title=\"Information Card\" subheader=\"Subhead\">\n      <div style={cardContentStyle} />\n    </InfoCard>\n  </Wrapper>\n);\n\nexport const LinkInFooter = () => (\n  <Wrapper>\n    <InfoCard title=\"Information Card\" deepLink={linkInfo}>\n      <div style={cardContentStyle} />\n    </InfoCard>\n  </Wrapper>\n);\n",locationsMap:{"information-card--default":{startLoc:{col:23,line:34},endLoc:{col:1,line:40},startBody:{col:23,line:34},endBody:{col:1,line:40}},"information-card--subhead":{startLoc:{col:23,line:42},endLoc:{col:1,line:48},startBody:{col:23,line:42},endBody:{col:1,line:48}},"information-card--link-in-footer":{startLoc:{col:28,line:50},endLoc:{col:1,line:56},startBody:{col:28,line:50},endBody:{col:1,line:56}}}}},title:"Information Card",component:___WEBPACK_IMPORTED_MODULE_1__.a};const Wrapper=({children:children})=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{container:!0,spacing:4,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:51}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{item:!0,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:52}},children)),Default=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(Wrapper,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:57}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{title:"Information Card",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:58}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:cardContentStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:59}}))),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/InfoCard.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),Subhead=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(Wrapper,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:65}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{title:"Information Card",subheader:"Subhead",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:66}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:cardContentStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:67}}))),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/InfoCard.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),LinkInFooter=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(Wrapper,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:73}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{title:"Information Card",deepLink:linkInfo,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:74}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:cardContentStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:75}}))),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/InfoCard.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__});var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(withSourceLoader,"withSourceLoader","/home/runner/work/backstage/backstage/packages/core/src/layout/InfoCard/InfoCard.stories.tsx"),reactHotLoader.register(addSourceDecorator,"addSourceDecorator","/home/runner/work/backstage/backstage/packages/core/src/layout/InfoCard/InfoCard.stories.tsx"),reactHotLoader.register(__SOURCE_PREFIX__,"__SOURCE_PREFIX__","/home/runner/work/backstage/backstage/packages/core/src/layout/InfoCard/InfoCard.stories.tsx"),reactHotLoader.register(__STORY__,"__STORY__","/home/runner/work/backstage/backstage/packages/core/src/layout/InfoCard/InfoCard.stories.tsx"),reactHotLoader.register(__ADDS_MAP__,"__ADDS_MAP__","/home/runner/work/backstage/backstage/packages/core/src/layout/InfoCard/InfoCard.stories.tsx"),reactHotLoader.register("/InfoCard.stories.tsx","__MAIN_FILE_LOCATION__","/home/runner/work/backstage/backstage/packages/core/src/layout/InfoCard/InfoCard.stories.tsx"),reactHotLoader.register(__MODULE_DEPENDENCIES__,"__MODULE_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/layout/InfoCard/InfoCard.stories.tsx"),reactHotLoader.register(__LOCAL_DEPENDENCIES__,"__LOCAL_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/layout/InfoCard/InfoCard.stories.tsx"),reactHotLoader.register(__IDS_TO_FRAMEWORKS__,"__IDS_TO_FRAMEWORKS__","/home/runner/work/backstage/backstage/packages/core/src/layout/InfoCard/InfoCard.stories.tsx"),reactHotLoader.register(cardContentStyle,"cardContentStyle","/home/runner/work/backstage/backstage/packages/core/src/layout/InfoCard/InfoCard.stories.tsx"),reactHotLoader.register(linkInfo,"linkInfo","/home/runner/work/backstage/backstage/packages/core/src/layout/InfoCard/InfoCard.stories.tsx"),reactHotLoader.register(Wrapper,"Wrapper","/home/runner/work/backstage/backstage/packages/core/src/layout/InfoCard/InfoCard.stories.tsx"),reactHotLoader.register(Default,"Default","/home/runner/work/backstage/backstage/packages/core/src/layout/InfoCard/InfoCard.stories.tsx"),reactHotLoader.register(Subhead,"Subhead","/home/runner/work/backstage/backstage/packages/core/src/layout/InfoCard/InfoCard.stories.tsx"),reactHotLoader.register(LinkInFooter,"LinkInFooter","/home/runner/work/backstage/backstage/packages/core/src/layout/InfoCard/InfoCard.stories.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/layout/InfoCard/InfoCard.stories.tsx"),leaveModule(module))}.call(this,__webpack_require__(7)(module))},1784:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){__webpack_require__.d(__webpack_exports__,"SampleSidebar",(function(){return SampleSidebar}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),___WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(72),_material_ui_icons_HomeOutlined__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(571),_material_ui_icons_HomeOutlined__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(_material_ui_icons_HomeOutlined__WEBPACK_IMPORTED_MODULE_2__),_material_ui_icons_AddCircleOutline__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(949),_material_ui_icons_AddCircleOutline__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(_material_ui_icons_AddCircleOutline__WEBPACK_IMPORTED_MODULE_3__),react_router_dom__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(29);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Sidebar.stories.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);var withSourceLoader=__webpack_require__(25).withSource,addSourceDecorator=__webpack_require__(25).addSource,__SOURCE_PREFIX__="/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar",__STORY__='/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from \'react\';\nimport {\n  Sidebar,\n  SidebarIntro,\n  SidebarItem,\n  SidebarDivider,\n  SidebarSearchField,\n  SidebarSpace,\n  SidebarUserBadge,\n} from \'.\';\nimport HomeOutlinedIcon from \'@material-ui/icons/HomeOutlined\';\nimport AddCircleOutlineIcon from \'@material-ui/icons/AddCircleOutline\';\nimport { MemoryRouter } from \'react-router-dom\';\n\nexport default {\n  title: \'Sidebar\',\n  component: Sidebar,\n  decorators: [\n    (storyFn: () => JSX.Element) => (\n      <MemoryRouter initialEntries={[\'/\']}>{storyFn()}</MemoryRouter>\n    ),\n  ],\n};\n\nconst handleSearch = (input: string) => {\n  \n  console.log(input);\n};\n\nexport const SampleSidebar = () => (\n  <Sidebar>\n    {/* <SidebarLogo /> */}\n    <SidebarSearchField onSearch={handleSearch} />\n    <SidebarDivider />\n    <SidebarItem icon={HomeOutlinedIcon} to="#" text="Home" />\n    <SidebarItem icon={HomeOutlinedIcon} to="#" text="Plugins" />\n    <SidebarItem icon={AddCircleOutlineIcon} to="#" text="Create..." />\n    <SidebarDivider />\n    <SidebarIntro />\n    <SidebarSpace />\n    <SidebarDivider />\n    <SidebarUserBadge />\n  </Sidebar>\n);\n',__ADDS_MAP__={"sidebar--sample-sidebar":{startLoc:{col:29,line:46},endLoc:{col:1,line:60},startBody:{col:29,line:46},endBody:{col:1,line:60}}},__MODULE_DEPENDENCIES__=[],__LOCAL_DEPENDENCIES__={},__IDS_TO_FRAMEWORKS__={};let _default;__webpack_exports__.default=_default={parameters:{storySource:{source:'/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from \'react\';\nimport {\n  Sidebar,\n  SidebarIntro,\n  SidebarItem,\n  SidebarDivider,\n  SidebarSearchField,\n  SidebarSpace,\n  SidebarUserBadge,\n} from \'.\';\nimport HomeOutlinedIcon from \'@material-ui/icons/HomeOutlined\';\nimport AddCircleOutlineIcon from \'@material-ui/icons/AddCircleOutline\';\nimport { MemoryRouter } from \'react-router-dom\';\n\nexport default {\n  title: \'Sidebar\',\n  component: Sidebar,\n  decorators: [\n    (storyFn: () => JSX.Element) => (\n      <MemoryRouter initialEntries={[\'/\']}>{storyFn()}</MemoryRouter>\n    ),\n  ],\n};\n\nconst handleSearch = (input: string) => {\n  \n  console.log(input);\n};\n\nexport const SampleSidebar = () => (\n  <Sidebar>\n    {/* <SidebarLogo /> */}\n    <SidebarSearchField onSearch={handleSearch} />\n    <SidebarDivider />\n    <SidebarItem icon={HomeOutlinedIcon} to="#" text="Home" />\n    <SidebarItem icon={HomeOutlinedIcon} to="#" text="Plugins" />\n    <SidebarItem icon={AddCircleOutlineIcon} to="#" text="Create..." />\n    <SidebarDivider />\n    <SidebarIntro />\n    <SidebarSpace />\n    <SidebarDivider />\n    <SidebarUserBadge />\n  </Sidebar>\n);\n',locationsMap:{"sidebar--sample-sidebar":{startLoc:{col:29,line:46},endLoc:{col:1,line:60},startBody:{col:29,line:46},endBody:{col:1,line:60}}}}},title:"Sidebar",component:___WEBPACK_IMPORTED_MODULE_1__.a,decorators:[storyFn=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_4__.a,{initialEntries:["/"],__self:void 0,__source:{fileName:_jsxFileName,lineNumber:58}},storyFn())]};const handleSearch=input=>{console.log(input)},SampleSidebar=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:69}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.f,{onSearch:handleSearch,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:71}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.b,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:72}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.d,{icon:_material_ui_icons_HomeOutlined__WEBPACK_IMPORTED_MODULE_2___default.a,to:"#",text:"Home",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:73}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.d,{icon:_material_ui_icons_HomeOutlined__WEBPACK_IMPORTED_MODULE_2___default.a,to:"#",text:"Plugins",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:74}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.d,{icon:_material_ui_icons_AddCircleOutline__WEBPACK_IMPORTED_MODULE_3___default.a,to:"#",text:"Create...",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:75}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.b,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:76}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.c,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:77}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.g,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:78}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.b,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:79}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.h,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:80}})),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/Sidebar.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__});var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(withSourceLoader,"withSourceLoader","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Sidebar.stories.tsx"),reactHotLoader.register(addSourceDecorator,"addSourceDecorator","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Sidebar.stories.tsx"),reactHotLoader.register(__SOURCE_PREFIX__,"__SOURCE_PREFIX__","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Sidebar.stories.tsx"),reactHotLoader.register(__STORY__,"__STORY__","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Sidebar.stories.tsx"),reactHotLoader.register(__ADDS_MAP__,"__ADDS_MAP__","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Sidebar.stories.tsx"),reactHotLoader.register("/Sidebar.stories.tsx","__MAIN_FILE_LOCATION__","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Sidebar.stories.tsx"),reactHotLoader.register(__MODULE_DEPENDENCIES__,"__MODULE_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Sidebar.stories.tsx"),reactHotLoader.register(__LOCAL_DEPENDENCIES__,"__LOCAL_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Sidebar.stories.tsx"),reactHotLoader.register(__IDS_TO_FRAMEWORKS__,"__IDS_TO_FRAMEWORKS__","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Sidebar.stories.tsx"),reactHotLoader.register(handleSearch,"handleSearch","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Sidebar.stories.tsx"),reactHotLoader.register(SampleSidebar,"SampleSidebar","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Sidebar.stories.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Sidebar.stories.tsx"),leaveModule(module))}.call(this,__webpack_require__(7)(module))},1785:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){__webpack_require__.d(__webpack_exports__,"Default",(function(){return Default})),__webpack_require__.d(__webpack_exports__,"WithFooterLink",(function(){return WithFooterLink})),__webpack_require__.d(__webpack_exports__,"WithControlledTabValue",(function(){return WithControlledTabValue}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),___WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(61),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(46);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/layout/TabbedCard/TabbedCard.stories.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);var withSourceLoader=__webpack_require__(25).withSource,addSourceDecorator=__webpack_require__(25).addSource,__SOURCE_PREFIX__="/home/runner/work/backstage/backstage/packages/core/src/layout/TabbedCard",__STORY__='/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport React, { useState } from \'react\';\nimport { TabbedCard, CardTab } from \'.\';\nimport { Grid } from \'@material-ui/core\';\n\nconst cardContentStyle = { height: 200, width: 500 };\n\nexport default {\n  title: \'Tabbed Card\',\n  component: TabbedCard,\n  decorators: [\n    (storyFn: () => JSX.Element) => (\n      <Grid container spacing={4}>\n        <Grid item>{storyFn()}</Grid>\n      </Grid>\n    ),\n  ],\n};\n\nexport const Default = () => {\n  return (\n    <TabbedCard title="Default Example Header">\n      <CardTab label="Option 1">\n        <div style={cardContentStyle}>Some content</div>\n      </CardTab>\n      <CardTab label="Option 2">\n        <div style={cardContentStyle}>Some content 2</div>\n      </CardTab>\n      <CardTab label="Option 3">\n        <div style={cardContentStyle}>Some content 3</div>\n      </CardTab>\n      <CardTab label="Option 4">\n        <div style={cardContentStyle}>Some content 4</div>\n      </CardTab>\n    </TabbedCard>\n  );\n};\n\nconst linkInfo = { title: \'Go to XYZ Location\', link: \'#\' };\n\nexport const WithFooterLink = () => {\n  return (\n    <TabbedCard title="Footer Link Example Header" deepLink={linkInfo}>\n      <CardTab label="Option 1">\n        <div style={cardContentStyle}>Some content</div>\n      </CardTab>\n      <CardTab label="Option 2">\n        <div style={cardContentStyle}>Some content 2</div>\n      </CardTab>\n      <CardTab label="Option 3">\n        <div style={cardContentStyle}>Some content 3</div>\n      </CardTab>\n      <CardTab label="Option 4">\n        <div style={cardContentStyle}>Some content 4</div>\n      </CardTab>\n    </TabbedCard>\n  );\n};\n\nexport const WithControlledTabValue = () => {\n  const [selectedTab, setSelectedTab] = useState<string | number>(\'one\');\n\n  const handleChange = (_ev: any, newSelectedTab: string | number) =>\n    setSelectedTab(newSelectedTab);\n\n  return (\n    <>\n      <span>Selected tab is {selectedTab}</span>\n\n      <TabbedCard\n        value={selectedTab}\n        onChange={handleChange}\n        title="Controlled Value Example"\n      >\n        <CardTab value="one" label="Option 1">\n          <div style={cardContentStyle}>Some content</div>\n        </CardTab>\n        <CardTab value="two" label="Option 2">\n          <div style={cardContentStyle}>Some content 2</div>\n        </CardTab>\n        <CardTab value="three" label="Option 3">\n          <div style={cardContentStyle}>Some content 3</div>\n        </CardTab>\n        <CardTab value="four" label="Option 4">\n          <div style={cardContentStyle}>Some content 4</div>\n        </CardTab>\n      </TabbedCard>\n    </>\n  );\n};\n',__ADDS_MAP__={"tabbed-card--default":{startLoc:{col:23,line:34},endLoc:{col:1,line:51},startBody:{col:23,line:34},endBody:{col:1,line:51}},"tabbed-card--with-footer-link":{startLoc:{col:30,line:55},endLoc:{col:1,line:72},startBody:{col:30,line:55},endBody:{col:1,line:72}},"tabbed-card--with-controlled-tab-value":{startLoc:{col:38,line:74},endLoc:{col:1,line:104},startBody:{col:38,line:74},endBody:{col:1,line:104}}},__MODULE_DEPENDENCIES__=[],__LOCAL_DEPENDENCIES__={},__IDS_TO_FRAMEWORKS__={};const cardContentStyle={height:200,width:500};let _default;__webpack_exports__.default=_default={parameters:{storySource:{source:'/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport React, { useState } from \'react\';\nimport { TabbedCard, CardTab } from \'.\';\nimport { Grid } from \'@material-ui/core\';\n\nconst cardContentStyle = { height: 200, width: 500 };\n\nexport default {\n  title: \'Tabbed Card\',\n  component: TabbedCard,\n  decorators: [\n    (storyFn: () => JSX.Element) => (\n      <Grid container spacing={4}>\n        <Grid item>{storyFn()}</Grid>\n      </Grid>\n    ),\n  ],\n};\n\nexport const Default = () => {\n  return (\n    <TabbedCard title="Default Example Header">\n      <CardTab label="Option 1">\n        <div style={cardContentStyle}>Some content</div>\n      </CardTab>\n      <CardTab label="Option 2">\n        <div style={cardContentStyle}>Some content 2</div>\n      </CardTab>\n      <CardTab label="Option 3">\n        <div style={cardContentStyle}>Some content 3</div>\n      </CardTab>\n      <CardTab label="Option 4">\n        <div style={cardContentStyle}>Some content 4</div>\n      </CardTab>\n    </TabbedCard>\n  );\n};\n\nconst linkInfo = { title: \'Go to XYZ Location\', link: \'#\' };\n\nexport const WithFooterLink = () => {\n  return (\n    <TabbedCard title="Footer Link Example Header" deepLink={linkInfo}>\n      <CardTab label="Option 1">\n        <div style={cardContentStyle}>Some content</div>\n      </CardTab>\n      <CardTab label="Option 2">\n        <div style={cardContentStyle}>Some content 2</div>\n      </CardTab>\n      <CardTab label="Option 3">\n        <div style={cardContentStyle}>Some content 3</div>\n      </CardTab>\n      <CardTab label="Option 4">\n        <div style={cardContentStyle}>Some content 4</div>\n      </CardTab>\n    </TabbedCard>\n  );\n};\n\nexport const WithControlledTabValue = () => {\n  const [selectedTab, setSelectedTab] = useState<string | number>(\'one\');\n\n  const handleChange = (_ev: any, newSelectedTab: string | number) =>\n    setSelectedTab(newSelectedTab);\n\n  return (\n    <>\n      <span>Selected tab is {selectedTab}</span>\n\n      <TabbedCard\n        value={selectedTab}\n        onChange={handleChange}\n        title="Controlled Value Example"\n      >\n        <CardTab value="one" label="Option 1">\n          <div style={cardContentStyle}>Some content</div>\n        </CardTab>\n        <CardTab value="two" label="Option 2">\n          <div style={cardContentStyle}>Some content 2</div>\n        </CardTab>\n        <CardTab value="three" label="Option 3">\n          <div style={cardContentStyle}>Some content 3</div>\n        </CardTab>\n        <CardTab value="four" label="Option 4">\n          <div style={cardContentStyle}>Some content 4</div>\n        </CardTab>\n      </TabbedCard>\n    </>\n  );\n};\n',locationsMap:{"tabbed-card--default":{startLoc:{col:23,line:34},endLoc:{col:1,line:51},startBody:{col:23,line:34},endBody:{col:1,line:51}},"tabbed-card--with-footer-link":{startLoc:{col:30,line:55},endLoc:{col:1,line:72},startBody:{col:30,line:55},endBody:{col:1,line:72}},"tabbed-card--with-controlled-tab-value":{startLoc:{col:38,line:74},endLoc:{col:1,line:104},startBody:{col:38,line:74},endBody:{col:1,line:104}}}}},title:"Tabbed Card",component:___WEBPACK_IMPORTED_MODULE_1__.b,decorators:[storyFn=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{container:!0,spacing:4,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:49}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{item:!0,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:50}},storyFn()))]};const Default=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.b,{title:"Default Example Header",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:58}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{label:"Option 1",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:59}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:cardContentStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:60}},"Some content")),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{label:"Option 2",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:62}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:cardContentStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:63}},"Some content 2")),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{label:"Option 3",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:65}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:cardContentStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:66}},"Some content 3")),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{label:"Option 4",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:68}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:cardContentStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:69}},"Some content 4"))),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/TabbedCard.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),linkInfo={title:"Go to XYZ Location",link:"#"},WithFooterLink=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.b,{title:"Footer Link Example Header",deepLink:linkInfo,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:79}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{label:"Option 1",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:80}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:cardContentStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:81}},"Some content")),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{label:"Option 2",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:83}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:cardContentStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:84}},"Some content 2")),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{label:"Option 3",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:86}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:cardContentStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:87}},"Some content 3")),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{label:"Option 4",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:89}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:cardContentStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:90}},"Some content 4"))),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/TabbedCard.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),WithControlledTabValue=addSourceDecorator(()=>{const[selectedTab,setSelectedTab]=Object(react__WEBPACK_IMPORTED_MODULE_0__.useState)("one");return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0___default.a.Fragment,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span",{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:104}},"Selected tab is ",selectedTab),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.b,{value:selectedTab,onChange:(_ev,newSelectedTab)=>setSelectedTab(newSelectedTab),title:"Controlled Value Example",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:106}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{value:"one",label:"Option 1",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:111}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:cardContentStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:112}},"Some content")),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{value:"two",label:"Option 2",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:114}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:cardContentStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:115}},"Some content 2")),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{value:"three",label:"Option 3",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:117}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:cardContentStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:118}},"Some content 3")),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{value:"four",label:"Option 4",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:120}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:cardContentStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:121}},"Some content 4"))))},{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/TabbedCard.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__});var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(withSourceLoader,"withSourceLoader","/home/runner/work/backstage/backstage/packages/core/src/layout/TabbedCard/TabbedCard.stories.tsx"),reactHotLoader.register(addSourceDecorator,"addSourceDecorator","/home/runner/work/backstage/backstage/packages/core/src/layout/TabbedCard/TabbedCard.stories.tsx"),reactHotLoader.register(__SOURCE_PREFIX__,"__SOURCE_PREFIX__","/home/runner/work/backstage/backstage/packages/core/src/layout/TabbedCard/TabbedCard.stories.tsx"),reactHotLoader.register(__STORY__,"__STORY__","/home/runner/work/backstage/backstage/packages/core/src/layout/TabbedCard/TabbedCard.stories.tsx"),reactHotLoader.register(__ADDS_MAP__,"__ADDS_MAP__","/home/runner/work/backstage/backstage/packages/core/src/layout/TabbedCard/TabbedCard.stories.tsx"),reactHotLoader.register("/TabbedCard.stories.tsx","__MAIN_FILE_LOCATION__","/home/runner/work/backstage/backstage/packages/core/src/layout/TabbedCard/TabbedCard.stories.tsx"),reactHotLoader.register(__MODULE_DEPENDENCIES__,"__MODULE_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/layout/TabbedCard/TabbedCard.stories.tsx"),reactHotLoader.register(__LOCAL_DEPENDENCIES__,"__LOCAL_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/layout/TabbedCard/TabbedCard.stories.tsx"),reactHotLoader.register(__IDS_TO_FRAMEWORKS__,"__IDS_TO_FRAMEWORKS__","/home/runner/work/backstage/backstage/packages/core/src/layout/TabbedCard/TabbedCard.stories.tsx"),reactHotLoader.register(cardContentStyle,"cardContentStyle","/home/runner/work/backstage/backstage/packages/core/src/layout/TabbedCard/TabbedCard.stories.tsx"),reactHotLoader.register(Default,"Default","/home/runner/work/backstage/backstage/packages/core/src/layout/TabbedCard/TabbedCard.stories.tsx"),reactHotLoader.register(linkInfo,"linkInfo","/home/runner/work/backstage/backstage/packages/core/src/layout/TabbedCard/TabbedCard.stories.tsx"),reactHotLoader.register(WithFooterLink,"WithFooterLink","/home/runner/work/backstage/backstage/packages/core/src/layout/TabbedCard/TabbedCard.stories.tsx"),reactHotLoader.register(WithControlledTabValue,"WithControlledTabValue","/home/runner/work/backstage/backstage/packages/core/src/layout/TabbedCard/TabbedCard.stories.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/layout/TabbedCard/TabbedCard.stories.tsx"),leaveModule(module))}.call(this,__webpack_require__(7)(module))},1786:function(module,exports,__webpack_require__){var map={"./CodeSnippet/CodeSnippet.stories.tsx":1787,"./CopyTextButton/CopyTextButton.stories.tsx":1788,"./DismissableBanner/DismissableBanner.stories.tsx":1789,"./HorizontalScrollGrid/HorizontalScrollGrid.stories.tsx":1790,"./Lifecycle/Lifecycle.stories.tsx":1791,"./Progress/Progress.stories.tsx":1792,"./ProgressBars/HorizontalProgress.stories.tsx":1793,"./ProgressBars/ProgressCard.stories.tsx":1794,"./SimpleStepper/SimpleStepper.stories.tsx":1795,"./Status/Status.stories.tsx":1796,"./StructuredMetadataTable/StructuredMetadataTable.stories.tsx":1797,"./Table/Table.stories.tsx":1798,"./TrendLine/TrendLine.stories.tsx":1799,"./WarningPanel/WarningPanel.stories.tsx":1800};function webpackContext(req){var id=webpackContextResolve(req);return __webpack_require__(id)}function webpackContextResolve(req){if(!__webpack_require__.o(map,req)){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}return map[req]}webpackContext.keys=function webpackContextKeys(){return Object.keys(map)},webpackContext.resolve=webpackContextResolve,module.exports=webpackContext,webpackContext.id=1786},1787:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){__webpack_require__.d(__webpack_exports__,"Default",(function(){return Default})),__webpack_require__.d(__webpack_exports__,"MultipleLines",(function(){return MultipleLines})),__webpack_require__.d(__webpack_exports__,"LineNumbers",(function(){return LineNumbers})),__webpack_require__.d(__webpack_exports__,"Overflow",(function(){return Overflow})),__webpack_require__.d(__webpack_exports__,"Languages",(function(){return Languages}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_CodeSnippet__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(108),_layout_InfoCard__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(55);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/CodeSnippet/CodeSnippet.stories.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);var withSourceLoader=__webpack_require__(25).withSource,addSourceDecorator=__webpack_require__(25).addSource,__SOURCE_PREFIX__="/home/runner/work/backstage/backstage/packages/core/src/components/CodeSnippet",__STORY__='/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from \'react\';\nimport CodeSnippet from \'./CodeSnippet\';\nimport InfoCard from \'../../layout/InfoCard\';\n\nexport default {\n  title: \'CodeSnippet\',\n  component: CodeSnippet,\n};\n\nconst containerStyle = { width: 300 };\n\nconst JAVASCRIPT = `const greeting = "Hello";\nconst world = "World";\n\nconst greet = person => greeting + " " + person + "!";\n\ngreet(world);\n`;\n\nconst TYPESCRIPT = `const greeting: string = "Hello";\nconst world: string = "World";\n\nconst greet = (person: string): string => greeting + " " + person + "!";\n\ngreet(world);\n`;\n\nconst PYTHON = `greeting = "Hello"\nworld = "World"\n\ndef greet(person):\n    return f"{greeting} {person}!"\n\ngreet(world)\n`;\n\nexport const Default = () => (\n  <InfoCard title="JavaScript example">\n    <CodeSnippet text={"const hello = \'World\';"} language="javascript" />\n  </InfoCard>\n);\n\nexport const MultipleLines = () => (\n  <InfoCard title="JavaScript multi-line example">\n    <CodeSnippet text={JAVASCRIPT} language="javascript" />\n  </InfoCard>\n);\n\nexport const LineNumbers = () => (\n  <InfoCard title="Show line numbers">\n    <CodeSnippet text={JAVASCRIPT} language="javascript" showLineNumbers />\n  </InfoCard>\n);\n\nexport const Overflow = () => (\n  <InfoCard title="Overflow">\n    <div style={containerStyle}>\n      <CodeSnippet text={JAVASCRIPT} language="javascript" />\n    </div>\n    <div style={containerStyle}>\n      <CodeSnippet text={JAVASCRIPT} language="javascript" showLineNumbers />\n    </div>\n  </InfoCard>\n);\n\nexport const Languages = () => (\n  <InfoCard title="Multiple languages">\n    <CodeSnippet text={JAVASCRIPT} language="javascript" showLineNumbers />\n    <CodeSnippet text={TYPESCRIPT} language="typescript" showLineNumbers />\n    <CodeSnippet text={PYTHON} language="python" showLineNumbers />\n  </InfoCard>\n);\n',__ADDS_MAP__={"codesnippet--default":{startLoc:{col:23,line:53},endLoc:{col:1,line:57},startBody:{col:23,line:53},endBody:{col:1,line:57}},"codesnippet--multiple-lines":{startLoc:{col:29,line:59},endLoc:{col:1,line:63},startBody:{col:29,line:59},endBody:{col:1,line:63}},"codesnippet--line-numbers":{startLoc:{col:27,line:65},endLoc:{col:1,line:69},startBody:{col:27,line:65},endBody:{col:1,line:69}},"codesnippet--overflow":{startLoc:{col:24,line:71},endLoc:{col:1,line:80},startBody:{col:24,line:71},endBody:{col:1,line:80}},"codesnippet--languages":{startLoc:{col:25,line:82},endLoc:{col:1,line:88},startBody:{col:25,line:82},endBody:{col:1,line:88}}},__MODULE_DEPENDENCIES__=[],__LOCAL_DEPENDENCIES__={},__IDS_TO_FRAMEWORKS__={};let _default;__webpack_exports__.default=_default={parameters:{storySource:{source:'/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from \'react\';\nimport CodeSnippet from \'./CodeSnippet\';\nimport InfoCard from \'../../layout/InfoCard\';\n\nexport default {\n  title: \'CodeSnippet\',\n  component: CodeSnippet,\n};\n\nconst containerStyle = { width: 300 };\n\nconst JAVASCRIPT = `const greeting = "Hello";\nconst world = "World";\n\nconst greet = person => greeting + " " + person + "!";\n\ngreet(world);\n`;\n\nconst TYPESCRIPT = `const greeting: string = "Hello";\nconst world: string = "World";\n\nconst greet = (person: string): string => greeting + " " + person + "!";\n\ngreet(world);\n`;\n\nconst PYTHON = `greeting = "Hello"\nworld = "World"\n\ndef greet(person):\n    return f"{greeting} {person}!"\n\ngreet(world)\n`;\n\nexport const Default = () => (\n  <InfoCard title="JavaScript example">\n    <CodeSnippet text={"const hello = \'World\';"} language="javascript" />\n  </InfoCard>\n);\n\nexport const MultipleLines = () => (\n  <InfoCard title="JavaScript multi-line example">\n    <CodeSnippet text={JAVASCRIPT} language="javascript" />\n  </InfoCard>\n);\n\nexport const LineNumbers = () => (\n  <InfoCard title="Show line numbers">\n    <CodeSnippet text={JAVASCRIPT} language="javascript" showLineNumbers />\n  </InfoCard>\n);\n\nexport const Overflow = () => (\n  <InfoCard title="Overflow">\n    <div style={containerStyle}>\n      <CodeSnippet text={JAVASCRIPT} language="javascript" />\n    </div>\n    <div style={containerStyle}>\n      <CodeSnippet text={JAVASCRIPT} language="javascript" showLineNumbers />\n    </div>\n  </InfoCard>\n);\n\nexport const Languages = () => (\n  <InfoCard title="Multiple languages">\n    <CodeSnippet text={JAVASCRIPT} language="javascript" showLineNumbers />\n    <CodeSnippet text={TYPESCRIPT} language="typescript" showLineNumbers />\n    <CodeSnippet text={PYTHON} language="python" showLineNumbers />\n  </InfoCard>\n);\n',locationsMap:{"codesnippet--default":{startLoc:{col:23,line:53},endLoc:{col:1,line:57},startBody:{col:23,line:53},endBody:{col:1,line:57}},"codesnippet--multiple-lines":{startLoc:{col:29,line:59},endLoc:{col:1,line:63},startBody:{col:29,line:59},endBody:{col:1,line:63}},"codesnippet--line-numbers":{startLoc:{col:27,line:65},endLoc:{col:1,line:69},startBody:{col:27,line:65},endBody:{col:1,line:69}},"codesnippet--overflow":{startLoc:{col:24,line:71},endLoc:{col:1,line:80},startBody:{col:24,line:71},endBody:{col:1,line:80}},"codesnippet--languages":{startLoc:{col:25,line:82},endLoc:{col:1,line:88},startBody:{col:25,line:82},endBody:{col:1,line:88}}}}},title:"CodeSnippet",component:_CodeSnippet__WEBPACK_IMPORTED_MODULE_1__.a};const containerStyle={width:300},JAVASCRIPT='const greeting = "Hello";\nconst world = "World";\n\nconst greet = person => greeting + " " + person + "!";\n\ngreet(world);\n',TYPESCRIPT='const greeting: string = "Hello";\nconst world: string = "World";\n\nconst greet = (person: string): string => greeting + " " + person + "!";\n\ngreet(world);\n',PYTHON='greeting = "Hello"\nworld = "World"\n\ndef greet(person):\n    return f"{greeting} {person}!"\n\ngreet(world)\n',Default=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_layout_InfoCard__WEBPACK_IMPORTED_MODULE_2__.a,{title:"JavaScript example",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:76}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_CodeSnippet__WEBPACK_IMPORTED_MODULE_1__.a,{text:"const hello = 'World';",language:"javascript",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:77}})),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/CodeSnippet.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),MultipleLines=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_layout_InfoCard__WEBPACK_IMPORTED_MODULE_2__.a,{title:"JavaScript multi-line example",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:82}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_CodeSnippet__WEBPACK_IMPORTED_MODULE_1__.a,{text:JAVASCRIPT,language:"javascript",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:83}})),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/CodeSnippet.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),LineNumbers=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_layout_InfoCard__WEBPACK_IMPORTED_MODULE_2__.a,{title:"Show line numbers",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:88}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_CodeSnippet__WEBPACK_IMPORTED_MODULE_1__.a,{text:JAVASCRIPT,language:"javascript",showLineNumbers:!0,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:89}})),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/CodeSnippet.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),Overflow=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_layout_InfoCard__WEBPACK_IMPORTED_MODULE_2__.a,{title:"Overflow",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:94}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:containerStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:95}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_CodeSnippet__WEBPACK_IMPORTED_MODULE_1__.a,{text:JAVASCRIPT,language:"javascript",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:96}})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:containerStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:98}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_CodeSnippet__WEBPACK_IMPORTED_MODULE_1__.a,{text:JAVASCRIPT,language:"javascript",showLineNumbers:!0,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:99}}))),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/CodeSnippet.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),Languages=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_layout_InfoCard__WEBPACK_IMPORTED_MODULE_2__.a,{title:"Multiple languages",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:105}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_CodeSnippet__WEBPACK_IMPORTED_MODULE_1__.a,{text:JAVASCRIPT,language:"javascript",showLineNumbers:!0,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:106}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_CodeSnippet__WEBPACK_IMPORTED_MODULE_1__.a,{text:TYPESCRIPT,language:"typescript",showLineNumbers:!0,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:107}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_CodeSnippet__WEBPACK_IMPORTED_MODULE_1__.a,{text:PYTHON,language:"python",showLineNumbers:!0,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:108}})),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/CodeSnippet.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__});var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(withSourceLoader,"withSourceLoader","/home/runner/work/backstage/backstage/packages/core/src/components/CodeSnippet/CodeSnippet.stories.tsx"),reactHotLoader.register(addSourceDecorator,"addSourceDecorator","/home/runner/work/backstage/backstage/packages/core/src/components/CodeSnippet/CodeSnippet.stories.tsx"),reactHotLoader.register(__SOURCE_PREFIX__,"__SOURCE_PREFIX__","/home/runner/work/backstage/backstage/packages/core/src/components/CodeSnippet/CodeSnippet.stories.tsx"),reactHotLoader.register(__STORY__,"__STORY__","/home/runner/work/backstage/backstage/packages/core/src/components/CodeSnippet/CodeSnippet.stories.tsx"),reactHotLoader.register(__ADDS_MAP__,"__ADDS_MAP__","/home/runner/work/backstage/backstage/packages/core/src/components/CodeSnippet/CodeSnippet.stories.tsx"),reactHotLoader.register("/CodeSnippet.stories.tsx","__MAIN_FILE_LOCATION__","/home/runner/work/backstage/backstage/packages/core/src/components/CodeSnippet/CodeSnippet.stories.tsx"),reactHotLoader.register(__MODULE_DEPENDENCIES__,"__MODULE_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/components/CodeSnippet/CodeSnippet.stories.tsx"),reactHotLoader.register(__LOCAL_DEPENDENCIES__,"__LOCAL_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/components/CodeSnippet/CodeSnippet.stories.tsx"),reactHotLoader.register(__IDS_TO_FRAMEWORKS__,"__IDS_TO_FRAMEWORKS__","/home/runner/work/backstage/backstage/packages/core/src/components/CodeSnippet/CodeSnippet.stories.tsx"),reactHotLoader.register(containerStyle,"containerStyle","/home/runner/work/backstage/backstage/packages/core/src/components/CodeSnippet/CodeSnippet.stories.tsx"),reactHotLoader.register(JAVASCRIPT,"JAVASCRIPT","/home/runner/work/backstage/backstage/packages/core/src/components/CodeSnippet/CodeSnippet.stories.tsx"),reactHotLoader.register(TYPESCRIPT,"TYPESCRIPT","/home/runner/work/backstage/backstage/packages/core/src/components/CodeSnippet/CodeSnippet.stories.tsx"),reactHotLoader.register(PYTHON,"PYTHON","/home/runner/work/backstage/backstage/packages/core/src/components/CodeSnippet/CodeSnippet.stories.tsx"),reactHotLoader.register(Default,"Default","/home/runner/work/backstage/backstage/packages/core/src/components/CodeSnippet/CodeSnippet.stories.tsx"),reactHotLoader.register(MultipleLines,"MultipleLines","/home/runner/work/backstage/backstage/packages/core/src/components/CodeSnippet/CodeSnippet.stories.tsx"),reactHotLoader.register(LineNumbers,"LineNumbers","/home/runner/work/backstage/backstage/packages/core/src/components/CodeSnippet/CodeSnippet.stories.tsx"),reactHotLoader.register(Overflow,"Overflow","/home/runner/work/backstage/backstage/packages/core/src/components/CodeSnippet/CodeSnippet.stories.tsx"),reactHotLoader.register(Languages,"Languages","/home/runner/work/backstage/backstage/packages/core/src/components/CodeSnippet/CodeSnippet.stories.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/CodeSnippet/CodeSnippet.stories.tsx"),leaveModule(module))}.call(this,__webpack_require__(7)(module))},1788:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){__webpack_require__.d(__webpack_exports__,"Default",(function(){return Default})),__webpack_require__.d(__webpack_exports__,"WithTooltip",(function(){return WithTooltip})),__webpack_require__.d(__webpack_exports__,"LongerTooltipDelay",(function(){return LongerTooltipDelay}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),___WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(208),_backstage_core_api__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(50);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/CopyTextButton/CopyTextButton.stories.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);var withSourceLoader=__webpack_require__(25).withSource,addSourceDecorator=__webpack_require__(25).addSource,__SOURCE_PREFIX__="/home/runner/work/backstage/backstage/packages/core/src/components/CopyTextButton",__STORY__='/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from \'react\';\nimport CopyTextButton from \'.\';\nimport {\n  ApiProvider,\n  errorApiRef,\n  ApiRegistry,\n  ErrorApi,\n} from \'@backstage/core-api\';\n\nexport default {\n  title: \'CopyTextButton\',\n  component: CopyTextButton,\n  decorators: [\n    (storyFn: () => JSX.Element) => {\n      // TODO: move this to common storybook config, requires core package to be separate from components\n      const registry = ApiRegistry.from([\n        [\n          errorApiRef,\n          {\n            post(error) {\n              \n              window.alert(`Component posted error, ${error}`);\n            },\n          } as ErrorApi,\n        ],\n      ]);\n      return <ApiProvider apis={registry} children={storyFn()} />;\n    },\n  ],\n};\n\nexport const Default = () => (\n  <CopyTextButton text="The text to copy to clipboard" />\n);\n\nexport const WithTooltip = () => (\n  <CopyTextButton\n    text="The text to copy to clipboard"\n    tooltipText="Custom tooltip shown on button click"\n  />\n);\n\nexport const LongerTooltipDelay = () => (\n  <CopyTextButton\n    text="The text to copy to clipboard"\n    tooltipText="Waiting 3s before removing tooltip"\n    tooltipDelay={3000}\n  />\n);\n',__ADDS_MAP__={"copytextbutton--default":{startLoc:{col:23,line:48},endLoc:{col:1,line:50},startBody:{col:23,line:48},endBody:{col:1,line:50}},"copytextbutton--with-tooltip":{startLoc:{col:27,line:52},endLoc:{col:1,line:57},startBody:{col:27,line:52},endBody:{col:1,line:57}},"copytextbutton--longer-tooltip-delay":{startLoc:{col:34,line:59},endLoc:{col:1,line:65},startBody:{col:34,line:59},endBody:{col:1,line:65}}},__MODULE_DEPENDENCIES__=[],__LOCAL_DEPENDENCIES__={},__IDS_TO_FRAMEWORKS__={};let _default;__webpack_exports__.default=_default={parameters:{storySource:{source:'/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from \'react\';\nimport CopyTextButton from \'.\';\nimport {\n  ApiProvider,\n  errorApiRef,\n  ApiRegistry,\n  ErrorApi,\n} from \'@backstage/core-api\';\n\nexport default {\n  title: \'CopyTextButton\',\n  component: CopyTextButton,\n  decorators: [\n    (storyFn: () => JSX.Element) => {\n      // TODO: move this to common storybook config, requires core package to be separate from components\n      const registry = ApiRegistry.from([\n        [\n          errorApiRef,\n          {\n            post(error) {\n              \n              window.alert(`Component posted error, ${error}`);\n            },\n          } as ErrorApi,\n        ],\n      ]);\n      return <ApiProvider apis={registry} children={storyFn()} />;\n    },\n  ],\n};\n\nexport const Default = () => (\n  <CopyTextButton text="The text to copy to clipboard" />\n);\n\nexport const WithTooltip = () => (\n  <CopyTextButton\n    text="The text to copy to clipboard"\n    tooltipText="Custom tooltip shown on button click"\n  />\n);\n\nexport const LongerTooltipDelay = () => (\n  <CopyTextButton\n    text="The text to copy to clipboard"\n    tooltipText="Waiting 3s before removing tooltip"\n    tooltipDelay={3000}\n  />\n);\n',locationsMap:{"copytextbutton--default":{startLoc:{col:23,line:48},endLoc:{col:1,line:50},startBody:{col:23,line:48},endBody:{col:1,line:50}},"copytextbutton--with-tooltip":{startLoc:{col:27,line:52},endLoc:{col:1,line:57},startBody:{col:27,line:52},endBody:{col:1,line:57}},"copytextbutton--longer-tooltip-delay":{startLoc:{col:34,line:59},endLoc:{col:1,line:65},startBody:{col:34,line:59},endBody:{col:1,line:65}}}}},title:"CopyTextButton",component:___WEBPACK_IMPORTED_MODULE_1__.a,decorators:[storyFn=>{const registry=_backstage_core_api__WEBPACK_IMPORTED_MODULE_2__.ApiRegistry.from([[_backstage_core_api__WEBPACK_IMPORTED_MODULE_2__.errorApiRef,{post(error){window.alert(`Component posted error, ${error}`)}}]]);return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_backstage_core_api__WEBPACK_IMPORTED_MODULE_2__.ApiProvider,{apis:registry,children:storyFn(),__self:void 0,__source:{fileName:_jsxFileName,lineNumber:65}})}]};const Default=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{text:"The text to copy to clipboard",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:71}}),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/CopyTextButton.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),WithTooltip=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{text:"The text to copy to clipboard",tooltipText:"Custom tooltip shown on button click",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:75}}),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/CopyTextButton.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),LongerTooltipDelay=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{text:"The text to copy to clipboard",tooltipText:"Waiting 3s before removing tooltip",tooltipDelay:3e3,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:82}}),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/CopyTextButton.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__});var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(withSourceLoader,"withSourceLoader","/home/runner/work/backstage/backstage/packages/core/src/components/CopyTextButton/CopyTextButton.stories.tsx"),reactHotLoader.register(addSourceDecorator,"addSourceDecorator","/home/runner/work/backstage/backstage/packages/core/src/components/CopyTextButton/CopyTextButton.stories.tsx"),reactHotLoader.register(__SOURCE_PREFIX__,"__SOURCE_PREFIX__","/home/runner/work/backstage/backstage/packages/core/src/components/CopyTextButton/CopyTextButton.stories.tsx"),reactHotLoader.register(__STORY__,"__STORY__","/home/runner/work/backstage/backstage/packages/core/src/components/CopyTextButton/CopyTextButton.stories.tsx"),reactHotLoader.register(__ADDS_MAP__,"__ADDS_MAP__","/home/runner/work/backstage/backstage/packages/core/src/components/CopyTextButton/CopyTextButton.stories.tsx"),reactHotLoader.register("/CopyTextButton.stories.tsx","__MAIN_FILE_LOCATION__","/home/runner/work/backstage/backstage/packages/core/src/components/CopyTextButton/CopyTextButton.stories.tsx"),reactHotLoader.register(__MODULE_DEPENDENCIES__,"__MODULE_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/components/CopyTextButton/CopyTextButton.stories.tsx"),reactHotLoader.register(__LOCAL_DEPENDENCIES__,"__LOCAL_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/components/CopyTextButton/CopyTextButton.stories.tsx"),reactHotLoader.register(__IDS_TO_FRAMEWORKS__,"__IDS_TO_FRAMEWORKS__","/home/runner/work/backstage/backstage/packages/core/src/components/CopyTextButton/CopyTextButton.stories.tsx"),reactHotLoader.register(Default,"Default","/home/runner/work/backstage/backstage/packages/core/src/components/CopyTextButton/CopyTextButton.stories.tsx"),reactHotLoader.register(WithTooltip,"WithTooltip","/home/runner/work/backstage/backstage/packages/core/src/components/CopyTextButton/CopyTextButton.stories.tsx"),reactHotLoader.register(LongerTooltipDelay,"LongerTooltipDelay","/home/runner/work/backstage/backstage/packages/core/src/components/CopyTextButton/CopyTextButton.stories.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/CopyTextButton/CopyTextButton.stories.tsx"),leaveModule(module))}.call(this,__webpack_require__(7)(module))},1789:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){__webpack_require__.d(__webpack_exports__,"Default",(function(){return Default})),__webpack_require__.d(__webpack_exports__,"Error",(function(){return Error})),__webpack_require__.d(__webpack_exports__,"EmojisIncluded",(function(){return EmojisIncluded})),__webpack_require__.d(__webpack_exports__,"WithLink",(function(){return WithLink}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_DismissableBanner__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(183),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(21),_material_ui_core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(142);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/DismissableBanner/DismissableBanner.stories.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);var withSourceLoader=__webpack_require__(25).withSource,addSourceDecorator=__webpack_require__(25).addSource,__SOURCE_PREFIX__="/home/runner/work/backstage/backstage/packages/core/src/components/DismissableBanner",__STORY__='/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from \'react\';\nimport DismissableBanner from \'./DismissableBanner\';\nimport { Link, Typography } from \'@material-ui/core\';\n\nexport default {\n  title: \'DismissableBanner\',\n  component: DismissableBanner,\n};\n\nconst containerStyle = { width: \'70%\' };\n\nexport const Default = () => (\n  <div style={containerStyle}>\n    <DismissableBanner message="This is a dismissable banner" variant="info" />\n  </div>\n);\n\nexport const Error = () => (\n  <div style={containerStyle}>\n    <DismissableBanner\n      message="This is a dismissable banner with an error message"\n      variant="error"\n    />\n  </div>\n);\n\nexport const EmojisIncluded = () => (\n  <div style={containerStyle}>\n    <DismissableBanner\n      message="This is a dismissable banner with emojis: 🚀 💚 😆 "\n      variant="info"\n    />\n  </div>\n);\n\nexport const WithLink = () => (\n  <div style={containerStyle}>\n    <DismissableBanner\n      message={\n        <Typography>\n          This is a dismissable banner with a link:{\' \'}\n          <Link href="http://example.com" color="textSecondary">\n            example.com\n          </Link>\n        </Typography>\n      }\n      variant="info"\n    />\n  </div>\n);\n',__ADDS_MAP__={"dismissablebanner--default":{startLoc:{col:23,line:28},endLoc:{col:1,line:32},startBody:{col:23,line:28},endBody:{col:1,line:32}},"dismissablebanner--error":{startLoc:{col:21,line:34},endLoc:{col:1,line:41},startBody:{col:21,line:34},endBody:{col:1,line:41}},"dismissablebanner--emojis-included":{startLoc:{col:30,line:43},endLoc:{col:1,line:50},startBody:{col:30,line:43},endBody:{col:1,line:50}},"dismissablebanner--with-link":{startLoc:{col:24,line:52},endLoc:{col:1,line:66},startBody:{col:24,line:52},endBody:{col:1,line:66}}},__MODULE_DEPENDENCIES__=[],__LOCAL_DEPENDENCIES__={},__IDS_TO_FRAMEWORKS__={};let _default;__webpack_exports__.default=_default={parameters:{storySource:{source:'/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from \'react\';\nimport DismissableBanner from \'./DismissableBanner\';\nimport { Link, Typography } from \'@material-ui/core\';\n\nexport default {\n  title: \'DismissableBanner\',\n  component: DismissableBanner,\n};\n\nconst containerStyle = { width: \'70%\' };\n\nexport const Default = () => (\n  <div style={containerStyle}>\n    <DismissableBanner message="This is a dismissable banner" variant="info" />\n  </div>\n);\n\nexport const Error = () => (\n  <div style={containerStyle}>\n    <DismissableBanner\n      message="This is a dismissable banner with an error message"\n      variant="error"\n    />\n  </div>\n);\n\nexport const EmojisIncluded = () => (\n  <div style={containerStyle}>\n    <DismissableBanner\n      message="This is a dismissable banner with emojis: 🚀 💚 😆 "\n      variant="info"\n    />\n  </div>\n);\n\nexport const WithLink = () => (\n  <div style={containerStyle}>\n    <DismissableBanner\n      message={\n        <Typography>\n          This is a dismissable banner with a link:{\' \'}\n          <Link href="http://example.com" color="textSecondary">\n            example.com\n          </Link>\n        </Typography>\n      }\n      variant="info"\n    />\n  </div>\n);\n',locationsMap:{"dismissablebanner--default":{startLoc:{col:23,line:28},endLoc:{col:1,line:32},startBody:{col:23,line:28},endBody:{col:1,line:32}},"dismissablebanner--error":{startLoc:{col:21,line:34},endLoc:{col:1,line:41},startBody:{col:21,line:34},endBody:{col:1,line:41}},"dismissablebanner--emojis-included":{startLoc:{col:30,line:43},endLoc:{col:1,line:50},startBody:{col:30,line:43},endBody:{col:1,line:50}},"dismissablebanner--with-link":{startLoc:{col:24,line:52},endLoc:{col:1,line:66},startBody:{col:24,line:52},endBody:{col:1,line:66}}}}},title:"DismissableBanner",component:_DismissableBanner__WEBPACK_IMPORTED_MODULE_1__.a};const containerStyle={width:"70%"},Default=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:containerStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:51}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_DismissableBanner__WEBPACK_IMPORTED_MODULE_1__.a,{message:"This is a dismissable banner",variant:"info",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:52}})),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/DismissableBanner.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),Error=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:containerStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:57}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_DismissableBanner__WEBPACK_IMPORTED_MODULE_1__.a,{message:"This is a dismissable banner with an error message",variant:"error",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:58}})),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/DismissableBanner.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),EmojisIncluded=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:containerStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:66}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_DismissableBanner__WEBPACK_IMPORTED_MODULE_1__.a,{message:"This is a dismissable banner with emojis: 🚀 💚 😆 ",variant:"info",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:67}})),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/DismissableBanner.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),WithLink=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:containerStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:75}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_DismissableBanner__WEBPACK_IMPORTED_MODULE_1__.a,{message:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:78}},"This is a dismissable banner with a link:"," ",react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_3__.a,{href:"http://example.com",color:"textSecondary",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:80}},"example.com")),variant:"info",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:76}})),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/DismissableBanner.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__});var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(withSourceLoader,"withSourceLoader","/home/runner/work/backstage/backstage/packages/core/src/components/DismissableBanner/DismissableBanner.stories.tsx"),reactHotLoader.register(addSourceDecorator,"addSourceDecorator","/home/runner/work/backstage/backstage/packages/core/src/components/DismissableBanner/DismissableBanner.stories.tsx"),reactHotLoader.register(__SOURCE_PREFIX__,"__SOURCE_PREFIX__","/home/runner/work/backstage/backstage/packages/core/src/components/DismissableBanner/DismissableBanner.stories.tsx"),reactHotLoader.register(__STORY__,"__STORY__","/home/runner/work/backstage/backstage/packages/core/src/components/DismissableBanner/DismissableBanner.stories.tsx"),reactHotLoader.register(__ADDS_MAP__,"__ADDS_MAP__","/home/runner/work/backstage/backstage/packages/core/src/components/DismissableBanner/DismissableBanner.stories.tsx"),reactHotLoader.register("/DismissableBanner.stories.tsx","__MAIN_FILE_LOCATION__","/home/runner/work/backstage/backstage/packages/core/src/components/DismissableBanner/DismissableBanner.stories.tsx"),reactHotLoader.register(__MODULE_DEPENDENCIES__,"__MODULE_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/components/DismissableBanner/DismissableBanner.stories.tsx"),reactHotLoader.register(__LOCAL_DEPENDENCIES__,"__LOCAL_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/components/DismissableBanner/DismissableBanner.stories.tsx"),reactHotLoader.register(__IDS_TO_FRAMEWORKS__,"__IDS_TO_FRAMEWORKS__","/home/runner/work/backstage/backstage/packages/core/src/components/DismissableBanner/DismissableBanner.stories.tsx"),reactHotLoader.register(containerStyle,"containerStyle","/home/runner/work/backstage/backstage/packages/core/src/components/DismissableBanner/DismissableBanner.stories.tsx"),reactHotLoader.register(Default,"Default","/home/runner/work/backstage/backstage/packages/core/src/components/DismissableBanner/DismissableBanner.stories.tsx"),reactHotLoader.register(Error,"Error","/home/runner/work/backstage/backstage/packages/core/src/components/DismissableBanner/DismissableBanner.stories.tsx"),reactHotLoader.register(EmojisIncluded,"EmojisIncluded","/home/runner/work/backstage/backstage/packages/core/src/components/DismissableBanner/DismissableBanner.stories.tsx"),reactHotLoader.register(WithLink,"WithLink","/home/runner/work/backstage/backstage/packages/core/src/components/DismissableBanner/DismissableBanner.stories.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/DismissableBanner/DismissableBanner.stories.tsx"),leaveModule(module))}.call(this,__webpack_require__(7)(module))},1790:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){__webpack_require__.d(__webpack_exports__,"Default",(function(){return Default}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_HorizontalScrollGrid__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(304);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/HorizontalScrollGrid/HorizontalScrollGrid.stories.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);var withSourceLoader=__webpack_require__(25).withSource,addSourceDecorator=__webpack_require__(25).addSource,__SOURCE_PREFIX__="/home/runner/work/backstage/backstage/packages/core/src/components/HorizontalScrollGrid",__STORY__="/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport React from 'react';\nimport HorizontalScrollGrid from './HorizontalScrollGrid';\n\nconst cardContentStyle = { height: 0, padding: 150, margin: 20 };\nconst containerStyle = { width: 800, height: 400, margin: 20 };\nconst opacityArray = [0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0];\n\nexport default {\n  title: 'HorizontalScrollGrid',\n  component: HorizontalScrollGrid,\n};\n\nexport const Default = () => (\n  <div style={containerStyle}>\n    <HorizontalScrollGrid>\n      {opacityArray.map(element => {\n        const style = { backgroundColor: `rgba(0, 185, 151, ${element})` };\n        return <div style={{ ...style, ...cardContentStyle }} key={element} />;\n      })}\n    </HorizontalScrollGrid>\n  </div>\n);\n",__ADDS_MAP__={"horizontalscrollgrid--default":{startLoc:{col:23,line:28},endLoc:{col:1,line:37},startBody:{col:23,line:28},endBody:{col:1,line:37}}},__MODULE_DEPENDENCIES__=[],__LOCAL_DEPENDENCIES__={},__IDS_TO_FRAMEWORKS__={};const cardContentStyle={height:0,padding:150,margin:20},containerStyle={width:800,height:400,margin:20},opacityArray=[.2,.3,.4,.5,.6,.7,.8,.9,1];let _default;__webpack_exports__.default=_default={parameters:{storySource:{source:"/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport React from 'react';\nimport HorizontalScrollGrid from './HorizontalScrollGrid';\n\nconst cardContentStyle = { height: 0, padding: 150, margin: 20 };\nconst containerStyle = { width: 800, height: 400, margin: 20 };\nconst opacityArray = [0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0];\n\nexport default {\n  title: 'HorizontalScrollGrid',\n  component: HorizontalScrollGrid,\n};\n\nexport const Default = () => (\n  <div style={containerStyle}>\n    <HorizontalScrollGrid>\n      {opacityArray.map(element => {\n        const style = { backgroundColor: `rgba(0, 185, 151, ${element})` };\n        return <div style={{ ...style, ...cardContentStyle }} key={element} />;\n      })}\n    </HorizontalScrollGrid>\n  </div>\n);\n",locationsMap:{"horizontalscrollgrid--default":{startLoc:{col:23,line:28},endLoc:{col:1,line:37},startBody:{col:23,line:28},endBody:{col:1,line:37}}}}},title:"HorizontalScrollGrid",component:_HorizontalScrollGrid__WEBPACK_IMPORTED_MODULE_1__.a};const Default=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:containerStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:51}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_HorizontalScrollGrid__WEBPACK_IMPORTED_MODULE_1__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:52}},opacityArray.map(element=>{const style={backgroundColor:`rgba(0, 185, 151, ${element})`};return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:{...style,...cardContentStyle},key:element,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:55}})}))),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/HorizontalScrollGrid.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__});var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(withSourceLoader,"withSourceLoader","/home/runner/work/backstage/backstage/packages/core/src/components/HorizontalScrollGrid/HorizontalScrollGrid.stories.tsx"),reactHotLoader.register(addSourceDecorator,"addSourceDecorator","/home/runner/work/backstage/backstage/packages/core/src/components/HorizontalScrollGrid/HorizontalScrollGrid.stories.tsx"),reactHotLoader.register(__SOURCE_PREFIX__,"__SOURCE_PREFIX__","/home/runner/work/backstage/backstage/packages/core/src/components/HorizontalScrollGrid/HorizontalScrollGrid.stories.tsx"),reactHotLoader.register(__STORY__,"__STORY__","/home/runner/work/backstage/backstage/packages/core/src/components/HorizontalScrollGrid/HorizontalScrollGrid.stories.tsx"),reactHotLoader.register(__ADDS_MAP__,"__ADDS_MAP__","/home/runner/work/backstage/backstage/packages/core/src/components/HorizontalScrollGrid/HorizontalScrollGrid.stories.tsx"),reactHotLoader.register("/HorizontalScrollGrid.stories.tsx","__MAIN_FILE_LOCATION__","/home/runner/work/backstage/backstage/packages/core/src/components/HorizontalScrollGrid/HorizontalScrollGrid.stories.tsx"),reactHotLoader.register(__MODULE_DEPENDENCIES__,"__MODULE_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/components/HorizontalScrollGrid/HorizontalScrollGrid.stories.tsx"),reactHotLoader.register(__LOCAL_DEPENDENCIES__,"__LOCAL_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/components/HorizontalScrollGrid/HorizontalScrollGrid.stories.tsx"),reactHotLoader.register(__IDS_TO_FRAMEWORKS__,"__IDS_TO_FRAMEWORKS__","/home/runner/work/backstage/backstage/packages/core/src/components/HorizontalScrollGrid/HorizontalScrollGrid.stories.tsx"),reactHotLoader.register(cardContentStyle,"cardContentStyle","/home/runner/work/backstage/backstage/packages/core/src/components/HorizontalScrollGrid/HorizontalScrollGrid.stories.tsx"),reactHotLoader.register(containerStyle,"containerStyle","/home/runner/work/backstage/backstage/packages/core/src/components/HorizontalScrollGrid/HorizontalScrollGrid.stories.tsx"),reactHotLoader.register(opacityArray,"opacityArray","/home/runner/work/backstage/backstage/packages/core/src/components/HorizontalScrollGrid/HorizontalScrollGrid.stories.tsx"),reactHotLoader.register(Default,"Default","/home/runner/work/backstage/backstage/packages/core/src/components/HorizontalScrollGrid/HorizontalScrollGrid.stories.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/HorizontalScrollGrid/HorizontalScrollGrid.stories.tsx"),leaveModule(module))}.call(this,__webpack_require__(7)(module))},1791:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){__webpack_require__.d(__webpack_exports__,"AlphaDefault",(function(){return AlphaDefault})),__webpack_require__.d(__webpack_exports__,"AlphaShorthand",(function(){return AlphaShorthand})),__webpack_require__.d(__webpack_exports__,"BetaDefault",(function(){return BetaDefault})),__webpack_require__.d(__webpack_exports__,"BetaShorthand",(function(){return BetaShorthand}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_Lifecycle__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(184);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/Lifecycle/Lifecycle.stories.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);var withSourceLoader=__webpack_require__(25).withSource,addSourceDecorator=__webpack_require__(25).addSource,__SOURCE_PREFIX__="/home/runner/work/backstage/backstage/packages/core/src/components/Lifecycle",__STORY__="/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport React from 'react';\nimport { Lifecycle } from './Lifecycle';\n\nexport default {\n  title: 'Lifecycle',\n  component: Lifecycle,\n};\n\nexport const AlphaDefault = () => (\n  <>\n    This feature is in <Lifecycle alpha />\n  </>\n);\nexport const AlphaShorthand = () => (\n  <>\n    This feature is in <Lifecycle alpha shorthand />\n  </>\n);\nexport const BetaDefault = () => (\n  <>\n    This feature is in <Lifecycle />\n  </>\n);\nexport const BetaShorthand = () => (\n  <>\n    This feature is in <Lifecycle shorthand />\n  </>\n);\n",__ADDS_MAP__={"lifecycle--alpha-default":{startLoc:{col:28,line:24},endLoc:{col:1,line:28},startBody:{col:28,line:24},endBody:{col:1,line:28}},"lifecycle--alpha-shorthand":{startLoc:{col:30,line:29},endLoc:{col:1,line:33},startBody:{col:30,line:29},endBody:{col:1,line:33}},"lifecycle--beta-default":{startLoc:{col:27,line:34},endLoc:{col:1,line:38},startBody:{col:27,line:34},endBody:{col:1,line:38}},"lifecycle--beta-shorthand":{startLoc:{col:29,line:39},endLoc:{col:1,line:43},startBody:{col:29,line:39},endBody:{col:1,line:43}}},__MODULE_DEPENDENCIES__=[],__LOCAL_DEPENDENCIES__={},__IDS_TO_FRAMEWORKS__={};let _default;__webpack_exports__.default=_default={parameters:{storySource:{source:"/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport React from 'react';\nimport { Lifecycle } from './Lifecycle';\n\nexport default {\n  title: 'Lifecycle',\n  component: Lifecycle,\n};\n\nexport const AlphaDefault = () => (\n  <>\n    This feature is in <Lifecycle alpha />\n  </>\n);\nexport const AlphaShorthand = () => (\n  <>\n    This feature is in <Lifecycle alpha shorthand />\n  </>\n);\nexport const BetaDefault = () => (\n  <>\n    This feature is in <Lifecycle />\n  </>\n);\nexport const BetaShorthand = () => (\n  <>\n    This feature is in <Lifecycle shorthand />\n  </>\n);\n",locationsMap:{"lifecycle--alpha-default":{startLoc:{col:28,line:24},endLoc:{col:1,line:28},startBody:{col:28,line:24},endBody:{col:1,line:28}},"lifecycle--alpha-shorthand":{startLoc:{col:30,line:29},endLoc:{col:1,line:33},startBody:{col:30,line:29},endBody:{col:1,line:33}},"lifecycle--beta-default":{startLoc:{col:27,line:34},endLoc:{col:1,line:38},startBody:{col:27,line:34},endBody:{col:1,line:38}},"lifecycle--beta-shorthand":{startLoc:{col:29,line:39},endLoc:{col:1,line:43},startBody:{col:29,line:39},endBody:{col:1,line:43}}}}},title:"Lifecycle",component:_Lifecycle__WEBPACK_IMPORTED_MODULE_1__.a};const AlphaDefault=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0___default.a.Fragment,null,"This feature is in ",react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Lifecycle__WEBPACK_IMPORTED_MODULE_1__.a,{alpha:!0,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:48}})),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/Lifecycle.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),AlphaShorthand=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0___default.a.Fragment,null,"This feature is in ",react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Lifecycle__WEBPACK_IMPORTED_MODULE_1__.a,{alpha:!0,shorthand:!0,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:53}})),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/Lifecycle.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),BetaDefault=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0___default.a.Fragment,null,"This feature is in ",react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Lifecycle__WEBPACK_IMPORTED_MODULE_1__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:58}})),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/Lifecycle.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),BetaShorthand=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0___default.a.Fragment,null,"This feature is in ",react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Lifecycle__WEBPACK_IMPORTED_MODULE_1__.a,{shorthand:!0,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:63}})),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/Lifecycle.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__});var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(withSourceLoader,"withSourceLoader","/home/runner/work/backstage/backstage/packages/core/src/components/Lifecycle/Lifecycle.stories.tsx"),reactHotLoader.register(addSourceDecorator,"addSourceDecorator","/home/runner/work/backstage/backstage/packages/core/src/components/Lifecycle/Lifecycle.stories.tsx"),reactHotLoader.register(__SOURCE_PREFIX__,"__SOURCE_PREFIX__","/home/runner/work/backstage/backstage/packages/core/src/components/Lifecycle/Lifecycle.stories.tsx"),reactHotLoader.register(__STORY__,"__STORY__","/home/runner/work/backstage/backstage/packages/core/src/components/Lifecycle/Lifecycle.stories.tsx"),reactHotLoader.register(__ADDS_MAP__,"__ADDS_MAP__","/home/runner/work/backstage/backstage/packages/core/src/components/Lifecycle/Lifecycle.stories.tsx"),reactHotLoader.register("/Lifecycle.stories.tsx","__MAIN_FILE_LOCATION__","/home/runner/work/backstage/backstage/packages/core/src/components/Lifecycle/Lifecycle.stories.tsx"),reactHotLoader.register(__MODULE_DEPENDENCIES__,"__MODULE_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/components/Lifecycle/Lifecycle.stories.tsx"),reactHotLoader.register(__LOCAL_DEPENDENCIES__,"__LOCAL_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/components/Lifecycle/Lifecycle.stories.tsx"),reactHotLoader.register(__IDS_TO_FRAMEWORKS__,"__IDS_TO_FRAMEWORKS__","/home/runner/work/backstage/backstage/packages/core/src/components/Lifecycle/Lifecycle.stories.tsx"),reactHotLoader.register(AlphaDefault,"AlphaDefault","/home/runner/work/backstage/backstage/packages/core/src/components/Lifecycle/Lifecycle.stories.tsx"),reactHotLoader.register(AlphaShorthand,"AlphaShorthand","/home/runner/work/backstage/backstage/packages/core/src/components/Lifecycle/Lifecycle.stories.tsx"),reactHotLoader.register(BetaDefault,"BetaDefault","/home/runner/work/backstage/backstage/packages/core/src/components/Lifecycle/Lifecycle.stories.tsx"),reactHotLoader.register(BetaShorthand,"BetaShorthand","/home/runner/work/backstage/backstage/packages/core/src/components/Lifecycle/Lifecycle.stories.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/Lifecycle/Lifecycle.stories.tsx"),leaveModule(module))}.call(this,__webpack_require__(7)(module))},1792:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){__webpack_require__.d(__webpack_exports__,"progress",(function(){return progress}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),___WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(305);var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);var withSourceLoader=__webpack_require__(25).withSource,addSourceDecorator=__webpack_require__(25).addSource,__SOURCE_PREFIX__="/home/runner/work/backstage/backstage/packages/core/src/components/Progress",__STORY__="/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from 'react';\nimport Progress from '.';\n\nexport default {\n  title: 'Progress',\n  component: Progress,\n};\n\nexport const progress = () => <Progress />;\n",__ADDS_MAP__={"progress--progress":{startLoc:{col:24,line:25},endLoc:{col:42,line:25},startBody:{col:24,line:25},endBody:{col:42,line:25}}},__MODULE_DEPENDENCIES__=[],__LOCAL_DEPENDENCIES__={},__IDS_TO_FRAMEWORKS__={};let _default;__webpack_exports__.default=_default={parameters:{storySource:{source:"/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from 'react';\nimport Progress from '.';\n\nexport default {\n  title: 'Progress',\n  component: Progress,\n};\n\nexport const progress = () => <Progress />;\n",locationsMap:{"progress--progress":{startLoc:{col:24,line:25},endLoc:{col:42,line:25},startBody:{col:24,line:25},endBody:{col:42,line:25}}}}},title:"Progress",component:___WEBPACK_IMPORTED_MODULE_1__.a};const progress=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{__self:void 0,__source:{fileName:"/home/runner/work/backstage/backstage/packages/core/src/components/Progress/Progress.stories.tsx",lineNumber:47}}),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/Progress.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__});var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(withSourceLoader,"withSourceLoader","/home/runner/work/backstage/backstage/packages/core/src/components/Progress/Progress.stories.tsx"),reactHotLoader.register(addSourceDecorator,"addSourceDecorator","/home/runner/work/backstage/backstage/packages/core/src/components/Progress/Progress.stories.tsx"),reactHotLoader.register(__SOURCE_PREFIX__,"__SOURCE_PREFIX__","/home/runner/work/backstage/backstage/packages/core/src/components/Progress/Progress.stories.tsx"),reactHotLoader.register(__STORY__,"__STORY__","/home/runner/work/backstage/backstage/packages/core/src/components/Progress/Progress.stories.tsx"),reactHotLoader.register(__ADDS_MAP__,"__ADDS_MAP__","/home/runner/work/backstage/backstage/packages/core/src/components/Progress/Progress.stories.tsx"),reactHotLoader.register("/Progress.stories.tsx","__MAIN_FILE_LOCATION__","/home/runner/work/backstage/backstage/packages/core/src/components/Progress/Progress.stories.tsx"),reactHotLoader.register(__MODULE_DEPENDENCIES__,"__MODULE_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/components/Progress/Progress.stories.tsx"),reactHotLoader.register(__LOCAL_DEPENDENCIES__,"__LOCAL_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/components/Progress/Progress.stories.tsx"),reactHotLoader.register(__IDS_TO_FRAMEWORKS__,"__IDS_TO_FRAMEWORKS__","/home/runner/work/backstage/backstage/packages/core/src/components/Progress/Progress.stories.tsx"),reactHotLoader.register(progress,"progress","/home/runner/work/backstage/backstage/packages/core/src/components/Progress/Progress.stories.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/Progress/Progress.stories.tsx"),leaveModule(module))}.call(this,__webpack_require__(7)(module))},1793:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){__webpack_require__.d(__webpack_exports__,"Default",(function(){return Default})),__webpack_require__.d(__webpack_exports__,"MediumProgress",(function(){return MediumProgress})),__webpack_require__.d(__webpack_exports__,"LowProgress",(function(){return LowProgress}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_HorizontalProgress__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(207);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/HorizontalProgress.stories.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);var withSourceLoader=__webpack_require__(25).withSource,addSourceDecorator=__webpack_require__(25).addSource,__SOURCE_PREFIX__="/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars",__STORY__="/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from 'react';\nimport HorizontalProgress from './HorizontalProgress';\n\nconst containerStyle = { width: 300 };\n\nexport default {\n  title: 'HorizontalProgress',\n  component: HorizontalProgress,\n};\n\nexport const Default = () => (\n  <div style={containerStyle}>\n    <HorizontalProgress value={0.8} />\n  </div>\n);\n\nexport const MediumProgress = () => (\n  <div style={containerStyle}>\n    <HorizontalProgress value={0.5} />\n  </div>\n);\n\nexport const LowProgress = () => (\n  <div style={containerStyle}>\n    <HorizontalProgress value={0.2} />\n  </div>\n);\n",__ADDS_MAP__={"horizontalprogress--default":{startLoc:{col:23,line:27},endLoc:{col:1,line:31},startBody:{col:23,line:27},endBody:{col:1,line:31}},"horizontalprogress--medium-progress":{startLoc:{col:30,line:33},endLoc:{col:1,line:37},startBody:{col:30,line:33},endBody:{col:1,line:37}},"horizontalprogress--low-progress":{startLoc:{col:27,line:39},endLoc:{col:1,line:43},startBody:{col:27,line:39},endBody:{col:1,line:43}}},__MODULE_DEPENDENCIES__=[],__LOCAL_DEPENDENCIES__={},__IDS_TO_FRAMEWORKS__={};const containerStyle={width:300};let _default;__webpack_exports__.default=_default={parameters:{storySource:{source:"/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from 'react';\nimport HorizontalProgress from './HorizontalProgress';\n\nconst containerStyle = { width: 300 };\n\nexport default {\n  title: 'HorizontalProgress',\n  component: HorizontalProgress,\n};\n\nexport const Default = () => (\n  <div style={containerStyle}>\n    <HorizontalProgress value={0.8} />\n  </div>\n);\n\nexport const MediumProgress = () => (\n  <div style={containerStyle}>\n    <HorizontalProgress value={0.5} />\n  </div>\n);\n\nexport const LowProgress = () => (\n  <div style={containerStyle}>\n    <HorizontalProgress value={0.2} />\n  </div>\n);\n",locationsMap:{"horizontalprogress--default":{startLoc:{col:23,line:27},endLoc:{col:1,line:31},startBody:{col:23,line:27},endBody:{col:1,line:31}},"horizontalprogress--medium-progress":{startLoc:{col:30,line:33},endLoc:{col:1,line:37},startBody:{col:30,line:33},endBody:{col:1,line:37}},"horizontalprogress--low-progress":{startLoc:{col:27,line:39},endLoc:{col:1,line:43},startBody:{col:27,line:39},endBody:{col:1,line:43}}}}},title:"HorizontalProgress",component:_HorizontalProgress__WEBPACK_IMPORTED_MODULE_1__.a};const Default=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:containerStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:50}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_HorizontalProgress__WEBPACK_IMPORTED_MODULE_1__.a,{value:.8,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:51}})),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/HorizontalProgress.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),MediumProgress=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:containerStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:56}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_HorizontalProgress__WEBPACK_IMPORTED_MODULE_1__.a,{value:.5,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:57}})),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/HorizontalProgress.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),LowProgress=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:containerStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:62}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_HorizontalProgress__WEBPACK_IMPORTED_MODULE_1__.a,{value:.2,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:63}})),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/HorizontalProgress.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__});var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(withSourceLoader,"withSourceLoader","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/HorizontalProgress.stories.tsx"),reactHotLoader.register(addSourceDecorator,"addSourceDecorator","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/HorizontalProgress.stories.tsx"),reactHotLoader.register(__SOURCE_PREFIX__,"__SOURCE_PREFIX__","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/HorizontalProgress.stories.tsx"),reactHotLoader.register(__STORY__,"__STORY__","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/HorizontalProgress.stories.tsx"),reactHotLoader.register(__ADDS_MAP__,"__ADDS_MAP__","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/HorizontalProgress.stories.tsx"),reactHotLoader.register("/HorizontalProgress.stories.tsx","__MAIN_FILE_LOCATION__","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/HorizontalProgress.stories.tsx"),reactHotLoader.register(__MODULE_DEPENDENCIES__,"__MODULE_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/HorizontalProgress.stories.tsx"),reactHotLoader.register(__LOCAL_DEPENDENCIES__,"__LOCAL_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/HorizontalProgress.stories.tsx"),reactHotLoader.register(__IDS_TO_FRAMEWORKS__,"__IDS_TO_FRAMEWORKS__","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/HorizontalProgress.stories.tsx"),reactHotLoader.register(containerStyle,"containerStyle","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/HorizontalProgress.stories.tsx"),reactHotLoader.register(Default,"Default","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/HorizontalProgress.stories.tsx"),reactHotLoader.register(MediumProgress,"MediumProgress","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/HorizontalProgress.stories.tsx"),reactHotLoader.register(LowProgress,"LowProgress","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/HorizontalProgress.stories.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/HorizontalProgress.stories.tsx"),leaveModule(module))}.call(this,__webpack_require__(7)(module))},1794:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){__webpack_require__.d(__webpack_exports__,"Default",(function(){return Default})),__webpack_require__.d(__webpack_exports__,"Subhead",(function(){return Subhead})),__webpack_require__.d(__webpack_exports__,"LinkInFooter",(function(){return LinkInFooter}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_ProgressCard__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(101),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(46);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/ProgressCard.stories.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);var withSourceLoader=__webpack_require__(25).withSource,addSourceDecorator=__webpack_require__(25).addSource,__SOURCE_PREFIX__="/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars",__STORY__='/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from \'react\';\nimport ProgressCard from \'./ProgressCard\';\nimport { Grid } from \'@material-ui/core\';\n\nconst linkInfo = { title: \'Go to XYZ Location\', link: \'#\' };\n\nexport default {\n  title: \'Progress Card\',\n  component: ProgressCard,\n};\n\nexport const Default = () => (\n  <Grid container spacing={2}>\n    <Grid item>\n      <ProgressCard title="Progress" progress={0.3} />\n    </Grid>\n    <Grid item>\n      <ProgressCard title="Progress" progress={0.57} />\n    </Grid>\n    <Grid item>\n      <ProgressCard title="Progress" progress={0.89} />\n    </Grid>\n  </Grid>\n);\n\nexport const Subhead = () => (\n  <Grid container spacing={2}>\n    <Grid item>\n      <ProgressCard\n        title="Progress"\n        subheader="With a subheader"\n        progress={0.3}\n      />\n    </Grid>\n    <Grid item>\n      <ProgressCard\n        title="Progress"\n        subheader="With a subheader"\n        progress={0.57}\n      />\n    </Grid>\n    <Grid item>\n      <ProgressCard\n        title="Progress"\n        subheader="With a subheader"\n        progress={0.89}\n      />\n    </Grid>\n  </Grid>\n);\n\nexport const LinkInFooter = () => (\n  <Grid container spacing={2}>\n    <Grid item>\n      <ProgressCard title="Progress" deepLink={linkInfo} progress={0.3} />\n    </Grid>\n    <Grid item>\n      <ProgressCard title="Progress" deepLink={linkInfo} progress={0.57} />\n    </Grid>\n    <Grid item>\n      <ProgressCard title="Progress" deepLink={linkInfo} progress={0.89} />\n    </Grid>\n  </Grid>\n);\n',__ADDS_MAP__={"progress-card--default":{startLoc:{col:23,line:28},endLoc:{col:1,line:40},startBody:{col:23,line:28},endBody:{col:1,line:40}},"progress-card--subhead":{startLoc:{col:23,line:42},endLoc:{col:1,line:66},startBody:{col:23,line:42},endBody:{col:1,line:66}},"progress-card--link-in-footer":{startLoc:{col:28,line:68},endLoc:{col:1,line:80},startBody:{col:28,line:68},endBody:{col:1,line:80}}},__MODULE_DEPENDENCIES__=[],__LOCAL_DEPENDENCIES__={},__IDS_TO_FRAMEWORKS__={};const linkInfo={title:"Go to XYZ Location",link:"#"};let _default;__webpack_exports__.default=_default={parameters:{storySource:{source:'/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from \'react\';\nimport ProgressCard from \'./ProgressCard\';\nimport { Grid } from \'@material-ui/core\';\n\nconst linkInfo = { title: \'Go to XYZ Location\', link: \'#\' };\n\nexport default {\n  title: \'Progress Card\',\n  component: ProgressCard,\n};\n\nexport const Default = () => (\n  <Grid container spacing={2}>\n    <Grid item>\n      <ProgressCard title="Progress" progress={0.3} />\n    </Grid>\n    <Grid item>\n      <ProgressCard title="Progress" progress={0.57} />\n    </Grid>\n    <Grid item>\n      <ProgressCard title="Progress" progress={0.89} />\n    </Grid>\n  </Grid>\n);\n\nexport const Subhead = () => (\n  <Grid container spacing={2}>\n    <Grid item>\n      <ProgressCard\n        title="Progress"\n        subheader="With a subheader"\n        progress={0.3}\n      />\n    </Grid>\n    <Grid item>\n      <ProgressCard\n        title="Progress"\n        subheader="With a subheader"\n        progress={0.57}\n      />\n    </Grid>\n    <Grid item>\n      <ProgressCard\n        title="Progress"\n        subheader="With a subheader"\n        progress={0.89}\n      />\n    </Grid>\n  </Grid>\n);\n\nexport const LinkInFooter = () => (\n  <Grid container spacing={2}>\n    <Grid item>\n      <ProgressCard title="Progress" deepLink={linkInfo} progress={0.3} />\n    </Grid>\n    <Grid item>\n      <ProgressCard title="Progress" deepLink={linkInfo} progress={0.57} />\n    </Grid>\n    <Grid item>\n      <ProgressCard title="Progress" deepLink={linkInfo} progress={0.89} />\n    </Grid>\n  </Grid>\n);\n',locationsMap:{"progress-card--default":{startLoc:{col:23,line:28},endLoc:{col:1,line:40},startBody:{col:23,line:28},endBody:{col:1,line:40}},"progress-card--subhead":{startLoc:{col:23,line:42},endLoc:{col:1,line:66},startBody:{col:23,line:42},endBody:{col:1,line:66}},"progress-card--link-in-footer":{startLoc:{col:28,line:68},endLoc:{col:1,line:80},startBody:{col:28,line:68},endBody:{col:1,line:80}}}}},title:"Progress Card",component:_ProgressCard__WEBPACK_IMPORTED_MODULE_1__.a};const Default=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{container:!0,spacing:2,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:51}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{item:!0,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:52}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_ProgressCard__WEBPACK_IMPORTED_MODULE_1__.a,{title:"Progress",progress:.3,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:53}})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{item:!0,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:55}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_ProgressCard__WEBPACK_IMPORTED_MODULE_1__.a,{title:"Progress",progress:.57,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:56}})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{item:!0,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:58}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_ProgressCard__WEBPACK_IMPORTED_MODULE_1__.a,{title:"Progress",progress:.89,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:59}}))),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/ProgressCard.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),Subhead=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{container:!0,spacing:2,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:65}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{item:!0,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:66}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_ProgressCard__WEBPACK_IMPORTED_MODULE_1__.a,{title:"Progress",subheader:"With a subheader",progress:.3,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:67}})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{item:!0,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:73}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_ProgressCard__WEBPACK_IMPORTED_MODULE_1__.a,{title:"Progress",subheader:"With a subheader",progress:.57,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:74}})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{item:!0,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:80}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_ProgressCard__WEBPACK_IMPORTED_MODULE_1__.a,{title:"Progress",subheader:"With a subheader",progress:.89,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:81}}))),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/ProgressCard.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),LinkInFooter=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{container:!0,spacing:2,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:91}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{item:!0,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:92}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_ProgressCard__WEBPACK_IMPORTED_MODULE_1__.a,{title:"Progress",deepLink:linkInfo,progress:.3,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:93}})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{item:!0,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:95}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_ProgressCard__WEBPACK_IMPORTED_MODULE_1__.a,{title:"Progress",deepLink:linkInfo,progress:.57,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:96}})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{item:!0,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:98}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_ProgressCard__WEBPACK_IMPORTED_MODULE_1__.a,{title:"Progress",deepLink:linkInfo,progress:.89,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:99}}))),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/ProgressCard.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__});var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(withSourceLoader,"withSourceLoader","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/ProgressCard.stories.tsx"),reactHotLoader.register(addSourceDecorator,"addSourceDecorator","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/ProgressCard.stories.tsx"),reactHotLoader.register(__SOURCE_PREFIX__,"__SOURCE_PREFIX__","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/ProgressCard.stories.tsx"),reactHotLoader.register(__STORY__,"__STORY__","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/ProgressCard.stories.tsx"),reactHotLoader.register(__ADDS_MAP__,"__ADDS_MAP__","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/ProgressCard.stories.tsx"),reactHotLoader.register("/ProgressCard.stories.tsx","__MAIN_FILE_LOCATION__","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/ProgressCard.stories.tsx"),reactHotLoader.register(__MODULE_DEPENDENCIES__,"__MODULE_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/ProgressCard.stories.tsx"),reactHotLoader.register(__LOCAL_DEPENDENCIES__,"__LOCAL_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/ProgressCard.stories.tsx"),reactHotLoader.register(__IDS_TO_FRAMEWORKS__,"__IDS_TO_FRAMEWORKS__","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/ProgressCard.stories.tsx"),reactHotLoader.register(linkInfo,"linkInfo","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/ProgressCard.stories.tsx"),reactHotLoader.register(Default,"Default","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/ProgressCard.stories.tsx"),reactHotLoader.register(Subhead,"Subhead","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/ProgressCard.stories.tsx"),reactHotLoader.register(LinkInFooter,"LinkInFooter","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/ProgressCard.stories.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/ProgressCard.stories.tsx"),leaveModule(module))}.call(this,__webpack_require__(7)(module))},1795:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){__webpack_require__.d(__webpack_exports__,"Default",(function(){return Default})),__webpack_require__.d(__webpack_exports__,"ConditionalButtons",(function(){return ConditionalButtons})),__webpack_require__.d(__webpack_exports__,"CompletionStep",(function(){return CompletionStep}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_material_ui_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(254),___WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(80);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper/SimpleStepper.stories.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);var withSourceLoader=__webpack_require__(25).withSource,addSourceDecorator=__webpack_require__(25).addSource,__SOURCE_PREFIX__="/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper",__STORY__='/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { useState } from \'react\';\nimport { TextField } from \'@material-ui/core\';\nimport { SimpleStepper, SimpleStepperStep } from \'.\';\n\nexport default {\n  title: \'SimpleStepper\',\n  component: SimpleStepper,\n};\n\nexport const Default = () => (\n  <SimpleStepper>\n    <SimpleStepperStep title="Step 1">\n      <div>This is the content for step 1</div>\n    </SimpleStepperStep>\n    <SimpleStepperStep title="Step 2">\n      <div>This is the content for step 2</div>\n    </SimpleStepperStep>\n    <SimpleStepperStep title="Step 3">\n      <div>This is the content for step 3</div>\n    </SimpleStepperStep>\n  </SimpleStepper>\n);\n\nexport const ConditionalButtons = () => {\n  const [required, setRequired] = useState(false);\n\n  return (\n    <SimpleStepper>\n      <SimpleStepperStep\n        title="Step 1 with required field"\n        actions={{\n          canNext: () => required,\n        }}\n      >\n        <TextField\n          variant="outlined"\n          placeholder="Required*"\n          onChange={(e) => setRequired(!!e.target.value)}\n        />\n      </SimpleStepperStep>\n      <SimpleStepperStep title="Step 2">\n        <div>This is the content for step 2</div>\n      </SimpleStepperStep>\n      <SimpleStepperStep title="Step 3">\n        <div>This is the content for step 3</div>\n      </SimpleStepperStep>\n    </SimpleStepper>\n  );\n};\n\nexport const CompletionStep = () => {\n  return (\n    <SimpleStepper>\n      <SimpleStepperStep title="Step 1">\n        <div>This is the content for step 1</div>\n      </SimpleStepperStep>\n      <SimpleStepperStep title="Step 2">\n        <div>This is the content for step 2</div>\n      </SimpleStepperStep>\n      <SimpleStepperStep title="Success!" end>\n        <div>You\'ve completed the Stepper</div>\n      </SimpleStepperStep>\n    </SimpleStepper>\n  );\n};\n',__ADDS_MAP__={"simplestepper--default":{startLoc:{col:23,line:26},endLoc:{col:1,line:38},startBody:{col:23,line:26},endBody:{col:1,line:38}},"simplestepper--conditional-buttons":{startLoc:{col:34,line:40},endLoc:{col:1,line:65},startBody:{col:34,line:40},endBody:{col:1,line:65}},"simplestepper--completion-step":{startLoc:{col:30,line:67},endLoc:{col:1,line:81},startBody:{col:30,line:67},endBody:{col:1,line:81}}},__MODULE_DEPENDENCIES__=[],__LOCAL_DEPENDENCIES__={},__IDS_TO_FRAMEWORKS__={};let _default;__webpack_exports__.default=_default={parameters:{storySource:{source:'/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { useState } from \'react\';\nimport { TextField } from \'@material-ui/core\';\nimport { SimpleStepper, SimpleStepperStep } from \'.\';\n\nexport default {\n  title: \'SimpleStepper\',\n  component: SimpleStepper,\n};\n\nexport const Default = () => (\n  <SimpleStepper>\n    <SimpleStepperStep title="Step 1">\n      <div>This is the content for step 1</div>\n    </SimpleStepperStep>\n    <SimpleStepperStep title="Step 2">\n      <div>This is the content for step 2</div>\n    </SimpleStepperStep>\n    <SimpleStepperStep title="Step 3">\n      <div>This is the content for step 3</div>\n    </SimpleStepperStep>\n  </SimpleStepper>\n);\n\nexport const ConditionalButtons = () => {\n  const [required, setRequired] = useState(false);\n\n  return (\n    <SimpleStepper>\n      <SimpleStepperStep\n        title="Step 1 with required field"\n        actions={{\n          canNext: () => required,\n        }}\n      >\n        <TextField\n          variant="outlined"\n          placeholder="Required*"\n          onChange={(e) => setRequired(!!e.target.value)}\n        />\n      </SimpleStepperStep>\n      <SimpleStepperStep title="Step 2">\n        <div>This is the content for step 2</div>\n      </SimpleStepperStep>\n      <SimpleStepperStep title="Step 3">\n        <div>This is the content for step 3</div>\n      </SimpleStepperStep>\n    </SimpleStepper>\n  );\n};\n\nexport const CompletionStep = () => {\n  return (\n    <SimpleStepper>\n      <SimpleStepperStep title="Step 1">\n        <div>This is the content for step 1</div>\n      </SimpleStepperStep>\n      <SimpleStepperStep title="Step 2">\n        <div>This is the content for step 2</div>\n      </SimpleStepperStep>\n      <SimpleStepperStep title="Success!" end>\n        <div>You\'ve completed the Stepper</div>\n      </SimpleStepperStep>\n    </SimpleStepper>\n  );\n};\n',locationsMap:{"simplestepper--default":{startLoc:{col:23,line:26},endLoc:{col:1,line:38},startBody:{col:23,line:26},endBody:{col:1,line:38}},"simplestepper--conditional-buttons":{startLoc:{col:34,line:40},endLoc:{col:1,line:65},startBody:{col:34,line:40},endBody:{col:1,line:65}},"simplestepper--completion-step":{startLoc:{col:30,line:67},endLoc:{col:1,line:81},startBody:{col:30,line:67},endBody:{col:1,line:81}}}}},title:"SimpleStepper",component:___WEBPACK_IMPORTED_MODULE_2__.a};const Default=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_2__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:49}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_2__.b,{title:"Step 1",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:50}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:51}},"This is the content for step 1")),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_2__.b,{title:"Step 2",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:53}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:54}},"This is the content for step 2")),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_2__.b,{title:"Step 3",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:56}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:57}},"This is the content for step 3"))),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/SimpleStepper.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),ConditionalButtons=addSourceDecorator(()=>{const[required,setRequired]=Object(react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1);return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_2__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:66}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_2__.b,{title:"Step 1 with required field",actions:{canNext:()=>required},__self:void 0,__source:{fileName:_jsxFileName,lineNumber:67}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a,{variant:"outlined",placeholder:"Required*",onChange:e=>setRequired(!!e.target.value),__self:void 0,__source:{fileName:_jsxFileName,lineNumber:73}})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_2__.b,{title:"Step 2",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:79}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:80}},"This is the content for step 2")),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_2__.b,{title:"Step 3",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:82}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:83}},"This is the content for step 3")))},{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/SimpleStepper.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),CompletionStep=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_2__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:91}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_2__.b,{title:"Step 1",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:92}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:93}},"This is the content for step 1")),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_2__.b,{title:"Step 2",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:95}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:96}},"This is the content for step 2")),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_2__.b,{title:"Success!",end:!0,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:98}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:99}},"You've completed the Stepper"))),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/SimpleStepper.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__});var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(withSourceLoader,"withSourceLoader","/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper/SimpleStepper.stories.tsx"),reactHotLoader.register(addSourceDecorator,"addSourceDecorator","/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper/SimpleStepper.stories.tsx"),reactHotLoader.register(__SOURCE_PREFIX__,"__SOURCE_PREFIX__","/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper/SimpleStepper.stories.tsx"),reactHotLoader.register(__STORY__,"__STORY__","/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper/SimpleStepper.stories.tsx"),reactHotLoader.register(__ADDS_MAP__,"__ADDS_MAP__","/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper/SimpleStepper.stories.tsx"),reactHotLoader.register("/SimpleStepper.stories.tsx","__MAIN_FILE_LOCATION__","/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper/SimpleStepper.stories.tsx"),reactHotLoader.register(__MODULE_DEPENDENCIES__,"__MODULE_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper/SimpleStepper.stories.tsx"),reactHotLoader.register(__LOCAL_DEPENDENCIES__,"__LOCAL_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper/SimpleStepper.stories.tsx"),reactHotLoader.register(__IDS_TO_FRAMEWORKS__,"__IDS_TO_FRAMEWORKS__","/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper/SimpleStepper.stories.tsx"),reactHotLoader.register(Default,"Default","/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper/SimpleStepper.stories.tsx"),reactHotLoader.register(ConditionalButtons,"ConditionalButtons","/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper/SimpleStepper.stories.tsx"),reactHotLoader.register(CompletionStep,"CompletionStep","/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper/SimpleStepper.stories.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper/SimpleStepper.stories.tsx"),leaveModule(module))}.call(this,__webpack_require__(7)(module))},1796:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){__webpack_require__.d(__webpack_exports__,"Default",(function(){return Default})),__webpack_require__.d(__webpack_exports__,"statusOK",(function(){return statusOK})),__webpack_require__.d(__webpack_exports__,"statusWarning",(function(){return statusWarning})),__webpack_require__.d(__webpack_exports__,"statusError",(function(){return statusError})),__webpack_require__.d(__webpack_exports__,"statusAborted",(function(){return statusAborted})),__webpack_require__.d(__webpack_exports__,"statusPending",(function(){return statusPending})),__webpack_require__.d(__webpack_exports__,"statusRunning",(function(){return statusRunning}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_Status__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(56),_Table__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(93),_layout_InfoCard__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(55);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/Status/Status.stories.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);var withSourceLoader=__webpack_require__(25).withSource,addSourceDecorator=__webpack_require__(25).addSource,__SOURCE_PREFIX__="/home/runner/work/backstage/backstage/packages/core/src/components/Status",__STORY__="/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from 'react';\nimport {\n  StatusError,\n  StatusAborted,\n  StatusOK,\n  StatusPending,\n  StatusRunning,\n  StatusWarning,\n} from './Status';\nimport Table from '../Table';\nimport InfoCard from '../../layout/InfoCard';\n\nexport default {\n  title: 'Status',\n  component: StatusOK,\n};\n\nconst data = [\n  {\n    status: <StatusOK>OK</StatusOK>,\n    label: 'OK',\n    usage: 'Deployment successful',\n  },\n  {\n    status: <StatusWarning>Warning</StatusWarning>,\n    usage: 'CPU utilization at 90%',\n  },\n  {\n    status: <StatusError>Error</StatusError>,\n    usage: 'Service could not be created',\n  },\n  {\n    status: <StatusAborted>Aborted</StatusAborted>,\n    usage: 'Build for PR #34 aborted',\n  },\n  {\n    status: <StatusPending>Pending</StatusPending>,\n    usage: 'Job is waiting',\n  },\n  {\n    status: <StatusRunning>Running</StatusRunning>,\n    usage: 'Job is running',\n  },\n];\n\nconst columns = [\n  { field: 'status', title: 'Status' },\n  { field: 'usage', title: 'Example usage' },\n];\n\nconst containerStyle = { width: 600 };\n\nexport const Default = () => (\n  <div style={containerStyle}>\n    <InfoCard title=\"Available status types\" noPadding>\n      <Table\n        options={{\n          search: false,\n          paging: false,\n          toolbar: false,\n        }}\n        data={data}\n        columns={columns}\n      />\n    </InfoCard>\n  </div>\n);\n\nexport const statusOK = () => <StatusOK />;\nexport const statusWarning = () => <StatusWarning />;\nexport const statusError = () => <StatusError />;\nexport const statusAborted = () => <StatusAborted />;\nexport const statusPending = () => <StatusPending />;\nexport const statusRunning = () => <StatusRunning />;\n",__ADDS_MAP__={"status--default":{startLoc:{col:23,line:69},endLoc:{col:1,line:83},startBody:{col:23,line:69},endBody:{col:1,line:83}},"status--status-ok":{startLoc:{col:24,line:85},endLoc:{col:42,line:85},startBody:{col:24,line:85},endBody:{col:42,line:85}},"status--status-warning":{startLoc:{col:29,line:86},endLoc:{col:52,line:86},startBody:{col:29,line:86},endBody:{col:52,line:86}},"status--status-error":{startLoc:{col:27,line:87},endLoc:{col:48,line:87},startBody:{col:27,line:87},endBody:{col:48,line:87}},"status--status-aborted":{startLoc:{col:29,line:88},endLoc:{col:52,line:88},startBody:{col:29,line:88},endBody:{col:52,line:88}},"status--status-pending":{startLoc:{col:29,line:89},endLoc:{col:52,line:89},startBody:{col:29,line:89},endBody:{col:52,line:89}},"status--status-running":{startLoc:{col:29,line:90},endLoc:{col:52,line:90},startBody:{col:29,line:90},endBody:{col:52,line:90}}},__MODULE_DEPENDENCIES__=[],__LOCAL_DEPENDENCIES__={},__IDS_TO_FRAMEWORKS__={};let _default;__webpack_exports__.default=_default={parameters:{storySource:{source:"/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from 'react';\nimport {\n  StatusError,\n  StatusAborted,\n  StatusOK,\n  StatusPending,\n  StatusRunning,\n  StatusWarning,\n} from './Status';\nimport Table from '../Table';\nimport InfoCard from '../../layout/InfoCard';\n\nexport default {\n  title: 'Status',\n  component: StatusOK,\n};\n\nconst data = [\n  {\n    status: <StatusOK>OK</StatusOK>,\n    label: 'OK',\n    usage: 'Deployment successful',\n  },\n  {\n    status: <StatusWarning>Warning</StatusWarning>,\n    usage: 'CPU utilization at 90%',\n  },\n  {\n    status: <StatusError>Error</StatusError>,\n    usage: 'Service could not be created',\n  },\n  {\n    status: <StatusAborted>Aborted</StatusAborted>,\n    usage: 'Build for PR #34 aborted',\n  },\n  {\n    status: <StatusPending>Pending</StatusPending>,\n    usage: 'Job is waiting',\n  },\n  {\n    status: <StatusRunning>Running</StatusRunning>,\n    usage: 'Job is running',\n  },\n];\n\nconst columns = [\n  { field: 'status', title: 'Status' },\n  { field: 'usage', title: 'Example usage' },\n];\n\nconst containerStyle = { width: 600 };\n\nexport const Default = () => (\n  <div style={containerStyle}>\n    <InfoCard title=\"Available status types\" noPadding>\n      <Table\n        options={{\n          search: false,\n          paging: false,\n          toolbar: false,\n        }}\n        data={data}\n        columns={columns}\n      />\n    </InfoCard>\n  </div>\n);\n\nexport const statusOK = () => <StatusOK />;\nexport const statusWarning = () => <StatusWarning />;\nexport const statusError = () => <StatusError />;\nexport const statusAborted = () => <StatusAborted />;\nexport const statusPending = () => <StatusPending />;\nexport const statusRunning = () => <StatusRunning />;\n",locationsMap:{"status--default":{startLoc:{col:23,line:69},endLoc:{col:1,line:83},startBody:{col:23,line:69},endBody:{col:1,line:83}},"status--status-ok":{startLoc:{col:24,line:85},endLoc:{col:42,line:85},startBody:{col:24,line:85},endBody:{col:42,line:85}},"status--status-warning":{startLoc:{col:29,line:86},endLoc:{col:52,line:86},startBody:{col:29,line:86},endBody:{col:52,line:86}},"status--status-error":{startLoc:{col:27,line:87},endLoc:{col:48,line:87},startBody:{col:27,line:87},endBody:{col:48,line:87}},"status--status-aborted":{startLoc:{col:29,line:88},endLoc:{col:52,line:88},startBody:{col:29,line:88},endBody:{col:52,line:88}},"status--status-pending":{startLoc:{col:29,line:89},endLoc:{col:52,line:89},startBody:{col:29,line:89},endBody:{col:52,line:89}},"status--status-running":{startLoc:{col:29,line:90},endLoc:{col:52,line:90},startBody:{col:29,line:90},endBody:{col:52,line:90}}}}},title:"Status",component:_Status__WEBPACK_IMPORTED_MODULE_1__.c};const data=[{status:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Status__WEBPACK_IMPORTED_MODULE_1__.c,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:58}},"OK"),label:"OK",usage:"Deployment successful"},{status:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Status__WEBPACK_IMPORTED_MODULE_1__.f,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:63}},"Warning"),usage:"CPU utilization at 90%"},{status:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Status__WEBPACK_IMPORTED_MODULE_1__.b,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:67}},"Error"),usage:"Service could not be created"},{status:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Status__WEBPACK_IMPORTED_MODULE_1__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:71}},"Aborted"),usage:"Build for PR #34 aborted"},{status:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Status__WEBPACK_IMPORTED_MODULE_1__.d,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:75}},"Pending"),usage:"Job is waiting"},{status:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Status__WEBPACK_IMPORTED_MODULE_1__.e,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:79}},"Running"),usage:"Job is running"}],columns=[{field:"status",title:"Status"},{field:"usage",title:"Example usage"}],containerStyle={width:600},Default=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:containerStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:92}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_layout_InfoCard__WEBPACK_IMPORTED_MODULE_3__.a,{title:"Available status types",noPadding:!0,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:93}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Table__WEBPACK_IMPORTED_MODULE_2__.b,{options:{search:!1,paging:!1,toolbar:!1},data:data,columns:columns,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:94}}))),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/Status.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),statusOK=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Status__WEBPACK_IMPORTED_MODULE_1__.c,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:107}}),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/Status.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),statusWarning=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Status__WEBPACK_IMPORTED_MODULE_1__.f,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:108}}),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/Status.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),statusError=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Status__WEBPACK_IMPORTED_MODULE_1__.b,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:109}}),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/Status.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),statusAborted=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Status__WEBPACK_IMPORTED_MODULE_1__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:110}}),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/Status.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),statusPending=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Status__WEBPACK_IMPORTED_MODULE_1__.d,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:111}}),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/Status.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),statusRunning=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Status__WEBPACK_IMPORTED_MODULE_1__.e,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:112}}),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/Status.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__});var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(withSourceLoader,"withSourceLoader","/home/runner/work/backstage/backstage/packages/core/src/components/Status/Status.stories.tsx"),reactHotLoader.register(addSourceDecorator,"addSourceDecorator","/home/runner/work/backstage/backstage/packages/core/src/components/Status/Status.stories.tsx"),reactHotLoader.register(__SOURCE_PREFIX__,"__SOURCE_PREFIX__","/home/runner/work/backstage/backstage/packages/core/src/components/Status/Status.stories.tsx"),reactHotLoader.register(__STORY__,"__STORY__","/home/runner/work/backstage/backstage/packages/core/src/components/Status/Status.stories.tsx"),reactHotLoader.register(__ADDS_MAP__,"__ADDS_MAP__","/home/runner/work/backstage/backstage/packages/core/src/components/Status/Status.stories.tsx"),reactHotLoader.register("/Status.stories.tsx","__MAIN_FILE_LOCATION__","/home/runner/work/backstage/backstage/packages/core/src/components/Status/Status.stories.tsx"),reactHotLoader.register(__MODULE_DEPENDENCIES__,"__MODULE_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/components/Status/Status.stories.tsx"),reactHotLoader.register(__LOCAL_DEPENDENCIES__,"__LOCAL_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/components/Status/Status.stories.tsx"),reactHotLoader.register(__IDS_TO_FRAMEWORKS__,"__IDS_TO_FRAMEWORKS__","/home/runner/work/backstage/backstage/packages/core/src/components/Status/Status.stories.tsx"),reactHotLoader.register(data,"data","/home/runner/work/backstage/backstage/packages/core/src/components/Status/Status.stories.tsx"),reactHotLoader.register(columns,"columns","/home/runner/work/backstage/backstage/packages/core/src/components/Status/Status.stories.tsx"),reactHotLoader.register(containerStyle,"containerStyle","/home/runner/work/backstage/backstage/packages/core/src/components/Status/Status.stories.tsx"),reactHotLoader.register(Default,"Default","/home/runner/work/backstage/backstage/packages/core/src/components/Status/Status.stories.tsx"),reactHotLoader.register(statusOK,"statusOK","/home/runner/work/backstage/backstage/packages/core/src/components/Status/Status.stories.tsx"),reactHotLoader.register(statusWarning,"statusWarning","/home/runner/work/backstage/backstage/packages/core/src/components/Status/Status.stories.tsx"),reactHotLoader.register(statusError,"statusError","/home/runner/work/backstage/backstage/packages/core/src/components/Status/Status.stories.tsx"),reactHotLoader.register(statusAborted,"statusAborted","/home/runner/work/backstage/backstage/packages/core/src/components/Status/Status.stories.tsx"),reactHotLoader.register(statusPending,"statusPending","/home/runner/work/backstage/backstage/packages/core/src/components/Status/Status.stories.tsx"),reactHotLoader.register(statusRunning,"statusRunning","/home/runner/work/backstage/backstage/packages/core/src/components/Status/Status.stories.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/Status/Status.stories.tsx"),leaveModule(module))}.call(this,__webpack_require__(7)(module))},1797:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){__webpack_require__.d(__webpack_exports__,"Default",(function(){return Default}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_layout_InfoCard__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(55),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(46),___WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(306);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/StructuredMetadataTable.stories.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);var withSourceLoader=__webpack_require__(25).withSource,addSourceDecorator=__webpack_require__(25).addSource,__SOURCE_PREFIX__="/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable",__STORY__="/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport React, { FC } from 'react';\nimport InfoCard from '../../layout/InfoCard';\nimport { Grid } from '@material-ui/core';\nimport StructuredMetadataTable from '.';\n\nconst cardContentStyle = { heightX: 200, width: 500 };\n\nconst metadata = {\n  description:\n    'This is a long description of what this is doing (and some additional info too). \\n It has new lines and extra text to make it especially annoying to render. But it just ignores them.',\n  something: 'Yes',\n  owner: 'squad',\n  'longer key name': ['v1', 'v2', 'v3'],\n  rules: {\n    'permit missing partitions': 'No',\n    'max partition finish time': '19 hours',\n    Support: {\n      'office hours': 'Contact goalie',\n      'after hours': 'trigger PD alert',\n    },\n  },\n};\n\nexport default {\n  title: 'Structured Metadata Table',\n  component: StructuredMetadataTable,\n};\n\nconst Wrapper: FC<{}> = ({ children }) => (\n  <Grid container spacing={4}>\n    <Grid item>{children}</Grid>\n  </Grid>\n);\n\nexport const Default = () => (\n  <Wrapper>\n    <InfoCard title=\"Structured Metadata Table\" subheader=\"Wrapped in InfoCard\">\n      <div style={cardContentStyle}>\n        <StructuredMetadataTable metadata={metadata} />\n      </div>\n    </InfoCard>\n  </Wrapper>\n);\n",__ADDS_MAP__={"structured-metadata-table--default":{startLoc:{col:23,line:50},endLoc:{col:1,line:58},startBody:{col:23,line:50},endBody:{col:1,line:58}}},__MODULE_DEPENDENCIES__=[],__LOCAL_DEPENDENCIES__={},__IDS_TO_FRAMEWORKS__={};const cardContentStyle={heightX:200,width:500},metadata={description:"This is a long description of what this is doing (and some additional info too). \n It has new lines and extra text to make it especially annoying to render. But it just ignores them.",something:"Yes",owner:"squad","longer key name":["v1","v2","v3"],rules:{"permit missing partitions":"No","max partition finish time":"19 hours",Support:{"office hours":"Contact goalie","after hours":"trigger PD alert"}}};let _default;__webpack_exports__.default=_default={parameters:{storySource:{source:"/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport React, { FC } from 'react';\nimport InfoCard from '../../layout/InfoCard';\nimport { Grid } from '@material-ui/core';\nimport StructuredMetadataTable from '.';\n\nconst cardContentStyle = { heightX: 200, width: 500 };\n\nconst metadata = {\n  description:\n    'This is a long description of what this is doing (and some additional info too). \\n It has new lines and extra text to make it especially annoying to render. But it just ignores them.',\n  something: 'Yes',\n  owner: 'squad',\n  'longer key name': ['v1', 'v2', 'v3'],\n  rules: {\n    'permit missing partitions': 'No',\n    'max partition finish time': '19 hours',\n    Support: {\n      'office hours': 'Contact goalie',\n      'after hours': 'trigger PD alert',\n    },\n  },\n};\n\nexport default {\n  title: 'Structured Metadata Table',\n  component: StructuredMetadataTable,\n};\n\nconst Wrapper: FC<{}> = ({ children }) => (\n  <Grid container spacing={4}>\n    <Grid item>{children}</Grid>\n  </Grid>\n);\n\nexport const Default = () => (\n  <Wrapper>\n    <InfoCard title=\"Structured Metadata Table\" subheader=\"Wrapped in InfoCard\">\n      <div style={cardContentStyle}>\n        <StructuredMetadataTable metadata={metadata} />\n      </div>\n    </InfoCard>\n  </Wrapper>\n);\n",locationsMap:{"structured-metadata-table--default":{startLoc:{col:23,line:50},endLoc:{col:1,line:58},startBody:{col:23,line:50},endBody:{col:1,line:58}}}}},title:"Structured Metadata Table",component:___WEBPACK_IMPORTED_MODULE_3__.a};const Wrapper=({children:children})=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{container:!0,spacing:4,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:67}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{item:!0,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:68}},children)),Default=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(Wrapper,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:73}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_layout_InfoCard__WEBPACK_IMPORTED_MODULE_1__.a,{title:"Structured Metadata Table",subheader:"Wrapped in InfoCard",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:74}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:cardContentStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:75}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_3__.a,{metadata:metadata,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:76}})))),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/StructuredMetadataTable.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__});var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(withSourceLoader,"withSourceLoader","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/StructuredMetadataTable.stories.tsx"),reactHotLoader.register(addSourceDecorator,"addSourceDecorator","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/StructuredMetadataTable.stories.tsx"),reactHotLoader.register(__SOURCE_PREFIX__,"__SOURCE_PREFIX__","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/StructuredMetadataTable.stories.tsx"),reactHotLoader.register(__STORY__,"__STORY__","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/StructuredMetadataTable.stories.tsx"),reactHotLoader.register(__ADDS_MAP__,"__ADDS_MAP__","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/StructuredMetadataTable.stories.tsx"),reactHotLoader.register("/StructuredMetadataTable.stories.tsx","__MAIN_FILE_LOCATION__","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/StructuredMetadataTable.stories.tsx"),reactHotLoader.register(__MODULE_DEPENDENCIES__,"__MODULE_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/StructuredMetadataTable.stories.tsx"),reactHotLoader.register(__LOCAL_DEPENDENCIES__,"__LOCAL_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/StructuredMetadataTable.stories.tsx"),reactHotLoader.register(__IDS_TO_FRAMEWORKS__,"__IDS_TO_FRAMEWORKS__","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/StructuredMetadataTable.stories.tsx"),reactHotLoader.register(cardContentStyle,"cardContentStyle","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/StructuredMetadataTable.stories.tsx"),reactHotLoader.register(metadata,"metadata","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/StructuredMetadataTable.stories.tsx"),reactHotLoader.register(Wrapper,"Wrapper","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/StructuredMetadataTable.stories.tsx"),reactHotLoader.register(Default,"Default","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/StructuredMetadataTable.stories.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/StructuredMetadataTable.stories.tsx"),leaveModule(module))}.call(this,__webpack_require__(7)(module))},1798:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){__webpack_require__.d(__webpack_exports__,"DefaultTable",(function(){return DefaultTable})),__webpack_require__.d(__webpack_exports__,"SubtitleTable",(function(){return SubtitleTable})),__webpack_require__.d(__webpack_exports__,"HiddenSearchTable",(function(){return HiddenSearchTable})),__webpack_require__.d(__webpack_exports__,"SubvalueTable",(function(){return SubvalueTable}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),___WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(93);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/Table/Table.stories.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);var withSourceLoader=__webpack_require__(25).withSource,addSourceDecorator=__webpack_require__(25).addSource,__SOURCE_PREFIX__="/home/runner/work/backstage/backstage/packages/core/src/components/Table",__STORY__="/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from 'react';\nimport Table, { SubvalueCell, TableColumn } from './';\n\nexport default {\n  title: 'Table',\n  component: Table,\n};\n\nconst containerStyle = { width: 850 };\n\nconst generateTestData: (number: number) => Array<{}> = (rows = 10) => {\n  const data: Array<{}> = [];\n  while (data.length <= rows) {\n    data.push({\n      col1: `Some value ${data.length}`,\n      col2: `More data ${data.length}`,\n      subvalue: `Subvalue ${data.length}`,\n      number: Math.round(Math.abs(Math.sin(data.length)) * 1000),\n      date: new Date(Math.abs(Math.sin(data.length)) * 10000000000000),\n    });\n  }\n\n  return data;\n};\n\nconst testData10 = generateTestData(10);\n\nexport const DefaultTable = () => {\n  const columns: TableColumn[] = [\n    {\n      title: 'Column 1',\n      field: 'col1',\n      highlight: true,\n    },\n    {\n      title: 'Column 2',\n      field: 'col2',\n    },\n    {\n      title: 'Numeric value',\n      field: 'number',\n      type: 'numeric',\n    },\n    {\n      title: 'A Date',\n      field: 'date',\n      type: 'date',\n    },\n  ];\n\n  return (\n    <div style={containerStyle}>\n      <Table\n        options={{ paging: false }}\n        data={testData10}\n        columns={columns}\n        title=\"Backstage Table\"\n      />\n    </div>\n  );\n};\n\nexport const SubtitleTable = () => {\n  const columns: TableColumn[] = [\n    {\n      title: 'Column 1',\n      field: 'col1',\n      highlight: true,\n    },\n    {\n      title: 'Column 2',\n      field: 'col2',\n    },\n    {\n      title: 'Numeric value',\n      field: 'number',\n      type: 'numeric',\n    },\n    {\n      title: 'A Date',\n      field: 'date',\n      type: 'date',\n    },\n  ];\n\n  return (\n    <div style={containerStyle}>\n      <Table\n        options={{ paging: false }}\n        data={testData10}\n        columns={columns}\n        title=\"Backstage Table\"\n        subtitle=\"Table Subtitle\"\n      />\n    </div>\n  );\n};\n\nexport const HiddenSearchTable = () => {\n  const columns: TableColumn[] = [\n    {\n      title: 'Column 1',\n      field: 'col1',\n      highlight: true,\n    },\n    {\n      title: 'Column 2',\n      field: 'col2',\n    },\n    {\n      title: 'Numeric value',\n      field: 'number',\n      type: 'numeric',\n    },\n    {\n      title: 'A Date',\n      field: 'date',\n      type: 'date',\n    },\n  ];\n\n  return (\n    <div style={containerStyle}>\n      <Table\n        options={{ paging: false, search: false }}\n        data={testData10}\n        columns={columns}\n      />\n    </div>\n  );\n};\n\nexport const SubvalueTable = () => {\n  const columns: TableColumn[] = [\n    {\n      title: 'Column 1',\n      customFilterAndSearch: (\n        query,\n        row: any, // Only needed if you want subvalue searchable\n      ) =>\n        `${row.col1} ${row.subvalue}`\n          .toUpperCase()\n          .includes(query.toUpperCase()),\n      field: 'col1',\n      highlight: true,\n      render: (row: any): React.ReactNode => (\n        <SubvalueCell value={row.col1} subvalue={row.subvalue} />\n      ),\n    },\n    {\n      title: 'Column 2',\n      field: 'col2',\n    },\n    {\n      title: 'Numeric value',\n      field: 'number',\n      type: 'numeric',\n    },\n    {\n      title: 'A Date',\n      field: 'date',\n      type: 'date',\n    },\n  ];\n\n  return (\n    <div style={containerStyle}>\n      <Table options={{ paging: false }} data={testData10} columns={columns} />\n    </div>\n  );\n};\n",__ADDS_MAP__={"table--default-table":{startLoc:{col:28,line:44},endLoc:{col:1,line:77},startBody:{col:28,line:44},endBody:{col:1,line:77}},"table--subtitle-table":{startLoc:{col:29,line:79},endLoc:{col:1,line:113},startBody:{col:29,line:79},endBody:{col:1,line:113}},"table--hidden-search-table":{startLoc:{col:33,line:115},endLoc:{col:1,line:147},startBody:{col:33,line:115},endBody:{col:1,line:147}},"table--subvalue-table":{startLoc:{col:29,line:149},endLoc:{col:1,line:187},startBody:{col:29,line:149},endBody:{col:1,line:187}}},__MODULE_DEPENDENCIES__=[],__LOCAL_DEPENDENCIES__={},__IDS_TO_FRAMEWORKS__={};let _default;__webpack_exports__.default=_default={parameters:{storySource:{source:"/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from 'react';\nimport Table, { SubvalueCell, TableColumn } from './';\n\nexport default {\n  title: 'Table',\n  component: Table,\n};\n\nconst containerStyle = { width: 850 };\n\nconst generateTestData: (number: number) => Array<{}> = (rows = 10) => {\n  const data: Array<{}> = [];\n  while (data.length <= rows) {\n    data.push({\n      col1: `Some value ${data.length}`,\n      col2: `More data ${data.length}`,\n      subvalue: `Subvalue ${data.length}`,\n      number: Math.round(Math.abs(Math.sin(data.length)) * 1000),\n      date: new Date(Math.abs(Math.sin(data.length)) * 10000000000000),\n    });\n  }\n\n  return data;\n};\n\nconst testData10 = generateTestData(10);\n\nexport const DefaultTable = () => {\n  const columns: TableColumn[] = [\n    {\n      title: 'Column 1',\n      field: 'col1',\n      highlight: true,\n    },\n    {\n      title: 'Column 2',\n      field: 'col2',\n    },\n    {\n      title: 'Numeric value',\n      field: 'number',\n      type: 'numeric',\n    },\n    {\n      title: 'A Date',\n      field: 'date',\n      type: 'date',\n    },\n  ];\n\n  return (\n    <div style={containerStyle}>\n      <Table\n        options={{ paging: false }}\n        data={testData10}\n        columns={columns}\n        title=\"Backstage Table\"\n      />\n    </div>\n  );\n};\n\nexport const SubtitleTable = () => {\n  const columns: TableColumn[] = [\n    {\n      title: 'Column 1',\n      field: 'col1',\n      highlight: true,\n    },\n    {\n      title: 'Column 2',\n      field: 'col2',\n    },\n    {\n      title: 'Numeric value',\n      field: 'number',\n      type: 'numeric',\n    },\n    {\n      title: 'A Date',\n      field: 'date',\n      type: 'date',\n    },\n  ];\n\n  return (\n    <div style={containerStyle}>\n      <Table\n        options={{ paging: false }}\n        data={testData10}\n        columns={columns}\n        title=\"Backstage Table\"\n        subtitle=\"Table Subtitle\"\n      />\n    </div>\n  );\n};\n\nexport const HiddenSearchTable = () => {\n  const columns: TableColumn[] = [\n    {\n      title: 'Column 1',\n      field: 'col1',\n      highlight: true,\n    },\n    {\n      title: 'Column 2',\n      field: 'col2',\n    },\n    {\n      title: 'Numeric value',\n      field: 'number',\n      type: 'numeric',\n    },\n    {\n      title: 'A Date',\n      field: 'date',\n      type: 'date',\n    },\n  ];\n\n  return (\n    <div style={containerStyle}>\n      <Table\n        options={{ paging: false, search: false }}\n        data={testData10}\n        columns={columns}\n      />\n    </div>\n  );\n};\n\nexport const SubvalueTable = () => {\n  const columns: TableColumn[] = [\n    {\n      title: 'Column 1',\n      customFilterAndSearch: (\n        query,\n        row: any, // Only needed if you want subvalue searchable\n      ) =>\n        `${row.col1} ${row.subvalue}`\n          .toUpperCase()\n          .includes(query.toUpperCase()),\n      field: 'col1',\n      highlight: true,\n      render: (row: any): React.ReactNode => (\n        <SubvalueCell value={row.col1} subvalue={row.subvalue} />\n      ),\n    },\n    {\n      title: 'Column 2',\n      field: 'col2',\n    },\n    {\n      title: 'Numeric value',\n      field: 'number',\n      type: 'numeric',\n    },\n    {\n      title: 'A Date',\n      field: 'date',\n      type: 'date',\n    },\n  ];\n\n  return (\n    <div style={containerStyle}>\n      <Table options={{ paging: false }} data={testData10} columns={columns} />\n    </div>\n  );\n};\n",locationsMap:{"table--default-table":{startLoc:{col:28,line:44},endLoc:{col:1,line:77},startBody:{col:28,line:44},endBody:{col:1,line:77}},"table--subtitle-table":{startLoc:{col:29,line:79},endLoc:{col:1,line:113},startBody:{col:29,line:79},endBody:{col:1,line:113}},"table--hidden-search-table":{startLoc:{col:33,line:115},endLoc:{col:1,line:147},startBody:{col:33,line:115},endBody:{col:1,line:147}},"table--subvalue-table":{startLoc:{col:29,line:149},endLoc:{col:1,line:187},startBody:{col:29,line:149},endBody:{col:1,line:187}}}}},title:"Table",component:___WEBPACK_IMPORTED_MODULE_1__.b};const containerStyle={width:850},generateTestData=(rows=10)=>{const data=[];for(;data.length<=rows;)data.push({col1:`Some value ${data.length}`,col2:`More data ${data.length}`,subvalue:`Subvalue ${data.length}`,number:Math.round(1e3*Math.abs(Math.sin(data.length))),date:new Date(1e13*Math.abs(Math.sin(data.length)))});return data},testData10=generateTestData(10),DefaultTable=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:containerStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:90}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.b,{options:{paging:!1},data:testData10,columns:[{title:"Column 1",field:"col1",highlight:!0},{title:"Column 2",field:"col2"},{title:"Numeric value",field:"number",type:"numeric"},{title:"A Date",field:"date",type:"date"}],title:"Backstage Table",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:91}})),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/Table.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),SubtitleTable=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:containerStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:125}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.b,{options:{paging:!1},data:testData10,columns:[{title:"Column 1",field:"col1",highlight:!0},{title:"Column 2",field:"col2"},{title:"Numeric value",field:"number",type:"numeric"},{title:"A Date",field:"date",type:"date"}],title:"Backstage Table",subtitle:"Table Subtitle",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:126}})),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/Table.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),HiddenSearchTable=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:containerStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:161}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.b,{options:{paging:!1,search:!1},data:testData10,columns:[{title:"Column 1",field:"col1",highlight:!0},{title:"Column 2",field:"col2"},{title:"Numeric value",field:"number",type:"numeric"},{title:"A Date",field:"date",type:"date"}],__self:void 0,__source:{fileName:_jsxFileName,lineNumber:162}})),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/Table.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),SubvalueTable=addSourceDecorator(()=>{const columns=[{title:"Column 1",customFilterAndSearch:(query,row)=>`${row.col1} ${row.subvalue}`.toUpperCase().includes(query.toUpperCase()),field:"col1",highlight:!0,render:row=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{value:row.col1,subvalue:row.subvalue,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:185}})},{title:"Column 2",field:"col2"},{title:"Numeric value",field:"number",type:"numeric"},{title:"A Date",field:"date",type:"date"}];return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:containerStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:205}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.b,{options:{paging:!1},data:testData10,columns:columns,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:206}}))},{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/Table.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__});var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(withSourceLoader,"withSourceLoader","/home/runner/work/backstage/backstage/packages/core/src/components/Table/Table.stories.tsx"),reactHotLoader.register(addSourceDecorator,"addSourceDecorator","/home/runner/work/backstage/backstage/packages/core/src/components/Table/Table.stories.tsx"),reactHotLoader.register(__SOURCE_PREFIX__,"__SOURCE_PREFIX__","/home/runner/work/backstage/backstage/packages/core/src/components/Table/Table.stories.tsx"),reactHotLoader.register(__STORY__,"__STORY__","/home/runner/work/backstage/backstage/packages/core/src/components/Table/Table.stories.tsx"),reactHotLoader.register(__ADDS_MAP__,"__ADDS_MAP__","/home/runner/work/backstage/backstage/packages/core/src/components/Table/Table.stories.tsx"),reactHotLoader.register("/Table.stories.tsx","__MAIN_FILE_LOCATION__","/home/runner/work/backstage/backstage/packages/core/src/components/Table/Table.stories.tsx"),reactHotLoader.register(__MODULE_DEPENDENCIES__,"__MODULE_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/components/Table/Table.stories.tsx"),reactHotLoader.register(__LOCAL_DEPENDENCIES__,"__LOCAL_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/components/Table/Table.stories.tsx"),reactHotLoader.register(__IDS_TO_FRAMEWORKS__,"__IDS_TO_FRAMEWORKS__","/home/runner/work/backstage/backstage/packages/core/src/components/Table/Table.stories.tsx"),reactHotLoader.register(containerStyle,"containerStyle","/home/runner/work/backstage/backstage/packages/core/src/components/Table/Table.stories.tsx"),reactHotLoader.register(generateTestData,"generateTestData","/home/runner/work/backstage/backstage/packages/core/src/components/Table/Table.stories.tsx"),reactHotLoader.register(testData10,"testData10","/home/runner/work/backstage/backstage/packages/core/src/components/Table/Table.stories.tsx"),reactHotLoader.register(DefaultTable,"DefaultTable","/home/runner/work/backstage/backstage/packages/core/src/components/Table/Table.stories.tsx"),reactHotLoader.register(SubtitleTable,"SubtitleTable","/home/runner/work/backstage/backstage/packages/core/src/components/Table/Table.stories.tsx"),reactHotLoader.register(HiddenSearchTable,"HiddenSearchTable","/home/runner/work/backstage/backstage/packages/core/src/components/Table/Table.stories.tsx"),reactHotLoader.register(SubvalueTable,"SubvalueTable","/home/runner/work/backstage/backstage/packages/core/src/components/Table/Table.stories.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/Table/Table.stories.tsx"),leaveModule(module))}.call(this,__webpack_require__(7)(module))},1799:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){__webpack_require__.d(__webpack_exports__,"Default",(function(){return Default})),__webpack_require__.d(__webpack_exports__,"TrendingMix",(function(){return TrendingMix})),__webpack_require__.d(__webpack_exports__,"TrendingUp",(function(){return TrendingUp})),__webpack_require__.d(__webpack_exports__,"TrendingDown",(function(){return TrendingDown}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),___WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(45),_Table__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(93),_layout_InfoCard__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(55);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/TrendLine/TrendLine.stories.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);var withSourceLoader=__webpack_require__(25).withSource,addSourceDecorator=__webpack_require__(25).addSource,__SOURCE_PREFIX__="/home/runner/work/backstage/backstage/packages/core/src/components/TrendLine",__STORY__='/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from \'react\';\nimport TrendLine from \'.\';\nimport Table from \'../Table\';\nimport InfoCard from \'../../layout/InfoCard\';\n\nexport default {\n  title: \'TrendLine\',\n  component: TrendLine,\n};\n\nconst containerStyle = { width: 700 };\n\nconst data = [\n  {\n    stock: \'A\',\n    day: <TrendLine data={[0.1, 0.5, 0.7, 1]} title="Trend over time" />,\n    week: <TrendLine data={[1, 0.7, 0.9, 1]} title="Trend over time" />,\n    month: <TrendLine data={[0.1, 0.3, 0.6, 1]} title="Trend over time" />,\n    year: <TrendLine data={[0.8, 0.8, 0.8, 1]} title="Trend over time" />,\n  },\n  {\n    stock: \'B\',\n    day: <TrendLine data={[0.8, 0.7, 0.5, 0.1]} title="Trend over time" />,\n    week: <TrendLine data={[1, 0.9, 0.9, 1]} title="Trend over time" />,\n    month: <TrendLine data={[1, 0.8, 0.6, 0.4]} title="Trend over time" />,\n    year: <TrendLine data={[1, 1, 0.9, 0.8]} title="Trend over time" />,\n  },\n  {\n    stock: \'C\',\n    day: <TrendLine data={[0.5, 0.3, 0.9, 1]} title="Trend over time" />,\n    week: <TrendLine data={[1, 0.7, 0.9, 0.3]} title="Trend over time" />,\n    month: <TrendLine data={[0.4, 0.6, 0.8, 0.4]} title="Trend over time" />,\n    year: <TrendLine data={[0.2, 0.5, 0.8, 1]} title="Trend over time" />,\n  },\n  {\n    stock: \'D\',\n    day: <TrendLine data={[0.8, 0.7, 0.5, 0.1]} title="Trend over time" />,\n    week: <TrendLine data={[0.2, 0.7, 0.9, 1]} title="Trend over time" />,\n    month: <TrendLine data={[1, 0.8, 0.8, 0.8]} title="Trend over time" />,\n    year: <TrendLine data={[1, 0.6, 0.9, 0.7]} title="Trend over time" />,\n  },\n];\n\nconst columns = [\n  { field: \'stock\', title: \'Stock\' },\n  { field: \'day\', title: \'Day\' },\n  { field: \'week\', title: \'Week\' },\n  { field: \'month\', title: \'Month\' },\n  { field: \'year\', title: \'Year\' },\n];\n\nexport const Default = () => (\n  <div style={containerStyle}>\n    <InfoCard title="Trends over time">\n      <Table\n        options={{\n          search: false,\n          paging: false,\n          toolbar: false,\n        }}\n        data={data}\n        columns={columns}\n      />\n    </InfoCard>\n  </div>\n);\n\nexport const TrendingMix = () => (\n  <div style={containerStyle}>\n    <TrendLine data={[0.1, 0.7, 0.5, 0.8]} title="Trend over time" />\n  </div>\n);\n\nexport const TrendingUp = () => (\n  <div style={containerStyle}>\n    <TrendLine data={[0.1, 0.5, 0.9, 1.0]} title="Trend over time" />\n  </div>\n);\n\nexport const TrendingDown = () => (\n  <div style={containerStyle}>\n    <TrendLine data={[0.8, 0.7, 0.5, 0.1]} title="Trend over time" />\n  </div>\n);\n',__ADDS_MAP__={"trendline--default":{startLoc:{col:23,line:68},endLoc:{col:1,line:82},startBody:{col:23,line:68},endBody:{col:1,line:82}},"trendline--trending-mix":{startLoc:{col:27,line:84},endLoc:{col:1,line:88},startBody:{col:27,line:84},endBody:{col:1,line:88}},"trendline--trending-up":{startLoc:{col:26,line:90},endLoc:{col:1,line:94},startBody:{col:26,line:90},endBody:{col:1,line:94}},"trendline--trending-down":{startLoc:{col:28,line:96},endLoc:{col:1,line:100},startBody:{col:28,line:96},endBody:{col:1,line:100}}},__MODULE_DEPENDENCIES__=[],__LOCAL_DEPENDENCIES__={},__IDS_TO_FRAMEWORKS__={};let _default;__webpack_exports__.default=_default={parameters:{storySource:{source:'/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from \'react\';\nimport TrendLine from \'.\';\nimport Table from \'../Table\';\nimport InfoCard from \'../../layout/InfoCard\';\n\nexport default {\n  title: \'TrendLine\',\n  component: TrendLine,\n};\n\nconst containerStyle = { width: 700 };\n\nconst data = [\n  {\n    stock: \'A\',\n    day: <TrendLine data={[0.1, 0.5, 0.7, 1]} title="Trend over time" />,\n    week: <TrendLine data={[1, 0.7, 0.9, 1]} title="Trend over time" />,\n    month: <TrendLine data={[0.1, 0.3, 0.6, 1]} title="Trend over time" />,\n    year: <TrendLine data={[0.8, 0.8, 0.8, 1]} title="Trend over time" />,\n  },\n  {\n    stock: \'B\',\n    day: <TrendLine data={[0.8, 0.7, 0.5, 0.1]} title="Trend over time" />,\n    week: <TrendLine data={[1, 0.9, 0.9, 1]} title="Trend over time" />,\n    month: <TrendLine data={[1, 0.8, 0.6, 0.4]} title="Trend over time" />,\n    year: <TrendLine data={[1, 1, 0.9, 0.8]} title="Trend over time" />,\n  },\n  {\n    stock: \'C\',\n    day: <TrendLine data={[0.5, 0.3, 0.9, 1]} title="Trend over time" />,\n    week: <TrendLine data={[1, 0.7, 0.9, 0.3]} title="Trend over time" />,\n    month: <TrendLine data={[0.4, 0.6, 0.8, 0.4]} title="Trend over time" />,\n    year: <TrendLine data={[0.2, 0.5, 0.8, 1]} title="Trend over time" />,\n  },\n  {\n    stock: \'D\',\n    day: <TrendLine data={[0.8, 0.7, 0.5, 0.1]} title="Trend over time" />,\n    week: <TrendLine data={[0.2, 0.7, 0.9, 1]} title="Trend over time" />,\n    month: <TrendLine data={[1, 0.8, 0.8, 0.8]} title="Trend over time" />,\n    year: <TrendLine data={[1, 0.6, 0.9, 0.7]} title="Trend over time" />,\n  },\n];\n\nconst columns = [\n  { field: \'stock\', title: \'Stock\' },\n  { field: \'day\', title: \'Day\' },\n  { field: \'week\', title: \'Week\' },\n  { field: \'month\', title: \'Month\' },\n  { field: \'year\', title: \'Year\' },\n];\n\nexport const Default = () => (\n  <div style={containerStyle}>\n    <InfoCard title="Trends over time">\n      <Table\n        options={{\n          search: false,\n          paging: false,\n          toolbar: false,\n        }}\n        data={data}\n        columns={columns}\n      />\n    </InfoCard>\n  </div>\n);\n\nexport const TrendingMix = () => (\n  <div style={containerStyle}>\n    <TrendLine data={[0.1, 0.7, 0.5, 0.8]} title="Trend over time" />\n  </div>\n);\n\nexport const TrendingUp = () => (\n  <div style={containerStyle}>\n    <TrendLine data={[0.1, 0.5, 0.9, 1.0]} title="Trend over time" />\n  </div>\n);\n\nexport const TrendingDown = () => (\n  <div style={containerStyle}>\n    <TrendLine data={[0.8, 0.7, 0.5, 0.1]} title="Trend over time" />\n  </div>\n);\n',locationsMap:{"trendline--default":{startLoc:{col:23,line:68},endLoc:{col:1,line:82},startBody:{col:23,line:68},endBody:{col:1,line:82}},"trendline--trending-mix":{startLoc:{col:27,line:84},endLoc:{col:1,line:88},startBody:{col:27,line:84},endBody:{col:1,line:88}},"trendline--trending-up":{startLoc:{col:26,line:90},endLoc:{col:1,line:94},startBody:{col:26,line:90},endBody:{col:1,line:94}},"trendline--trending-down":{startLoc:{col:28,line:96},endLoc:{col:1,line:100},startBody:{col:28,line:96},endBody:{col:1,line:100}}}}},title:"TrendLine",component:___WEBPACK_IMPORTED_MODULE_1__.a};const containerStyle={width:700},data=[{stock:"A",day:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{data:[.1,.5,.7,1],title:"Trend over time",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:54}}),week:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{data:[1,.7,.9,1],title:"Trend over time",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:55}}),month:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{data:[.1,.3,.6,1],title:"Trend over time",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:56}}),year:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{data:[.8,.8,.8,1],title:"Trend over time",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:57}})},{stock:"B",day:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{data:[.8,.7,.5,.1],title:"Trend over time",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:61}}),week:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{data:[1,.9,.9,1],title:"Trend over time",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:62}}),month:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{data:[1,.8,.6,.4],title:"Trend over time",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:63}}),year:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{data:[1,1,.9,.8],title:"Trend over time",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:64}})},{stock:"C",day:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{data:[.5,.3,.9,1],title:"Trend over time",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:68}}),week:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{data:[1,.7,.9,.3],title:"Trend over time",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:69}}),month:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{data:[.4,.6,.8,.4],title:"Trend over time",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:70}}),year:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{data:[.2,.5,.8,1],title:"Trend over time",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:71}})},{stock:"D",day:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{data:[.8,.7,.5,.1],title:"Trend over time",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:75}}),week:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{data:[.2,.7,.9,1],title:"Trend over time",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:76}}),month:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{data:[1,.8,.8,.8],title:"Trend over time",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:77}}),year:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{data:[1,.6,.9,.7],title:"Trend over time",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:78}})}],columns=[{field:"stock",title:"Stock"},{field:"day",title:"Day"},{field:"week",title:"Week"},{field:"month",title:"Month"},{field:"year",title:"Year"}],Default=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:containerStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:91}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_layout_InfoCard__WEBPACK_IMPORTED_MODULE_3__.a,{title:"Trends over time",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:92}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Table__WEBPACK_IMPORTED_MODULE_2__.b,{options:{search:!1,paging:!1,toolbar:!1},data:data,columns:columns,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:93}}))),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/TrendLine.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),TrendingMix=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:containerStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:107}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{data:[.1,.7,.5,.8],title:"Trend over time",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:108}})),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/TrendLine.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),TrendingUp=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:containerStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:113}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{data:[.1,.5,.9,1],title:"Trend over time",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:114}})),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/TrendLine.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),TrendingDown=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:containerStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:119}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{data:[.8,.7,.5,.1],title:"Trend over time",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:120}})),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/TrendLine.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__});var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(withSourceLoader,"withSourceLoader","/home/runner/work/backstage/backstage/packages/core/src/components/TrendLine/TrendLine.stories.tsx"),reactHotLoader.register(addSourceDecorator,"addSourceDecorator","/home/runner/work/backstage/backstage/packages/core/src/components/TrendLine/TrendLine.stories.tsx"),reactHotLoader.register(__SOURCE_PREFIX__,"__SOURCE_PREFIX__","/home/runner/work/backstage/backstage/packages/core/src/components/TrendLine/TrendLine.stories.tsx"),reactHotLoader.register(__STORY__,"__STORY__","/home/runner/work/backstage/backstage/packages/core/src/components/TrendLine/TrendLine.stories.tsx"),reactHotLoader.register(__ADDS_MAP__,"__ADDS_MAP__","/home/runner/work/backstage/backstage/packages/core/src/components/TrendLine/TrendLine.stories.tsx"),reactHotLoader.register("/TrendLine.stories.tsx","__MAIN_FILE_LOCATION__","/home/runner/work/backstage/backstage/packages/core/src/components/TrendLine/TrendLine.stories.tsx"),reactHotLoader.register(__MODULE_DEPENDENCIES__,"__MODULE_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/components/TrendLine/TrendLine.stories.tsx"),reactHotLoader.register(__LOCAL_DEPENDENCIES__,"__LOCAL_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/components/TrendLine/TrendLine.stories.tsx"),reactHotLoader.register(__IDS_TO_FRAMEWORKS__,"__IDS_TO_FRAMEWORKS__","/home/runner/work/backstage/backstage/packages/core/src/components/TrendLine/TrendLine.stories.tsx"),reactHotLoader.register(containerStyle,"containerStyle","/home/runner/work/backstage/backstage/packages/core/src/components/TrendLine/TrendLine.stories.tsx"),reactHotLoader.register(data,"data","/home/runner/work/backstage/backstage/packages/core/src/components/TrendLine/TrendLine.stories.tsx"),reactHotLoader.register(columns,"columns","/home/runner/work/backstage/backstage/packages/core/src/components/TrendLine/TrendLine.stories.tsx"),reactHotLoader.register(Default,"Default","/home/runner/work/backstage/backstage/packages/core/src/components/TrendLine/TrendLine.stories.tsx"),reactHotLoader.register(TrendingMix,"TrendingMix","/home/runner/work/backstage/backstage/packages/core/src/components/TrendLine/TrendLine.stories.tsx"),reactHotLoader.register(TrendingUp,"TrendingUp","/home/runner/work/backstage/backstage/packages/core/src/components/TrendLine/TrendLine.stories.tsx"),reactHotLoader.register(TrendingDown,"TrendingDown","/home/runner/work/backstage/backstage/packages/core/src/components/TrendLine/TrendLine.stories.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/TrendLine/TrendLine.stories.tsx"),leaveModule(module))}.call(this,__webpack_require__(7)(module))},1800:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){__webpack_require__.d(__webpack_exports__,"Default",(function(){return Default})),__webpack_require__.d(__webpack_exports__,"Children",(function(){return Children}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),___WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(251),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(142),_material_ui_core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(156);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/WarningPanel/WarningPanel.stories.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);var withSourceLoader=__webpack_require__(25).withSource,addSourceDecorator=__webpack_require__(25).addSource,__SOURCE_PREFIX__="/home/runner/work/backstage/backstage/packages/core/src/components/WarningPanel",__STORY__='/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from \'react\';\nimport WarningPanel from \'.\';\nimport { Link, Button } from \'@material-ui/core\';\n\nexport default {\n  title: \'Warning Panel\',\n  component: WarningPanel,\n};\n\nexport const Default = () => (\n  <WarningPanel\n    title="Example Warning Title"\n    message={\n      <>\n        This example entity is missing something. If this is unexpected, please\n        make sure you have set up everything correctly by following{\' \'}\n        <Link href="http://example.com">this guide</Link>.\n      </>\n    }\n  />\n);\n\nexport const Children = () => (\n  <WarningPanel title="Example Warning Title">\n    <Button variant="outlined" color="primary">\n      Supports custom children - for example this button\n    </Button>\n  </WarningPanel>\n);\n',__ADDS_MAP__={"warning-panel--default":{startLoc:{col:23,line:26},endLoc:{col:1,line:37},startBody:{col:23,line:26},endBody:{col:1,line:37}},"warning-panel--children":{startLoc:{col:24,line:39},endLoc:{col:1,line:45},startBody:{col:24,line:39},endBody:{col:1,line:45}}},__MODULE_DEPENDENCIES__=[],__LOCAL_DEPENDENCIES__={},__IDS_TO_FRAMEWORKS__={};let _default;__webpack_exports__.default=_default={parameters:{storySource:{source:'/*\n * Copyright 2020 Spotify AB\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from \'react\';\nimport WarningPanel from \'.\';\nimport { Link, Button } from \'@material-ui/core\';\n\nexport default {\n  title: \'Warning Panel\',\n  component: WarningPanel,\n};\n\nexport const Default = () => (\n  <WarningPanel\n    title="Example Warning Title"\n    message={\n      <>\n        This example entity is missing something. If this is unexpected, please\n        make sure you have set up everything correctly by following{\' \'}\n        <Link href="http://example.com">this guide</Link>.\n      </>\n    }\n  />\n);\n\nexport const Children = () => (\n  <WarningPanel title="Example Warning Title">\n    <Button variant="outlined" color="primary">\n      Supports custom children - for example this button\n    </Button>\n  </WarningPanel>\n);\n',locationsMap:{"warning-panel--default":{startLoc:{col:23,line:26},endLoc:{col:1,line:37},startBody:{col:23,line:26},endBody:{col:1,line:37}},"warning-panel--children":{startLoc:{col:24,line:39},endLoc:{col:1,line:45},startBody:{col:24,line:39},endBody:{col:1,line:45}}}}},title:"Warning Panel",component:___WEBPACK_IMPORTED_MODULE_1__.a};const Default=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{title:"Example Warning Title",message:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0___default.a.Fragment,null,"This example entity is missing something. If this is unexpected, please make sure you have set up everything correctly by following"," ",react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{href:"http://example.com",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:55}},"this guide"),"."),__self:void 0,__source:{fileName:_jsxFileName,lineNumber:49}}),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/WarningPanel.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__}),Children=addSourceDecorator(()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{title:"Example Warning Title",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:62}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_3__.a,{variant:"outlined",color:"primary",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:63}},"Supports custom children - for example this button")),{__STORY__:__STORY__,__ADDS_MAP__:__ADDS_MAP__,__MAIN_FILE_LOCATION__:"/WarningPanel.stories.tsx",__MODULE_DEPENDENCIES__:__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__:__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__:__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__:__IDS_TO_FRAMEWORKS__});var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(withSourceLoader,"withSourceLoader","/home/runner/work/backstage/backstage/packages/core/src/components/WarningPanel/WarningPanel.stories.tsx"),reactHotLoader.register(addSourceDecorator,"addSourceDecorator","/home/runner/work/backstage/backstage/packages/core/src/components/WarningPanel/WarningPanel.stories.tsx"),reactHotLoader.register(__SOURCE_PREFIX__,"__SOURCE_PREFIX__","/home/runner/work/backstage/backstage/packages/core/src/components/WarningPanel/WarningPanel.stories.tsx"),reactHotLoader.register(__STORY__,"__STORY__","/home/runner/work/backstage/backstage/packages/core/src/components/WarningPanel/WarningPanel.stories.tsx"),reactHotLoader.register(__ADDS_MAP__,"__ADDS_MAP__","/home/runner/work/backstage/backstage/packages/core/src/components/WarningPanel/WarningPanel.stories.tsx"),reactHotLoader.register("/WarningPanel.stories.tsx","__MAIN_FILE_LOCATION__","/home/runner/work/backstage/backstage/packages/core/src/components/WarningPanel/WarningPanel.stories.tsx"),reactHotLoader.register(__MODULE_DEPENDENCIES__,"__MODULE_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/components/WarningPanel/WarningPanel.stories.tsx"),reactHotLoader.register(__LOCAL_DEPENDENCIES__,"__LOCAL_DEPENDENCIES__","/home/runner/work/backstage/backstage/packages/core/src/components/WarningPanel/WarningPanel.stories.tsx"),reactHotLoader.register(__IDS_TO_FRAMEWORKS__,"__IDS_TO_FRAMEWORKS__","/home/runner/work/backstage/backstage/packages/core/src/components/WarningPanel/WarningPanel.stories.tsx"),reactHotLoader.register(Default,"Default","/home/runner/work/backstage/backstage/packages/core/src/components/WarningPanel/WarningPanel.stories.tsx"),reactHotLoader.register(Children,"Children","/home/runner/work/backstage/backstage/packages/core/src/components/WarningPanel/WarningPanel.stories.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/WarningPanel/WarningPanel.stories.tsx"),leaveModule(module))}.call(this,__webpack_require__(7)(module))},183:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),classnames__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(44),classnames__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(23),_material_ui_core_Snackbar__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(953),_material_ui_core_SnackbarContent__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(955),_material_ui_core_IconButton__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(185),_material_ui_icons_Close__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(248),_material_ui_icons_Close__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(_material_ui_icons_Close__WEBPACK_IMPORTED_MODULE_6__);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/DismissableBanner/DismissableBanner.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a)(theme=>({root:{position:"relative",padding:theme.spacing(0),marginBottom:theme.spacing(6),marginTop:-theme.spacing(3),display:"flex",flexFlow:"row nowrap"},icon:{fontSize:20},content:{width:"100%",maxWidth:"inherit"},message:{display:"flex",alignItems:"center"},info:{backgroundColor:theme.palette.primary.main},error:{backgroundColor:theme.palette.error.dark}})),DismissableBanner=({variant:variant,message:message})=>{const[show,setShown]=Object(react__WEBPACK_IMPORTED_MODULE_0__.useState)(!0),classes=useStyles();return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core_Snackbar__WEBPACK_IMPORTED_MODULE_3__.a,{anchorOrigin:{vertical:"top",horizontal:"center"},open:show,classes:{root:classes.root},__self:void 0,__source:{fileName:_jsxFileName,lineNumber:70}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core_SnackbarContent__WEBPACK_IMPORTED_MODULE_4__.a,{classes:{root:classnames__WEBPACK_IMPORTED_MODULE_1___default()(classes.content,classes[variant]),message:classes.message},message:message,action:[react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core_IconButton__WEBPACK_IMPORTED_MODULE_5__.a,{key:"dismiss",title:"Permanently dismiss this message",color:"inherit",onClick:()=>{setShown(!1)},__self:void 0,__source:{fileName:_jsxFileName,lineNumber:82}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_icons_Close__WEBPACK_IMPORTED_MODULE_6___default.a,{className:classes.icon,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:88}}))],__self:void 0,__source:{fileName:_jsxFileName,lineNumber:75}}))};let _default;var reactHotLoader,leaveModule;__webpack_exports__.a=_default=DismissableBanner,reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(useStyles,"useStyles","/home/runner/work/backstage/backstage/packages/core/src/components/DismissableBanner/DismissableBanner.tsx"),reactHotLoader.register(DismissableBanner,"DismissableBanner","/home/runner/work/backstage/backstage/packages/core/src/components/DismissableBanner/DismissableBanner.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/DismissableBanner/DismissableBanner.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},184:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"a",(function(){return Lifecycle}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_material_ui_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(23);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/Lifecycle/Lifecycle.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a)({alpha:{color:"#d00150",fontFamily:"serif",fontWeight:"normal",fontStyle:"italic"},beta:{color:"#4d65cc",fontFamily:"serif",fontWeight:"normal",fontStyle:"italic"}}),Lifecycle=props=>{const classes=useStyles(props),{shorthand:shorthand,alpha:alpha}=props;return shorthand?react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span",{className:classes[alpha?"alpha":"beta"],style:{fontSize:"120%"},__self:void 0,__source:{fileName:_jsxFileName,lineNumber:45}},alpha?react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0___default.a.Fragment,null,"α"):react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0___default.a.Fragment,null,"β")):react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span",{className:classes[alpha?"alpha":"beta"],__self:void 0,__source:{fileName:_jsxFileName,lineNumber:52}},alpha?"Alpha":"Beta")};var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(useStyles,"useStyles","/home/runner/work/backstage/backstage/packages/core/src/components/Lifecycle/Lifecycle.tsx"),reactHotLoader.register(Lifecycle,"Lifecycle","/home/runner/work/backstage/backstage/packages/core/src/components/Lifecycle/Lifecycle.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},207:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_material_ui_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(22),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(310),rc_progress__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(426),_CircleProgress__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(240);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/HorizontalProgress.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const HorizontalProgress=({value:value})=>{if(isNaN(value))return null;let percent=Math.round(100*value*100)/100;percent>100&&(percent=100);const theme=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a)(),strokeColor=Object(_CircleProgress__WEBPACK_IMPORTED_MODULE_4__.b)(theme.palette,percent,!1,100);return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{title:`${percent}%`,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:42}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rc_progress__WEBPACK_IMPORTED_MODULE_3__.b,{percent:percent,strokeWidth:4,trailWidth:4,strokeColor:strokeColor,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:43}}))};let _default;var reactHotLoader,leaveModule;__webpack_exports__.a=_default=HorizontalProgress,reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(HorizontalProgress,"HorizontalProgress","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/HorizontalProgress.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/HorizontalProgress.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},208:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule,_CopyTextButton__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(842);__webpack_require__.d(__webpack_exports__,"a",(function(){return _CopyTextButton__WEBPACK_IMPORTED_MODULE_0__.a})),(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},213:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"c",(function(){return MetadataTable})),__webpack_require__.d(__webpack_exports__,"d",(function(){return MetadataTableItem})),__webpack_require__.d(__webpack_exports__,"a",(function(){return MetadataList})),__webpack_require__.d(__webpack_exports__,"b",(function(){return MetadataListItem}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_material_ui_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(212),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6),_material_ui_core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(418),_material_ui_core__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(555),_material_ui_core__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(553),_material_ui_core__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(554);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/MetadataTable.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const tableTitleCellStyles=theme=>Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a)({root:{fontWeight:"bolder",whiteSpace:"nowrap",paddingRight:theme.spacing(4),border:"0",verticalAlign:"top"}}),tableContentCellStyles={root:{border:"0",verticalAlign:"top"}},listStyles=theme=>Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a)({root:{listStyle:"none",margin:theme.spacing(0,0,-1,0),padding:"0"}}),listItemStyles=theme=>Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a)({root:{padding:theme.spacing(0,0,1,0)},random:{}}),TitleCell=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a)(tableTitleCellStyles)(_material_ui_core__WEBPACK_IMPORTED_MODULE_3__.a),ContentCell=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a)(tableContentCellStyles)(_material_ui_core__WEBPACK_IMPORTED_MODULE_3__.a),MetadataTable=({dense:dense,children:children})=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_4__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:73}},!dense&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("colgroup",{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:75}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("col",{style:{width:"auto"},__self:void 0,__source:{fileName:_jsxFileName,lineNumber:76}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("col",{style:{width:"100%"},__self:void 0,__source:{fileName:_jsxFileName,lineNumber:77}})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_5__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:80}},children)),MetadataTableItem=({title:title,children:children,...rest})=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_6__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:92}},title&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(TitleCell,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:93}},title),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(ContentCell,{colSpan:title?1:2,...rest,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:94}},children)),MetadataList=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a)(listStyles)(({classes:classes,children:children})=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("ul",{className:classes.root,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:107}},children)),MetadataListItem=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a)(listItemStyles)(({classes:classes,children:children})=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("li",{className:classes.root,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:113}},children));var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(tableTitleCellStyles,"tableTitleCellStyles","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/MetadataTable.tsx"),reactHotLoader.register(tableContentCellStyles,"tableContentCellStyles","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/MetadataTable.tsx"),reactHotLoader.register(listStyles,"listStyles","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/MetadataTable.tsx"),reactHotLoader.register(listItemStyles,"listItemStyles","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/MetadataTable.tsx"),reactHotLoader.register(TitleCell,"TitleCell","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/MetadataTable.tsx"),reactHotLoader.register(ContentCell,"ContentCell","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/MetadataTable.tsx"),reactHotLoader.register(MetadataTable,"MetadataTable","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/MetadataTable.tsx"),reactHotLoader.register(MetadataTableItem,"MetadataTableItem","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/MetadataTable.tsx"),reactHotLoader.register(MetadataList,"MetadataList","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/MetadataTable.tsx"),reactHotLoader.register(MetadataListItem,"MetadataListItem","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/MetadataTable.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},237:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__(785);var _AlertApi__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(786);__webpack_require__.d(__webpack_exports__,"b",(function(){return _AlertApi__WEBPACK_IMPORTED_MODULE_1__.a}));var _AppThemeApi__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(787);__webpack_require__.d(__webpack_exports__,"c",(function(){return _AppThemeApi__WEBPACK_IMPORTED_MODULE_2__.a}));var _ErrorApi__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(788);__webpack_require__.d(__webpack_exports__,"d",(function(){return _ErrorApi__WEBPACK_IMPORTED_MODULE_3__.a}));var _FeatureFlagsApi__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(789);__webpack_require__.d(__webpack_exports__,"a",(function(){return _FeatureFlagsApi__WEBPACK_IMPORTED_MODULE_4__.a})),__webpack_require__.d(__webpack_exports__,"e",(function(){return _FeatureFlagsApi__WEBPACK_IMPORTED_MODULE_4__.b}));var enterModule,reactHotLoader,leaveModule,_OAuthRequestApi__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(790);__webpack_require__.d(__webpack_exports__,"f",(function(){return _OAuthRequestApi__WEBPACK_IMPORTED_MODULE_5__.a})),(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},238:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"a",(function(){return AppContextProvider})),__webpack_require__.d(__webpack_exports__,"b",(function(){return useApp}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const Context=Object(react__WEBPACK_IMPORTED_MODULE_0__.createContext)(void 0),AppContextProvider=({app:app,children:children})=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(Context.Provider,{value:app,children:children,__self:void 0,__source:{fileName:"/home/runner/work/backstage/backstage/packages/core-api/src/app/AppContext.tsx",lineNumber:27}}),useApp=()=>{const app=Object(react__WEBPACK_IMPORTED_MODULE_0__.useContext)(Context);if(!app)throw new Error("No app context available");return app};var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(Context,"Context","/home/runner/work/backstage/backstage/packages/core-api/src/app/AppContext.tsx"),reactHotLoader.register(AppContextProvider,"AppContextProvider","/home/runner/work/backstage/backstage/packages/core-api/src/app/AppContext.tsx"),reactHotLoader.register(useApp,"useApp","/home/runner/work/backstage/backstage/packages/core-api/src/app/AppContext.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},239:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule;__webpack_require__.d(__webpack_exports__,"a",(function(){return pageTheme})),(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const gradients={blue:{colors:["#2D46B9","#509BF5"]},darkBlue:{colors:["#1E3264","#A0C3D2"]},brown:{colors:["#674638","#C39887"]},green:{colors:["#1DB954","#006350"]},orangeYellow:{colors:["#FF6437","#FFC864"]},redOrange:{colors:["#A72525","#E6542D"]},pinkOrange:{colors:["#F13DA2","#FF8A48"]},purpleBlue:{colors:["#2D00AA","#C769B5"]},tealGreen:{colors:["#19E68C","#1D7F6E"]},violetPeach:{colors:["#B39AC8","#FCCBD3"]},violetGreen:{colors:["#4302F4","#C3EFC8"]},purple:{colors:["#a186bd","#7c5c92"]},eveningSea:{colors:["#00FFF2","#035355"]},royalBlue:{colors:["#000044","#4B80D4"]},grey:{colors:["#111111","#777777"]},sunset:{colors:["#cf8022","#4e6ec7"]},sky:{colors:["#69B9FF","#ACCEEC"]},teal:{colors:["#005E4D","#9BF0E1"]}},pageTheme={home:{gradient:gradients.teal},documentation:{gradient:gradients.eveningSea},tool:{gradient:gradients.purpleBlue},service:{gradient:gradients.green},website:{gradient:gradients.purple},library:{gradient:gradients.sunset},other:{gradient:gradients.brown},app:{gradient:gradients.redOrange}};var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(gradients,"gradients","/home/runner/work/backstage/backstage/packages/core/src/layout/Page/PageThemeProvider.ts"),reactHotLoader.register(pageTheme,"pageTheme","/home/runner/work/backstage/backstage/packages/core/src/layout/Page/PageThemeProvider.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},240:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"b",(function(){return getProgressColor}));var _material_ui_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(23),_material_ui_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(22),rc_progress__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(426),react__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/CircleProgress.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_0__.a)(theme=>({root:{position:"relative",lineHeight:0},overlay:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -60%)",fontSize:45,fontWeight:"bold",color:theme.palette.textContrast},circle:{width:"80%",transform:"translate(10%, 0)"},colorUnknown:{}})),defaultProps={fractional:!0,inverse:!1,unit:"%",max:100};function getProgressColor(palette,value,inverse,max){if(isNaN(value))return"#ddd";const actualMax=max||defaultProps.max,actualValue=inverse?actualMax-value:value;return actualValue<actualMax/3?palette.status.error:actualValue<actualMax*(2/3)?palette.status.warning:palette.status.ok}const CircleProgress=props=>{const classes=useStyles(props),theme=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a)(),{value:value,fractional:fractional,inverse:inverse,unit:unit,max:max}={...defaultProps,...props},asPercentage=fractional?Math.round(value*max):value,asActual=100!==max?Math.round(value):asPercentage;return react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("div",{className:classes.root,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:92}},react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(rc_progress__WEBPACK_IMPORTED_MODULE_2__.a,{strokeLinecap:"butt",percent:asPercentage,strokeWidth:12,trailWidth:12,strokeColor:getProgressColor(theme.palette,asActual,inverse,max),className:classes.circle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:93}}),react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("div",{className:classes.overlay,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:101}},isNaN(value)?"N/A":`${asActual}${unit}`))};let _default;var reactHotLoader,leaveModule;__webpack_exports__.a=_default=CircleProgress,reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(useStyles,"useStyles","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/CircleProgress.tsx"),reactHotLoader.register(defaultProps,"defaultProps","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/CircleProgress.tsx"),reactHotLoader.register(getProgressColor,"getProgressColor","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/CircleProgress.tsx"),reactHotLoader.register(CircleProgress,"CircleProgress","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/CircleProgress.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/ProgressBars/CircleProgress.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},251:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule,_WarningPanel__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(880);__webpack_require__.d(__webpack_exports__,"a",(function(){return _WarningPanel__WEBPACK_IMPORTED_MODULE_0__.a})),(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},252:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var _themes__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(730);__webpack_require__.d(__webpack_exports__,"darkTheme",(function(){return _themes__WEBPACK_IMPORTED_MODULE_0__.a})),__webpack_require__.d(__webpack_exports__,"lightTheme",(function(){return _themes__WEBPACK_IMPORTED_MODULE_0__.b}));var enterModule,reactHotLoader,leaveModule;__webpack_require__(300),__webpack_require__(731);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},300:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"a",(function(){return createTheme}));var enterModule,_material_ui_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(307),_material_ui_core_styles_colorManipulator__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(235);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const DEFAULT_FONT_FAMILY='"Helvetica Neue", Helvetica, Roboto, Arial, sans-serif';function createThemeOptions(options){const{palette:palette,fontFamily:fontFamily=DEFAULT_FONT_FAMILY}=options;return{palette:palette,props:{MuiGrid:{spacing:2},MuiSwitch:{color:"primary"}},typography:{fontFamily:fontFamily,h5:{fontWeight:700},h4:{fontWeight:700,fontSize:28,marginBottom:6},h3:{fontSize:32,fontWeight:700,marginBottom:6},h2:{fontSize:40,fontWeight:700,marginBottom:8},h1:{fontSize:54,fontWeight:700,marginBottom:10}}}}function createThemeOverrides(theme){return{MuiCssBaseline:{"@global":{html:{height:"100%",fontFamily:theme.typography.fontFamily},body:{height:"100%",fontFamily:theme.typography.fontFamily,"overscroll-behavior-y":"none"},a:{color:"inherit",textDecoration:"none"}}},MuiTableRow:{root:{"&:nth-of-type(odd)":{backgroundColor:theme.palette.background.default}},hover:{"&:hover":{cursor:"pointer"}},head:{"&:nth-of-type(odd)":{backgroundColor:theme.palette.background.paper}}},MuiTableCell:{root:{wordBreak:"break-word",overflow:"hidden",verticalAlign:"middle",lineHeight:"1",margin:0,padding:"8px",borderBottom:0},head:{wordBreak:"break-word",overflow:"hidden",color:"rgb(179, 179, 179)",fontWeight:"normal",lineHeight:"1"}},MuiTabs:{root:{minHeight:24}},MuiTab:{root:{color:theme.palette.link,minHeight:24,textTransform:"initial","&:hover":{color:Object(_material_ui_core_styles_colorManipulator__WEBPACK_IMPORTED_MODULE_1__.darken)(theme.palette.link,.3),background:Object(_material_ui_core_styles_colorManipulator__WEBPACK_IMPORTED_MODULE_1__.lighten)(theme.palette.link,.95)},[theme.breakpoints.up("md")]:{minWidth:120,fontSize:theme.typography.pxToRem(14),fontWeight:500}},textColorPrimary:{color:theme.palette.link}},MuiTableSortLabel:{root:{color:"inherit","&:hover":{color:"inherit"},"&:focus":{color:"inherit"}},active:{fontWeight:"bold",color:"inherit"}},MuiListItemText:{dense:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}},MuiButton:{text:{padding:void 0}},MuiChip:{root:{marginRight:theme.spacing(1),marginBottom:theme.spacing(1)}},MuiCardHeader:{root:{paddingBottom:0}},MuiCardActions:{root:{justifyContent:"flex-end"}}}}function createTheme(options){const themeOptions=createThemeOptions(options),baseTheme=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_0__.a)(themeOptions),overrides=createThemeOverrides(baseTheme);return{...baseTheme,overrides:overrides}}var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(DEFAULT_FONT_FAMILY,"DEFAULT_FONT_FAMILY","/home/runner/work/backstage/backstage/packages/theme/src/baseTheme.ts"),reactHotLoader.register(createThemeOptions,"createThemeOptions","/home/runner/work/backstage/backstage/packages/theme/src/baseTheme.ts"),reactHotLoader.register(createThemeOverrides,"createThemeOverrides","/home/runner/work/backstage/backstage/packages/theme/src/baseTheme.ts"),reactHotLoader.register(createTheme,"createTheme","/home/runner/work/backstage/backstage/packages/theme/src/baseTheme.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},301:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"a",(function(){return validateBrowserCompat})),__webpack_require__.d(__webpack_exports__,"b",(function(){return validateFlagName}));var _apis_definitions__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(237),enterModule,reactHotLoader,leaveModule;function validateBrowserCompat(){if(!("localStorage"in window))throw new Error("Feature Flags are not supported on browsers without the Local Storage API")}function validateFlagName(name){if(name.length<3)throw new Error(`The '${name}' feature flag must have a minimum length of three characters.`);if(name.length>150)throw new Error(`The '${name}' feature flag must not exceed 150 characters.`);if(!name.match(/^[a-z]+[a-z0-9-]+$/))throw new Error(`The '${name}' feature flag must start with a lowercase letter and only contain lowercase letters, numbers and hyphens. `+"Examples: feature-flag-one, alpha, release-2020")}enterModule=__webpack_require__(2).enterModule,enterModule&&enterModule(module);class UserFlags extends Map{__reactstandin__regenerateByEval(key,code){this[key]=eval(code)}static load(){validateBrowserCompat();try{const jsonString=window.localStorage.getItem("featureFlags"),json=JSON.parse(jsonString);return new this(Object.entries(json))}catch(err){return new this([])}}get(name){return super.get(name)||_apis_definitions__WEBPACK_IMPORTED_MODULE_0__.a.Off}set(name,state){validateFlagName(name);const output=super.set(name,state);return this.save(),output}delete(name){const output=super.delete(name);return this.save(),output}clear(){super.clear(),this.save()}save(){window.localStorage.setItem("featureFlags",JSON.stringify(this.toObject()))}toObject(){return Array.from(this.entries()).reduce((obj,[key,value])=>({...obj,[key]:value}),{})}toJSON(){return JSON.stringify(this.toObject())}toString(){return this.toJSON()}}class FeatureFlagsRegistry extends Array{__reactstandin__regenerateByEval(key,code){this[key]=eval(code)}static from(entries){return Array.from(entries).forEach(entry=>validateFlagName(entry.name)),new FeatureFlagsRegistry(...entries)}push(...entries){return Array.from(entries).forEach(entry=>validateFlagName(entry.name)),super.push(...entries)}concat(...entries){const _concat=super.concat(...entries);return Array.from(_concat).forEach(entry=>validateFlagName(entry.name)),_concat}toObject(){return[...this.values()]}toJSON(){return JSON.stringify(this.toObject())}toString(){return this.toJSON()}}class FeatureFlags{__reactstandin__regenerateByEval(key,code){this[key]=eval(code)}constructor(){FeatureFlags.prototype.__init.call(this)}__init(){this.registeredFeatureFlags=[]}getFlags(){return this.userFlags||(this.userFlags=UserFlags.load()),this.userFlags}getRegisteredFlags(){return FeatureFlagsRegistry.from(this.registeredFeatureFlags)}}reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(validateBrowserCompat,"validateBrowserCompat","/home/runner/work/backstage/backstage/packages/core-api/src/app/FeatureFlags.tsx"),reactHotLoader.register(validateFlagName,"validateFlagName","/home/runner/work/backstage/backstage/packages/core-api/src/app/FeatureFlags.tsx"),reactHotLoader.register(UserFlags,"UserFlags","/home/runner/work/backstage/backstage/packages/core-api/src/app/FeatureFlags.tsx"),reactHotLoader.register(FeatureFlagsRegistry,"FeatureFlagsRegistry","/home/runner/work/backstage/backstage/packages/core-api/src/app/FeatureFlags.tsx"),reactHotLoader.register(FeatureFlags,"FeatureFlags","/home/runner/work/backstage/backstage/packages/core-api/src/app/FeatureFlags.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},304:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),classnames__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(44),classnames__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__),_material_ui_icons_ChevronLeft__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(417),_material_ui_icons_ChevronLeft__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(_material_ui_icons_ChevronLeft__WEBPACK_IMPORTED_MODULE_2__),_material_ui_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(313),_material_ui_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(_material_ui_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_3__),_material_ui_core__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(23),_material_ui_core__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(46),_material_ui_core__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(185);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/HorizontalScrollGrid/HorizontalScrollGrid.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const generateGradientStops=themeType=>{const luminance="dark"===themeType?"16%":"97%";return`\n    hsl(0, 0%, ${luminance}) 0%,\n    hsla(0, 0%, ${luminance}, 0.987) 8.1%,\n    hsla(0, 0%, ${luminance}, 0.951) 15.5%,\n    hsla(0, 0%, ${luminance}, 0.896) 22.5%,\n    hsla(0, 0%, ${luminance}, 0.825) 29%,\n    hsla(0, 0%, ${luminance}, 0.741) 35.3%,\n    hsla(0, 0%, ${luminance}, 0.648) 41.2%,\n    hsla(0, 0%, ${luminance}, 0.55) 47.1%,\n    hsla(0, 0%, ${luminance}, 0.45) 52.9%,\n    hsla(0, 0%, ${luminance}, 0.352) 58.8%,\n    hsla(0, 0%, ${luminance}, 0.259) 64.7%,\n    hsla(0, 0%, ${luminance}, 0.175) 71%,\n    hsla(0, 0%, ${luminance}, 0.104) 77.5%,\n    hsla(0, 0%, ${luminance}, 0.049) 84.5%,\n    hsla(0, 0%, ${luminance}, 0.013) 91.9%,\n    hsla(0, 0%, ${luminance}, 0) 100%\n  `},useStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_4__.a)(theme=>({root:{position:"relative",display:"flex",flexFlow:"row nowrap",alignItems:"center"},container:{overflow:"auto",scrollbarWidth:0,"&::-webkit-scrollbar":{display:"none"}},fade:{position:"absolute",width:100,height:"calc(100% + 10px)",transition:"opacity 300ms",pointerEvents:"none"},fadeLeft:{left:-10,background:`linear-gradient(90deg, ${generateGradientStops(theme.palette.type)})`},fadeRight:{right:-10,background:`linear-gradient(270deg, ${generateGradientStops(theme.palette.type)})`},fadeHidden:{opacity:0},button:{position:"absolute"},buttonLeft:{left:-theme.spacing(2)},buttonRight:{right:-theme.spacing(2)}}));function useScrollDistance(ref){const[[scrollLeft,scrollRight],setScroll]=react__WEBPACK_IMPORTED_MODULE_0___default.a.useState([0,0]);return react__WEBPACK_IMPORTED_MODULE_0___default.a.useLayoutEffect(()=>{const el=ref.current;if(!el)return void setScroll([0,0]);const handleUpdate=()=>{const left=el.scrollLeft,right=el.scrollWidth-el.offsetWidth-el.scrollLeft;setScroll([left,right])};return handleUpdate(),el.addEventListener("scroll",handleUpdate),window.addEventListener("resize",handleUpdate),()=>{el.removeEventListener("scroll",handleUpdate),window.removeEventListener("resize",handleUpdate)}},[ref]),[scrollLeft,scrollRight]}function useSmoothScroll(ref,speed,minDistance){const[scrollTarget,setScrollTarget]=react__WEBPACK_IMPORTED_MODULE_0___default.a.useState(0);return react__WEBPACK_IMPORTED_MODULE_0___default.a.useLayoutEffect(()=>{if(0===scrollTarget)return;const startTime=performance.now(),id=requestAnimationFrame(frameTime=>{if(!ref.current)return;const frameDuration=frameTime-startTime,scrollDistance=Math.abs(scrollTarget)*frameDuration/speed,scrollAmount=Math.max(minDistance,scrollDistance)*Math.sign(scrollTarget);ref.current.scrollBy({left:scrollAmount});const newScrollTarget=scrollTarget-scrollAmount;Math.sign(scrollTarget)!==Math.sign(newScrollTarget)?setScrollTarget(0):setScrollTarget(newScrollTarget)});return()=>cancelAnimationFrame(id)},[ref,scrollTarget,speed,minDistance]),setScrollTarget}const HorizontalScrollGrid=props=>{const{scrollStep:scrollStep=100,scrollSpeed:scrollSpeed=50,minScrollDistance:minScrollDistance=5,children:children,...otherProps}=props,classes=useStyles(props),ref=react__WEBPACK_IMPORTED_MODULE_0___default.a.useRef(),[scrollLeft,scrollRight]=useScrollDistance(ref),setScrollTarget=useSmoothScroll(ref,scrollSpeed,minScrollDistance),handleScrollClick=forwards=>{ref.current&&setScrollTarget(forwards?scrollStep:-scrollStep)};return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{...otherProps,className:classes.root,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:207}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_5__.a,{container:!0,direction:"row",wrap:"nowrap",className:classes.container,ref:ref,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:208}},children),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{className:classnames__WEBPACK_IMPORTED_MODULE_1___default()(classes.fade,classes.fadeLeft,{[classes.fadeHidden]:0===scrollLeft}),__self:void 0,__source:{fileName:_jsxFileName,lineNumber:217}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{className:classnames__WEBPACK_IMPORTED_MODULE_1___default()(classes.fade,classes.fadeRight,{[classes.fadeHidden]:0===scrollRight}),__self:void 0,__source:{fileName:_jsxFileName,lineNumber:222}}),scrollLeft>0&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_6__.a,{title:"Scroll Left",onClick:()=>handleScrollClick(!1),className:classnames__WEBPACK_IMPORTED_MODULE_1___default()(classes.button,classes.buttonLeft,{}),__self:void 0,__source:{fileName:_jsxFileName,lineNumber:228}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_icons_ChevronLeft__WEBPACK_IMPORTED_MODULE_2___default.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:233}})),scrollRight>0&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_6__.a,{title:"Scroll Right",onClick:()=>handleScrollClick(!0),className:classnames__WEBPACK_IMPORTED_MODULE_1___default()(classes.button,classes.buttonRight,{}),__self:void 0,__source:{fileName:_jsxFileName,lineNumber:237}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_3___default.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:242}})))};let _default;var reactHotLoader,leaveModule;__webpack_exports__.a=_default=HorizontalScrollGrid,reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(generateGradientStops,"generateGradientStops","/home/runner/work/backstage/backstage/packages/core/src/components/HorizontalScrollGrid/HorizontalScrollGrid.tsx"),reactHotLoader.register(100,"fadeSize","/home/runner/work/backstage/backstage/packages/core/src/components/HorizontalScrollGrid/HorizontalScrollGrid.tsx"),reactHotLoader.register(10,"fadePadding","/home/runner/work/backstage/backstage/packages/core/src/components/HorizontalScrollGrid/HorizontalScrollGrid.tsx"),reactHotLoader.register(useStyles,"useStyles","/home/runner/work/backstage/backstage/packages/core/src/components/HorizontalScrollGrid/HorizontalScrollGrid.tsx"),reactHotLoader.register(useScrollDistance,"useScrollDistance","/home/runner/work/backstage/backstage/packages/core/src/components/HorizontalScrollGrid/HorizontalScrollGrid.tsx"),reactHotLoader.register(useSmoothScroll,"useSmoothScroll","/home/runner/work/backstage/backstage/packages/core/src/components/HorizontalScrollGrid/HorizontalScrollGrid.tsx"),reactHotLoader.register(HorizontalScrollGrid,"HorizontalScrollGrid","/home/runner/work/backstage/backstage/packages/core/src/components/HorizontalScrollGrid/HorizontalScrollGrid.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/HorizontalScrollGrid/HorizontalScrollGrid.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},305:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule,_Progress__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(843);__webpack_require__.d(__webpack_exports__,"a",(function(){return _Progress__WEBPACK_IMPORTED_MODULE_0__.a})),(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},306:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule,_StructuredMetadataTable__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(875);__webpack_require__.d(__webpack_exports__,"a",(function(){return _StructuredMetadataTable__WEBPACK_IMPORTED_MODULE_0__.a})),(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},366:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),react_helmet__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(410),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(23),_material_ui_core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(21),_material_ui_core__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(310),_Page_Page__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(390),_Waves__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(917);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Header.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a)(theme=>({header:{gridArea:"pageHeader",padding:theme.spacing(3),minHeight:118,width:"100%",boxShadow:"0 0 8px 3px rgba(20, 20, 20, 0.3)",position:"relative",zIndex:100,display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"flex-end",alignItems:"center"},leftItemsBox:{flex:"1 1 auto"},rightItemsBox:{flex:"0 1 auto",display:"flex",flexDirection:"row",flexWrap:"wrap",alignItems:"center",marginRight:theme.spacing(1)},title:{color:theme.palette.bursts.fontColor,lineHeight:"1.0em",wordBreak:"break-all",fontSize:"calc(24px + 6 * ((100vw - 320px) / 680))",marginBottom:theme.spacing(1)},subtitle:{color:"rgba(255, 255, 255, 0.8)",lineHeight:"1.0em"},type:{textTransform:"uppercase",fontSize:9,opacity:.8,marginBottom:10,color:theme.palette.bursts.fontColor}})),TypeFragment=({type:type,typeLink:typeLink,classes:classes})=>type?typeLink?react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_3__.a,{className:classes.type,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:115}},type):react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_3__.a,{className:classes.type,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:109}},type):null,TitleFragment=({pageTitle:pageTitle,classes:classes,tooltip:tooltip})=>{const FinalTitle=react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_3__.a,{className:classes.title,variant:"h4",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:125}},pageTitle);return tooltip?react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_4__.a,{title:tooltip,placement:"top-start",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:135}},FinalTitle):FinalTitle},SubtitleFragment=({classes:classes,subtitle:subtitle})=>subtitle?"string"!=typeof subtitle?react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0___default.a.Fragment,null,subtitle):react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_3__.a,{className:classes.subtitle,variant:"subtitle2",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:151}},subtitle):null,Header=({children:children,pageTitleOverride:pageTitleOverride,style:style,subtitle:subtitle,title:title,tooltip:tooltip,type:type,typeLink:typeLink})=>{const classes=useStyles(),documentTitle=pageTitleOverride||title,pageTitle=title||pageTitleOverride,titleTemplate=`${documentTitle} | %s | Backstage`,defaultTitle=`${documentTitle} | Backstage`;return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:174}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react_helmet__WEBPACK_IMPORTED_MODULE_1__.a,{titleTemplate:titleTemplate,defaultTitle:defaultTitle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:175}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Page_Page__WEBPACK_IMPORTED_MODULE_5__.a.Consumer,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:176}},theme=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("header",{style:style,className:classes.header,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:178}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Waves__WEBPACK_IMPORTED_MODULE_6__.a,{theme:theme,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:179}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{className:classes.leftItemsBox,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:180}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(TypeFragment,{classes:classes,type:type,typeLink:typeLink,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:181}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(TitleFragment,{classes:classes,pageTitle:pageTitle,tooltip:tooltip,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:182}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(SubtitleFragment,{classes:classes,subtitle:subtitle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:187}})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{className:classes.rightItemsBox,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:189}},children))))};let _default;var reactHotLoader,leaveModule;__webpack_exports__.a=_default=Header,reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(useStyles,"useStyles","/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Header.tsx"),reactHotLoader.register(TypeFragment,"TypeFragment","/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Header.tsx"),reactHotLoader.register(TitleFragment,"TitleFragment","/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Header.tsx"),reactHotLoader.register(SubtitleFragment,"SubtitleFragment","/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Header.tsx"),reactHotLoader.register(Header,"Header","/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Header.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Header.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},38:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"c",(function(){return sidebarConfig})),__webpack_require__.d(__webpack_exports__,"a",(function(){return SIDEBAR_INTRO_LOCAL_STORAGE})),__webpack_require__.d(__webpack_exports__,"b",(function(){return SidebarContext}));var enterModule,react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const sidebarConfig={drawerWidthClosed:72,drawerWidthOpen:224,defaultOpenDelayMs:300,defaultCloseDelayMs:0,defaultFadeDuration:200,logoHeight:32,iconContainerWidth:72,iconSize:24,iconPadding:24,selectedIndicatorWidth:3,userBadgePadding:18,userBadgeDiameter:36},SIDEBAR_INTRO_LOCAL_STORAGE="@backstage/core/sidebar-intro-dismissed",SidebarContext=Object(react__WEBPACK_IMPORTED_MODULE_0__.createContext)({isOpen:!1});var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(72,"drawerWidthClosed","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/config.ts"),reactHotLoader.register(24,"iconPadding","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/config.ts"),reactHotLoader.register(18,"userBadgePadding","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/config.ts"),reactHotLoader.register(sidebarConfig,"sidebarConfig","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/config.ts"),reactHotLoader.register(SIDEBAR_INTRO_LOCAL_STORAGE,"SIDEBAR_INTRO_LOCAL_STORAGE","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/config.ts"),reactHotLoader.register(SidebarContext,"SidebarContext","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/config.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},387:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var _DefaultAuthConnector__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(796);__webpack_require__.d(__webpack_exports__,"DefaultAuthConnector",(function(){return _DefaultAuthConnector__WEBPACK_IMPORTED_MODULE_0__.a}));var enterModule,reactHotLoader,leaveModule;__webpack_require__(797);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},388:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule;function showLoginPopup(options){return new Promise((resolve,reject)=>{const width=options.width||500,height=options.height||700,left=window.screen.width/2-width/2,top=window.screen.height/2-height/2,popup=window.open(options.url,options.name,`menubar=no,location=no,resizable=no,scrollbars=no,status=no,width=${width},height=${height},top=${top},left=${left}`);if(!popup||void 0===popup.closed||popup.closed)return void reject(new Error("Failed to open auth popup."));const messageListener=event=>{if(event.source!==popup)return;if(event.origin!==options.origin)return;const{data:data}=event;if("auth-result"!==data.type)return;const authResult=data;if("error"in authResult){const error=new Error(authResult.error.message);error.name=authResult.error.name,reject(error)}else resolve(authResult.payload);done()},intervalId=setInterval(()=>{if(popup.closed){const error=new Error("Login failed, popup was closed");error.name="PopupClosedError",reject(error),done()}},100);function done(){window.removeEventListener("message",messageListener),clearInterval(intervalId)}window.addEventListener("message",messageListener)})}__webpack_require__.d(__webpack_exports__,"a",(function(){return showLoginPopup})),(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(showLoginPopup,"showLoginPopup","/home/runner/work/backstage/backstage/packages/core-api/src/lib/loginPopup.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},389:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var _RefreshingAuthSessionManager__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(798);__webpack_require__.d(__webpack_exports__,"RefreshingAuthSessionManager",(function(){return _RefreshingAuthSessionManager__WEBPACK_IMPORTED_MODULE_0__.a}));var enterModule,reactHotLoader,leaveModule;__webpack_require__(799);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},390:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"a",(function(){return Theme}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_PageThemeProvider__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(239),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(23);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/layout/Page/Page.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const Theme=react__WEBPACK_IMPORTED_MODULE_0___default.a.createContext(_PageThemeProvider__WEBPACK_IMPORTED_MODULE_1__.a.home),useStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a)(()=>({root:{display:"grid",gridTemplateAreas:"'pageHeader pageHeader pageHeader' 'pageSubheader pageSubheader pageSubheader' 'pageNav pageContent pageSidebar'",gridTemplateRows:"auto auto 1fr",gridTemplateColumns:"auto 1fr auto",minHeight:"100vh"}})),Page=({theme:theme=_PageThemeProvider__WEBPACK_IMPORTED_MODULE_1__.a.home,children:children})=>{const classes=useStyles();return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(Theme.Provider,{value:theme,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:41}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{className:classes.root,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:42}},children))};let _default;var reactHotLoader,leaveModule;__webpack_exports__.b=_default=Page,reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(Theme,"Theme","/home/runner/work/backstage/backstage/packages/core/src/layout/Page/Page.tsx"),reactHotLoader.register(useStyles,"useStyles","/home/runner/work/backstage/backstage/packages/core/src/layout/Page/Page.tsx"),reactHotLoader.register(Page,"Page","/home/runner/work/backstage/backstage/packages/core/src/layout/Page/Page.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/layout/Page/Page.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},391:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),classnames__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(44),classnames__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(23);var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a)(theme=>({root:{gridArea:"pageContent",minWidth:0,paddingTop:theme.spacing(3),paddingBottom:theme.spacing(3),...theme.mixins.gutters({})},stretch:{display:"flex",flexDirection:"column",flexGrow:1},noPadding:{padding:0}})),Content=({className:className,stretch:stretch,noPadding:noPadding,children:children,...props})=>{const classes=useStyles();return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("article",{...props,className:classnames__WEBPACK_IMPORTED_MODULE_1___default()(classes.root,className,{[classes.stretch]:stretch,[classes.noPadding]:noPadding}),__self:void 0,__source:{fileName:"/home/runner/work/backstage/backstage/packages/core/src/layout/Content/Content.tsx",lineNumber:54}},children)};let _default;var reactHotLoader,leaveModule;__webpack_exports__.a=_default=Content,reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(useStyles,"useStyles","/home/runner/work/backstage/backstage/packages/core/src/layout/Content/Content.tsx"),reactHotLoader.register(Content,"Content","/home/runner/work/backstage/backstage/packages/core/src/layout/Content/Content.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/layout/Content/Content.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},392:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_material_ui_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(23),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(21),react_helmet__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(410);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/layout/ContentHeader/ContentHeader.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a)(theme=>({container:{width:"100%",display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"flex-end",alignItems:"center",marginBottom:theme.spacing(1)},leftItemsBox:{flex:"1 1 auto",marginBottom:theme.spacing(1),minWidth:0,overflow:"visible"},rightItemsBox:{flex:"0 1 auto",display:"flex",flexDirection:"row",flexWrap:"wrap",alignItems:"center",marginLeft:theme.spacing(1),marginBottom:theme.spacing(1),minWidth:0,overflow:"visible"},description:{},title:{display:"inline-flex"}})),DefaultTitle=({title:title="Unknown page",className:className})=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{variant:"h4",className:className,"data-testid":"header-title",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:67}},title),ContentHeader=({description:description,title:title,titleComponent:TitleComponent,children:children})=>{const classes=useStyles(),renderedTitle=TitleComponent?react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(TitleComponent,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:87}}):react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(DefaultTitle,{title:title,className:classes.title,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:89}});return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:92}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react_helmet__WEBPACK_IMPORTED_MODULE_3__.a,{title:title,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:93}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{className:classes.container,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:94}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{className:classes.leftItemsBox,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:95}},renderedTitle,description&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{className:classes.description,variant:"body2",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:98}},description)),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{className:classes.rightItemsBox,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:103}},children)))};let _default;var reactHotLoader,leaveModule;__webpack_exports__.a=_default=ContentHeader,reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(useStyles,"useStyles","/home/runner/work/backstage/backstage/packages/core/src/layout/ContentHeader/ContentHeader.tsx"),reactHotLoader.register(DefaultTitle,"DefaultTitle","/home/runner/work/backstage/backstage/packages/core/src/layout/ContentHeader/ContentHeader.tsx"),reactHotLoader.register(ContentHeader,"ContentHeader","/home/runner/work/backstage/backstage/packages/core/src/layout/ContentHeader/ContentHeader.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/layout/ContentHeader/ContentHeader.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},393:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_material_ui_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(23),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6),_material_ui_core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(956),_material_ui_core__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(957),_material_ui_core__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(958),_material_ui_core__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(432),_material_ui_core__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(959),classnames__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(44),classnames__WEBPACK_IMPORTED_MODULE_8___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_8__),_ErrorBoundary__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(394),_BottomLink__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(411);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/layout/InfoCard/InfoCard.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a)(theme=>({header:{padding:theme.spacing(2,2,2,2.5)},noPadding:{padding:0,"&:last-child":{paddingBottom:0}}})),BoldHeader=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a)(theme=>({title:{fontWeight:700},subheader:{paddingTop:theme.spacing(1)}}))(_material_ui_core__WEBPACK_IMPORTED_MODULE_3__.a),CardActionsTopRight=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a)(theme=>({root:{display:"inline-block",padding:theme.spacing(8,8,0,0),float:"right"}}))(_material_ui_core__WEBPACK_IMPORTED_MODULE_4__.a),VARIANT_STYLES={card:{flex:{display:"flex",flexDirection:"column"},fullHeight:{height:"100%"},height100:{display:"flex",flexDirection:"column",height:"calc(100% - 10px)",marginBottom:"10px"},contentheader:{height:"calc(100% - 40px)"},contentheadertabs:{height:"calc(100% - 97px)"},noShrink:{flexShrink:0},minheight300:{minHeight:300,overflow:"initial"}},cardContent:{fullHeight:{height:"calc(100% - 50px)"},height100:{height:"calc(100% - 50px)"},contentRow:{display:"flex",flexDirection:"row"}}},InfoCard=({title:title,subheader:subheader,divider:divider,deepLink:deepLink,slackChannel:slackChannel="#backstage",variant:variant,children:children,headerStyle:headerStyle,headerProps:headerProps,actionsClassName:actionsClassName,actions:actions,cardClassName:cardClassName,actionsTopRight:actionsTopRight,className:className,noPadding:noPadding})=>{const classes=useStyles();let calculatedStyle={},calculatedCardStyle={};if(variant){variant.split(/[\s]+/g).forEach(name=>{calculatedStyle={...calculatedStyle,...VARIANT_STYLES.card[name]},calculatedCardStyle={...calculatedCardStyle,...VARIANT_STYLES.cardContent[name]}})}return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_5__.a,{style:calculatedStyle,className:className,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:183}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_ErrorBoundary__WEBPACK_IMPORTED_MODULE_9__.a,{slackChannel:slackChannel,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:184}},title&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0___default.a.Fragment,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(BoldHeader,{className:classes.header,title:title,subheader:subheader,style:{display:"inline-block",...headerStyle},...headerProps,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:187}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_6__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:194}})),actionsTopRight&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(CardActionsTopRight,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:198}},actionsTopRight),divider&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_6__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:200}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_7__.a,{className:classnames__WEBPACK_IMPORTED_MODULE_8___default()(cardClassName,{[classes.noPadding]:noPadding}),style:calculatedCardStyle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:201}},children),actions&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_4__.a,{className:actionsClassName,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:210}},actions),deepLink&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_BottomLink__WEBPACK_IMPORTED_MODULE_10__.a,{...deepLink,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:212}})))};let _default;var reactHotLoader,leaveModule;__webpack_exports__.a=_default=InfoCard,reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(useStyles,"useStyles","/home/runner/work/backstage/backstage/packages/core/src/layout/InfoCard/InfoCard.tsx"),reactHotLoader.register(BoldHeader,"BoldHeader","/home/runner/work/backstage/backstage/packages/core/src/layout/InfoCard/InfoCard.tsx"),reactHotLoader.register(CardActionsTopRight,"CardActionsTopRight","/home/runner/work/backstage/backstage/packages/core/src/layout/InfoCard/InfoCard.tsx"),reactHotLoader.register(VARIANT_STYLES,"VARIANT_STYLES","/home/runner/work/backstage/backstage/packages/core/src/layout/InfoCard/InfoCard.tsx"),reactHotLoader.register(InfoCard,"InfoCard","/home/runner/work/backstage/backstage/packages/core/src/layout/InfoCard/InfoCard.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/layout/InfoCard/InfoCard.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},394:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule,_ErrorBoundary__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(395);__webpack_require__.d(__webpack_exports__,"a",(function(){return _ErrorBoundary__WEBPACK_IMPORTED_MODULE_0__.a})),(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},395:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/layout/ErrorBoundary/ErrorBoundary.tsx";var enterModule;enterModule=__webpack_require__(2).enterModule,enterModule&&enterModule(module);const ErrorBoundary=class ErrorBoundary extends react__WEBPACK_IMPORTED_MODULE_0__.Component{__reactstandin__regenerateByEval(key,code){this[key]=eval(code)}constructor(props){super(props),this.state={error:void 0,errorInfo:void 0}}componentDidCatch(error,errorInfo){console.error(`ErrorBoundary, error: ${error}, info: ${errorInfo}`),this.setState({error:error,errorInfo:errorInfo})}render(){const{slackChannel:slackChannel}=this.props,{error:error,errorInfo:errorInfo}=this.state;return errorInfo?react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(Error,{error:error,slackChannel:slackChannel,__self:this,__source:{fileName:_jsxFileName,lineNumber:56}}):this.props.children}};let _default;__webpack_exports__.a=_default=ErrorBoundary;const Error=({slackChannel:slackChannel})=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:69}},"Something went wrong here."," ",slackChannel&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0___default.a.Fragment,null,"Please contact ",slackChannel," for help."));var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(ErrorBoundary,"ErrorBoundary","/home/runner/work/backstage/backstage/packages/core/src/layout/ErrorBoundary/ErrorBoundary.tsx"),reactHotLoader.register(Error,"Error","/home/runner/work/backstage/backstage/packages/core/src/layout/ErrorBoundary/ErrorBoundary.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/layout/ErrorBoundary/ErrorBoundary.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},397:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"a",(function(){return SidebarPinStateContext}));var _material_ui_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(23),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__),_config__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(38),_data_localStorage__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(563);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Page.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_0__.a)({root:{width:"100%",minHeight:"100%",transition:"padding-left 0.1s ease-out",paddingLeft:({isPinned:isPinned})=>isPinned?_config__WEBPACK_IMPORTED_MODULE_2__.c.drawerWidthOpen:_config__WEBPACK_IMPORTED_MODULE_2__.c.drawerWidthClosed}}),SidebarPinStateContext=Object(react__WEBPACK_IMPORTED_MODULE_1__.createContext)({isPinned:!1,toggleSidebarPinState:()=>{}}),SidebarPage=props=>{const[isPinned,setIsPinned]=Object(react__WEBPACK_IMPORTED_MODULE_1__.useState)(_data_localStorage__WEBPACK_IMPORTED_MODULE_3__.a.getSidebarPinState());Object(react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(()=>{_data_localStorage__WEBPACK_IMPORTED_MODULE_3__.a.setSidebarPinState(isPinned)},[isPinned]);const classes=useStyles({isPinned:isPinned});return react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(SidebarPinStateContext.Provider,{value:{isPinned:isPinned,toggleSidebarPinState:()=>setIsPinned(!isPinned)},__self:void 0,__source:{fileName:_jsxFileName,lineNumber:58}},react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div",{className:classes.root,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:64}},props.children))};var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(useStyles,"useStyles","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Page.tsx"),reactHotLoader.register(SidebarPinStateContext,"SidebarPinStateContext","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Page.tsx"),reactHotLoader.register(SidebarPage,"SidebarPage","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Page.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},399:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"a",(function(){return VerticalStepperContext}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_material_ui_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1813);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper/SimpleStepper.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const noop=()=>{},VerticalStepperContext=react__WEBPACK_IMPORTED_MODULE_0___default.a.createContext({stepperLength:0,stepIndex:0,setStepIndex:noop,stepHistory:[],setStepHistory:noop,onStepChange:noop}),Stepper=({children:children,elevated:elevated,onStepChange:onStepChange})=>{const[stepIndex,setStepIndex]=Object(react__WEBPACK_IMPORTED_MODULE_0__.useState)(0),[stepHistory,setStepHistory]=Object(react__WEBPACK_IMPORTED_MODULE_0__.useState)([0]),steps=[];let endStep;return react__WEBPACK_IMPORTED_MODULE_0__.Children.forEach(children,child=>{Object(react__WEBPACK_IMPORTED_MODULE_0__.isValidElement)(child)&&(child.props.end?endStep=child:steps.push(child))}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0___default.a.Fragment,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(VerticalStepperContext.Provider,{value:{stepIndex:stepIndex,setStepIndex:setStepIndex,stepHistory:stepHistory,setStepHistory:setStepHistory,onStepChange:onStepChange,stepperLength:react__WEBPACK_IMPORTED_MODULE_0__.Children.count(children)},__self:void 0,__source:{fileName:_jsxFileName,lineNumber:61}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a,{activeStep:stepIndex,orientation:"vertical",elevation:elevated?2:0,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:71}},steps)),stepIndex>=react__WEBPACK_IMPORTED_MODULE_0__.Children.count(children)-1&&endStep)};let _default;var reactHotLoader,leaveModule;__webpack_exports__.b=_default=Stepper,reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(noop,"noop","/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper/SimpleStepper.tsx"),reactHotLoader.register(VerticalStepperContext,"VerticalStepperContext","/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper/SimpleStepper.tsx"),reactHotLoader.register(Stepper,"Stepper","/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper/SimpleStepper.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper/SimpleStepper.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},411:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule,_BottomLink__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(831);__webpack_require__.d(__webpack_exports__,"a",(function(){return _BottomLink__WEBPACK_IMPORTED_MODULE_0__.a})),(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},45:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule,_TrendLine__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(877);__webpack_require__.d(__webpack_exports__,"a",(function(){return _TrendLine__WEBPACK_IMPORTED_MODULE_0__.a})),(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},50:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var _public__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(780);__webpack_require__.o(_public__WEBPACK_IMPORTED_MODULE_0__,"ApiProvider")&&__webpack_require__.d(__webpack_exports__,"ApiProvider",(function(){return _public__WEBPACK_IMPORTED_MODULE_0__.ApiProvider})),__webpack_require__.o(_public__WEBPACK_IMPORTED_MODULE_0__,"ApiRegistry")&&__webpack_require__.d(__webpack_exports__,"ApiRegistry",(function(){return _public__WEBPACK_IMPORTED_MODULE_0__.ApiRegistry})),__webpack_require__.o(_public__WEBPACK_IMPORTED_MODULE_0__,"alertApiRef")&&__webpack_require__.d(__webpack_exports__,"alertApiRef",(function(){return _public__WEBPACK_IMPORTED_MODULE_0__.alertApiRef})),__webpack_require__.o(_public__WEBPACK_IMPORTED_MODULE_0__,"appThemeApiRef")&&__webpack_require__.d(__webpack_exports__,"appThemeApiRef",(function(){return _public__WEBPACK_IMPORTED_MODULE_0__.appThemeApiRef})),__webpack_require__.o(_public__WEBPACK_IMPORTED_MODULE_0__,"defaultSystemIcons")&&__webpack_require__.d(__webpack_exports__,"defaultSystemIcons",(function(){return _public__WEBPACK_IMPORTED_MODULE_0__.defaultSystemIcons})),__webpack_require__.o(_public__WEBPACK_IMPORTED_MODULE_0__,"errorApiRef")&&__webpack_require__.d(__webpack_exports__,"errorApiRef",(function(){return _public__WEBPACK_IMPORTED_MODULE_0__.errorApiRef})),__webpack_require__.o(_public__WEBPACK_IMPORTED_MODULE_0__,"oauthRequestApiRef")&&__webpack_require__.d(__webpack_exports__,"oauthRequestApiRef",(function(){return _public__WEBPACK_IMPORTED_MODULE_0__.oauthRequestApiRef})),__webpack_require__.o(_public__WEBPACK_IMPORTED_MODULE_0__,"useApi")&&__webpack_require__.d(__webpack_exports__,"useApi",(function(){return _public__WEBPACK_IMPORTED_MODULE_0__.useApi}));var enterModule,_private__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(909);let _default;var reactHotLoader,leaveModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),__webpack_exports__.default=_default=_private__WEBPACK_IMPORTED_MODULE_1__,reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core-api/src/index.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},51:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var _Page__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(390);__webpack_require__.d(__webpack_exports__,"a",(function(){return _Page__WEBPACK_IMPORTED_MODULE_0__.b}));var enterModule,reactHotLoader,leaveModule,_PageThemeProvider__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(239);__webpack_require__.d(__webpack_exports__,"b",(function(){return _PageThemeProvider__WEBPACK_IMPORTED_MODULE_1__.a})),(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},530:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"a",(function(){return ApiProvider})),__webpack_require__.d(__webpack_exports__,"b",(function(){return useApi}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),prop_types__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(5),prop_types__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core-api/src/apis/ApiProvider.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const Context=Object(react__WEBPACK_IMPORTED_MODULE_0__.createContext)(void 0),ApiProvider=({apis:apis,children:children})=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(Context.Provider,{value:apis,children:children,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:30}});function useApi(apiRef){const apiHolder=Object(react__WEBPACK_IMPORTED_MODULE_0__.useContext)(Context);if(!apiHolder)throw new Error("No ApiProvider available in react context");const api=apiHolder.get(apiRef);if(!api)throw new Error(`No implementation available for ${apiRef}`);return api}function withApis(apis){return function withApisWrapper(WrappedComponent){const Hoc=props=>{const apiHolder=Object(react__WEBPACK_IMPORTED_MODULE_0__.useContext)(Context);if(!apiHolder)throw new Error("No ApiProvider available in react context");const impls={};for(const key in apis)if(apis.hasOwnProperty(key)){const ref=apis[key],api=apiHolder.get(ref);if(!api)throw new Error(`No implementation available for ${ref}`);impls[key]=api}return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(WrappedComponent,{...props,...impls,__self:this,__source:{fileName:_jsxFileName,lineNumber:77}})},displayName=WrappedComponent.displayName||WrappedComponent.name||"Component";return Hoc.displayName=`withApis(${displayName})`,Hoc}}var reactHotLoader,leaveModule;ApiProvider.propTypes={apis:prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.shape({get:prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired}).isRequired,children:prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node},reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(Context,"Context","/home/runner/work/backstage/backstage/packages/core-api/src/apis/ApiProvider.tsx"),reactHotLoader.register(ApiProvider,"ApiProvider","/home/runner/work/backstage/backstage/packages/core-api/src/apis/ApiProvider.tsx"),reactHotLoader.register(useApi,"useApi","/home/runner/work/backstage/backstage/packages/core-api/src/apis/ApiProvider.tsx"),reactHotLoader.register(withApis,"withApis","/home/runner/work/backstage/backstage/packages/core-api/src/apis/ApiProvider.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},55:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule,_InfoCard__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(393);__webpack_require__.d(__webpack_exports__,"a",(function(){return _InfoCard__WEBPACK_IMPORTED_MODULE_0__.a})),(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},558:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule;function hasScopes(searched,searchFor){for(const scope of searchFor)if(!searched.has(scope))return!1;return!0}__webpack_require__.d(__webpack_exports__,"b",(function(){return hasScopes})),__webpack_require__.d(__webpack_exports__,"a",(function(){return SessionScopeHelper})),enterModule=__webpack_require__(2).enterModule,enterModule&&enterModule(module);class SessionScopeHelper{__reactstandin__regenerateByEval(key,code){this[key]=eval(code)}constructor(options){this.options=options}sessionExistsAndHasScope(session,scopes){if(!session)return!1;if(!scopes)return!0;return hasScopes(this.options.sessionScopes(session),scopes)}getExtendedScope(session,scopes){const newScope=new Set(this.options.defaultScopes);if(session){const sessionScopes=this.options.sessionScopes(session);for(const scope of sessionScopes)newScope.add(scope)}if(scopes)for(const scope of scopes)newScope.add(scope);return newScope}}reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(hasScopes,"hasScopes","/home/runner/work/backstage/backstage/packages/core-api/src/lib/AuthSessionManager/common.ts"),reactHotLoader.register(SessionScopeHelper,"SessionScopeHelper","/home/runner/work/backstage/backstage/packages/core-api/src/lib/AuthSessionManager/common.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},56:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"c",(function(){return StatusOK})),__webpack_require__.d(__webpack_exports__,"f",(function(){return StatusWarning})),__webpack_require__.d(__webpack_exports__,"b",(function(){return StatusError})),__webpack_require__.d(__webpack_exports__,"d",(function(){return StatusPending})),__webpack_require__.d(__webpack_exports__,"e",(function(){return StatusRunning})),__webpack_require__.d(__webpack_exports__,"a",(function(){return StatusAborted}));var _material_ui_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(23),classnames__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(44),classnames__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__),react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/Status/Status.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_0__.a)(theme=>({status:{fontWeight:500,"&::before":{width:"0.7em",height:"0.7em",display:"inline-block",marginRight:8,borderRadius:"50%",content:'""'}},ok:{"&::before":{backgroundColor:theme.palette.status.ok}},warning:{"&::before":{backgroundColor:theme.palette.status.warning}},error:{"&::before":{backgroundColor:theme.palette.status.error}},pending:{"&::before":{backgroundColor:theme.palette.status.pending}},running:{"&::before":{backgroundColor:theme.palette.status.running}},aborted:{"&::before":{backgroundColor:theme.palette.status.aborted}}})),StatusOK=props=>{const classes=useStyles(props);return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement("span",{className:classnames__WEBPACK_IMPORTED_MODULE_1___default()(classes.status,classes.ok),...props,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:68}})},StatusWarning=props=>{const classes=useStyles(props);return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement("span",{className:classnames__WEBPACK_IMPORTED_MODULE_1___default()(classes.status,classes.warning),...props,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:74}})},StatusError=props=>{const classes=useStyles(props);return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement("span",{className:classnames__WEBPACK_IMPORTED_MODULE_1___default()(classes.status,classes.error),...props,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:81}})},StatusPending=props=>{const classes=useStyles(props);return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement("span",{className:classnames__WEBPACK_IMPORTED_MODULE_1___default()(classes.status,classes.pending),"aria-label":"Status pending",...props,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:88}})},StatusRunning=props=>{const classes=useStyles(props);return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement("span",{className:classnames__WEBPACK_IMPORTED_MODULE_1___default()(classes.status,classes.running),"aria-label":"Status running",...props,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:99}})},StatusAborted=props=>{const classes=useStyles(props);return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement("span",{className:classnames__WEBPACK_IMPORTED_MODULE_1___default()(classes.status,classes.aborted),"aria-label":"Status aborted",...props,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:110}})};var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(useStyles,"useStyles","/home/runner/work/backstage/backstage/packages/core/src/components/Status/Status.tsx"),reactHotLoader.register(StatusOK,"StatusOK","/home/runner/work/backstage/backstage/packages/core/src/components/Status/Status.tsx"),reactHotLoader.register(StatusWarning,"StatusWarning","/home/runner/work/backstage/backstage/packages/core/src/components/Status/Status.tsx"),reactHotLoader.register(StatusError,"StatusError","/home/runner/work/backstage/backstage/packages/core/src/components/Status/Status.tsx"),reactHotLoader.register(StatusPending,"StatusPending","/home/runner/work/backstage/backstage/packages/core/src/components/Status/Status.tsx"),reactHotLoader.register(StatusRunning,"StatusRunning","/home/runner/work/backstage/backstage/packages/core/src/components/Status/Status.tsx"),reactHotLoader.register(StatusAborted,"StatusAborted","/home/runner/work/backstage/backstage/packages/core/src/components/Status/Status.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},563:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,LocalStorageKeys;__webpack_require__.d(__webpack_exports__,"a",(function(){return LocalStorage})),(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),function(LocalStorageKeys){LocalStorageKeys.SIDEBAR_PIN_STATE="sidebarPinState"}(LocalStorageKeys||(LocalStorageKeys={}));const LocalStorage={getSidebarPinState(){let value;try{value=JSON.parse(window.localStorage.getItem(LocalStorageKeys.SIDEBAR_PIN_STATE)||"false")}catch(e){return!1}return!!value},setSidebarPinState:state=>window.localStorage.setItem(LocalStorageKeys.SIDEBAR_PIN_STATE,JSON.stringify(state))};var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(LocalStorageKeys,"LocalStorageKeys","/home/runner/work/backstage/backstage/packages/core/src/data/localStorage.ts"),reactHotLoader.register(LocalStorage,"LocalStorage","/home/runner/work/backstage/backstage/packages/core/src/data/localStorage.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},564:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_material_ui_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(23),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(156),_SimpleStepper__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(399);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper/SimpleStepperFooter.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a)(theme=>({root:{marginTop:theme.spacing(3),"& button":{marginRight:theme.spacing(1)}}})),RestartBtn=({text:text,handleClick:handleClick})=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{onClick:handleClick,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:35}},text||"Reset"),NextBtn=({text:text,handleClick:handleClick,disabled:disabled,last:last,stepIndex:stepIndex})=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{variant:"contained",color:"primary",disabled:disabled,"data-testid":`nextButton-${stepIndex}`,onClick:handleClick,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:44}},text||(last?"Finish":"Next")),BackBtn=({text:text,handleClick:handleClick,disabled:disabled,stepIndex:stepIndex})=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{onClick:handleClick,"data-testid":`backButton-${stepIndex}`,disabled:disabled,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:60}},text||"Back"),SimpleStepperFooter=({actions:actions={},children:children})=>{const classes=useStyles(),{stepperLength:stepperLength,stepIndex:stepIndex,setStepIndex:setStepIndex,stepHistory:stepHistory,setStepHistory:setStepHistory,onStepChange:onStepChange}=Object(react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_SimpleStepper__WEBPACK_IMPORTED_MODULE_3__.a),onChange=(newIndex,callback)=>{callback&&callback(),onStepChange&&onStepChange(stepIndex,newIndex),setStepIndex(newIndex)};return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{className:classes.root,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:117}},[void 0,!0].includes(actions.showBack)&&0!==stepIndex&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(BackBtn,{text:actions.backText,handleClick:()=>{stepHistory.pop(),onChange(stepHistory[stepHistory.length-1],actions.onBack),setStepHistory([...stepHistory])},disabled:0===stepIndex,stepIndex:stepIndex,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:119}}),[void 0,!0].includes(actions.showNext)&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(NextBtn,{text:actions.nextText,handleClick:()=>{const newIndex=actions.nextStep?actions.nextStep(stepIndex,stepperLength-1):stepIndex+1;onChange(newIndex,actions.onNext),setStepHistory([...stepHistory,newIndex])},disabled:!!stepperLength&&stepIndex>=stepperLength||!!actions.canNext&&!actions.canNext(),stepIndex:stepIndex,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:127}}),actions.showRestart&&0!==stepIndex&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(RestartBtn,{text:actions.restartText,handleClick:()=>{onChange(0,actions.onRestart),setStepHistory([0])},stepIndex:stepIndex,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:138}}),children)};let _default;var reactHotLoader,leaveModule;__webpack_exports__.a=_default=SimpleStepperFooter,reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(useStyles,"useStyles","/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper/SimpleStepperFooter.tsx"),reactHotLoader.register(RestartBtn,"RestartBtn","/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper/SimpleStepperFooter.tsx"),reactHotLoader.register(NextBtn,"NextBtn","/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper/SimpleStepperFooter.tsx"),reactHotLoader.register(BackBtn,"BackBtn","/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper/SimpleStepperFooter.tsx"),reactHotLoader.register(SimpleStepperFooter,"SimpleStepperFooter","/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper/SimpleStepperFooter.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper/SimpleStepperFooter.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},61:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule,_TabbedCard__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(832);__webpack_require__.d(__webpack_exports__,"a",(function(){return _TabbedCard__WEBPACK_IMPORTED_MODULE_0__.a})),__webpack_require__.d(__webpack_exports__,"b",(function(){return _TabbedCard__WEBPACK_IMPORTED_MODULE_0__.b})),(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},72:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var _Bar__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(833);__webpack_require__.d(__webpack_exports__,"a",(function(){return _Bar__WEBPACK_IMPORTED_MODULE_0__.a}));var _Page__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(397);__webpack_require__.d(__webpack_exports__,"e",(function(){return _Page__WEBPACK_IMPORTED_MODULE_1__.a}));var _Items__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(177);__webpack_require__.d(__webpack_exports__,"b",(function(){return _Items__WEBPACK_IMPORTED_MODULE_2__.a})),__webpack_require__.d(__webpack_exports__,"d",(function(){return _Items__WEBPACK_IMPORTED_MODULE_2__.b})),__webpack_require__.d(__webpack_exports__,"f",(function(){return _Items__WEBPACK_IMPORTED_MODULE_2__.c})),__webpack_require__.d(__webpack_exports__,"g",(function(){return _Items__WEBPACK_IMPORTED_MODULE_2__.d}));var _Intro__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(834);__webpack_require__.d(__webpack_exports__,"c",(function(){return _Intro__WEBPACK_IMPORTED_MODULE_3__.a}));var _UserBadge__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(835);__webpack_require__.d(__webpack_exports__,"h",(function(){return _UserBadge__WEBPACK_IMPORTED_MODULE_4__.a}));var enterModule,reactHotLoader,leaveModule;__webpack_require__(38),__webpack_require__(836);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},730:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"b",(function(){return lightTheme})),__webpack_require__.d(__webpack_exports__,"a",(function(){return darkTheme}));var enterModule,_baseTheme__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(300),_material_ui_core_colors__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(181),_material_ui_core_colors__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(405);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const lightTheme=Object(_baseTheme__WEBPACK_IMPORTED_MODULE_0__.a)({palette:{type:"light",background:{default:"#F8F8F8"},status:{ok:"#1DB954",warning:"#FF9800",error:"#E22134",running:"#2E77D0",pending:"#FFED51",aborted:"#757575"},bursts:{fontColor:"#FEFEFE",slackChannelText:"#ddd",backgroundColor:{default:"#7C3699"}},primary:{main:_material_ui_core_colors__WEBPACK_IMPORTED_MODULE_1__.a[500]},border:"#E6E6E6",textContrast:"#000000",textVerySubtle:"#DDD",textSubtle:"#6E6E6E",highlight:"#FFFBCC",errorBackground:"#FFEBEE",warningBackground:"#F59B23",infoBackground:"#ebf5ff",errorText:"#CA001B",infoText:"#004e8a",warningText:"#FEFEFE",linkHover:"#2196F3",link:"#0A6EBE",gold:_material_ui_core_colors__WEBPACK_IMPORTED_MODULE_2__.a.A700,sidebar:"#171717",pinSidebarButton:{icon:"#BDBDBD",background:"#404040"}}}),darkTheme=Object(_baseTheme__WEBPACK_IMPORTED_MODULE_0__.a)({palette:{type:"dark",background:{default:"#333333"},status:{ok:"#1DB954",warning:"#FF9800",error:"#E22134",running:"#2E77D0",pending:"#FFED51",aborted:"#757575"},bursts:{fontColor:"#FEFEFE",slackChannelText:"#ddd",backgroundColor:{default:"#7C3699"}},primary:{main:_material_ui_core_colors__WEBPACK_IMPORTED_MODULE_1__.a[500]},border:"#E6E6E6",textContrast:"#FFFFFF",textVerySubtle:"#DDD",textSubtle:"#EEEEEE",highlight:"#FFFBCC",errorBackground:"#FFEBEE",warningBackground:"#F59B23",infoBackground:"#ebf5ff",errorText:"#CA001B",infoText:"#004e8a",warningText:"#FEFEFE",linkHover:"#2196F3",link:"#0A6EBE",gold:_material_ui_core_colors__WEBPACK_IMPORTED_MODULE_2__.a.A700,sidebar:"#424242",pinSidebarButton:{icon:"#181818",background:"#BDBDBD"}}});var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(lightTheme,"lightTheme","/home/runner/work/backstage/backstage/packages/theme/src/themes.ts"),reactHotLoader.register(darkTheme,"darkTheme","/home/runner/work/backstage/backstage/packages/theme/src/themes.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},731:function(module,exports,__webpack_require__){(function(module){var enterModule,reactHotLoader,leaveModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(89)(module))},780:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var _apis__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(137);__webpack_require__.o(_apis__WEBPACK_IMPORTED_MODULE_0__,"ApiProvider")&&__webpack_require__.d(__webpack_exports__,"ApiProvider",(function(){return _apis__WEBPACK_IMPORTED_MODULE_0__.ApiProvider})),__webpack_require__.o(_apis__WEBPACK_IMPORTED_MODULE_0__,"ApiRegistry")&&__webpack_require__.d(__webpack_exports__,"ApiRegistry",(function(){return _apis__WEBPACK_IMPORTED_MODULE_0__.ApiRegistry})),__webpack_require__.o(_apis__WEBPACK_IMPORTED_MODULE_0__,"alertApiRef")&&__webpack_require__.d(__webpack_exports__,"alertApiRef",(function(){return _apis__WEBPACK_IMPORTED_MODULE_0__.alertApiRef})),__webpack_require__.o(_apis__WEBPACK_IMPORTED_MODULE_0__,"appThemeApiRef")&&__webpack_require__.d(__webpack_exports__,"appThemeApiRef",(function(){return _apis__WEBPACK_IMPORTED_MODULE_0__.appThemeApiRef})),__webpack_require__.o(_apis__WEBPACK_IMPORTED_MODULE_0__,"defaultSystemIcons")&&__webpack_require__.d(__webpack_exports__,"defaultSystemIcons",(function(){return _apis__WEBPACK_IMPORTED_MODULE_0__.defaultSystemIcons})),__webpack_require__.o(_apis__WEBPACK_IMPORTED_MODULE_0__,"errorApiRef")&&__webpack_require__.d(__webpack_exports__,"errorApiRef",(function(){return _apis__WEBPACK_IMPORTED_MODULE_0__.errorApiRef})),__webpack_require__.o(_apis__WEBPACK_IMPORTED_MODULE_0__,"oauthRequestApiRef")&&__webpack_require__.d(__webpack_exports__,"oauthRequestApiRef",(function(){return _apis__WEBPACK_IMPORTED_MODULE_0__.oauthRequestApiRef})),__webpack_require__.o(_apis__WEBPACK_IMPORTED_MODULE_0__,"useApi")&&__webpack_require__.d(__webpack_exports__,"useApi",(function(){return _apis__WEBPACK_IMPORTED_MODULE_0__.useApi}));var _app__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(810);__webpack_require__.o(_app__WEBPACK_IMPORTED_MODULE_1__,"ApiProvider")&&__webpack_require__.d(__webpack_exports__,"ApiProvider",(function(){return _app__WEBPACK_IMPORTED_MODULE_1__.ApiProvider})),__webpack_require__.o(_app__WEBPACK_IMPORTED_MODULE_1__,"ApiRegistry")&&__webpack_require__.d(__webpack_exports__,"ApiRegistry",(function(){return _app__WEBPACK_IMPORTED_MODULE_1__.ApiRegistry})),__webpack_require__.o(_app__WEBPACK_IMPORTED_MODULE_1__,"alertApiRef")&&__webpack_require__.d(__webpack_exports__,"alertApiRef",(function(){return _app__WEBPACK_IMPORTED_MODULE_1__.alertApiRef})),__webpack_require__.o(_app__WEBPACK_IMPORTED_MODULE_1__,"appThemeApiRef")&&__webpack_require__.d(__webpack_exports__,"appThemeApiRef",(function(){return _app__WEBPACK_IMPORTED_MODULE_1__.appThemeApiRef})),__webpack_require__.o(_app__WEBPACK_IMPORTED_MODULE_1__,"defaultSystemIcons")&&__webpack_require__.d(__webpack_exports__,"defaultSystemIcons",(function(){return _app__WEBPACK_IMPORTED_MODULE_1__.defaultSystemIcons})),__webpack_require__.o(_app__WEBPACK_IMPORTED_MODULE_1__,"errorApiRef")&&__webpack_require__.d(__webpack_exports__,"errorApiRef",(function(){return _app__WEBPACK_IMPORTED_MODULE_1__.errorApiRef})),__webpack_require__.o(_app__WEBPACK_IMPORTED_MODULE_1__,"oauthRequestApiRef")&&__webpack_require__.d(__webpack_exports__,"oauthRequestApiRef",(function(){return _app__WEBPACK_IMPORTED_MODULE_1__.oauthRequestApiRef})),__webpack_require__.o(_app__WEBPACK_IMPORTED_MODULE_1__,"useApi")&&__webpack_require__.d(__webpack_exports__,"useApi",(function(){return _app__WEBPACK_IMPORTED_MODULE_1__.useApi}));var _icons__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(812);__webpack_require__.o(_icons__WEBPACK_IMPORTED_MODULE_2__,"ApiProvider")&&__webpack_require__.d(__webpack_exports__,"ApiProvider",(function(){return _icons__WEBPACK_IMPORTED_MODULE_2__.ApiProvider})),__webpack_require__.o(_icons__WEBPACK_IMPORTED_MODULE_2__,"ApiRegistry")&&__webpack_require__.d(__webpack_exports__,"ApiRegistry",(function(){return _icons__WEBPACK_IMPORTED_MODULE_2__.ApiRegistry})),__webpack_require__.o(_icons__WEBPACK_IMPORTED_MODULE_2__,"alertApiRef")&&__webpack_require__.d(__webpack_exports__,"alertApiRef",(function(){return _icons__WEBPACK_IMPORTED_MODULE_2__.alertApiRef})),__webpack_require__.o(_icons__WEBPACK_IMPORTED_MODULE_2__,"appThemeApiRef")&&__webpack_require__.d(__webpack_exports__,"appThemeApiRef",(function(){return _icons__WEBPACK_IMPORTED_MODULE_2__.appThemeApiRef})),__webpack_require__.o(_icons__WEBPACK_IMPORTED_MODULE_2__,"defaultSystemIcons")&&__webpack_require__.d(__webpack_exports__,"defaultSystemIcons",(function(){return _icons__WEBPACK_IMPORTED_MODULE_2__.defaultSystemIcons})),__webpack_require__.o(_icons__WEBPACK_IMPORTED_MODULE_2__,"errorApiRef")&&__webpack_require__.d(__webpack_exports__,"errorApiRef",(function(){return _icons__WEBPACK_IMPORTED_MODULE_2__.errorApiRef})),__webpack_require__.o(_icons__WEBPACK_IMPORTED_MODULE_2__,"oauthRequestApiRef")&&__webpack_require__.d(__webpack_exports__,"oauthRequestApiRef",(function(){return _icons__WEBPACK_IMPORTED_MODULE_2__.oauthRequestApiRef})),__webpack_require__.o(_icons__WEBPACK_IMPORTED_MODULE_2__,"useApi")&&__webpack_require__.d(__webpack_exports__,"useApi",(function(){return _icons__WEBPACK_IMPORTED_MODULE_2__.useApi}));var _plugin__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(815);__webpack_require__.o(_plugin__WEBPACK_IMPORTED_MODULE_3__,"ApiProvider")&&__webpack_require__.d(__webpack_exports__,"ApiProvider",(function(){return _plugin__WEBPACK_IMPORTED_MODULE_3__.ApiProvider})),__webpack_require__.o(_plugin__WEBPACK_IMPORTED_MODULE_3__,"ApiRegistry")&&__webpack_require__.d(__webpack_exports__,"ApiRegistry",(function(){return _plugin__WEBPACK_IMPORTED_MODULE_3__.ApiRegistry})),__webpack_require__.o(_plugin__WEBPACK_IMPORTED_MODULE_3__,"alertApiRef")&&__webpack_require__.d(__webpack_exports__,"alertApiRef",(function(){return _plugin__WEBPACK_IMPORTED_MODULE_3__.alertApiRef})),__webpack_require__.o(_plugin__WEBPACK_IMPORTED_MODULE_3__,"appThemeApiRef")&&__webpack_require__.d(__webpack_exports__,"appThemeApiRef",(function(){return _plugin__WEBPACK_IMPORTED_MODULE_3__.appThemeApiRef})),__webpack_require__.o(_plugin__WEBPACK_IMPORTED_MODULE_3__,"defaultSystemIcons")&&__webpack_require__.d(__webpack_exports__,"defaultSystemIcons",(function(){return _plugin__WEBPACK_IMPORTED_MODULE_3__.defaultSystemIcons})),__webpack_require__.o(_plugin__WEBPACK_IMPORTED_MODULE_3__,"errorApiRef")&&__webpack_require__.d(__webpack_exports__,"errorApiRef",(function(){return _plugin__WEBPACK_IMPORTED_MODULE_3__.errorApiRef})),__webpack_require__.o(_plugin__WEBPACK_IMPORTED_MODULE_3__,"oauthRequestApiRef")&&__webpack_require__.d(__webpack_exports__,"oauthRequestApiRef",(function(){return _plugin__WEBPACK_IMPORTED_MODULE_3__.oauthRequestApiRef})),__webpack_require__.o(_plugin__WEBPACK_IMPORTED_MODULE_3__,"useApi")&&__webpack_require__.d(__webpack_exports__,"useApi",(function(){return _plugin__WEBPACK_IMPORTED_MODULE_3__.useApi}));var _routing__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(818);__webpack_require__.o(_routing__WEBPACK_IMPORTED_MODULE_4__,"ApiProvider")&&__webpack_require__.d(__webpack_exports__,"ApiProvider",(function(){return _routing__WEBPACK_IMPORTED_MODULE_4__.ApiProvider})),__webpack_require__.o(_routing__WEBPACK_IMPORTED_MODULE_4__,"ApiRegistry")&&__webpack_require__.d(__webpack_exports__,"ApiRegistry",(function(){return _routing__WEBPACK_IMPORTED_MODULE_4__.ApiRegistry})),__webpack_require__.o(_routing__WEBPACK_IMPORTED_MODULE_4__,"alertApiRef")&&__webpack_require__.d(__webpack_exports__,"alertApiRef",(function(){return _routing__WEBPACK_IMPORTED_MODULE_4__.alertApiRef})),__webpack_require__.o(_routing__WEBPACK_IMPORTED_MODULE_4__,"appThemeApiRef")&&__webpack_require__.d(__webpack_exports__,"appThemeApiRef",(function(){return _routing__WEBPACK_IMPORTED_MODULE_4__.appThemeApiRef})),__webpack_require__.o(_routing__WEBPACK_IMPORTED_MODULE_4__,"defaultSystemIcons")&&__webpack_require__.d(__webpack_exports__,"defaultSystemIcons",(function(){return _routing__WEBPACK_IMPORTED_MODULE_4__.defaultSystemIcons})),__webpack_require__.o(_routing__WEBPACK_IMPORTED_MODULE_4__,"errorApiRef")&&__webpack_require__.d(__webpack_exports__,"errorApiRef",(function(){return _routing__WEBPACK_IMPORTED_MODULE_4__.errorApiRef})),__webpack_require__.o(_routing__WEBPACK_IMPORTED_MODULE_4__,"oauthRequestApiRef")&&__webpack_require__.d(__webpack_exports__,"oauthRequestApiRef",(function(){return _routing__WEBPACK_IMPORTED_MODULE_4__.oauthRequestApiRef})),__webpack_require__.o(_routing__WEBPACK_IMPORTED_MODULE_4__,"useApi")&&__webpack_require__.d(__webpack_exports__,"useApi",(function(){return _routing__WEBPACK_IMPORTED_MODULE_4__.useApi}));var enterModule,reactHotLoader,leaveModule,_types__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(821);__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_5__,"ApiProvider")&&__webpack_require__.d(__webpack_exports__,"ApiProvider",(function(){return _types__WEBPACK_IMPORTED_MODULE_5__.ApiProvider})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_5__,"ApiRegistry")&&__webpack_require__.d(__webpack_exports__,"ApiRegistry",(function(){return _types__WEBPACK_IMPORTED_MODULE_5__.ApiRegistry})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_5__,"alertApiRef")&&__webpack_require__.d(__webpack_exports__,"alertApiRef",(function(){return _types__WEBPACK_IMPORTED_MODULE_5__.alertApiRef})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_5__,"appThemeApiRef")&&__webpack_require__.d(__webpack_exports__,"appThemeApiRef",(function(){return _types__WEBPACK_IMPORTED_MODULE_5__.appThemeApiRef})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_5__,"defaultSystemIcons")&&__webpack_require__.d(__webpack_exports__,"defaultSystemIcons",(function(){return _types__WEBPACK_IMPORTED_MODULE_5__.defaultSystemIcons})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_5__,"errorApiRef")&&__webpack_require__.d(__webpack_exports__,"errorApiRef",(function(){return _types__WEBPACK_IMPORTED_MODULE_5__.errorApiRef})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_5__,"oauthRequestApiRef")&&__webpack_require__.d(__webpack_exports__,"oauthRequestApiRef",(function(){return _types__WEBPACK_IMPORTED_MODULE_5__.oauthRequestApiRef})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_5__,"useApi")&&__webpack_require__.d(__webpack_exports__,"useApi",(function(){return _types__WEBPACK_IMPORTED_MODULE_5__.useApi})),(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},781:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule;__webpack_require__.d(__webpack_exports__,"a",(function(){return ApiRegistry})),enterModule=__webpack_require__(2).enterModule,enterModule&&enterModule(module);class ApiRegistryBuilder{__reactstandin__regenerateByEval(key,code){this[key]=eval(code)}constructor(){ApiRegistryBuilder.prototype.__init.call(this)}__init(){this.apis=[]}add(api,impl){return this.apis.push([api,impl]),impl}build(){return new ApiRegistry(new Map(this.apis))}}class ApiRegistry{__reactstandin__regenerateByEval(key,code){this[key]=eval(code)}static builder(){return new ApiRegistryBuilder}static from(apis){return new ApiRegistry(new Map(apis))}constructor(apis){this.apis=apis}get(api){return this.apis.get(api)}}reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(ApiRegistryBuilder,"ApiRegistryBuilder","/home/runner/work/backstage/backstage/packages/core-api/src/apis/ApiRegistry.ts"),reactHotLoader.register(ApiRegistry,"ApiRegistry","/home/runner/work/backstage/backstage/packages/core-api/src/apis/ApiRegistry.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},782:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule;enterModule=__webpack_require__(2).enterModule,enterModule&&enterModule(module);class ApiTestRegistry{__reactstandin__regenerateByEval(key,code){this[key]=eval(code)}constructor(){ApiTestRegistry.prototype.__init.call(this),ApiTestRegistry.prototype.__init2.call(this),ApiTestRegistry.prototype.__init3.call(this)}__init(){this.apis=new Map}__init2(){this.factories=new Map}__init3(){this.savedFactories=new Map}get(ref){return this.load(ref)}register(factory){return this.factories.set(factory.implements,factory),this}reset(){this.factories=this.savedFactories,this.apis.clear()}save(){return this.savedFactories=new Map(this.factories),this}load(ref,loading=[]){const impl=this.apis.get(ref);if(impl)return impl;const factory=this.factories.get(ref);if(!factory)return;if(loading.includes(factory.implements))throw new Error(`Circular dependency of api factory for ${factory.implements}`);const deps=this.loadDeps(ref,factory.deps,[...loading,factory.implements]),api=factory.factory(deps);return this.apis.set(ref,api),api}loadDeps(dependent,apis,loading){const impls={};for(const key in apis)if(apis.hasOwnProperty(key)){const ref=apis[key],api=this.load(ref,loading);if(!api)throw new Error(`No API factory available for dependency ${ref} of dependent ${dependent}`);impls[key]=api}return impls}}reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(ApiTestRegistry,"ApiTestRegistry","/home/runner/work/backstage/backstage/packages/core-api/src/apis/ApiTestRegistry.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},783:function(module,exports,__webpack_require__){(function(module){var enterModule,reactHotLoader,leaveModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(89)(module))},784:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule;function createApiFactory(factory){return factory}(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(createApiFactory,"createApiFactory","/home/runner/work/backstage/backstage/packages/core-api/src/apis/helpers.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},785:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,_ApiRef__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(87);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const googleAuthApiRef=Object(_ApiRef__WEBPACK_IMPORTED_MODULE_0__.a)({id:"core.auth.google",description:"Provides authentication towards Google APIs and identities"}),githubAuthApiRef=Object(_ApiRef__WEBPACK_IMPORTED_MODULE_0__.a)({id:"core.auth.github",description:"Provides authentication towards Github APIs"});var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(googleAuthApiRef,"googleAuthApiRef","/home/runner/work/backstage/backstage/packages/core-api/src/apis/definitions/auth.ts"),reactHotLoader.register(githubAuthApiRef,"githubAuthApiRef","/home/runner/work/backstage/backstage/packages/core-api/src/apis/definitions/auth.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},786:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"a",(function(){return alertApiRef}));var enterModule,_ApiRef__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(87);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const alertApiRef=Object(_ApiRef__WEBPACK_IMPORTED_MODULE_0__.a)({id:"core.alert",description:"Used to report alerts and forward them to the app"});var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(alertApiRef,"alertApiRef","/home/runner/work/backstage/backstage/packages/core-api/src/apis/definitions/AlertApi.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},787:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"a",(function(){return appThemeApiRef}));var enterModule,_ApiRef__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(87);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const appThemeApiRef=Object(_ApiRef__WEBPACK_IMPORTED_MODULE_0__.a)({id:"core.apptheme",description:"API Used to configure the app theme, and enumerate options"});var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(appThemeApiRef,"appThemeApiRef","/home/runner/work/backstage/backstage/packages/core-api/src/apis/definitions/AppThemeApi.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},788:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"a",(function(){return errorApiRef}));var enterModule,_ApiRef__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(87);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const errorApiRef=Object(_ApiRef__WEBPACK_IMPORTED_MODULE_0__.a)({id:"core.error",description:"Used to report errors and forward them to the app"});var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(errorApiRef,"errorApiRef","/home/runner/work/backstage/backstage/packages/core-api/src/apis/definitions/ErrorApi.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},789:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"a",(function(){return FeatureFlagState})),__webpack_require__.d(__webpack_exports__,"b",(function(){return featureFlagsApiRef}));var enterModule,FeatureFlagState,_ApiRef__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(87);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),function(FeatureFlagState){FeatureFlagState[FeatureFlagState.Off=0]="Off";FeatureFlagState[FeatureFlagState.On=1]="On"}(FeatureFlagState||(FeatureFlagState={}));const featureFlagsApiRef=Object(_ApiRef__WEBPACK_IMPORTED_MODULE_0__.a)({id:"core.featureflags",description:"Used to toggle functionality in features across Backstage"});var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(FeatureFlagState,"FeatureFlagState","/home/runner/work/backstage/backstage/packages/core-api/src/apis/definitions/FeatureFlagsApi.ts"),reactHotLoader.register(featureFlagsApiRef,"featureFlagsApiRef","/home/runner/work/backstage/backstage/packages/core-api/src/apis/definitions/FeatureFlagsApi.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},790:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"a",(function(){return oauthRequestApiRef}));var enterModule,_ApiRef__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(87);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const oauthRequestApiRef=Object(_ApiRef__WEBPACK_IMPORTED_MODULE_0__.a)({id:"core.oauthrequest",description:"An API for implementing unified OAuth flows in Backstage"});var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(oauthRequestApiRef,"oauthRequestApiRef","/home/runner/work/backstage/backstage/packages/core-api/src/apis/definitions/OAuthRequestApi.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},791:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var _auth__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(792);__webpack_require__.o(_auth__WEBPACK_IMPORTED_MODULE_0__,"AppThemeSelector")&&__webpack_require__.d(__webpack_exports__,"AppThemeSelector",(function(){return _auth__WEBPACK_IMPORTED_MODULE_0__.AppThemeSelector})),__webpack_require__.o(_auth__WEBPACK_IMPORTED_MODULE_0__,"defaultSystemIcons")&&__webpack_require__.d(__webpack_exports__,"defaultSystemIcons",(function(){return _auth__WEBPACK_IMPORTED_MODULE_0__.defaultSystemIcons}));__webpack_require__(800);var _AppThemeApi__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(803);__webpack_require__.d(__webpack_exports__,"AppThemeSelector",(function(){return _AppThemeApi__WEBPACK_IMPORTED_MODULE_2__.a}));var enterModule,reactHotLoader,leaveModule;__webpack_require__(805),__webpack_require__(808);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},792:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule,_google__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(793);__webpack_require__.o(_google__WEBPACK_IMPORTED_MODULE_0__,"AppThemeSelector")&&__webpack_require__.d(__webpack_exports__,"AppThemeSelector",(function(){return _google__WEBPACK_IMPORTED_MODULE_0__.AppThemeSelector})),__webpack_require__.o(_google__WEBPACK_IMPORTED_MODULE_0__,"defaultSystemIcons")&&__webpack_require__.d(__webpack_exports__,"defaultSystemIcons",(function(){return _google__WEBPACK_IMPORTED_MODULE_0__.defaultSystemIcons})),(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},793:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var _types__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(794);__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_0__,"AppThemeSelector")&&__webpack_require__.d(__webpack_exports__,"AppThemeSelector",(function(){return _types__WEBPACK_IMPORTED_MODULE_0__.AppThemeSelector})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_0__,"defaultSystemIcons")&&__webpack_require__.d(__webpack_exports__,"defaultSystemIcons",(function(){return _types__WEBPACK_IMPORTED_MODULE_0__.defaultSystemIcons}));var enterModule,reactHotLoader,leaveModule;__webpack_require__(795);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},794:function(module,exports,__webpack_require__){(function(module){var enterModule,reactHotLoader,leaveModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(89)(module))},795:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var _material_ui_icons_AcUnit__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(906),_material_ui_icons_AcUnit__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_material_ui_icons_AcUnit__WEBPACK_IMPORTED_MODULE_0__),_lib_AuthConnector__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(387),_lib_AuthSessionManager__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(389),enterModule;enterModule=__webpack_require__(2).enterModule,enterModule&&enterModule(module);const DEFAULT_PROVIDER={id:"google",title:"Google",icon:_material_ui_icons_AcUnit__WEBPACK_IMPORTED_MODULE_0___default.a},SCOPE_PREFIX="https://www.googleapis.com/auth/";class GoogleAuth{__reactstandin__regenerateByEval(key,code){this[key]=eval(code)}static create({apiOrigin:apiOrigin,basePath:basePath,environment:environment="dev",provider:provider=DEFAULT_PROVIDER,oauthRequestApi:oauthRequestApi}){const connector=new _lib_AuthConnector__WEBPACK_IMPORTED_MODULE_1__.DefaultAuthConnector({apiOrigin:apiOrigin,basePath:basePath,environment:environment,provider:provider,oauthRequestApi:oauthRequestApi,sessionTransform:res=>({idToken:res.idToken,accessToken:res.accessToken,scopes:GoogleAuth.normalizeScopes(res.scope),expiresAt:new Date(Date.now()+1e3*res.expiresInSeconds)})}),sessionManager=new _lib_AuthSessionManager__WEBPACK_IMPORTED_MODULE_2__.RefreshingAuthSessionManager({connector:connector,defaultScopes:new Set(["openid",`${SCOPE_PREFIX}userinfo.email`,`${SCOPE_PREFIX}userinfo.profile`]),sessionScopes:session=>session.scopes,sessionShouldRefresh:session=>(session.expiresAt.getTime()-Date.now())/1e3<300});return new GoogleAuth(sessionManager)}constructor(sessionManager){this.sessionManager=sessionManager}async getAccessToken(scope,options){const normalizedScopes=GoogleAuth.normalizeScopes(scope),session=await this.sessionManager.getSession({...options,scopes:normalizedScopes});return session?session.accessToken:""}async getIdToken(options={}){const session=await this.sessionManager.getSession(options);return session?session.idToken:""}async logout(){await this.sessionManager.removeSession()}static normalizeScopes(scopes){if(!scopes)return new Set;const normalizedScopes=(Array.isArray(scopes)?scopes:scopes.split(/[\s]/).filter(Boolean)).map(scope=>"openid"===scope?scope:"profile"===scope||"email"===scope?`${SCOPE_PREFIX}userinfo.${scope}`:scope.startsWith(SCOPE_PREFIX)?scope:`${SCOPE_PREFIX}${scope}`);return new Set(normalizedScopes)}}let _default;var _unused_webpack_default_export=_default=GoogleAuth,reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(DEFAULT_PROVIDER,"DEFAULT_PROVIDER","/home/runner/work/backstage/backstage/packages/core-api/src/apis/implementations/auth/google/GoogleAuth.ts"),reactHotLoader.register(SCOPE_PREFIX,"SCOPE_PREFIX","/home/runner/work/backstage/backstage/packages/core-api/src/apis/implementations/auth/google/GoogleAuth.ts"),reactHotLoader.register(GoogleAuth,"GoogleAuth","/home/runner/work/backstage/backstage/packages/core-api/src/apis/implementations/auth/google/GoogleAuth.ts"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core-api/src/apis/implementations/auth/google/GoogleAuth.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},796:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"a",(function(){return DefaultAuthConnector}));var _loginPopup__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(388),enterModule;enterModule=__webpack_require__(2).enterModule,enterModule&&enterModule(module);const DEFAULT_BASE_PATH="/api/auth/";function defaultJoinScopes(scopes){return[...scopes].join(" ")}class DefaultAuthConnector{__reactstandin__regenerateByEval(key,code){this[key]=eval(code)}constructor(options){const{apiOrigin:apiOrigin=window.location.origin,basePath:basePath=DEFAULT_BASE_PATH,environment:environment,provider:provider,joinScopes:joinScopes=defaultJoinScopes,oauthRequestApi:oauthRequestApi,sessionTransform:sessionTransform=(id=>id)}=options;this.authRequester=oauthRequestApi.createAuthRequester({provider:provider,onAuthRequest:scopes=>this.showPopup(scopes)}),this.apiOrigin=apiOrigin,this.basePath=basePath,this.environment=environment,this.provider=provider,this.joinScopesFunc=joinScopes,this.sessionTransform=sessionTransform}async createSession(options){return options.instantPopup?this.showPopup(options.scopes):this.authRequester(options.scopes)}async refreshSession(){const res=await fetch(this.buildUrl("/refresh",{optional:!0}),{headers:{"x-requested-with":"XMLHttpRequest"},credentials:"include"}).catch(error=>{throw new Error(`Auth refresh request failed, ${error}`)});if(!res.ok){const error=new Error(`Auth refresh request failed with status ${res.statusText}`);throw error.status=res.status,error}const authInfo=await res.json();if(authInfo.error){const error=new Error(authInfo.error.message);throw authInfo.error.name&&(error.name=authInfo.error.name),error}return await this.sessionTransform(authInfo)}async removeSession(){const res=await fetch(this.buildUrl("/logout"),{method:"POST",headers:{"x-requested-with":"XMLHttpRequest"},credentials:"include"});if(!res.ok)throw new Error(`Logout request failed with status ${res.status}`)}async showPopup(scopes){const scope=this.joinScopesFunc(scopes),popupUrl=this.buildUrl("/start",{scope:scope}),payload=await Object(_loginPopup__WEBPACK_IMPORTED_MODULE_0__.a)({url:popupUrl,name:`${this.provider.title} Login`,origin:this.apiOrigin,width:450,height:730});return await this.sessionTransform(payload)}buildUrl(path,query){const queryString=this.buildQueryString({...query,env:this.environment});return`${this.apiOrigin}${this.basePath}${this.provider.id}${path}${queryString}`}buildQueryString(query){if(!query)return"";const queryString=Object.entries(query).map(([key,value])=>"string"==typeof value?`${encodeURIComponent(key)}=${encodeURIComponent(value)}`:value?encodeURIComponent(key):void 0).filter(Boolean).join("&");return queryString?`?${queryString}`:""}}var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(DEFAULT_BASE_PATH,"DEFAULT_BASE_PATH","/home/runner/work/backstage/backstage/packages/core-api/src/lib/AuthConnector/DefaultAuthConnector.ts"),reactHotLoader.register(defaultJoinScopes,"defaultJoinScopes","/home/runner/work/backstage/backstage/packages/core-api/src/lib/AuthConnector/DefaultAuthConnector.ts"),reactHotLoader.register(DefaultAuthConnector,"DefaultAuthConnector","/home/runner/work/backstage/backstage/packages/core-api/src/lib/AuthConnector/DefaultAuthConnector.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},797:function(module,exports,__webpack_require__){(function(module){var enterModule,reactHotLoader,leaveModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(89)(module))},798:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"a",(function(){return RefreshingAuthSessionManager}));var _common__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(558),enterModule,reactHotLoader,leaveModule;enterModule=__webpack_require__(2).enterModule,enterModule&&enterModule(module);class RefreshingAuthSessionManager{__reactstandin__regenerateByEval(key,code){this[key]=eval(code)}constructor(options){const{connector:connector,defaultScopes:defaultScopes=new Set,sessionScopes:sessionScopes,sessionShouldRefresh:sessionShouldRefresh}=options;this.connector=connector,this.sessionScopesFunc=sessionScopes,this.sessionShouldRefreshFunc=sessionShouldRefresh,this.helper=new _common__WEBPACK_IMPORTED_MODULE_0__.a({sessionScopes:sessionScopes,defaultScopes:defaultScopes})}async getSession(options){if(this.helper.sessionExistsAndHasScope(this.currentSession,options.scopes)){if(!this.sessionShouldRefreshFunc(this.currentSession))return this.currentSession;try{const refreshedSession=await this.collapsedSessionRefresh(),currentScopes=this.sessionScopesFunc(this.currentSession),refreshedScopes=this.sessionScopesFunc(refreshedSession);return Object(_common__WEBPACK_IMPORTED_MODULE_0__.b)(refreshedScopes,currentScopes)&&(this.currentSession=refreshedSession),refreshedSession}catch(error){if(options.optional)return;throw error}}if(!this.currentSession)try{const newSession=await this.collapsedSessionRefresh();return this.currentSession=newSession,this.getSession(options)}catch(e){}if(!options.optional)return this.currentSession=await this.connector.createSession({...options,scopes:this.helper.getExtendedScope(this.currentSession,options.scopes)}),this.currentSession}async removeSession(){await this.connector.removeSession(),window.location.reload()}async collapsedSessionRefresh(){if(this.refreshPromise)return this.refreshPromise;this.refreshPromise=this.connector.refreshSession();try{return await this.refreshPromise}finally{delete this.refreshPromise}}}reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(RefreshingAuthSessionManager,"RefreshingAuthSessionManager","/home/runner/work/backstage/backstage/packages/core-api/src/lib/AuthSessionManager/RefreshingAuthSessionManager.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},799:function(module,exports,__webpack_require__){(function(module){var enterModule,reactHotLoader,leaveModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(89)(module))},80:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var _SimpleStepper__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(399);__webpack_require__.d(__webpack_exports__,"a",(function(){return _SimpleStepper__WEBPACK_IMPORTED_MODULE_0__.b}));var enterModule,reactHotLoader,leaveModule,_SimpleStepperStep__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(844);__webpack_require__.d(__webpack_exports__,"b",(function(){return _SimpleStepperStep__WEBPACK_IMPORTED_MODULE_1__.a})),(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},800:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule;__webpack_require__(801);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},801:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var _lib__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(135),enterModule,reactHotLoader,leaveModule;enterModule=__webpack_require__(2).enterModule,enterModule&&enterModule(module);class AlertApiForwarder{__reactstandin__regenerateByEval(key,code){this[key]=eval(code)}constructor(){AlertApiForwarder.prototype.__init.call(this)}__init(){this.subject=new _lib__WEBPACK_IMPORTED_MODULE_0__.PublishSubject}post(alert){this.subject.next(alert)}alert$(){return this.subject}}reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(AlertApiForwarder,"AlertApiForwarder","/home/runner/work/backstage/backstage/packages/core-api/src/apis/implementations/AlertApi/AlertApiForwarder.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},802:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"b",(function(){return PublishSubject})),__webpack_require__.d(__webpack_exports__,"a",(function(){return BehaviorSubject}));var zen_observable__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(559),zen_observable__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(zen_observable__WEBPACK_IMPORTED_MODULE_0__),enterModule,reactHotLoader,leaveModule;enterModule=__webpack_require__(2).enterModule,enterModule&&enterModule(module);class PublishSubject{__reactstandin__regenerateByEval(key,code){this[key]=eval(code)}constructor(){PublishSubject.prototype.__init.call(this),PublishSubject.prototype.__init2.call(this),PublishSubject.prototype.__init3.call(this)}__init(){this.isClosed=!1}__init2(){this.observable=new zen_observable__WEBPACK_IMPORTED_MODULE_0___default.a(subscriber=>this.isClosed?(this.terminatingError?subscriber.error(this.terminatingError):subscriber.complete(),()=>{}):(this.subscribers.add(subscriber),()=>{this.subscribers.delete(subscriber)}))}__init3(){this.subscribers=new Set}get closed(){return this.isClosed}next(value){if(this.isClosed)throw new Error("PublishSubject is closed");this.subscribers.forEach(subscriber=>subscriber.next(value))}error(error){if(this.isClosed)throw new Error("PublishSubject is closed");this.isClosed=!0,this.terminatingError=error,this.subscribers.forEach(subscriber=>subscriber.error(error))}complete(){if(this.isClosed)throw new Error("PublishSubject is closed");this.isClosed=!0,this.subscribers.forEach(subscriber=>subscriber.complete())}subscribe(onNext,onError,onComplete){const observer="function"==typeof onNext?{next:onNext,error:onError,complete:onComplete}:onNext;return this.observable.subscribe(observer)}}class BehaviorSubject{__reactstandin__regenerateByEval(key,code){this[key]=eval(code)}__init4(){this.isClosed=!1}constructor(value){BehaviorSubject.prototype.__init4.call(this),BehaviorSubject.prototype.__init5.call(this),BehaviorSubject.prototype.__init6.call(this),this.currentValue=value}__init5(){this.observable=new zen_observable__WEBPACK_IMPORTED_MODULE_0___default.a(subscriber=>this.isClosed?(this.terminatingError?subscriber.error(this.terminatingError):subscriber.complete(),()=>{}):(subscriber.next(this.currentValue),this.subscribers.add(subscriber),()=>{this.subscribers.delete(subscriber)}))}__init6(){this.subscribers=new Set}get closed(){return this.isClosed}next(value){if(this.isClosed)throw new Error("BehaviorSubject is closed");this.currentValue=value,this.subscribers.forEach(subscriber=>subscriber.next(value))}error(error){if(this.isClosed)throw new Error("BehaviorSubject is closed");this.isClosed=!0,this.terminatingError=error,this.subscribers.forEach(subscriber=>subscriber.error(error))}complete(){if(this.isClosed)throw new Error("BehaviorSubject is closed");this.isClosed=!0,this.subscribers.forEach(subscriber=>subscriber.complete())}subscribe(onNext,onError,onComplete){const observer="function"==typeof onNext?{next:onNext,error:onError,complete:onComplete}:onNext;return this.observable.subscribe(observer)}}reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(PublishSubject,"PublishSubject","/home/runner/work/backstage/backstage/packages/core-api/src/lib/subjects.ts"),reactHotLoader.register(BehaviorSubject,"BehaviorSubject","/home/runner/work/backstage/backstage/packages/core-api/src/lib/subjects.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},803:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule,_AppThemeSelector__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(804);__webpack_require__.d(__webpack_exports__,"a",(function(){return _AppThemeSelector__WEBPACK_IMPORTED_MODULE_0__.a})),(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},804:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"a",(function(){return AppThemeSelector}));var _lib__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(135),enterModule;function _nullishCoalesce(lhs,rhsFn){return null!=lhs?lhs:rhsFn()}enterModule=__webpack_require__(2).enterModule,enterModule&&enterModule(module);const STORAGE_KEY="theme";class AppThemeSelector{__reactstandin__regenerateByEval(key,code){this[key]=eval(code)}static createWithStorage(themes){const selector=new AppThemeSelector(themes);if(!window.localStorage)return selector;const initialThemeId=_nullishCoalesce(window.localStorage.getItem(STORAGE_KEY),()=>{});return selector.setActiveThemeId(initialThemeId),selector.activeThemeId$().subscribe(themeId=>{themeId?window.localStorage.setItem(STORAGE_KEY,themeId):window.localStorage.removeItem(STORAGE_KEY)}),window.addEventListener("storage",event=>{if(event.key===STORAGE_KEY){const themeId=_nullishCoalesce(localStorage.getItem(STORAGE_KEY),()=>{});selector.setActiveThemeId(themeId)}}),selector}__init(){this.subject=new _lib__WEBPACK_IMPORTED_MODULE_0__.BehaviorSubject(void 0)}constructor(themes){this.themes=themes,AppThemeSelector.prototype.__init.call(this)}getInstalledThemes(){return this.themes.slice()}activeThemeId$(){return this.subject}getActiveThemeId(){return this.activeThemeId}setActiveThemeId(themeId){this.activeThemeId=themeId,this.subject.next(themeId)}}var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(STORAGE_KEY,"STORAGE_KEY","/home/runner/work/backstage/backstage/packages/core-api/src/apis/implementations/AppThemeApi/AppThemeSelector.ts"),reactHotLoader.register(AppThemeSelector,"AppThemeSelector","/home/runner/work/backstage/backstage/packages/core-api/src/apis/implementations/AppThemeApi/AppThemeSelector.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},805:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule;__webpack_require__(806),__webpack_require__(807);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},806:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule;function _optionalChain(ops){let lastAccessLHS=void 0,value=ops[0],i=1;for(;i<ops.length;){const op=ops[i],fn=ops[i+1];if(i+=2,("optionalAccess"===op||"optionalCall"===op)&&null==value)return;"access"===op||"optionalAccess"===op?(lastAccessLHS=value,value=fn(value)):"call"!==op&&"optionalCall"!==op||(value=fn((...args)=>value.call(lastAccessLHS,...args)),lastAccessLHS=void 0)}return value}enterModule=__webpack_require__(2).enterModule,enterModule&&enterModule(module);class ErrorAlerter{__reactstandin__regenerateByEval(key,code){this[key]=eval(code)}constructor(alertApi,errorApi){this.alertApi=alertApi,this.errorApi=errorApi}post(error,context){return _optionalChain([context,"optionalAccess",_=>_.hidden])||this.alertApi.post({message:error.message,severity:"error"}),this.errorApi.post(error,context)}error$(){return this.errorApi.error$()}}reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(ErrorAlerter,"ErrorAlerter","/home/runner/work/backstage/backstage/packages/core-api/src/apis/implementations/ErrorApi/ErrorAlerter.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},807:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var _lib__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(135),enterModule,reactHotLoader,leaveModule;enterModule=__webpack_require__(2).enterModule,enterModule&&enterModule(module);class ErrorApiForwarder{__reactstandin__regenerateByEval(key,code){this[key]=eval(code)}constructor(){ErrorApiForwarder.prototype.__init.call(this)}__init(){this.subject=new _lib__WEBPACK_IMPORTED_MODULE_0__.PublishSubject}post(error,context){this.subject.next({error:error,context:context})}error$(){return this.subject}}reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(ErrorApiForwarder,"ErrorApiForwarder","/home/runner/work/backstage/backstage/packages/core-api/src/apis/implementations/ErrorApi/ErrorApiForwarder.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},808:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule;__webpack_require__(809);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},809:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var _OAuthPendingRequests__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(907),_lib__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(135),enterModule,reactHotLoader,leaveModule;enterModule=__webpack_require__(2).enterModule,enterModule&&enterModule(module);class OAuthRequestManager{__reactstandin__regenerateByEval(key,code){this[key]=eval(code)}constructor(){OAuthRequestManager.prototype.__init.call(this),OAuthRequestManager.prototype.__init2.call(this),OAuthRequestManager.prototype.__init3.call(this)}__init(){this.subject=new _lib__WEBPACK_IMPORTED_MODULE_1__.BehaviorSubject([])}__init2(){this.currentRequests=[]}__init3(){this.handlerCount=0}createAuthRequester(options){const handler=new _OAuthPendingRequests__WEBPACK_IMPORTED_MODULE_0__.a,index=this.handlerCount;return this.handlerCount++,handler.pending().subscribe({next:scopeRequest=>{const newRequests=this.currentRequests.slice(),request=this.makeAuthRequest(scopeRequest,options);request?newRequests[index]=request:delete newRequests[index],this.currentRequests=newRequests,this.subject.next(newRequests.filter(Boolean))}}),scopes=>handler.request(scopes)}makeAuthRequest(request,options){const{scopes:scopes}=request;if(scopes)return{provider:options.provider,trigger:async()=>{const result=await options.onAuthRequest(scopes);request.resolve(result)},reject:()=>{const error=new Error("Login failed, rejected by user");error.name="RejectedError",request.reject(error)}}}authRequest$(){return this.subject}}reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(OAuthRequestManager,"OAuthRequestManager","/home/runner/work/backstage/backstage/packages/core-api/src/apis/implementations/OAuthRequestApi/OAuthRequestManager.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},810:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__(301),__webpack_require__(238);var enterModule,reactHotLoader,leaveModule,_types__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(811);__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_2__,"ApiProvider")&&__webpack_require__.d(__webpack_exports__,"ApiProvider",(function(){return _types__WEBPACK_IMPORTED_MODULE_2__.ApiProvider})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_2__,"ApiRegistry")&&__webpack_require__.d(__webpack_exports__,"ApiRegistry",(function(){return _types__WEBPACK_IMPORTED_MODULE_2__.ApiRegistry})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_2__,"alertApiRef")&&__webpack_require__.d(__webpack_exports__,"alertApiRef",(function(){return _types__WEBPACK_IMPORTED_MODULE_2__.alertApiRef})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_2__,"appThemeApiRef")&&__webpack_require__.d(__webpack_exports__,"appThemeApiRef",(function(){return _types__WEBPACK_IMPORTED_MODULE_2__.appThemeApiRef})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_2__,"defaultSystemIcons")&&__webpack_require__.d(__webpack_exports__,"defaultSystemIcons",(function(){return _types__WEBPACK_IMPORTED_MODULE_2__.defaultSystemIcons})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_2__,"errorApiRef")&&__webpack_require__.d(__webpack_exports__,"errorApiRef",(function(){return _types__WEBPACK_IMPORTED_MODULE_2__.errorApiRef})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_2__,"oauthRequestApiRef")&&__webpack_require__.d(__webpack_exports__,"oauthRequestApiRef",(function(){return _types__WEBPACK_IMPORTED_MODULE_2__.oauthRequestApiRef})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_2__,"useApi")&&__webpack_require__.d(__webpack_exports__,"useApi",(function(){return _types__WEBPACK_IMPORTED_MODULE_2__.useApi})),(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},811:function(module,exports,__webpack_require__){(function(module){var enterModule,reactHotLoader,leaveModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(89)(module))},812:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var _icons__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(813);__webpack_require__.d(__webpack_exports__,"defaultSystemIcons",(function(){return _icons__WEBPACK_IMPORTED_MODULE_0__.a}));var enterModule,reactHotLoader,leaveModule,_types__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(814);__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_1__,"ApiProvider")&&__webpack_require__.d(__webpack_exports__,"ApiProvider",(function(){return _types__WEBPACK_IMPORTED_MODULE_1__.ApiProvider})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_1__,"ApiRegistry")&&__webpack_require__.d(__webpack_exports__,"ApiRegistry",(function(){return _types__WEBPACK_IMPORTED_MODULE_1__.ApiRegistry})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_1__,"alertApiRef")&&__webpack_require__.d(__webpack_exports__,"alertApiRef",(function(){return _types__WEBPACK_IMPORTED_MODULE_1__.alertApiRef})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_1__,"appThemeApiRef")&&__webpack_require__.d(__webpack_exports__,"appThemeApiRef",(function(){return _types__WEBPACK_IMPORTED_MODULE_1__.appThemeApiRef})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_1__,"errorApiRef")&&__webpack_require__.d(__webpack_exports__,"errorApiRef",(function(){return _types__WEBPACK_IMPORTED_MODULE_1__.errorApiRef})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_1__,"oauthRequestApiRef")&&__webpack_require__.d(__webpack_exports__,"oauthRequestApiRef",(function(){return _types__WEBPACK_IMPORTED_MODULE_1__.oauthRequestApiRef})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_1__,"useApi")&&__webpack_require__.d(__webpack_exports__,"useApi",(function(){return _types__WEBPACK_IMPORTED_MODULE_1__.useApi})),(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},813:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"a",(function(){return defaultSystemIcons}));var _material_ui_icons_People__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(409),_material_ui_icons_People__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_material_ui_icons_People__WEBPACK_IMPORTED_MODULE_0__),_material_ui_icons_Person__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(908),_material_ui_icons_Person__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_material_ui_icons_Person__WEBPACK_IMPORTED_MODULE_1__),react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__),_app_AppContext__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(238);var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const defaultSystemIcons={user:_material_ui_icons_Person__WEBPACK_IMPORTED_MODULE_1___default.a,group:_material_ui_icons_People__WEBPACK_IMPORTED_MODULE_0___default.a},overridableSystemIcon=key=>props=>{const Icon=Object(_app_AppContext__WEBPACK_IMPORTED_MODULE_3__.b)().getSystemIcon(key);return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(Icon,{...props,__self:void 0,__source:{fileName:"/home/runner/work/backstage/backstage/packages/core-api/src/icons/icons.tsx",lineNumber:33}})},UserIcon=overridableSystemIcon("user"),GroupIcon=overridableSystemIcon("group");var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(defaultSystemIcons,"defaultSystemIcons","/home/runner/work/backstage/backstage/packages/core-api/src/icons/icons.tsx"),reactHotLoader.register(overridableSystemIcon,"overridableSystemIcon","/home/runner/work/backstage/backstage/packages/core-api/src/icons/icons.tsx"),reactHotLoader.register(UserIcon,"UserIcon","/home/runner/work/backstage/backstage/packages/core-api/src/icons/icons.tsx"),reactHotLoader.register(GroupIcon,"GroupIcon","/home/runner/work/backstage/backstage/packages/core-api/src/icons/icons.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},814:function(module,exports,__webpack_require__){(function(module){var enterModule,reactHotLoader,leaveModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(89)(module))},815:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__(816);var enterModule,reactHotLoader,leaveModule,_types__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(817);__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_1__,"ApiProvider")&&__webpack_require__.d(__webpack_exports__,"ApiProvider",(function(){return _types__WEBPACK_IMPORTED_MODULE_1__.ApiProvider})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_1__,"ApiRegistry")&&__webpack_require__.d(__webpack_exports__,"ApiRegistry",(function(){return _types__WEBPACK_IMPORTED_MODULE_1__.ApiRegistry})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_1__,"alertApiRef")&&__webpack_require__.d(__webpack_exports__,"alertApiRef",(function(){return _types__WEBPACK_IMPORTED_MODULE_1__.alertApiRef})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_1__,"appThemeApiRef")&&__webpack_require__.d(__webpack_exports__,"appThemeApiRef",(function(){return _types__WEBPACK_IMPORTED_MODULE_1__.appThemeApiRef})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_1__,"defaultSystemIcons")&&__webpack_require__.d(__webpack_exports__,"defaultSystemIcons",(function(){return _types__WEBPACK_IMPORTED_MODULE_1__.defaultSystemIcons})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_1__,"errorApiRef")&&__webpack_require__.d(__webpack_exports__,"errorApiRef",(function(){return _types__WEBPACK_IMPORTED_MODULE_1__.errorApiRef})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_1__,"oauthRequestApiRef")&&__webpack_require__.d(__webpack_exports__,"oauthRequestApiRef",(function(){return _types__WEBPACK_IMPORTED_MODULE_1__.oauthRequestApiRef})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_1__,"useApi")&&__webpack_require__.d(__webpack_exports__,"useApi",(function(){return _types__WEBPACK_IMPORTED_MODULE_1__.useApi})),(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},816:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var _app_FeatureFlags__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(301),enterModule,reactHotLoader,leaveModule;enterModule=__webpack_require__(2).enterModule,enterModule&&enterModule(module);class PluginImpl{__reactstandin__regenerateByEval(key,code){this[key]=eval(code)}constructor(config){this.config=config}getId(){return this.config.id}output(){if(this.storedOutput)return this.storedOutput;if(!this.config.register)return[];const outputs=new Array;return this.config.register({router:{addRoute(target,component,options){outputs.push({type:"route",target:target,component:component,options:options})},registerRoute(path,component,options){outputs.push({type:"legacy-route",path:path,component:component,options:options})},registerRedirect(path,target,options){outputs.push({type:"redirect-route",path:path,target:target,options:options})}},featureFlags:{register(name){Object(_app_FeatureFlags__WEBPACK_IMPORTED_MODULE_0__.a)(),Object(_app_FeatureFlags__WEBPACK_IMPORTED_MODULE_0__.b)(name),outputs.push({type:"feature-flag",name:name})}}}),this.storedOutput=outputs,this.storedOutput}toString(){return`plugin{${this.config.id}}`}}function createPlugin(config){return new PluginImpl(config)}reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(PluginImpl,"PluginImpl","/home/runner/work/backstage/backstage/packages/core-api/src/plugin/Plugin.tsx"),reactHotLoader.register(createPlugin,"createPlugin","/home/runner/work/backstage/backstage/packages/core-api/src/plugin/Plugin.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},817:function(module,exports,__webpack_require__){(function(module){var enterModule,reactHotLoader,leaveModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(89)(module))},818:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var _types__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(819);__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_0__,"ApiProvider")&&__webpack_require__.d(__webpack_exports__,"ApiProvider",(function(){return _types__WEBPACK_IMPORTED_MODULE_0__.ApiProvider})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_0__,"ApiRegistry")&&__webpack_require__.d(__webpack_exports__,"ApiRegistry",(function(){return _types__WEBPACK_IMPORTED_MODULE_0__.ApiRegistry})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_0__,"alertApiRef")&&__webpack_require__.d(__webpack_exports__,"alertApiRef",(function(){return _types__WEBPACK_IMPORTED_MODULE_0__.alertApiRef})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_0__,"appThemeApiRef")&&__webpack_require__.d(__webpack_exports__,"appThemeApiRef",(function(){return _types__WEBPACK_IMPORTED_MODULE_0__.appThemeApiRef})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_0__,"defaultSystemIcons")&&__webpack_require__.d(__webpack_exports__,"defaultSystemIcons",(function(){return _types__WEBPACK_IMPORTED_MODULE_0__.defaultSystemIcons})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_0__,"errorApiRef")&&__webpack_require__.d(__webpack_exports__,"errorApiRef",(function(){return _types__WEBPACK_IMPORTED_MODULE_0__.errorApiRef})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_0__,"oauthRequestApiRef")&&__webpack_require__.d(__webpack_exports__,"oauthRequestApiRef",(function(){return _types__WEBPACK_IMPORTED_MODULE_0__.oauthRequestApiRef})),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_0__,"useApi")&&__webpack_require__.d(__webpack_exports__,"useApi",(function(){return _types__WEBPACK_IMPORTED_MODULE_0__.useApi}));var enterModule,reactHotLoader,leaveModule;__webpack_require__(820);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},819:function(module,exports,__webpack_require__){(function(module){var enterModule,reactHotLoader,leaveModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(89)(module))},820:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule;enterModule=__webpack_require__(2).enterModule,enterModule&&enterModule(module);class MutableRouteRef{__reactstandin__regenerateByEval(key,code){this[key]=eval(code)}__init(){this.effectiveConfig=this.config}constructor(config){this.config=config,MutableRouteRef.prototype.__init.call(this)}override(overrideConfig){this.effectiveConfig={...this.config,...overrideConfig}}get icon(){return this.effectiveConfig.icon}get path(){return this.effectiveConfig.path}get title(){return this.effectiveConfig.title}}function createRouteRef(config){return new MutableRouteRef(config)}reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(MutableRouteRef,"MutableRouteRef","/home/runner/work/backstage/backstage/packages/core-api/src/routing/RouteRef.ts"),reactHotLoader.register(createRouteRef,"createRouteRef","/home/runner/work/backstage/backstage/packages/core-api/src/routing/RouteRef.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},821:function(module,exports,__webpack_require__){(function(module){var enterModule,reactHotLoader,leaveModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(89)(module))},822:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"a",(function(){return PrivateAppImpl}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),react_router_dom__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(29),_AppContext__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(238),_apis_definitions__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(237),_AppThemeProvider__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(910),_apis__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(137),_apis_ApiAggregator__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(911);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core-api/src/app/App.tsx";var enterModule,reactHotLoader,leaveModule;enterModule=__webpack_require__(2).enterModule,enterModule&&enterModule(module);class PrivateAppImpl{__reactstandin__regenerateByEval(key,code){this[key]=eval(code)}constructor(options){this.apis=options.apis,this.icons=options.icons,this.plugins=options.plugins,this.components=options.components,this.themes=options.themes}getApis(){return this.apis}getPlugins(){return this.plugins}getSystemIcon(key){return this.icons[key]}getRootComponent(){const routes=new Array,registeredFeatureFlags=new Array,{NotFoundErrorPage:NotFoundErrorPage}=this.components;for(const plugin of this.plugins.values())for(const output of plugin.output())switch(output.type){case"legacy-route":{const{path:path,component:component,options:options={}}=output,{exact:exact=!0}=options;routes.push(react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_1__.c,{key:path,path:path,component:component,exact:exact,__self:this,__source:{fileName:_jsxFileName,lineNumber:85}}));break}case"route":{const{target:target,component:component,options:options={}}=output,{exact:exact=!0}=options;routes.push(react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_1__.c,{key:`${plugin.getId()}-${target.path}`,path:target.path,component:component,exact:exact,__self:this,__source:{fileName:_jsxFileName,lineNumber:98}}));break}case"redirect-route":{const{path:path,target:target,options:options={}}=output,{exact:exact=!0}=options;routes.push(react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_1__.b,{key:path,path:path,to:target,exact:exact,__self:this,__source:{fileName:_jsxFileName,lineNumber:111}}));break}case"feature-flag":registeredFeatureFlags.push({pluginId:plugin.getId(),name:output.name})}const FeatureFlags=this.apis&&this.apis.get(_apis_definitions__WEBPACK_IMPORTED_MODULE_3__.e);FeatureFlags&&(FeatureFlags.registeredFeatureFlags=registeredFeatureFlags);const rendered=react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_1__.e,{__self:this,__source:{fileName:_jsxFileName,lineNumber:134}},routes,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_1__.c,{component:NotFoundErrorPage,__self:this,__source:{fileName:_jsxFileName,lineNumber:136}}));return()=>rendered}getProvider(){const appApis=_apis__WEBPACK_IMPORTED_MODULE_5__.ApiRegistry.from([[_apis__WEBPACK_IMPORTED_MODULE_5__.appThemeApiRef,_apis__WEBPACK_IMPORTED_MODULE_5__.AppThemeSelector.createWithStorage(this.themes)]]),apis=new _apis_ApiAggregator__WEBPACK_IMPORTED_MODULE_6__.a(this.apis,appApis);return({children:children})=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_apis__WEBPACK_IMPORTED_MODULE_5__.ApiProvider,{apis:apis,__self:this,__source:{fileName:_jsxFileName,lineNumber:150}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_AppContext__WEBPACK_IMPORTED_MODULE_2__.a,{app:this,__self:this,__source:{fileName:_jsxFileName,lineNumber:151}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_AppThemeProvider__WEBPACK_IMPORTED_MODULE_4__.a,{__self:this,__source:{fileName:_jsxFileName,lineNumber:152}},children)))}verify(){const pluginIds=new Set;for(const plugin of this.plugins){const id=plugin.getId();if(pluginIds.has(id))throw new Error(`Duplicate plugin found '${id}'`);pluginIds.add(id)}}}reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(PrivateAppImpl,"PrivateAppImpl","/home/runner/work/backstage/backstage/packages/core-api/src/app/App.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},823:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule;__webpack_require__(824);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},824:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_backstage_core_api__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(50),_layout_ErrorPage__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(912),_backstage_theme__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(252);var enterModule;function _nullishCoalesce(lhs,rhsFn){return null!=lhs?lhs:rhsFn()}function _optionalChain(ops){let lastAccessLHS=void 0,value=ops[0],i=1;for(;i<ops.length;){const op=ops[i],fn=ops[i+1];if(i+=2,("optionalAccess"===op||"optionalCall"===op)&&null==value)return;"access"===op||"optionalAccess"===op?(lastAccessLHS=value,value=fn(value)):"call"!==op&&"optionalCall"!==op||(value=fn((...args)=>value.call(lastAccessLHS,...args)),lastAccessLHS=void 0)}return value}(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const{PrivateAppImpl:PrivateAppImpl}=_backstage_core_api__WEBPACK_IMPORTED_MODULE_1__.default;function createApp(options){const apis=_nullishCoalesce(_optionalChain([options,"optionalAccess",_=>_.apis]),()=>_backstage_core_api__WEBPACK_IMPORTED_MODULE_1__.ApiRegistry.from([])),icons={..._backstage_core_api__WEBPACK_IMPORTED_MODULE_1__.defaultSystemIcons,..._optionalChain([options,"optionalAccess",_2=>_2.icons])},plugins=_nullishCoalesce(_optionalChain([options,"optionalAccess",_3=>_3.plugins]),()=>[]),components={NotFoundErrorPage:()=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_layout_ErrorPage__WEBPACK_IMPORTED_MODULE_2__.a,{status:"404",statusMessage:"PAGE NOT FOUND",__self:this,__source:{fileName:"/home/runner/work/backstage/backstage/packages/core/src/api/createApp.tsx",lineNumber:39}}),..._optionalChain([options,"optionalAccess",_4=>_4.components])},themes=_nullishCoalesce(_optionalChain([options,"optionalAccess",_5=>_5.themes]),()=>[{id:"light",title:"Light Theme",variant:"light",theme:_backstage_theme__WEBPACK_IMPORTED_MODULE_3__.lightTheme},{id:"dark",title:"Dark Theme",variant:"dark",theme:_backstage_theme__WEBPACK_IMPORTED_MODULE_3__.darkTheme}]),app=new PrivateAppImpl({apis:apis,icons:icons,plugins:plugins,components:components,themes:themes});return app.verify(),app}var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(createApp,"createApp","/home/runner/work/backstage/backstage/packages/core/src/api/createApp.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},825:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_material_ui_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(46),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(21),_material_ui_core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(142),_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(23),_MicDrop__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(913),react_router__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(29);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/layout/ErrorPage/ErrorPage.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useStyles=Object(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_4__.a)(theme=>({container:{padding:theme.spacing(8)},title:{paddingBottom:theme.spacing(5)},subtitle:{color:theme.palette.textSubtle}})),ErrorPage=({status:status,statusMessage:statusMessage})=>{const classes=useStyles(),history=Object(react_router__WEBPACK_IMPORTED_MODULE_6__.h)();return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a,{container:!0,className:classes.container,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:46}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_MicDrop__WEBPACK_IMPORTED_MODULE_5__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:47}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a,{item:!0,xs:12,sm:4,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:48}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{variant:"body1",className:classes.subtitle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:49}},"ERROR ",status,": ",statusMessage),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{variant:"h2",className:classes.title,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:52}},"Looks like someone dropped the mic!"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{variant:"h6",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:55}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_3__.a,{"data-testid":"go-back-link",onClick:history.goBack,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:56}},"Go back"),"... or if you think this is a bug, please file an"," ",react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_3__.a,{href:"https://github.com/spotify/backstage/issues",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:60}},"issue."))))};let _default;var reactHotLoader,leaveModule;__webpack_exports__.a=_default=ErrorPage,reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(useStyles,"useStyles","/home/runner/work/backstage/backstage/packages/core/src/layout/ErrorPage/ErrorPage.tsx"),reactHotLoader.register(ErrorPage,"ErrorPage","/home/runner/work/backstage/backstage/packages/core/src/layout/ErrorPage/ErrorPage.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/layout/ErrorPage/ErrorPage.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},826:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule;__webpack_require__(108);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},827:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule;__webpack_require__(183);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},828:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var _material_ui_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(23),_material_ui_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(21),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(142),react__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/layout/HeaderLabel/HeaderLabel.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_0__.a)(theme=>({root:{textAlign:"left",margin:theme.spacing(2),display:"inline-block"},label:{color:"#FFFFFF",fontWeight:"bold",lineHeight:"16px",letterSpacing:0,fontSize:14,height:"16px",marginBottom:2},value:{color:"rgba(255, 255, 255, 0.8)",lineHeight:"16px",fontSize:14,height:"16px"}})),HeaderLabelContent=({value:value,className:className})=>react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a,{className:className,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:51}},value),HeaderLabel=({label:label,value:value,url:url})=>{const classes=useStyles(),content=react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(HeaderLabelContent,{className:classes.value,value:value||"<Unknown>",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:62}});return react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("span",{className:classes.root,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:68}},react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a,{className:classes.label,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:69}},label),url?react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{href:url,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:70}},content):content)};let _default;var reactHotLoader,leaveModule;__webpack_exports__.a=_default=HeaderLabel,reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(useStyles,"useStyles","/home/runner/work/backstage/backstage/packages/core/src/layout/HeaderLabel/HeaderLabel.tsx"),reactHotLoader.register(HeaderLabelContent,"HeaderLabelContent","/home/runner/work/backstage/backstage/packages/core/src/layout/HeaderLabel/HeaderLabel.tsx"),reactHotLoader.register(HeaderLabel,"HeaderLabel","/home/runner/work/backstage/backstage/packages/core/src/layout/HeaderLabel/HeaderLabel.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/layout/HeaderLabel/HeaderLabel.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},829:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule;__webpack_require__(830);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},830:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_HeaderLabel__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(121);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/layout/HomepageTimer/HomepageTimer.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const timeFormat={hour:"2-digit",minute:"2-digit"},utcOptions={timeZone:"UTC",...timeFormat},nycOptions={timeZone:"America/New_York",...timeFormat},tyoOptions={timeZone:"Asia/Tokyo",...timeFormat},stoOptions={timeZone:"Europe/Stockholm",...timeFormat},defaultTimes={timeNY:"",timeUTC:"",timeTYO:"",timeSTO:""};function getTimes(){const d=new Date,lang=window.navigator.language;return{timeNY:d.toLocaleTimeString(lang,nycOptions),timeUTC:d.toLocaleTimeString(lang,utcOptions),timeTYO:d.toLocaleTimeString(lang,tyoOptions),timeSTO:d.toLocaleTimeString(lang,stoOptions)}}const HomePageTimer=()=>{const[{timeNY:timeNY,timeUTC:timeUTC,timeTYO:timeTYO,timeSTO:timeSTO},setTimes]=react__WEBPACK_IMPORTED_MODULE_0___default.a.useState(defaultTimes);return react__WEBPACK_IMPORTED_MODULE_0___default.a.useEffect(()=>{setTimes(getTimes());const intervalId=setInterval(()=>{setTimes(getTimes())},1e3);return()=>{clearInterval(intervalId)}},[]),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0___default.a.Fragment,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_HeaderLabel__WEBPACK_IMPORTED_MODULE_1__.a,{label:"NYC",value:timeNY,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:66}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_HeaderLabel__WEBPACK_IMPORTED_MODULE_1__.a,{label:"UTC",value:timeUTC,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:67}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_HeaderLabel__WEBPACK_IMPORTED_MODULE_1__.a,{label:"STO",value:timeSTO,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:68}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_HeaderLabel__WEBPACK_IMPORTED_MODULE_1__.a,{label:"TYO",value:timeTYO,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:69}}))};let _default;var reactHotLoader,leaveModule;_default=HomePageTimer;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(timeFormat,"timeFormat","/home/runner/work/backstage/backstage/packages/core/src/layout/HomepageTimer/HomepageTimer.tsx"),reactHotLoader.register(utcOptions,"utcOptions","/home/runner/work/backstage/backstage/packages/core/src/layout/HomepageTimer/HomepageTimer.tsx"),reactHotLoader.register(nycOptions,"nycOptions","/home/runner/work/backstage/backstage/packages/core/src/layout/HomepageTimer/HomepageTimer.tsx"),reactHotLoader.register(tyoOptions,"tyoOptions","/home/runner/work/backstage/backstage/packages/core/src/layout/HomepageTimer/HomepageTimer.tsx"),reactHotLoader.register(stoOptions,"stoOptions","/home/runner/work/backstage/backstage/packages/core/src/layout/HomepageTimer/HomepageTimer.tsx"),reactHotLoader.register(defaultTimes,"defaultTimes","/home/runner/work/backstage/backstage/packages/core/src/layout/HomepageTimer/HomepageTimer.tsx"),reactHotLoader.register(getTimes,"getTimes","/home/runner/work/backstage/backstage/packages/core/src/layout/HomepageTimer/HomepageTimer.tsx"),reactHotLoader.register(HomePageTimer,"HomePageTimer","/home/runner/work/backstage/backstage/packages/core/src/layout/HomepageTimer/HomepageTimer.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/layout/HomepageTimer/HomepageTimer.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},831:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_material_ui_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(23),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(432),_material_ui_core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(142),_material_ui_core__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(157),_material_ui_core__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(253),_material_ui_core__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(574),_material_ui_icons_ArrowForward__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(919),_material_ui_icons_ArrowForward__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(_material_ui_icons_ArrowForward__WEBPACK_IMPORTED_MODULE_7__),_material_ui_core_Box__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(396);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/layout/BottomLink/BottomLink.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a)(theme=>({root:{maxWidth:"fit-content",padding:theme.spacing(2,2,2,2.5)},boxTitle:{margin:0,color:theme.palette.textSubtle},arrow:{color:theme.palette.textSubtle}})),BottomLink=({link:link,title:title,onClick:onClick})=>{const classes=useStyles();return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:54}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:55}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_3__.a,{href:link,onClick:onClick,underline:"none",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:56}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_4__.a,{className:classes.root,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:57}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_5__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:58}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core_Box__WEBPACK_IMPORTED_MODULE_8__.a,{className:classes.boxTitle,fontWeight:"fontWeightBold",m:1,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:59}},title)),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_6__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:63}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_icons_ArrowForward__WEBPACK_IMPORTED_MODULE_7___default.a,{className:classes.arrow,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:64}})))))};let _default;var reactHotLoader,leaveModule;__webpack_exports__.a=_default=BottomLink,reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(useStyles,"useStyles","/home/runner/work/backstage/backstage/packages/core/src/layout/BottomLink/BottomLink.tsx"),reactHotLoader.register(BottomLink,"BottomLink","/home/runner/work/backstage/backstage/packages/core/src/layout/BottomLink/BottomLink.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/layout/BottomLink/BottomLink.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},832:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"b",(function(){return TabbedCard})),__webpack_require__.d(__webpack_exports__,"a",(function(){return CardTab}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_material_ui_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(23),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6),_material_ui_core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(956),_material_ui_core__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(958),_material_ui_core__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(1827),_material_ui_core__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(432),_material_ui_core__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(959),_material_ui_core__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(1806),_BottomLink__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(411),_ErrorBoundary_ErrorBoundary__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(395);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/layout/TabbedCard/TabbedCard.tsx";var enterModule;function _optionalChain(ops){let lastAccessLHS=void 0,value=ops[0],i=1;for(;i<ops.length;){const op=ops[i],fn=ops[i+1];if(i+=2,("optionalAccess"===op||"optionalCall"===op)&&null==value)return;"access"===op||"optionalAccess"===op?(lastAccessLHS=value,value=fn(value)):"call"!==op&&"optionalCall"!==op||(value=fn((...args)=>value.call(lastAccessLHS,...args)),lastAccessLHS=void 0)}return value}(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useTabsStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a)(theme=>({root:{padding:theme.spacing(0,2,0,2.5),minHeight:theme.spacing(3)},indicator:{backgroundColor:theme.palette.info.main,height:theme.spacing(.3)}})),BoldHeader=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a)(theme=>({root:{padding:theme.spacing(2,2,2,2.5),display:"inline-block"},title:{fontWeight:700},subheader:{paddingTop:theme.spacing(1)}}))(_material_ui_core__WEBPACK_IMPORTED_MODULE_3__.a),TabbedCard=({slackChannel:slackChannel="#backstage",children:children,title:title,deepLink:deepLink,value:value,onChange:onChange})=>{const tabsClasses=useTabsStyles(),[selectedIndex,selectIndex]=Object(react__WEBPACK_IMPORTED_MODULE_0__.useState)(0),handleChange=onChange||((_ev,newSelectedIndex)=>selectIndex(newSelectedIndex));let selectedTabContent;return value?react__WEBPACK_IMPORTED_MODULE_0___default.a.Children.map(children,child=>{_optionalChain([child,"optionalAccess",_3=>_3.props,"access",_4=>_4.value])===value&&(selectedTabContent=_optionalChain([child,"optionalAccess",_5=>_5.props,"access",_6=>_6.children]))}):react__WEBPACK_IMPORTED_MODULE_0___default.a.Children.map(children,(child,index)=>{index===selectedIndex&&(selectedTabContent=_optionalChain([child,"optionalAccess",_=>_.props,"access",_2=>_2.children]))}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_4__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:86}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_ErrorBoundary_ErrorBoundary__WEBPACK_IMPORTED_MODULE_10__.a,{slackChannel:slackChannel,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:87}},title&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(BoldHeader,{title:title,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:88}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_5__.a,{classes:tabsClasses,value:value||selectedIndex,onChange:handleChange,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:89}},children),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_6__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:96}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_7__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:97}},selectedTabContent),deepLink&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_BottomLink__WEBPACK_IMPORTED_MODULE_9__.a,{...deepLink,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:98}})))},useCardTabStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a)(theme=>({root:{minWidth:theme.spacing(6),minHeight:theme.spacing(3),margin:theme.spacing(0,2,0,0),padding:theme.spacing(.5,0,.5,0),textTransform:"none"},selected:{fontWeight:"bold"}})),CardTab=({children:children,...props})=>{const classes=useCardTabStyles();return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_8__.a,{disableRipple:!0,classes:classes,...props,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:124}})};var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(useTabsStyles,"useTabsStyles","/home/runner/work/backstage/backstage/packages/core/src/layout/TabbedCard/TabbedCard.tsx"),reactHotLoader.register(BoldHeader,"BoldHeader","/home/runner/work/backstage/backstage/packages/core/src/layout/TabbedCard/TabbedCard.tsx"),reactHotLoader.register(TabbedCard,"TabbedCard","/home/runner/work/backstage/backstage/packages/core/src/layout/TabbedCard/TabbedCard.tsx"),reactHotLoader.register(useCardTabStyles,"useCardTabStyles","/home/runner/work/backstage/backstage/packages/core/src/layout/TabbedCard/TabbedCard.tsx"),reactHotLoader.register(CardTab,"CardTab","/home/runner/work/backstage/backstage/packages/core/src/layout/TabbedCard/TabbedCard.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},833:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"a",(function(){return Sidebar}));var _material_ui_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(23),clsx__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(3),react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__),_config__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(38),_hooks_useSidebarPinState__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(920);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Bar.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_0__.a)(theme=>({root:{zIndex:1e3,position:"relative",overflow:"visible",width:theme.spacing(7)+1},drawer:{display:"flex",flexFlow:"column nowrap",alignItems:"flex-start",position:"fixed",left:0,top:0,bottom:0,padding:0,background:theme.palette.sidebar,overflowX:"hidden",width:_config__WEBPACK_IMPORTED_MODULE_3__.c.drawerWidthClosed,transition:theme.transitions.create("width",{easing:theme.transitions.easing.sharp,duration:theme.transitions.duration.shortest})},drawerOpen:{width:_config__WEBPACK_IMPORTED_MODULE_3__.c.drawerWidthOpen,transition:theme.transitions.create("width",{easing:theme.transitions.easing.sharp,duration:theme.transitions.duration.shorter})},drawerPeek:{width:_config__WEBPACK_IMPORTED_MODULE_3__.c.drawerWidthClosed+4}}));var State;!function(State){State[State.Closed=0]="Closed";State[State.Peek=1]="Peek";State[State.Open=2]="Open"}(State||(State={}));const Sidebar=({openDelayMs:openDelayMs=_config__WEBPACK_IMPORTED_MODULE_3__.c.defaultOpenDelayMs,closeDelayMs:closeDelayMs=_config__WEBPACK_IMPORTED_MODULE_3__.c.defaultCloseDelayMs,children:children})=>{const classes=useStyles(),[state,setState]=Object(react__WEBPACK_IMPORTED_MODULE_2__.useState)(State.Closed),hoverTimerRef=Object(react__WEBPACK_IMPORTED_MODULE_2__.useRef)(),{isPinned:isPinned}=Object(_hooks_useSidebarPinState__WEBPACK_IMPORTED_MODULE_4__.a)(),handleOpen=()=>{isPinned||(hoverTimerRef.current&&(clearTimeout(hoverTimerRef.current),hoverTimerRef.current=void 0),state!==State.Open&&(hoverTimerRef.current=window.setTimeout(()=>{hoverTimerRef.current=void 0,setState(State.Open)},openDelayMs),setState(State.Peek)))},handleClose=()=>{isPinned||(hoverTimerRef.current&&(clearTimeout(hoverTimerRef.current),hoverTimerRef.current=void 0),state===State.Peek?setState(State.Closed):state===State.Open&&(hoverTimerRef.current=window.setTimeout(()=>{hoverTimerRef.current=void 0,setState(State.Closed)},closeDelayMs)))};return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement("div",{className:classes.root,onMouseEnter:handleOpen,onFocus:handleOpen,onMouseLeave:handleClose,onBlur:handleClose,"data-testid":"sidebar-root",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:118}},react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(_config__WEBPACK_IMPORTED_MODULE_3__.b.Provider,{value:{isOpen:state===State.Open||isPinned},__self:void 0,__source:{fileName:_jsxFileName,lineNumber:126}},react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement("div",{className:Object(clsx__WEBPACK_IMPORTED_MODULE_1__.a)(classes.drawer,{[classes.drawerPeek]:state===State.Peek,[classes.drawerOpen]:state===State.Open||isPinned}),__self:void 0,__source:{fileName:_jsxFileName,lineNumber:131}},children)))};var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(useStyles,"useStyles","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Bar.tsx"),reactHotLoader.register(State,"State","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Bar.tsx"),reactHotLoader.register(Sidebar,"Sidebar","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Bar.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},834:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"a",(function(){return SidebarIntro}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),react_use__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1832),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(23),_material_ui_core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(21),_material_ui_core__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(142),_material_ui_core__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(962),_material_ui_icons_Close__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(248),_material_ui_icons_Close__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(_material_ui_icons_Close__WEBPACK_IMPORTED_MODULE_6__),_config__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(38),_Items__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(177);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Intro.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a)(theme=>({introCard:{color:"#b5b5b5",fontSize:12,width:_config__WEBPACK_IMPORTED_MODULE_7__.c.drawerWidthOpen,marginTop:18,marginBottom:12,paddingLeft:_config__WEBPACK_IMPORTED_MODULE_7__.c.iconPadding,paddingRight:_config__WEBPACK_IMPORTED_MODULE_7__.c.iconPadding},introDismiss:{display:"flex",justifyContent:"flex-end",alignItems:"center",marginTop:12},introDismissLink:{color:"#dddddd",display:"flex",alignItems:"center",marginBottom:4,"&:hover":{color:theme.palette.linkHover,transition:theme.transitions.create("color",{easing:theme.transitions.easing.sharp,duration:theme.transitions.duration.shortest})}},introDismissText:{fontSize:"0.7rem",fontWeight:"bold",textTransform:"uppercase",letterSpacing:1},introDismissIcon:{width:18,height:18,marginRight:12}})),IntroCard=props=>{const classes=useStyles(),{text:text,onClose:onClose}=props;return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{className:classes.introCard,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:83}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_3__.a,{variant:"subtitle2",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:84}},text),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{className:classes.introDismiss,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:85}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_4__.a,{component:"button",onClick:()=>onClose(),underline:"none",className:classes.introDismissLink,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:86}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_icons_Close__WEBPACK_IMPORTED_MODULE_6___default.a,{className:classes.introDismissIcon,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:92}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_3__.a,{component:"span",className:classes.introDismissText,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:93}},"Dismiss"))))},SidebarIntroCard=props=>{const{text:text,onDismiss:onDismiss}=props,[collapsing,setCollapsing]=Object(react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1);return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_5__.a,{in:!collapsing,onExited:onDismiss,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:119}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(IntroCard,{text:text,onClose:()=>{setCollapsing(!0)},__self:void 0,__source:{fileName:_jsxFileName,lineNumber:120}}))},starredIntroText="Fun fact! As you explore all the awesome plugins in Backstage, you can actually pin them to this side nav.\nKeep an eye out for the little star icon (⭐) next to the plugin name and give it a click!",SidebarIntro=()=>{const{isOpen:isOpen}=Object(react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_config__WEBPACK_IMPORTED_MODULE_7__.b),[{starredItemsDismissed:starredItemsDismissed,recentlyViewedItemsDismissed:recentlyViewedItemsDismissed},setDismissedIntro]=Object(react_use__WEBPACK_IMPORTED_MODULE_1__.a)(_config__WEBPACK_IMPORTED_MODULE_7__.a,{starredItemsDismissed:!1,recentlyViewedItemsDismissed:!1});return isOpen?react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0___default.a.Fragment,null,!starredItemsDismissed&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0___default.a.Fragment,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(SidebarIntroCard,{text:starredIntroText,onDismiss:()=>{setDismissedIntro(state=>({...state,starredItemsDismissed:!0}))},__self:void 0,__source:{fileName:_jsxFileName,lineNumber:158}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Items__WEBPACK_IMPORTED_MODULE_8__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:162}})),!recentlyViewedItemsDismissed&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(SidebarIntroCard,{text:"And your recently viewed plugins will pop up here!",onDismiss:()=>{setDismissedIntro(state=>({...state,recentlyViewedItemsDismissed:!0}))},__self:void 0,__source:{fileName:_jsxFileName,lineNumber:166}})):null};var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(useStyles,"useStyles","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Intro.tsx"),reactHotLoader.register(IntroCard,"IntroCard","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Intro.tsx"),reactHotLoader.register(SidebarIntroCard,"SidebarIntroCard","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Intro.tsx"),reactHotLoader.register(starredIntroText,"starredIntroText","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Intro.tsx"),reactHotLoader.register("And your recently viewed plugins will pop up here!","recentlyViewedIntroText","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Intro.tsx"),reactHotLoader.register(SidebarIntro,"SidebarIntro","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/Intro.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},835:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"a",(function(){return SidebarUserBadge}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_material_ui_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(23),_material_ui_icons_People__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(409),_material_ui_icons_People__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(_material_ui_icons_People__WEBPACK_IMPORTED_MODULE_2__),_config__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(38),_Items__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(177),_material_ui_icons_DoubleArrow__WEBPACK_IMPORTED_MODULE_6__=(__webpack_require__(922),__webpack_require__(923)),_material_ui_icons_DoubleArrow__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(_material_ui_icons_DoubleArrow__WEBPACK_IMPORTED_MODULE_6__),_Page__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(397);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/UserBadge.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a)(theme=>({root:{position:"relative"},arrowButtonWrapper:{position:"absolute",right:0,width:20,height:20,top:"calc(50% - 10px)",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"2px 0px 0px 2px",background:theme.palette.pinSidebarButton.icon,color:theme.palette.pinSidebarButton.background,border:"none",outline:"none",cursor:"pointer"},arrowButtonIcon:{transform:({isPinned:isPinned})=>isPinned?"rotate(180deg)":"none"}})),SidebarUserBadge=()=>{const{isOpen:isOpen}=Object(react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_config__WEBPACK_IMPORTED_MODULE_3__.b),{isPinned:isPinned,toggleSidebarPinState:toggleSidebarPinState}=Object(react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_Page__WEBPACK_IMPORTED_MODULE_7__.a),classes=useStyles({isPinned:isPinned});return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{className:classes.root,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:64}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Items__WEBPACK_IMPORTED_MODULE_4__.b,{icon:_material_ui_icons_People__WEBPACK_IMPORTED_MODULE_2___default.a,text:"Log in",to:"/login",disableSelected:!0,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:72}}),isOpen&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("button",{className:classes.arrowButtonWrapper,onClick:toggleSidebarPinState,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:75}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_icons_DoubleArrow__WEBPACK_IMPORTED_MODULE_6___default.a,{className:classes.arrowButtonIcon,style:{fontSize:14},__self:void 0,__source:{fileName:_jsxFileName,lineNumber:79}})))};var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(20,"ARROW_BUTTON_SIZE","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/UserBadge.tsx"),reactHotLoader.register(useStyles,"useStyles","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/UserBadge.tsx"),reactHotLoader.register(SidebarUserBadge,"SidebarUserBadge","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/UserBadge.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},836:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),react_use__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(576),_material_ui_icons_WbSunny__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(926),_material_ui_icons_WbSunny__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(_material_ui_icons_WbSunny__WEBPACK_IMPORTED_MODULE_2__),_material_ui_icons_Brightness2__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(925),_material_ui_icons_Brightness2__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(_material_ui_icons_Brightness2__WEBPACK_IMPORTED_MODULE_3__),_material_ui_icons_BrightnessAuto__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(924),_material_ui_icons_BrightnessAuto__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(_material_ui_icons_BrightnessAuto__WEBPACK_IMPORTED_MODULE_4__),_backstage_core_api__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(50),_Items__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(177);var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const SidebarThemeToggle=()=>{const appThemeApi=Object(_backstage_core_api__WEBPACK_IMPORTED_MODULE_5__.useApi)(_backstage_core_api__WEBPACK_IMPORTED_MODULE_5__.appThemeApiRef),themeId=Object(react_use__WEBPACK_IMPORTED_MODULE_1__.a)(appThemeApi.activeThemeId$(),appThemeApi.getActiveThemeId());let text="Auto",icon=_material_ui_icons_BrightnessAuto__WEBPACK_IMPORTED_MODULE_4___default.a;switch(themeId){case"dark":text="Dark mode",icon=_material_ui_icons_Brightness2__WEBPACK_IMPORTED_MODULE_3___default.a;break;case"light":text="Light mode",icon=_material_ui_icons_WbSunny__WEBPACK_IMPORTED_MODULE_2___default.a}return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Items__WEBPACK_IMPORTED_MODULE_6__.b,{text:text,onClick:()=>{themeId?"light"===themeId?appThemeApi.setActiveThemeId("dark"):appThemeApi.setActiveThemeId(void 0):appThemeApi.setActiveThemeId("light")},icon:icon,__self:void 0,__source:{fileName:"/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/SidebarThemeToggle.tsx",lineNumber:57}})};var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(SidebarThemeToggle,"SidebarThemeToggle","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/SidebarThemeToggle.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},837:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule;__webpack_require__(838);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},838:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_material_ui_icons_GitHub__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(927),_material_ui_icons_GitHub__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_material_ui_icons_GitHub__WEBPACK_IMPORTED_MODULE_1__),_Page__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(51),_Header__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(109),_Content_Content__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(391),_ContentHeader_ContentHeader__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(392),_material_ui_core__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(21),_material_ui_core__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(142),_material_ui_core__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(46),_material_ui_core__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(433),_material_ui_core__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(157),_material_ui_core__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(254),_material_ui_core__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(156),_InfoCard_InfoCard__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(393);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/layout/LoginPage/LoginPage.tsx";var enterModule,AuthType;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),function(AuthType){AuthType[AuthType.GitHub=0]="GitHub"}(AuthType||(AuthType={}));const LoginPage=()=>{const[githubUsername,setGithubUsername]=Object(react__WEBPACK_IMPORTED_MODULE_0__.useState)(String),[githubPersonalAuthToken,setGithubPersonalAuthToken]=Object(react__WEBPACK_IMPORTED_MODULE_0__.useState)(String),[loginDetails,setLoginDetails]=Object(react__WEBPACK_IMPORTED_MODULE_0__.useState)(Object),deleteGithubInfo=()=>{localStorage.removeItem("githubLoginDetails"),setLoginDetails(void 0)},handleTokenRegistration=event=>{switch(event.target.name){case"github-username-tf":setGithubUsername(event.target.value);break;case"github-auth-tf":setGithubPersonalAuthToken(event.target.value)}},fetchGitHubToken=(username,token)=>{fetch("https://api.github.com/user",{headers:new Headers({Authorization:`Basic ${btoa(`${username}:${token}`)}`,"Content-Type":"application/x-www-form-urlencoded"})}).then(response=>{if(200===response.status)return response.json();throw Error(`${response.status} ${response.statusText}`)}).then(data=>{(info=>{localStorage.setItem("githubLoginDetails",JSON.stringify(info)),setLoginDetails(info)})({username:username,token:token,name:data.name||data.login})}).catch(()=>{})};return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Page__WEBPACK_IMPORTED_MODULE_2__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:134}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Header__WEBPACK_IMPORTED_MODULE_3__.a,{title:"Login",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:135}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(()=>{const ls=localStorage.getItem("githubLoginDetails");if(null!==ls){const obj=ls||loginDetails?JSON.parse(ls):loginDetails;return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_6__.a,{variant:"h6",component:"h2",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:119}},`Welcome, ${obj.name}!`,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("br",{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:121}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_7__.a,{onClick:deleteGithubInfo,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:122}},"Logout"))}return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_6__.a,{variant:"h6",component:"h2",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:127}},"Welcome, guest!")},{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:136}})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Content_Content__WEBPACK_IMPORTED_MODULE_4__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:138}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_ContentHeader_ContentHeader__WEBPACK_IMPORTED_MODULE_5__.a,{title:"Choose a method to authenticate",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:139}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_8__.a,{container:!0,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:140}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_8__.a,{item:!0,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:141}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_InfoCard_InfoCard__WEBPACK_IMPORTED_MODULE_13__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:142}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_6__.a,{variant:"h6",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:143}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_icons_GitHub__WEBPACK_IMPORTED_MODULE_1___default.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:144}})," GitHub"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_9__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:146}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_10__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:147}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_11__.a,{name:"github-username-tf",label:"Username",onChange:handleTokenRegistration,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:148}})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_10__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:154}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_11__.a,{name:"github-auth-tf",label:"Token",onChange:handleTokenRegistration,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:155}})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_10__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:161}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_12__.a,{"data-testid":"github-auth-button",variant:"outlined",color:"primary",onClick:()=>(type=>{switch(type){case AuthType.GitHub:{const username=githubUsername,token=githubPersonalAuthToken;((username,token)=>null!=username&&""!==username&&(null!=token&&""!==token))(username,token)&&fetchGitHubToken(username,token)}}})(AuthType.GitHub),__self:void 0,__source:{fileName:_jsxFileName,lineNumber:162}},"Authenticate"))))))))};var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(AuthType,"AuthType","/home/runner/work/backstage/backstage/packages/core/src/layout/LoginPage/LoginPage.tsx"),reactHotLoader.register(LoginPage,"LoginPage","/home/runner/work/backstage/backstage/packages/core/src/layout/LoginPage/LoginPage.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},839:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule;__webpack_require__(840);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},840:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_material_ui_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(953),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(185),_material_ui_icons_Close__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(248),_material_ui_icons_Close__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(_material_ui_icons_Close__WEBPACK_IMPORTED_MODULE_3__),_material_ui_lab__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(1826),_backstage_core_api__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(50);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/AlertDisplay/AlertDisplay.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const AlertDisplay=()=>{const[messages,setMessages]=Object(react__WEBPACK_IMPORTED_MODULE_0__.useState)([]),alertApi=Object(_backstage_core_api__WEBPACK_IMPORTED_MODULE_5__.useApi)(_backstage_core_api__WEBPACK_IMPORTED_MODULE_5__.alertApiRef);if(Object(react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{const subscription=alertApi.alert$().subscribe(message=>setMessages(msgs=>msgs.concat(message)));return()=>{subscription.unsubscribe()}},[alertApi]),0===messages.length)return null;const[firstMessage]=messages;return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a,{open:!0,message:firstMessage.message.toString(),anchorOrigin:{vertical:"top",horizontal:"center"},__self:void 0,__source:{fileName:_jsxFileName,lineNumber:51}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_lab__WEBPACK_IMPORTED_MODULE_4__.a,{action:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{color:"inherit",size:"small",onClick:()=>{setMessages(msgs=>msgs.filter(msg=>msg!==firstMessage))},"data-testid":"error-button-close",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:58}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_icons_Close__WEBPACK_IMPORTED_MODULE_3___default.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:64}})),severity:firstMessage.severity,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:56}},firstMessage.message.toString()))};var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(AlertDisplay,"AlertDisplay","/home/runner/work/backstage/backstage/packages/core/src/components/AlertDisplay/AlertDisplay.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},841:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule;__webpack_require__(304);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},842:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_material_ui_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(23),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(310),_material_ui_core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(185),prop_types__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(5),prop_types__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__),_material_ui_icons_FileCopy__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(928),_material_ui_icons_FileCopy__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(_material_ui_icons_FileCopy__WEBPACK_IMPORTED_MODULE_5__),_backstage_core_api__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(50);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/CopyTextButton/CopyTextButton.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a)(theme=>({button:{"&:hover":{backgroundColor:theme.palette.highlight,cursor:"pointer"}}})),defaultProps={tooltipDelay:1e3,tooltipText:"Text copied to clipboard"},CopyTextButton=props=>{const{text:text,tooltipDelay:tooltipDelay,tooltipText:tooltipText}={...defaultProps,...props},classes=useStyles(props),errorApi=Object(_backstage_core_api__WEBPACK_IMPORTED_MODULE_6__.useApi)(_backstage_core_api__WEBPACK_IMPORTED_MODULE_6__.errorApiRef),inputRef=Object(react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),[open,setOpen]=Object(react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1);return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0___default.a.Fragment,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("input",{ref:inputRef,type:"text",style:{position:"absolute",top:-9999,left:9999},defaultValue:text,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:85}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{id:"copy-test-tooltip",title:tooltipText,placement:"top",leaveDelay:tooltipDelay,onClose:()=>setOpen(!1),open:open,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:91}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_3__.a,{onClick:e=>{e.stopPropagation(),setOpen(!0);try{inputRef.current&&(inputRef.current.select(),document.execCommand("copy"))}catch(error){errorApi.post(error)}},className:classes.button,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:99}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_icons_FileCopy__WEBPACK_IMPORTED_MODULE_5___default.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:100}}))))};let _default;var reactHotLoader,leaveModule;CopyTextButton.propTypes={text:prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string.isRequired,tooltipDelay:prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number,tooltipText:prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string},__webpack_exports__.a=_default=CopyTextButton,reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(useStyles,"useStyles","/home/runner/work/backstage/backstage/packages/core/src/components/CopyTextButton/CopyTextButton.tsx"),reactHotLoader.register(defaultProps,"defaultProps","/home/runner/work/backstage/backstage/packages/core/src/components/CopyTextButton/CopyTextButton.tsx"),reactHotLoader.register(CopyTextButton,"CopyTextButton","/home/runner/work/backstage/backstage/packages/core/src/components/CopyTextButton/CopyTextButton.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/CopyTextButton/CopyTextButton.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},843:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_material_ui_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(552);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/Progress/Progress.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const Progress=props=>{const[isVisible,setIsVisible]=Object(react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1);return Object(react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{const handle=setTimeout(()=>setIsVisible(!0),250);return()=>clearTimeout(handle)},[]),isVisible?react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a,{...props,"data-testid":"progress",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:29}}):react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:{display:"none"},"data-testid":"progress",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:31}})};let _default;var reactHotLoader,leaveModule;__webpack_exports__.a=_default=Progress,reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(Progress,"Progress","/home/runner/work/backstage/backstage/packages/core/src/components/Progress/Progress.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/Progress/Progress.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},844:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_material_ui_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(23),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(21),_material_ui_core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(1815),_material_ui_core__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(1816),_material_ui_core__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(1817),_SimpleStepperFooter__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(564);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper/SimpleStepperStep.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a)(theme=>({end:{padding:theme.spacing(3)}})),Step=({title:title,children:children,end:end,actions:actions,...muiProps})=>{const classes=useStyles();return end?react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{className:classes.end,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:68}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{variant:"h6",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:69}},title),children,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_SimpleStepperFooter__WEBPACK_IMPORTED_MODULE_6__.a,{actions:{...actions||{},showNext:!1},__self:void 0,__source:{fileName:_jsxFileName,lineNumber:71}})):react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_3__.a,{...muiProps,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:74}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_4__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:75}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{variant:"h6",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:76}},title)),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_5__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:78}},children,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_SimpleStepperFooter__WEBPACK_IMPORTED_MODULE_6__.a,{actions:actions,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:80}})))};let _default;var reactHotLoader,leaveModule;__webpack_exports__.a=_default=Step,reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(useStyles,"useStyles","/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper/SimpleStepperStep.tsx"),reactHotLoader.register(Step,"Step","/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper/SimpleStepperStep.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/SimpleStepper/SimpleStepperStep.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},845:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule;__webpack_require__(846);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},846:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var _material_ui_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(23),_material_ui_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1819),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1821),_material_ui_core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(1822),_material_ui_core__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(433),_material_ui_core__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(1823),_material_ui_core__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(156),react__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__),react_use__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(576),_LoginRequestListItem__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(929),_backstage_core_api__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(50);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/OAuthRequestDialog/OAuthRequestDialog.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_0__.a)(theme=>({dialog:{paddingTop:theme.spacing(1)},title:{minWidth:0},contentList:{padding:0}})),OAuthRequestDialog=()=>{const classes=useStyles(),[busy,setBusy]=Object(react__WEBPACK_IMPORTED_MODULE_7__.useState)(!1),oauthRequestApi=Object(_backstage_core_api__WEBPACK_IMPORTED_MODULE_10__.useApi)(_backstage_core_api__WEBPACK_IMPORTED_MODULE_10__.oauthRequestApiRef),requests=Object(react_use__WEBPACK_IMPORTED_MODULE_8__.a)(Object(react__WEBPACK_IMPORTED_MODULE_7__.useMemo)(()=>oauthRequestApi.authRequest$(),[oauthRequestApi]),[]);return react__WEBPACK_IMPORTED_MODULE_7___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a,{open:Boolean(requests.length),fullWidth:!0,maxWidth:"xs",classes:{paper:classes.dialog},__self:void 0,__source:{fileName:_jsxFileName,lineNumber:60}},react__WEBPACK_IMPORTED_MODULE_7___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{classes:{root:classes.title},__self:void 0,__source:{fileName:_jsxFileName,lineNumber:66}},"Login Required"),react__WEBPACK_IMPORTED_MODULE_7___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_3__.a,{classes:{root:classes.contentList},__self:void 0,__source:{fileName:_jsxFileName,lineNumber:70}},react__WEBPACK_IMPORTED_MODULE_7___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_4__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:71}},requests.map(request=>react__WEBPACK_IMPORTED_MODULE_7___default.a.createElement(_LoginRequestListItem__WEBPACK_IMPORTED_MODULE_9__.a,{key:request.provider.title,request:request,busy:busy,setBusy:setBusy,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:73}})))),react__WEBPACK_IMPORTED_MODULE_7___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_5__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:83}},react__WEBPACK_IMPORTED_MODULE_7___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_6__.a,{onClick:()=>{requests.forEach(request=>request.reject())},__self:void 0,__source:{fileName:_jsxFileName,lineNumber:84}},"Reject All")))};var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(useStyles,"useStyles","/home/runner/work/backstage/backstage/packages/core/src/components/OAuthRequestDialog/OAuthRequestDialog.tsx"),reactHotLoader.register(OAuthRequestDialog,"OAuthRequestDialog","/home/runner/work/backstage/backstage/packages/core/src/components/OAuthRequestDialog/OAuthRequestDialog.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},847:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule;__webpack_require__(184);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},848:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule;__webpack_require__(849);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},849:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_material_ui_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(23),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(156),_material_ui_core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(961),_material_ui_core__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(433),_material_ui_core__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(157),_material_ui_core__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(574),_material_ui_core__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(253),_material_ui_core__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(142),_material_ui_core__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(21),_material_ui_icons_Group__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(565),_material_ui_icons_Group__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(_material_ui_icons_Group__WEBPACK_IMPORTED_MODULE_10__),_material_ui_icons_Help__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(930),_material_ui_icons_Help__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(_material_ui_icons_Help__WEBPACK_IMPORTED_MODULE_11__);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/SupportButton/SupportButton.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a)(theme=>({leftIcon:{marginRight:theme.spacing(1)},popoverList:{minWidth:260,maxWidth:320}})),SupportButton=({slackChannel:slackChannel="#backstage",email:email=[],children:children})=>{const[popoverOpen,setPopoverOpen]=Object(react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[anchorEl,setAnchorEl]=Object(react__WEBPACK_IMPORTED_MODULE_0__.useState)(null),classes=useStyles(),slackChannels=Array.isArray(slackChannel)?slackChannel:[slackChannel],contactEmails=Array.isArray(email)?email:[email];return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:80}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{"data-testid":"support-button",color:"primary",onClick:event=>{setAnchorEl(event.currentTarget),setPopoverOpen(!0)},__self:void 0,__source:{fileName:_jsxFileName,lineNumber:81}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_icons_Help__WEBPACK_IMPORTED_MODULE_11___default.a,{className:classes.leftIcon,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:86}}),"Support"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_3__.a,{open:popoverOpen,anchorEl:anchorEl,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},onClose:()=>{setPopoverOpen(!1)},__self:void 0,__source:{fileName:_jsxFileName,lineNumber:89}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_4__.a,{className:classes.popoverList,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:102}},react__WEBPACK_IMPORTED_MODULE_0___default.a.Children.map(children,(child,i)=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_5__.a,{alignItems:"flex-start",key:i,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:104}},child)),slackChannels&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_5__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:118}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_6__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:119}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_icons_Group__WEBPACK_IMPORTED_MODULE_10___default.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:120}})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_7__.a,{primary:"Support",secondary:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:125}},slackChannels.map((channel,i)=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_8__.a,{key:i,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:127}},channel))),__self:void 0,__source:{fileName:_jsxFileName,lineNumber:122}})),contactEmails.length>0&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_5__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:135}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_6__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:136}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_icons_Group__WEBPACK_IMPORTED_MODULE_10___default.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:137}})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_7__.a,{primary:"Contact",secondary:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:142}},contactEmails.map((em,index)=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_9__.a,{key:index,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:144}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_8__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:145}},em)))),__self:void 0,__source:{fileName:_jsxFileName,lineNumber:139}})))))};let _default;var reactHotLoader,leaveModule;_default=SupportButton;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(useStyles,"useStyles","/home/runner/work/backstage/backstage/packages/core/src/components/SupportButton/SupportButton.tsx"),reactHotLoader.register(SupportButton,"SupportButton","/home/runner/work/backstage/backstage/packages/core/src/components/SupportButton/SupportButton.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/SupportButton/SupportButton.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},850:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),material_table__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(314),material_table__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(material_table__WEBPACK_IMPORTED_MODULE_1__),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(23),_material_ui_core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(22),_material_ui_core__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(21),_material_ui_icons_AddBox__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(935),_material_ui_icons_AddBox__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(_material_ui_icons_AddBox__WEBPACK_IMPORTED_MODULE_5__),_material_ui_icons_ArrowUpward__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(943),_material_ui_icons_ArrowUpward__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(_material_ui_icons_ArrowUpward__WEBPACK_IMPORTED_MODULE_6__),_material_ui_icons_Check__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(936),_material_ui_icons_Check__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(_material_ui_icons_Check__WEBPACK_IMPORTED_MODULE_7__),_material_ui_icons_ChevronLeft__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(417),_material_ui_icons_ChevronLeft__WEBPACK_IMPORTED_MODULE_8___default=__webpack_require__.n(_material_ui_icons_ChevronLeft__WEBPACK_IMPORTED_MODULE_8__),_material_ui_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(313),_material_ui_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_9___default=__webpack_require__.n(_material_ui_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_9__),_material_ui_icons_Clear__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(568),_material_ui_icons_Clear__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(_material_ui_icons_Clear__WEBPACK_IMPORTED_MODULE_10__),_material_ui_icons_DeleteOutline__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(937),_material_ui_icons_DeleteOutline__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(_material_ui_icons_DeleteOutline__WEBPACK_IMPORTED_MODULE_11__),_material_ui_icons_Edit__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(938),_material_ui_icons_Edit__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(_material_ui_icons_Edit__WEBPACK_IMPORTED_MODULE_12__),_material_ui_icons_FilterList__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(940),_material_ui_icons_FilterList__WEBPACK_IMPORTED_MODULE_13___default=__webpack_require__.n(_material_ui_icons_FilterList__WEBPACK_IMPORTED_MODULE_13__),_material_ui_icons_FirstPage__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(941),_material_ui_icons_FirstPage__WEBPACK_IMPORTED_MODULE_14___default=__webpack_require__.n(_material_ui_icons_FirstPage__WEBPACK_IMPORTED_MODULE_14__),_material_ui_icons_LastPage__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(942),_material_ui_icons_LastPage__WEBPACK_IMPORTED_MODULE_15___default=__webpack_require__.n(_material_ui_icons_LastPage__WEBPACK_IMPORTED_MODULE_15__),_material_ui_icons_Remove__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(944),_material_ui_icons_Remove__WEBPACK_IMPORTED_MODULE_16___default=__webpack_require__.n(_material_ui_icons_Remove__WEBPACK_IMPORTED_MODULE_16__),_material_ui_icons_SaveAlt__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(939),_material_ui_icons_SaveAlt__WEBPACK_IMPORTED_MODULE_17___default=__webpack_require__.n(_material_ui_icons_SaveAlt__WEBPACK_IMPORTED_MODULE_17__),_material_ui_icons_Search__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(412),_material_ui_icons_Search__WEBPACK_IMPORTED_MODULE_18___default=__webpack_require__.n(_material_ui_icons_Search__WEBPACK_IMPORTED_MODULE_18__),_material_ui_icons_ViewColumn__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(945),_material_ui_icons_ViewColumn__WEBPACK_IMPORTED_MODULE_19___default=__webpack_require__.n(_material_ui_icons_ViewColumn__WEBPACK_IMPORTED_MODULE_19__);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/Table/Table.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const tableIcons={Add:Object(react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)((props,ref)=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_icons_AddBox__WEBPACK_IMPORTED_MODULE_5___default.a,{...props,ref:ref,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:48}})),Check:Object(react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)((props,ref)=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_icons_Check__WEBPACK_IMPORTED_MODULE_7___default.a,{...props,ref:ref,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:51}})),Clear:Object(react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)((props,ref)=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_icons_Clear__WEBPACK_IMPORTED_MODULE_10___default.a,{...props,ref:ref,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:54}})),Delete:Object(react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)((props,ref)=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_icons_DeleteOutline__WEBPACK_IMPORTED_MODULE_11___default.a,{...props,ref:ref,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:57}})),DetailPanel:Object(react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)((props,ref)=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_9___default.a,{...props,ref:ref,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:60}})),Edit:Object(react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)((props,ref)=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_icons_Edit__WEBPACK_IMPORTED_MODULE_12___default.a,{...props,ref:ref,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:63}})),Export:Object(react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)((props,ref)=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_icons_SaveAlt__WEBPACK_IMPORTED_MODULE_17___default.a,{...props,ref:ref,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:66}})),Filter:Object(react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)((props,ref)=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_icons_FilterList__WEBPACK_IMPORTED_MODULE_13___default.a,{...props,ref:ref,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:69}})),FirstPage:Object(react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)((props,ref)=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_icons_FirstPage__WEBPACK_IMPORTED_MODULE_14___default.a,{...props,ref:ref,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:72}})),LastPage:Object(react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)((props,ref)=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_icons_LastPage__WEBPACK_IMPORTED_MODULE_15___default.a,{...props,ref:ref,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:75}})),NextPage:Object(react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)((props,ref)=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_9___default.a,{...props,ref:ref,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:78}})),PreviousPage:Object(react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)((props,ref)=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_icons_ChevronLeft__WEBPACK_IMPORTED_MODULE_8___default.a,{...props,ref:ref,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:81}})),ResetSearch:Object(react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)((props,ref)=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_icons_Clear__WEBPACK_IMPORTED_MODULE_10___default.a,{...props,ref:ref,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:84}})),Search:Object(react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)((props,ref)=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_icons_Search__WEBPACK_IMPORTED_MODULE_18___default.a,{...props,ref:ref,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:87}})),SortArrow:Object(react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)((props,ref)=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_icons_ArrowUpward__WEBPACK_IMPORTED_MODULE_6___default.a,{...props,ref:ref,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:90}})),ThirdStateCheck:Object(react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)((props,ref)=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_icons_Remove__WEBPACK_IMPORTED_MODULE_16___default.a,{...props,ref:ref,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:93}})),ViewColumn:Object(react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)((props,ref)=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_icons_ViewColumn__WEBPACK_IMPORTED_MODULE_19___default.a,{...props,ref:ref,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:96}}))},useCellStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a)(theme=>({root:{color:theme.palette.grey[500],padding:theme.spacing(0,2,0,2.5),height:"56px"}})),useHeaderStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a)(theme=>({header:{padding:theme.spacing(1,2,1,2.5),borderTop:`1px solid ${theme.palette.grey.A100}`,borderBottom:`1px solid ${theme.palette.grey.A100}`,color:theme.palette.textSubtle,fontWeight:theme.typography.fontWeightBold,position:"static"}})),useToolbarStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a)(theme=>({root:{padding:theme.spacing(3,0,2.5,2.5)},title:{"& > h6":{fontWeight:"bold"}},searchField:{paddingRight:theme.spacing(2)}})),convertColumns=(columns,theme)=>columns.map(column=>{const headerStyle={},cellStyle={};return column.highlight&&(headerStyle.color=theme.palette.textContrast,cellStyle.fontWeight=theme.typography.fontWeightBold),{...column,headerStyle:headerStyle,cellStyle:cellStyle}}),Table=({columns:columns,options:options,title:title,subtitle:subtitle,...props})=>{const cellClasses=useCellStyles(),headerClasses=useHeaderStyles(),toolbarClasses=useToolbarStyles(),theme=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_3__.a)(),MTColumns=convertColumns(columns,theme);return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(material_table__WEBPACK_IMPORTED_MODULE_1___default.a,{components:{Cell:cellProps=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(material_table__WEBPACK_IMPORTED_MODULE_1__.MTableCell,{className:cellClasses.root,...cellProps,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:188}}),Header:headerProps=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(material_table__WEBPACK_IMPORTED_MODULE_1__.MTableHeader,{classes:headerClasses,...headerProps,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:191}}),Toolbar:toolbarProps=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(material_table__WEBPACK_IMPORTED_MODULE_1__.MTableToolbar,{classes:toolbarClasses,...toolbarProps,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:194}})},options:{headerStyle:{textTransform:"uppercase"},...options},columns:MTColumns,icons:tableIcons,title:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0___default.a.Fragment,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_4__.a,{variant:"h5",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:202}},title),subtitle&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_4__.a,{color:"textSecondary",variant:"body1",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:204}},subtitle)),...props,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:185}})};let _default;var reactHotLoader,leaveModule;__webpack_exports__.a=_default=Table,reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(tableIcons,"tableIcons","/home/runner/work/backstage/backstage/packages/core/src/components/Table/Table.tsx"),reactHotLoader.register(useCellStyles,"useCellStyles","/home/runner/work/backstage/backstage/packages/core/src/components/Table/Table.tsx"),reactHotLoader.register(useHeaderStyles,"useHeaderStyles","/home/runner/work/backstage/backstage/packages/core/src/components/Table/Table.tsx"),reactHotLoader.register(useToolbarStyles,"useToolbarStyles","/home/runner/work/backstage/backstage/packages/core/src/components/Table/Table.tsx"),reactHotLoader.register(convertColumns,"convertColumns","/home/runner/work/backstage/backstage/packages/core/src/components/Table/Table.tsx"),reactHotLoader.register(Table,"Table","/home/runner/work/backstage/backstage/packages/core/src/components/Table/Table.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/Table/Table.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},87:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule;__webpack_require__.d(__webpack_exports__,"a",(function(){return createApiRef})),enterModule=__webpack_require__(2).enterModule,enterModule&&enterModule(module);class ApiRefImpl{__reactstandin__regenerateByEval(key,code){this[key]=eval(code)}constructor(config){if(this.config=config,!config.id.split(".").flatMap(part=>part.split("-")).every(part=>part.match(/^[a-z][a-z0-9]*$/)))throw new Error(`API id must only contain period separated lowercase alphanum tokens with dashes, got '${config.id}'`)}get id(){return this.config.id}get description(){return this.config.description}get T(){throw new Error(`tried to read ApiRef.T of ${this}`)}toString(){return`apiRef{${this.config.id}}`}}function createApiRef(config){return new ApiRefImpl(config)}reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(ApiRefImpl,"ApiRefImpl","/home/runner/work/backstage/backstage/packages/core-api/src/apis/ApiRef.ts"),reactHotLoader.register(createApiRef,"createApiRef","/home/runner/work/backstage/backstage/packages/core-api/src/apis/ApiRef.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},874:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_material_ui_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(23);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/Table/SubvalueCell.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useSubvalueCellStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a)(theme=>({value:{marginBottom:"6px"},subvalue:{color:theme.palette.textSubtle,fontWeight:"normal"}})),SubvalueCell=({value:value,subvalue:subvalue})=>{const classes=useSubvalueCellStyles();return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0___default.a.Fragment,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{className:classes.value,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:41}},value),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{className:classes.subvalue,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:42}},subvalue))};let _default;var reactHotLoader,leaveModule;__webpack_exports__.a=_default=SubvalueCell,reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(useSubvalueCellStyles,"useSubvalueCellStyles","/home/runner/work/backstage/backstage/packages/core/src/components/Table/SubvalueCell.tsx"),reactHotLoader.register(SubvalueCell,"SubvalueCell","/home/runner/work/backstage/backstage/packages/core/src/components/Table/SubvalueCell.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/Table/SubvalueCell.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},875:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"a",(function(){return StructuredMetadataTable}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_material_ui_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(212),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6),lodash_startCase__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(569),lodash_startCase__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(lodash_startCase__WEBPACK_IMPORTED_MODULE_3__),_MetadataTable__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(213);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/StructuredMetadataTable.tsx";var enterModule;enterModule=__webpack_require__(2).enterModule,enterModule&&enterModule(module);const listStyle=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a)({root:{margin:"0 0",listStyleType:"none"}}),nestedListStyle=theme=>Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a)({root:{...listStyle.root,paddingLeft:theme.spacing(1)}});function renderList(list,nested){const values=list.map((item,index)=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_MetadataTable__WEBPACK_IMPORTED_MODULE_4__.b,{key:index,__self:this,__source:{fileName:_jsxFileName,lineNumber:45}},toValue(item)));return nested?react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(StyledNestedList,{__self:this,__source:{fileName:_jsxFileName,lineNumber:48}},values):react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(StyledList,{__self:this,__source:{fileName:_jsxFileName,lineNumber:50}},values)}function renderMap(map,nested,options){const values=Object.keys(map).map(key=>{const value=toValue(map[key],!0),fmtKey=options&&options.titleFormat?options.titleFormat(key):lodash_startCase__WEBPACK_IMPORTED_MODULE_3___default()(key);return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_MetadataTable__WEBPACK_IMPORTED_MODULE_4__.b,{key:key,__self:this,__source:{fileName:_jsxFileName,lineNumber:66}},`${fmtKey}: `,value)});return nested?react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(StyledNestedList,{__self:this,__source:{fileName:_jsxFileName,lineNumber:74}},values):react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(StyledList,{__self:this,__source:{fileName:_jsxFileName,lineNumber:76}},values)}function toValue(value,options,nested){return react__WEBPACK_IMPORTED_MODULE_0___default.a.isValidElement(value)?react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,{__self:this,__source:{fileName:_jsxFileName,lineNumber:86}},value):"object"!=typeof value||Array.isArray(value)?Array.isArray(value)?renderList(value,nested):react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,{__self:this,__source:{fileName:_jsxFileName,lineNumber:97}},value):renderMap(value,options,nested)}function mapToItems(info,options){return Object.keys(info).map(key=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(TableItem,{key:key,title:key,value:info[key],options:options,__self:this,__source:{fileName:_jsxFileName,lineNumber:102}}))}const StyledList=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a)(listStyle)(({classes:classes,children:children})=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_MetadataTable__WEBPACK_IMPORTED_MODULE_4__.a,{classes:classes,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:113}},children)),StyledNestedList=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a)(nestedListStyle)(({classes:classes,children:children})=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_MetadataTable__WEBPACK_IMPORTED_MODULE_4__.a,{classes:classes,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:118}},children)),ItemValue=({value:value,options:options})=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:121}},toValue(value,options)),TableItem=({title:title,value:value,options:options})=>react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_MetadataTable__WEBPACK_IMPORTED_MODULE_4__.d,{title:options&&options.titleFormat?options.titleFormat(title):lodash_startCase__WEBPACK_IMPORTED_MODULE_3___default()(title),__self:void 0,__source:{fileName:_jsxFileName,lineNumber:133}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(ItemValue,{value:value,options:options,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:140}}));class StructuredMetadataTable extends react__WEBPACK_IMPORTED_MODULE_0__.Component{__reactstandin__regenerateByEval(key,code){this[key]=eval(code)}render(){const{metadata:metadata,dense:dense,options:options}=this.props,metadataItems=mapToItems(metadata,options||{});return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_MetadataTable__WEBPACK_IMPORTED_MODULE_4__.c,{dense:dense,__self:this,__source:{fileName:_jsxFileName,lineNumber:155}},metadataItems)}}var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(listStyle,"listStyle","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/StructuredMetadataTable.tsx"),reactHotLoader.register(nestedListStyle,"nestedListStyle","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/StructuredMetadataTable.tsx"),reactHotLoader.register(renderList,"renderList","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/StructuredMetadataTable.tsx"),reactHotLoader.register(renderMap,"renderMap","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/StructuredMetadataTable.tsx"),reactHotLoader.register(toValue,"toValue","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/StructuredMetadataTable.tsx"),reactHotLoader.register(mapToItems,"mapToItems","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/StructuredMetadataTable.tsx"),reactHotLoader.register(StyledList,"StyledList","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/StructuredMetadataTable.tsx"),reactHotLoader.register(StyledNestedList,"StyledNestedList","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/StructuredMetadataTable.tsx"),reactHotLoader.register(ItemValue,"ItemValue","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/StructuredMetadataTable.tsx"),reactHotLoader.register(TableItem,"TableItem","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/StructuredMetadataTable.tsx"),reactHotLoader.register(StructuredMetadataTable,"StructuredMetadataTable","/home/runner/work/backstage/backstage/packages/core/src/components/StructuredMetadataTable/StructuredMetadataTable.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},877:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),react_sparklines__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(570),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(22);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/TrendLine/TrendLine.tsx";var enterModule;function color(data,theme){const lastNum=data[data.length-1];if(lastNum)return lastNum>=.9?theme.palette.status.ok:lastNum>=.5?theme.palette.status.warning:theme.palette.status.error}(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const Trendline=props=>{const theme=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a)();return props.data?react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react_sparklines__WEBPACK_IMPORTED_MODULE_1__.Sparklines,{width:120,height:30,min:0,max:1,...props,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:35}},props.title&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("title",{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:36}},props.title),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react_sparklines__WEBPACK_IMPORTED_MODULE_1__.SparklinesLine,{color:color(props.data,theme),__self:void 0,__source:{fileName:_jsxFileName,lineNumber:37}})):null};let _default;var reactHotLoader,leaveModule;__webpack_exports__.a=_default=Trendline,reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(color,"color","/home/runner/work/backstage/backstage/packages/core/src/components/TrendLine/TrendLine.tsx"),reactHotLoader.register(Trendline,"Trendline","/home/runner/work/backstage/backstage/packages/core/src/components/TrendLine/TrendLine.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/TrendLine/TrendLine.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},878:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var _material_ui_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(23),_material_ui_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(954),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(21),react__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__),react_dom__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(24),_lib_usePortal__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(946),_lib_useShowCallout__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(947);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/FeatureDiscovery/FeatureCalloutCircular.tsx";var enterModule;function _optionalChain(ops){let lastAccessLHS=void 0,value=ops[0],i=1;for(;i<ops.length;){const op=ops[i],fn=ops[i+1];if(i+=2,("optionalAccess"===op||"optionalCall"===op)&&null==value)return;"access"===op||"optionalAccess"===op?(lastAccessLHS=value,value=fn(value)):"call"!==op&&"optionalCall"!==op||(value=fn((...args)=>value.call(lastAccessLHS,...args)),lastAccessLHS=void 0)}return value}(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_0__.a)({"@keyframes pulsateSlightly":{"0%":{transform:"scale(1.0)"},"100%":{transform:"scale(1.1)"}},"@keyframes pulsateAndFade":{"0%":{transform:"scale(1.0)",opacity:.9},"100%":{transform:"scale(1.5)",opacity:0}},featureWrapper:{position:"relative"},backdrop:{zIndex:2e3,position:"fixed",overflow:"hidden",left:0,right:0,top:0,bottom:0},dot:{position:"absolute",backgroundColor:"transparent",borderRadius:"100%",border:"1px solid rgba(103, 146, 180, 0.98)",boxShadow:"0px 0px 0px 20000px rgba(0, 0, 0, 0.5)",zIndex:2001,transformOrigin:"center center",animation:"$pulsateSlightly 1744ms 1.2s cubic-bezier(0.4, 0, 0.2, 1) alternate infinite"},pulseCircle:{width:"100%",height:"100%",backgroundColor:"transparent",borderRadius:"100%",border:"2px solid white",zIndex:2001,transformOrigin:"center center",animation:"$pulsateAndFade 872ms 1.2s cubic-bezier(0.4, 0, 0.2, 1) infinite"},text:{position:"absolute",color:"white",zIndex:2003}}),FeatureCalloutCircular=({featureId:featureId,title:title,description:description,children:children})=>{const{show:show,hide:hide}=Object(_lib_useShowCallout__WEBPACK_IMPORTED_MODULE_6__.a)(featureId),portalElement=Object(_lib_usePortal__WEBPACK_IMPORTED_MODULE_5__.a)("core.callout"),wrapperRef=Object(react__WEBPACK_IMPORTED_MODULE_3__.useRef)(null),[placement,setPlacement]=Object(react__WEBPACK_IMPORTED_MODULE_3__.useState)(),classes=useStyles(),update=Object(react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(()=>{if(wrapperRef.current){const wrapperBounds=wrapperRef.current.getBoundingClientRect(),longest=Math.max(wrapperBounds.width,wrapperBounds.height),borderWidth=800,dotLeft=wrapperBounds.x-(longest-wrapperBounds.width)/2-borderWidth,dotTop=wrapperBounds.y-(longest-wrapperBounds.height)/2-borderWidth,dotSize=longest+2*borderWidth,textWidth=450,textLeft=wrapperBounds.x+wrapperBounds.width/2-textWidth,textTop=wrapperBounds.y-(longest-wrapperBounds.height)/2+longest+20;setPlacement({dotLeft:dotLeft,dotTop:dotTop,dotSize:dotSize,borderWidth:borderWidth,textTop:textTop,textLeft:textLeft,textWidth:textWidth})}},[]);return Object(react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(()=>(window.addEventListener("resize",update),window.addEventListener("scroll",update),()=>{window.removeEventListener("resize",update),window.removeEventListener("scroll",update)}),[]),Object(react__WEBPACK_IMPORTED_MODULE_3__.useLayoutEffect)(update,[wrapperRef.current]),show?react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_3___default.a.Fragment,null,react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("div",{className:classes.featureWrapper,ref:wrapperRef,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:154}},children),Object(react_dom__WEBPACK_IMPORTED_MODULE_4__.createPortal)(react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("div",{className:classes.backdrop,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:158}},react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a,{onClickAway:hide,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:159}},react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_3___default.a.Fragment,null,react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("div",{className:classes.dot,style:{left:_optionalChain([placement,"optionalAccess",_=>_.dotLeft]),top:_optionalChain([placement,"optionalAccess",_2=>_2.dotTop]),width:_optionalChain([placement,"optionalAccess",_3=>_3.dotSize]),height:_optionalChain([placement,"optionalAccess",_4=>_4.dotSize]),borderWidth:_optionalChain([placement,"optionalAccess",_5=>_5.borderWidth])},onClick:hide,onKeyDown:hide,role:"button",tabIndex:0,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:161}},react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("div",{className:classes.pulseCircle,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:175}})),react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("div",{className:classes.text,style:{left:_optionalChain([placement,"optionalAccess",_6=>_6.textLeft]),top:_optionalChain([placement,"optionalAccess",_7=>_7.textTop]),width:_optionalChain([placement,"optionalAccess",_8=>_8.textWidth])},__self:void 0,__source:{fileName:_jsxFileName,lineNumber:177}},react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{variant:"h2",paragraph:!0,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:185}},title),react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:188}},description))))),portalElement)):react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_3___default.a.Fragment,null,children)};var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(useStyles,"useStyles","/home/runner/work/backstage/backstage/packages/core/src/components/FeatureDiscovery/FeatureCalloutCircular.tsx"),reactHotLoader.register(FeatureCalloutCircular,"FeatureCalloutCircular","/home/runner/work/backstage/backstage/packages/core/src/components/FeatureDiscovery/FeatureCalloutCircular.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},879:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule;__webpack_require__(56);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},880:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_material_ui_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(23),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(21),_material_ui_icons_ErrorOutline__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(948),_material_ui_icons_ErrorOutline__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(_material_ui_icons_ErrorOutline__WEBPACK_IMPORTED_MODULE_3__);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/WarningPanel/WarningPanel.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useErrorOutlineStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a)(theme=>({root:{marginRight:theme.spacing(1),fill:theme.palette.warningText}})),ErrorOutlineStyled=()=>{const classes=useErrorOutlineStyles();return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_icons_ErrorOutline__WEBPACK_IMPORTED_MODULE_3___default.a,{classes:classes,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:30}})},useStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a)(theme=>({message:{display:"flex",flexDirection:"column",padding:theme.spacing(1.5),backgroundColor:theme.palette.warningBackground,color:theme.palette.warningText,verticalAlign:"middle"},header:{display:"flex",flexDirection:"row",marginBottom:theme.spacing(1)},headerText:{color:theme.palette.warningText},messageText:{color:theme.palette.warningText}})),WarningPanel=props=>{const classes=useStyles(props),{title:title,message:message,children:children}=props;return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{className:classes.message,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:69}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{className:classes.header,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:70}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(ErrorOutlineStyled,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:71}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{className:classes.headerText,variant:"subtitle1",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:72}},title)),message&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{className:classes.messageText,variant:"body2",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:77}},message),children)};let _default;var reactHotLoader,leaveModule;__webpack_exports__.a=_default=WarningPanel,reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(useErrorOutlineStyles,"useErrorOutlineStyles","/home/runner/work/backstage/backstage/packages/core/src/components/WarningPanel/WarningPanel.tsx"),reactHotLoader.register(ErrorOutlineStyled,"ErrorOutlineStyled","/home/runner/work/backstage/backstage/packages/core/src/components/WarningPanel/WarningPanel.tsx"),reactHotLoader.register(useStyles,"useStyles","/home/runner/work/backstage/backstage/packages/core/src/components/WarningPanel/WarningPanel.tsx"),reactHotLoader.register(WarningPanel,"WarningPanel","/home/runner/work/backstage/backstage/packages/core/src/components/WarningPanel/WarningPanel.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/WarningPanel/WarningPanel.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},905:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__(50),__webpack_require__(823),__webpack_require__(51),__webpack_require__(826);var _layout_Content_Content__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(391);__webpack_require__.d(__webpack_exports__,"Content",(function(){return _layout_Content_Content__WEBPACK_IMPORTED_MODULE_4__.a}));var enterModule,reactHotLoader,leaveModule;__webpack_require__(392),__webpack_require__(827),__webpack_require__(366),__webpack_require__(121),__webpack_require__(829),__webpack_require__(55),__webpack_require__(61),__webpack_require__(394),__webpack_require__(72),__webpack_require__(837),__webpack_require__(839),__webpack_require__(841),__webpack_require__(101),__webpack_require__(240),__webpack_require__(207),__webpack_require__(208),__webpack_require__(305),__webpack_require__(80),__webpack_require__(845),__webpack_require__(847),__webpack_require__(848),__webpack_require__(93),__webpack_require__(306),__webpack_require__(45),__webpack_require__(878),__webpack_require__(879),__webpack_require__(251);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},907:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"a",(function(){return OAuthPendingRequests}));var _lib__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(135),enterModule,reactHotLoader,leaveModule;function hasScopes(searched,searchFor){for(const scope of searchFor)if(!searched.has(scope))return!1;return!0}function joinScopes(scopes,...moreScopess){const result=new Set(scopes);for(const moreScopes of moreScopess)for(const scope of moreScopes)result.add(scope);return result}enterModule=__webpack_require__(2).enterModule,enterModule&&enterModule(module);class OAuthPendingRequests{__reactstandin__regenerateByEval(key,code){this[key]=eval(code)}constructor(){OAuthPendingRequests.prototype.__init.call(this),OAuthPendingRequests.prototype.__init2.call(this)}__init(){this.requests=[]}__init2(){this.subject=new _lib__WEBPACK_IMPORTED_MODULE_0__.BehaviorSubject(this.getCurrentPending())}request(scopes){return new Promise((resolve,reject)=>{this.requests.push({scopes:scopes,resolve:resolve,reject:reject}),this.subject.next(this.getCurrentPending())})}resolve(scopes,result){this.requests=this.requests.filter(request=>!hasScopes(scopes,request.scopes)||(request.resolve(result),!1)),this.subject.next(this.getCurrentPending())}reject(error){this.requests.forEach(request=>request.reject(error)),this.requests=[],this.subject.next(this.getCurrentPending())}pending(){return this.subject}getCurrentPending(){const currentScopes=0===this.requests.length?void 0:this.requests.slice(1).reduce((acc,current)=>joinScopes(acc,current.scopes),this.requests[0].scopes);return{scopes:currentScopes,resolve:value=>{currentScopes&&this.resolve(currentScopes,value)},reject:reason=>{currentScopes&&this.reject(reason)}}}}reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(hasScopes,"hasScopes","/home/runner/work/backstage/backstage/packages/core-api/src/apis/implementations/OAuthRequestApi/OAuthPendingRequests.ts"),reactHotLoader.register(joinScopes,"joinScopes","/home/runner/work/backstage/backstage/packages/core-api/src/apis/implementations/OAuthRequestApi/OAuthPendingRequests.ts"),reactHotLoader.register(OAuthPendingRequests,"OAuthPendingRequests","/home/runner/work/backstage/backstage/packages/core-api/src/apis/implementations/OAuthRequestApi/OAuthPendingRequests.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},909:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){var enterModule,reactHotLoader,leaveModule,_app_App__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(822);__webpack_require__.d(__webpack_exports__,"PrivateAppImpl",(function(){return _app_App__WEBPACK_IMPORTED_MODULE_0__.a})),(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}.call(this,__webpack_require__(7)(module))},910:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"a",(function(){return AppThemeProvider}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_material_ui_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(951),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(952),_apis__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(137),react_use__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(576);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core-api/src/app/AppThemeProvider.tsx";var enterModule;function resolveTheme(themeId,shouldPreferDark,themes){if(void 0!==themeId){const selectedTheme=themes.find(theme=>theme.id===themeId);if(selectedTheme)return selectedTheme}if(shouldPreferDark){const darkTheme=themes.find(theme=>"dark"===theme.variant);if(darkTheme)return darkTheme}const lightTheme=themes.find(theme=>"light"===theme.variant);return lightTheme||themes[0]}(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useShouldPreferDarkTheme=()=>{if(!window.matchMedia)return!1;const mediaQuery=Object(react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(()=>window.matchMedia("(prefers-color-scheme: dark)"),[]),[shouldPreferDark,setPrefersDark]=Object(react__WEBPACK_IMPORTED_MODULE_0__.useState)(mediaQuery.matches);return Object(react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{const listener=event=>{setPrefersDark(event.matches)};return mediaQuery.addListener(listener),()=>{mediaQuery.removeListener(listener)}},[mediaQuery]),shouldPreferDark},AppThemeProvider=({children:children})=>{const appThemeApi=Object(_apis__WEBPACK_IMPORTED_MODULE_3__.useApi)(_apis__WEBPACK_IMPORTED_MODULE_3__.appThemeApiRef),shouldPreferDark=useShouldPreferDarkTheme(),appTheme=resolveTheme(Object(react_use__WEBPACK_IMPORTED_MODULE_4__.a)(appThemeApi.activeThemeId$(),appThemeApi.getActiveThemeId()),shouldPreferDark,appThemeApi.getInstalledThemes());if(!appTheme)throw new Error("App has no themes");return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a,{theme:appTheme.theme,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:93}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:94}},children))};var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(resolveTheme,"resolveTheme","/home/runner/work/backstage/backstage/packages/core-api/src/app/AppThemeProvider.tsx"),reactHotLoader.register(useShouldPreferDarkTheme,"useShouldPreferDarkTheme","/home/runner/work/backstage/backstage/packages/core-api/src/app/AppThemeProvider.tsx"),reactHotLoader.register(AppThemeProvider,"AppThemeProvider","/home/runner/work/backstage/backstage/packages/core-api/src/app/AppThemeProvider.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},911:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule;__webpack_require__.d(__webpack_exports__,"a",(function(){return ApiAggregator})),enterModule=__webpack_require__(2).enterModule,enterModule&&enterModule(module);class ApiAggregator{__reactstandin__regenerateByEval(key,code){this[key]=eval(code)}constructor(...holders){this.holders=holders}get(apiRef){for(const holder of this.holders){const api=holder.get(apiRef);if(api)return api}}}reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(ApiAggregator,"ApiAggregator","/home/runner/work/backstage/backstage/packages/core-api/src/apis/ApiAggregator.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},912:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var enterModule,reactHotLoader,leaveModule,_ErrorPage__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(825);__webpack_require__.d(__webpack_exports__,"a",(function(){return _ErrorPage__WEBPACK_IMPORTED_MODULE_0__.a})),(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},913:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_material_ui_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(23);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/layout/ErrorPage/MicDrop.jsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a)({micDrop:{maxWidth:"60%",bottom:10,right:10,position:"absolute"}}),MicDrop=()=>{const classes=useStyles();return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("svg",{className:classes.micDrop,width:"765",height:"549",viewBox:"0 0 765 549",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:32}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M233.254 18.1123C287.613 12.9406 348.953 -19.7941 390.737 17.9035C433.262 56.2682 419.83 127.396 420.495 187.038C421.173 247.834 429.724 312.626 394.555 360.272C356.272 412.137 294.782 444.433 233.254 440.709C174.088 437.128 130.793 387.084 89.1619 341.79C47.9247 296.924 -2.50454 250.018 0.0966297 187.038C2.64988 125.217 53.6362 80.0377 101.402 45.4309C139.977 17.4827 186.903 22.5221 233.254 18.1123Z",fill:"#9BF0E1",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:40}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M513.385 20.4439C566.693 14.8938 613.809 62.3867 650.746 106.814C683.285 145.952 687.847 201.929 705.832 251.918C725.902 307.696 777.756 358.692 762.097 416.298C746.456 473.841 682.485 490.291 634.414 514.658C595.842 534.21 555.492 539.703 513.385 542.369C468.505 545.211 418.55 561.006 382.241 530.624C345.943 500.251 351.456 437.745 332.509 391.022C309.653 334.66 245.906 289.233 260.017 229.218C273.979 169.835 349.469 169.535 393.023 133.647C436.218 98.0537 460.413 25.959 513.385 20.4439Z",fill:"#69DDC7",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:46}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{d:"M584.384 331.262L618.437 362.37C620.096 363.886 622.677 363.738 624.152 362.042L625.747 360.209C627.216 358.521 627.014 355.956 625.299 354.519L590.183 325.076C589.459 324.469 588.534 324.093 587.606 324.266C584.444 324.854 583.314 327.325 583.371 329.355C583.392 330.105 583.83 330.756 584.384 331.262Z",fill:"black",stroke:"black",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:52}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("circle",{cx:"630.54",cy:"366.006",r:"11.6617",transform:"rotate(131.021 630.54 366.006)",fill:"#616161",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:57}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("rect",{x:"639.69",y:"357.103",width:"25.4436",height:"3.18045",rx:"1.59023",transform:"rotate(131.021 639.69 357.103)",fill:"#282828",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:64}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M331.081 60.2902C334.528 72.9923 339.02 101.544 334.436 106.022H305.436C305.433 105.971 305.43 105.92 305.427 105.868C294.679 104.679 286.319 95.5658 286.319 84.5V63.5C286.319 51.6259 295.945 42 307.819 42H309.819C320.602 42 329.531 49.9385 331.081 60.2902Z",fill:"#181818",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:73}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M297.581 80.4901C292.973 75.0814 289.854 68.4529 290.376 61.0255C291.877 39.625 321.667 44.3328 327.462 55.1339C333.257 65.9351 332.568 93.333 325.079 95.2635C322.092 96.0333 315.73 94.1475 309.254 90.2443L313.319 119H289.319L297.581 80.4901Z",fill:"#EDB795",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:79}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M304.069 76.8748C305.175 88.7528 304.732 102.317 301.436 105.537H272.436C270.82 77.4635 286.436 88.3349 286.436 61.9028C287.41 60.9515 288.33 60.01 289.24 59.1981L289.208 58.4207C294.229 48.1402 300.6 43 308.32 43C319.9 43 323.555 48.3883 326.668 52.9631C324.34 60.9482 315.309 62.1322 307.285 67.1095C306.339 66.341 305.133 65.8804 303.819 65.8804C300.781 65.8804 298.319 68.3428 298.319 71.3804C298.319 74.418 300.781 76.8804 303.819 76.8804C303.903 76.8804 303.986 76.8785 304.069 76.8748Z",fill:"#181818",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:85}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M250.727 300.088C274.716 306.798 295.413 310.153 312.818 310.153C330.224 310.153 346.39 304.986 361.319 294.653C337.843 287.766 318.51 284.323 303.319 284.323C288.128 284.323 270.597 289.578 250.727 300.088Z",fill:"#C52B86",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:91}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M333.586 319.824C333.354 319.477 333.159 319.098 333.004 318.689C329.797 310.208 278.436 218.726 273.319 202H331.145C335.035 214.717 352.546 294.52 355.01 310.442C362.785 335.557 378.794 416.895 380.838 422.53C382.988 428.458 370.891 434.633 367.668 427.346C362.539 415.75 350.317 383.665 344.876 364.074C339.775 345.708 335.621 329.184 333.586 319.824Z",fill:"#E7B291",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:97}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M286.276 330.994C262.794 336.928 176.903 347.658 171.009 349.341C164.945 351.072 159.629 338.574 167.124 335.867C179.049 331.559 211.908 321.606 231.831 317.544C247.855 314.277 262.478 311.611 272.295 310.05C271.464 282.473 267.662 216.294 270.154 202H321.319C318.929 215.707 298.729 315.718 294.975 325.729C293.783 329.302 290.228 330.882 286.276 330.994Z",fill:"#EDB795",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:103}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M167.668 332.539C164.532 331.956 162.235 331.793 160.774 332.05C158.998 332.363 156.459 333.116 153.156 334.309C153.52 336.369 156.784 354.884 162.951 389.854C167.977 390.456 170.406 389.168 170.238 385.991C170.07 382.814 169.959 380.17 169.902 378.059L176.859 350.213C176.993 349.677 176.667 349.134 176.132 349C176.123 348.998 176.113 348.996 176.104 348.994L171.786 348.044C169.935 345.402 168.851 343.181 168.534 341.381C168.276 339.919 168.51 337.795 169.237 335.01L169.237 335.01C169.516 333.941 168.876 332.849 167.807 332.57C167.761 332.558 167.714 332.548 167.668 332.539Z",fill:"white",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:109}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M363.997 426.402C362.878 429.388 362.319 431.623 362.319 433.106C362.319 434.909 362.619 437.54 363.22 441C365.312 441 384.113 441 419.622 441C421.088 436.155 420.242 433.539 417.084 433.152C413.926 432.766 411.303 432.417 409.214 432.106L382.999 420.419C382.494 420.194 381.903 420.421 381.678 420.925C381.674 420.934 381.671 420.942 381.667 420.951L379.982 425.039C377.059 426.403 374.683 427.085 372.856 427.085C371.371 427.085 369.32 426.485 366.703 425.286L366.703 425.285C365.699 424.825 364.512 425.266 364.052 426.27C364.032 426.313 364.014 426.357 363.997 426.402Z",fill:"white",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:115}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M270.319 202C292.866 195.549 314.199 195.549 334.319 202C341.319 233.937 358.328 246.613 361.319 295.579C327.319 312.473 285.319 283.53 250.319 300.005C240.319 276.961 254.319 221.464 270.319 202Z",fill:"#F038A5",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:121}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M367.319 162.311L406.802 156.925C414.7 152.532 421.966 149.558 428.599 148.003C430.466 147.948 433.436 148.627 429.012 152.315C424.588 156.003 420.099 160.083 420.887 162.051C421.675 164.02 425.79 163.287 426.471 166.315C426.926 168.333 420.248 168.661 406.44 167.299L374.403 180L367.319 162.311ZM243.288 171.45L265.186 171.532C241.175 225.566 228.655 253.857 227.627 256.406C225.313 262.14 230.209 270.874 232.303 275.567C225.483 278.619 226.21 267.317 217.607 271.319C209.754 274.973 203.78 281.592 194.708 275.994C193.592 275.306 192.37 272.715 195.323 270.69C202.681 265.645 213.284 256.815 214.717 253.908C216.67 249.945 226.194 222.459 243.288 171.45Z",fill:"#EDB795",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:127}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M303.268 102L320.413 103.142C324.635 141.343 347.635 165.473 399.13 157.304L405.971 206.499C357.841 212.719 315.632 193.45 306.981 141.278C304.742 127.773 302.973 113.718 303.268 102Z",fill:"#EEEEEE",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:133}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M294.809 97.0159L320.786 102.965C320.786 147.644 335.019 176.15 342.319 209H272.162C271.174 220.351 270.567 232.018 270.251 244H217.72C229.624 180.664 254.749 131.664 293.094 97H294.796L294.809 97.0159Z",fill:"white",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:139}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M283.231 145.259C281.423 173.101 282.486 194.347 286.421 209H272.162C274.12 186.514 277.575 165.267 283.231 145.259V145.259Z",fill:"#EEEEEE",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:145}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{d:"M420 184C438.174 208.939 473.047 287.772 467.144 403.592C469.74 373.957 481.656 315.366 508.548 318.087C535.441 320.808 531.505 401.163 526.176 441C532.052 385.292 552.334 355.087 573.5 351",stroke:"#F9F9F9",strokeWidth:"4",strokeLinecap:"round",strokeDasharray:"10 15",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:151}}))};let _default;var reactHotLoader,leaveModule;__webpack_exports__.a=_default=MicDrop,reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(useStyles,"useStyles","/home/runner/work/backstage/backstage/packages/core/src/layout/ErrorPage/MicDrop.jsx"),reactHotLoader.register(MicDrop,"MicDrop","/home/runner/work/backstage/backstage/packages/core/src/layout/ErrorPage/MicDrop.jsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/layout/ErrorPage/MicDrop.jsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},917:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_material_ui_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(23);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Waves.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a)({wave:{position:"absolute",height:"100%",width:"100%",top:0,bottom:0,left:0,right:0,zIndex:-1}}),Waves=({theme:theme})=>{const classes=useStyles(),[color1,color2]=theme.gradient.colors;return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("svg",{viewBox:"0 0 1440 94",preserveAspectRatio:"xMinYMin slice",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:classes.wave,"data-testid":"wave-svg",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:43}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("rect",{width:"1440",height:"94",fill:"url(#paint0_linear)",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:51}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("g",{opacity:"0.8",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:52}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("mask",{id:"mask0","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"1440",height:"94",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:53}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("rect",{width:"1440",height:"94",fill:color1,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:62}})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("g",{mask:"url(#mask0)",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:64}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{d:"M710.947 14.3685C605.39 154.457 195.464 165.759 92 154.301V210.649L2330 287V222.126C1516.52 222.126 1394.17 80.1091 1161.6 -40.9544C926.122 -163.528 768.278 -61.7182 710.947 14.3685Z",fill:"url(#paint1_linear)",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:65}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{d:"M1163.25 124.34C1058.49 -16.113 651.678 -27.4441 549 -15.9565V-72.4504L2770 -149V-83.9579C1962.69 -83.9579 1841.28 58.4283 1610.47 179.806C1376.79 302.698 1220.14 200.624 1163.25 124.34Z",fill:"url(#paint2_linear)",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:69}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{d:"M-104.701 -5.00477C-224.644 62.3106 -690.435 67.7413 -808 62.2356V89.3117L1735 126V94.827C810.651 94.827 671.63 26.5849 407.363 -31.5885C139.798 -90.4876 -39.557 -41.5659 -104.701 -5.00477Z",fill:"url(#paint3_linear)",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:73}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{d:"M-247.511 -32.6315C-338.493 107.457 -691.821 118.759 -781 107.301V163.649L1148 240V175.126C446.833 175.126 341.378 33.1091 140.917 -87.9544C-62.0447 -210.528 -198.095 -108.718 -247.511 -32.6315Z",fill:"url(#paint4_linear)",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:77}}))),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("defs",{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:83}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("linearGradient",{id:"paint0_linear",x1:"7.21415e-07",y1:"61",x2:"1649",y2:"59.5001",gradientUnits:"userSpaceOnUse",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:84}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("stop",{stopColor:color1,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:92}})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("linearGradient",{id:"paint1_linear",x1:"1318.25",y1:"-285.884",x2:"1311.42",y2:"241.925",gradientUnits:"userSpaceOnUse",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:94}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("stop",{stopColor:color2,stopOpacity:"0.72",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:102}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("stop",{offset:"1",stopColor:color2,stopOpacity:"0",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:103}})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("linearGradient",{id:"paint2_linear",x1:"1765.93",y1:"425.372",x2:"1759.02",y2:"-103.806",gradientUnits:"userSpaceOnUse",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:105}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("stop",{stopColor:color2,stopOpacity:"0.72",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:113}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("stop",{offset:"1",stopColor:color2,stopOpacity:"0",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:114}})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("linearGradient",{id:"paint3_linear",x1:"585.365",y1:"-149.282",x2:"583.977",y2:"104.375",gradientUnits:"userSpaceOnUse",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:116}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("stop",{stopColor:color2,stopOpacity:"0.72",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:124}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("stop",{offset:"1",stopColor:color2,stopOpacity:"0",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:125}})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("linearGradient",{id:"paint4_linear",x1:"275.941",y1:"-332.884",x2:"268.016",y2:"194.894",gradientUnits:"userSpaceOnUse",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:127}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("stop",{stopColor:color2,stopOpacity:"0.72",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:135}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("stop",{offset:"1",stopColor:color2,stopOpacity:"0",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:136}}))))};let _default;var reactHotLoader,leaveModule;__webpack_exports__.a=_default=Waves,reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(useStyles,"useStyles","/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Waves.tsx"),reactHotLoader.register(Waves,"Waves","/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Waves.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/layout/Header/Waves.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},920:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"a",(function(){return useSidebarPinState}));var enterModule,reactHotLoader,leaveModule,react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),_layout_Sidebar__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(72);function useSidebarPinState(){const{isPinned:isPinned,toggleSidebarPinState:toggleSidebarPinState}=Object(react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_layout_Sidebar__WEBPACK_IMPORTED_MODULE_1__.e);return{isPinned:isPinned,toggleSidebarPinState:toggleSidebarPinState}}(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(useSidebarPinState,"useSidebarPinState","/home/runner/work/backstage/backstage/packages/core/src/hooks/useSidebarPinState.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},922:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"a",(function(){return LoggedUserBadge}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(23),_config__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(38),_material_ui_core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(1831),_material_ui_core__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(21);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/LoggedUserBadge.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useStyles=Object(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__.a)(()=>{const{drawerWidthOpen:drawerWidthOpen,userBadgeDiameter:userBadgeDiameter}=_config__WEBPACK_IMPORTED_MODULE_2__.c;return{root:{width:drawerWidthOpen,display:"flex",alignItems:"center",color:"#b5b5b5",paddingLeft:18,paddingTop:14,paddingBottom:14},avatar:{width:userBadgeDiameter,height:userBadgeDiameter,marginRight:8}}}),LoggedUserBadge=({imageUrl:imageUrl,name:name,hideName:hideName=!1})=>{const classes=useStyles();return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{className:classes.root,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:56}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_3__.a,{alt:name,src:imageUrl,className:classes.avatar,__self:void 0,__source:{fileName:_jsxFileName,lineNumber:57}}),!hideName&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_4__.a,{variant:"subtitle2",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:58}},name))};var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(useStyles,"useStyles","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/LoggedUserBadge.tsx"),reactHotLoader.register(LoggedUserBadge,"LoggedUserBadge","/home/runner/work/backstage/backstage/packages/core/src/layout/Sidebar/LoggedUserBadge.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},929:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var _material_ui_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(23),_material_ui_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(157),_material_ui_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1818),_material_ui_core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(253),_material_ui_core__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(21),react__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);const _jsxFileName="/home/runner/work/backstage/backstage/packages/core/src/components/OAuthRequestDialog/LoginRequestListItem.tsx";var enterModule;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);const useItemStyles=Object(_material_ui_core__WEBPACK_IMPORTED_MODULE_0__.a)(theme=>({root:{paddingLeft:theme.spacing(3)}})),LoginRequestListItem=({request:request,busy:busy,setBusy:setBusy})=>{const classes=useItemStyles(),[error,setError]=Object(react__WEBPACK_IMPORTED_MODULE_5__.useState)(),IconComponent=request.provider.icon;return react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__.a,{button:!0,disabled:busy,onClick:async()=>{setBusy(!0);try{await request.trigger()}catch(e){setError(e)}finally{setBusy(!1)}},classes:{root:classes.root},__self:void 0,__source:{fileName:_jsxFileName,lineNumber:58}},react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__.a,{__self:void 0,__source:{fileName:_jsxFileName,lineNumber:64}},react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(IconComponent,{fontSize:"large",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:65}})),react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_3__.a,{primary:request.provider.title,secondary:error&&react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_4__.a,{color:"error",__self:void 0,__source:{fileName:_jsxFileName,lineNumber:71}},error.message||"An unspecified error occurred"),__self:void 0,__source:{fileName:_jsxFileName,lineNumber:67}}))};let _default;var reactHotLoader,leaveModule;__webpack_exports__.a=_default=LoginRequestListItem,reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(useItemStyles,"useItemStyles","/home/runner/work/backstage/backstage/packages/core/src/components/OAuthRequestDialog/LoginRequestListItem.tsx"),reactHotLoader.register(LoginRequestListItem,"LoginRequestListItem","/home/runner/work/backstage/backstage/packages/core/src/components/OAuthRequestDialog/LoginRequestListItem.tsx"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/OAuthRequestDialog/LoginRequestListItem.tsx"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},93:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var _Table__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(850);__webpack_require__.d(__webpack_exports__,"b",(function(){return _Table__WEBPACK_IMPORTED_MODULE_0__.a}));var enterModule,reactHotLoader,leaveModule,_SubvalueCell__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(874);__webpack_require__.d(__webpack_exports__,"a",(function(){return _SubvalueCell__WEBPACK_IMPORTED_MODULE_1__.a})),(enterModule=__webpack_require__(2).enterModule)&&enterModule(module),reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&leaveModule(module)}).call(this,__webpack_require__(7)(module))},946:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"a",(function(){return usePortal}));var enterModule,react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0);function createRootElement(id){const rootContainer=document.createElement("div");return rootContainer.setAttribute("id",id),rootContainer}function addRootElement(rootElem){document.body.insertBefore(rootElem,document.body.lastElementChild.nextElementSibling)}function usePortal(id){const rootElemRef=Object(react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);return Object(react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((function setupElement(){const existingParent=document.querySelector(`#${id}`),parentElem=existingParent||createRootElement(id);return existingParent||addRootElement(parentElem),parentElem.appendChild(rootElemRef.current),function removeElement(){rootElemRef.current.remove(),-1===parentElem.childNodes.length&&parentElem.remove()}}),[]),function getRootElem(){return rootElemRef.current||(rootElemRef.current=document.createElement("div")),rootElemRef.current}()}let _default;(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);var reactHotLoader,leaveModule;_default=usePortal;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register(createRootElement,"createRootElement","/home/runner/work/backstage/backstage/packages/core/src/components/FeatureDiscovery/lib/usePortal.ts"),reactHotLoader.register(addRootElement,"addRootElement","/home/runner/work/backstage/backstage/packages/core/src/components/FeatureDiscovery/lib/usePortal.ts"),reactHotLoader.register(usePortal,"usePortal","/home/runner/work/backstage/backstage/packages/core/src/components/FeatureDiscovery/lib/usePortal.ts"),reactHotLoader.register(_default,"default","/home/runner/work/backstage/backstage/packages/core/src/components/FeatureDiscovery/lib/usePortal.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},947:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"a",(function(){return useShowCallout}));var enterModule,react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0);(enterModule=__webpack_require__(2).enterModule)&&enterModule(module);function useCalloutStates(){const[states,setStates]=Object(react__WEBPACK_IMPORTED_MODULE_0__.useState)(()=>{const raw=localStorage.getItem("core.calloutSeen");return raw?JSON.parse(raw):{}});return{states:states,setState:Object(react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((key,value)=>{const raw=localStorage.getItem("core.calloutSeen"),newStates={...raw?JSON.parse(raw):{},[key]:value};setStates(newStates),localStorage.setItem("core.calloutSeen",JSON.stringify(newStates))},[])}}function useCalloutHasBeenSeen(featureId){const{states:states,setState:setState}=useCalloutStates(),markSeen=Object(react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(()=>{setState(featureId,!0)},[featureId]);return{seen:!0===states[featureId],markSeen:markSeen}}function useShowCallout(featureId){const{seen:seen,markSeen:markSeen}=useCalloutHasBeenSeen(featureId);return{show:!1===seen,hide:markSeen}}var reactHotLoader,leaveModule;reactHotLoader=__webpack_require__(2).default,leaveModule=__webpack_require__(2).leaveModule,reactHotLoader&&(reactHotLoader.register("core.calloutSeen","STATES_LOCAL_STORAGE_KEY","/home/runner/work/backstage/backstage/packages/core/src/components/FeatureDiscovery/lib/useShowCallout.ts"),reactHotLoader.register(useCalloutStates,"useCalloutStates","/home/runner/work/backstage/backstage/packages/core/src/components/FeatureDiscovery/lib/useShowCallout.ts"),reactHotLoader.register(useCalloutHasBeenSeen,"useCalloutHasBeenSeen","/home/runner/work/backstage/backstage/packages/core/src/components/FeatureDiscovery/lib/useShowCallout.ts"),reactHotLoader.register(useShowCallout,"useShowCallout","/home/runner/work/backstage/backstage/packages/core/src/components/FeatureDiscovery/lib/useShowCallout.ts"),leaveModule(module))}).call(this,__webpack_require__(7)(module))},967:function(module,exports,__webpack_require__){__webpack_require__(968),__webpack_require__(1114),__webpack_require__(1115),module.exports=__webpack_require__(1751)}},[[967,1,2]]]);
  //# sourceMappingURL=main.d65a405f5793cb99e01d.bundle.js.map