{"version":3,"file":"static/chunks/87128.a75ebc972f7342e3.js","mappings":"gOAOe,SAASA,IACtB,GAAM,CAAEC,EAAAA,CAAC,CAAE,CAAGC,CAAAA,EAAAA,EAAAA,CAAAA,EAAe,UACvBC,EAAWC,CAAAA,EAAAA,EAAAA,EAAAA,IAEXC,EAA4BC,CAAAA,EAAAA,EAAAA,EAAAA,EAChC,GAAsBC,EAAMC,OAAO,CAACC,SAAS,EAG/C,SAASC,IACPP,EAASQ,CAAAA,EAAAA,EAAAA,EAAAA,EAAgB,CAACN,GAC5B,CAEA,MACE,GAAAO,EAAAC,GAAA,EAACC,MAAAA,CAAIC,UAAWC,IAAAA,SAAAA,UACd,GAAAJ,EAAAC,GAAA,EAACI,EAAAA,CAAaA,CAAAA,CACZC,eAAgBjB,EACdI,EAAmB,kBAAoB,8BAGxCA,EACC,GAAAO,EAAAC,GAAA,EAACM,SAAAA,CACCJ,UAAWC,GAAAA,CAAAA,yBAAAA,CACXI,QAASV,WAET,GAAAE,EAAAC,GAAA,EAACQ,IAAAA,CAAEN,UAAW,GAA6BO,MAAA,CAA1BN,IAAAA,eAAAA,CAA0B,yBAG7C,GAAAJ,EAAAC,GAAA,EAACM,SAAAA,CACCJ,UAAWC,IAAAA,iBAAAA,CACXI,QAASV,WAET,GAAAE,EAAAC,GAAA,EAACQ,IAAAA,CAAEN,UAAW,GAA6BO,MAAA,CAA1BN,IAAAA,eAAAA,CAA0B,4BAMvD,8GCpCO,SAASL,EAAgBY,CAAe,EAC7C,MAAO,CAAEC,KAAMC,EAAAA,CAAcA,CAACC,QAAQ,CAAEC,QAASJ,CAAO,CAC1D,CAwBO,SAASK,IACd,MAAO,CACLJ,KAAMC,EAAAA,CAAcA,CAACI,iBAAiB,CAE1C,qBCrCAC,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./src/components/SideBar/Header/CollapseButton/V1/index.tsx","webpack://_N_E/./src/lib/store/side-bar/actions.ts","webpack://_N_E/./src/components/SideBar/Header/CollapseButton/V1/styles.module.scss"],"sourcesContent":["import { collapseSideBar } from '@/lib/store/side-bar/actions';\nimport { RootState } from '@/lib/store';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { ToolTip as CustomToolTip } from '@starsoft/common/components';\nimport useTranslation from 'next-translate/useTranslation';\nimport styles from './styles.module.scss';\n\nexport default function CollapseButtonV1() {\n const { t } = useTranslation('common');\n const dispatch = useDispatch();\n\n const collapsedSidebar: boolean = useSelector(\n (state: RootState) => state.sideBar.collapsed,\n );\n\n function onMinimizeButtonClick() {\n dispatch(collapseSideBar(!collapsedSidebar));\n }\n\n return (\n