'use strict';
import { sidebarStatuses } from '../../enums/sidebar-status.js';

var __defProp=Object['defineProperty'],__name=(_0x2a6173,_0x19bd54)=>__defProp(_0x2a6173,'name',{'value':_0x19bd54,'configurable':!![]});const minSidebarSize=-0x142e+0x1424+-0x4e*-0x1,maxSidebarSize=0x4*-0x7de+0x5*-0x16d+-0x15d*-0x1d;function toggleSidebarState(_0x4fd3af,_0x688d27,_0x542517,_0x5b9d35){if(_0x4fd3af!==sidebarStatuses['fixedOpen']){if(_0x4fd3af===sidebarStatuses['minified'])(!_0x542517['current']||_0x542517['current']['offsetWidth']<=minSidebarSize)&&_0x688d27(sidebarStatuses['hoverOpen']);else _0x542517['current']&&_0x542517['current']['offsetWidth']<maxSidebarSize&&_0x5b9d35>_0x542517['current']['getBoundingClientRect']()['x']+_0x542517['current']['offsetWidth']&&_0x688d27(sidebarStatuses['minified']);}}__name(toggleSidebarState,'toggleSidebarState');

export { toggleSidebarState };
