Liferay.Loader.define("@liferay/analytics-settings-web@5.0.51/js/pages/default/DefaultPage",["module","exports","require","@frontend-taglib-clay$clayui/layout","@frontend-taglib-clay$clayui/nav","liferay!frontend-js-react-web$react","./AttributesPage","./ConnectPage","./PeoplePage","./PropertiesPage"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=_interopRequireDefault(a("@frontend-taglib-clay$clayui/layout")),l=a("@frontend-taglib-clay$clayui/nav"),i=function _interopRequireWildcard(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache();if(t&&t.has(e))return t.get(e);var a={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var l=r?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(a,n,l):a[n]=e[n]}a.default=e,t&&t.set(e,a);return a}(a("liferay!frontend-js-react-web$react")),o=_interopRequireDefault(a("./AttributesPage")),u=_interopRequireDefault(a("./ConnectPage")),c=_interopRequireDefault(a("./PeoplePage")),f=_interopRequireDefault(a("./PropertiesPage"));function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return e},e}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}!function(e){e.Attributes="ATTRIBUTES",e.People="PEOPLE",e.Properties="PROPERTIES",e.WorkspaceConnection="WORKSPACE_CONNECTION"}(r||(r={}));const e=[{Component:u.default,key:r.WorkspaceConnection,title:Liferay.Language.get("workspace-connection")},{Component:f.default,key:r.Properties,title:Liferay.Language.get("properties")},{Component:c.default,key:r.People,title:Liferay.Language.get("people")},{Component:o.default,key:r.Attributes,title:Liferay.Language.get("attributes")}];var _default=()=>{const[t,a]=(0,i.useState)(r.WorkspaceConnection);return i.default.createElement(n.default.ContainerFluid,null,i.default.createElement(n.default.Row,null,i.default.createElement(n.default.Col,{size:3},i.default.createElement(l.ClayVerticalNav,{items:e.map((({key:e,title:r})=>({active:t===e,label:r,onClick:()=>a(e)}))),large:!1})),i.default.createElement(n.default.Col,{size:9},e.map((({Component:e,key:a,title:r})=>i.default.createElement("div",{key:a},t===a&&i.default.createElement(e,{title:r})))))))};t.default=_default}}));
//# sourceMappingURL=DefaultPage.js.map