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